@everymatrix/player-account-gaming-limits-page-2-gmcore 1.24.7 → 1.26.0

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.
@@ -1,2 +1,2 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function r(){return Object.create(null)}function n(e){e.forEach(t)}function i(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function s(t,...r){if(null==t)return e;const n=t.subscribe(...r);return n.unsubscribe?()=>n.unsubscribe():n}const a="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function l(e,t){e.appendChild(t)}function u(e,t,r){e.insertBefore(t,r||null)}function c(e){e.parentNode&&e.parentNode.removeChild(e)}function h(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function p(e){return document.createElement(e)}function m(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function f(e){return document.createTextNode(e)}function d(){return f(" ")}function y(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function g(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function b(e){return""===e?null:+e}function v(e,t){t=""+t,e.data!==t&&(e.data=t)}function E(e,t){e.value=null==t?"":t}function T(e,t,r,n){null==r?e.style.removeProperty(t):e.style.setProperty(t,r,n?"important":"")}function w(e,t,r){for(let r=0;r<e.options.length;r+=1){const n=e.options[r];if(n.__value===t)return void(n.selected=!0)}r&&void 0===t||(e.selectedIndex=-1)}function L(e){const t=e.querySelector(":checked");return t&&t.__value}function _(e){const t={};for(const r of e)t[r.name]=r.value;return t}let A;function S(e){A=e}const P=[],B=[];let H=[];const O=[],N=Promise.resolve();let I=!1;function x(e){H.push(e)}const C=new Set;let D=0;function M(){if(0!==D)return;const e=A;do{try{for(;D<P.length;){const e=P[D];D++,S(e),U(e.$$)}}catch(e){throw P.length=0,D=0,e}for(S(null),P.length=0,D=0;B.length;)B.pop()();for(let e=0;e<H.length;e+=1){const t=H[e];C.has(t)||(C.add(t),t())}H.length=0}while(P.length);for(;O.length;)O.pop()();I=!1,C.clear(),S(e)}function U(e){if(null!==e.fragment){e.update(),n(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(x)}}const R=new Set;function k(e,t){const r=e.$$;null!==r.fragment&&(!function(e){const t=[],r=[];H.forEach((n=>-1===e.indexOf(n)?t.push(n):r.push(n))),r.forEach((e=>e())),H=t}(r.after_update),n(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function j(e,t){-1===e.$$.dirty[0]&&(P.push(e),I||(I=!0,N.then(M)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function $(o,s,a,l,u,h,p,m=[-1]){const f=A;S(o);const d=o.$$={fragment:null,ctx:[],props:h,update:e,not_equal:u,bound:r(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(f?f.$$.context:[])),callbacks:r(),dirty:m,skip_bound:!1,root:s.target||f.$$.root};p&&p(d.root);let y=!1;if(d.ctx=a?a(o,s.props||{},((e,t,...r)=>{const n=r.length?r[0]:t;return d.ctx&&u(d.ctx[e],d.ctx[e]=n)&&(!d.skip_bound&&d.bound[e]&&d.bound[e](n),y&&j(o,e)),t})):[],d.update(),y=!0,n(d.before_update),d.fragment=!!l&&l(d.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);d.fragment&&d.fragment.l(e),e.forEach(c)}else d.fragment&&d.fragment.c();s.intro&&((g=o.$$.fragment)&&g.i&&(R.delete(g),g.i(b))),function(e,r,o,s){const{fragment:a,after_update:l}=e.$$;a&&a.m(r,o),s||x((()=>{const r=e.$$.on_mount.map(t).filter(i);e.$$.on_destroy?e.$$.on_destroy.push(...r):n(r),e.$$.on_mount=[]})),l.forEach(x)}(o,s.target,s.anchor,s.customElement),M()}var g,b;S(f)}let F;"function"==typeof HTMLElement&&(F=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){n(this.$$.on_disconnect)}$destroy(){k(this,1),this.$destroy=e}$on(t,r){if(!i(r))return e;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const e=n.indexOf(r);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});const G={deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",periods:["Daily","Weekly","Monthly"]},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",periods:["Daily","Weekly","Monthly"]},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",periods:["Monthly"]},stake:{title:"Stake Limit",value:"stake",callValue:"stakeLimit",periods:["Monthly"]}},z=[];function V(t,r=e){let n;const i=new Set;function s(e){if(o(t,e)&&(t=e,n)){const e=!z.length;for(const e of i)e[1](),z.push(e,t);if(e){for(let e=0;e<z.length;e+=2)z[e][0](z[e+1]);z.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const l=[o,a];return i.add(l),1===i.size&&(n=r(s)||e),o(t),()=>{i.delete(l),0===i.size&&n&&(n(),n=null)}}}}function W(t,r,o){const a=!Array.isArray(t),l=a?[t]:t,u=r.length<2;return c=t=>{let o=!1;const c=[];let h=0,p=e;const m=()=>{if(h)return;p();const n=r(a?c[0]:c,t);u?t(n):p=i(n)?n:e},f=l.map(((e,t)=>s(e,(e=>{c[t]=e,h&=~(1<<t),o&&m()}),(()=>{h|=1<<t}))));return o=!0,m(),function(){n(f),p(),o=!1}},{subscribe:V(o,c).subscribe};var c}var X=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===K}(e)}(e)};var K="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Y(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ee((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function Z(e,t,r){return e.concat(t).map((function(e){return Y(e,r)}))}function q(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function J(e,t){try{return t in e}catch(e){return!1}}function Q(e,t,r){var n={};return r.isMergeableObject(e)&&q(e).forEach((function(t){n[t]=Y(e[t],r)})),q(t).forEach((function(i){(function(e,t){return J(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(J(e,i)&&r.isMergeableObject(t[i])?n[i]=function(e,t){if(!t.customMerge)return ee;var r=t.customMerge(e);return"function"==typeof r?r:ee}(i,r)(e[i],t[i],r):n[i]=Y(t[i],r))})),n}function ee(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||Z,r.isMergeableObject=r.isMergeableObject||X,r.cloneUnlessOtherwiseSpecified=Y;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):Q(e,t,r):Y(t,r)}ee.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return ee(e,r,t)}),{})};var te=ee,re=function(e,t){return re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},re(e,t)};function ne(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}re(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var ie,oe,se,ae=function(){return ae=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ae.apply(this,arguments)};function le(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function ue(e){return e.type===oe.literal}function ce(e){return e.type===oe.argument}function he(e){return e.type===oe.number}function pe(e){return e.type===oe.date}function me(e){return e.type===oe.time}function fe(e){return e.type===oe.select}function de(e){return e.type===oe.plural}function ye(e){return e.type===oe.pound}function ge(e){return e.type===oe.tag}function be(e){return!(!e||"object"!=typeof e||e.type!==se.number)}function ve(e){return!(!e||"object"!=typeof e||e.type!==se.dateTime)}"function"==typeof SuppressedError&&SuppressedError,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"}(ie||(ie={})),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"}(oe||(oe={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(se||(se={}));var Ee=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Te=/(?:[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 we(e){var t={};return e.replace(Te,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"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=4===r?"short":5===r?"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 Le=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var _e=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ae=/^(@+)?(\+|#+)?[rs]?$/g,Se=/(\*)(0+)|(#+)(0+)|(0+)/g,Pe=/^(0+)$/;function Be(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Ae,(function(e,r,n){return"string"!=typeof n?(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+("string"==typeof n?n.length:0)),""})),t}function He(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 Oe(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Pe.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ne(e){var t=He(e);return t||{}}function Ie(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.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=i.options[0].replace(/^(.*?)-/,"");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=ae(ae(ae({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return ae(ae({},e),Ne(t))}),{}));continue;case"engineering":t=ae(ae(ae({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return ae(ae({},e),Ne(t))}),{}));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(i.options[0]);continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Se,(function(e,r,n,i,o,s){if(r)t.minimumIntegerDigits=n.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(Pe.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(_e.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(_e,(function(e,r,n,i,o,s){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""}));var o=i.options[0];"w"===o?t=ae(ae({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=ae(ae({},t),Be(o)))}else if(Ae.test(i.stem))t=ae(ae({},t),Be(i.stem));else{var s=He(i.stem);s&&(t=ae(ae({},t),s));var a=Oe(i.stem);a&&(t=ae(ae({},t),a))}}return t}var xe,Ce={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function De(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r,n=e.language;return"root"!==n&&(r=e.maximize().region),(Ce[r||""]||Ce[n||""]||Ce["".concat(n,"-001")]||Ce["001"])[0]}var Me=new RegExp("^".concat(Ee.source,"*")),Ue=new RegExp("".concat(Ee.source,"*$"));function Re(e,t){return{start:e,end:t}}var ke=!!String.prototype.startsWith,je=!!String.fromCodePoint,$e=!!Object.fromEntries,Fe=!!String.prototype.codePointAt,Ge=!!String.prototype.trimStart,ze=!!String.prototype.trimEnd,Ve=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},We=!0;try{We="a"===(null===(xe=et("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===xe?void 0:xe[0])}catch(e){We=!1}var Xe,Ke=ke?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Ye=je?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",i=e.length,o=0;i>o;){if((r=e[o++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Ze=$e?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r],o=i[0],s=i[1];t[o]=s}return t},qe=Fe?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||t>=r)){var n,i=e.charCodeAt(t);return i<55296||i>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?i:n-56320+(i-55296<<10)+65536}},Je=Ge?function(e){return e.trimStart()}:function(e){return e.replace(Me,"")},Qe=ze?function(e){return e.trimEnd()}:function(e){return e.replace(Ue,"")};function et(e,t){return new RegExp(e,t)}if(We){var tt=et("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Xe=function(e,t){var r;return tt.lastIndex=t,null!==(r=tt.exec(e)[1])&&void 0!==r?r:""}}else Xe=function(e,t){for(var r=[];;){var n=qe(e,t);if(void 0===n||it(n)||ot(n))break;r.push(n),t+=n>=65536?2:1}return Ye.apply(void 0,r)};var rt=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i=this.char();if(123===i){if((o=this.parseArgument(e,r)).err)return o;n.push(o.val)}else{if(125===i&&e>0)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(ie.UNMATCHED_CLOSING_TAG,Re(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&nt(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{var s=this.clonePosition();this.bump(),n.push({type:oe.pound,location:Re(s,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:oe.literal,value:"<".concat(n,"/>"),location:Re(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!nt(this.char()))return this.error(ie.INVALID_TAG,Re(s,this.clonePosition()));var a=this.clonePosition();return n!==this.parseTagName()?this.error(ie.UNMATCHED_CLOSING_TAG,Re(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:oe.tag,value:n,children:o,location:Re(r,this.clonePosition())},err:null}:this.error(ie.INVALID_TAG,Re(s,this.clonePosition())))}return this.error(ie.UNCLOSED_TAG,Re(r,this.clonePosition()))}return this.error(ie.INVALID_TAG,Re(r,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||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);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{var o=this.tryParseUnquoted(e,t);if(o)n+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;n+=s}}}var a=Re(r,this.clonePosition());return{val:{type:oe.literal,value:n,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(nt(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return Ye.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),Ye(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ie.EXPECT_ARGUMENT_CLOSING_BRACE,Re(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(ie.EMPTY_ARGUMENT,Re(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(ie.MALFORMED_ARGUMENT,Re(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ie.EXPECT_ARGUMENT_CLOSING_BRACE,Re(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:oe.argument,value:n,location:Re(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ie.EXPECT_ARGUMENT_CLOSING_BRACE,Re(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(ie.MALFORMED_ARGUMENT,Re(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Xe(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:Re(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(ie.EXPECT_ARGUMENT_TYPE,Re(o,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((g=this.parseSimpleArgStyleIfPossible()).err)return g;if(0===(m=Qe(g.val)).length)return this.error(ie.EXPECT_ARGUMENT_STYLE,Re(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:Re(u,this.clonePosition())}}if((b=this.tryParseArgumentClose(n)).err)return b;var c=Re(n,this.clonePosition());if(l&&Ke(null==l?void 0:l.style,"::",0)){var h=Je(l.style.slice(2));if("number"===s)return(g=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?g:{val:{type:oe.number,value:r,location:c,style:g.val},err:null};if(0===h.length)return this.error(ie.EXPECT_DATE_TIME_SKELETON,c);var p=h;this.locale&&(p=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if("j"===i){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=De(t);for("H"!=l&&"k"!=l||(a=0);a-- >0;)r+="a";for(;s-- >0;)r=l+r}else r+="J"===i?"H":i}return r}(h,this.locale));var m={type:se.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?we(p):{}};return{val:{type:"date"===s?oe.date:oe.time,value:r,location:c,style:m},err:null}}return{val:{type:"number"===s?oe.number:"date"===s?oe.date:oe.time,value:r,location:c,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ie.EXPECT_SELECT_ARGUMENT_OPTIONS,Re(f,ae({},f)));this.bumpSpace();var d=this.parseIdentifierIfPossible(),y=0;if("select"!==s&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(ie.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Re(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(ie.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ie.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),d=this.parseIdentifierIfPossible(),y=g.val}var b,v=this.tryParsePluralOrSelectOptions(e,s,t,d);if(v.err)return v;if((b=this.tryParseArgumentClose(n)).err)return b;var E=Re(n,this.clonePosition());return"select"===s?{val:{type:oe.select,value:r,options:Ze(v.val),location:E},err:null}:{val:{type:oe.plural,value:r,options:Ze(v.val),offset:y,pluralType:"plural"===s?"cardinal":"ordinal",location:E},err:null};default:return this.error(ie.INVALID_ARGUMENT_TYPE,Re(o,a))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(ie.EXPECT_ARGUMENT_CLOSING_BRACE,Re(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ie.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Re(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(Le).filter((function(e){return e.length>0}));r<n.length;r++){var i=n[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],s=i.slice(1),a=0,l=s;a<l.length;a++)if(0===l[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:s})}return t}(e)}catch(e){return this.error(ie.INVALID_NUMBER_SKELETON,t)}return{val:{type:se.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Ie(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i,o=!1,s=[],a=new Set,l=n.value,u=n.location;;){if(0===l.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var h=this.tryParseDecimalInteger(ie.EXPECT_PLURAL_ARGUMENT_SELECTOR,ie.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=Re(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}if(a.has(l))return this.error("select"===t?ie.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ie.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ie.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ie.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Re(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,r);if(m.err)return m;var f=this.tryParseArgumentClose(p);if(f.err)return f;s.push([l,{value:m.val,location:Re(p,this.clonePosition())}]),a.add(l),this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,u=i.location}return 0===s.length?this.error("select"===t?ie.EXPECT_SELECT_ARGUMENT_SELECTOR:ie.EXPECT_PLURAL_ARGUMENT_SELECTOR,Re(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(ie.MISSING_OTHER_CLAUSE,Re(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;i=!0,o=10*o+(s-48),this.bump()}var a=Re(n,this.clonePosition());return i?Ve(o*=r)?{val:o,err:null}:this.error(t,a):this.error(e,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 e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=qe(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(Ke(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&it(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function nt(e){return e>=97&&e<=122||e>=65&&e<=90}function it(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function ot(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||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||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||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||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||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||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||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||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||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||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function st(e){e.forEach((function(e){if(delete e.location,fe(e)||de(e))for(var t in e.options)delete e.options[t].location,st(e.options[t].value);else he(e)&&be(e.style)||(pe(e)||me(e))&&ve(e.style)?delete e.style.location:ge(e)&&st(e.children)}))}function at(e,t){void 0===t&&(t={}),t=ae({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new rt(e,t).parse();if(r.err){var n=SyntaxError(ie[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||st(r.val),r.val}function lt(e,t){var r=t&&t.cache?t.cache:yt,n=t&&t.serializer?t.serializer:mt;return(t&&t.strategy?t.strategy:pt)(e,{cache:r,serializer:n})}function ut(e,t,r,n){var i,o=null==(i=n)||"number"==typeof i||"boolean"==typeof i?n:r(n),s=t.get(o);return void 0===s&&(s=e.call(this,n),t.set(o,s)),s}function ct(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return void 0===o&&(o=e.apply(this,n),t.set(i,o)),o}function ht(e,t,r,n,i){return r.bind(t,e,n,i)}function pt(e,t){return ht(e,this,1===e.length?ut:ct,t.cache.create(),t.serializer)}var mt=function(){return JSON.stringify(arguments)};function ft(){this.cache=Object.create(null)}ft.prototype.get=function(e){return this.cache[e]},ft.prototype.set=function(e,t){this.cache[e]=t};var dt,yt={create:function(){return new ft}},gt={variadic:function(e,t){return ht(e,this,ct,t.cache.create(),t.serializer)},monadic:function(e,t){return ht(e,this,ut,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(dt||(dt={}));var bt,vt=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return ne(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Et=function(e){function t(t,r,n,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),dt.INVALID_VALUE,i)||this}return ne(t,e),t}(vt),Tt=function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),dt.INVALID_VALUE,n)||this}return ne(t,e),t}(vt),wt=function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),dt.MISSING_VALUE,r)||this}return ne(t,e),t}(vt);function Lt(e){return"function"==typeof e}function _t(e,t,r,n,i,o,s){if(1===e.length&&ue(e[0]))return[{type:bt.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(ue(c))a.push({type:bt.literal,value:c.value});else if(ye(c))"number"==typeof o&&a.push({type:bt.literal,value:r.getNumberFormat(t).format(o)});else{var h=c.value;if(!i||!(h in i))throw new wt(h,s);var p=i[h];if(ce(c))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),a.push({type:"string"==typeof p?bt.literal:bt.object,value:p});else if(pe(c)){var m="string"==typeof c.style?n.date[c.style]:ve(c.style)?c.style.parsedOptions:void 0;a.push({type:bt.literal,value:r.getDateTimeFormat(t,m).format(p)})}else if(me(c)){m="string"==typeof c.style?n.time[c.style]:ve(c.style)?c.style.parsedOptions:n.time.medium;a.push({type:bt.literal,value:r.getDateTimeFormat(t,m).format(p)})}else if(he(c)){(m="string"==typeof c.style?n.number[c.style]:be(c.style)?c.style.parsedOptions:void 0)&&m.scale&&(p*=m.scale||1),a.push({type:bt.literal,value:r.getNumberFormat(t,m).format(p)})}else{if(ge(c)){var f=c.children,d=c.value,y=i[d];if(!Lt(y))throw new Tt(d,"function",s);var g=y(_t(f,t,r,n,i,o).map((function(e){return e.value})));Array.isArray(g)||(g=[g]),a.push.apply(a,g.map((function(e){return{type:"string"==typeof e?bt.literal:bt.object,value:e}})))}if(fe(c)){if(!(b=c.options[p]||c.options.other))throw new Et(c.value,p,Object.keys(c.options),s);a.push.apply(a,_t(b.value,t,r,n,i))}else if(de(c)){var b;if(!(b=c.options["=".concat(p)])){if(!Intl.PluralRules)throw new vt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',dt.MISSING_INTL_API,s);var v=r.getPluralRules(t,{type:c.pluralType}).select(p-(c.offset||0));b=c.options[v]||c.options.other}if(!b)throw new Et(c.value,p,Object.keys(c.options),s);a.push.apply(a,_t(b.value,t,r,n,i,p-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var r=e[e.length-1];return r&&r.type===bt.literal&&t.type===bt.literal?r.value+=t.value:e.push(t),e}),[])}(a)}function At(e,t){return t?Object.keys(e).reduce((function(r,n){var i,o;return r[n]=(i=e[n],(o=t[n])?ae(ae(ae({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=ae(ae({},i[t]),o[t]||{}),e}),{})):i),r}),ae({},e)):e}function St(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(bt||(bt={}));var Pt=function(){function e(t,r,n,i){var o,s=this;if(void 0===r&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce((function(e,t){return e.length&&t.type===bt.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return _t(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==i?void 0:i.ignoreTag,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=At(e.formats,n),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:lt((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,le([void 0],t,!1)))}),{cache:St(o.number),strategy:gt.variadic}),getDateTimeFormat:lt((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,le([void 0],t,!1)))}),{cache:St(o.dateTime),strategy:gt.variadic}),getPluralRules:lt((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,le([void 0],t,!1)))}),{cache:St(o.pluralRules),strategy:gt.variadic})})}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(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=at,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}();const Bt={},Ht=(e,t,r)=>r?(t in Bt||(Bt[t]={}),e in Bt[t]||(Bt[t][e]=r),r):r,Ot=(e,t)=>{if(null==t)return;if(t in Bt&&e in Bt[t])return Bt[t][e];const r=tr(t);for(let n=0;n<r.length;n++){const i=Ct(r[n],e);if(i)return Ht(e,t,i)}};let Nt;const It=V({});function xt(e){return e in Nt}function Ct(e,t){if(!xt(e))return null;const r=function(e){return Nt[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let e=0;e<r.length;e++)if("object"==typeof n){if(e>0){const t=r.slice(e,r.length).join(".");if(t in n){n=n[t];break}}n=n[r[e]]}else n=void 0;return n}(r,t)}function Dt(e,...t){delete Bt[e],It.update((r=>(r[e]=te.all([r[e]||{},...t]),r)))}W([It],(([e])=>Object.keys(e))),It.subscribe((e=>Nt=e));const Mt={};function Ut(e){return Mt[e]}function Rt(e){return null!=e&&tr(e).some((e=>{var t;return null==(t=Ut(e))?void 0:t.size}))}function kt(e,t){const r=Promise.all(t.map((t=>(function(e,t){Mt[e].delete(t),0===Mt[e].size&&delete Mt[e]}(e,t),t().then((e=>e.default||e))))));return r.then((t=>Dt(e,...t)))}const jt={};function $t(e){if(!Rt(e))return e in jt?jt[e]:Promise.resolve();const t=function(e){return tr(e).map((e=>{const t=Ut(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return jt[e]=Promise.all(t.map((([e,t])=>kt(e,t)))).then((()=>{if(Rt(e))return $t(e);delete jt[e]})),jt[e]}const Ft={fallbackLocale:null,loadingDelay:200,formats:{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"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Gt(){return Ft}const zt=V(!1);var Vt=Object.defineProperty,Wt=Object.defineProperties,Xt=Object.getOwnPropertyDescriptors,Kt=Object.getOwnPropertySymbols,Yt=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,qt=(e,t,r)=>t in e?Vt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let Jt;const Qt=V(null);function er(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function tr(e,t=Gt().fallbackLocale){const r=er(e);return t?[...new Set([...r,...er(t)])]:r}function rr(){return null!=Jt?Jt:void 0}Qt.subscribe((e=>{Jt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const nr=(ir=((e,t)=>{for(var r in t||(t={}))Yt.call(t,r)&&qt(e,r,t[r]);if(Kt)for(var r of Kt(t))Zt.call(t,r)&&qt(e,r,t[r]);return e})({},Qt),Wt(ir,Xt({set:e=>{if(e&&function(e){if(null==e)return;const t=tr(e);for(let e=0;e<t.length;e++){const r=t[e];if(xt(r))return r}}(e)&&Rt(e)){const{loadingDelay:t}=Gt();let r;return"undefined"!=typeof window&&null!=rr()&&t?r=window.setTimeout((()=>zt.set(!0)),t):zt.set(!0),$t(e).then((()=>{Qt.set(e)})).finally((()=>{clearTimeout(r),zt.set(!1)}))}return Qt.set(e)}})));var ir;const or=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}};var sr=Object.defineProperty,ar=Object.getOwnPropertySymbols,lr=Object.prototype.hasOwnProperty,ur=Object.prototype.propertyIsEnumerable,cr=(e,t,r)=>t in e?sr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,hr=(e,t)=>{for(var r in t||(t={}))lr.call(t,r)&&cr(e,r,t[r]);if(ar)for(var r of ar(t))ur.call(t,r)&&cr(e,r,t[r]);return e},pr=(e,t)=>{var r={};for(var n in e)lr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ar)for(var n of ar(e))t.indexOf(n)<0&&ur.call(e,n)&&(r[n]=e[n]);return r};const mr=(e,t)=>{const{formats:r}=Gt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},fr=or((e=>{var t=e,{locale:r,format:n}=t,i=pr(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=mr("number",n)),new Intl.NumberFormat(r,i)})),dr=or((e=>{var t=e,{locale:r,format:n}=t,i=pr(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=mr("date",n):0===Object.keys(i).length&&(i=mr("date","short")),new Intl.DateTimeFormat(r,i)})),yr=or((e=>{var t=e,{locale:r,format:n}=t,i=pr(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=mr("time",n):0===Object.keys(i).length&&(i=mr("time","short")),new Intl.DateTimeFormat(r,i)})),gr=or(((e,t=rr())=>new Pt(e,t,Gt().formats,{ignoreTag:Gt().ignoreTag}))),br=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=rr(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ot(e,l);if(c){if("string"!=typeof c)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}else c=null!=(o=null!=(i=null==(n=(r=Gt()).handleMissingMessage)?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))?i:u)?o:e;if(!a)return c;let h=c;try{h=gr(c,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},vr=(e,t)=>((e={})=>{var t=e,{locale:r=rr()}=t,n=pr(t,["locale"]);return yr(hr({locale:r},n))})(t).format(e),Er=(e,t)=>((e={})=>{var t=e,{locale:r=rr()}=t,n=pr(t,["locale"]);return dr(hr({locale:r},n))})(t).format(e),Tr=(e,t)=>((e={})=>{var t=e,{locale:r=rr()}=t,n=pr(t,["locale"]);return fr(hr({locale:r},n))})(t).format(e),wr=(e,t=rr())=>Ot(e,t),Lr=W([nr,It],(()=>br));function _r(e,t){Dt(e,t)}W([nr],(()=>vr)),W([nr],(()=>Er)),W([nr],(()=>Tr)),W([nr,It],(()=>wr));const Ar={en:{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",adjectiveMonthly:"monthly",adjectiveWeekly:"weekly",adjectiveDaily:"daily",None:"",noPeriod:".",per:"per",updateText:"will be applied on",removedLimitText:"The limit will be removed on",noLimitText:"There is currently no limit set.",lugasPrivacy:"The cross-provider LUGAS limit is not visible to providers.",limitType:"Limit Type",period:"Period",amount:"Amount",minutes:"minutes",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit",stake:"Stake Limit",lugas:"Current Deposit Limit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",popupPendingUpdate:"We have received the request to change the limit. Please be aware that the update will only come into effect on",popupImmediateUpdate:"Your new {selectedLimit} is {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Successful",popupError:"There was a problem while setting the limit, please try again.",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",kycNeeded2:". 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.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE"},de:{loadingText:"Lädt ...",Monthly:"pro Monat",Weekly:"pro Woche",Daily:"pro Tag",adjectiveMonthly:"Monatlich",adjectiveWeekly:"Wöchentlich",adjectiveDaily:"Täglich",None:"",noPeriod:".",per:"pro",updateText:"Anwendung am",removedLimitText:"Entfernung des Limits am",noLimitText:"Derzeit ist kein Limit gesetzt.",lugasPrivacy:"Das anbieterübergreifende LUGAS-Limit ist für Anbieter nicht einsehbar.",limitType:"Limitart",period:"Zeitraum",amount:"Betrag",minutes:"minute",new:"Neu",limit:"Limit",setLimit:"LIMIT SETZEN",loss:"Verlustlimit",deposit:"Einzahlungslimit",wager:"Einsatzlimit",stake:"Einsatzlimit",lugas:"Aktuelles Einzahlungslimit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ENTFERNEN",popupPendingUpdate:"Wir haben die Anfrage zur Änderung des Limits erhalten. Bitte beachten Sie, dass die Änderung erst in Kraft tritt am",popupImmediateUpdate:"Ihre neues Limit {selectedLimit} beträgt {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limit geändert!",popupSuccess:"Erfolgreich",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",kycNeeded2:". 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.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE"},hr:{loadingText:"Učitavanje...",Monthly:"Mjesečno",Weekly:"Tjedno",Daily:"Dnevno",adjectiveMonthly:"Mjesečno",adjectiveWeekly:"Tjedno",adjectiveDaily:"Dnevno",None:"",noPeriod:".",per:"po",updateText:"primjenjivat će se na",removedLimitText:"Ograničenje će biti uklonjeno",noLimitText:"Trenutno nije postavljeno nijedno ograničenje.",lugasPrivacy:"Sveobuhvatno LUGAS ograničenje nije vidljivo pružateljima.",limitType:"Vrsta ograničenja",period:"Vremenski period",amount:"Iznos",minutes:"minutes",new:"Novo",limit:"Ograničenje",setLimit:"POSTAVI OGRANIČENJA",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wager:"Ograničenje slotova",stake:"Ograničenje uloga",lugas:"Trenutno ograničenje uplate",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"UKLONI",popupPendingUpdate:"Zaprimili smo zahtjev za promjenom ograničenja. Molimo uzmite u obzir kako će promijena stupiti na snagu tek",popupImmediateUpdate:"Vaše novo {selectedLimit} je {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Ograničenje je promijenjeno!",popupSuccess:"Uspješno",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",kycNeeded2:". 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.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE"},sl:{loadingText:"Nalaga...",Monthly:"na mesec",Weekly:"na teden",Daily:"na dan",adjectiveMonthly:"Mesečno",adjectiveWeekly:"Tedensko",adjectiveDaily:"Dnevno",None:"",noPeriod:".",per:"na",updateText:"uporabljeno bo na",removedLimitText:"Limit bo odstranjen",noLimitText:"Trenutno ni določen noben limit.",lugasPrivacy:"Na vse ponudnike vezan limit LUGAS, ponudnikom ni v pogled.",limitType:"Vrsta limita",period:"Časovno obdobje",amount:"Znesek",minutes:"minutes",new:"Novo",limit:"Limit",setLimit:"NASTAVITE LIMIT",loss:"Limit izgube",deposit:"Limit vplačila",wager:"Limit igralnih avtomatov",stake:"Limit vložkov",lugas:"Trenuten vplačilni limit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ODSTRANI",popupPendingUpdate:"Prejeli smo prošnjo za spremembo limita. Prosimo upoštevajte, da sprememba začne veljati šele",popupImmediateUpdate:"Vaš novi {selectedLimit} znaša {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limit spremenjen!",popupSuccess:"Uspešno",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",kycNeeded2:". 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.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE"},pl:{loadingText:"Ładowanie...",Monthly:"na miesiąc",Weekly:"na tydzień",Daily:"na dzień",adjectiveMonthly:"Miesięcznie",adjectiveWeekly:"Tygodniowo",adjectiveDaily:"Codzienny",None:"",noPeriod:".",per:"za",updateText:"Zostanie zastosowany w dniu",removedLimitText:"Limit zostanie usunięty",noLimitText:"Obecnie nie posiadasz limitu.",lugasPrivacy:"Świadczeniodawcy nie widzą wzajemnie ustalonego limitu LUGAS.",limitType:"Rodzaj limitu",period:"Przedział czasowy",amount:"Kwota",minutes:"minutes",new:"Nowe",limit:"Limit",setLimit:"USTAW LIMIT",loss:"Limit Strat",deposit:"Limit wpłat",wager:"Limit na gre na automatach",stake:"Limit stawek",lugas:"Obecny limit depozytów",sessionLimit:"USUŃ",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",popupPendingUpdate:"Otrzymaliśmy prośbę o zmianę limitu. Informujemy, że aktualizacja wejdzie w życie w dniu",popupImmediateUpdate:"Twój nowy {selectedLimit} jest {aktualizateAmount} {waluta} {selectederiod}",popupTitle:"Limit zmieniony!",popupSuccess:"Zakończone powodzeniem",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",kycNeeded2:". 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.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE"},fr:{loadingText:"Chargement, veuillez patienter...",Monthly:"mois",Weekly:"semaine",Daily:"jour",per:"par",updateText:"sera appliqué sur",noLimitText:"Aucune limite n'est actuellement définie.",limitType:"Limit Type",period:"Period",amount:"Amount",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit"},ro:{loadingText:"Se incarca, va rugam asteptati...",Monthly:"luna",Weekly:"saptamana",Daily:"zi",per:"pe",updateText:"va intra in vigoare incepand cu",noLimitText:"Momentan nu este setata o limita.",limitType:"Tip Limita",period:"Perioada",amount:"Valoare",new:"Limita pe",limit:"noua",setLimit:"ACCEPTA LIMITA",loss:"Limita de Pierdere",deposit:"Limita de Depunere",wager:"Limita de Pariere",removeLimit:"ELIMINA",popupPendingUpdate:"Am primit cererea de a schimba limita. Schimbarea va intra in vigoare in data de",popupImmediateUpdate:"Noua {selectedLimit} este {updatedAmount}{currency} pe {selectedPeriod}",popupTitle:"Limita schimbata",popupSuccess:"Succes!"},es:{loadingText:"Cargando",Monthly:"por mes",Weekly:"por semana",Daily:"por día",adjectiveMonthly:"mensual",adjectiveWeekly:"semanal",adjectiveDaily:"diario",None:"Ninguno",noPeriod:"Sin periodo",per:"por",updateText:"será aplicado en",removedLimitText:"El límite será retirado en",noLimitText:"Actualmente no hay un límite establecido.",lugasPrivacy:"El límite del proveedor-cruzado LUGAS no es visible para los proveedores.",limitType:"Tipo de Límite",period:"Periodo",amount:"Monto",minutes:"minutos",new:"Nuevo",limit:"límite",setLimit:"ESTABELECE UN LÍMITE",loss:"Límite de pérdida",deposit:"Límite de depósito",wager:"Límite de apuesta",stake:"Límite de apuesta",lugas:"Límite de depósito actual",sessionLimit:"Límites de tiempo en sesión única",cumulativeSession:"Límite de tiempo en periodo",removeLimit:"QUITAR / RETIRAR",popupPendingUpdate:"Hemos recibido la solicitud de cambiar el límite. Por favor este al tanto que el cambio solo entrará en efecto en",popupImmediateUpdate:"Tú nuevo {selectedLimit} esta {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Límite cambiado",popupSuccess:"Exitoso",popupError:"Hubo un problema mientras se establecía el límite",kycNotNeeded:"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.",kycNeeded1:"Pudimos estabelecer tu límite de deposito mensual en",kycNeeded2:"Para aumentar el límite a la cantidad deseada",uploadDocumentsButton:"SUBIR DOCUMENTOS / ADJUNTAR DOCUMENTOS",closeButton:"CERRAR"},pt:{loadingText:"Carregando, por favor espere..."}};var Sr="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},Pr="URLSearchParams"in Sr,Br="Symbol"in Sr&&"iterator"in Symbol,Hr="FileReader"in Sr&&"Blob"in Sr&&function(){try{return new Blob,!0}catch(e){return!1}}(),Or="FormData"in Sr,Nr="ArrayBuffer"in Sr;if(Nr)var Ir=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],xr=ArrayBuffer.isView||function(e){return e&&Ir.indexOf(Object.prototype.toString.call(e))>-1};function Cr(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Dr(e){return"string"!=typeof e&&(e=String(e)),e}function Mr(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return Br&&(t[Symbol.iterator]=function(){return t}),t}function Ur(e){this.map={},e instanceof Ur?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function Rr(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function kr(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function jr(e){var t=new FileReader,r=kr(t);return t.readAsArrayBuffer(e),r}function $r(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Fr(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:Hr&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Or&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Pr&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Nr&&Hr&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=$r(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Nr&&(ArrayBuffer.prototype.isPrototypeOf(e)||xr(e))?this._bodyArrayBuffer=$r(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Pr&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Hr&&(this.blob=function(){var e=Rr(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=Rr(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(Hr)return this.blob().then(jr);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,r,n,i,o=Rr(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,r=kr(t),n=/charset=([A-Za-z0-9_-]+)/.exec(e.type),i=n?n[1]:"utf-8",t.readAsText(e,i),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Or&&(this.formData=function(){return this.text().then(Vr)}),this.json=function(){return this.text().then(JSON.parse)},this}Ur.prototype.append=function(e,t){e=Cr(e),t=Dr(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},Ur.prototype.delete=function(e){delete this.map[Cr(e)]},Ur.prototype.get=function(e){return e=Cr(e),this.has(e)?this.map[e]:null},Ur.prototype.has=function(e){return this.map.hasOwnProperty(Cr(e))},Ur.prototype.set=function(e,t){this.map[Cr(e)]=Dr(t)},Ur.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},Ur.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),Mr(e)},Ur.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),Mr(e)},Ur.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),Mr(e)},Br&&(Ur.prototype[Symbol.iterator]=Ur.prototype.entries);var Gr=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function zr(e,t){if(!(this instanceof zr))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,i=(t=t||{}).body;if(e instanceof zr){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Ur(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new Ur(t.headers)),this.method=(r=t.method||this.method||"GET",n=r.toUpperCase(),Gr.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in Sr)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function Vr(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(i))}})),t}function Wr(e,t){if(!(this instanceof Wr))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new Ur(t.headers),this.url=t.url||"",this._initBody(e)}zr.prototype.clone=function(){return new zr(this,{body:this._bodyInit})},Fr.call(zr.prototype),Fr.call(Wr.prototype),Wr.prototype.clone=function(){return new Wr(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Ur(this.headers),url:this.url})},Wr.error=function(){var e=new Wr(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var Xr=[301,302,303,307,308];Wr.redirect=function(e,t){if(-1===Xr.indexOf(t))throw new RangeError("Invalid status code");return new Wr(null,{status:t,headers:{location:e}})};var Kr=Sr.DOMException;try{new Kr}catch(e){(Kr=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack}).prototype=Object.create(Error.prototype),Kr.prototype.constructor=Kr}function Yr(e,t){return new Promise((function(r,n){var i=new zr(e,t);if(i.signal&&i.signal.aborted)return n(new Kr("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}if(o.onload=function(){var e,t,n={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new Ur,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();try{t.append(n,i)}catch(e){console.warn("Response "+e.message)}}})),t)};i.url.startsWith("file://")&&(o.status<200||o.status>599)?n.status=200:n.status=o.status,n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var s="response"in o?o.response:o.responseText;setTimeout((function(){r(new Wr(s,n))}),0)},o.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request timed out"))}),0)},o.onabort=function(){setTimeout((function(){n(new Kr("Aborted","AbortError"))}),0)},o.open(i.method,function(e){try{return""===e&&Sr.location.href?Sr.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&(Hr?o.responseType="blob":Nr&&(o.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof Ur||Sr.Headers&&t.headers instanceof Sr.Headers)){var a=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){a.push(Cr(e)),o.setRequestHeader(e,Dr(t.headers[e]))})),i.headers.forEach((function(e,t){-1===a.indexOf(t)&&o.setRequestHeader(t,e)}))}else i.headers.forEach((function(e,t){o.setRequestHeader(t,e)}));i.signal&&(i.signal.addEventListener("abort",s),o.onreadystatechange=function(){4===o.readyState&&i.signal.removeEventListener("abort",s)}),o.send(void 0===i._bodyInit?null:i._bodyInit)}))}Yr.polyfill=!0,Sr.fetch||(Sr.fetch=Yr,Sr.Headers=Ur,Sr.Request=zr,Sr.Response=Wr),self.fetch.bind(self);var Zr=function(e,t){return Zr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},Zr(e,t)};function qr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}Zr(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Jr(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Qr(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}function en(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function tn(e){return"function"==typeof e}function rn(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var nn=rn((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function on(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var sn=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,r,n,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Jr(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);var l=this.initialTeardown;if(tn(l))try{l()}catch(e){i=e instanceof nn?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=Jr(u),h=c.next();!h.done;h=c.next()){var p=h.value;try{un(p)}catch(e){i=null!=i?i:[],e instanceof nn?i=en(en([],Qr(i)),Qr(e.errors)):i.push(e)}}}catch(e){r={error:e}}finally{try{h&&!h.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}}if(i)throw new nn(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)un(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&on(t,e)},e.prototype.remove=function(t){var r=this._finalizers;r&&on(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),an=sn.EMPTY;function ln(e){return e instanceof sn||e&&"closed"in e&&tn(e.remove)&&tn(e.add)&&tn(e.unsubscribe)}function un(e){tn(e)?e():e.unsubscribe()}var cn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},hn={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=hn.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,en([e,t],Qr(r))):setTimeout.apply(void 0,en([e,t],Qr(r)))},clearTimeout:function(e){var t=hn.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function pn(){}var mn=null;function fn(e){if(cn.useDeprecatedSynchronousErrorHandling){var t=!mn;if(t&&(mn={errorThrown:!1,error:null}),e(),t){var r=mn,n=r.errorThrown,i=r.error;if(mn=null,n)throw i}}else e()}var dn=function(e){function t(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,ln(t)&&t.add(r)):r.destination=Tn,r}return qr(t,e),t.create=function(e,t,r){return new vn(e,t,r)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(sn),yn=Function.prototype.bind;function gn(e,t){return yn.call(e,t)}var bn=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){En(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){En(e)}else En(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){En(e)}},e}(),vn=function(e){function t(t,r,n){var i,o,s=e.call(this)||this;tn(t)||!t?i={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:s&&cn.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&gn(t.next,o),error:t.error&&gn(t.error,o),complete:t.complete&&gn(t.complete,o)}):i=t;return s.destination=new bn(i),s}return qr(t,e),t}(dn);function En(e){var t;t=e,hn.setTimeout((function(){throw t}))}var Tn={closed:!0,next:pn,error:function(e){throw e},complete:pn},wn="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ln(e){return e}var _n=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n,i=this,o=(n=e)&&n instanceof dn||function(e){return e&&tn(e.next)&&tn(e.error)&&tn(e.complete)}(n)&&ln(n)?e:new vn(e,t,r);return fn((function(){var e=i,t=e.operator,r=e.source;o.add(t?t.call(o,r):r?i._subscribe(o):i._trySubscribe(o))})),o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=An(t))((function(t,n){var i=new vn({next:function(t){try{e(t)}catch(e){n(e),i.unsubscribe()}},error:n,complete:t});r.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[wn]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return(0===(e=t).length?Ln:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=An(e))((function(e,r){var n;t.subscribe((function(e){return n=e}),(function(e){return r(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function An(e){var t;return null!==(t=null!=e?e:cn.Promise)&&void 0!==t?t:Promise}var Sn=rn((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Pn=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return qr(t,e),t.prototype.lift=function(e){var t=new Bn(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Sn},t.prototype.next=function(e){var t=this;fn((function(){var r,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=Jr(t.currentObservers),o=i.next();!o.done;o=i.next()){o.value.next(e)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}}))},t.prototype.error=function(e){var t=this;fn((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}}))},t.prototype.complete=function(){var e=this;fn((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this,n=r.hasError,i=r.isStopped,o=r.observers;return n||i?an:(this.currentObservers=null,o.push(e),new sn((function(){t.currentObservers=null,on(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t.thrownError,i=t.isStopped;r?e.error(n):i&&e.complete()},t.prototype.asObservable=function(){var e=new _n;return e.source=this,e},t.create=function(e,t){return new Bn(e,t)},t}(_n),Bn=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return qr(t,e),t.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},t.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:an},t}(Pn),Hn={now:function(){return(Hn.delegate||Date).now()},delegate:void 0},On=function(e){function t(t,r,n){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===n&&(n=Hn);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=r,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,r),i}return qr(t,e),t.prototype.next=function(t){var r=this,n=r.isStopped,i=r._buffer,o=r._infiniteTimeWindow,s=r._timestampProvider,a=r._windowTime;n||(i.push(t),!o&&i.push(s.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),i=0;i<n.length&&!e.closed;i+=r?1:2)e.next(n[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,r=e._timestampProvider,n=e._buffer,i=e._infiniteTimeWindow,o=(i?1:2)*t;if(t<1/0&&o<n.length&&n.splice(0,n.length-o),!i){for(var s=r.now(),a=0,l=1;l<n.length&&n[l]<=s;l+=2)a=l;a&&n.splice(0,a+1)}},t}(Pn);let Nn=[],In={};window.emWidgets={topic:(e,t=0)=>{if(-1==Nn.indexOf(e)){let r=new On(t);In[e]=r,Nn.push(e)}return In[e]}};const{document:xn}=a;function Cn(e,t,r){const n=e.slice();return n[51]=t[r],n}function Dn(e,t,r){const n=e.slice();return n[54]=t[r],n}function Mn(e,t,r){const n=e.slice();return n[54]=t[r],n}function Un(e,t,r){const n=e.slice();return n[59]=t[r],n}function Rn(e){let t,r;function n(e,t){return e[11]?kn:jn}let i=n(e),o=i(e);return{c(){t=p("div"),r=p("div"),o.c(),g(r,"class","PopupContainer "+(e[14]?"Desktop":"")),g(t,"class","PopupOverlay")},m(e,n){u(e,t,n),l(t,r),o.m(r,null)},p(e,t){i===(i=n(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(r,null)))},d(e){e&&c(t),o.d()}}}function kn(e){let t,r,i,o,s,a,h,m,b,E,T,w,L,_,A,S=e[13]("popupTitle")+"",P=!e[9]&&$n(e);return{c(){t=p("div"),r=p("span"),i=f(S),o=d(),s=p("button"),s.textContent="X",a=d(),h=p("div"),m=p("div"),P&&P.c(),b=d(),E=p("p"),T=f(e[12]),w=d(),L=p("button"),L.textContent="OK",g(r,"class","PopupTitle"),g(s,"class","ClosePopup"),g(t,"class","PopupTitleWrapper"),g(m,"class","ResultIconWrapper"),g(E,"class","DescriptionParagraph"),g(h,"class","DescriptionWrapper"),g(L,"class","ConfirmButton")},m(n,c){u(n,t,c),l(t,r),l(r,i),l(t,o),l(t,s),u(n,a,c),u(n,h,c),l(h,m),P&&P.m(m,null),l(h,b),l(h,E),l(E,T),u(n,w,c),u(n,L,c),_||(A=[y(s,"click",e[20]),y(L,"click",e[20])],_=!0)},p(e,t){8192&t[0]&&S!==(S=e[13]("popupTitle")+"")&&v(i,S),e[9]?P&&(P.d(1),P=null):P?P.p(e,t):(P=$n(e),P.c(),P.m(m,null)),4096&t[0]&&v(T,e[12])},d(e){e&&c(t),e&&c(a),e&&c(h),P&&P.d(),e&&c(w),e&&c(L),_=!1,n(A)}}}function jn(t){let r;return{c(){r=p("div"),g(r,"class","LoadingIndicator")},m(e,t){u(e,r,t)},p:e,d(e){e&&c(r)}}}function $n(e){let t,r,n,i,o,s,a,h,y,b=e[13]("popupSuccess")+"";return{c(){t=m("svg"),r=m("defs"),n=m("style"),i=f(".fil0 {fill:black;fill-rule:nonzero}\n "),o=m("g"),s=m("polygon"),a=d(),h=p("p"),y=f(b),g(n,"type","text/css"),g(s,"class","fil0"),g(s,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),g(t,"xmlns","http://www.w3.org/2000/svg"),g(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(t,"xml:space","preserve"),g(t,"version","1.1"),T(t,"shape-rendering","geometricPrecision"),T(t,"text-rendering","geometricPrecision"),T(t,"image-rendering","optimizeQuality"),g(t,"viewBox","0 0 90 69"),g(t,"x","0px"),g(t,"y","0px"),g(t,"fill-rule","evenodd"),g(t,"clip-rule","evenodd")},m(e,c){u(e,t,c),l(t,r),l(r,n),l(n,i),l(t,o),l(o,s),u(e,a,c),u(e,h,c),l(h,y)},p(e,t){8192&t[0]&&b!==(b=e[13]("popupSuccess")+"")&&v(y,b)},d(e){e&&c(t),e&&c(a),e&&c(h)}}}function Fn(e){let t,r,i,o,s,a,m,T,w,L,_,A,S,P,B,H,O,N=e[6]?`${e[13]("amount")}`:`${e[13]("new")} ${e[13](`gamingLimits.${e[2]}`)} ${e[13]("limit")}`,I=e[13]("setLimit")+"",x=e[15],C=[];for(let t=0;t<x.length;t+=1)C[t]=qn(Mn(e,x,t));let D=e[5]&&Jn(e),M=e[6]&&ei(e);return{c(){t=p("div"),r=p("div"),i=p("div");for(let e=0;e<C.length;e+=1)C[e].c();o=d(),s=p("form"),D&&D.c(),a=d(),M&&M.c(),m=d(),T=p("label"),w=p("span"),L=f(N),_=d(),A=p("input"),S=d(),P=p("button"),B=f(I),g(i,"class","LimitsList "+(e[14]?"Desktop":"")),g(w,"class","LimitInputText"),g(T,"class","LimitAmountInputWrapper"),g(A,"type","number"),g(A,"pattern","[0-9]*"),g(P,"class","LimitSubmitButton"),g(P,"type","button"),P.disabled=!0,g(s,"class","LimitsInteractionArea "+(e[14]?"Desktop":"")),g(r,"class","LimitsPageContainer"),g(t,"class","player-account-gaming-limits-page-2-gmcore")},m(n,c){u(n,t,c),l(t,r),l(r,i);for(let e=0;e<C.length;e+=1)C[e]&&C[e].m(i,null);l(r,o),l(r,s),D&&D.m(s,null),l(s,a),M&&M.m(s,null),l(s,m),l(s,T),l(T,w),l(w,L),l(s,_),l(s,A),E(A,e[3]),l(s,S),l(s,P),l(P,B),e[34](P),H||(O=[y(A,"input",e[33]),y(A,"keyup",e[18]),y(P,"click",e[17]),y(s,"submit",e[17])],H=!0)},p(e,t){if(581632&t[0]){let r;for(x=e[15],r=0;r<x.length;r+=1){const n=Mn(e,x,r);C[r]?C[r].p(n,t):(C[r]=qn(n),C[r].c(),C[r].m(i,null))}for(;r<C.length;r+=1)C[r].d(1);C.length=x.length}e[5]?D?D.p(e,t):(D=Jn(e),D.c(),D.m(s,a)):D&&(D.d(1),D=null),e[6]?M?M.p(e,t):(M=ei(e),M.c(),M.m(s,m)):M&&(M.d(1),M=null),8260&t[0]&&N!==(N=e[6]?`${e[13]("amount")}`:`${e[13]("new")} ${e[13](`gamingLimits.${e[2]}`)} ${e[13]("limit")}`)&&v(L,N),8&t[0]&&b(A.value)!==e[3]&&E(A,e[3]),8192&t[0]&&I!==(I=e[13]("setLimit")+"")&&v(B,I)},d(r){r&&c(t),h(C,r),D&&D.d(),M&&M.d(),e[34](null),H=!1,n(O)}}}function Gn(t){let r;return{c(){r=p("p"),r.textContent="500 Server error"},m(e,t){u(e,r,t)},p:e,d(e){e&&c(r)}}}function zn(t){return{c:e,m:e,p:e,d:e}}function Vn(t){let r;return{c(){r=p("div"),g(r,"class","LoadingIndicator")},m(e,t){u(e,r,t)},p:e,d(e){e&&c(r)}}}function Wn(e){let t,r,n,i,o=e[13]("noLimitText")+"";return{c(){t=p("div"),r=p("div"),n=p("div"),i=f(o),g(n,"class","LimitDetailsTextWrapper"),g(r,"class","LimitDetailsWrapper"),g(t,"class","LimitDetails")},m(e,o){u(e,t,o),l(t,r),l(r,n),l(n,i)},p(e,t){8192&t[0]&&o!==(o=e[13]("noLimitText")+"")&&v(i,o)},d(e){e&&c(t)}}}function Xn(e){let t,r=e[54].currentLimits,n=[];for(let t=0;t<r.length;t+=1)n[t]=Zn(Un(e,r,t));return{c(){for(let e=0;e<n.length;e+=1)n[e].c();t=f("")},m(e,r){for(let t=0;t<n.length;t+=1)n[t]&&n[t].m(e,r);u(e,t,r)},p(e,i){if(565248&i[0]){let o;for(r=e[54].currentLimits,o=0;o<r.length;o+=1){const s=Un(e,r,o);n[o]?n[o].p(s,i):(n[o]=Zn(s),n[o].c(),n[o].m(t.parentNode,t))}for(;o<n.length;o+=1)n[o].d(1);n.length=r.length}},d(e){h(n,e),e&&c(t)}}}function Kn(e){let t,r,n=`${e[13]("removedLimitText")} ${e[59].expiryDate}`;return{c(){t=p("div"),r=f(n),g(t,"class","PendingLimit")},m(e,n){u(e,t,n),l(t,r)},p(e,t){8192&t[0]&&n!==(n=`${e[13]("removedLimitText")} ${e[59].expiryDate}`)&&v(r,n)},d(e){e&&c(t)}}}function Yn(e){let t,r,n=`${e[59].updateAmount}${e[59].currency} ${e[13](`gamingLimits.${e[59].period}`)} ${e[13]("updateText")} ${e[59].expiryDate}`;return{c(){t=p("div"),r=f(n),g(t,"class","PendingLimit")},m(e,n){u(e,t,n),l(t,r)},p(e,t){8192&t[0]&&n!==(n=`${e[59].updateAmount}${e[59].currency} ${e[13](`gamingLimits.${e[59].period}`)} ${e[13]("updateText")} ${e[59].expiryDate}`)&&v(r,n)},d(e){e&&c(t)}}}function Zn(e){let t,r,n,i,o,s,a,h=`${e[59].amount}${e[59].currency} ${e[13](`gamingLimits.${e[59].period}`)}`;let m=function(e,t){return e[59].isModified&&"-1"!=e[59].updateAmount?Yn:e[59].isModified?Kn:void 0}(e),b=m&&m(e),E=!e[59].isModified&&function(e){let t,r,n,i,o=e[13]("gamingLimits.removeLimit")+"";function s(){return e[30](e[59])}return{c(){t=p("button"),r=f(o),g(t,"class","RemoveLimitButton")},m(e,o){u(e,t,o),l(t,r),n||(i=y(t,"click",s),n=!0)},p(t,n){e=t,8192&n[0]&&o!==(o=e[13]("gamingLimits.removeLimit")+"")&&v(r,o)},d(e){e&&c(t),n=!1,i()}}}(e);return{c(){t=p("div"),r=p("div"),n=p("div"),i=f(h),o=d(),b&&b.c(),s=d(),E&&E.c(),a=d(),g(n,"class","CurrentLimit"),g(r,"class","LimitDetailsTextWrapper"),g(t,"class","LimitDetails")},m(e,c){u(e,t,c),l(t,r),l(r,n),l(n,i),l(r,o),b&&b.m(r,null),l(t,s),E&&E.m(t,null),l(t,a)},p(e,t){8192&t[0]&&h!==(h=`${e[59].amount}${e[59].currency} ${e[13](`gamingLimits.${e[59].period}`)}`)&&v(i,h),b&&b.p(e,t),e[59].isModified||E.p(e,t)},d(e){e&&c(t),b&&b.d(),E&&E.d()}}}function qn(e){let t,r,n,i,o,s=e[13](`gamingLimits.${e[54].value}`)+"";let a=function(e,t){return e[54].currentLimits.length>0?Xn:Wn}(e),h=a(e);return{c(){t=p("div"),r=p("p"),n=f(s),i=d(),h.c(),o=d(),g(r,"class","LimitTitle"),g(t,"class","LimitWrapper "+(e[14]?"Desktop":""))},m(e,s){u(e,t,s),l(t,r),l(r,n),l(t,i),h.m(t,null),l(t,o)},p(e,t){8192&t[0]&&s!==(s=e[13](`gamingLimits.${e[54].value}`)+"")&&v(n,s),h.p(e,t)},d(e){e&&c(t),h.d()}}}function Jn(e){let t,r,i,o,s,a,m,b=e[13]("limitType")+"",E=e[15],T=[];for(let t=0;t<E.length;t+=1)T[t]=Qn(Dn(e,E,t));return{c(){t=p("label"),r=p("span"),i=f(b),o=d(),s=p("select");for(let e=0;e<T.length;e+=1)T[e].c();g(r,"class","LimitSelectText"),g(s,"name",""),g(s,"id",""),void 0===e[1]&&x((()=>e[31].call(s))),g(t,"class","LimitTypeDropdownWrapper")},m(n,c){u(n,t,c),l(t,r),l(r,i),l(t,o),l(t,s);for(let e=0;e<T.length;e+=1)T[e]&&T[e].m(s,null);w(s,e[1],!0),a||(m=[y(s,"change",e[31]),y(s,"change",e[16])],a=!0)},p(e,t){if(8192&t[0]&&b!==(b=e[13]("limitType")+"")&&v(i,b),32768&t[0]){let r;for(E=e[15],r=0;r<E.length;r+=1){const n=Dn(e,E,r);T[r]?T[r].p(n,t):(T[r]=Qn(n),T[r].c(),T[r].m(s,null))}for(;r<T.length;r+=1)T[r].d(1);T.length=E.length}32770&t[0]&&w(s,e[1])},d(e){e&&c(t),h(T,e),a=!1,n(m)}}}function Qn(t){let r,n,i=t[54].title+"";return{c(){r=p("option"),n=f(i),r.__value=t[54].value,r.value=r.__value},m(e,t){u(e,r,t),l(r,n)},p:e,d(e){e&&c(r)}}}function ei(e){let t,r,n,i,o,s,a,m=e[13]("period")+"",b=G[e[1]].periods,E=[];for(let t=0;t<b.length;t+=1)E[t]=ti(Cn(e,b,t));return{c(){t=p("label"),r=p("span"),n=f(m),i=d(),o=p("select");for(let e=0;e<E.length;e+=1)E[e].c();g(r,"class","PeriodSelectText"),g(t,"class","LimitPeriodDropdownWrapper"),g(o,"name",""),g(o,"id",""),void 0===e[2]&&x((()=>e[32].call(o)))},m(c,h){u(c,t,h),l(t,r),l(r,n),u(c,i,h),u(c,o,h);for(let e=0;e<E.length;e+=1)E[e]&&E[e].m(o,null);w(o,e[2],!0),s||(a=y(o,"change",e[32]),s=!0)},p(e,t){if(8192&t[0]&&m!==(m=e[13]("period")+"")&&v(n,m),8194&t[0]){let r;for(b=G[e[1]].periods,r=0;r<b.length;r+=1){const n=Cn(e,b,r);E[r]?E[r].p(n,t):(E[r]=ti(n),E[r].c(),E[r].m(o,null))}for(;r<E.length;r+=1)E[r].d(1);E.length=b.length}6&t[0]&&w(o,e[2])},d(e){e&&c(t),e&&c(i),e&&c(o),h(E,e),s=!1,a()}}}function ti(e){let t,r,n,i=e[13](`gamingLimits.${e[51]}`)+"";return{c(){t=p("option"),r=f(i),t.__value=n=e[51],t.value=t.__value,t.selected=!0},m(e,n){u(e,t,n),l(t,r)},p(e,o){8194&o[0]&&i!==(i=e[13](`gamingLimits.${e[51]}`)+"")&&v(r,i),32770&o[0]&&n!==(n=e[51])&&(t.__value=n,t.value=t.__value)},d(e){e&&c(t)}}}function ri(t){let r,n,i,o,s=t[10]&&Rn(t);function a(e,t){return e[7]&&!e[10]?Vn:e[7]?zn:e[8]?Gn:Fn}let h=a(t),m=h(t);return{c(){r=p("meta"),n=d(),i=p("div"),s&&s.c(),o=d(),m.c(),this.c=e,g(r,"name","viewport"),g(r,"content","width=device-width, initial-scale=1")},m(e,a){l(xn.head,r),u(e,n,a),u(e,i,a),s&&s.m(i,null),l(i,o),m.m(i,null),t[35](i)},p(e,t){e[10]?s?s.p(e,t):(s=Rn(e),s.c(),s.m(i,o)):s&&(s.d(1),s=null),h===(h=a(e))&&m?m.p(e,t):(m.d(1),m=h(e),m&&(m.c(),m.m(i,null)))},i:e,o:e,d(e){c(r),e&&c(n),e&&c(i),s&&s.d(),m.d(),t[35](null)}}}function ni(e,t,r){let n;var i,o;i=Lr,o=e=>r(13,n=e),e.$$.on_destroy.push(s(i,o));let a,l,u,c,{lang:h="en"}=t,{currency:p=""}=t,{limits:m=""}=t,{session:f=""}=t,{userid:d=""}=t,{endpoint:y=""}=t,{clientstyling:g=""}=t,{clientstylingurl:v=""}=t,{translationurl:E=""}=t,T=!(e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))(window.navigator.userAgent),w=[],_="",A="",S=!1,P=!1,H=!0,O=!1,N=!1,I=!1,x=!1,C="";const D={EUR:"€",RON:" lei"},M={updatePendingError:["SYS_1037","SYS_1142","SYS_1140"]};Object.keys(Ar).forEach((e=>{_r(e,Ar[e])}));const U=e=>{const t=e.error.match(/errorCode:(.*)\)/)[1];let r;console.error(`API response error: ${t}`);for(const[e,i]of Object.entries(M))i.includes(t)&&(r=n(`gamingLimits.${e}`));r=null!=r?r:n("gamingLimits.genericError"),$(t,r)},R=()=>{let e=new URL(`/v2/player/${d}/limits`,y),t=!N,n={method:"GET",headers:{"X-SessionID":f,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,n).then((e=>{if(e.status>=300)throw r(7,H=!1),r(8,O=!0),new Error("There was an error fetching the limits");return e.json()})).then((e=>{c=e,I&&t&&$(),k(c),r(7,H=!1),r(3,l=null)})).catch((e=>{console.log(e),r(7,H=!1),r(8,O=!0)}))},k=e=>{w.forEach((t=>{var r;t.currentLimits=[],null===(r=e[G[t.value].callValue])||void 0===r||r.forEach(((r,n)=>{var i;const o=e[G[t.value].callValue][n];t.currentLimits.push({}),t.currentLimits[n].limitType=t.value,t.currentLimits[n].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.amount),t.currentLimits[n].currency=null!==(i=D[o.currency])&&void 0!==i?i:o.currency,t.currentLimits[n].period=o.period,t.currentLimits[n].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateAmount),t.currentLimits[n].isModified=o.isModified,t.currentLimits[n].expiryDate=`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})),t.currentLimits=j(t.currentLimits)}))},j=e=>{const t={Daily:0,Weekly:1,Monthly:2};return e.sort(((e,r)=>t[e.period]-t[r.period])),e},$=(e,t)=>{if(e)r(12,C=t);else if(c){const e=c[G[_].callValue].filter((e=>e.period===A))[0],t=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount);let i=n("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}",n(`gamingLimits.${_}`).toLowerCase()).replace("{updatedAmount}",t).replace("{currency}",D[e.currency]||e.currency).replace("{selectedPeriod}",n(`gamingLimits.${A}`).toLowerCase());r(12,C=e.isModified?`${n("popupPendingUpdate")} ${new Date(e.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:i)}else console.error("Couldn't populate popupContent");r(11,x=!0)},F=e=>{r(10,I=!0),r(7,H=!0);let t=new URL(`/v2/player/${d}/limits/${{wager:"wagering",loss:"loss",deposit:"deposit"}[e.limitType]}?periods=${e.period}`,y),n={method:"DELETE",headers:{"X-SessionID":f,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,n).then((e=>e.json())).then((e=>{R()})).catch((e=>{console.log(e),r(7,H=!1),r(8,O=!0)}))},z=()=>{var e;e=h,nr.set(e)};return e.$$set=e=>{"lang"in e&&r(21,h=e.lang),"currency"in e&&r(22,p=e.currency),"limits"in e&&r(23,m=e.limits),"session"in e&&r(24,f=e.session),"userid"in e&&r(25,d=e.userid),"endpoint"in e&&r(26,y=e.endpoint),"clientstyling"in e&&r(27,g=e.clientstyling),"clientstylingurl"in e&&r(28,v=e.clientstylingurl),"translationurl"in e&&r(29,E=e.translationurl)},e.$$.update=()=>{8388608&e.$$.dirty[0]&&m&&(m.split(" ").forEach((e=>{G[e]?w.push(G[e]):console.error(`Unknown limit: ${e}`)})),r(1,_=w[0].value),r(2,A=G[_].periods[0]),r(5,S=w.length>1),r(6,P=G[_].periods.length>1)),2097152&e.$$.dirty[0]&&h&&z(),117440512&e.$$.dirty[0]&&d&&f&&y&&R(),268435457&e.$$.dirty[0]&&v&&a&&(()=>{let e=new URL(v),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1),setTimeout((()=>{}),500)}))})(),134217729&e.$$.dirty[0]&&g&&a&&(()=>{let e=document.createElement("style");e.innerHTML=g,a.appendChild(e)})(),536870912&e.$$.dirty[0]&&E&&fetch(E).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{_r(t,e[t])}))})).catch((e=>{console.log(e)}))},[a,_,A,l,u,S,P,H,O,N,I,x,C,n,T,w,()=>{r(2,A=G[_].periods[0]),r(6,P=G[_].periods.length>1)},()=>{if(!(l>0))return;r(10,I=!0),r(7,H=!0);let e=new URL(`/v2/player/${d}/limits`,y);const t={};t[G[_].callValue]=[{period:A,amount:l,currency:p}];let n={method:"PUT",headers:{"X-SessionID":f,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,n).then((e=>(e.status>=300&&r(9,N=!0),e.json()))).then((e=>{R(),N&&U(e)})).catch((e=>{console.log(e),r(7,H=!1),r(8,O=!0)}))},()=>{const e=999999999999999;l>e&&r(3,l=e);const t=l-Math.floor(l)==0;l>0&&t?u.removeAttribute("disabled"):u.setAttribute("disabled","true")},F,()=>{r(11,x=r(10,I=!1))},h,p,m,f,d,y,g,v,E,e=>F(e),function(){_=L(this),r(1,_),r(15,w)},function(){A=L(this),r(2,A),r(1,_)},function(){l=b(this.value),r(3,l)},function(e){B[e?"unshift":"push"]((()=>{u=e,r(4,u)}))},function(e){B[e?"unshift":"push"]((()=>{a=e,r(0,a)}))}]}class ii extends F{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A))}input:focus{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A));border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}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-page-2-gmcore{color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitWrapper{background:var(--emfe-w-color-white, #fff);font-size:1.3rem;border:1px solid var(--emfe-w-color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emfe-w-color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{font-size:1.3rem;color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A))}.PendingLimit{color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A))}.LimitTitle{font-size:1.5rem}.PopupOverlay{position:absolute;top:0;left:0;background-color:rgba(0, 0, 0, 0.5);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:var(--emfe-w-color-white, #FFFFFF);font-size:1rem;color:var(--emfe-w-color-black, #000000);width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emfe-w-color-white, #FFFFFF);font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:var(--emfe-w-color-gray-300, #58586B)}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}',this.shadowRoot.appendChild(t),$(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},ni,ri,o,{lang:21,currency:22,limits:23,session:24,userid:25,endpoint:26,clientstyling:27,clientstylingurl:28,translationurl:29},null,[-1,-1]),e&&(e.target&&u(e.target,this,e.anchor),e.props&&(this.$set(e.props),M()))}static get observedAttributes(){return["lang","currency","limits","session","userid","endpoint","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[21]}set lang(e){this.$$set({lang:e}),M()}get currency(){return this.$$.ctx[22]}set currency(e){this.$$set({currency:e}),M()}get limits(){return this.$$.ctx[23]}set limits(e){this.$$set({limits:e}),M()}get session(){return this.$$.ctx[24]}set session(e){this.$$set({session:e}),M()}get userid(){return this.$$.ctx[25]}set userid(e){this.$$set({userid:e}),M()}get endpoint(){return this.$$.ctx[26]}set endpoint(e){this.$$set({endpoint:e}),M()}get clientstyling(){return this.$$.ctx[27]}set clientstyling(e){this.$$set({clientstyling:e}),M()}get clientstylingurl(){return this.$$.ctx[28]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),M()}get translationurl(){return this.$$.ctx[29]}set translationurl(e){this.$$set({translationurl:e}),M()}}return!customElements.get("player-account-gaming-limits-page-2-gmcore")&&customElements.define("player-account-gaming-limits-page-2-gmcore",ii),ii}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function r(){return Object.create(null)}function n(e){e.forEach(t)}function i(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function s(t,...r){if(null==t)return e;const n=t.subscribe(...r);return n.unsubscribe?()=>n.unsubscribe():n}const a="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function l(e,t){e.appendChild(t)}function u(e,t,r){e.insertBefore(t,r||null)}function c(e){e.parentNode&&e.parentNode.removeChild(e)}function h(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function p(e){return document.createElement(e)}function m(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function f(e){return document.createTextNode(e)}function d(){return f(" ")}function y(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function g(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function b(e){return""===e?null:+e}function v(e,t){t=""+t,e.data!==t&&(e.data=t)}function E(e,t){e.value=null==t?"":t}function T(e,t,r,n){null==r?e.style.removeProperty(t):e.style.setProperty(t,r,n?"important":"")}function w(e,t,r){for(let r=0;r<e.options.length;r+=1){const n=e.options[r];if(n.__value===t)return void(n.selected=!0)}r&&void 0===t||(e.selectedIndex=-1)}function L(e){const t=e.querySelector(":checked");return t&&t.__value}function _(e){const t={};for(const r of e)t[r.name]=r.value;return t}let A;function S(e){A=e}const P=[],B=[];let H=[];const O=[],N=Promise.resolve();let I=!1;function x(e){H.push(e)}const C=new Set;let D=0;function M(){if(0!==D)return;const e=A;do{try{for(;D<P.length;){const e=P[D];D++,S(e),U(e.$$)}}catch(e){throw P.length=0,D=0,e}for(S(null),P.length=0,D=0;B.length;)B.pop()();for(let e=0;e<H.length;e+=1){const t=H[e];C.has(t)||(C.add(t),t())}H.length=0}while(P.length);for(;O.length;)O.pop()();I=!1,C.clear(),S(e)}function U(e){if(null!==e.fragment){e.update(),n(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(x)}}const R=new Set;function k(e,t){const r=e.$$;null!==r.fragment&&(!function(e){const t=[],r=[];H.forEach((n=>-1===e.indexOf(n)?t.push(n):r.push(n))),r.forEach((e=>e())),H=t}(r.after_update),n(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function j(e,t){-1===e.$$.dirty[0]&&(P.push(e),I||(I=!0,N.then(M)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function $(o,s,a,l,u,h,p,m=[-1]){const f=A;S(o);const d=o.$$={fragment:null,ctx:[],props:h,update:e,not_equal:u,bound:r(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(f?f.$$.context:[])),callbacks:r(),dirty:m,skip_bound:!1,root:s.target||f.$$.root};p&&p(d.root);let y=!1;if(d.ctx=a?a(o,s.props||{},((e,t,...r)=>{const n=r.length?r[0]:t;return d.ctx&&u(d.ctx[e],d.ctx[e]=n)&&(!d.skip_bound&&d.bound[e]&&d.bound[e](n),y&&j(o,e)),t})):[],d.update(),y=!0,n(d.before_update),d.fragment=!!l&&l(d.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);d.fragment&&d.fragment.l(e),e.forEach(c)}else d.fragment&&d.fragment.c();s.intro&&((g=o.$$.fragment)&&g.i&&(R.delete(g),g.i(b))),function(e,r,o,s){const{fragment:a,after_update:l}=e.$$;a&&a.m(r,o),s||x((()=>{const r=e.$$.on_mount.map(t).filter(i);e.$$.on_destroy?e.$$.on_destroy.push(...r):n(r),e.$$.on_mount=[]})),l.forEach(x)}(o,s.target,s.anchor,s.customElement),M()}var g,b;S(f)}let F;"function"==typeof HTMLElement&&(F=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){n(this.$$.on_disconnect)}$destroy(){k(this,1),this.$destroy=e}$on(t,r){if(!i(r))return e;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const e=n.indexOf(r);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});const G={deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",periods:["Daily","Weekly","Monthly"]},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",periods:["Daily","Weekly","Monthly"]},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",periods:["Monthly"]},stake:{title:"Stake Limit",value:"stake",callValue:"stakeLimit",periods:["Monthly"]}},z=[];function V(t,r=e){let n;const i=new Set;function s(e){if(o(t,e)&&(t=e,n)){const e=!z.length;for(const e of i)e[1](),z.push(e,t);if(e){for(let e=0;e<z.length;e+=2)z[e][0](z[e+1]);z.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const l=[o,a];return i.add(l),1===i.size&&(n=r(s)||e),o(t),()=>{i.delete(l),0===i.size&&n&&(n(),n=null)}}}}function W(t,r,o){const a=!Array.isArray(t),l=a?[t]:t,u=r.length<2;return c=t=>{let o=!1;const c=[];let h=0,p=e;const m=()=>{if(h)return;p();const n=r(a?c[0]:c,t);u?t(n):p=i(n)?n:e},f=l.map(((e,t)=>s(e,(e=>{c[t]=e,h&=~(1<<t),o&&m()}),(()=>{h|=1<<t}))));return o=!0,m(),function(){n(f),p(),o=!1}},{subscribe:V(o,c).subscribe};var c}var X=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===K}(e)}(e)};var K="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Y(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ee((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function Z(e,t,r){return e.concat(t).map((function(e){return Y(e,r)}))}function q(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function J(e,t){try{return t in e}catch(e){return!1}}function Q(e,t,r){var n={};return r.isMergeableObject(e)&&q(e).forEach((function(t){n[t]=Y(e[t],r)})),q(t).forEach((function(i){(function(e,t){return J(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(J(e,i)&&r.isMergeableObject(t[i])?n[i]=function(e,t){if(!t.customMerge)return ee;var r=t.customMerge(e);return"function"==typeof r?r:ee}(i,r)(e[i],t[i],r):n[i]=Y(t[i],r))})),n}function ee(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||Z,r.isMergeableObject=r.isMergeableObject||X,r.cloneUnlessOtherwiseSpecified=Y;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):Q(e,t,r):Y(t,r)}ee.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return ee(e,r,t)}),{})};var te=ee,re=function(e,t){return re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},re(e,t)};function ne(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}re(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var ie,oe,se,ae=function(){return ae=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ae.apply(this,arguments)};function le(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function ue(e){return e.type===oe.literal}function ce(e){return e.type===oe.argument}function he(e){return e.type===oe.number}function pe(e){return e.type===oe.date}function me(e){return e.type===oe.time}function fe(e){return e.type===oe.select}function de(e){return e.type===oe.plural}function ye(e){return e.type===oe.pound}function ge(e){return e.type===oe.tag}function be(e){return!(!e||"object"!=typeof e||e.type!==se.number)}function ve(e){return!(!e||"object"!=typeof e||e.type!==se.dateTime)}"function"==typeof SuppressedError&&SuppressedError,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"}(ie||(ie={})),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"}(oe||(oe={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(se||(se={}));var Ee=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Te=/(?:[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 we(e){var t={};return e.replace(Te,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"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=4===r?"short":5===r?"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 Le=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var _e=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ae=/^(@+)?(\+|#+)?[rs]?$/g,Se=/(\*)(0+)|(#+)(0+)|(0+)/g,Pe=/^(0+)$/;function Be(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Ae,(function(e,r,n){return"string"!=typeof n?(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+("string"==typeof n?n.length:0)),""})),t}function He(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 Oe(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Pe.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ne(e){var t=He(e);return t||{}}function Ie(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.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=i.options[0].replace(/^(.*?)-/,"");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=ae(ae(ae({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return ae(ae({},e),Ne(t))}),{}));continue;case"engineering":t=ae(ae(ae({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return ae(ae({},e),Ne(t))}),{}));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(i.options[0]);continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Se,(function(e,r,n,i,o,s){if(r)t.minimumIntegerDigits=n.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(Pe.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(_e.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(_e,(function(e,r,n,i,o,s){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""}));var o=i.options[0];"w"===o?t=ae(ae({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=ae(ae({},t),Be(o)))}else if(Ae.test(i.stem))t=ae(ae({},t),Be(i.stem));else{var s=He(i.stem);s&&(t=ae(ae({},t),s));var a=Oe(i.stem);a&&(t=ae(ae({},t),a))}}return t}var xe,Ce={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function De(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r,n=e.language;return"root"!==n&&(r=e.maximize().region),(Ce[r||""]||Ce[n||""]||Ce["".concat(n,"-001")]||Ce["001"])[0]}var Me=new RegExp("^".concat(Ee.source,"*")),Ue=new RegExp("".concat(Ee.source,"*$"));function Re(e,t){return{start:e,end:t}}var ke=!!String.prototype.startsWith,je=!!String.fromCodePoint,$e=!!Object.fromEntries,Fe=!!String.prototype.codePointAt,Ge=!!String.prototype.trimStart,ze=!!String.prototype.trimEnd,Ve=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},We=!0;try{We="a"===(null===(xe=et("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===xe?void 0:xe[0])}catch(e){We=!1}var Xe,Ke=ke?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Ye=je?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",i=e.length,o=0;i>o;){if((r=e[o++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Ze=$e?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r],o=i[0],s=i[1];t[o]=s}return t},qe=Fe?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||t>=r)){var n,i=e.charCodeAt(t);return i<55296||i>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?i:n-56320+(i-55296<<10)+65536}},Je=Ge?function(e){return e.trimStart()}:function(e){return e.replace(Me,"")},Qe=ze?function(e){return e.trimEnd()}:function(e){return e.replace(Ue,"")};function et(e,t){return new RegExp(e,t)}if(We){var tt=et("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Xe=function(e,t){var r;return tt.lastIndex=t,null!==(r=tt.exec(e)[1])&&void 0!==r?r:""}}else Xe=function(e,t){for(var r=[];;){var n=qe(e,t);if(void 0===n||it(n)||ot(n))break;r.push(n),t+=n>=65536?2:1}return Ye.apply(void 0,r)};var rt=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i=this.char();if(123===i){if((o=this.parseArgument(e,r)).err)return o;n.push(o.val)}else{if(125===i&&e>0)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(ie.UNMATCHED_CLOSING_TAG,Re(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&nt(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{var s=this.clonePosition();this.bump(),n.push({type:oe.pound,location:Re(s,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:oe.literal,value:"<".concat(n,"/>"),location:Re(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!nt(this.char()))return this.error(ie.INVALID_TAG,Re(s,this.clonePosition()));var a=this.clonePosition();return n!==this.parseTagName()?this.error(ie.UNMATCHED_CLOSING_TAG,Re(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:oe.tag,value:n,children:o,location:Re(r,this.clonePosition())},err:null}:this.error(ie.INVALID_TAG,Re(s,this.clonePosition())))}return this.error(ie.UNCLOSED_TAG,Re(r,this.clonePosition()))}return this.error(ie.INVALID_TAG,Re(r,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||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);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{var o=this.tryParseUnquoted(e,t);if(o)n+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;n+=s}}}var a=Re(r,this.clonePosition());return{val:{type:oe.literal,value:n,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(nt(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return Ye.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),Ye(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ie.EXPECT_ARGUMENT_CLOSING_BRACE,Re(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(ie.EMPTY_ARGUMENT,Re(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(ie.MALFORMED_ARGUMENT,Re(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ie.EXPECT_ARGUMENT_CLOSING_BRACE,Re(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:oe.argument,value:n,location:Re(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ie.EXPECT_ARGUMENT_CLOSING_BRACE,Re(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(ie.MALFORMED_ARGUMENT,Re(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Xe(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:Re(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(ie.EXPECT_ARGUMENT_TYPE,Re(o,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((g=this.parseSimpleArgStyleIfPossible()).err)return g;if(0===(m=Qe(g.val)).length)return this.error(ie.EXPECT_ARGUMENT_STYLE,Re(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:Re(u,this.clonePosition())}}if((b=this.tryParseArgumentClose(n)).err)return b;var c=Re(n,this.clonePosition());if(l&&Ke(null==l?void 0:l.style,"::",0)){var h=Je(l.style.slice(2));if("number"===s)return(g=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?g:{val:{type:oe.number,value:r,location:c,style:g.val},err:null};if(0===h.length)return this.error(ie.EXPECT_DATE_TIME_SKELETON,c);var p=h;this.locale&&(p=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if("j"===i){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=De(t);for("H"!=l&&"k"!=l||(a=0);a-- >0;)r+="a";for(;s-- >0;)r=l+r}else r+="J"===i?"H":i}return r}(h,this.locale));var m={type:se.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?we(p):{}};return{val:{type:"date"===s?oe.date:oe.time,value:r,location:c,style:m},err:null}}return{val:{type:"number"===s?oe.number:"date"===s?oe.date:oe.time,value:r,location:c,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ie.EXPECT_SELECT_ARGUMENT_OPTIONS,Re(f,ae({},f)));this.bumpSpace();var d=this.parseIdentifierIfPossible(),y=0;if("select"!==s&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(ie.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Re(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(ie.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ie.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),d=this.parseIdentifierIfPossible(),y=g.val}var b,v=this.tryParsePluralOrSelectOptions(e,s,t,d);if(v.err)return v;if((b=this.tryParseArgumentClose(n)).err)return b;var E=Re(n,this.clonePosition());return"select"===s?{val:{type:oe.select,value:r,options:Ze(v.val),location:E},err:null}:{val:{type:oe.plural,value:r,options:Ze(v.val),offset:y,pluralType:"plural"===s?"cardinal":"ordinal",location:E},err:null};default:return this.error(ie.INVALID_ARGUMENT_TYPE,Re(o,a))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(ie.EXPECT_ARGUMENT_CLOSING_BRACE,Re(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ie.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Re(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(Le).filter((function(e){return e.length>0}));r<n.length;r++){var i=n[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],s=i.slice(1),a=0,l=s;a<l.length;a++)if(0===l[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:s})}return t}(e)}catch(e){return this.error(ie.INVALID_NUMBER_SKELETON,t)}return{val:{type:se.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Ie(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i,o=!1,s=[],a=new Set,l=n.value,u=n.location;;){if(0===l.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var h=this.tryParseDecimalInteger(ie.EXPECT_PLURAL_ARGUMENT_SELECTOR,ie.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=Re(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}if(a.has(l))return this.error("select"===t?ie.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ie.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ie.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ie.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Re(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,r);if(m.err)return m;var f=this.tryParseArgumentClose(p);if(f.err)return f;s.push([l,{value:m.val,location:Re(p,this.clonePosition())}]),a.add(l),this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,u=i.location}return 0===s.length?this.error("select"===t?ie.EXPECT_SELECT_ARGUMENT_SELECTOR:ie.EXPECT_PLURAL_ARGUMENT_SELECTOR,Re(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(ie.MISSING_OTHER_CLAUSE,Re(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;i=!0,o=10*o+(s-48),this.bump()}var a=Re(n,this.clonePosition());return i?Ve(o*=r)?{val:o,err:null}:this.error(t,a):this.error(e,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 e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=qe(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(Ke(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&it(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function nt(e){return e>=97&&e<=122||e>=65&&e<=90}function it(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function ot(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||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||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||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||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||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||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||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||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||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||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function st(e){e.forEach((function(e){if(delete e.location,fe(e)||de(e))for(var t in e.options)delete e.options[t].location,st(e.options[t].value);else he(e)&&be(e.style)||(pe(e)||me(e))&&ve(e.style)?delete e.style.location:ge(e)&&st(e.children)}))}function at(e,t){void 0===t&&(t={}),t=ae({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new rt(e,t).parse();if(r.err){var n=SyntaxError(ie[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||st(r.val),r.val}function lt(e,t){var r=t&&t.cache?t.cache:yt,n=t&&t.serializer?t.serializer:mt;return(t&&t.strategy?t.strategy:pt)(e,{cache:r,serializer:n})}function ut(e,t,r,n){var i,o=null==(i=n)||"number"==typeof i||"boolean"==typeof i?n:r(n),s=t.get(o);return void 0===s&&(s=e.call(this,n),t.set(o,s)),s}function ct(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return void 0===o&&(o=e.apply(this,n),t.set(i,o)),o}function ht(e,t,r,n,i){return r.bind(t,e,n,i)}function pt(e,t){return ht(e,this,1===e.length?ut:ct,t.cache.create(),t.serializer)}var mt=function(){return JSON.stringify(arguments)};function ft(){this.cache=Object.create(null)}ft.prototype.get=function(e){return this.cache[e]},ft.prototype.set=function(e,t){this.cache[e]=t};var dt,yt={create:function(){return new ft}},gt={variadic:function(e,t){return ht(e,this,ct,t.cache.create(),t.serializer)},monadic:function(e,t){return ht(e,this,ut,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(dt||(dt={}));var bt,vt=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return ne(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Et=function(e){function t(t,r,n,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),dt.INVALID_VALUE,i)||this}return ne(t,e),t}(vt),Tt=function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),dt.INVALID_VALUE,n)||this}return ne(t,e),t}(vt),wt=function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),dt.MISSING_VALUE,r)||this}return ne(t,e),t}(vt);function Lt(e){return"function"==typeof e}function _t(e,t,r,n,i,o,s){if(1===e.length&&ue(e[0]))return[{type:bt.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(ue(c))a.push({type:bt.literal,value:c.value});else if(ye(c))"number"==typeof o&&a.push({type:bt.literal,value:r.getNumberFormat(t).format(o)});else{var h=c.value;if(!i||!(h in i))throw new wt(h,s);var p=i[h];if(ce(c))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),a.push({type:"string"==typeof p?bt.literal:bt.object,value:p});else if(pe(c)){var m="string"==typeof c.style?n.date[c.style]:ve(c.style)?c.style.parsedOptions:void 0;a.push({type:bt.literal,value:r.getDateTimeFormat(t,m).format(p)})}else if(me(c)){m="string"==typeof c.style?n.time[c.style]:ve(c.style)?c.style.parsedOptions:n.time.medium;a.push({type:bt.literal,value:r.getDateTimeFormat(t,m).format(p)})}else if(he(c)){(m="string"==typeof c.style?n.number[c.style]:be(c.style)?c.style.parsedOptions:void 0)&&m.scale&&(p*=m.scale||1),a.push({type:bt.literal,value:r.getNumberFormat(t,m).format(p)})}else{if(ge(c)){var f=c.children,d=c.value,y=i[d];if(!Lt(y))throw new Tt(d,"function",s);var g=y(_t(f,t,r,n,i,o).map((function(e){return e.value})));Array.isArray(g)||(g=[g]),a.push.apply(a,g.map((function(e){return{type:"string"==typeof e?bt.literal:bt.object,value:e}})))}if(fe(c)){if(!(b=c.options[p]||c.options.other))throw new Et(c.value,p,Object.keys(c.options),s);a.push.apply(a,_t(b.value,t,r,n,i))}else if(de(c)){var b;if(!(b=c.options["=".concat(p)])){if(!Intl.PluralRules)throw new vt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',dt.MISSING_INTL_API,s);var v=r.getPluralRules(t,{type:c.pluralType}).select(p-(c.offset||0));b=c.options[v]||c.options.other}if(!b)throw new Et(c.value,p,Object.keys(c.options),s);a.push.apply(a,_t(b.value,t,r,n,i,p-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var r=e[e.length-1];return r&&r.type===bt.literal&&t.type===bt.literal?r.value+=t.value:e.push(t),e}),[])}(a)}function At(e,t){return t?Object.keys(e).reduce((function(r,n){var i,o;return r[n]=(i=e[n],(o=t[n])?ae(ae(ae({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=ae(ae({},i[t]),o[t]||{}),e}),{})):i),r}),ae({},e)):e}function St(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(bt||(bt={}));var Pt=function(){function e(t,r,n,i){var o,s=this;if(void 0===r&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce((function(e,t){return e.length&&t.type===bt.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return _t(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==i?void 0:i.ignoreTag,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=At(e.formats,n),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:lt((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,le([void 0],t,!1)))}),{cache:St(o.number),strategy:gt.variadic}),getDateTimeFormat:lt((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,le([void 0],t,!1)))}),{cache:St(o.dateTime),strategy:gt.variadic}),getPluralRules:lt((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,le([void 0],t,!1)))}),{cache:St(o.pluralRules),strategy:gt.variadic})})}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(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=at,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}();const Bt={},Ht=(e,t,r)=>r?(t in Bt||(Bt[t]={}),e in Bt[t]||(Bt[t][e]=r),r):r,Ot=(e,t)=>{if(null==t)return;if(t in Bt&&e in Bt[t])return Bt[t][e];const r=tr(t);for(let n=0;n<r.length;n++){const i=Ct(r[n],e);if(i)return Ht(e,t,i)}};let Nt;const It=V({});function xt(e){return e in Nt}function Ct(e,t){if(!xt(e))return null;const r=function(e){return Nt[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let e=0;e<r.length;e++)if("object"==typeof n){if(e>0){const t=r.slice(e,r.length).join(".");if(t in n){n=n[t];break}}n=n[r[e]]}else n=void 0;return n}(r,t)}function Dt(e,...t){delete Bt[e],It.update((r=>(r[e]=te.all([r[e]||{},...t]),r)))}W([It],(([e])=>Object.keys(e))),It.subscribe((e=>Nt=e));const Mt={};function Ut(e){return Mt[e]}function Rt(e){return null!=e&&tr(e).some((e=>{var t;return null==(t=Ut(e))?void 0:t.size}))}function kt(e,t){const r=Promise.all(t.map((t=>(function(e,t){Mt[e].delete(t),0===Mt[e].size&&delete Mt[e]}(e,t),t().then((e=>e.default||e))))));return r.then((t=>Dt(e,...t)))}const jt={};function $t(e){if(!Rt(e))return e in jt?jt[e]:Promise.resolve();const t=function(e){return tr(e).map((e=>{const t=Ut(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return jt[e]=Promise.all(t.map((([e,t])=>kt(e,t)))).then((()=>{if(Rt(e))return $t(e);delete jt[e]})),jt[e]}const Ft={fallbackLocale:null,loadingDelay:200,formats:{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"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Gt(){return Ft}const zt=V(!1);var Vt=Object.defineProperty,Wt=Object.defineProperties,Xt=Object.getOwnPropertyDescriptors,Kt=Object.getOwnPropertySymbols,Yt=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,qt=(e,t,r)=>t in e?Vt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let Jt;const Qt=V(null);function er(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function tr(e,t=Gt().fallbackLocale){const r=er(e);return t?[...new Set([...r,...er(t)])]:r}function rr(){return null!=Jt?Jt:void 0}Qt.subscribe((e=>{Jt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const nr=(ir=((e,t)=>{for(var r in t||(t={}))Yt.call(t,r)&&qt(e,r,t[r]);if(Kt)for(var r of Kt(t))Zt.call(t,r)&&qt(e,r,t[r]);return e})({},Qt),Wt(ir,Xt({set:e=>{if(e&&function(e){if(null==e)return;const t=tr(e);for(let e=0;e<t.length;e++){const r=t[e];if(xt(r))return r}}(e)&&Rt(e)){const{loadingDelay:t}=Gt();let r;return"undefined"!=typeof window&&null!=rr()&&t?r=window.setTimeout((()=>zt.set(!0)),t):zt.set(!0),$t(e).then((()=>{Qt.set(e)})).finally((()=>{clearTimeout(r),zt.set(!1)}))}return Qt.set(e)}})));var ir;const or=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}};var sr=Object.defineProperty,ar=Object.getOwnPropertySymbols,lr=Object.prototype.hasOwnProperty,ur=Object.prototype.propertyIsEnumerable,cr=(e,t,r)=>t in e?sr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,hr=(e,t)=>{for(var r in t||(t={}))lr.call(t,r)&&cr(e,r,t[r]);if(ar)for(var r of ar(t))ur.call(t,r)&&cr(e,r,t[r]);return e},pr=(e,t)=>{var r={};for(var n in e)lr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ar)for(var n of ar(e))t.indexOf(n)<0&&ur.call(e,n)&&(r[n]=e[n]);return r};const mr=(e,t)=>{const{formats:r}=Gt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},fr=or((e=>{var t=e,{locale:r,format:n}=t,i=pr(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=mr("number",n)),new Intl.NumberFormat(r,i)})),dr=or((e=>{var t=e,{locale:r,format:n}=t,i=pr(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=mr("date",n):0===Object.keys(i).length&&(i=mr("date","short")),new Intl.DateTimeFormat(r,i)})),yr=or((e=>{var t=e,{locale:r,format:n}=t,i=pr(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=mr("time",n):0===Object.keys(i).length&&(i=mr("time","short")),new Intl.DateTimeFormat(r,i)})),gr=or(((e,t=rr())=>new Pt(e,t,Gt().formats,{ignoreTag:Gt().ignoreTag}))),br=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=rr(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ot(e,l);if(c){if("string"!=typeof c)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}else c=null!=(o=null!=(i=null==(n=(r=Gt()).handleMissingMessage)?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))?i:u)?o:e;if(!a)return c;let h=c;try{h=gr(c,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},vr=(e,t)=>((e={})=>{var t=e,{locale:r=rr()}=t,n=pr(t,["locale"]);return yr(hr({locale:r},n))})(t).format(e),Er=(e,t)=>((e={})=>{var t=e,{locale:r=rr()}=t,n=pr(t,["locale"]);return dr(hr({locale:r},n))})(t).format(e),Tr=(e,t)=>((e={})=>{var t=e,{locale:r=rr()}=t,n=pr(t,["locale"]);return fr(hr({locale:r},n))})(t).format(e),wr=(e,t=rr())=>Ot(e,t),Lr=W([nr,It],(()=>br));function _r(e,t){Dt(e,t)}W([nr],(()=>vr)),W([nr],(()=>Er)),W([nr],(()=>Tr)),W([nr,It],(()=>wr));const Ar={en:{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",adjectiveMonthly:"monthly",adjectiveWeekly:"weekly",adjectiveDaily:"daily",None:"",noPeriod:".",per:"per",updateText:"will be applied on",removedLimitText:"The limit will be removed on",noLimitText:"There is currently no limit set.",lugasPrivacy:"The cross-provider LUGAS limit is not visible to providers.",limitType:"Limit Type",period:"Period",amount:"Amount",minutes:"minutes",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit",stake:"Stake Limit",lugas:"Current Deposit Limit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",popupPendingUpdate:"We have received the request to change the limit. Please be aware that the update will only come into effect on",popupImmediateUpdate:"Your new {selectedLimit} is {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limit changed",popupSuccess:"Successful",popupError:"There was a problem while setting the limit, please try again.",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",kycNeeded2:". 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.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE"},de:{loadingText:"Lädt ...",Monthly:"pro Monat",Weekly:"pro Woche",Daily:"pro Tag",adjectiveMonthly:"Monatlich",adjectiveWeekly:"Wöchentlich",adjectiveDaily:"Täglich",None:"",noPeriod:".",per:"pro",updateText:"Anwendung am",removedLimitText:"Entfernung des Limits am",noLimitText:"Derzeit ist kein Limit gesetzt.",lugasPrivacy:"Das anbieterübergreifende LUGAS-Limit ist für Anbieter nicht einsehbar.",limitType:"Limitart",period:"Zeitraum",amount:"Betrag",minutes:"minute",new:"Neu",limit:"Limit",setLimit:"LIMIT SETZEN",loss:"Verlustlimit",deposit:"Einzahlungslimit",wager:"Einsatzlimit",stake:"Einsatzlimit",lugas:"Aktuelles Einzahlungslimit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ENTFERNEN",popupPendingUpdate:"Wir haben die Anfrage zur Änderung des Limits erhalten. Bitte beachten Sie, dass die Änderung erst in Kraft tritt am",popupImmediateUpdate:"Ihre neues Limit {selectedLimit} beträgt {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limit geändert!",popupSuccess:"Erfolgreich",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",kycNeeded2:". 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.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE"},hr:{loadingText:"Učitavanje",Monthly:"mjesečno",Weekly:"tjedno",Daily:"dnevno",adjectiveMonthly:"mjesečno",adjectiveWeekly:"tjedno",adjectiveDaily:"dnevno",None:"",noPeriod:".",per:"po",updateText:"will be applied on",removedLimitText:"Ograničenje će biti uklonjeno dana",noLimitText:"Trenutno nije postavljeno ograničenje.",lugasPrivacy:"Ograničenje LUGAS za više pružatelja nije vidljivo pružateljima.",limitType:"Vrsta ograničenja",period:"Razdoblje",amount:"Iznos",minutes:"minute",new:"Novo",limit:"ograničenje",setLimit:"POSTAVITE OGRANIČENJE",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wager:"Ograničenje igranja",stake:"Ograničenje uloga",lugas:"Trenutno ograničenje uplate",sessionLimit:"Vremenska ograničenja jedne sesije",cumulativeSession:"Vremensko ograničenje razdoblja",removeLimit:"OTKAŽI",popupPendingUpdate:"Primili smo zahtjev za promjenu limita. Imajte na umu da će ažuriranje stupiti na snagu tek",popupImmediateUpdate:"Vaš novi {selectedLimit} je {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Ograničenje promijenjeno",popupSuccess:"Uspješno",kycNotNeeded:"Ograničenje uplate je uspješno postavljeno. Svojim ograničenjima možete upravljati u bilo kojem trenutku u postavkama računa.",kycNeeded1:"We were able to set your monthly deposit limit to",kycNeeded2:". Kako bi povećali ograničenje na željeni iznos",uploadDocumentsButton:"UČITAJ DOKUMENTE",closeButton:"ZATVORI",popupError:"Došlo je do problema prilikom postavljanja ograničenja"},sl:{loadingText:"Nalaga...",Monthly:"na mesec",Weekly:"na teden",Daily:"na dan",adjectiveMonthly:"Mesečno",adjectiveWeekly:"Tedensko",adjectiveDaily:"Dnevno",None:"",noPeriod:".",per:"na",updateText:"uporabljeno bo na",removedLimitText:"Limit bo odstranjen",noLimitText:"Trenutno ni določen noben limit.",lugasPrivacy:"Na vse ponudnike vezan limit LUGAS, ponudnikom ni v pogled.",limitType:"Vrsta limita",period:"Časovno obdobje",amount:"Znesek",minutes:"minutes",new:"Novo",limit:"Limit",setLimit:"NASTAVITE LIMIT",loss:"Limit izgube",deposit:"Limit vplačila",wager:"Limit igralnih avtomatov",stake:"Limit vložkov",lugas:"Trenuten vplačilni limit",sessionLimit:"Single Session Time Limits",cumulativeSession:"Period Time Limit",removeLimit:"ODSTRANI",popupPendingUpdate:"Prejeli smo prošnjo za spremembo limita. Prosimo upoštevajte, da sprememba začne veljati šele",popupImmediateUpdate:"Vaš novi {selectedLimit} znaša {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Limit spremenjen!",popupSuccess:"Uspešno",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",kycNeeded2:". 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.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE"},pl:{loadingText:"Ładowanie...",Monthly:"na miesiąc",Weekly:"na tydzień",Daily:"na dzień",adjectiveMonthly:"Miesięcznie",adjectiveWeekly:"Tygodniowo",adjectiveDaily:"Codzienny",None:"",noPeriod:".",per:"za",updateText:"Zostanie zastosowany w dniu",removedLimitText:"Limit zostanie usunięty",noLimitText:"Obecnie nie posiadasz limitu.",lugasPrivacy:"Świadczeniodawcy nie widzą wzajemnie ustalonego limitu LUGAS.",limitType:"Rodzaj limitu",period:"Przedział czasowy",amount:"Kwota",minutes:"minutes",new:"Nowe",limit:"Limit",setLimit:"USTAW LIMIT",loss:"Limit Strat",deposit:"Limit wpłat",wager:"Limit na gre na automatach",stake:"Limit stawek",lugas:"Obecny limit depozytów",sessionLimit:"USUŃ",cumulativeSession:"Period Time Limit",removeLimit:"REMOVE",popupPendingUpdate:"Otrzymaliśmy prośbę o zmianę limitu. Informujemy, że aktualizacja wejdzie w życie w dniu",popupImmediateUpdate:"Twój nowy {selectedLimit} jest {aktualizateAmount} {waluta} {selectederiod}",popupTitle:"Limit zmieniony!",popupSuccess:"Zakończone powodzeniem",kycNotNeeded:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycNeeded1:"We were able to set your monthly deposit limit to",kycNeeded2:". 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.",uploadDocumentsButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE"},fr:{loadingText:"Chargement, veuillez patienter...",Monthly:"mois",Weekly:"semaine",Daily:"jour",per:"par",updateText:"sera appliqué sur",noLimitText:"Aucune limite n'est actuellement définie.",limitType:"Limit Type",period:"Period",amount:"Amount",new:"New",limit:"limit",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit"},ro:{loadingText:"Se incarca, va rugam asteptati...",Monthly:"luna",Weekly:"saptamana",Daily:"zi",per:"pe",updateText:"va intra in vigoare incepand cu",noLimitText:"Momentan nu este setata o limita.",limitType:"Tip Limita",period:"Perioada",amount:"Valoare",new:"Limita pe",limit:"noua",setLimit:"ACCEPTA LIMITA",loss:"Limita de Pierdere",deposit:"Limita de Depunere",wager:"Limita de Pariere",removeLimit:"ELIMINA",popupPendingUpdate:"Am primit cererea de a schimba limita. Schimbarea va intra in vigoare in data de",popupImmediateUpdate:"Noua {selectedLimit} este {updatedAmount}{currency} pe {selectedPeriod}",popupTitle:"Limita schimbata",popupSuccess:"Succes!"},es:{loadingText:"Cargando",Monthly:"por mes",Weekly:"por semana",Daily:"por día",adjectiveMonthly:"mensual",adjectiveWeekly:"semanal",adjectiveDaily:"diario",None:"Ninguno",noPeriod:"Sin periodo",per:"por",updateText:"será aplicado en",removedLimitText:"El límite será retirado en",noLimitText:"Actualmente no hay un límite establecido.",lugasPrivacy:"El límite del proveedor-cruzado LUGAS no es visible para los proveedores.",limitType:"Tipo de Límite",period:"Periodo",amount:"Monto",minutes:"minutos",new:"Nuevo",limit:"límite",setLimit:"ESTABELECE UN LÍMITE",loss:"Límite de pérdida",deposit:"Límite de depósito",wager:"Límite de apuesta",stake:"Límite de apuesta",lugas:"Límite de depósito actual",sessionLimit:"Límites de tiempo en sesión única",cumulativeSession:"Límite de tiempo en periodo",removeLimit:"QUITAR / RETIRAR",popupPendingUpdate:"Hemos recibido la solicitud de cambiar el límite. Por favor este al tanto que el cambio solo entrará en efecto en",popupImmediateUpdate:"Tú nuevo {selectedLimit} esta {updatedAmount}{currency} {selectedPeriod}",popupTitle:"Límite cambiado",popupSuccess:"Exitoso",popupError:"Hubo un problema mientras se establecía el límite",kycNotNeeded:"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.",kycNeeded1:"Pudimos estabelecer tu límite de deposito mensual en",kycNeeded2:"Para aumentar el límite a la cantidad deseada",uploadDocumentsButton:"SUBIR DOCUMENTOS / ADJUNTAR DOCUMENTOS",closeButton:"CERRAR"},pt:{loadingText:"Carregando, por favor espere..."}};var Sr="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},Pr="URLSearchParams"in Sr,Br="Symbol"in Sr&&"iterator"in Symbol,Hr="FileReader"in Sr&&"Blob"in Sr&&function(){try{return new Blob,!0}catch(e){return!1}}(),Or="FormData"in Sr,Nr="ArrayBuffer"in Sr;if(Nr)var Ir=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],xr=ArrayBuffer.isView||function(e){return e&&Ir.indexOf(Object.prototype.toString.call(e))>-1};function Cr(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Dr(e){return"string"!=typeof e&&(e=String(e)),e}function Mr(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return Br&&(t[Symbol.iterator]=function(){return t}),t}function Ur(e){this.map={},e instanceof Ur?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function Rr(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function kr(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function jr(e){var t=new FileReader,r=kr(t);return t.readAsArrayBuffer(e),r}function $r(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Fr(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:Hr&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Or&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Pr&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Nr&&Hr&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=$r(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Nr&&(ArrayBuffer.prototype.isPrototypeOf(e)||xr(e))?this._bodyArrayBuffer=$r(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Pr&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Hr&&(this.blob=function(){var e=Rr(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=Rr(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(Hr)return this.blob().then(jr);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,r,n,i,o=Rr(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,r=kr(t),n=/charset=([A-Za-z0-9_-]+)/.exec(e.type),i=n?n[1]:"utf-8",t.readAsText(e,i),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Or&&(this.formData=function(){return this.text().then(Vr)}),this.json=function(){return this.text().then(JSON.parse)},this}Ur.prototype.append=function(e,t){e=Cr(e),t=Dr(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},Ur.prototype.delete=function(e){delete this.map[Cr(e)]},Ur.prototype.get=function(e){return e=Cr(e),this.has(e)?this.map[e]:null},Ur.prototype.has=function(e){return this.map.hasOwnProperty(Cr(e))},Ur.prototype.set=function(e,t){this.map[Cr(e)]=Dr(t)},Ur.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},Ur.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),Mr(e)},Ur.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),Mr(e)},Ur.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),Mr(e)},Br&&(Ur.prototype[Symbol.iterator]=Ur.prototype.entries);var Gr=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function zr(e,t){if(!(this instanceof zr))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,i=(t=t||{}).body;if(e instanceof zr){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Ur(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new Ur(t.headers)),this.method=(r=t.method||this.method||"GET",n=r.toUpperCase(),Gr.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in Sr)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function Vr(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(i))}})),t}function Wr(e,t){if(!(this instanceof Wr))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new Ur(t.headers),this.url=t.url||"",this._initBody(e)}zr.prototype.clone=function(){return new zr(this,{body:this._bodyInit})},Fr.call(zr.prototype),Fr.call(Wr.prototype),Wr.prototype.clone=function(){return new Wr(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Ur(this.headers),url:this.url})},Wr.error=function(){var e=new Wr(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var Xr=[301,302,303,307,308];Wr.redirect=function(e,t){if(-1===Xr.indexOf(t))throw new RangeError("Invalid status code");return new Wr(null,{status:t,headers:{location:e}})};var Kr=Sr.DOMException;try{new Kr}catch(e){(Kr=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack}).prototype=Object.create(Error.prototype),Kr.prototype.constructor=Kr}function Yr(e,t){return new Promise((function(r,n){var i=new zr(e,t);if(i.signal&&i.signal.aborted)return n(new Kr("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}if(o.onload=function(){var e,t,n={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new Ur,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();try{t.append(n,i)}catch(e){console.warn("Response "+e.message)}}})),t)};i.url.startsWith("file://")&&(o.status<200||o.status>599)?n.status=200:n.status=o.status,n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var s="response"in o?o.response:o.responseText;setTimeout((function(){r(new Wr(s,n))}),0)},o.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request timed out"))}),0)},o.onabort=function(){setTimeout((function(){n(new Kr("Aborted","AbortError"))}),0)},o.open(i.method,function(e){try{return""===e&&Sr.location.href?Sr.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&(Hr?o.responseType="blob":Nr&&(o.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof Ur||Sr.Headers&&t.headers instanceof Sr.Headers)){var a=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){a.push(Cr(e)),o.setRequestHeader(e,Dr(t.headers[e]))})),i.headers.forEach((function(e,t){-1===a.indexOf(t)&&o.setRequestHeader(t,e)}))}else i.headers.forEach((function(e,t){o.setRequestHeader(t,e)}));i.signal&&(i.signal.addEventListener("abort",s),o.onreadystatechange=function(){4===o.readyState&&i.signal.removeEventListener("abort",s)}),o.send(void 0===i._bodyInit?null:i._bodyInit)}))}Yr.polyfill=!0,Sr.fetch||(Sr.fetch=Yr,Sr.Headers=Ur,Sr.Request=zr,Sr.Response=Wr),self.fetch.bind(self);var Zr=function(e,t){return Zr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},Zr(e,t)};function qr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}Zr(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Jr(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Qr(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}function en(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function tn(e){return"function"==typeof e}function rn(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var nn=rn((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function on(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var sn=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,r,n,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Jr(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);var l=this.initialTeardown;if(tn(l))try{l()}catch(e){i=e instanceof nn?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=Jr(u),h=c.next();!h.done;h=c.next()){var p=h.value;try{un(p)}catch(e){i=null!=i?i:[],e instanceof nn?i=en(en([],Qr(i)),Qr(e.errors)):i.push(e)}}}catch(e){r={error:e}}finally{try{h&&!h.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}}if(i)throw new nn(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)un(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&on(t,e)},e.prototype.remove=function(t){var r=this._finalizers;r&&on(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),an=sn.EMPTY;function ln(e){return e instanceof sn||e&&"closed"in e&&tn(e.remove)&&tn(e.add)&&tn(e.unsubscribe)}function un(e){tn(e)?e():e.unsubscribe()}var cn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},hn={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=hn.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,en([e,t],Qr(r))):setTimeout.apply(void 0,en([e,t],Qr(r)))},clearTimeout:function(e){var t=hn.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function pn(){}var mn=null;function fn(e){if(cn.useDeprecatedSynchronousErrorHandling){var t=!mn;if(t&&(mn={errorThrown:!1,error:null}),e(),t){var r=mn,n=r.errorThrown,i=r.error;if(mn=null,n)throw i}}else e()}var dn=function(e){function t(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,ln(t)&&t.add(r)):r.destination=Tn,r}return qr(t,e),t.create=function(e,t,r){return new vn(e,t,r)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(sn),yn=Function.prototype.bind;function gn(e,t){return yn.call(e,t)}var bn=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){En(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){En(e)}else En(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){En(e)}},e}(),vn=function(e){function t(t,r,n){var i,o,s=e.call(this)||this;tn(t)||!t?i={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:s&&cn.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&gn(t.next,o),error:t.error&&gn(t.error,o),complete:t.complete&&gn(t.complete,o)}):i=t;return s.destination=new bn(i),s}return qr(t,e),t}(dn);function En(e){var t;t=e,hn.setTimeout((function(){throw t}))}var Tn={closed:!0,next:pn,error:function(e){throw e},complete:pn},wn="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ln(e){return e}var _n=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n,i=this,o=(n=e)&&n instanceof dn||function(e){return e&&tn(e.next)&&tn(e.error)&&tn(e.complete)}(n)&&ln(n)?e:new vn(e,t,r);return fn((function(){var e=i,t=e.operator,r=e.source;o.add(t?t.call(o,r):r?i._subscribe(o):i._trySubscribe(o))})),o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=An(t))((function(t,n){var i=new vn({next:function(t){try{e(t)}catch(e){n(e),i.unsubscribe()}},error:n,complete:t});r.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[wn]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return(0===(e=t).length?Ln:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=An(e))((function(e,r){var n;t.subscribe((function(e){return n=e}),(function(e){return r(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function An(e){var t;return null!==(t=null!=e?e:cn.Promise)&&void 0!==t?t:Promise}var Sn=rn((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Pn=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return qr(t,e),t.prototype.lift=function(e){var t=new Bn(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Sn},t.prototype.next=function(e){var t=this;fn((function(){var r,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=Jr(t.currentObservers),o=i.next();!o.done;o=i.next()){o.value.next(e)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}}))},t.prototype.error=function(e){var t=this;fn((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}}))},t.prototype.complete=function(){var e=this;fn((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this,n=r.hasError,i=r.isStopped,o=r.observers;return n||i?an:(this.currentObservers=null,o.push(e),new sn((function(){t.currentObservers=null,on(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t.thrownError,i=t.isStopped;r?e.error(n):i&&e.complete()},t.prototype.asObservable=function(){var e=new _n;return e.source=this,e},t.create=function(e,t){return new Bn(e,t)},t}(_n),Bn=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return qr(t,e),t.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},t.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:an},t}(Pn),Hn={now:function(){return(Hn.delegate||Date).now()},delegate:void 0},On=function(e){function t(t,r,n){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===n&&(n=Hn);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=r,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,r),i}return qr(t,e),t.prototype.next=function(t){var r=this,n=r.isStopped,i=r._buffer,o=r._infiniteTimeWindow,s=r._timestampProvider,a=r._windowTime;n||(i.push(t),!o&&i.push(s.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),i=0;i<n.length&&!e.closed;i+=r?1:2)e.next(n[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,r=e._timestampProvider,n=e._buffer,i=e._infiniteTimeWindow,o=(i?1:2)*t;if(t<1/0&&o<n.length&&n.splice(0,n.length-o),!i){for(var s=r.now(),a=0,l=1;l<n.length&&n[l]<=s;l+=2)a=l;a&&n.splice(0,a+1)}},t}(Pn);let Nn=[],In={};window.emWidgets={topic:(e,t=0)=>{if(-1==Nn.indexOf(e)){let r=new On(t);In[e]=r,Nn.push(e)}return In[e]}};const{document:xn}=a;function Cn(e,t,r){const n=e.slice();return n[51]=t[r],n}function Dn(e,t,r){const n=e.slice();return n[54]=t[r],n}function Mn(e,t,r){const n=e.slice();return n[54]=t[r],n}function Un(e,t,r){const n=e.slice();return n[59]=t[r],n}function Rn(e){let t,r;function n(e,t){return e[11]?kn:jn}let i=n(e),o=i(e);return{c(){t=p("div"),r=p("div"),o.c(),g(r,"class","PopupContainer "+(e[14]?"Desktop":"")),g(t,"class","PopupOverlay")},m(e,n){u(e,t,n),l(t,r),o.m(r,null)},p(e,t){i===(i=n(e))&&o?o.p(e,t):(o.d(1),o=i(e),o&&(o.c(),o.m(r,null)))},d(e){e&&c(t),o.d()}}}function kn(e){let t,r,i,o,s,a,h,m,b,E,T,w,L,_,A,S=e[13]("popupTitle")+"",P=!e[9]&&$n(e);return{c(){t=p("div"),r=p("span"),i=f(S),o=d(),s=p("button"),s.textContent="X",a=d(),h=p("div"),m=p("div"),P&&P.c(),b=d(),E=p("p"),T=f(e[12]),w=d(),L=p("button"),L.textContent="OK",g(r,"class","PopupTitle"),g(s,"class","ClosePopup"),g(t,"class","PopupTitleWrapper"),g(m,"class","ResultIconWrapper"),g(E,"class","DescriptionParagraph"),g(h,"class","DescriptionWrapper"),g(L,"class","ConfirmButton")},m(n,c){u(n,t,c),l(t,r),l(r,i),l(t,o),l(t,s),u(n,a,c),u(n,h,c),l(h,m),P&&P.m(m,null),l(h,b),l(h,E),l(E,T),u(n,w,c),u(n,L,c),_||(A=[y(s,"click",e[20]),y(L,"click",e[20])],_=!0)},p(e,t){8192&t[0]&&S!==(S=e[13]("popupTitle")+"")&&v(i,S),e[9]?P&&(P.d(1),P=null):P?P.p(e,t):(P=$n(e),P.c(),P.m(m,null)),4096&t[0]&&v(T,e[12])},d(e){e&&c(t),e&&c(a),e&&c(h),P&&P.d(),e&&c(w),e&&c(L),_=!1,n(A)}}}function jn(t){let r;return{c(){r=p("div"),g(r,"class","LoadingIndicator")},m(e,t){u(e,r,t)},p:e,d(e){e&&c(r)}}}function $n(e){let t,r,n,i,o,s,a,h,y,b=e[13]("popupSuccess")+"";return{c(){t=m("svg"),r=m("defs"),n=m("style"),i=f(".fil0 {fill:black;fill-rule:nonzero}\n "),o=m("g"),s=m("polygon"),a=d(),h=p("p"),y=f(b),g(n,"type","text/css"),g(s,"class","fil0"),g(s,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),g(t,"xmlns","http://www.w3.org/2000/svg"),g(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(t,"xml:space","preserve"),g(t,"version","1.1"),T(t,"shape-rendering","geometricPrecision"),T(t,"text-rendering","geometricPrecision"),T(t,"image-rendering","optimizeQuality"),g(t,"viewBox","0 0 90 69"),g(t,"x","0px"),g(t,"y","0px"),g(t,"fill-rule","evenodd"),g(t,"clip-rule","evenodd")},m(e,c){u(e,t,c),l(t,r),l(r,n),l(n,i),l(t,o),l(o,s),u(e,a,c),u(e,h,c),l(h,y)},p(e,t){8192&t[0]&&b!==(b=e[13]("popupSuccess")+"")&&v(y,b)},d(e){e&&c(t),e&&c(a),e&&c(h)}}}function Fn(e){let t,r,i,o,s,a,m,T,w,L,_,A,S,P,B,H,O,N=e[6]?`${e[13]("amount")}`:`${e[13]("new")} ${e[13](`gamingLimits.${e[2]}`)} ${e[13]("limit")}`,I=e[13]("setLimit")+"",x=e[15],C=[];for(let t=0;t<x.length;t+=1)C[t]=qn(Mn(e,x,t));let D=e[5]&&Jn(e),M=e[6]&&ei(e);return{c(){t=p("div"),r=p("div"),i=p("div");for(let e=0;e<C.length;e+=1)C[e].c();o=d(),s=p("form"),D&&D.c(),a=d(),M&&M.c(),m=d(),T=p("label"),w=p("span"),L=f(N),_=d(),A=p("input"),S=d(),P=p("button"),B=f(I),g(i,"class","LimitsList "+(e[14]?"Desktop":"")),g(w,"class","LimitInputText"),g(T,"class","LimitAmountInputWrapper"),g(A,"type","number"),g(A,"pattern","[0-9]*"),g(P,"class","LimitSubmitButton"),g(P,"type","button"),P.disabled=!0,g(s,"class","LimitsInteractionArea "+(e[14]?"Desktop":"")),g(r,"class","LimitsPageContainer"),g(t,"class","player-account-gaming-limits-page-2-gmcore")},m(n,c){u(n,t,c),l(t,r),l(r,i);for(let e=0;e<C.length;e+=1)C[e]&&C[e].m(i,null);l(r,o),l(r,s),D&&D.m(s,null),l(s,a),M&&M.m(s,null),l(s,m),l(s,T),l(T,w),l(w,L),l(s,_),l(s,A),E(A,e[3]),l(s,S),l(s,P),l(P,B),e[34](P),H||(O=[y(A,"input",e[33]),y(A,"keyup",e[18]),y(P,"click",e[17]),y(s,"submit",e[17])],H=!0)},p(e,t){if(581632&t[0]){let r;for(x=e[15],r=0;r<x.length;r+=1){const n=Mn(e,x,r);C[r]?C[r].p(n,t):(C[r]=qn(n),C[r].c(),C[r].m(i,null))}for(;r<C.length;r+=1)C[r].d(1);C.length=x.length}e[5]?D?D.p(e,t):(D=Jn(e),D.c(),D.m(s,a)):D&&(D.d(1),D=null),e[6]?M?M.p(e,t):(M=ei(e),M.c(),M.m(s,m)):M&&(M.d(1),M=null),8260&t[0]&&N!==(N=e[6]?`${e[13]("amount")}`:`${e[13]("new")} ${e[13](`gamingLimits.${e[2]}`)} ${e[13]("limit")}`)&&v(L,N),8&t[0]&&b(A.value)!==e[3]&&E(A,e[3]),8192&t[0]&&I!==(I=e[13]("setLimit")+"")&&v(B,I)},d(r){r&&c(t),h(C,r),D&&D.d(),M&&M.d(),e[34](null),H=!1,n(O)}}}function Gn(t){let r;return{c(){r=p("p"),r.textContent="500 Server error"},m(e,t){u(e,r,t)},p:e,d(e){e&&c(r)}}}function zn(t){return{c:e,m:e,p:e,d:e}}function Vn(t){let r;return{c(){r=p("div"),g(r,"class","LoadingIndicator")},m(e,t){u(e,r,t)},p:e,d(e){e&&c(r)}}}function Wn(e){let t,r,n,i,o=e[13]("noLimitText")+"";return{c(){t=p("div"),r=p("div"),n=p("div"),i=f(o),g(n,"class","LimitDetailsTextWrapper"),g(r,"class","LimitDetailsWrapper"),g(t,"class","LimitDetails")},m(e,o){u(e,t,o),l(t,r),l(r,n),l(n,i)},p(e,t){8192&t[0]&&o!==(o=e[13]("noLimitText")+"")&&v(i,o)},d(e){e&&c(t)}}}function Xn(e){let t,r=e[54].currentLimits,n=[];for(let t=0;t<r.length;t+=1)n[t]=Zn(Un(e,r,t));return{c(){for(let e=0;e<n.length;e+=1)n[e].c();t=f("")},m(e,r){for(let t=0;t<n.length;t+=1)n[t]&&n[t].m(e,r);u(e,t,r)},p(e,i){if(565248&i[0]){let o;for(r=e[54].currentLimits,o=0;o<r.length;o+=1){const s=Un(e,r,o);n[o]?n[o].p(s,i):(n[o]=Zn(s),n[o].c(),n[o].m(t.parentNode,t))}for(;o<n.length;o+=1)n[o].d(1);n.length=r.length}},d(e){h(n,e),e&&c(t)}}}function Kn(e){let t,r,n=`${e[13]("removedLimitText")} ${e[59].expiryDate}`;return{c(){t=p("div"),r=f(n),g(t,"class","PendingLimit")},m(e,n){u(e,t,n),l(t,r)},p(e,t){8192&t[0]&&n!==(n=`${e[13]("removedLimitText")} ${e[59].expiryDate}`)&&v(r,n)},d(e){e&&c(t)}}}function Yn(e){let t,r,n=`${e[59].updateAmount}${e[59].currency} ${e[13](`gamingLimits.${e[59].period}`)} ${e[13]("updateText")} ${e[59].expiryDate}`;return{c(){t=p("div"),r=f(n),g(t,"class","PendingLimit")},m(e,n){u(e,t,n),l(t,r)},p(e,t){8192&t[0]&&n!==(n=`${e[59].updateAmount}${e[59].currency} ${e[13](`gamingLimits.${e[59].period}`)} ${e[13]("updateText")} ${e[59].expiryDate}`)&&v(r,n)},d(e){e&&c(t)}}}function Zn(e){let t,r,n,i,o,s,a,h=`${e[59].amount}${e[59].currency} ${e[13](`gamingLimits.${e[59].period}`)}`;let m=function(e,t){return e[59].isModified&&"-1"!=e[59].updateAmount?Yn:e[59].isModified?Kn:void 0}(e),b=m&&m(e),E=!e[59].isModified&&function(e){let t,r,n,i,o=e[13]("gamingLimits.removeLimit")+"";function s(){return e[30](e[59])}return{c(){t=p("button"),r=f(o),g(t,"class","RemoveLimitButton")},m(e,o){u(e,t,o),l(t,r),n||(i=y(t,"click",s),n=!0)},p(t,n){e=t,8192&n[0]&&o!==(o=e[13]("gamingLimits.removeLimit")+"")&&v(r,o)},d(e){e&&c(t),n=!1,i()}}}(e);return{c(){t=p("div"),r=p("div"),n=p("div"),i=f(h),o=d(),b&&b.c(),s=d(),E&&E.c(),a=d(),g(n,"class","CurrentLimit"),g(r,"class","LimitDetailsTextWrapper"),g(t,"class","LimitDetails")},m(e,c){u(e,t,c),l(t,r),l(r,n),l(n,i),l(r,o),b&&b.m(r,null),l(t,s),E&&E.m(t,null),l(t,a)},p(e,t){8192&t[0]&&h!==(h=`${e[59].amount}${e[59].currency} ${e[13](`gamingLimits.${e[59].period}`)}`)&&v(i,h),b&&b.p(e,t),e[59].isModified||E.p(e,t)},d(e){e&&c(t),b&&b.d(),E&&E.d()}}}function qn(e){let t,r,n,i,o,s=e[13](`gamingLimits.${e[54].value}`)+"";let a=function(e,t){return e[54].currentLimits.length>0?Xn:Wn}(e),h=a(e);return{c(){t=p("div"),r=p("p"),n=f(s),i=d(),h.c(),o=d(),g(r,"class","LimitTitle"),g(t,"class","LimitWrapper "+(e[14]?"Desktop":""))},m(e,s){u(e,t,s),l(t,r),l(r,n),l(t,i),h.m(t,null),l(t,o)},p(e,t){8192&t[0]&&s!==(s=e[13](`gamingLimits.${e[54].value}`)+"")&&v(n,s),h.p(e,t)},d(e){e&&c(t),h.d()}}}function Jn(e){let t,r,i,o,s,a,m,b=e[13]("limitType")+"",E=e[15],T=[];for(let t=0;t<E.length;t+=1)T[t]=Qn(Dn(e,E,t));return{c(){t=p("label"),r=p("span"),i=f(b),o=d(),s=p("select");for(let e=0;e<T.length;e+=1)T[e].c();g(r,"class","LimitSelectText"),g(s,"name",""),g(s,"id",""),void 0===e[1]&&x((()=>e[31].call(s))),g(t,"class","LimitTypeDropdownWrapper")},m(n,c){u(n,t,c),l(t,r),l(r,i),l(t,o),l(t,s);for(let e=0;e<T.length;e+=1)T[e]&&T[e].m(s,null);w(s,e[1],!0),a||(m=[y(s,"change",e[31]),y(s,"change",e[16])],a=!0)},p(e,t){if(8192&t[0]&&b!==(b=e[13]("limitType")+"")&&v(i,b),32768&t[0]){let r;for(E=e[15],r=0;r<E.length;r+=1){const n=Dn(e,E,r);T[r]?T[r].p(n,t):(T[r]=Qn(n),T[r].c(),T[r].m(s,null))}for(;r<T.length;r+=1)T[r].d(1);T.length=E.length}32770&t[0]&&w(s,e[1])},d(e){e&&c(t),h(T,e),a=!1,n(m)}}}function Qn(t){let r,n,i=t[54].title+"";return{c(){r=p("option"),n=f(i),r.__value=t[54].value,r.value=r.__value},m(e,t){u(e,r,t),l(r,n)},p:e,d(e){e&&c(r)}}}function ei(e){let t,r,n,i,o,s,a,m=e[13]("period")+"",b=G[e[1]].periods,E=[];for(let t=0;t<b.length;t+=1)E[t]=ti(Cn(e,b,t));return{c(){t=p("label"),r=p("span"),n=f(m),i=d(),o=p("select");for(let e=0;e<E.length;e+=1)E[e].c();g(r,"class","PeriodSelectText"),g(t,"class","LimitPeriodDropdownWrapper"),g(o,"name",""),g(o,"id",""),void 0===e[2]&&x((()=>e[32].call(o)))},m(c,h){u(c,t,h),l(t,r),l(r,n),u(c,i,h),u(c,o,h);for(let e=0;e<E.length;e+=1)E[e]&&E[e].m(o,null);w(o,e[2],!0),s||(a=y(o,"change",e[32]),s=!0)},p(e,t){if(8192&t[0]&&m!==(m=e[13]("period")+"")&&v(n,m),8194&t[0]){let r;for(b=G[e[1]].periods,r=0;r<b.length;r+=1){const n=Cn(e,b,r);E[r]?E[r].p(n,t):(E[r]=ti(n),E[r].c(),E[r].m(o,null))}for(;r<E.length;r+=1)E[r].d(1);E.length=b.length}6&t[0]&&w(o,e[2])},d(e){e&&c(t),e&&c(i),e&&c(o),h(E,e),s=!1,a()}}}function ti(e){let t,r,n,i=e[13](`gamingLimits.${e[51]}`)+"";return{c(){t=p("option"),r=f(i),t.__value=n=e[51],t.value=t.__value,t.selected=!0},m(e,n){u(e,t,n),l(t,r)},p(e,o){8194&o[0]&&i!==(i=e[13](`gamingLimits.${e[51]}`)+"")&&v(r,i),32770&o[0]&&n!==(n=e[51])&&(t.__value=n,t.value=t.__value)},d(e){e&&c(t)}}}function ri(t){let r,n,i,o,s=t[10]&&Rn(t);function a(e,t){return e[7]&&!e[10]?Vn:e[7]?zn:e[8]?Gn:Fn}let h=a(t),m=h(t);return{c(){r=p("meta"),n=d(),i=p("div"),s&&s.c(),o=d(),m.c(),this.c=e,g(r,"name","viewport"),g(r,"content","width=device-width, initial-scale=1")},m(e,a){l(xn.head,r),u(e,n,a),u(e,i,a),s&&s.m(i,null),l(i,o),m.m(i,null),t[35](i)},p(e,t){e[10]?s?s.p(e,t):(s=Rn(e),s.c(),s.m(i,o)):s&&(s.d(1),s=null),h===(h=a(e))&&m?m.p(e,t):(m.d(1),m=h(e),m&&(m.c(),m.m(i,null)))},i:e,o:e,d(e){c(r),e&&c(n),e&&c(i),s&&s.d(),m.d(),t[35](null)}}}function ni(e,t,r){let n;var i,o;i=Lr,o=e=>r(13,n=e),e.$$.on_destroy.push(s(i,o));let a,l,u,c,{lang:h="en"}=t,{currency:p=""}=t,{limits:m=""}=t,{session:f=""}=t,{userid:d=""}=t,{endpoint:y=""}=t,{clientstyling:g=""}=t,{clientstylingurl:v=""}=t,{translationurl:E=""}=t,T=!(e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))(window.navigator.userAgent),w=[],_="",A="",S=!1,P=!1,H=!0,O=!1,N=!1,I=!1,x=!1,C="";const D={EUR:"€",RON:" lei"},M={updatePendingError:["SYS_1037","SYS_1142","SYS_1140"]};Object.keys(Ar).forEach((e=>{_r(e,Ar[e])}));const U=e=>{const t=e.error.match(/errorCode:(.*)\)/)[1];let r;console.error(`API response error: ${t}`);for(const[e,i]of Object.entries(M))i.includes(t)&&(r=n(`gamingLimits.${e}`));r=null!=r?r:n("gamingLimits.genericError"),$(t,r)},R=()=>{let e=new URL(`/v2/player/${d}/limits`,y),t=!N,n={method:"GET",headers:{"X-SessionID":f,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,n).then((e=>{if(e.status>=300)throw r(7,H=!1),r(8,O=!0),new Error("There was an error fetching the limits");return e.json()})).then((e=>{c=e,I&&t&&$(),k(c),r(7,H=!1),r(3,l=null)})).catch((e=>{console.log(e),r(7,H=!1),r(8,O=!0)}))},k=e=>{w.forEach((t=>{var r;t.currentLimits=[],null===(r=e[G[t.value].callValue])||void 0===r||r.forEach(((r,n)=>{var i;const o=e[G[t.value].callValue][n];t.currentLimits.push({}),t.currentLimits[n].limitType=t.value,t.currentLimits[n].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.amount),t.currentLimits[n].currency=null!==(i=D[o.currency])&&void 0!==i?i:o.currency,t.currentLimits[n].period=o.period,t.currentLimits[n].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateAmount),t.currentLimits[n].isModified=o.isModified,t.currentLimits[n].expiryDate=`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})),t.currentLimits=j(t.currentLimits)}))},j=e=>{const t={Daily:0,Weekly:1,Monthly:2};return e.sort(((e,r)=>t[e.period]-t[r.period])),e},$=(e,t)=>{if(e)r(12,C=t);else if(c){const e=c[G[_].callValue].filter((e=>e.period===A))[0],t=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount);let i=n("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}",n(`gamingLimits.${_}`).toLowerCase()).replace("{updatedAmount}",t).replace("{currency}",D[e.currency]||e.currency).replace("{selectedPeriod}",n(`gamingLimits.${A}`).toLowerCase());r(12,C=e.isModified?`${n("popupPendingUpdate")} ${new Date(e.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:i)}else console.error("Couldn't populate popupContent");r(11,x=!0)},F=e=>{r(10,I=!0),r(7,H=!0);let t=new URL(`/v2/player/${d}/limits/${{wager:"wagering",loss:"loss",deposit:"deposit"}[e.limitType]}?periods=${e.period}`,y),n={method:"DELETE",headers:{"X-SessionID":f,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,n).then((e=>e.json())).then((e=>{R()})).catch((e=>{console.log(e),r(7,H=!1),r(8,O=!0)}))},z=()=>{var e;e=h,nr.set(e)};return e.$$set=e=>{"lang"in e&&r(21,h=e.lang),"currency"in e&&r(22,p=e.currency),"limits"in e&&r(23,m=e.limits),"session"in e&&r(24,f=e.session),"userid"in e&&r(25,d=e.userid),"endpoint"in e&&r(26,y=e.endpoint),"clientstyling"in e&&r(27,g=e.clientstyling),"clientstylingurl"in e&&r(28,v=e.clientstylingurl),"translationurl"in e&&r(29,E=e.translationurl)},e.$$.update=()=>{8388608&e.$$.dirty[0]&&m&&(m.split(" ").forEach((e=>{G[e]?w.push(G[e]):console.error(`Unknown limit: ${e}`)})),r(1,_=w[0].value),r(2,A=G[_].periods[0]),r(5,S=w.length>1),r(6,P=G[_].periods.length>1)),2097152&e.$$.dirty[0]&&h&&z(),117440512&e.$$.dirty[0]&&d&&f&&y&&R(),268435457&e.$$.dirty[0]&&v&&a&&(()=>{let e=new URL(v),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1),setTimeout((()=>{}),500)}))})(),134217729&e.$$.dirty[0]&&g&&a&&(()=>{let e=document.createElement("style");e.innerHTML=g,a.appendChild(e)})(),536870912&e.$$.dirty[0]&&E&&fetch(E).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{_r(t,e[t])}))})).catch((e=>{console.log(e)}))},[a,_,A,l,u,S,P,H,O,N,I,x,C,n,T,w,()=>{r(2,A=G[_].periods[0]),r(6,P=G[_].periods.length>1)},()=>{if(!(l>0))return;r(10,I=!0),r(7,H=!0);let e=new URL(`/v2/player/${d}/limits`,y);const t={};t[G[_].callValue]=[{period:A,amount:l,currency:p}];let n={method:"PUT",headers:{"X-SessionID":f,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,n).then((e=>(e.status>=300&&r(9,N=!0),e.json()))).then((e=>{R(),N&&U(e)})).catch((e=>{console.log(e),r(7,H=!1),r(8,O=!0)}))},()=>{const e=999999999999999;l>e&&r(3,l=e);const t=l-Math.floor(l)==0;l>0&&t?u.removeAttribute("disabled"):u.setAttribute("disabled","true")},F,()=>{r(11,x=r(10,I=!1))},h,p,m,f,d,y,g,v,E,e=>F(e),function(){_=L(this),r(1,_),r(15,w)},function(){A=L(this),r(2,A),r(1,_)},function(){l=b(this.value),r(3,l)},function(e){B[e?"unshift":"push"]((()=>{u=e,r(4,u)}))},function(e){B[e?"unshift":"push"]((()=>{a=e,r(0,a)}))}]}class ii extends F{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A))}input:focus{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A));border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}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-page-2-gmcore{color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitWrapper{background:var(--emfe-w-color-white, #fff);font-size:1.3rem;border:1px solid var(--emfe-w-color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emfe-w-color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{font-size:1.3rem;color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A))}.PendingLimit{color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A))}.LimitTitle{font-size:1.5rem}.PopupOverlay{position:absolute;top:0;left:0;background-color:rgba(0, 0, 0, 0.5);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:var(--emfe-w-color-white, #FFFFFF);font-size:1rem;color:var(--emfe-w-color-black, #000000);width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emfe-w-color-white, #FFFFFF);font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:var(--emfe-w-color-gray-300, #58586B)}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}',this.shadowRoot.appendChild(t),$(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},ni,ri,o,{lang:21,currency:22,limits:23,session:24,userid:25,endpoint:26,clientstyling:27,clientstylingurl:28,translationurl:29},null,[-1,-1]),e&&(e.target&&u(e.target,this,e.anchor),e.props&&(this.$set(e.props),M()))}static get observedAttributes(){return["lang","currency","limits","session","userid","endpoint","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[21]}set lang(e){this.$$set({lang:e}),M()}get currency(){return this.$$.ctx[22]}set currency(e){this.$$set({currency:e}),M()}get limits(){return this.$$.ctx[23]}set limits(e){this.$$set({limits:e}),M()}get session(){return this.$$.ctx[24]}set session(e){this.$$set({session:e}),M()}get userid(){return this.$$.ctx[25]}set userid(e){this.$$set({userid:e}),M()}get endpoint(){return this.$$.ctx[26]}set endpoint(e){this.$$set({endpoint:e}),M()}get clientstyling(){return this.$$.ctx[27]}set clientstyling(e){this.$$set({clientstyling:e}),M()}get clientstylingurl(){return this.$$.ctx[28]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),M()}get translationurl(){return this.$$.ctx[29]}set translationurl(e){this.$$set({translationurl:e}),M()}}return!customElements.get("player-account-gaming-limits-page-2-gmcore")&&customElements.define("player-account-gaming-limits-page-2-gmcore",ii),ii}));
2
2
  //# sourceMappingURL=player-account-gaming-limits-page-2-gmcore.js.map