@everymatrix/casino-promotions-nd 1.94.113 → 1.94.115
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/{CasinoPromotionsNd-BTV4aduK.js → CasinoPromotionsNd-C1NP3vUM.js} +1 -1
- package/components/{CasinoPromotionsNd-p6fp2o-t.js → CasinoPromotionsNd-Dixk2C51.js} +1 -1
- package/components/{CasinoPromotionsNd-DD55jit3.cjs → CasinoPromotionsNd-acHkUZb4.cjs} +1 -1
- package/es2015/casino-promotions-nd.cjs +1 -1
- package/es2015/casino-promotions-nd.js +1 -1
- package/esnext/casino-promotions-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-9K-aI7zC.cjs +1 -0
- package/stencil/index-b2193545-DsMHU6jb.js +519 -0
- package/stencil/index-b2193545-R7ZoV-kY.js +503 -0
- package/stencil/{ui-skeleton-aZT0Suei.cjs → ui-skeleton-BreIU6e5.cjs} +1 -1
- package/stencil/{ui-skeleton-B9VBo72p.js → ui-skeleton-W50o8tfg.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-8UVsv6jT.js → ui-skeleton-ed169f8f-CVY4B-CP.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-CQoA7I2l.cjs → ui-skeleton-ed169f8f-CpiCXJrP.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BQ-1TtKf.js → ui-skeleton-ed169f8f-D3TjbVKy.js} +1 -1
- package/stencil/{ui-skeleton-C7JH5ymf.js → ui-skeleton-xXZA3rYO.js} +2 -2
- package/stencil/index-b2193545-BK1eKuNv.js +0 -493
- package/stencil/index-b2193545-BzLH-hhx.js +0 -509
- package/stencil/index-b2193545-CIfou2cI.cjs +0 -1
|
@@ -27,7 +27,7 @@ var ie = (e, t, o) => new Promise((r, n) => {
|
|
|
27
27
|
}, l = (a) => a.done ? r(a.value) : Promise.resolve(a.value).then(i, s);
|
|
28
28
|
l((o = o.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../stencil/ui-skeleton-
|
|
30
|
+
import "../stencil/ui-skeleton-xXZA3rYO.js";
|
|
31
31
|
function oe() {
|
|
32
32
|
}
|
|
33
33
|
function Or(e) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var si=Object.defineProperty,li=Object.defineProperties;var ai=Object.getOwnPropertyDescriptors;var vo=Object.getOwnPropertySymbols;var ui=Object.prototype.hasOwnProperty,ci=Object.prototype.propertyIsEnumerable;var Ht=(e,t,o)=>t in e?si(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,it=(e,t)=>{for(var o in t||(t={}))ui.call(t,o)&&Ht(e,o,t[o]);if(vo)for(var o of vo(t))ci.call(t,o)&&Ht(e,o,t[o]);return e},yo=(e,t)=>li(e,ai(t));var ce=(e,t,o)=>(Ht(e,typeof t!="symbol"?t+"":t,o),o);var ie=(e,t,o)=>new Promise((r,n)=>{var i=a=>{try{l(o.next(a))}catch(u){n(u)}},s=a=>{try{l(o.throw(a))}catch(u){n(u)}},l=a=>a.done?r(a.value):Promise.resolve(a.value).then(i,s);l((o=o.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-aZT0Suei.cjs");function oe(){}function Or(e){return e()}function wo(){return Object.create(null)}function Se(e){e.forEach(Or)}function ro(e){return typeof e=="function"}function no(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let st;function me(e,t){return e===t?!0:(st||(st=document.createElement("a")),st.href=t,e===st.href)}function Eo(e){return e.split(",").map(t=>t.trim().split(" ").filter(Boolean))}function bt(e,t){const o=Eo(e.srcset),r=Eo(t||"");return r.length===o.length&&r.every(([n,i],s)=>i===o[s][1]&&(me(o[s][0],n)||me(n,o[s][0])))}function fi(e){return Object.keys(e).length===0}function Ir(e,...t){if(e==null){for(const r of t)r(void 0);return oe}const o=e.subscribe(...t);return o.unsubscribe?()=>o.unsubscribe():o}function hi(e,t,o){e.$$.on_destroy.push(Ir(t,o))}function p(e,t){e.appendChild(t)}function Nr(e,t,o){const r=pi(e);if(!r.getElementById(t)){const n=_("style");n.id=t,n.textContent=o,mi(r,n)}}function pi(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function mi(e,t){return p(e.head||e,t),t.sheet}function E(e,t,o){e.insertBefore(t,o||null)}function w(e){e.parentNode&&e.parentNode.removeChild(e)}function ae(e,t){for(let o=0;o<e.length;o+=1)e[o]&&e[o].d(t)}function _(e){return document.createElement(e)}function j(e){return document.createTextNode(e)}function B(){return j(" ")}function he(){return j("")}function K(e,t,o,r){return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)}function f(e,t,o){o==null?e.removeAttribute(t):e.getAttribute(t)!==o&&e.setAttribute(t,o)}function di(e){return Array.from(e.childNodes)}function z(e,t){t=""+t,e.data!==t&&(e.data=t)}let lt;function _i(){if(lt===void 0){lt=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(e){lt=!0}}return lt}function Mr(e,t){getComputedStyle(e).position==="static"&&(e.style.position="relative");const r=_("iframe");r.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),r.setAttribute("aria-hidden","true"),r.tabIndex=-1;const n=_i();let i;return n?(r.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",i=K(window,"message",s=>{s.source===r.contentWindow&&t()})):(r.src="about:blank",r.onload=()=>{i=K(r.contentWindow,"resize",t),t()}),p(e,r),()=>{(n||i&&r.contentWindow)&&i(),w(r)}}function te(e,t,o){e.classList.toggle(t,!!o)}function gi(e){const t={};return e.childNodes.forEach(o=>{t[o.slot||"default"]=!0}),t}let Ye;function Je(e){Ye=e}function bi(){if(!Ye)throw new Error("Function called outside component initialization");return Ye}function vi(e){bi().$$.on_mount.push(e)}const Ne=[],we=[];let Fe=[];const xo=[],Fr=Promise.resolve();let Gt=!1;function Rr(){Gt||(Gt=!0,Fr.then(G))}function Dr(){return Rr(),Fr}function Ke(e){Fe.push(e)}const Lt=new Set;let Oe=0;function G(){if(Oe!==0)return;const e=Ye;do{try{for(;Oe<Ne.length;){const t=Ne[Oe];Oe++,Je(t),yi(t.$$)}}catch(t){throw Ne.length=0,Oe=0,t}for(Je(null),Ne.length=0,Oe=0;we.length;)we.pop()();for(let t=0;t<Fe.length;t+=1){const o=Fe[t];Lt.has(o)||(Lt.add(o),o())}Fe.length=0}while(Ne.length);for(;xo.length;)xo.pop()();Gt=!1,Lt.clear(),Je(e)}function yi(e){if(e.fragment!==null){e.update(),Se(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Ke)}}function wi(e){const t=[],o=[];Fe.forEach(r=>e.indexOf(r)===-1?t.push(r):o.push(r)),o.forEach(r=>r()),Fe=t}const ct=new Set;let Ce;function io(){Ce={r:0,c:[],p:Ce}}function so(){Ce.r||Se(Ce.c),Ce=Ce.p}function be(e,t){e&&e.i&&(ct.delete(e),e.i(t))}function Be(e,t,o,r){if(e&&e.o){if(ct.has(e))return;ct.add(e),Ce.c.push(()=>{ct.delete(e),r&&(o&&e.d(1),r())}),e.o(t)}else r&&r()}function W(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Ei(e){e&&e.c()}function Ur(e,t,o){const{fragment:r,after_update:n}=e.$$;r&&r.m(t,o),Ke(()=>{const i=e.$$.on_mount.map(Or).filter(ro);e.$$.on_destroy?e.$$.on_destroy.push(...i):Se(i),e.$$.on_mount=[]}),n.forEach(Ke)}function Gr(e,t){const o=e.$$;o.fragment!==null&&(wi(o.after_update),Se(o.on_destroy),o.fragment&&o.fragment.d(t),o.on_destroy=o.fragment=null,o.ctx=[])}function xi(e,t){e.$$.dirty[0]===-1&&(Ne.push(e),Rr(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function jr(e,t,o,r,n,i,s=null,l=[-1]){const a=Ye;Je(e);const u=e.$$={fragment:null,ctx:[],props:i,update:oe,not_equal:n,bound:wo(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(a?a.$$.context:[])),callbacks:wo(),dirty:l,skip_bound:!1,root:t.target||a.$$.root};s&&s(u.root);let c=!1;if(u.ctx=o?o(e,t.props||{},(h,d,...g)=>{const b=g.length?g[0]:d;return u.ctx&&n(u.ctx[h],u.ctx[h]=b)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](b),c&&xi(e,h)),d}):[],u.update(),c=!0,Se(u.before_update),u.fragment=r?r(u.ctx):!1,t.target){if(t.hydrate){const h=di(t.target);u.fragment&&u.fragment.l(h),h.forEach(w)}else u.fragment&&u.fragment.c();t.intro&&be(e.$$.fragment),Ur(e,t.target,t.anchor),G()}Je(a)}let zr;typeof HTMLElement=="function"&&(zr=class extends HTMLElement{constructor(t,o,r){super();ce(this,"$$ctor");ce(this,"$$s");ce(this,"$$c");ce(this,"$$cn",!1);ce(this,"$$d",{});ce(this,"$$r",!1);ce(this,"$$p_d",{});ce(this,"$$l",{});ce(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=o,r&&this.attachShadow({mode:"open"})}addEventListener(t,o,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(o),this.$$c){const n=this.$$c.$on(t,o);this.$$l_u.set(o,n)}super.addEventListener(t,o,r)}removeEventListener(t,o,r){if(super.removeEventListener(t,o,r),this.$$c){const n=this.$$l_u.get(o);n&&(n(),this.$$l_u.delete(o))}}connectedCallback(){return ie(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let s;return{c:function(){s=_("slot"),i!=="default"&&f(s,"name",i)},m:function(u,c){E(u,s,c)},d:function(u){u&&w(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const o={},r=gi(this);for(const i of this.$$s)i in r&&(o[i]=[t(i)]);for(const i of this.attributes){const s=this.$$g_p(i.name);s in this.$$d||(this.$$d[s]=ft(s,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:yo(it({},this.$$d),{$$slots:o,$$scope:{ctx:[]}})});const n=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const s=ft(i,this.$$d[i],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,s)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const i in this.$$l)for(const s of this.$$l[i]){const l=this.$$c.$on(i,s);this.$$l_u.set(s,l)}this.$$l={}}})}attributeChangedCallback(t,o,r){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=ft(t,r,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(o=>this.$$p_d[o].attribute===t||!this.$$p_d[o].attribute&&o.toLowerCase()===t)||t}});function ft(e,t,o,r){var i;const n=(i=o[e])==null?void 0:i.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!o[e])return t;if(r==="toAttribute")switch(n){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Vr(e,t,o,r,n,i){let s=class extends zr{constructor(){super(e,o,n),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(s.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){var u;a=ft(l,a,t),this.$$d[l]=a,(u=this.$$c)==null||u.$set({[l]:a})}})}),r.forEach(l=>{Object.defineProperty(s.prototype,l,{get(){var a;return(a=this.$$c)==null?void 0:a[l]}})}),e.element=s,s}class Wr{constructor(){ce(this,"$$");ce(this,"$$set")}$destroy(){Gr(this,1),this.$destroy=oe}$on(t,o){if(!ro(o))return oe;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(o),()=>{const n=r.indexOf(o);n!==-1&&r.splice(n,1)}}$set(t){this.$$set&&!fi(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Si="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Si);const Ie=[];function Ti(e,t){return{subscribe:vt(e,t).subscribe}}function vt(e,t=oe){let o;const r=new Set;function n(l){if(no(e,l)&&(e=l,o)){const a=!Ie.length;for(const u of r)u[1](),Ie.push(u,e);if(a){for(let u=0;u<Ie.length;u+=2)Ie[u][0](Ie[u+1]);Ie.length=0}}}function i(l){n(l(e))}function s(l,a=oe){const u=[l,a];return r.add(u),r.size===1&&(o=t(n,i)||oe),l(e),()=>{r.delete(u),r.size===0&&o&&(o(),o=null)}}return{set:n,update:i,subscribe:s}}function ze(e,t,o){const r=!Array.isArray(e),n=r?[e]:e;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const i=t.length<2;return Ti(o,(s,l)=>{let a=!1;const u=[];let c=0,h=oe;const d=()=>{if(c)return;h();const b=t(r?u[0]:u,s,l);i?s(b):h=ro(b)?b:oe},g=n.map((b,y)=>Ir(b,U=>{u[y]=U,c&=~(1<<y),a&&d()},()=>{c|=1<<y}));return a=!0,d(),function(){Se(g),h(),a=!1}})}function ki(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ci=function(t){return Bi(t)&&!Pi(t)};function Bi(e){return!!e&&typeof e=="object"}function Pi(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Li(e)}var Ai=typeof Symbol=="function"&&Symbol.for,Hi=Ai?Symbol.for("react.element"):60103;function Li(e){return e.$$typeof===Hi}function Oi(e){return Array.isArray(e)?[]:{}}function et(e,t){return t.clone!==!1&&t.isMergeableObject(e)?De(Oi(e),e,t):e}function Ii(e,t,o){return e.concat(t).map(function(r){return et(r,o)})}function Ni(e,t){if(!t.customMerge)return De;var o=t.customMerge(e);return typeof o=="function"?o:De}function Mi(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function So(e){return Object.keys(e).concat(Mi(e))}function Xr(e,t){try{return t in e}catch(o){return!1}}function Fi(e,t){return Xr(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Ri(e,t,o){var r={};return o.isMergeableObject(e)&&So(e).forEach(function(n){r[n]=et(e[n],o)}),So(t).forEach(function(n){Fi(e,n)||(Xr(e,n)&&o.isMergeableObject(t[n])?r[n]=Ni(n,o)(e[n],t[n],o):r[n]=et(t[n],o))}),r}function De(e,t,o){o=o||{},o.arrayMerge=o.arrayMerge||Ii,o.isMergeableObject=o.isMergeableObject||Ci,o.cloneUnlessOtherwiseSpecified=et;var r=Array.isArray(t),n=Array.isArray(e),i=r===n;return i?r?o.arrayMerge(e,t,o):Ri(e,t,o):et(t,o)}De.all=function(t,o){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return De(r,n,o)},{})};var Di=De,Ui=Di;const Gi=ki(Ui);var jt=function(e,t){return jt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,r){o.__proto__=r}||function(o,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(o[n]=r[n])},jt(e,t)};function yt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");jt(e,t);function o(){this.constructor=e}e.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}var pe=function(){return pe=Object.assign||function(t){for(var o,r=1,n=arguments.length;r<n;r++){o=arguments[r];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t},pe.apply(this,arguments)};function ji(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o}function Ot(e,t,o){if(o||arguments.length===2)for(var r=0,n=t.length,i;r<n;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function It(e,t){var o=t&&t.cache?t.cache:Zi,r=t&&t.serializer?t.serializer:$i,n=t&&t.strategy?t.strategy:Wi;return n(e,{cache:o,serializer:r})}function zi(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Vi(e,t,o,r){var n=zi(r)?r:o(r),i=t.get(n);return typeof i=="undefined"&&(i=e.call(this,r),t.set(n,i)),i}function $r(e,t,o){var r=Array.prototype.slice.call(arguments,3),n=o(r),i=t.get(n);return typeof i=="undefined"&&(i=e.apply(this,r),t.set(n,i)),i}function qr(e,t,o,r,n){return o.bind(t,e,r,n)}function Wi(e,t){var o=e.length===1?Vi:$r;return qr(e,this,o,t.cache.create(),t.serializer)}function Xi(e,t){return qr(e,this,$r,t.cache.create(),t.serializer)}var $i=function(){return JSON.stringify(arguments)},qi=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,o){this.cache[t]=o},e}(),Zi={create:function(){return new qi}},Nt={variadic:Xi},dt=function(){return dt=Object.assign||function(t){for(var o,r=1,n=arguments.length;r<n;r++){o=arguments[r];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t},dt.apply(this,arguments)};var F;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(F||(F={}));var q;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(q||(q={}));var Ue;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ue||(Ue={}));function To(e){return e.type===q.literal}function Qi(e){return e.type===q.argument}function Zr(e){return e.type===q.number}function Qr(e){return e.type===q.date}function Jr(e){return e.type===q.time}function Yr(e){return e.type===q.select}function Kr(e){return e.type===q.plural}function Ji(e){return e.type===q.pound}function en(e){return e.type===q.tag}function tn(e){return!!(e&&typeof e=="object"&&e.type===Ue.number)}function zt(e){return!!(e&&typeof e=="object"&&e.type===Ue.dateTime)}var on=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Yi=/(?:[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 Ki(e){var t={};return e.replace(Yi,function(o){var r=o.length;switch(o[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var J=function(){return J=Object.assign||function(t){for(var o,r=1,n=arguments.length;r<n;r++){o=arguments[r];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t},J.apply(this,arguments)};var es=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function ts(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(es).filter(function(d){return d.length>0}),o=[],r=0,n=t;r<n.length;r++){var i=n[r],s=i.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var l=s[0],a=s.slice(1),u=0,c=a;u<c.length;u++){var h=c[u];if(h.length===0)throw new Error("Invalid number skeleton")}o.push({stem:l,options:a})}return o}function os(e){return e.replace(/^(.*?)-/,"")}var ko=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,rn=/^(@+)?(\+|#+)?[rs]?$/g,rs=/(\*)(0+)|(#+)(0+)|(0+)/g,nn=/^(0+)$/;function Co(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(rn,function(o,r,n){return typeof n!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):n==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof n=="string"?n.length:0)),""}),t}function sn(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function ns(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var o=e.slice(0,2);if(o==="+!"?(t.signDisplay="always",e=e.slice(2)):o==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!nn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Bo(e){var t={},o=sn(e);return o||t}function is(e){for(var t={},o=0,r=e;o<r.length;o++){var n=r[o];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=os(n.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=J(J(J({},t),{notation:"scientific"}),n.options.reduce(function(a,u){return J(J({},a),Bo(u))},{}));continue;case"engineering":t=J(J(J({},t),{notation:"engineering"}),n.options.reduce(function(a,u){return J(J({},a),Bo(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(n.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(rs,function(a,u,c,h,d,g){if(u)t.minimumIntegerDigits=c.length;else{if(h&&d)throw new Error("We currently do not support maximum integer digits");if(g)throw new Error("We currently do not support exact integer digits")}return""});continue}if(nn.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(ko.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(ko,function(a,u,c,h,d,g){return c==="*"?t.minimumFractionDigits=u.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:d&&g?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+g.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var i=n.options[0];i==="w"?t=J(J({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=J(J({},t),Co(i)));continue}if(rn.test(n.stem)){t=J(J({},t),Co(n.stem));continue}var s=sn(n.stem);s&&(t=J(J({},t),s));var l=ns(n.stem);l&&(t=J(J({},t),l))}return t}var at={"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 ss(e,t){for(var o="",r=0;r<e.length;r++){var n=e.charAt(r);if(n==="j"){for(var i=0;r+1<e.length&&e.charAt(r+1)===n;)i++,r++;var s=1+(i&1),l=i<2?1:3+(i>>1),a="a",u=ls(t);for((u=="H"||u=="k")&&(l=0);l-- >0;)o+=a;for(;s-- >0;)o=u+o}else n==="J"?o+="H":o+=n}return o}function ls(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var o=e.language,r;o!=="root"&&(r=e.maximize().region);var n=at[r||""]||at[o||""]||at["".concat(o,"-001")]||at["001"];return n[0]}var Mt,as=new RegExp("^".concat(on.source,"*")),us=new RegExp("".concat(on.source,"*$"));function D(e,t){return{start:e,end:t}}var cs=!!String.prototype.startsWith&&"_a".startsWith("a",1),fs=!!String.fromCodePoint,hs=!!Object.fromEntries,ps=!!String.prototype.codePointAt,ms=!!String.prototype.trimStart,ds=!!String.prototype.trimEnd,_s=!!Number.isSafeInteger,gs=_s?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Vt=!0;try{var bs=an("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Vt=((Mt=bs.exec("a"))===null||Mt===void 0?void 0:Mt[0])==="a"}catch(e){Vt=!1}var Po=cs?function(t,o,r){return t.startsWith(o,r)}:function(t,o,r){return t.slice(r,r+o.length)===o},Wt=fs?String.fromCodePoint:function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];for(var r="",n=t.length,i=0,s;n>i;){if(s=t[i++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},Ao=hs?Object.fromEntries:function(t){for(var o={},r=0,n=t;r<n.length;r++){var i=n[r],s=i[0],l=i[1];o[s]=l}return o},ln=ps?function(t,o){return t.codePointAt(o)}:function(t,o){var r=t.length;if(!(o<0||o>=r)){var n=t.charCodeAt(o),i;return n<55296||n>56319||o+1===r||(i=t.charCodeAt(o+1))<56320||i>57343?n:(n-55296<<10)+(i-56320)+65536}},vs=ms?function(t){return t.trimStart()}:function(t){return t.replace(as,"")},ys=ds?function(t){return t.trimEnd()}:function(t){return t.replace(us,"")};function an(e,t){return new RegExp(e,t)}var Xt;if(Vt){var Ho=an("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Xt=function(t,o){var r;Ho.lastIndex=o;var n=Ho.exec(t);return(r=n[1])!==null&&r!==void 0?r:""}}else Xt=function(t,o){for(var r=[];;){var n=ln(t,o);if(n===void 0||un(n)||Ss(n))break;r.push(n),o+=n>=65536?2:1}return Wt.apply(void 0,r)};var ws=function(){function e(t,o){o===void 0&&(o={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!o.ignoreTag,this.locale=o.locale,this.requiresOtherClause=!!o.requiresOtherClause,this.shouldParseSkeletons=!!o.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,o,r){for(var n=[];!this.isEOF();){var i=this.char();if(i===123){var s=this.parseArgument(t,r);if(s.err)return s;n.push(s.val)}else{if(i===125&&t>0)break;if(i===35&&(o==="plural"||o==="selectordinal")){var l=this.clonePosition();this.bump(),n.push({type:q.pound,location:D(l,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(F.UNMATCHED_CLOSING_TAG,D(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&$t(this.peek()||0)){var s=this.parseTag(t,o);if(s.err)return s;n.push(s.val)}else{var s=this.parseLiteral(t,o);if(s.err)return s;n.push(s.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(t,o){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:q.literal,value:"<".concat(n,"/>"),location:D(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(t+1,o,!0);if(i.err)return i;var s=i.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!$t(this.char()))return this.error(F.INVALID_TAG,D(l,this.clonePosition()));var a=this.clonePosition(),u=this.parseTagName();return n!==u?this.error(F.UNMATCHED_CLOSING_TAG,D(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:q.tag,value:n,children:s,location:D(r,this.clonePosition())},err:null}:this.error(F.INVALID_TAG,D(l,this.clonePosition())))}else return this.error(F.UNCLOSED_TAG,D(r,this.clonePosition()))}else return this.error(F.INVALID_TAG,D(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&xs(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,o){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(o);if(i){n+=i;continue}var s=this.tryParseUnquoted(t,o);if(s){n+=s;continue}var l=this.tryParseLeftAngleBracket();if(l){n+=l;continue}break}var a=D(r,this.clonePosition());return{val:{type:q.literal,value:n,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Es(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var o=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)o.push(39),this.bump();else{this.bump();break}else o.push(r);this.bump()}return Wt.apply(void 0,o)},e.prototype.tryParseUnquoted=function(t,o){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(o==="plural"||o==="selectordinal")||r===125&&t>0?null:(this.bump(),Wt(r))},e.prototype.parseArgument=function(t,o){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,D(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(F.EMPTY_ARGUMENT,D(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(F.MALFORMED_ARGUMENT,D(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,D(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:q.argument,value:n,location:D(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,D(r,this.clonePosition())):this.parseArgumentOptions(t,o,n,r);default:return this.error(F.MALFORMED_ARGUMENT,D(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),o=this.offset(),r=Xt(this.message,o),n=o+r.length;this.bumpTo(n);var i=this.clonePosition(),s=D(t,i);return{value:r,location:s}},e.prototype.parseArgumentOptions=function(t,o,r,n){var i,s=this.clonePosition(),l=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(l){case"":return this.error(F.EXPECT_ARGUMENT_TYPE,D(s,a));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var d=ys(h.val);if(d.length===0)return this.error(F.EXPECT_ARGUMENT_STYLE,D(this.clonePosition(),this.clonePosition()));var g=D(c,this.clonePosition());u={style:d,styleLocation:g}}var b=this.tryParseArgumentClose(n);if(b.err)return b;var y=D(n,this.clonePosition());if(u&&Po(u==null?void 0:u.style,"::",0)){var U=vs(u.style.slice(2));if(l==="number"){var h=this.parseNumberSkeletonFromString(U,u.styleLocation);return h.err?h:{val:{type:q.number,value:r,location:y,style:h.val},err:null}}else{if(U.length===0)return this.error(F.EXPECT_DATE_TIME_SKELETON,y);var X=U;this.locale&&(X=ss(U,this.locale));var d={type:Ue.dateTime,pattern:X,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Ki(X):{}},A=l==="date"?q.date:q.time;return{val:{type:A,value:r,location:y,style:d},err:null}}}return{val:{type:l==="number"?q.number:l==="date"?q.date:q.time,value:r,location:y,style:(i=u==null?void 0:u.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var C=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(F.EXPECT_SELECT_ARGUMENT_OPTIONS,D(C,dt({},C)));this.bumpSpace();var P=this.parseIdentifierIfPossible(),V=0;if(l!=="select"&&P.value==="offset"){if(!this.bumpIf(":"))return this.error(F.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,D(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(F.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,F.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),P=this.parseIdentifierIfPossible(),V=h.val}var T=this.tryParsePluralOrSelectOptions(t,l,o,P);if(T.err)return T;var b=this.tryParseArgumentClose(n);if(b.err)return b;var R=D(n,this.clonePosition());return l==="select"?{val:{type:q.select,value:r,options:Ao(T.val),location:R},err:null}:{val:{type:q.plural,value:r,options:Ao(T.val),offset:V,pluralType:l==="plural"?"cardinal":"ordinal",location:R},err:null}}default:return this.error(F.INVALID_ARGUMENT_TYPE,D(s,a))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,D(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,o=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(F.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,D(n,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(o.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(o.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,o){var r=[];try{r=ts(t)}catch(n){return this.error(F.INVALID_NUMBER_SKELETON,o)}return{val:{type:Ue.number,tokens:r,location:o,parsedOptions:this.shouldParseSkeletons?is(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,o,r,n){for(var i,s=!1,l=[],a=new Set,u=n.value,c=n.location;;){if(u.length===0){var h=this.clonePosition();if(o!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(F.EXPECT_PLURAL_ARGUMENT_SELECTOR,F.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=D(h,this.clonePosition()),u=this.message.slice(h.offset,this.offset())}else break}if(a.has(u))return this.error(o==="select"?F.DUPLICATE_SELECT_ARGUMENT_SELECTOR:F.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(s=!0),this.bumpSpace();var g=this.clonePosition();if(!this.bumpIf("{"))return this.error(o==="select"?F.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:F.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,D(this.clonePosition(),this.clonePosition()));var b=this.parseMessage(t+1,o,r);if(b.err)return b;var y=this.tryParseArgumentClose(g);if(y.err)return y;l.push([u,{value:b.val,location:D(g,this.clonePosition())}]),a.add(u),this.bumpSpace(),i=this.parseIdentifierIfPossible(),u=i.value,c=i.location}return l.length===0?this.error(o==="select"?F.EXPECT_SELECT_ARGUMENT_SELECTOR:F.EXPECT_PLURAL_ARGUMENT_SELECTOR,D(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(F.MISSING_OTHER_CLAUSE,D(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,o){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,s=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)i=!0,s=s*10+(l-48),this.bump();else break}var a=D(n,this.clonePosition());return i?(s*=r,gs(s)?{val:s,err:null}:this.error(o,a)):this.error(t,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var o=ln(this.message,t);if(o===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return o},e.prototype.error=function(t,o){return{val:null,err:{kind:t,message:this.message,location:o}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Po(this.message,t,this.offset())){for(var o=0;o<t.length;o++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var o=this.offset(),r=this.message.indexOf(t,o);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var o=this.offset();if(o===t)break;if(o>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&un(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),o=this.offset(),r=this.message.charCodeAt(o+(t>=65536?2:1));return r!=null?r:null},e}();function $t(e){return e>=97&&e<=122||e>=65&&e<=90}function Es(e){return $t(e)||e===47}function xs(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function un(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ss(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function qt(e){e.forEach(function(t){if(delete t.location,Yr(t)||Kr(t))for(var o in t.options)delete t.options[o].location,qt(t.options[o].value);else Zr(t)&&tn(t.style)||(Qr(t)||Jr(t))&&zt(t.style)?delete t.style.location:en(t)&&qt(t.children)})}function Ts(e,t){t===void 0&&(t={}),t=dt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var o=new ws(e,t).parse();if(o.err){var r=SyntaxError(F[o.err.kind]);throw r.location=o.err.location,r.originalMessage=o.err.message,r}return t!=null&&t.captureLocation||qt(o.val),o.val}var Ge;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ge||(Ge={}));var wt=function(e){yt(t,e);function t(o,r,n){var i=e.call(this,o)||this;return i.code=r,i.originalMessage=n,i}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Lo=function(e){yt(t,e);function t(o,r,n,i){return e.call(this,'Invalid values for "'.concat(o,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),Ge.INVALID_VALUE,i)||this}return t}(wt),ks=function(e){yt(t,e);function t(o,r,n){return e.call(this,'Value for "'.concat(o,'" must be of type ').concat(r),Ge.INVALID_VALUE,n)||this}return t}(wt),Cs=function(e){yt(t,e);function t(o,r){return e.call(this,'The intl string context variable "'.concat(o,'" was not provided to the string "').concat(r,'"'),Ge.MISSING_VALUE,r)||this}return t}(wt),ue;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ue||(ue={}));function Bs(e){return e.length<2?e:e.reduce(function(t,o){var r=t[t.length-1];return!r||r.type!==ue.literal||o.type!==ue.literal?t.push(o):r.value+=o.value,t},[])}function Ps(e){return typeof e=="function"}function ht(e,t,o,r,n,i,s){if(e.length===1&&To(e[0]))return[{type:ue.literal,value:e[0].value}];for(var l=[],a=0,u=e;a<u.length;a++){var c=u[a];if(To(c)){l.push({type:ue.literal,value:c.value});continue}if(Ji(c)){typeof i=="number"&&l.push({type:ue.literal,value:o.getNumberFormat(t).format(i)});continue}var h=c.value;if(!(n&&h in n))throw new Cs(h,s);var d=n[h];if(Qi(c)){(!d||typeof d=="string"||typeof d=="number")&&(d=typeof d=="string"||typeof d=="number"?String(d):""),l.push({type:typeof d=="string"?ue.literal:ue.object,value:d});continue}if(Qr(c)){var g=typeof c.style=="string"?r.date[c.style]:zt(c.style)?c.style.parsedOptions:void 0;l.push({type:ue.literal,value:o.getDateTimeFormat(t,g).format(d)});continue}if(Jr(c)){var g=typeof c.style=="string"?r.time[c.style]:zt(c.style)?c.style.parsedOptions:r.time.medium;l.push({type:ue.literal,value:o.getDateTimeFormat(t,g).format(d)});continue}if(Zr(c)){var g=typeof c.style=="string"?r.number[c.style]:tn(c.style)?c.style.parsedOptions:void 0;g&&g.scale&&(d=d*(g.scale||1)),l.push({type:ue.literal,value:o.getNumberFormat(t,g).format(d)});continue}if(en(c)){var b=c.children,y=c.value,U=n[y];if(!Ps(U))throw new ks(y,"function",s);var X=ht(b,t,o,r,n,i),A=U(X.map(function(V){return V.value}));Array.isArray(A)||(A=[A]),l.push.apply(l,A.map(function(V){return{type:typeof V=="string"?ue.literal:ue.object,value:V}}))}if(Yr(c)){var C=c.options[d]||c.options.other;if(!C)throw new Lo(c.value,d,Object.keys(c.options),s);l.push.apply(l,ht(C.value,t,o,r,n));continue}if(Kr(c)){var C=c.options["=".concat(d)];if(!C){if(!Intl.PluralRules)throw new wt(`Intl.PluralRules is not available in this environment.
|
|
1
|
+
"use strict";var si=Object.defineProperty,li=Object.defineProperties;var ai=Object.getOwnPropertyDescriptors;var vo=Object.getOwnPropertySymbols;var ui=Object.prototype.hasOwnProperty,ci=Object.prototype.propertyIsEnumerable;var Ht=(e,t,o)=>t in e?si(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,it=(e,t)=>{for(var o in t||(t={}))ui.call(t,o)&&Ht(e,o,t[o]);if(vo)for(var o of vo(t))ci.call(t,o)&&Ht(e,o,t[o]);return e},yo=(e,t)=>li(e,ai(t));var ce=(e,t,o)=>(Ht(e,typeof t!="symbol"?t+"":t,o),o);var ie=(e,t,o)=>new Promise((r,n)=>{var i=a=>{try{l(o.next(a))}catch(u){n(u)}},s=a=>{try{l(o.throw(a))}catch(u){n(u)}},l=a=>a.done?r(a.value):Promise.resolve(a.value).then(i,s);l((o=o.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-BreIU6e5.cjs");function oe(){}function Or(e){return e()}function wo(){return Object.create(null)}function Se(e){e.forEach(Or)}function ro(e){return typeof e=="function"}function no(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let st;function me(e,t){return e===t?!0:(st||(st=document.createElement("a")),st.href=t,e===st.href)}function Eo(e){return e.split(",").map(t=>t.trim().split(" ").filter(Boolean))}function bt(e,t){const o=Eo(e.srcset),r=Eo(t||"");return r.length===o.length&&r.every(([n,i],s)=>i===o[s][1]&&(me(o[s][0],n)||me(n,o[s][0])))}function fi(e){return Object.keys(e).length===0}function Ir(e,...t){if(e==null){for(const r of t)r(void 0);return oe}const o=e.subscribe(...t);return o.unsubscribe?()=>o.unsubscribe():o}function hi(e,t,o){e.$$.on_destroy.push(Ir(t,o))}function p(e,t){e.appendChild(t)}function Nr(e,t,o){const r=pi(e);if(!r.getElementById(t)){const n=_("style");n.id=t,n.textContent=o,mi(r,n)}}function pi(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function mi(e,t){return p(e.head||e,t),t.sheet}function E(e,t,o){e.insertBefore(t,o||null)}function w(e){e.parentNode&&e.parentNode.removeChild(e)}function ae(e,t){for(let o=0;o<e.length;o+=1)e[o]&&e[o].d(t)}function _(e){return document.createElement(e)}function j(e){return document.createTextNode(e)}function B(){return j(" ")}function he(){return j("")}function K(e,t,o,r){return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)}function f(e,t,o){o==null?e.removeAttribute(t):e.getAttribute(t)!==o&&e.setAttribute(t,o)}function di(e){return Array.from(e.childNodes)}function z(e,t){t=""+t,e.data!==t&&(e.data=t)}let lt;function _i(){if(lt===void 0){lt=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(e){lt=!0}}return lt}function Mr(e,t){getComputedStyle(e).position==="static"&&(e.style.position="relative");const r=_("iframe");r.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),r.setAttribute("aria-hidden","true"),r.tabIndex=-1;const n=_i();let i;return n?(r.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",i=K(window,"message",s=>{s.source===r.contentWindow&&t()})):(r.src="about:blank",r.onload=()=>{i=K(r.contentWindow,"resize",t),t()}),p(e,r),()=>{(n||i&&r.contentWindow)&&i(),w(r)}}function te(e,t,o){e.classList.toggle(t,!!o)}function gi(e){const t={};return e.childNodes.forEach(o=>{t[o.slot||"default"]=!0}),t}let Ye;function Je(e){Ye=e}function bi(){if(!Ye)throw new Error("Function called outside component initialization");return Ye}function vi(e){bi().$$.on_mount.push(e)}const Ne=[],we=[];let Fe=[];const xo=[],Fr=Promise.resolve();let Gt=!1;function Rr(){Gt||(Gt=!0,Fr.then(G))}function Dr(){return Rr(),Fr}function Ke(e){Fe.push(e)}const Lt=new Set;let Oe=0;function G(){if(Oe!==0)return;const e=Ye;do{try{for(;Oe<Ne.length;){const t=Ne[Oe];Oe++,Je(t),yi(t.$$)}}catch(t){throw Ne.length=0,Oe=0,t}for(Je(null),Ne.length=0,Oe=0;we.length;)we.pop()();for(let t=0;t<Fe.length;t+=1){const o=Fe[t];Lt.has(o)||(Lt.add(o),o())}Fe.length=0}while(Ne.length);for(;xo.length;)xo.pop()();Gt=!1,Lt.clear(),Je(e)}function yi(e){if(e.fragment!==null){e.update(),Se(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Ke)}}function wi(e){const t=[],o=[];Fe.forEach(r=>e.indexOf(r)===-1?t.push(r):o.push(r)),o.forEach(r=>r()),Fe=t}const ct=new Set;let Ce;function io(){Ce={r:0,c:[],p:Ce}}function so(){Ce.r||Se(Ce.c),Ce=Ce.p}function be(e,t){e&&e.i&&(ct.delete(e),e.i(t))}function Be(e,t,o,r){if(e&&e.o){if(ct.has(e))return;ct.add(e),Ce.c.push(()=>{ct.delete(e),r&&(o&&e.d(1),r())}),e.o(t)}else r&&r()}function W(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Ei(e){e&&e.c()}function Ur(e,t,o){const{fragment:r,after_update:n}=e.$$;r&&r.m(t,o),Ke(()=>{const i=e.$$.on_mount.map(Or).filter(ro);e.$$.on_destroy?e.$$.on_destroy.push(...i):Se(i),e.$$.on_mount=[]}),n.forEach(Ke)}function Gr(e,t){const o=e.$$;o.fragment!==null&&(wi(o.after_update),Se(o.on_destroy),o.fragment&&o.fragment.d(t),o.on_destroy=o.fragment=null,o.ctx=[])}function xi(e,t){e.$$.dirty[0]===-1&&(Ne.push(e),Rr(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function jr(e,t,o,r,n,i,s=null,l=[-1]){const a=Ye;Je(e);const u=e.$$={fragment:null,ctx:[],props:i,update:oe,not_equal:n,bound:wo(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(a?a.$$.context:[])),callbacks:wo(),dirty:l,skip_bound:!1,root:t.target||a.$$.root};s&&s(u.root);let c=!1;if(u.ctx=o?o(e,t.props||{},(h,d,...g)=>{const b=g.length?g[0]:d;return u.ctx&&n(u.ctx[h],u.ctx[h]=b)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](b),c&&xi(e,h)),d}):[],u.update(),c=!0,Se(u.before_update),u.fragment=r?r(u.ctx):!1,t.target){if(t.hydrate){const h=di(t.target);u.fragment&&u.fragment.l(h),h.forEach(w)}else u.fragment&&u.fragment.c();t.intro&&be(e.$$.fragment),Ur(e,t.target,t.anchor),G()}Je(a)}let zr;typeof HTMLElement=="function"&&(zr=class extends HTMLElement{constructor(t,o,r){super();ce(this,"$$ctor");ce(this,"$$s");ce(this,"$$c");ce(this,"$$cn",!1);ce(this,"$$d",{});ce(this,"$$r",!1);ce(this,"$$p_d",{});ce(this,"$$l",{});ce(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=o,r&&this.attachShadow({mode:"open"})}addEventListener(t,o,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(o),this.$$c){const n=this.$$c.$on(t,o);this.$$l_u.set(o,n)}super.addEventListener(t,o,r)}removeEventListener(t,o,r){if(super.removeEventListener(t,o,r),this.$$c){const n=this.$$l_u.get(o);n&&(n(),this.$$l_u.delete(o))}}connectedCallback(){return ie(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let s;return{c:function(){s=_("slot"),i!=="default"&&f(s,"name",i)},m:function(u,c){E(u,s,c)},d:function(u){u&&w(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const o={},r=gi(this);for(const i of this.$$s)i in r&&(o[i]=[t(i)]);for(const i of this.attributes){const s=this.$$g_p(i.name);s in this.$$d||(this.$$d[s]=ft(s,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:yo(it({},this.$$d),{$$slots:o,$$scope:{ctx:[]}})});const n=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const s=ft(i,this.$$d[i],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,s)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const i in this.$$l)for(const s of this.$$l[i]){const l=this.$$c.$on(i,s);this.$$l_u.set(s,l)}this.$$l={}}})}attributeChangedCallback(t,o,r){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=ft(t,r,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(o=>this.$$p_d[o].attribute===t||!this.$$p_d[o].attribute&&o.toLowerCase()===t)||t}});function ft(e,t,o,r){var i;const n=(i=o[e])==null?void 0:i.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!o[e])return t;if(r==="toAttribute")switch(n){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Vr(e,t,o,r,n,i){let s=class extends zr{constructor(){super(e,o,n),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(s.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){var u;a=ft(l,a,t),this.$$d[l]=a,(u=this.$$c)==null||u.$set({[l]:a})}})}),r.forEach(l=>{Object.defineProperty(s.prototype,l,{get(){var a;return(a=this.$$c)==null?void 0:a[l]}})}),e.element=s,s}class Wr{constructor(){ce(this,"$$");ce(this,"$$set")}$destroy(){Gr(this,1),this.$destroy=oe}$on(t,o){if(!ro(o))return oe;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(o),()=>{const n=r.indexOf(o);n!==-1&&r.splice(n,1)}}$set(t){this.$$set&&!fi(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Si="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Si);const Ie=[];function Ti(e,t){return{subscribe:vt(e,t).subscribe}}function vt(e,t=oe){let o;const r=new Set;function n(l){if(no(e,l)&&(e=l,o)){const a=!Ie.length;for(const u of r)u[1](),Ie.push(u,e);if(a){for(let u=0;u<Ie.length;u+=2)Ie[u][0](Ie[u+1]);Ie.length=0}}}function i(l){n(l(e))}function s(l,a=oe){const u=[l,a];return r.add(u),r.size===1&&(o=t(n,i)||oe),l(e),()=>{r.delete(u),r.size===0&&o&&(o(),o=null)}}return{set:n,update:i,subscribe:s}}function ze(e,t,o){const r=!Array.isArray(e),n=r?[e]:e;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const i=t.length<2;return Ti(o,(s,l)=>{let a=!1;const u=[];let c=0,h=oe;const d=()=>{if(c)return;h();const b=t(r?u[0]:u,s,l);i?s(b):h=ro(b)?b:oe},g=n.map((b,y)=>Ir(b,U=>{u[y]=U,c&=~(1<<y),a&&d()},()=>{c|=1<<y}));return a=!0,d(),function(){Se(g),h(),a=!1}})}function ki(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ci=function(t){return Bi(t)&&!Pi(t)};function Bi(e){return!!e&&typeof e=="object"}function Pi(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Li(e)}var Ai=typeof Symbol=="function"&&Symbol.for,Hi=Ai?Symbol.for("react.element"):60103;function Li(e){return e.$$typeof===Hi}function Oi(e){return Array.isArray(e)?[]:{}}function et(e,t){return t.clone!==!1&&t.isMergeableObject(e)?De(Oi(e),e,t):e}function Ii(e,t,o){return e.concat(t).map(function(r){return et(r,o)})}function Ni(e,t){if(!t.customMerge)return De;var o=t.customMerge(e);return typeof o=="function"?o:De}function Mi(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function So(e){return Object.keys(e).concat(Mi(e))}function Xr(e,t){try{return t in e}catch(o){return!1}}function Fi(e,t){return Xr(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Ri(e,t,o){var r={};return o.isMergeableObject(e)&&So(e).forEach(function(n){r[n]=et(e[n],o)}),So(t).forEach(function(n){Fi(e,n)||(Xr(e,n)&&o.isMergeableObject(t[n])?r[n]=Ni(n,o)(e[n],t[n],o):r[n]=et(t[n],o))}),r}function De(e,t,o){o=o||{},o.arrayMerge=o.arrayMerge||Ii,o.isMergeableObject=o.isMergeableObject||Ci,o.cloneUnlessOtherwiseSpecified=et;var r=Array.isArray(t),n=Array.isArray(e),i=r===n;return i?r?o.arrayMerge(e,t,o):Ri(e,t,o):et(t,o)}De.all=function(t,o){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return De(r,n,o)},{})};var Di=De,Ui=Di;const Gi=ki(Ui);var jt=function(e,t){return jt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,r){o.__proto__=r}||function(o,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(o[n]=r[n])},jt(e,t)};function yt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");jt(e,t);function o(){this.constructor=e}e.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}var pe=function(){return pe=Object.assign||function(t){for(var o,r=1,n=arguments.length;r<n;r++){o=arguments[r];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t},pe.apply(this,arguments)};function ji(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]]);return o}function Ot(e,t,o){if(o||arguments.length===2)for(var r=0,n=t.length,i;r<n;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function It(e,t){var o=t&&t.cache?t.cache:Zi,r=t&&t.serializer?t.serializer:$i,n=t&&t.strategy?t.strategy:Wi;return n(e,{cache:o,serializer:r})}function zi(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Vi(e,t,o,r){var n=zi(r)?r:o(r),i=t.get(n);return typeof i=="undefined"&&(i=e.call(this,r),t.set(n,i)),i}function $r(e,t,o){var r=Array.prototype.slice.call(arguments,3),n=o(r),i=t.get(n);return typeof i=="undefined"&&(i=e.apply(this,r),t.set(n,i)),i}function qr(e,t,o,r,n){return o.bind(t,e,r,n)}function Wi(e,t){var o=e.length===1?Vi:$r;return qr(e,this,o,t.cache.create(),t.serializer)}function Xi(e,t){return qr(e,this,$r,t.cache.create(),t.serializer)}var $i=function(){return JSON.stringify(arguments)},qi=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,o){this.cache[t]=o},e}(),Zi={create:function(){return new qi}},Nt={variadic:Xi},dt=function(){return dt=Object.assign||function(t){for(var o,r=1,n=arguments.length;r<n;r++){o=arguments[r];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t},dt.apply(this,arguments)};var F;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(F||(F={}));var q;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(q||(q={}));var Ue;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ue||(Ue={}));function To(e){return e.type===q.literal}function Qi(e){return e.type===q.argument}function Zr(e){return e.type===q.number}function Qr(e){return e.type===q.date}function Jr(e){return e.type===q.time}function Yr(e){return e.type===q.select}function Kr(e){return e.type===q.plural}function Ji(e){return e.type===q.pound}function en(e){return e.type===q.tag}function tn(e){return!!(e&&typeof e=="object"&&e.type===Ue.number)}function zt(e){return!!(e&&typeof e=="object"&&e.type===Ue.dateTime)}var on=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Yi=/(?:[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 Ki(e){var t={};return e.replace(Yi,function(o){var r=o.length;switch(o[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var J=function(){return J=Object.assign||function(t){for(var o,r=1,n=arguments.length;r<n;r++){o=arguments[r];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t},J.apply(this,arguments)};var es=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function ts(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(es).filter(function(d){return d.length>0}),o=[],r=0,n=t;r<n.length;r++){var i=n[r],s=i.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var l=s[0],a=s.slice(1),u=0,c=a;u<c.length;u++){var h=c[u];if(h.length===0)throw new Error("Invalid number skeleton")}o.push({stem:l,options:a})}return o}function os(e){return e.replace(/^(.*?)-/,"")}var ko=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,rn=/^(@+)?(\+|#+)?[rs]?$/g,rs=/(\*)(0+)|(#+)(0+)|(0+)/g,nn=/^(0+)$/;function Co(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(rn,function(o,r,n){return typeof n!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):n==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof n=="string"?n.length:0)),""}),t}function sn(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function ns(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var o=e.slice(0,2);if(o==="+!"?(t.signDisplay="always",e=e.slice(2)):o==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!nn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Bo(e){var t={},o=sn(e);return o||t}function is(e){for(var t={},o=0,r=e;o<r.length;o++){var n=r[o];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=os(n.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=J(J(J({},t),{notation:"scientific"}),n.options.reduce(function(a,u){return J(J({},a),Bo(u))},{}));continue;case"engineering":t=J(J(J({},t),{notation:"engineering"}),n.options.reduce(function(a,u){return J(J({},a),Bo(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(n.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(rs,function(a,u,c,h,d,g){if(u)t.minimumIntegerDigits=c.length;else{if(h&&d)throw new Error("We currently do not support maximum integer digits");if(g)throw new Error("We currently do not support exact integer digits")}return""});continue}if(nn.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(ko.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(ko,function(a,u,c,h,d,g){return c==="*"?t.minimumFractionDigits=u.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:d&&g?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+g.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var i=n.options[0];i==="w"?t=J(J({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=J(J({},t),Co(i)));continue}if(rn.test(n.stem)){t=J(J({},t),Co(n.stem));continue}var s=sn(n.stem);s&&(t=J(J({},t),s));var l=ns(n.stem);l&&(t=J(J({},t),l))}return t}var at={"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 ss(e,t){for(var o="",r=0;r<e.length;r++){var n=e.charAt(r);if(n==="j"){for(var i=0;r+1<e.length&&e.charAt(r+1)===n;)i++,r++;var s=1+(i&1),l=i<2?1:3+(i>>1),a="a",u=ls(t);for((u=="H"||u=="k")&&(l=0);l-- >0;)o+=a;for(;s-- >0;)o=u+o}else n==="J"?o+="H":o+=n}return o}function ls(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var o=e.language,r;o!=="root"&&(r=e.maximize().region);var n=at[r||""]||at[o||""]||at["".concat(o,"-001")]||at["001"];return n[0]}var Mt,as=new RegExp("^".concat(on.source,"*")),us=new RegExp("".concat(on.source,"*$"));function D(e,t){return{start:e,end:t}}var cs=!!String.prototype.startsWith&&"_a".startsWith("a",1),fs=!!String.fromCodePoint,hs=!!Object.fromEntries,ps=!!String.prototype.codePointAt,ms=!!String.prototype.trimStart,ds=!!String.prototype.trimEnd,_s=!!Number.isSafeInteger,gs=_s?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Vt=!0;try{var bs=an("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Vt=((Mt=bs.exec("a"))===null||Mt===void 0?void 0:Mt[0])==="a"}catch(e){Vt=!1}var Po=cs?function(t,o,r){return t.startsWith(o,r)}:function(t,o,r){return t.slice(r,r+o.length)===o},Wt=fs?String.fromCodePoint:function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];for(var r="",n=t.length,i=0,s;n>i;){if(s=t[i++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},Ao=hs?Object.fromEntries:function(t){for(var o={},r=0,n=t;r<n.length;r++){var i=n[r],s=i[0],l=i[1];o[s]=l}return o},ln=ps?function(t,o){return t.codePointAt(o)}:function(t,o){var r=t.length;if(!(o<0||o>=r)){var n=t.charCodeAt(o),i;return n<55296||n>56319||o+1===r||(i=t.charCodeAt(o+1))<56320||i>57343?n:(n-55296<<10)+(i-56320)+65536}},vs=ms?function(t){return t.trimStart()}:function(t){return t.replace(as,"")},ys=ds?function(t){return t.trimEnd()}:function(t){return t.replace(us,"")};function an(e,t){return new RegExp(e,t)}var Xt;if(Vt){var Ho=an("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Xt=function(t,o){var r;Ho.lastIndex=o;var n=Ho.exec(t);return(r=n[1])!==null&&r!==void 0?r:""}}else Xt=function(t,o){for(var r=[];;){var n=ln(t,o);if(n===void 0||un(n)||Ss(n))break;r.push(n),o+=n>=65536?2:1}return Wt.apply(void 0,r)};var ws=function(){function e(t,o){o===void 0&&(o={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!o.ignoreTag,this.locale=o.locale,this.requiresOtherClause=!!o.requiresOtherClause,this.shouldParseSkeletons=!!o.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,o,r){for(var n=[];!this.isEOF();){var i=this.char();if(i===123){var s=this.parseArgument(t,r);if(s.err)return s;n.push(s.val)}else{if(i===125&&t>0)break;if(i===35&&(o==="plural"||o==="selectordinal")){var l=this.clonePosition();this.bump(),n.push({type:q.pound,location:D(l,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(F.UNMATCHED_CLOSING_TAG,D(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&$t(this.peek()||0)){var s=this.parseTag(t,o);if(s.err)return s;n.push(s.val)}else{var s=this.parseLiteral(t,o);if(s.err)return s;n.push(s.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(t,o){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:q.literal,value:"<".concat(n,"/>"),location:D(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(t+1,o,!0);if(i.err)return i;var s=i.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!$t(this.char()))return this.error(F.INVALID_TAG,D(l,this.clonePosition()));var a=this.clonePosition(),u=this.parseTagName();return n!==u?this.error(F.UNMATCHED_CLOSING_TAG,D(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:q.tag,value:n,children:s,location:D(r,this.clonePosition())},err:null}:this.error(F.INVALID_TAG,D(l,this.clonePosition())))}else return this.error(F.UNCLOSED_TAG,D(r,this.clonePosition()))}else return this.error(F.INVALID_TAG,D(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&xs(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,o){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(o);if(i){n+=i;continue}var s=this.tryParseUnquoted(t,o);if(s){n+=s;continue}var l=this.tryParseLeftAngleBracket();if(l){n+=l;continue}break}var a=D(r,this.clonePosition());return{val:{type:q.literal,value:n,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Es(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var o=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)o.push(39),this.bump();else{this.bump();break}else o.push(r);this.bump()}return Wt.apply(void 0,o)},e.prototype.tryParseUnquoted=function(t,o){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(o==="plural"||o==="selectordinal")||r===125&&t>0?null:(this.bump(),Wt(r))},e.prototype.parseArgument=function(t,o){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,D(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(F.EMPTY_ARGUMENT,D(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(F.MALFORMED_ARGUMENT,D(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,D(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:q.argument,value:n,location:D(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,D(r,this.clonePosition())):this.parseArgumentOptions(t,o,n,r);default:return this.error(F.MALFORMED_ARGUMENT,D(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),o=this.offset(),r=Xt(this.message,o),n=o+r.length;this.bumpTo(n);var i=this.clonePosition(),s=D(t,i);return{value:r,location:s}},e.prototype.parseArgumentOptions=function(t,o,r,n){var i,s=this.clonePosition(),l=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(l){case"":return this.error(F.EXPECT_ARGUMENT_TYPE,D(s,a));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var d=ys(h.val);if(d.length===0)return this.error(F.EXPECT_ARGUMENT_STYLE,D(this.clonePosition(),this.clonePosition()));var g=D(c,this.clonePosition());u={style:d,styleLocation:g}}var b=this.tryParseArgumentClose(n);if(b.err)return b;var y=D(n,this.clonePosition());if(u&&Po(u==null?void 0:u.style,"::",0)){var U=vs(u.style.slice(2));if(l==="number"){var h=this.parseNumberSkeletonFromString(U,u.styleLocation);return h.err?h:{val:{type:q.number,value:r,location:y,style:h.val},err:null}}else{if(U.length===0)return this.error(F.EXPECT_DATE_TIME_SKELETON,y);var X=U;this.locale&&(X=ss(U,this.locale));var d={type:Ue.dateTime,pattern:X,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Ki(X):{}},A=l==="date"?q.date:q.time;return{val:{type:A,value:r,location:y,style:d},err:null}}}return{val:{type:l==="number"?q.number:l==="date"?q.date:q.time,value:r,location:y,style:(i=u==null?void 0:u.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var C=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(F.EXPECT_SELECT_ARGUMENT_OPTIONS,D(C,dt({},C)));this.bumpSpace();var P=this.parseIdentifierIfPossible(),V=0;if(l!=="select"&&P.value==="offset"){if(!this.bumpIf(":"))return this.error(F.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,D(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(F.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,F.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),P=this.parseIdentifierIfPossible(),V=h.val}var T=this.tryParsePluralOrSelectOptions(t,l,o,P);if(T.err)return T;var b=this.tryParseArgumentClose(n);if(b.err)return b;var R=D(n,this.clonePosition());return l==="select"?{val:{type:q.select,value:r,options:Ao(T.val),location:R},err:null}:{val:{type:q.plural,value:r,options:Ao(T.val),offset:V,pluralType:l==="plural"?"cardinal":"ordinal",location:R},err:null}}default:return this.error(F.INVALID_ARGUMENT_TYPE,D(s,a))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(F.EXPECT_ARGUMENT_CLOSING_BRACE,D(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,o=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(F.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,D(n,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(o.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(o.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,o){var r=[];try{r=ts(t)}catch(n){return this.error(F.INVALID_NUMBER_SKELETON,o)}return{val:{type:Ue.number,tokens:r,location:o,parsedOptions:this.shouldParseSkeletons?is(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,o,r,n){for(var i,s=!1,l=[],a=new Set,u=n.value,c=n.location;;){if(u.length===0){var h=this.clonePosition();if(o!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(F.EXPECT_PLURAL_ARGUMENT_SELECTOR,F.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=D(h,this.clonePosition()),u=this.message.slice(h.offset,this.offset())}else break}if(a.has(u))return this.error(o==="select"?F.DUPLICATE_SELECT_ARGUMENT_SELECTOR:F.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(s=!0),this.bumpSpace();var g=this.clonePosition();if(!this.bumpIf("{"))return this.error(o==="select"?F.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:F.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,D(this.clonePosition(),this.clonePosition()));var b=this.parseMessage(t+1,o,r);if(b.err)return b;var y=this.tryParseArgumentClose(g);if(y.err)return y;l.push([u,{value:b.val,location:D(g,this.clonePosition())}]),a.add(u),this.bumpSpace(),i=this.parseIdentifierIfPossible(),u=i.value,c=i.location}return l.length===0?this.error(o==="select"?F.EXPECT_SELECT_ARGUMENT_SELECTOR:F.EXPECT_PLURAL_ARGUMENT_SELECTOR,D(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(F.MISSING_OTHER_CLAUSE,D(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,o){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,s=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)i=!0,s=s*10+(l-48),this.bump();else break}var a=D(n,this.clonePosition());return i?(s*=r,gs(s)?{val:s,err:null}:this.error(o,a)):this.error(t,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var o=ln(this.message,t);if(o===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return o},e.prototype.error=function(t,o){return{val:null,err:{kind:t,message:this.message,location:o}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Po(this.message,t,this.offset())){for(var o=0;o<t.length;o++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var o=this.offset(),r=this.message.indexOf(t,o);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var o=this.offset();if(o===t)break;if(o>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&un(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),o=this.offset(),r=this.message.charCodeAt(o+(t>=65536?2:1));return r!=null?r:null},e}();function $t(e){return e>=97&&e<=122||e>=65&&e<=90}function Es(e){return $t(e)||e===47}function xs(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function un(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ss(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function qt(e){e.forEach(function(t){if(delete t.location,Yr(t)||Kr(t))for(var o in t.options)delete t.options[o].location,qt(t.options[o].value);else Zr(t)&&tn(t.style)||(Qr(t)||Jr(t))&&zt(t.style)?delete t.style.location:en(t)&&qt(t.children)})}function Ts(e,t){t===void 0&&(t={}),t=dt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var o=new ws(e,t).parse();if(o.err){var r=SyntaxError(F[o.err.kind]);throw r.location=o.err.location,r.originalMessage=o.err.message,r}return t!=null&&t.captureLocation||qt(o.val),o.val}var Ge;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ge||(Ge={}));var wt=function(e){yt(t,e);function t(o,r,n){var i=e.call(this,o)||this;return i.code=r,i.originalMessage=n,i}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Lo=function(e){yt(t,e);function t(o,r,n,i){return e.call(this,'Invalid values for "'.concat(o,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),Ge.INVALID_VALUE,i)||this}return t}(wt),ks=function(e){yt(t,e);function t(o,r,n){return e.call(this,'Value for "'.concat(o,'" must be of type ').concat(r),Ge.INVALID_VALUE,n)||this}return t}(wt),Cs=function(e){yt(t,e);function t(o,r){return e.call(this,'The intl string context variable "'.concat(o,'" was not provided to the string "').concat(r,'"'),Ge.MISSING_VALUE,r)||this}return t}(wt),ue;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ue||(ue={}));function Bs(e){return e.length<2?e:e.reduce(function(t,o){var r=t[t.length-1];return!r||r.type!==ue.literal||o.type!==ue.literal?t.push(o):r.value+=o.value,t},[])}function Ps(e){return typeof e=="function"}function ht(e,t,o,r,n,i,s){if(e.length===1&&To(e[0]))return[{type:ue.literal,value:e[0].value}];for(var l=[],a=0,u=e;a<u.length;a++){var c=u[a];if(To(c)){l.push({type:ue.literal,value:c.value});continue}if(Ji(c)){typeof i=="number"&&l.push({type:ue.literal,value:o.getNumberFormat(t).format(i)});continue}var h=c.value;if(!(n&&h in n))throw new Cs(h,s);var d=n[h];if(Qi(c)){(!d||typeof d=="string"||typeof d=="number")&&(d=typeof d=="string"||typeof d=="number"?String(d):""),l.push({type:typeof d=="string"?ue.literal:ue.object,value:d});continue}if(Qr(c)){var g=typeof c.style=="string"?r.date[c.style]:zt(c.style)?c.style.parsedOptions:void 0;l.push({type:ue.literal,value:o.getDateTimeFormat(t,g).format(d)});continue}if(Jr(c)){var g=typeof c.style=="string"?r.time[c.style]:zt(c.style)?c.style.parsedOptions:r.time.medium;l.push({type:ue.literal,value:o.getDateTimeFormat(t,g).format(d)});continue}if(Zr(c)){var g=typeof c.style=="string"?r.number[c.style]:tn(c.style)?c.style.parsedOptions:void 0;g&&g.scale&&(d=d*(g.scale||1)),l.push({type:ue.literal,value:o.getNumberFormat(t,g).format(d)});continue}if(en(c)){var b=c.children,y=c.value,U=n[y];if(!Ps(U))throw new ks(y,"function",s);var X=ht(b,t,o,r,n,i),A=U(X.map(function(V){return V.value}));Array.isArray(A)||(A=[A]),l.push.apply(l,A.map(function(V){return{type:typeof V=="string"?ue.literal:ue.object,value:V}}))}if(Yr(c)){var C=c.options[d]||c.options.other;if(!C)throw new Lo(c.value,d,Object.keys(c.options),s);l.push.apply(l,ht(C.value,t,o,r,n));continue}if(Kr(c)){var C=c.options["=".concat(d)];if(!C){if(!Intl.PluralRules)throw new wt(`Intl.PluralRules is not available in this environment.
|
|
2
2
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
3
|
`,Ge.MISSING_INTL_API,s);var P=o.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));C=c.options[P]||c.options.other}if(!C)throw new Lo(c.value,d,Object.keys(c.options),s);l.push.apply(l,ht(C.value,t,o,r,n,d-(c.offset||0)));continue}}return Bs(l)}function As(e,t){return t?pe(pe(pe({},e||{}),t||{}),Object.keys(e).reduce(function(o,r){return o[r]=pe(pe({},e[r]),t[r]||{}),o},{})):e}function Hs(e,t){return t?Object.keys(e).reduce(function(o,r){return o[r]=As(e[r],t[r]),o},pe({},e)):e}function Ft(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,o){e[t]=o}}}}}function Ls(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:It(function(){for(var t,o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,Ot([void 0],o,!1)))},{cache:Ft(e.number),strategy:Nt.variadic}),getDateTimeFormat:It(function(){for(var t,o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,Ot([void 0],o,!1)))},{cache:Ft(e.dateTime),strategy:Nt.variadic}),getPluralRules:It(function(){for(var t,o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,Ot([void 0],o,!1)))},{cache:Ft(e.pluralRules),strategy:Nt.variadic})}}var Os=function(){function e(t,o,r,n){o===void 0&&(o=e.defaultLocale);var i=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(a){var u=i.formatToParts(a);if(u.length===1)return u[0].value;var c=u.reduce(function(h,d){return!h.length||d.type!==ue.literal||typeof h[h.length-1]!="string"?h.push(d.value):h[h.length-1]+=d.value,h},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(a){return ht(i.ast,i.locales,i.formatters,i.formats,a,void 0,i.message)},this.resolvedOptions=function(){var a;return{locale:((a=i.resolvedLocale)===null||a===void 0?void 0:a.toString())||Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.ast},this.locales=o,this.resolvedLocale=e.resolveLocale(o),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=n||{};s.formatters;var l=ji(s,["formatters"]);this.ast=e.__parse(t,pe(pe({},l),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Hs(e.formats,r),this.formatters=n&&n.formatters||Ls(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var o=Intl.NumberFormat.supportedLocalesOf(t);return o.length>0?new Intl.Locale(o[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Ts,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Is(e,t){if(t==null)return;if(t in e)return e[t];const o=t.split(".");let r=e;for(let n=0;n<o.length;n++)if(typeof r=="object"){if(n>0){const i=o.slice(n,o.length).join(".");if(i in r){r=r[i];break}}r=r[o[n]]}else r=void 0;return r}const Ee={},Ns=(e,t,o)=>o&&(t in Ee||(Ee[t]={}),e in Ee[t]||(Ee[t][e]=o),o),cn=(e,t)=>{if(t==null)return;if(t in Ee&&e in Ee[t])return Ee[t][e];const o=Et(t);for(let r=0;r<o.length;r++){const n=o[r],i=Fs(n,e);if(i)return Ns(e,t,i)}};let lo;const Ve=vt({});function Ms(e){return lo[e]||null}function fn(e){return e in lo}function Fs(e,t){if(!fn(e))return null;const o=Ms(e);return Is(o,t)}function Rs(e){if(e==null)return;const t=Et(e);for(let o=0;o<t.length;o++){const r=t[o];if(fn(r))return r}}function hn(e,...t){delete Ee[e],Ve.update(o=>(o[e]=Gi.all([o[e]||{},...t]),o))}ze([Ve],([e])=>Object.keys(e));Ve.subscribe(e=>lo=e);const pt={};function Ds(e,t){pt[e].delete(t),pt[e].size===0&&delete pt[e]}function pn(e){return pt[e]}function Us(e){return Et(e).map(t=>{const o=pn(t);return[t,o?[...o]:[]]}).filter(([,t])=>t.length>0)}function Zt(e){return e==null?!1:Et(e).some(t=>{var o;return(o=pn(t))==null?void 0:o.size})}function Gs(e,t){return Promise.all(t.map(r=>(Ds(e,r),r().then(n=>n.default||n)))).then(r=>hn(e,...r))}const Qe={};function mn(e){if(!Zt(e))return e in Qe?Qe[e]:Promise.resolve();const t=Us(e);return Qe[e]=Promise.all(t.map(([o,r])=>Gs(o,r))).then(()=>{if(Zt(e))return mn(e);delete Qe[e]}),Qe[e]}const js={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"}}},zs={fallbackLocale:null,loadingDelay:200,formats:js,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Vs=zs;function je(){return Vs}const Rt=vt(!1);var Ws=Object.defineProperty,Xs=Object.defineProperties,$s=Object.getOwnPropertyDescriptors,Oo=Object.getOwnPropertySymbols,qs=Object.prototype.hasOwnProperty,Zs=Object.prototype.propertyIsEnumerable,Io=(e,t,o)=>t in e?Ws(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,Qs=(e,t)=>{for(var o in t||(t={}))qs.call(t,o)&&Io(e,o,t[o]);if(Oo)for(var o of Oo(t))Zs.call(t,o)&&Io(e,o,t[o]);return e},Js=(e,t)=>Xs(e,$s(t));let Qt;const _t=vt(null);function No(e){return e.split("-").map((t,o,r)=>r.slice(0,o+1).join("-")).reverse()}function Et(e,t=je().fallbackLocale){const o=No(e);return t?[...new Set([...o,...No(t)])]:o}function Pe(){return Qt!=null?Qt:void 0}_t.subscribe(e=>{Qt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Ys=e=>{if(e&&Rs(e)&&Zt(e)){const{loadingDelay:t}=je();let o;return typeof window!="undefined"&&Pe()!=null&&t?o=window.setTimeout(()=>Rt.set(!0),t):Rt.set(!0),mn(e).then(()=>{_t.set(e)}).finally(()=>{clearTimeout(o),Rt.set(!1)})}return _t.set(e)},xe=Js(Qs({},_t),{set:Ys}),xt=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}};var Ks=Object.defineProperty,gt=Object.getOwnPropertySymbols,dn=Object.prototype.hasOwnProperty,_n=Object.prototype.propertyIsEnumerable,Mo=(e,t,o)=>t in e?Ks(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,ao=(e,t)=>{for(var o in t||(t={}))dn.call(t,o)&&Mo(e,o,t[o]);if(gt)for(var o of gt(t))_n.call(t,o)&&Mo(e,o,t[o]);return e},We=(e,t)=>{var o={};for(var r in e)dn.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(e!=null&>)for(var r of gt(e))t.indexOf(r)<0&&_n.call(e,r)&&(o[r]=e[r]);return o};const tt=(e,t)=>{const{formats:o}=je();if(e in o&&t in o[e])return o[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},el=xt(e=>{var t=e,{locale:o,format:r}=t,n=We(t,["locale","format"]);if(o==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=tt("number",r)),new Intl.NumberFormat(o,n)}),tl=xt(e=>{var t=e,{locale:o,format:r}=t,n=We(t,["locale","format"]);if(o==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=tt("date",r):Object.keys(n).length===0&&(n=tt("date","short")),new Intl.DateTimeFormat(o,n)}),ol=xt(e=>{var t=e,{locale:o,format:r}=t,n=We(t,["locale","format"]);if(o==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=tt("time",r):Object.keys(n).length===0&&(n=tt("time","short")),new Intl.DateTimeFormat(o,n)}),rl=(e={})=>{var t=e,{locale:o=Pe()}=t,r=We(t,["locale"]);return el(ao({locale:o},r))},nl=(e={})=>{var t=e,{locale:o=Pe()}=t,r=We(t,["locale"]);return tl(ao({locale:o},r))},il=(e={})=>{var t=e,{locale:o=Pe()}=t,r=We(t,["locale"]);return ol(ao({locale:o},r))},sl=xt((e,t=Pe())=>new Os(e,t,je().formats,{ignoreTag:je().ignoreTag})),ll=(e,t={})=>{var o,r,n,i;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:l,locale:a=Pe(),default:u}=s;if(a==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=cn(e,a);if(!c)c=(i=(n=(r=(o=je()).handleMissingMessage)==null?void 0:r.call(o,{locale:a,id:e,defaultValue:u}))!=null?n:u)!=null?i:e;else if(typeof c!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c;if(!l)return c;let h=c;try{h=sl(c,a).format(l)}catch(d){d instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,d.message)}return h},al=(e,t)=>il(t).format(e),ul=(e,t)=>nl(t).format(e),cl=(e,t)=>rl(t).format(e),fl=(e,t=Pe())=>cn(e,t),hl=ze([xe,Ve],()=>ll);ze([xe],()=>al);ze([xe],()=>ul);ze([xe],()=>cl);ze([xe,Ve],()=>fl);function pl({withLocale:e,translations:t}){xe.subscribe(o=>{o==null&&(Ve.set(t),xe.set(e))})}function Fo(e,t){hn(e,t)}function ml(e){xe.set(e)}/*! *****************************************************************************
|
|
4
4
|
Copyright (c) Microsoft Corporation.
|
|
@@ -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/CasinoPromotionsNd-
|
|
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/CasinoPromotionsNd-acHkUZb4.cjs")).then(({default:t})=>{!customElements.get("casino-promotions-nd")&&customElements.define("casino-promotions-nd",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoPromotionsNd-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoPromotionsNd-Dixk2C51.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-promotions-nd") && customElements.define("casino-promotions-nd", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var P=(e,t,s)=>new Promise((r,n)=>{var a=i=>{try{o(s.next(i))}catch($){n($)}},l=i=>{try{o(s.throw(i))}catch($){n($)}},o=i=>i.done?r(i.value):Promise.resolve(i.value).then(a,l);o((s=s.apply(e,t)).next())});const ue="ui-skeleton",fe={hydratedSelectorName:"hydrated"};var de=Object.defineProperty,me=(e,t)=>{for(var s in t)de(e,s,{get:t[s],enumerable:!0})},U=new WeakMap,b=e=>U.get(e),ve=(e,t)=>U.set(t.$lazyInstance$=e,t),ge=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(r=>s.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],U.set(e,s)},E=(e,t)=>(0,console.error)(e,t),O=new Map,he=(e,t,s)=>{const r=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const a=O.get(n);if(a)return a[r];{const l=o=>(O.set(n,o),o[r]);switch(n){case"ui-skeleton":return Promise.resolve().then(()=>require("./ui-skeleton-BreIU6e5.cjs")).then(l,E)}}return import(`./${n}.entry.js`).then(l=>(O.set(n,l),l[r]),E)},L=new Map,pe="{visibility:hidden}.hydrated{visibility:inherit}",J="slot-fb{display:contents}slot-fb[hidden]{display:none}",B=typeof window!="undefined"?window:{},y=B.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,r)=>e.addEventListener(t,s,r),rel:(e,t,s,r)=>e.removeEventListener(t,s,r),ce:(e,t)=>new CustomEvent(e,t)},K=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),A=!1,C=[],Q=[],Se=(e,t)=>s=>{e.push(s),A||(A=!0,g.$flags$&4?z(I):g.raf(I))},D=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){E(s)}e.length=0},I=()=>{D(C),D(Q),(A=C.length>0)&&g.raf(I)},z=e=>K().then(e),be=Se(Q),F={},X=e=>(e=typeof e,e==="object"||e==="function");function Z(e){var t,s,r;return(r=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?r:void 0}var ke={};me(ke,{err:()=>R,map:()=>Ee,ok:()=>H,unwrap:()=>we,unwrapErr:()=>Pe});var H=e=>({isOk:!0,isErr:!1,value:e}),R=e=>({isOk:!1,isErr:!0,value:e});function Ee(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(r=>H(r)):H(s)}if(e.isErr){const s=e.value;return R(s)}throw"should never get here"}var we=e=>{if(e.isOk)return e.value;throw e.value},Pe=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},xe=(e,t)=>()=>{},V=(e,t,...s)=>{let r=null,n=null,a=!1,l=!1;const o=[],i=c=>{for(let u=0;u<c.length;u++)r=c[u],Array.isArray(r)?i(r):r!=null&&typeof r!="boolean"&&((a=typeof e!="function"&&!X(r))&&(r=String(r)),a&&l?o[o.length-1].$text$+=r:o.push(a?N(null,r):r),l=a)};if(i(s),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(u=>c[u]).join(" "))}}const $=N(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=n,$},N=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s},ee={},Te=e=>e&&e.$tag$===ee,Le=(e,t)=>e!=null&&!X(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,_e=(e,t,s)=>{const r=g.ce(t,s);return e.dispatchEvent(r),r},M=new WeakMap,je=(e,t,s)=>{let r=L.get(e);ye&&s?(r=r||new CSSStyleSheet,typeof r=="string"?r=t:r.replaceSync(t)):r=t,L.set(e,r)},Oe=(e,t,s)=>{var r;const n=te(t),a=L.get(n);if(e=e.nodeType===11?e:y,a)if(typeof a=="string"){e=e.head||e;let l=M.get(e),o;if(l||M.set(e,l=new Set),!l.has(n)){{o=y.createElement("style"),o.innerHTML=a;const i=(r=g.$nonce$)!=null?r:Z(y);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=J),l&&l.add(n)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return n},Ae=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,r=S("attachStyles",t.$tagName$);Oe(s.getRootNode(),t),r()},te=(e,t)=>"sc-"+e.$tagName$,W=(e,t,s,r,n,a)=>{if(s!==r&&(t.toLowerCase(),t==="class")){const l=e.classList,o=Y(s),i=Y(r);l.remove(...o.filter($=>$&&!i.includes($))),l.add(...i.filter($=>$&&!o.includes($)))}},Ie=/\s/,Y=e=>e?e.split(Ie):[],ne=(e,t,s)=>{const r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||F,a=t.$attrs$||F;for(const l of G(Object.keys(n)))l in a||W(r,l,n[l],void 0);for(const l of G(Object.keys(a)))W(r,l,n[l],a[l])};function G(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var se,_=(e,t,s,r)=>{const n=t.$children$[s];let a=0,l,o;if(n.$text$!==null)l=n.$elm$=y.createTextNode(n.$text$);else if(l=n.$elm$=y.createElement(n.$tag$),ne(null,n),n.$children$)for(a=0;a<n.$children$.length;++a)o=_(e,n,a),o&&l.appendChild(o);return l["s-hn"]=se,l},re=(e,t,s,r,n,a)=>{let l=e,o;for(;n<=a;++n)r[n]&&(o=_(null,s,n),o&&(r[n].$elm$=o,T(l,o,t)))},le=(e,t,s)=>{for(let r=t;r<=s;++r){const n=e[r];if(n){const a=n.$elm$;a&&a.remove()}}},He=(e,t,s,r,n=!1)=>{let a=0,l=0,o=0,i=0,$=t.length-1,c=t[0],u=t[$],f=r.length-1,d=r[0],m=r[f],v,h;for(;a<=$&&l<=f;)if(c==null)c=t[++a];else if(u==null)u=t[--$];else if(d==null)d=r[++l];else if(m==null)m=r[--f];else if(x(c,d,n))k(c,d,n),c=t[++a],d=r[++l];else if(x(u,m,n))k(u,m,n),u=t[--$],m=r[--f];else if(x(c,m,n))k(c,m,n),T(e,c.$elm$,u.$elm$.nextSibling),c=t[++a],m=r[--f];else if(x(u,d,n))k(u,d,n),T(e,u.$elm$,c.$elm$),u=t[--$],d=r[++l];else{for(o=-1,i=a;i<=$;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){o=i;break}o>=0?(h=t[o],h.$tag$!==d.$tag$?v=_(t&&t[l],s,o):(k(h,d,n),t[o]=void 0,v=h.$elm$),d=r[++l]):(v=_(t&&t[l],s,l),d=r[++l]),v&&T(c.$elm$.parentNode,v,c.$elm$)}a>$?re(e,r[f+1]==null?null:r[f+1].$elm$,s,r,l,f):l>f&&le(t,a,$)},x=(e,t,s=!1)=>e.$tag$===t.$tag$?s?!0:e.$key$===t.$key$:!1,k=(e,t,s=!1)=>{const r=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,l=t.$text$;l===null?(ne(e,t),n!==null&&a!==null?He(r,n,t,a,s):a!==null?(e.$text$!==null&&(r.textContent=""),re(r,null,t,a,0,a.length-1)):n!==null&&le(n,0,n.length-1)):e.$text$!==l&&(r.data=l)},T=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),Ne=(e,t,s=!1)=>{const r=e.$hostElement$,n=e.$vnode$||N(null,null),a=Te(t)?t:V(null,null,t);if(se=r.tagName,s&&a.$attrs$)for(const l of Object.keys(a.$attrs$))r.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(a.$attrs$[l]=r[l]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=n.$elm$=r,k(n,a,s)},ae=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},q=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ae(e,e.$ancestorComponent$),be(()=>Ue(e,t))},Ue=(e,t)=>{const s=e.$hostElement$,r=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return r(),Be(a,()=>qe(e,n,t))},Be=(e,t)=>ze(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),ze=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",qe=(e,t,s)=>P(exports,null,function*(){var r;const n=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];s&&Ae(e);const o=S("render",e.$cmpMeta$.$tagName$);Ce(e,t,n,s),l&&(l.map(i=>i()),n["s-rc"]=void 0),o(),a();{const i=(r=n["s-p"])!=null?r:[],$=()=>De(e);i.length===0?$():(Promise.all(i).then($),e.$flags$|=4,i.length=0)}}),Ce=(e,t,s,r)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ne(e,t,r)}catch(n){E(n,e.$hostElement$)}return null},De=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,r=S("postUpdate",t),n=e.$ancestorComponent$;e.$flags$&64?r():(e.$flags$|=64,oe(s),r(),e.$onReadyResolve$(s),n||ie()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&z(()=>q(e,!1)),e.$flags$&=-517},ie=e=>{oe(y.documentElement),z(()=>_e(B,"appload",{detail:{namespace:ue}}))},oe=e=>{var t;return e.classList.add((t=fe.hydratedSelectorName)!=null?t:"hydrated")},Fe=(e,t)=>b(e).$instanceValues$.get(t),Me=(e,t,s,r)=>{const n=b(e);if(!n)throw new Error(`Couldn't find host element for "${r.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const a=n.$hostElement$,l=n.$instanceValues$.get(t),o=n.$flags$,i=n.$lazyInstance$;s=Le(s,r.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(s),c=s!==l&&!$;if((!(o&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,s),i)){if(r.$watchers$&&o&128){const u=r.$watchers$[t];u&&u.map(f=>{try{i[f](s,l,t)}catch(d){E(d,a)}})}(o&18)===2&&q(n,!1)}},$e=(e,t,s)=>{var r,n;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((r=t.$members$)!=null?r:{});if(l.map(([o,[i]])=>{(i&31||s&2&&i&32)&&Object.defineProperty(a,o,{get(){return Fe(this,o)},set($){Me(this,o,$,t)},configurable:!0,enumerable:!0})}),s&1){const o=new Map;a.attributeChangedCallback=function(i,$,c){g.jmp(()=>{var u;const f=o.get(i);if(this.hasOwnProperty(f))c=this[f],delete this[f];else{if(a.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==c)return;if(f==null){const d=b(this),m=d==null?void 0:d.$flags$;if(m&&!(m&8)&&m&128&&c!==$){const v=d.$lazyInstance$,h=(u=t.$watchers$)==null?void 0:u[i];h==null||h.forEach(p=>{v[p]!=null&&v[p].call(v,c,$,i)})}return}}this[f]=c===null&&typeof this[f]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([i,$])=>$[0]&15).map(([i,$])=>{const c=$[1]||i;return o.set(c,i),c})]))}}return e},We=(e,t,s,r)=>P(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const i=he(s);if(i&&"then"in i){const c=xe();n=yield i,c()}else n=i;if(!n)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(s.$watchers$=n.watchers,$e(n,s,2),n.isProxied=!0);const $=S("createInstance",s.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){E(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{n=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(n&&n.style){let i;typeof n.style=="string"&&(i=n.style);const $=te(s);if(!L.has($)){const c=S("registerStyles",s.$tagName$);je($,i,!!(s.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>q(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),Ye=e=>{},Ge=e=>{if(!(g.$flags$&1)){const t=b(e),s=t.$cmpMeta$,r=S("connectedCallback",s.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ye());else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ae(t,t.$ancestorComponent$=n);break}}s.$members$&&Object.entries(s.$members$).map(([n,[a]])=>{if(a&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),We(e,t,s)}r()}},Je=e=>{},Ke=e=>P(exports,null,function*(){if(!(g.$flags$&1)){const t=b(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Je())}}),Qe=(e,t={})=>{var s;const r=S(),n=[],a=t.exclude||[],l=B.customElements,o=y.head,i=o.querySelector("meta[charset]"),$=y.createElement("style"),c=[];let u,f=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let d=!1;if(e.map(m=>{m[1].map(v=>{var h;const p={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};p.$flags$&4&&(d=!0),p.$members$=v[2],p.$watchers$=(h=v[4])!=null?h:{};const w=p.$tagName$,ce=class extends HTMLElement{constructor(j){super(j),this.hasRegisteredEventListeners=!1,j=this,ge(j,p)}connectedCallback(){b(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),u&&(clearTimeout(u),u=null),f?c.push(this):g.jmp(()=>Ge(this))}disconnectedCallback(){g.jmp(()=>Ke(this))}componentOnReady(){return b(this).$onReadyPromise$}};p.$lazyBundleId$=m[0],!a.includes(w)&&!l.get(w)&&(n.push(w),l.define(w,$e(ce,p,1)))})}),n.length>0&&(d&&($.textContent+=J),$.textContent+=n.sort()+pe,$.innerHTML.length)){$.setAttribute("data-styles","");const m=(s=g.$nonce$)!=null?s:Z(y);m!=null&&$.setAttribute("nonce",m),o.insertBefore($,i?i.nextSibling:o.firstChild)}f=!1,c.length?c.map(m=>m.connectedCallback()):g.jmp(()=>u=setTimeout(ie,30)),r()};exports.Host=ee;exports.bootstrapLazy=Qe;exports.h=V;exports.promiseResolve=K;exports.registerInstance=ve;
|