@everymatrix/player-account-gaming-limits-popup-2 1.87.26 → 1.87.28

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.
@@ -0,0 +1,10 @@
1
+ "use strict";var Bn=Object.defineProperty,Ln=Object.defineProperties;var An=Object.getOwnPropertyDescriptors;var Lt=Object.getOwnPropertySymbols;var In=Object.prototype.hasOwnProperty,kn=Object.prototype.propertyIsEnumerable;var rt=(e,t,n)=>t in e?Bn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,At=(e,t)=>{for(var n in t||(t={}))In.call(t,n)&&rt(e,n,t[n]);if(Lt)for(var n of Lt(t))kn.call(t,n)&&rt(e,n,t[n]);return e},It=(e,t)=>Ln(e,An(t));var Q=(e,t,n)=>(rt(e,typeof t!="symbol"?t+"":t,n),n);var kt=(e,t,n)=>new Promise((i,r)=>{var o=u=>{try{s(n.next(u))}catch(l){r(l)}},a=u=>{try{s(n.throw(u))}catch(l){r(l)}},s=u=>u.done?i(u.value):Promise.resolve(u.value).then(o,a);s((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function te(){}function Yt(e){return e()}function Ct(){return Object.create(null)}function ce(e){e.forEach(Yt)}function wt(e){return typeof e=="function"}function Jt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Cn(e){return Object.keys(e).length===0}function Qt(e,...t){if(e==null){for(const i of t)i(void 0);return te}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Hn(e,t,n){e.$$.on_destroy.push(Qt(t,n))}function f(e,t){e.appendChild(t)}function Nn(e,t,n){const i=On(e);if(!i.getElementById(t)){const r=g("style");r.id=t,r.textContent=n,Mn(i,r)}}function On(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Mn(e,t){return f(e.head||e,t),t.sheet}function x(e,t,n){e.insertBefore(t,n||null)}function E(e){e.parentNode&&e.parentNode.removeChild(e)}function g(e){return document.createElement(e)}function Z(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function S(e){return document.createTextNode(e)}function M(){return S(" ")}function W(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function h(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function Kt(e){return e===""?null:+e}function Dn(e){return Array.from(e.childNodes)}function C(e,t){t=""+t,e.data!==t&&(e.data=t)}function Ht(e,t){e.value=t==null?"":t}function Oe(e,t,n,i){n==null?e.style.removeProperty(t):e.style.setProperty(t,n,"")}function ze(e,t,n){e.classList.toggle(t,!!n)}function Rn(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let De;function Me(e){De=e}function Un(){if(!De)throw new Error("Function called outside component initialization");return De}function jn(e){Un().$$.on_mount.push(e)}const ve=[],_e=[];let xe=[];const Nt=[],Gn=Promise.resolve();let ft=!1;function $n(){ft||(ft=!0,Gn.then(ee))}function pt(e){xe.push(e)}const ot=new Set;let ge=0;function ee(){if(ge!==0)return;const e=De;do{try{for(;ge<ve.length;){const t=ve[ge];ge++,Me(t),zn(t.$$)}}catch(t){throw ve.length=0,ge=0,t}for(Me(null),ve.length=0,ge=0;_e.length;)_e.pop()();for(let t=0;t<xe.length;t+=1){const n=xe[t];ot.has(n)||(ot.add(n),n())}xe.length=0}while(ve.length);for(;Nt.length;)Nt.pop()();ft=!1,ot.clear(),Me(e)}function zn(e){if(e.fragment!==null){e.update(),ce(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(pt)}}function Fn(e){const t=[],n=[];xe.forEach(i=>e.indexOf(i)===-1?t.push(i):n.push(i)),n.forEach(i=>i()),xe=t}const Vn=new Set;function Xn(e,t){e&&e.i&&(Vn.delete(e),e.i(t))}function qn(e,t,n){const{fragment:i,after_update:r}=e.$$;i&&i.m(t,n),pt(()=>{const o=e.$$.on_mount.map(Yt).filter(wt);e.$$.on_destroy?e.$$.on_destroy.push(...o):ce(o),e.$$.on_mount=[]}),r.forEach(pt)}function Wn(e,t){const n=e.$$;n.fragment!==null&&(Fn(n.after_update),ce(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Zn(e,t){e.$$.dirty[0]===-1&&(ve.push(e),$n(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Yn(e,t,n,i,r,o,a=null,s=[-1]){const u=De;Me(e);const l=e.$$={fragment:null,ctx:[],props:o,update:te,not_equal:r,bound:Ct(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:Ct(),dirty:s,skip_bound:!1,root:t.target||u.$$.root};a&&a(l.root);let c=!1;if(l.ctx=n?n(e,t.props||{},(p,m,...d)=>{const w=d.length?d[0]:m;return l.ctx&&r(l.ctx[p],l.ctx[p]=w)&&(!l.skip_bound&&l.bound[p]&&l.bound[p](w),c&&Zn(e,p)),m}):[],l.update(),c=!0,ce(l.before_update),l.fragment=i?i(l.ctx):!1,t.target){if(t.hydrate){const p=Dn(t.target);l.fragment&&l.fragment.l(p),p.forEach(E)}else l.fragment&&l.fragment.c();t.intro&&Xn(e.$$.fragment),qn(e,t.target,t.anchor),ee()}Me(u)}let en;typeof HTMLElement=="function"&&(en=class extends HTMLElement{constructor(t,n,i){super();Q(this,"$$ctor");Q(this,"$$s");Q(this,"$$c");Q(this,"$$cn",!1);Q(this,"$$d",{});Q(this,"$$r",!1);Q(this,"$$p_d",{});Q(this,"$$l",{});Q(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,i&&this.attachShadow({mode:"open"})}addEventListener(t,n,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const r=this.$$c.$on(t,n);this.$$l_u.set(n,r)}super.addEventListener(t,n,i)}removeEventListener(t,n,i){if(super.removeEventListener(t,n,i),this.$$c){const r=this.$$l_u.get(n);r&&(r(),this.$$l_u.delete(n))}}connectedCallback(){return kt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let a;return{c:function(){a=g("slot"),o!=="default"&&h(a,"name",o)},m:function(l,c){x(l,a,c)},d:function(l){l&&E(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=Rn(this);for(const o of this.$$s)o in i&&(n[o]=[t(o)]);for(const o of this.attributes){const a=this.$$g_p(o.name);a in this.$$d||(this.$$d[a]=Ve(a,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:It(At({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const r=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const a=Ve(o,this.$$d[o],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,a)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(const o in this.$$l)for(const a of this.$$l[o]){const s=this.$$c.$on(o,a);this.$$l_u.set(a,s)}this.$$l={}}})}attributeChangedCallback(t,n,i){var r;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Ve(t,i,this.$$p_d,"toProp"),(r=this.$$c)==null||r.$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(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function Ve(e,t,n,i){var o;const r=(o=n[e])==null?void 0:o.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!n[e])return t;if(i==="toAttribute")switch(r){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(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Jn(e,t,n,i,r,o){let a=class extends en{constructor(){super(e,n,r),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Object.keys(t).forEach(s=>{Object.defineProperty(a.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(u){var l;u=Ve(s,u,t),this.$$d[s]=u,(l=this.$$c)==null||l.$set({[s]:u})}})}),i.forEach(s=>{Object.defineProperty(a.prototype,s,{get(){var u;return(u=this.$$c)==null?void 0:u[s]}})}),e.element=a,a}class Qn{constructor(){Q(this,"$$");Q(this,"$$set")}$destroy(){Wn(this,1),this.$destroy=te}$on(t,n){if(!wt(n))return te;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(t){this.$$set&&!Cn(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Kn="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Kn);const ye=[];function ei(e,t){return{subscribe:Je(e,t).subscribe}}function Je(e,t=te){let n;const i=new Set;function r(s){if(Jt(e,s)&&(e=s,n)){const u=!ye.length;for(const l of i)l[1](),ye.push(l,e);if(u){for(let l=0;l<ye.length;l+=2)ye[l][0](ye[l+1]);ye.length=0}}}function o(s){r(s(e))}function a(s,u=te){const l=[s,u];return i.add(l),i.size===1&&(n=t(r,o)||te),s(e),()=>{i.delete(l),i.size===0&&n&&(n(),n=null)}}return{set:r,update:o,subscribe:a}}function Be(e,t,n){const i=!Array.isArray(e),r=i?[e]:e;if(!r.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return ei(n,(a,s)=>{let u=!1;const l=[];let c=0,p=te;const m=()=>{if(c)return;p();const w=t(i?l[0]:l,a,s);o?a(w):p=wt(w)?w:te},d=r.map((w,v)=>Qt(w,y=>{l[v]=y,c&=~(1<<v),u&&m()},()=>{c|=1<<v}));return u=!0,m(),function(){ce(d),p(),u=!1}})}function ti(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ni=function(t){return ii(t)&&!ri(t)};function ii(e){return!!e&&typeof e=="object"}function ri(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||ai(e)}var oi=typeof Symbol=="function"&&Symbol.for,si=oi?Symbol.for("react.element"):60103;function ai(e){return e.$$typeof===si}function li(e){return Array.isArray(e)?[]:{}}function Re(e,t){return t.clone!==!1&&t.isMergeableObject(e)?we(li(e),e,t):e}function ui(e,t,n){return e.concat(t).map(function(i){return Re(i,n)})}function ci(e,t){if(!t.customMerge)return we;var n=t.customMerge(e);return typeof n=="function"?n:we}function hi(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Ot(e){return Object.keys(e).concat(hi(e))}function tn(e,t){try{return t in e}catch(n){return!1}}function fi(e,t){return tn(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function pi(e,t,n){var i={};return n.isMergeableObject(e)&&Ot(e).forEach(function(r){i[r]=Re(e[r],n)}),Ot(t).forEach(function(r){fi(e,r)||(tn(e,r)&&n.isMergeableObject(t[r])?i[r]=ci(r,n)(e[r],t[r],n):i[r]=Re(t[r],n))}),i}function we(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||ui,n.isMergeableObject=n.isMergeableObject||ni,n.cloneUnlessOtherwiseSpecified=Re;var i=Array.isArray(t),r=Array.isArray(e),o=i===r;return o?i?n.arrayMerge(e,t,n):pi(e,t,n):Re(t,n)}we.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(i,r){return we(i,r,n)},{})};var mi=we,di=mi;const bi=ti(di);var mt=function(e,t){return mt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])},mt(e,t)};function Qe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");mt(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var se=function(){return se=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++){n=arguments[i];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},se.apply(this,arguments)};function gi(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}function st(e,t,n){if(n||arguments.length===2)for(var i=0,r=t.length,o;i<r;i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))}function at(e,t){var n=t&&t.cache?t.cache:Ti,i=t&&t.serializer?t.serializer:xi,r=t&&t.strategy?t.strategy:Ei;return r(e,{cache:n,serializer:i})}function yi(e){return e==null||typeof e=="number"||typeof e=="boolean"}function vi(e,t,n,i){var r=yi(i)?i:n(i),o=t.get(r);return typeof o=="undefined"&&(o=e.call(this,i),t.set(r,o)),o}function nn(e,t,n){var i=Array.prototype.slice.call(arguments,3),r=n(i),o=t.get(r);return typeof o=="undefined"&&(o=e.apply(this,i),t.set(r,o)),o}function rn(e,t,n,i,r){return n.bind(t,e,i,r)}function Ei(e,t){var n=e.length===1?vi:nn;return rn(e,this,n,t.cache.create(),t.serializer)}function _i(e,t){return rn(e,this,nn,t.cache.create(),t.serializer)}var xi=function(){return JSON.stringify(arguments)},wi=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,n){this.cache[t]=n},e}(),Ti={create:function(){return new wi}},lt={variadic:_i},We=function(){return We=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++){n=arguments[i];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},We.apply(this,arguments)};var P;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(P||(P={}));var z;(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"})(z||(z={}));var Te;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Te||(Te={}));function Mt(e){return e.type===z.literal}function Pi(e){return e.type===z.argument}function on(e){return e.type===z.number}function sn(e){return e.type===z.date}function an(e){return e.type===z.time}function ln(e){return e.type===z.select}function un(e){return e.type===z.plural}function Si(e){return e.type===z.pound}function cn(e){return e.type===z.tag}function hn(e){return!!(e&&typeof e=="object"&&e.type===Te.number)}function dt(e){return!!(e&&typeof e=="object"&&e.type===Te.dateTime)}var fn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Bi=/(?:[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 Li(e){var t={};return e.replace(Bi,function(n){var i=n.length;switch(n[0]){case"G":t.era=i===4?"long":i===5?"narrow":"short";break;case"y":t.year=i===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=i===4?"long":i===5?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][i-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][i-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][i-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][i-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][i-1];break;case"s":t.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=i<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var V=function(){return V=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++){n=arguments[i];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},V.apply(this,arguments)};var Ai=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Ii(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Ai).filter(function(m){return m.length>0}),n=[],i=0,r=t;i<r.length;i++){var o=r[i],a=o.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var s=a[0],u=a.slice(1),l=0,c=u;l<c.length;l++){var p=c[l];if(p.length===0)throw new Error("Invalid number skeleton")}n.push({stem:s,options:u})}return n}function ki(e){return e.replace(/^(.*?)-/,"")}var Dt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,pn=/^(@+)?(\+|#+)?[rs]?$/g,Ci=/(\*)(0+)|(#+)(0+)|(0+)/g,mn=/^(0+)$/;function Rt(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(pn,function(n,i,r){return typeof r!="string"?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):r==="+"?t.minimumSignificantDigits=i.length:i[0]==="#"?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+(typeof r=="string"?r.length:0)),""}),t}function dn(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 Hi(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 n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!mn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ut(e){var t={},n=dn(e);return n||t}function Ni(e){for(var t={},n=0,i=e;n<i.length;n++){var r=i[n];switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.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=ki(r.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=V(V(V({},t),{notation:"scientific"}),r.options.reduce(function(u,l){return V(V({},u),Ut(l))},{}));continue;case"engineering":t=V(V(V({},t),{notation:"engineering"}),r.options.reduce(function(u,l){return V(V({},u),Ut(l))},{}));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(r.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(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(Ci,function(u,l,c,p,m,d){if(l)t.minimumIntegerDigits=c.length;else{if(p&&m)throw new Error("We currently do not support maximum integer digits");if(d)throw new Error("We currently do not support exact integer digits")}return""});continue}if(mn.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(Dt.test(r.stem)){if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Dt,function(u,l,c,p,m,d){return c==="*"?t.minimumFractionDigits=l.length:p&&p[0]==="#"?t.maximumFractionDigits=p.length:m&&d?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+d.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=r.options[0];o==="w"?t=V(V({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=V(V({},t),Rt(o)));continue}if(pn.test(r.stem)){t=V(V({},t),Rt(r.stem));continue}var a=dn(r.stem);a&&(t=V(V({},t),a));var s=Hi(r.stem);s&&(t=V(V({},t),s))}return t}var Fe={"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 Oi(e,t){for(var n="",i=0;i<e.length;i++){var r=e.charAt(i);if(r==="j"){for(var o=0;i+1<e.length&&e.charAt(i+1)===r;)o++,i++;var a=1+(o&1),s=o<2?1:3+(o>>1),u="a",l=Mi(t);for((l=="H"||l=="k")&&(s=0);s-- >0;)n+=u;for(;a-- >0;)n=l+n}else r==="J"?n+="H":n+=r}return n}function Mi(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 n=e.language,i;n!=="root"&&(i=e.maximize().region);var r=Fe[i||""]||Fe[n||""]||Fe["".concat(n,"-001")]||Fe["001"];return r[0]}var ut,Di=new RegExp("^".concat(fn.source,"*")),Ri=new RegExp("".concat(fn.source,"*$"));function A(e,t){return{start:e,end:t}}var Ui=!!String.prototype.startsWith&&"_a".startsWith("a",1),ji=!!String.fromCodePoint,Gi=!!Object.fromEntries,$i=!!String.prototype.codePointAt,zi=!!String.prototype.trimStart,Fi=!!String.prototype.trimEnd,Vi=!!Number.isSafeInteger,Xi=Vi?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},bt=!0;try{var qi=gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");bt=((ut=qi.exec("a"))===null||ut===void 0?void 0:ut[0])==="a"}catch(e){bt=!1}var jt=Ui?function(t,n,i){return t.startsWith(n,i)}:function(t,n,i){return t.slice(i,i+n.length)===n},gt=ji?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var i="",r=t.length,o=0,a;r>o;){if(a=t[o++],a>1114111)throw RangeError(a+" is not a valid code point");i+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return i},Gt=Gi?Object.fromEntries:function(t){for(var n={},i=0,r=t;i<r.length;i++){var o=r[i],a=o[0],s=o[1];n[a]=s}return n},bn=$i?function(t,n){return t.codePointAt(n)}:function(t,n){var i=t.length;if(!(n<0||n>=i)){var r=t.charCodeAt(n),o;return r<55296||r>56319||n+1===i||(o=t.charCodeAt(n+1))<56320||o>57343?r:(r-55296<<10)+(o-56320)+65536}},Wi=zi?function(t){return t.trimStart()}:function(t){return t.replace(Di,"")},Zi=Fi?function(t){return t.trimEnd()}:function(t){return t.replace(Ri,"")};function gn(e,t){return new RegExp(e,t)}var yt;if(bt){var $t=gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");yt=function(t,n){var i;$t.lastIndex=n;var r=$t.exec(t);return(i=r[1])!==null&&i!==void 0?i:""}}else yt=function(t,n){for(var i=[];;){var r=bn(t,n);if(r===void 0||yn(r)||Ki(r))break;i.push(r),n+=r>=65536?2:1}return gt.apply(void 0,i)};var Yi=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.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,n,i){for(var r=[];!this.isEOF();){var o=this.char();if(o===123){var a=this.parseArgument(t,i);if(a.err)return a;r.push(a.val)}else{if(o===125&&t>0)break;if(o===35&&(n==="plural"||n==="selectordinal")){var s=this.clonePosition();this.bump(),r.push({type:z.pound,location:A(s,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(i)break;return this.error(P.UNMATCHED_CLOSING_TAG,A(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&vt(this.peek()||0)){var a=this.parseTag(t,n);if(a.err)return a;r.push(a.val)}else{var a=this.parseLiteral(t,n);if(a.err)return a;r.push(a.val)}}}return{val:r,err:null}},e.prototype.parseTag=function(t,n){var i=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:z.literal,value:"<".concat(r,"/>"),location:A(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,n,!0);if(o.err)return o;var a=o.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!vt(this.char()))return this.error(P.INVALID_TAG,A(s,this.clonePosition()));var u=this.clonePosition(),l=this.parseTagName();return r!==l?this.error(P.UNMATCHED_CLOSING_TAG,A(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:z.tag,value:r,children:a,location:A(i,this.clonePosition())},err:null}:this.error(P.INVALID_TAG,A(s,this.clonePosition())))}else return this.error(P.UNCLOSED_TAG,A(i,this.clonePosition()))}else return this.error(P.INVALID_TAG,A(i,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Qi(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var i=this.clonePosition(),r="";;){var o=this.tryParseQuote(n);if(o){r+=o;continue}var a=this.tryParseUnquoted(t,n);if(a){r+=a;continue}var s=this.tryParseLeftAngleBracket();if(s){r+=s;continue}break}var u=A(i,this.clonePosition());return{val:{type:z.literal,value:r,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Ji(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 n=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(i===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(i);this.bump()}return gt.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var i=this.char();return i===60||i===123||i===35&&(n==="plural"||n==="selectordinal")||i===125&&t>0?null:(this.bump(),gt(i))},e.prototype.parseArgument=function(t,n){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,A(i,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(P.EMPTY_ARGUMENT,A(i,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(P.MALFORMED_ARGUMENT,A(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,A(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:z.argument,value:r,location:A(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,A(i,this.clonePosition())):this.parseArgumentOptions(t,n,r,i);default:return this.error(P.MALFORMED_ARGUMENT,A(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),i=yt(this.message,n),r=n+i.length;this.bumpTo(r);var o=this.clonePosition(),a=A(t,o);return{value:i,location:a}},e.prototype.parseArgumentOptions=function(t,n,i,r){var o,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(s){case"":return this.error(P.EXPECT_ARGUMENT_TYPE,A(a,u));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),p=this.parseSimpleArgStyleIfPossible();if(p.err)return p;var m=Zi(p.val);if(m.length===0)return this.error(P.EXPECT_ARGUMENT_STYLE,A(this.clonePosition(),this.clonePosition()));var d=A(c,this.clonePosition());l={style:m,styleLocation:d}}var w=this.tryParseArgumentClose(r);if(w.err)return w;var v=A(r,this.clonePosition());if(l&&jt(l==null?void 0:l.style,"::",0)){var y=Wi(l.style.slice(2));if(s==="number"){var p=this.parseNumberSkeletonFromString(y,l.styleLocation);return p.err?p:{val:{type:z.number,value:i,location:v,style:p.val},err:null}}else{if(y.length===0)return this.error(P.EXPECT_DATE_TIME_SKELETON,v);var T=y;this.locale&&(T=Oi(y,this.locale));var m={type:Te.dateTime,pattern:T,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Li(T):{}},B=s==="date"?z.date:z.time;return{val:{type:B,value:i,location:v,style:m},err:null}}}return{val:{type:s==="number"?z.number:s==="date"?z.date:z.time,value:i,location:v,style:(o=l==null?void 0:l.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var I=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS,A(I,We({},I)));this.bumpSpace();var D=this.parseIdentifierIfPossible(),L=0;if(s!=="select"&&D.value==="offset"){if(!this.bumpIf(":"))return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,A(this.clonePosition(),this.clonePosition()));this.bumpSpace();var p=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(p.err)return p;this.bumpSpace(),D=this.parseIdentifierIfPossible(),L=p.val}var H=this.tryParsePluralOrSelectOptions(t,s,n,D);if(H.err)return H;var w=this.tryParseArgumentClose(r);if(w.err)return w;var G=A(r,this.clonePosition());return s==="select"?{val:{type:z.select,value:i,options:Gt(H.val),location:G},err:null}:{val:{type:z.plural,value:i,options:Gt(H.val),offset:L,pluralType:s==="plural"?"cardinal":"ordinal",location:G},err:null}}default:return this.error(P.INVALID_ARGUMENT_TYPE,A(a,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,A(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var i=this.char();switch(i){case 39:{this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,A(r,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(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var i=[];try{i=Ii(t)}catch(r){return this.error(P.INVALID_NUMBER_SKELETON,n)}return{val:{type:Te.number,tokens:i,location:n,parsedOptions:this.shouldParseSkeletons?Ni(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,i,r){for(var o,a=!1,s=[],u=new Set,l=r.value,c=r.location;;){if(l.length===0){var p=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR,P.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;c=A(p,this.clonePosition()),l=this.message.slice(p.offset,this.offset())}else break}if(u.has(l))return this.error(n==="select"?P.DUPLICATE_SELECT_ARGUMENT_SELECTOR:P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);l==="other"&&(a=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,A(this.clonePosition(),this.clonePosition()));var w=this.parseMessage(t+1,n,i);if(w.err)return w;var v=this.tryParseArgumentClose(d);if(v.err)return v;s.push([l,{value:w.val,location:A(d,this.clonePosition())}]),u.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,c=o.location}return s.length===0?this.error(n==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR:P.EXPECT_PLURAL_ARGUMENT_SELECTOR,A(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(P.MISSING_OTHER_CLAUSE,A(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var i=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var o=!1,a=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)o=!0,a=a*10+(s-48),this.bump();else break}var u=A(r,this.clonePosition());return o?(a*=i,Xi(a)?{val:a,err:null}:this.error(n,u)):this.error(t,u)},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 n=bn(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},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(jt(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),i=this.message.indexOf(t,n);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>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()&&yn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),i=this.message.charCodeAt(n+(t>=65536?2:1));return i!=null?i:null},e}();function vt(e){return e>=97&&e<=122||e>=65&&e<=90}function Ji(e){return vt(e)||e===47}function Qi(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 yn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ki(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 Et(e){e.forEach(function(t){if(delete t.location,ln(t)||un(t))for(var n in t.options)delete t.options[n].location,Et(t.options[n].value);else on(t)&&hn(t.style)||(sn(t)||an(t))&&dt(t.style)?delete t.style.location:cn(t)&&Et(t.children)})}function er(e,t){t===void 0&&(t={}),t=We({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Yi(e,t).parse();if(n.err){var i=SyntaxError(P[n.err.kind]);throw i.location=n.err.location,i.originalMessage=n.err.message,i}return t!=null&&t.captureLocation||Et(n.val),n.val}var Pe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Pe||(Pe={}));var Ke=function(e){Qe(t,e);function t(n,i,r){var o=e.call(this,n)||this;return o.code=i,o.originalMessage=r,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),zt=function(e){Qe(t,e);function t(n,i,r,o){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(i,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Pe.INVALID_VALUE,o)||this}return t}(Ke),tr=function(e){Qe(t,e);function t(n,i,r){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(i),Pe.INVALID_VALUE,r)||this}return t}(Ke),nr=function(e){Qe(t,e);function t(n,i){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(i,'"'),Pe.MISSING_VALUE,i)||this}return t}(Ke),q;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(q||(q={}));function ir(e){return e.length<2?e:e.reduce(function(t,n){var i=t[t.length-1];return!i||i.type!==q.literal||n.type!==q.literal?t.push(n):i.value+=n.value,t},[])}function rr(e){return typeof e=="function"}function Xe(e,t,n,i,r,o,a){if(e.length===1&&Mt(e[0]))return[{type:q.literal,value:e[0].value}];for(var s=[],u=0,l=e;u<l.length;u++){var c=l[u];if(Mt(c)){s.push({type:q.literal,value:c.value});continue}if(Si(c)){typeof o=="number"&&s.push({type:q.literal,value:n.getNumberFormat(t).format(o)});continue}var p=c.value;if(!(r&&p in r))throw new nr(p,a);var m=r[p];if(Pi(c)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),s.push({type:typeof m=="string"?q.literal:q.object,value:m});continue}if(sn(c)){var d=typeof c.style=="string"?i.date[c.style]:dt(c.style)?c.style.parsedOptions:void 0;s.push({type:q.literal,value:n.getDateTimeFormat(t,d).format(m)});continue}if(an(c)){var d=typeof c.style=="string"?i.time[c.style]:dt(c.style)?c.style.parsedOptions:i.time.medium;s.push({type:q.literal,value:n.getDateTimeFormat(t,d).format(m)});continue}if(on(c)){var d=typeof c.style=="string"?i.number[c.style]:hn(c.style)?c.style.parsedOptions:void 0;d&&d.scale&&(m=m*(d.scale||1)),s.push({type:q.literal,value:n.getNumberFormat(t,d).format(m)});continue}if(cn(c)){var w=c.children,v=c.value,y=r[v];if(!rr(y))throw new tr(v,"function",a);var T=Xe(w,t,n,i,r,o),B=y(T.map(function(L){return L.value}));Array.isArray(B)||(B=[B]),s.push.apply(s,B.map(function(L){return{type:typeof L=="string"?q.literal:q.object,value:L}}))}if(ln(c)){var I=c.options[m]||c.options.other;if(!I)throw new zt(c.value,m,Object.keys(c.options),a);s.push.apply(s,Xe(I.value,t,n,i,r));continue}if(un(c)){var I=c.options["=".concat(m)];if(!I){if(!Intl.PluralRules)throw new Ke(`Intl.PluralRules is not available in this environment.
2
+ Try polyfilling it using "@formatjs/intl-pluralrules"
3
+ `,Pe.MISSING_INTL_API,a);var D=n.getPluralRules(t,{type:c.pluralType}).select(m-(c.offset||0));I=c.options[D]||c.options.other}if(!I)throw new zt(c.value,m,Object.keys(c.options),a);s.push.apply(s,Xe(I.value,t,n,i,r,m-(c.offset||0)));continue}}return ir(s)}function or(e,t){return t?se(se(se({},e||{}),t||{}),Object.keys(e).reduce(function(n,i){return n[i]=se(se({},e[i]),t[i]||{}),n},{})):e}function sr(e,t){return t?Object.keys(e).reduce(function(n,i){return n[i]=or(e[i],t[i]),n},se({},e)):e}function ct(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function ar(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:at(function(){for(var t,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return new((t=Intl.NumberFormat).bind.apply(t,st([void 0],n,!1)))},{cache:ct(e.number),strategy:lt.variadic}),getDateTimeFormat:at(function(){for(var t,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return new((t=Intl.DateTimeFormat).bind.apply(t,st([void 0],n,!1)))},{cache:ct(e.dateTime),strategy:lt.variadic}),getPluralRules:at(function(){for(var t,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return new((t=Intl.PluralRules).bind.apply(t,st([void 0],n,!1)))},{cache:ct(e.pluralRules),strategy:lt.variadic})}}var lr=function(){function e(t,n,i,r){n===void 0&&(n=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var l=o.formatToParts(u);if(l.length===1)return l[0].value;var c=l.reduce(function(p,m){return!p.length||m.type!==q.literal||typeof p[p.length-1]!="string"?p.push(m.value):p[p.length-1]+=m.value,p},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(u){return Xe(o.ast,o.locales,o.formatters,o.formats,u,void 0,o.message)},this.resolvedOptions=function(){var u;return{locale:((u=o.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=r||{};a.formatters;var s=gi(a,["formatters"]);this.ast=e.__parse(t,se(se({},s),{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=sr(e.formats,i),this.formatters=r&&r.formatters||ar(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 n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=er,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 ur(e,t){if(t==null)return;if(t in e)return e[t];const n=t.split(".");let i=e;for(let r=0;r<n.length;r++)if(typeof i=="object"){if(r>0){const o=n.slice(r,n.length).join(".");if(o in i){i=i[o];break}}i=i[n[r]]}else i=void 0;return i}const ue={},cr=(e,t,n)=>n&&(t in ue||(ue[t]={}),e in ue[t]||(ue[t][e]=n),n),vn=(e,t)=>{if(t==null)return;if(t in ue&&e in ue[t])return ue[t][e];const n=et(t);for(let i=0;i<n.length;i++){const r=n[i],o=fr(r,e);if(o)return cr(e,t,o)}};let Tt;const je=Je({});function hr(e){return Tt[e]||null}function En(e){return e in Tt}function fr(e,t){if(!En(e))return null;const n=hr(e);return ur(n,t)}function pr(e){if(e==null)return;const t=et(e);for(let n=0;n<t.length;n++){const i=t[n];if(En(i))return i}}function _n(e,...t){delete ue[e],je.update(n=>(n[e]=bi.all([n[e]||{},...t]),n))}Be([je],([e])=>Object.keys(e));je.subscribe(e=>Tt=e);const qe={};function mr(e,t){qe[e].delete(t),qe[e].size===0&&delete qe[e]}function xn(e){return qe[e]}function dr(e){return et(e).map(t=>{const n=xn(t);return[t,n?[...n]:[]]}).filter(([,t])=>t.length>0)}function _t(e){return e==null?!1:et(e).some(t=>{var n;return(n=xn(t))==null?void 0:n.size})}function br(e,t){return Promise.all(t.map(i=>(mr(e,i),i().then(r=>r.default||r)))).then(i=>_n(e,...i))}const Ne={};function wn(e){if(!_t(e))return e in Ne?Ne[e]:Promise.resolve();const t=dr(e);return Ne[e]=Promise.all(t.map(([n,i])=>br(n,i))).then(()=>{if(_t(e))return wn(e);delete Ne[e]}),Ne[e]}const gr={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"}}},yr={fallbackLocale:null,loadingDelay:200,formats:gr,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},vr=yr;function Se(){return vr}const ht=Je(!1);var Er=Object.defineProperty,_r=Object.defineProperties,xr=Object.getOwnPropertyDescriptors,Ft=Object.getOwnPropertySymbols,wr=Object.prototype.hasOwnProperty,Tr=Object.prototype.propertyIsEnumerable,Vt=(e,t,n)=>t in e?Er(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Pr=(e,t)=>{for(var n in t||(t={}))wr.call(t,n)&&Vt(e,n,t[n]);if(Ft)for(var n of Ft(t))Tr.call(t,n)&&Vt(e,n,t[n]);return e},Sr=(e,t)=>_r(e,xr(t));let xt;const Ze=Je(null);function Xt(e){return e.split("-").map((t,n,i)=>i.slice(0,n+1).join("-")).reverse()}function et(e,t=Se().fallbackLocale){const n=Xt(e);return t?[...new Set([...n,...Xt(t)])]:n}function pe(){return xt!=null?xt:void 0}Ze.subscribe(e=>{xt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Br=e=>{if(e&&pr(e)&&_t(e)){const{loadingDelay:t}=Se();let n;return typeof window!="undefined"&&pe()!=null&&t?n=window.setTimeout(()=>ht.set(!0),t):ht.set(!0),wn(e).then(()=>{Ze.set(e)}).finally(()=>{clearTimeout(n),ht.set(!1)})}return Ze.set(e)},Le=Sr(Pr({},Ze),{set:Br}),tt=e=>{const t=Object.create(null);return i=>{const r=JSON.stringify(i);return r in t?t[r]:t[r]=e(i)}};var Lr=Object.defineProperty,Ye=Object.getOwnPropertySymbols,Tn=Object.prototype.hasOwnProperty,Pn=Object.prototype.propertyIsEnumerable,qt=(e,t,n)=>t in e?Lr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Pt=(e,t)=>{for(var n in t||(t={}))Tn.call(t,n)&&qt(e,n,t[n]);if(Ye)for(var n of Ye(t))Pn.call(t,n)&&qt(e,n,t[n]);return e},Ae=(e,t)=>{var n={};for(var i in e)Tn.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&Ye)for(var i of Ye(e))t.indexOf(i)<0&&Pn.call(e,i)&&(n[i]=e[i]);return n};const Ue=(e,t)=>{const{formats:n}=Se();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ar=tt(e=>{var t=e,{locale:n,format:i}=t,r=Ae(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(r=Ue("number",i)),new Intl.NumberFormat(n,r)}),Ir=tt(e=>{var t=e,{locale:n,format:i}=t,r=Ae(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?r=Ue("date",i):Object.keys(r).length===0&&(r=Ue("date","short")),new Intl.DateTimeFormat(n,r)}),kr=tt(e=>{var t=e,{locale:n,format:i}=t,r=Ae(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?r=Ue("time",i):Object.keys(r).length===0&&(r=Ue("time","short")),new Intl.DateTimeFormat(n,r)}),Cr=(e={})=>{var t=e,{locale:n=pe()}=t,i=Ae(t,["locale"]);return Ar(Pt({locale:n},i))},Hr=(e={})=>{var t=e,{locale:n=pe()}=t,i=Ae(t,["locale"]);return Ir(Pt({locale:n},i))},Nr=(e={})=>{var t=e,{locale:n=pe()}=t,i=Ae(t,["locale"]);return kr(Pt({locale:n},i))},Or=tt((e,t=pe())=>new lr(e,t,Se().formats,{ignoreTag:Se().ignoreTag})),Mr=(e,t={})=>{var n,i,r,o;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:s,locale:u=pe(),default:l}=a;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=vn(e,u);if(!c)c=(o=(r=(i=(n=Se()).handleMissingMessage)==null?void 0:i.call(n,{locale:u,id:e,defaultValue:l}))!=null?r:l)!=null?o: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(!s)return c;let p=c;try{p=Or(c,u).format(s)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return p},Dr=(e,t)=>Nr(t).format(e),Rr=(e,t)=>Hr(t).format(e),Ur=(e,t)=>Cr(t).format(e),jr=(e,t=pe())=>vn(e,t),Gr=Be([Le,je],()=>Mr);Be([Le],()=>Dr);Be([Le],()=>Rr);Be([Le],()=>Ur);Be([Le,je],()=>jr);function Wt(e,t){_n(e,t)}function $r(e){Le.set(e)}const Zt={en:{loading:"Loading, please wait...",setLimit:"Set a limit",setLimitDescription:"In Germany, you are legally required to set a monthly deposit limit. Therefore, we ask you to confirm your existing limit or set a new one in order to enjoy playing without restrictions.",lugasInfo1:"Any questions? Information about",lugasInfo2:"LUGAS",keepCurrentLimit:"KEEP THE CURRENT LIMIT",keepCurrentLimitButton:"NEW LIMIT",applyButton:"APPLY",depositPeriod:"Monthly deposit limit",TCpart1:'By clicking "Keep the current limit" or "Apply" I confirm that I have read and accept the',TClink:"General Terms and Conditions",TCpart2:"Also note our",PPlink:"Privacy Policy",depositLimit:"Deposit Limit set",successful:"Successful!",successDescription:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kyc1Part1:"We were able to set your monthly deposit limit to",kyc1Part2:"In order to increase the limit to the desired amount, we ask you to provide us with the relevant information. This information can be submitted in the document upload.",kycButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",depositError:"Deposit Limit update error",errorDescription:"We were unable to set your limit at this time, due to a server error. Please try again later.",docsRequired:"Documents required!",kyc2:"For the selected limit, we require documents that show your financial situation. Please upload your last payslip as well as a current bank statement, that shows the account balance as well as that you received the salary payment."},de:{loading:"Lädt ...",setLimit:"Legen Sie ein Grenzwert fest",setLimitDescription:"In Deutschland müssen Sie gesetzlich ein monatliches Einlagenlimit festlegen.",lugasInfo1:"Fragen? Informationen zu",lugasInfo2:"LUGAS",keepCurrentLimit:"Aktuelles Limit beibehalten",keepCurrentLimitButton:"Neue Grenze",applyButton:"Anwenden",depositPeriod:"Monatliche Einzahlungslimit",TCpart1:'Durch Klicken auf "das aktuelle Grenzwert halten" oder "anwenden", bestätige ich, dass ich die',TClink:"Allgemeine Geschäftsbedingungen",TCpart2:"Beachten Sie auch unsere",PPlink:"Datenschutz-Bestimmungen",depositLimit:"Erfolgreich",successful:"Erfolgreich",successDescription:"Einzahlungslimit erfolgreich festgelegt. Sie können Ihre Grenzen jederzeit in den Kontoeinstellungen verwalten.",kyc1Part1:"Wir konnten Ihr monatliches Einzahlungslimit auf",kyc1Part2:"Um das Limit auf den gewünschten Betrag zu erhöhen, bitten wir, uns relevante Informationen zur Verfügung zu stellen. Diese Informationen können im Dokumenten-Upload eingereicht werden.",kycButton:"Dokumente hochladen",closeButton:"Schließen",depositError:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",errorDescription:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",docsRequired:"Documents required!",kyc2:"Für das gewählte Limit benötigen wir Dokumente, aus denen Ihre finanzielle Situation hervorgeht. Bitte laden Sie Ihre letzte Gehaltsabrechnung sowie einen aktuellen Kontoauszug, auf dem Kontostand sowie Gehaltseingang ersichtlich sind, hoch."},hr:{loading:"Učitavanje",setLimit:"Postavite ograničenje",setLimitDescription:"U Njemačkoj",lugasInfo1:"Ima li pitanja? Informacije o",lugasInfo2:"LUGAS",keepCurrentLimit:"ZADRŽITE TRENUTNO OGRANIČENJE",keepCurrentLimitButton:"NOVO OGRANIČENJE",applyButton:"PRIMJENI",depositPeriod:"Mjesečno ograničenje uplate",TCpart1:'Klikom na "Zadrži trenutno ograničenje" ili "Primijeni" potvrđujem da sam pročitao i prihvaćam',TClink:"Opći uvjeti poslovanja",TCpart2:"Također imajte na umu našu",PPlink:"Politiku privatnosti",depositLimit:"Postavljeno ograničenje uplate",successful:"Uspješno!",successDescription:"Ograničenje uplate je uspješno postavljeno. Svojim ograničenjima možete upravljati u bilo kojem trenutku u postavkama računa.",kyc1Part1:"Uspjeli smo postaviti vaše mjesečno ograničenje uplate na",kyc1Part2:"Kako bi povećali ograničenje na željeni iznos",kycButton:"UČITAJ DOKUMENTE",closeButton:"ZATVORI",depositError:"Pogreška ažuriranja ograničenja uplate",errorDescription:"Trenutačno nismo mogli postaviti vaše ograničenje",docsRequired:"Potrebni dokumenti!",kyc2:"Za odabrano ograničenje"},sl:{loading:"Nalaga...",setLimit:"Določi limit",setLimitDescription:"V Nemčiji je zakonsko predpisano, da določite mesečni vplačilni limit.",lugasInfo1:"Vprašanja? Informacije o",lugasInfo2:"LUGAS",keepCurrentLimit:"Ohranite obstoječi limit",keepCurrentLimitButton:"Novi limit",applyButton:"Uporabi",depositPeriod:"Mesečni vplačilni limit",TCpart1:"S klikom na „ohranite obstoječi limit“ ali „prevzem“ potrjujem, da sem prebral-a",TClink:"Splošna pravila in pogoji",TCpart2:"Preverite tudi na naš",PPlink:"Pravila o zasebnosti",depositLimit:"Uspešno",successful:"Uspešno",successDescription:"Vplačilni limit je bil uspešno postavljen. Limiti se lahko kadar koli prilagodijo v nastavitvah stavnega računa.",kyc1Part1:"Mesečni vplačilni limit smo lahko nastavili na",kyc1Part2:"Da bi povečali limit na želeni znesek, prosimo, da nam posredujete relevantne informacije. Te informacije lahko naložite pod prenos dokumentov.",kycButton:"Naložite dokumenteS",closeButton:"Zapri",depositError:"Nekaj ​​je šlo narobe. Prosim poskusite ponovno.",errorDescription:"Nekaj ​​je šlo narobe. Prosim poskusite ponovno.",docsRequired:"Documents required!",kyc2:"Za izbrani limit, potrebujemo dokumente, ki prikazujejo vašo ekonomsko stanje. Prosimo naložite vašo zadnjo plačilno listo in zadnji bančni izpisek, vključno s prikazom dobroimetja, ki prikazuje, da ste prejeli plačilo."},pl:{loading:"Ładowanie...",setLimit:"Ustaw limit",setLimitDescription:"W Niemczech istnieje prawny obowiązek ustalenia miesięcznego limitu wpłat.",lugasInfo1:"Jakieś pytania? Informacja o",lugasInfo2:"LUGAS",keepCurrentLimit:"Zachowaj obecny limit",keepCurrentLimitButton:"Nowy limit",applyButton:"Zastosuj",depositPeriod:"Miesięczny limit wpłat",TCpart1:'Klikając na "Zachowaj obecny limit" lub "Zastosuj", potwierdzam, że przeczytałem i akceptuję',TClink:"Ogólne warunki handlowe",TCpart2:"Zapoznaj się również z naszą",PPlink:"Polityka prywatności",depositLimit:"Zakończone powodzeniem",successful:"Zakończone powodzeniem",successDescription:"Limit wpłat ustawiony pomyślnie. Możesz zarządzać limitami w dowolnym momencie w ustawieniach konta.",kyc1Part1:"Udało nam się ustawić Twój miesięczny limit wpłat na",kyc1Part2:"Aby zwiększyć limit żądanej kwoty, prosimy o podanie nam odpowiednich informacji. Informacje te można przesłać w przesyłaniu dokumentu.",kycButton:"Wczytywanie dokumentów",closeButton:"zamknij",depositError:"Coś poszło nie tak. Proszę spróbuj ponownie.",errorDescription:"Coś poszło nie tak. Proszę spróbuj ponownie.",docsRequired:"Documents required!",kyc2:"Do wybranego limitu potrzebujemy dokumentów potwierdzających Państwa sytuację finansową. Prosimy o przesłanie ostatniego odcinka wypłaty oraz aktualnego wyciągu bankowego, na którym widnieje stan konta i przychodzące wynagrodzenie."},es:{loading:"Cargando...",setLimit:"Establece un límite",setLimitDescription:"En Alemania",lugasInfo1:"Alguna pregunta? Información sobre",lugasInfo2:"LUGAS",keepCurrentLimit:"MANTENER LÍMITE ACTUAL",keepCurrentLimitButton:"NUEVO LÍMITE",applyButton:"APLICAR",depositPeriod:"Límite Mensual de depósitos",TCpart1:'Dando clic en "Mantener límite actual" o "Aplicar" yo confirmo que he leido y aceptado los',TClink:"Términos y Condiciones Generales",TCpart2:"También note nuestra",PPlink:"Politica de Privacidad",depositLimit:"Límite de depósito establecido",successful:"Exitoso!",successDescription:"El límite de depósito se ha establecido con éxito. Puede administrar sus límites en cualquier momento en la confirguración de la cuenta.",kyc1Part1:"Pudimos estabelecer tu límite de deposito mensual en",kyc1Part2:"Para aumentar el límite a la cantidad deseada",kycButton:"SUBIR DOCUMENTOS / ADJUNTAR DOCUMENTOS",closeButton:"CERRAR",depositError:"Error en actualización de límite de depósito",errorDescription:"No pudimos actualizar tu límite en este momento.",docsRequired:"Documentos requeridos!",kyc2:"Para el límite seleccionado."},"pt-br":{Loading:"Carregando, por favor espere...",setLimit:"Definir limite",setLimitDescription:'Na Alemanha, por lei é obrigatório estabelecer um limite de depósito mensal, portanto",Pedimos que você confirme o limite existente ou defina um novo para aproveitar o jogo sem restrições.',lugasInfo1:"Dúvidas? Informação sobre",lugasInfo2:"LUGARES",keepCurrentLimit:"MANTENHA O LIMITE ATUAL",keepCurrentLimitButton:"NOVO LIMITE",applyButton:"APLICAR",depositPeriod:"LIMITE DE DEPÓSITO MENSAL",TCpart1:'Ao selecionar ""manter limite atual"" ou ""aplicar"", confirmo que aceitei o"',TClink:"Termos e Condições Gerais",TCpart2:'Por favor, leve também em consideração o nosso"',PPlink:"Política de privacidade",depositLimit:"Limite de depósito fixo",successful:"Operação bem-sucedida",successDescription:"O limite de depósito foi definido com sucesso. Você pode gerenciar seus limites a qualquer momento na seção Configurações da sua conta.",kyc1Part1:"Conseguimos definir seu limite de depósito mensal para",kyc1Part2:"Para aumentar o limite de depósito mensal,Pedimos que você compartilhe-nos informações relevantes. Essas informações podem ser enviadas na seção de upload de arquivos na página",kycButton:"FAZER UPLOAD DE ARQUIVOS",closeButton:"Data",depositError:"Erro de atualização do limite de depósito",errorDescription:"Não foi possível atualizar seu limite neste momento,devido a um erro no servidor. Tente mais tarde",docsRequired:"Documentos requeridos",kyc2:'Para o limite selecionado," Exigimos documentos que comprovem sua situação financeira. Envie seu recibo de pagamento mais recente, bem como um extrato bancário atual",mostrando o saldo da sua conta e o depósito do seu salário.'},"es-mx":{Loading:"Cargando, por favor espere...",setLimit:"Fijar límite",setLimitDescription:'En Alemania,"por ley se requiere fijar un límite de depósito mensual, por lo tanto", le pedimos confirme el límite existente o establezca uno nuevo para disfrutar el juego sin restricciones.',lugasInfo1:"¿Alguna pregunta? Información acerca de",lugasInfo2:"LUGAS",keepCurrentLimit:"MANTENER EL LÍMITE ACTUAL",keepCurrentLimitButton:"LÍMITE NUEVO",applyButton:"APLICAR",depositPeriod:"LÍMITE DE DEPÓSITO MENSUAL",TClink:"Términos y condiciones generales",TCpart2:"Por favor también tome en cuenta nuestra",PPlink:"Política de privacidad",depositLimit:"Límite de depósito fijado",successful:"Operación exitosa",successDescription:"El límite depósito se ha fijado exitosamente. Puede manejar sus límites en cualquier momento en la sección de Ajustes de su cuenta.",kyc1Part1:"Pudimos fijar su límite de depósito mensual a",kyc1Part2:"Para poder incrementar el límite de depósito mensual,le pedimos nos comparta la información relevante . Esta información puede ser enviada en la sección para subir archivos en la página",kycButton:"SUBIR ARCHIVOS",closeButton:"CERRAR",depositError:"Error de actualización de límite de depósito",errorDescription:"No pudimos actualizar su límite en este momento,debido a un error del servidor. Intente más tarde",docsRequired:"Documentos requeridos",kyc2:"Para el límite seleccionado, requerimos documentos que muestren su situación financiera. Por favor suba su último talón de pago al igual que un estado de cuenta bancario actual, que muestre el balance de su cuenta y el depósito de su salario."},tr:{loading:"Yükleniyor lütfen bekleyin...",setLimit:"Bir sınır belirleyin",setLimitDescription:"Almanya'da yasal olarak aylık bir para yatırma limiti belirlemeniz gerekmektedir. Bu nedenle kısıtlama olmadan oyun keyfini yaşayabilmeniz için mevcut limitinizi onaylamanızı veya yeni bir limit belirlemenizi rica ediyoruz.",lugasInfo1:"Sorusu olan? Hakkında bilgi",lugasInfo2:"LUGAS",keepCurrentLimit:"MEVCUT LİMİTİ TUTUN",keepCurrentLimitButton:"YENİ LİMİT",applyButton:"UYGULA",depositPeriod:"Aylık para yatırma limiti",TCpart1:"Mevcut limiti koru veya Uygula seçeneğini tıklayarak okuduğumu ve kabul ettiğimi onaylıyorum",TClink:"Genel Şartlar ve Koşullar",TCpart2:"Ayrıca şunu da not edin:",PPlink:"Gizlilik Politikası",depositLimit:"Para Yatırma Limiti belirlendi",successful:"Başarılı!",successDescription:"Para yatırma limiti başarıyla belirlendi. Limitlerinizi istediğiniz zaman hesap ayarlarından yönetebilirsiniz.",kyc1Part1:"Aylık para yatırma limitinizi şu şekilde ayarlayabildik:",kyc1Part2:"Limitin istenilen tutara yükseltilebilmesi için ilgili bilgileri tarafımıza iletmenizi rica ederiz. Bu bilgi belge yüklemede gönderilebilir.",kycButton:"BELGELERİ YÜKLE",closeButton:"KAPALI",depositError:"Para Yatırma Limiti güncelleme hatası",errorDescription:"Sunucu hatası nedeniyle şu anda sınırınızı belirleyemedik. Lütfen daha sonra tekrar deneyiniz.",docsRequired:"Gerekli belgeler!",kyc2:"Seçilen limit için mali durumunuzu gösteren belgelere ihtiyacımız var. Lütfen son maaş bordronuzu ve hesap bakiyenizi ve maaş ödemenizi aldığınızı gösteren güncel banka ekstrenizi yükleyin."},"en-us":{loading:"Loading, please wait...",setLimit:"Set a limit",setLimitDescription:"In Germany, you are legally required to set a monthly deposit limit. Therefore, we ask you to confirm your existing limit or set a new one in order to enjoy playing without restrictions.",lugasInfo1:"Any questions? Information about",lugasInfo2:"LUGAS",keepCurrentLimit:"KEEP THE CURRENT LIMIT",keepCurrentLimitButton:"NEW LIMIT",applyButton:"APPLY",depositPeriod:"Monthly deposit limit",TCpart1:'By clicking "Keep the current limit" or "Apply" I confirm that I have read and accept the',TClink:"General Terms and Conditions",TCpart2:"Also note our",PPlink:"Privacy Policy",depositLimit:"Deposit Limit set",successful:"Successful!",successDescription:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kyc1Part1:"We were able to set your monthly deposit limit to",kyc1Part2:"In order to increase the limit to the desired amount, we ask you to provide us with the relevant information. This information can be submitted in the document upload.",kycButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",depositError:"Deposit Limit update error",errorDescription:"We were unable to set your limit at this time, due to a server error. Please try again later.",docsRequired:"Documents required!",kyc2:"For the selected limit, we require documents that show your financial situation. Please upload your last payslip as well as a current bank statement, that shows the account balance as well as that you received the salary payment."}},Ee="__WIDGET_GLOBAL_STYLE_CACHE__";function zr(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function Fr(e,t){if(!e||!t)return;const n=new URL(t);fetch(n.href).then(i=>i.text()).then(i=>{const r=document.createElement("style");r.innerHTML=i,e&&e.appendChild(r)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function Vr(e,t,n,i=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!i)return n=Xr(e,t),n;window[Ee]||(window[Ee]={}),n=qr(e,t);const o=n.unsubscribe.bind(n),a=()=>{if(window[Ee][t]){const s=window[Ee][t];s.refCount>1?s.refCount=s.refCount-1:delete window[Ee][t]}o()};return n.unsubscribe=a,n}function Xr(e,t){const n=document.createElement("style");return window.emMessageBus.subscribe(t,i=>{e&&(n.innerHTML=i,e.appendChild(n))})}function qr(e,t){return window.emMessageBus.subscribe(t,n=>{var s;if(!e)return;const i=e.getRootNode(),r=window[Ee];let o=(s=r[t])==null?void 0:s.sheet;o?r[t].refCount=r[t].refCount+1:(o=new CSSStyleSheet,o.replaceSync(n),r[t]={sheet:o,refCount:1});const a=i.adoptedStyleSheets||[];a.includes(o)||(i.adoptedStyleSheets=[...a,o])})}function Wr(e){Nn(e,"svelte-1a4l86f",':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-popup-2{background:var(--emw--color-black, #000000);color:var(--emw--color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:rgb(122, 195, 23)}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.LinkButton{display:inline;padding:0;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));text-decoration:underline;background-color:rgba(0, 0, 0, 0)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:var(--emw--color-white, #FFFFFF);border:0;padding:0;margin-top:-10px;color:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed;background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B)}.Hidden{display:none}.Extended{transform:rotate(180deg)}')}function Zr(e){let t;function n(o,a){if(o[10]==="initial")return to;if(o[10]==="successful")return eo;if(o[10]==="KYC")return Kr;if(o[10]==="KYC2")return Qr;if(o[10]==="error")return Jr}let i=n(e),r=i&&i(e);return{c(){t=g("div"),r&&r.c(),h(t,"class","InitialWrapper")},m(o,a){x(o,t,a),r&&r.m(t,null)},p(o,a){i===(i=n(o))&&r?r.p(o,a):(r&&r.d(1),r=i&&i(o),r&&(r.c(),r.m(t,null)))},d(o){o&&E(t),r&&r.d()}}}function Yr(e){let t,n=e[12]("loading")+"",i;return{c(){t=g("p"),i=S(n)},m(r,o){x(r,t,o),f(t,i)},p(r,o){o[0]&4096&&n!==(n=r[12]("loading")+"")&&C(i,n)},d(r){r&&E(t)}}}function Jr(e){let t,n=e[12]("depositError")+"",i,r,o,a,s,u=e[12]("errorDescription")+"",l,c,p,m=e[12]("closeButton")+"",d,w,v;return{c(){t=g("p"),i=S(n),r=M(),o=g("div"),o.innerHTML='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve"><metadata>Svg Vector Icons : http://www.onlinewebfonts.com/icon </metadata><g><path d="M500,100.9c220,0,399.1,179,399.1,399.1S720.1,899.1,500,899.1c-220.1,0-399.1-179-399.1-399.1C100.9,279.9,279.9,100.9,500,100.9 M500,10C229.4,10,10,229.4,10,500c0,270.6,219.4,490,490,490c270.6,0,490-219.4,490-490C990,229.4,770.6,10,500,10L500,10z"></path><path d="M658.7,734.5L272.2,348l75-75l386.4,386.4L658.7,734.5z"></path><path d="M347.2,734.5l-75-75L658.7,273l75,75L347.2,734.5z"></path></g></svg>',a=M(),s=g("p"),l=S(u),c=M(),p=g("button"),d=S(m),h(t,"class","Title"),h(o,"class","ResultIconWrapper"),h(s,"class","Description CenterAlign"),h(p,"class","ConfirmButton SecondaryButtonStyle")},m(y,T){x(y,t,T),f(t,i),x(y,r,T),x(y,o,T),x(y,a,T),x(y,s,T),f(s,l),x(y,c,T),x(y,p,T),f(p,d),w||(v=W(p,"click",e[37]),w=!0)},p(y,T){T[0]&4096&&n!==(n=y[12]("depositError")+"")&&C(i,n),T[0]&4096&&u!==(u=y[12]("errorDescription")+"")&&C(l,u),T[0]&4096&&m!==(m=y[12]("closeButton")+"")&&C(d,m)},d(y){y&&(E(t),E(r),E(o),E(a),E(s),E(c),E(p)),w=!1,v()}}}function Qr(e){let t,n=e[12]("docsRequired")+"",i,r,o,a,s,u,l,c,p,m=e[12]("docsRequired")+"",d,w,v,y=e[12]("kyc2")+"",T,B,I,D=e[12]("kycButton")+"",L,H,G,N=e[12]("closeButton")+"",U,$,J;return{c(){t=g("p"),i=S(n),r=M(),o=g("div"),a=g("div"),s=Z("svg"),u=Z("g"),l=Z("path"),c=M(),p=g("p"),d=S(m),w=M(),v=g("p"),T=S(y),B=M(),I=g("button"),L=S(D),H=M(),G=g("button"),U=S(N),h(t,"class","Title"),h(l,"id","XMLID_6_"),h(l,"d",`M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
4
+ c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
5
+ c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
6
+ h256.5v-82.1H429v366.5H429.9z`),h(u,"id","XMLID_1_"),h(s,"version","1.1"),h(s,"id","Layer_1"),h(s,"xmlns","http://www.w3.org/2000/svg"),h(s,"xmlns:xlink","http://www.w3.org/1999/xlink"),h(s,"x","0px"),h(s,"y","0px"),h(s,"viewBox","0 0 512 512"),Oe(s,"enable-background","new 0 0 512 512"),h(s,"xml:space","preserve"),h(a,"class","ResultIconWrapper"),h(v,"class","Description CenterAlign"),h(o,"class","DescriptionWrapper"),h(I,"class","KycButton PrimaryButtonStyle"),h(G,"class","ConfirmButton SecondaryButtonStyle")},m(_,R){x(_,t,R),f(t,i),x(_,r,R),x(_,o,R),f(o,a),f(a,s),f(s,u),f(u,l),f(a,c),f(a,p),f(p,d),f(o,w),f(o,v),f(v,T),x(_,B,R),x(_,I,R),f(I,L),x(_,H,R),x(_,G,R),f(G,U),$||(J=[W(I,"click",e[35]),W(G,"click",e[36])],$=!0)},p(_,R){R[0]&4096&&n!==(n=_[12]("docsRequired")+"")&&C(i,n),R[0]&4096&&m!==(m=_[12]("docsRequired")+"")&&C(d,m),R[0]&4096&&y!==(y=_[12]("kyc2")+"")&&C(T,y),R[0]&4096&&D!==(D=_[12]("kycButton")+"")&&C(L,D),R[0]&4096&&N!==(N=_[12]("closeButton")+"")&&C(U,N)},d(_){_&&(E(t),E(r),E(o),E(B),E(I),E(H),E(G)),$=!1,ce(J)}}}function Kr(e){let t,n=e[12]("depositLimit")+"",i,r,o,a,s,u,l,c,p,m=e[12]("successful")+"",d,w,v,y=e[12]("kyc1Part1")+"",T,B,I,D,L=e[12]("kyc1Part2")+"",H,G,N,U=e[12]("kycButton")+"",$,J,_,R=e[12]("closeButton")+"",ne,ie,ae;return{c(){t=g("p"),i=S(n),r=M(),o=g("div"),a=g("div"),s=Z("svg"),u=Z("g"),l=Z("path"),c=M(),p=g("p"),d=S(m),w=M(),v=g("p"),T=S(y),B=S(e[11]),I=M(),D=S(e[0]),H=S(L),G=M(),N=g("button"),$=S(U),J=M(),_=g("button"),ne=S(R),h(t,"class","Title"),h(l,"id","XMLID_6_"),h(l,"d",`M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
7
+ c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
8
+ c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
9
+ h256.5v-82.1H429v366.5H429.9z`),h(u,"id","XMLID_1_"),h(s,"version","1.1"),h(s,"id","Layer_1"),h(s,"xmlns","http://www.w3.org/2000/svg"),h(s,"xmlns:xlink","http://www.w3.org/1999/xlink"),h(s,"x","0px"),h(s,"y","0px"),h(s,"viewBox","0 0 512 512"),Oe(s,"enable-background","new 0 0 512 512"),h(s,"xml:space","preserve"),h(a,"class","ResultIconWrapper"),h(v,"class","Description CenterAlign"),h(o,"class","DescriptionWrapper"),h(N,"class","KycButton PrimaryButtonStyle"),h(_,"class","ConfirmButton SecondaryButtonStyle")},m(F,j){x(F,t,j),f(t,i),x(F,r,j),x(F,o,j),f(o,a),f(a,s),f(s,u),f(u,l),f(a,c),f(a,p),f(p,d),f(o,w),f(o,v),f(v,T),f(v,B),f(v,I),f(v,D),f(v,H),x(F,G,j),x(F,N,j),f(N,$),x(F,J,j),x(F,_,j),f(_,ne),ie||(ae=[W(N,"click",e[33]),W(_,"click",e[34])],ie=!0)},p(F,j){j[0]&4096&&n!==(n=F[12]("depositLimit")+"")&&C(i,n),j[0]&4096&&m!==(m=F[12]("successful")+"")&&C(d,m),j[0]&4096&&y!==(y=F[12]("kyc1Part1")+"")&&C(T,y),j[0]&2048&&C(B,F[11]),j[0]&1&&C(D,F[0]),j[0]&4096&&L!==(L=F[12]("kyc1Part2")+"")&&C(H,L),j[0]&4096&&U!==(U=F[12]("kycButton")+"")&&C($,U),j[0]&4096&&R!==(R=F[12]("closeButton")+"")&&C(ne,R)},d(F){F&&(E(t),E(r),E(o),E(G),E(N),E(J),E(_)),ie=!1,ce(ae)}}}function eo(e){let t,n=e[12]("depositLimit")+"",i,r,o,a,s,u,l,c,p,m,d,w,v=e[12]("successful")+"",y,T,B,I=e[12]("successDescription")+"",D,L,H,G,N;return{c(){t=g("p"),i=S(n),r=M(),o=g("div"),a=g("div"),s=Z("svg"),u=Z("defs"),l=Z("style"),c=S(`.fil0 {fill:black;fill-rule:nonzero}
10
+ `),p=Z("g"),m=Z("polygon"),d=M(),w=g("p"),y=S(v),T=M(),B=g("p"),D=S(I),L=M(),H=g("button"),H.textContent="OK",h(t,"class","Title"),h(l,"type","text/css"),h(m,"class","fil0"),h(m,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),h(s,"xmlns","http://www.w3.org/2000/svg"),h(s,"xmlns:xlink","http://www.w3.org/1999/xlink"),h(s,"xml:space","preserve"),h(s,"version","1.1"),Oe(s,"shape-rendering","geometricPrecision"),Oe(s,"text-rendering","geometricPrecision"),Oe(s,"image-rendering","optimizeQuality"),h(s,"viewBox","0 0 90 69"),h(s,"x","0px"),h(s,"y","0px"),h(s,"fill-rule","evenodd"),h(s,"clip-rule","evenodd"),h(a,"class","ResultIconWrapper"),h(B,"class","Description CenterAlign"),h(o,"class","DescriptionWrapper"),h(H,"class","ConfirmButton PrimaryButtonStyle")},m(U,$){x(U,t,$),f(t,i),x(U,r,$),x(U,o,$),f(o,a),f(a,s),f(s,u),f(u,l),f(l,c),f(s,p),f(p,m),f(a,d),f(a,w),f(w,y),f(o,T),f(o,B),f(B,D),x(U,L,$),x(U,H,$),G||(N=W(H,"click",e[32]),G=!0)},p(U,$){$[0]&4096&&n!==(n=U[12]("depositLimit")+"")&&C(i,n),$[0]&4096&&v!==(v=U[12]("successful")+"")&&C(y,v),$[0]&4096&&I!==(I=U[12]("successDescription")+"")&&C(D,I)},d(U){U&&(E(t),E(r),E(o),E(L),E(H)),G=!1,N()}}}function to(e){let t,n=e[12]("setLimit")+"",i,r,o,a=e[12]("setLimitDescription")+"",s,u,l,c=e[12]("lugasInfo1")+"",p,m,d,w=e[12]("lugasInfo2")+"",v,y,T,B=e[12]("keepCurrentLimit")+"",I,D,L,H=e[12]("keepCurrentLimitButton")+"",G,N,U,$,J,_,R,ne,ie=e[12]("depositPeriod")+"",ae,F,j,K,Ge,re,me=e[12]("applyButton")+"",Ie,ke,Y,de=e[12]("TCpart1")+"",Ce,he,be=e[12]("TClink")+"",He,$e,b=e[12]("TCpart2")+"",X,le,fe,oe=e[12]("PPlink")+"",nt,St,it,Bt;return{c(){t=g("p"),i=S(n),r=M(),o=g("p"),s=S(a),u=M(),l=g("p"),p=S(c),m=M(),d=g("button"),v=S(w),y=M(),T=g("button"),I=S(B),D=M(),L=g("button"),G=S(H),N=Z("svg"),U=Z("path"),$=Z("path"),J=M(),_=g("div"),R=g("div"),ne=g("span"),ae=S(ie),F=M(),j=g("div"),K=g("input"),Ge=M(),re=g("button"),Ie=S(me),ke=M(),Y=g("p"),Ce=S(de),he=g("button"),He=S(be),$e=M(),X=S(b),le=M(),fe=g("button"),nt=S(oe),St=S("."),h(t,"class","Title"),h(o,"class","Description LeftAlign"),h(d,"class","LinkButton"),h(l,"class","AdditionalInformation"),h(T,"class","KeepCurrentButton PrimaryButtonStyle"),h(U,"d","M10.5 15l7.5 7.5 7.5-7.5z"),h($,"d","M0 0h36v36h-36z"),h($,"fill","none"),h(N,"class","ExpandArrow"),h(N,"xmlns","http://www.w3.org/2000/svg"),h(N,"width","36"),h(N,"height","36"),h(N,"viewBox","0 0 36 36"),h(N,"fill","#999"),ze(N,"Extended",e[5]),h(L,"class","ExpandButton"),h(ne,"class","DepositPeriodText"),h(R,"class","DepositTextSection"),h(K,"type","number"),h(K,"class","DepositInput"),h(re,"type","submit"),h(re,"class","SubmitDepositButton PrimaryButtonStyle"),re.disabled=!0,h(j,"class","DepositInputSection"),h(_,"class","SetLimitSection"),ze(_,"Hidden",e[4]),h(he,"class","LinkButton"),h(fe,"class","LinkButton"),h(Y,"class","TermsConditions")},m(k,O){x(k,t,O),f(t,i),x(k,r,O),x(k,o,O),f(o,s),x(k,u,O),x(k,l,O),f(l,p),f(l,m),f(l,d),f(d,v),x(k,y,O),x(k,T,O),f(T,I),x(k,D,O),x(k,L,O),f(L,G),f(L,N),f(N,U),f(N,$),e[26](N),x(k,J,O),x(k,_,O),f(_,R),f(R,ne),f(ne,ae),f(_,F),f(_,j),f(j,K),Ht(K,e[6]),f(j,Ge),f(j,re),f(re,Ie),e[28](re),x(k,ke,O),x(k,Y,O),f(Y,Ce),f(Y,he),f(he,He),f(Y,$e),f(Y,X),f(Y,le),f(Y,fe),f(fe,nt),f(Y,St),it||(Bt=[W(d,"click",e[24]),W(T,"click",e[25]),W(L,"click",e[13]),W(K,"input",e[27]),W(K,"keyup",e[14]),W(re,"click",e[29]),W(he,"click",e[30]),W(fe,"click",e[31])],it=!0)},p(k,O){O[0]&4096&&n!==(n=k[12]("setLimit")+"")&&C(i,n),O[0]&4096&&a!==(a=k[12]("setLimitDescription")+"")&&C(s,a),O[0]&4096&&c!==(c=k[12]("lugasInfo1")+"")&&C(p,c),O[0]&4096&&w!==(w=k[12]("lugasInfo2")+"")&&C(v,w),O[0]&4096&&B!==(B=k[12]("keepCurrentLimit")+"")&&C(I,B),O[0]&4096&&H!==(H=k[12]("keepCurrentLimitButton")+"")&&C(G,H),O[0]&32&&ze(N,"Extended",k[5]),O[0]&4096&&ie!==(ie=k[12]("depositPeriod")+"")&&C(ae,ie),O[0]&64&&Kt(K.value)!==k[6]&&Ht(K,k[6]),O[0]&4096&&me!==(me=k[12]("applyButton")+"")&&C(Ie,me),O[0]&16&&ze(_,"Hidden",k[4]),O[0]&4096&&de!==(de=k[12]("TCpart1")+"")&&C(Ce,de),O[0]&4096&&be!==(be=k[12]("TClink")+"")&&C(He,be),O[0]&4096&&b!==(b=k[12]("TCpart2")+"")&&C(X,b),O[0]&4096&&oe!==(oe=k[12]("PPlink")+"")&&C(nt,oe)},d(k){k&&(E(t),E(r),E(o),E(u),E(l),E(y),E(T),E(D),E(L),E(J),E(_),E(ke),E(Y)),e[26](null),e[28](null),it=!1,ce(Bt)}}}function no(e){let t,n,i,r;function o(u,l){if(u[7])return Yr;if(u[1])return Zr}let a=o(e),s=a&&a(e);return{c(){t=g("div"),n=g("div"),i=g("div"),r=g("div"),s&&s.c(),h(r,"class","ModalContainer"),h(i,"class","Overlay"),h(n,"class","player-account-gaming-limits-popup-2")},m(u,l){x(u,t,l),f(t,n),f(n,i),f(i,r),s&&s.m(r,null),e[38](n),e[39](t)},p(u,l){a===(a=o(u))&&s?s.p(u,l):(s&&s.d(1),s=a&&a(u),s&&(s.c(),s.m(r,null)))},i:te,o:te,d(u){u&&E(t),s&&s.d(),e[38](null),e[39](null)}}}function io(e,t,n){let i;Hn(e,Gr,b=>n(12,i=b));let{userid:r=""}=t,{session:o=""}=t,{endpoint:a=""}=t,{currency:s=""}=t,{lang:u=""}=t,{translationurl:l=""}=t,{clientstyling:c=""}=t,{clientstylingurl:p=""}=t,{mbsource:m}=t,d,w,v,y=!0,T=!1,B,I=!1,D,L,H="initial",G;const N=()=>{fetch(l).then(X=>X.json()).then(X=>{Object.keys(X).forEach(le=>{Wt(le,X[le])})}).catch(X=>{console.log(X)})};Object.keys(Zt).forEach(b=>{Wt(b,Zt[b])});const U=()=>{n(5,T=!T),n(4,y=!y)},$=()=>{L.parentNode.removeChild(L)},J=()=>{B>999999999999999&&n(6,B=999999999999999);const X=B-Math.floor(B)===0;B>0&&X?D.removeAttribute("disabled"):D.setAttribute("disabled","true")},_=b=>{switch(window.postMessage({type:b},window.location.href),b){case"closePopup":case"uploadDocuments":$();break}},R=b=>{const X=new URL(`/v1/player/${r}/limit/lugas`,a);let le={};n(7,I=!0),le=b==="custom"?{amount:B}:{};let fe={method:"POST",headers:{"X-SessionID":o,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(le)};fetch(X.href,fe).then(oe=>oe.json()).then(oe=>{ne(oe)}).catch(oe=>{console.log(oe)}).finally(()=>{n(7,I=!1)})},ne=b=>{if(b.hasOwnProperty("kycNeeded"))switch(b.popup){case 1:n(10,H="KYC"),n(11,G=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(b.operatorDepositLimitAmount));break;case 2:n(10,H="successful");break;case 3:n(10,H="KYC2");break}else n(10,H="error")},ie=()=>{$r(u)};jn(()=>()=>{});const ae=()=>_("lugasInformation"),F=()=>R("default");function j(b){_e[b?"unshift":"push"](()=>{v=b,n(3,v)})}function K(){B=Kt(this.value),n(6,B)}function Ge(b){_e[b?"unshift":"push"](()=>{D=b,n(8,D)})}const re=()=>R("custom"),me=()=>_("termsConditions"),Ie=()=>_("privacyPolicy"),ke=()=>_("closePopup"),Y=()=>_("uploadDocuments"),de=()=>_("closePopup"),Ce=()=>_("uploadDocuments"),he=()=>_("closePopup"),be=()=>_("closePopup");function He(b){_e[b?"unshift":"push"](()=>{L=b,n(9,L)})}function $e(b){_e[b?"unshift":"push"](()=>{d=b,n(2,d)})}return e.$$set=b=>{"userid"in b&&n(17,r=b.userid),"session"in b&&n(18,o=b.session),"endpoint"in b&&n(19,a=b.endpoint),"currency"in b&&n(0,s=b.currency),"lang"in b&&n(1,u=b.lang),"translationurl"in b&&n(20,l=b.translationurl),"clientstyling"in b&&n(21,c=b.clientstyling),"clientstylingurl"in b&&n(22,p=b.clientstylingurl),"mbsource"in b&&n(23,m=b.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&2&&u&&ie(),e.$$.dirty[0]&2097156&&c&&d&&zr(d,c),e.$$.dirty[0]&4194308&&p&&d&&Fr(d,p),e.$$.dirty[0]&8388612&&m&&d&&Vr(d,`${m}.Style`,w),e.$$.dirty[0]&1048576&&l&&N()},[s,u,d,v,y,T,B,I,D,L,H,G,i,U,J,_,R,r,o,a,l,c,p,m,ae,F,j,K,Ge,re,me,Ie,ke,Y,de,Ce,he,be,He,$e]}class Sn extends Qn{constructor(t){super(),Yn(this,t,io,no,Jt,{userid:17,session:18,endpoint:19,currency:0,lang:1,translationurl:20,clientstyling:21,clientstylingurl:22,mbsource:23},Wr,[-1,-1])}get userid(){return this.$$.ctx[17]}set userid(t){this.$$set({userid:t}),ee()}get session(){return this.$$.ctx[18]}set session(t){this.$$set({session:t}),ee()}get endpoint(){return this.$$.ctx[19]}set endpoint(t){this.$$set({endpoint:t}),ee()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),ee()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),ee()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),ee()}get clientstyling(){return this.$$.ctx[21]}set clientstyling(t){this.$$set({clientstyling:t}),ee()}get clientstylingurl(){return this.$$.ctx[22]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),ee()}get mbsource(){return this.$$.ctx[23]}set mbsource(t){this.$$set({mbsource:t}),ee()}}Jn(Sn,{userid:{},session:{},endpoint:{},currency:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=Sn;