@everymatrix/player-account-gaming-limits-wrapper-2 1.17.1 → 1.17.3
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 i(){return Object.create(null)}function r(e){e.forEach(t)}function n(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,...i){if(null==t)return e;const r=t.subscribe(...i);return r.unsubscribe?()=>r.unsubscribe():r}function a(e,t,i){e.$$.on_destroy.push(s(t,i))}const l="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function u(e,t){e.appendChild(t)}function c(e,t,i){e.insertBefore(t,i||null)}function p(e){e.parentNode&&e.parentNode.removeChild(e)}function h(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function m(e){return document.createElement(e)}function d(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function f(e){return document.createTextNode(e)}function y(){return f(" ")}function g(){return f("")}function b(e,t,i,r){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)}function v(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function L(e,t,i){t in e?e[t]="boolean"==typeof e[t]&&""===i||i:v(e,t,i)}function w(e){return""===e?null:+e}function E(e,t){t=""+t,e.data!==t&&(e.data=t)}function T(e,t){e.value=null==t?"":t}function S(e,t,i,r){null==i?e.style.removeProperty(t):e.style.setProperty(t,i,r?"important":"")}function A(e,t,i){for(let i=0;i<e.options.length;i+=1){const r=e.options[i];if(r.__value===t)return void(r.selected=!0)}i&&void 0===t||(e.selectedIndex=-1)}function x(e){const t=e.querySelector(":checked");return t&&t.__value}function _(e,t,i){e.classList[i?"add":"remove"](t)}function P(e){const t={};for(const i of e)t[i.name]=i.value;return t}let D;function C(e){D=e}function $(e){(function(){if(!D)throw new Error("Function called outside component initialization");return D})().$$.on_mount.push(e)}const B=[],I=[];let k=[];const O=[],H=Promise.resolve();let N=!1;function M(e){k.push(e)}const R=new Set;let U=0;function j(){if(0!==U)return;const e=D;do{try{for(;U<B.length;){const e=B[U];U++,C(e),F(e.$$)}}catch(e){throw B.length=0,U=0,e}for(C(null),B.length=0,U=0;I.length;)I.pop()();for(let e=0;e<k.length;e+=1){const t=k[e];R.has(t)||(R.add(t),t())}k.length=0}while(B.length);for(;O.length;)O.pop()();N=!1,R.clear(),C(e)}function F(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(M)}}const G=new Set;function z(e,t){const i=e.$$;null!==i.fragment&&(!function(e){const t=[],i=[];k.forEach((r=>-1===e.indexOf(r)?t.push(r):i.push(r))),i.forEach((e=>e())),k=t}(i.after_update),r(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function V(e,t){-1===e.$$.dirty[0]&&(B.push(e),N||(N=!0,H.then(j)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function W(o,s,a,l,u,c,h,m=[-1]){const d=D;C(o);const f=o.$$={fragment:null,ctx:[],props:c,update:e,not_equal:u,bound:i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(d?d.$$.context:[])),callbacks:i(),dirty:m,skip_bound:!1,root:s.target||d.$$.root};h&&h(f.root);let y=!1;if(f.ctx=a?a(o,s.props||{},((e,t,...i)=>{const r=i.length?i[0]:t;return f.ctx&&u(f.ctx[e],f.ctx[e]=r)&&(!f.skip_bound&&f.bound[e]&&f.bound[e](r),y&&V(o,e)),t})):[],f.update(),y=!0,r(f.before_update),f.fragment=!!l&&l(f.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);f.fragment&&f.fragment.l(e),e.forEach(p)}else f.fragment&&f.fragment.c();s.intro&&((g=o.$$.fragment)&&g.i&&(G.delete(g),g.i(b))),function(e,i,o,s){const{fragment:a,after_update:l}=e.$$;a&&a.m(i,o),s||M((()=>{const i=e.$$.on_mount.map(t).filter(n);e.$$.on_destroy?e.$$.on_destroy.push(...i):r(i),e.$$.on_mount=[]})),l.forEach(M)}(o,s.target,s.anchor,s.customElement),j()}var g,b;C(d)}let X;"function"==typeof HTMLElement&&(X=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(n);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,i){this[e]=i}disconnectedCallback(){r(this.$$.on_disconnect)}$destroy(){z(this,1),this.$destroy=e}$on(t,i){if(!n(i))return e;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(i),()=>{const e=r.indexOf(i);-1!==e&&r.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 q={lugas:{title:"Deposit Limit",value:"lugas",callValue:"lugasLimit",callValue16:"Lugas"},deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",callValue16:"Deposit"},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",callValue16:"Loss"},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",callValue16:"Wagering"},stake:{title:"Stake Limit",value:"stake",callValue:"maxStake",callValue16:"MaxStake"},sessionLimit:{title:"Single Session Time Limit",value:"sessionLimit",callValue:"sessionLimits",callValue16:"sessionLimit"},cumulativeSession:{title:"Cumulative Session Time Limit",value:"cumulativeSession",callValue:"cumulativeSessionLimits",callValue16:"cumulativeSession"}},K=[];function Y(t,i=e){let r;const n=new Set;function s(e){if(o(t,e)&&(t=e,r)){const e=!K.length;for(const e of n)e[1](),K.push(e,t);if(e){for(let e=0;e<K.length;e+=2)K[e][0](K[e+1]);K.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const l=[o,a];return n.add(l),1===n.size&&(r=i(s)||e),o(t),()=>{n.delete(l),0===n.size&&r&&(r(),r=null)}}}}function Z(t,i,o){const a=!Array.isArray(t),l=a?[t]:t,u=i.length<2;return c=t=>{let o=!1;const c=[];let p=0,h=e;const m=()=>{if(p)return;h();const r=i(a?c[0]:c,t);u?t(r):h=n(r)?r:e},d=l.map(((e,t)=>s(e,(e=>{c[t]=e,p&=~(1<<t),o&&m()}),(()=>{p|=1<<t}))));return o=!0,m(),function(){r(d),h(),o=!1}},{subscribe:Y(o,c).subscribe};var c}var J=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===Q}(e)}(e)};var Q="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function ee(e,t){return!1!==t.clone&&t.isMergeableObject(e)?oe((i=e,Array.isArray(i)?[]:{}),e,t):e;var i}function te(e,t,i){return e.concat(t).map((function(e){return ee(e,i)}))}function ie(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 re(e,t){try{return t in e}catch(e){return!1}}function ne(e,t,i){var r={};return i.isMergeableObject(e)&&ie(e).forEach((function(t){r[t]=ee(e[t],i)})),ie(t).forEach((function(n){(function(e,t){return re(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,n)||(re(e,n)&&i.isMergeableObject(t[n])?r[n]=function(e,t){if(!t.customMerge)return oe;var i=t.customMerge(e);return"function"==typeof i?i:oe}(n,i)(e[n],t[n],i):r[n]=ee(t[n],i))})),r}function oe(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||te,i.isMergeableObject=i.isMergeableObject||J,i.cloneUnlessOtherwiseSpecified=ee;var r=Array.isArray(t);return r===Array.isArray(e)?r?i.arrayMerge(e,t,i):ne(e,t,i):ee(t,i)}oe.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,i){return oe(e,i,t)}),{})};var se=oe,ae=function(e,t){return ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},ae(e,t)};function le(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}ae(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var ue,ce,pe,he=function(){return he=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},he.apply(this,arguments)};function me(e,t,i){if(i||2===arguments.length)for(var r,n=0,o=t.length;n<o;n++)!r&&n in t||(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}function de(e){return e.type===ce.literal}function fe(e){return e.type===ce.argument}function ye(e){return e.type===ce.number}function ge(e){return e.type===ce.date}function be(e){return e.type===ce.time}function ve(e){return e.type===ce.select}function Le(e){return e.type===ce.plural}function we(e){return e.type===ce.pound}function Ee(e){return e.type===ce.tag}function Te(e){return!(!e||"object"!=typeof e||e.type!==pe.number)}function Se(e){return!(!e||"object"!=typeof e||e.type!==pe.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"}(ue||(ue={})),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"}(ce||(ce={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(pe||(pe={}));var Ae=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,xe=/(?:[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 _e(e){var t={};return e.replace(xe,(function(e){var i=e.length;switch(e[0]){case"G":t.era=4===i?"long":5===i?"narrow":"short";break;case"y":t.year=2===i?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===i?"short":5===i?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][i-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][i-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][i-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][i-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][i-1];break;case"s":t.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=i<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var Pe=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var De=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ce=/^(@+)?(\+|#+)?[rs]?$/g,$e=/(\*)(0+)|(#+)(0+)|(0+)/g,Be=/^(0+)$/;function Ie(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Ce,(function(e,i,r){return"string"!=typeof r?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):"+"===r?t.minimumSignificantDigits=i.length:"#"===i[0]?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+("string"==typeof r?r.length:0)),""})),t}function ke(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 i=e.slice(0,2);if("+!"===i?(t.signDisplay="always",e=e.slice(2)):"+?"===i&&(t.signDisplay="exceptZero",e=e.slice(2)),!Be.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function He(e){var t=ke(e);return t||{}}function Ne(e){for(var t={},i=0,r=e;i<r.length;i++){var n=r[i];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=n.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=he(he(he({},t),{notation:"scientific"}),n.options.reduce((function(e,t){return he(he({},e),He(t))}),{}));continue;case"engineering":t=he(he(he({},t),{notation:"engineering"}),n.options.reduce((function(e,t){return he(he({},e),He(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(n.options[0]);continue;case"integer-width":if(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace($e,(function(e,i,r,n,o,s){if(i)t.minimumIntegerDigits=r.length;else{if(n&&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(Be.test(n.stem))t.minimumIntegerDigits=n.stem.length;else if(De.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(De,(function(e,i,r,n,o,s){return"*"===r?t.minimumFractionDigits=i.length:n&&"#"===n[0]?t.maximumFractionDigits=n.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length),""}));var o=n.options[0];"w"===o?t=he(he({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=he(he({},t),Ie(o)))}else if(Ce.test(n.stem))t=he(he({},t),Ie(n.stem));else{var s=ke(n.stem);s&&(t=he(he({},t),s));var a=Oe(n.stem);a&&(t=he(he({},t),a))}}return t}var Me,Re={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 Ue(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 i,r=e.language;return"root"!==r&&(i=e.maximize().region),(Re[i||""]||Re[r||""]||Re["".concat(r,"-001")]||Re["001"])[0]}var je=new RegExp("^".concat(Ae.source,"*")),Fe=new RegExp("".concat(Ae.source,"*$"));function Ge(e,t){return{start:e,end:t}}var ze=!!String.prototype.startsWith,Ve=!!String.fromCodePoint,We=!!Object.fromEntries,Xe=!!String.prototype.codePointAt,qe=!!String.prototype.trimStart,Ke=!!String.prototype.trimEnd,Ye=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ze=!0;try{Ze="a"===(null===(Me=ot("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Me?void 0:Me[0])}catch(e){Ze=!1}var Je,Qe=ze?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},et=Ve?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,r="",n=e.length,o=0;n>o;){if((i=e[o++])>1114111)throw RangeError(i+" is not a valid code point");r+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return r},tt=We?Object.fromEntries:function(e){for(var t={},i=0,r=e;i<r.length;i++){var n=r[i],o=n[0],s=n[1];t[o]=s}return t},it=Xe?function(e,t){return e.codePointAt(t)}:function(e,t){var i=e.length;if(!(t<0||t>=i)){var r,n=e.charCodeAt(t);return n<55296||n>56319||t+1===i||(r=e.charCodeAt(t+1))<56320||r>57343?n:r-56320+(n-55296<<10)+65536}},rt=qe?function(e){return e.trimStart()}:function(e){return e.replace(je,"")},nt=Ke?function(e){return e.trimEnd()}:function(e){return e.replace(Fe,"")};function ot(e,t){return new RegExp(e,t)}if(Ze){var st=ot("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Je=function(e,t){var i;return st.lastIndex=t,null!==(i=st.exec(e)[1])&&void 0!==i?i:""}}else Je=function(e,t){for(var i=[];;){var r=it(e,t);if(void 0===r||ut(r)||ct(r))break;i.push(r),t+=r>=65536?2:1}return et.apply(void 0,i)};var at=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,i){for(var r=[];!this.isEOF();){var n=this.char();if(123===n){if((o=this.parseArgument(e,i)).err)return o;r.push(o.val)}else{if(125===n&&e>0)break;if(35!==n||"plural"!==t&&"selectordinal"!==t){if(60===n&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(ue.UNMATCHED_CLOSING_TAG,Ge(this.clonePosition(),this.clonePosition()))}if(60===n&&!this.ignoreTag&<(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;r.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;r.push(o.val)}}else{var s=this.clonePosition();this.bump(),r.push({type:ce.pound,location:Ge(s,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var i=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ce.literal,value:"<".concat(r,"/>"),location:Ge(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var n=this.parseMessage(e+1,t,!0);if(n.err)return n;var o=n.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!lt(this.char()))return this.error(ue.INVALID_TAG,Ge(s,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(ue.UNMATCHED_CLOSING_TAG,Ge(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ce.tag,value:r,children:o,location:Ge(i,this.clonePosition())},err:null}:this.error(ue.INVALID_TAG,Ge(s,this.clonePosition())))}return this.error(ue.UNCLOSED_TAG,Ge(i,this.clonePosition()))}return this.error(ue.INVALID_TAG,Ge(i,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 i=this.clonePosition(),r="";;){var n=this.tryParseQuote(t);if(n)r+=n;else{var o=this.tryParseUnquoted(e,t);if(o)r+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var a=Ge(i,this.clonePosition());return{val:{type:ce.literal,value:r,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(lt(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 i=this.char();if(39===i){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(i);this.bump()}return et.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var i=this.char();return 60===i||123===i||35===i&&("plural"===t||"selectordinal"===t)||125===i&&e>0?null:(this.bump(),et(i))},e.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ue.EXPECT_ARGUMENT_CLOSING_BRACE,Ge(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(ue.EMPTY_ARGUMENT,Ge(i,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(ue.MALFORMED_ARGUMENT,Ge(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ue.EXPECT_ARGUMENT_CLOSING_BRACE,Ge(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ce.argument,value:r,location:Ge(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ue.EXPECT_ARGUMENT_CLOSING_BRACE,Ge(i,this.clonePosition())):this.parseArgumentOptions(e,t,r,i);default:return this.error(ue.MALFORMED_ARGUMENT,Ge(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=Je(this.message,t),r=t+i.length;return this.bumpTo(r),{value:i,location:Ge(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,i,r){var n,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(ue.EXPECT_ARGUMENT_TYPE,Ge(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=nt(g.val)).length)return this.error(ue.EXPECT_ARGUMENT_STYLE,Ge(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:Ge(u,this.clonePosition())}}if((b=this.tryParseArgumentClose(r)).err)return b;var c=Ge(r,this.clonePosition());if(l&&Qe(null==l?void 0:l.style,"::",0)){var p=rt(l.style.slice(2));if("number"===s)return(g=this.parseNumberSkeletonFromString(p,l.styleLocation)).err?g:{val:{type:ce.number,value:i,location:c,style:g.val},err:null};if(0===p.length)return this.error(ue.EXPECT_DATE_TIME_SKELETON,c);var h=p;this.locale&&(h=function(e,t){for(var i="",r=0;r<e.length;r++){var n=e.charAt(r);if("j"===n){for(var o=0;r+1<e.length&&e.charAt(r+1)===n;)o++,r++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=Ue(t);for("H"!=l&&"k"!=l||(a=0);a-- >0;)i+="a";for(;s-- >0;)i=l+i}else i+="J"===n?"H":n}return i}(p,this.locale));var m={type:pe.dateTime,pattern:h,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?_e(h):{}};return{val:{type:"date"===s?ce.date:ce.time,value:i,location:c,style:m},err:null}}return{val:{type:"number"===s?ce.number:"date"===s?ce.date:ce.time,value:i,location:c,style:null!==(n=null==l?void 0:l.style)&&void 0!==n?n:null},err:null};case"plural":case"selectordinal":case"select":var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ue.EXPECT_SELECT_ARGUMENT_OPTIONS,Ge(d,he({},d)));this.bumpSpace();var f=this.parseIdentifierIfPossible(),y=0;if("select"!==s&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(ue.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ge(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(ue.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ue.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),f=this.parseIdentifierIfPossible(),y=g.val}var b,v=this.tryParsePluralOrSelectOptions(e,s,t,f);if(v.err)return v;if((b=this.tryParseArgumentClose(r)).err)return b;var L=Ge(r,this.clonePosition());return"select"===s?{val:{type:ce.select,value:i,options:tt(v.val),location:L},err:null}:{val:{type:ce.plural,value:i,options:tt(v.val),offset:y,pluralType:"plural"===s?"cardinal":"ordinal",location:L},err:null};default:return this.error(ue.INVALID_ARGUMENT_TYPE,Ge(o,a))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(ue.EXPECT_ARGUMENT_CLOSING_BRACE,Ge(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 i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ue.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Ge(i,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 i=[];try{i=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],i=0,r=e.split(Pe).filter((function(e){return e.length>0}));i<r.length;i++){var n=r[i].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var o=n[0],s=n.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(ue.INVALID_NUMBER_SKELETON,t)}return{val:{type:pe.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?Ne(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,i,r){for(var n,o=!1,s=[],a=new Set,l=r.value,u=r.location;;){if(0===l.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var p=this.tryParseDecimalInteger(ue.EXPECT_PLURAL_ARGUMENT_SELECTOR,ue.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;u=Ge(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}if(a.has(l))return this.error("select"===t?ue.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ue.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(o=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ue.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ue.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Ge(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,i);if(m.err)return m;var d=this.tryParseArgumentClose(h);if(d.err)return d;s.push([l,{value:m.val,location:Ge(h,this.clonePosition())}]),a.add(l),this.bumpSpace(),l=(n=this.parseIdentifierIfPossible()).value,u=n.location}return 0===s.length?this.error("select"===t?ue.EXPECT_SELECT_ARGUMENT_SELECTOR:ue.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ge(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(ue.MISSING_OTHER_CLAUSE,Ge(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var i=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var n=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;n=!0,o=10*o+(s-48),this.bump()}var a=Ge(r,this.clonePosition());return n?Ye(o*=i)?{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=it(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(Qe(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(),i=this.message.indexOf(e,t);return i>=0?(this.bumpTo(i),!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()&&ut(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),i=this.message.charCodeAt(t+(e>=65536?2:1));return null!=i?i:null},e}();function lt(e){return e>=97&&e<=122||e>=65&&e<=90}function ut(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function ct(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 pt(e){e.forEach((function(e){if(delete e.location,ve(e)||Le(e))for(var t in e.options)delete e.options[t].location,pt(e.options[t].value);else ye(e)&&Te(e.style)||(ge(e)||be(e))&&Se(e.style)?delete e.style.location:Ee(e)&&pt(e.children)}))}function ht(e,t){void 0===t&&(t={}),t=he({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new at(e,t).parse();if(i.err){var r=SyntaxError(ue[i.err.kind]);throw r.location=i.err.location,r.originalMessage=i.err.message,r}return(null==t?void 0:t.captureLocation)||pt(i.val),i.val}function mt(e,t){var i=t&&t.cache?t.cache:wt,r=t&&t.serializer?t.serializer:bt;return(t&&t.strategy?t.strategy:gt)(e,{cache:i,serializer:r})}function dt(e,t,i,r){var n,o=null==(n=r)||"number"==typeof n||"boolean"==typeof n?r:i(r),s=t.get(o);return void 0===s&&(s=e.call(this,r),t.set(o,s)),s}function ft(e,t,i){var r=Array.prototype.slice.call(arguments,3),n=i(r),o=t.get(n);return void 0===o&&(o=e.apply(this,r),t.set(n,o)),o}function yt(e,t,i,r,n){return i.bind(t,e,r,n)}function gt(e,t){return yt(e,this,1===e.length?dt:ft,t.cache.create(),t.serializer)}var bt=function(){return JSON.stringify(arguments)};function vt(){this.cache=Object.create(null)}vt.prototype.get=function(e){return this.cache[e]},vt.prototype.set=function(e,t){this.cache[e]=t};var Lt,wt={create:function(){return new vt}},Et={variadic:function(e,t){return yt(e,this,ft,t.cache.create(),t.serializer)},monadic:function(e,t){return yt(e,this,dt,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(Lt||(Lt={}));var Tt,St=function(e){function t(t,i,r){var n=e.call(this,t)||this;return n.code=i,n.originalMessage=r,n}return le(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),At=function(e){function t(t,i,r,n){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Lt.INVALID_VALUE,n)||this}return le(t,e),t}(St),xt=function(e){function t(t,i,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),Lt.INVALID_VALUE,r)||this}return le(t,e),t}(St),_t=function(e){function t(t,i){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(i,'"'),Lt.MISSING_VALUE,i)||this}return le(t,e),t}(St);function Pt(e){return"function"==typeof e}function Dt(e,t,i,r,n,o,s){if(1===e.length&&de(e[0]))return[{type:Tt.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(de(c))a.push({type:Tt.literal,value:c.value});else if(we(c))"number"==typeof o&&a.push({type:Tt.literal,value:i.getNumberFormat(t).format(o)});else{var p=c.value;if(!n||!(p in n))throw new _t(p,s);var h=n[p];if(fe(c))h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?Tt.literal:Tt.object,value:h});else if(ge(c)){var m="string"==typeof c.style?r.date[c.style]:Se(c.style)?c.style.parsedOptions:void 0;a.push({type:Tt.literal,value:i.getDateTimeFormat(t,m).format(h)})}else if(be(c)){m="string"==typeof c.style?r.time[c.style]:Se(c.style)?c.style.parsedOptions:r.time.medium;a.push({type:Tt.literal,value:i.getDateTimeFormat(t,m).format(h)})}else if(ye(c)){(m="string"==typeof c.style?r.number[c.style]:Te(c.style)?c.style.parsedOptions:void 0)&&m.scale&&(h*=m.scale||1),a.push({type:Tt.literal,value:i.getNumberFormat(t,m).format(h)})}else{if(Ee(c)){var d=c.children,f=c.value,y=n[f];if(!Pt(y))throw new xt(f,"function",s);var g=y(Dt(d,t,i,r,n,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?Tt.literal:Tt.object,value:e}})))}if(ve(c)){if(!(b=c.options[h]||c.options.other))throw new At(c.value,h,Object.keys(c.options),s);a.push.apply(a,Dt(b.value,t,i,r,n))}else if(Le(c)){var b;if(!(b=c.options["=".concat(h)])){if(!Intl.PluralRules)throw new St('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Lt.MISSING_INTL_API,s);var v=i.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0));b=c.options[v]||c.options.other}if(!b)throw new At(c.value,h,Object.keys(c.options),s);a.push.apply(a,Dt(b.value,t,i,r,n,h-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var i=e[e.length-1];return i&&i.type===Tt.literal&&t.type===Tt.literal?i.value+=t.value:e.push(t),e}),[])}(a)}function Ct(e,t){return t?Object.keys(e).reduce((function(i,r){var n,o;return i[r]=(n=e[r],(o=t[r])?he(he(he({},n||{}),o||{}),Object.keys(n).reduce((function(e,t){return e[t]=he(he({},n[t]),o[t]||{}),e}),{})):n),i}),he({},e)):e}function $t(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Tt||(Tt={}));var Bt=function(){function e(t,i,r,n){var o,s=this;if(void 0===i&&(i=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 i=t.reduce((function(e,t){return e.length&&t.type===Tt.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return i.length<=1?i[0]||"":i},this.formatToParts=function(e){return Dt(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=i,this.resolvedLocale=e.resolveLocale(i),"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==n?void 0:n.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=Ct(e.formats,r),this.formatters=n&&n.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:mt((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,me([void 0],t,!1)))}),{cache:$t(o.number),strategy:Et.variadic}),getDateTimeFormat:mt((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,me([void 0],t,!1)))}),{cache:$t(o.dateTime),strategy:Et.variadic}),getPluralRules:mt((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,me([void 0],t,!1)))}),{cache:$t(o.pluralRules),strategy:Et.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=ht,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 It={},kt=(e,t,i)=>i?(t in It||(It[t]={}),e in It[t]||(It[t][e]=i),i):i,Ot=(e,t)=>{if(null==t)return;if(t in It&&e in It[t])return It[t][e];const i=si(t);for(let r=0;r<i.length;r++){const n=Rt(i[r],e);if(n)return kt(e,t,n)}};let Ht;const Nt=Y({});function Mt(e){return e in Ht}function Rt(e,t){if(!Mt(e))return null;const i=function(e){return Ht[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const i=t.split(".");let r=e;for(let e=0;e<i.length;e++)if("object"==typeof r){if(e>0){const t=i.slice(e,i.length).join(".");if(t in r){r=r[t];break}}r=r[i[e]]}else r=void 0;return r}(i,t)}function Ut(e,...t){delete It[e],Nt.update((i=>(i[e]=se.all([i[e]||{},...t]),i)))}Z([Nt],(([e])=>Object.keys(e))),Nt.subscribe((e=>Ht=e));const jt={};function Ft(e){return jt[e]}function Gt(e){return null!=e&&si(e).some((e=>{var t;return null==(t=Ft(e))?void 0:t.size}))}function zt(e,t){const i=Promise.all(t.map((t=>(function(e,t){jt[e].delete(t),0===jt[e].size&&delete jt[e]}(e,t),t().then((e=>e.default||e))))));return i.then((t=>Ut(e,...t)))}const Vt={};function Wt(e){if(!Gt(e))return e in Vt?Vt[e]:Promise.resolve();const t=function(e){return si(e).map((e=>{const t=Ft(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Vt[e]=Promise.all(t.map((([e,t])=>zt(e,t)))).then((()=>{if(Gt(e))return Wt(e);delete Vt[e]})),Vt[e]}const Xt={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 qt(){return Xt}const Kt=Y(!1);var Yt=Object.defineProperty,Zt=Object.defineProperties,Jt=Object.getOwnPropertyDescriptors,Qt=Object.getOwnPropertySymbols,ei=Object.prototype.hasOwnProperty,ti=Object.prototype.propertyIsEnumerable,ii=(e,t,i)=>t in e?Yt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;let ri;const ni=Y(null);function oi(e){return e.split("-").map(((e,t,i)=>i.slice(0,t+1).join("-"))).reverse()}function si(e,t=qt().fallbackLocale){const i=oi(e);return t?[...new Set([...i,...oi(t)])]:i}function ai(){return null!=ri?ri:void 0}ni.subscribe((e=>{ri=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const li=(ui=((e,t)=>{for(var i in t||(t={}))ei.call(t,i)&&ii(e,i,t[i]);if(Qt)for(var i of Qt(t))ti.call(t,i)&&ii(e,i,t[i]);return e})({},ni),Zt(ui,Jt({set:e=>{if(e&&function(e){if(null==e)return;const t=si(e);for(let e=0;e<t.length;e++){const i=t[e];if(Mt(i))return i}}(e)&&Gt(e)){const{loadingDelay:t}=qt();let i;return"undefined"!=typeof window&&null!=ai()&&t?i=window.setTimeout((()=>Kt.set(!0)),t):Kt.set(!0),Wt(e).then((()=>{ni.set(e)})).finally((()=>{clearTimeout(i),Kt.set(!1)}))}return ni.set(e)}})));var ui;const ci=e=>{const t=Object.create(null);return i=>{const r=JSON.stringify(i);return r in t?t[r]:t[r]=e(i)}};var pi=Object.defineProperty,hi=Object.getOwnPropertySymbols,mi=Object.prototype.hasOwnProperty,di=Object.prototype.propertyIsEnumerable,fi=(e,t,i)=>t in e?pi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,yi=(e,t)=>{for(var i in t||(t={}))mi.call(t,i)&&fi(e,i,t[i]);if(hi)for(var i of hi(t))di.call(t,i)&&fi(e,i,t[i]);return e},gi=(e,t)=>{var i={};for(var r in e)mi.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(null!=e&&hi)for(var r of hi(e))t.indexOf(r)<0&&di.call(e,r)&&(i[r]=e[r]);return i};const bi=(e,t)=>{const{formats:i}=qt();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},vi=ci((e=>{var t=e,{locale:i,format:r}=t,n=gi(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=bi("number",r)),new Intl.NumberFormat(i,n)})),Li=ci((e=>{var t=e,{locale:i,format:r}=t,n=gi(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=bi("date",r):0===Object.keys(n).length&&(n=bi("date","short")),new Intl.DateTimeFormat(i,n)})),wi=ci((e=>{var t=e,{locale:i,format:r}=t,n=gi(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=bi("time",r):0===Object.keys(n).length&&(n=bi("time","short")),new Intl.DateTimeFormat(i,n)})),Ei=ci(((e,t=ai())=>new Bt(e,t,qt().formats,{ignoreTag:qt().ignoreTag}))),Ti=(e,t={})=>{var i,r,n,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=ai(),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!=(n=null==(r=(i=qt()).handleMissingMessage)?void 0:r.call(i,{locale:l,id:e,defaultValue:u}))?n:u)?o:e;if(!a)return c;let p=c;try{p=Ei(c,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return p},Si=(e,t)=>((e={})=>{var t=e,{locale:i=ai()}=t,r=gi(t,["locale"]);return wi(yi({locale:i},r))})(t).format(e),Ai=(e,t)=>((e={})=>{var t=e,{locale:i=ai()}=t,r=gi(t,["locale"]);return Li(yi({locale:i},r))})(t).format(e),xi=(e,t)=>((e={})=>{var t=e,{locale:i=ai()}=t,r=gi(t,["locale"]);return vi(yi({locale:i},r))})(t).format(e),_i=(e,t=ai())=>Ot(e,t),Pi=Z([li,Nt],(()=>Ti));function Di(e,t){Ut(e,t)}Z([li],(()=>Si)),Z([li],(()=>Ai)),Z([li],(()=>xi)),Z([li,Nt],(()=>_i));const Ci={en:{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",newPeriodLimit:"New monthly limit",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",setLimit:"SET LIMIT",loss:"Loss Limit",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",deposit:"Deposit Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",wager:"Wager Limit",stake:"Stake Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugas:"Current Deposit Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",wagerCasino:"Slots Limit",wagerSports:"Stake Limit",sessionLimit:"Single Session Time Limit",sessionLimitUpdated:"Session limit updated successfully.",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:"An error occured.",popupUpdateLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",popupRemoveLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",notFoundException:"Limit does not exist",popup3:"Thank you! \n We have transmited your desired limit to Lugas \n Please be aware that the limit will only come into effect after 8 days at the latest.",popup2_a:"We were able to set your monthly deposit limit to ",popup2_b:". For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment.",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",invalidInputMessageLimit:"The value entered must be between {minValue} and {maxValue} {currency}.",unableToUpdatePendingRequest:"We were unable to update your limit because another update is already pending. Please try again after the current update is applied.",docsRequired:"Documents required!",okButton:"OK"},de:{loadingText:"Lädt ...",Monthly:"pro Monat",Weekly:"pro Woche",Daily:"pro Tag",newPeriodLimit:"New monthly limit",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",setLimit:"LIMIT SETZEN",loss:"Verlustlimit",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",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",popup3:"Thank you! \n We have transmited your desired limit to Lugas \n Please be aware that the limit will only come into effect after 8 days at the latest.",popup2_a:"We were able to set your monthly deposit limit to ",popup2_b:". For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment.",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",invalidInputMessageLimit:"Der eingegebene Wert muss zwischen {minValue} und {maxValue} {currency} liegen.",docsRequired:"Documents required!",okButton:"OK"},hr:{loadingText:"Učitavanje...",Monthly:"Mjesečno",Weekly:"Tjedno",Daily:"Dnevno",newPeriodLimit:"New monthly limit",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",setLimit:"POSTAVI OGRANIČENJA",loss:"Ograničenje gubitka",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",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",popup3:"Thank you! \n We have transmited your desired limit to Lugas \n Please be aware that the limit will only come into effect after 8 days at the latest.",popup2_a:"We were able to set your monthly deposit limit to ",popup2_b:". For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment.",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",invalidInputMessageLimit:"Unešena vrijednost mora biti između {minValue} i {maxValue} {currency}.",docsRequired:"Documents required!",okButton:"OK"},sl:{loadingText:"Nalaga...",Monthly:"na mesec",Weekly:"na teden",Daily:"na dan",newPeriodLimit:"New monthly limit",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",setLimit:"NASTAVITE LIMIT",loss:"Limit izgube",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",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",popup3:"Thank you! \n We have transmitted your desired limit to Lugas \n Please be aware that the limit will only come into effect after 8 days at the latest.",popup2_a:"We were able to set your monthly deposit limit to ",popup2_b:". For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment.",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",invalidInputMessageLimit:"Vnešena vrednost mora biti med {minValue} in {maxValue} {currency}.",docsRequired:"Documents required!",okButton:"OK"},pl:{loadingText:"Ładowanie...",Monthly:"na miesiąc",Weekly:"na tydzień",Daily:"na dzień",newPeriodLimit:"New monthly limit",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",setLimit:"USTAW LIMIT",loss:"Limit Strat",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",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",popup3:"Thank you! \n We have transmited your desired limit to Lugas \n Please be aware that the limit will only come into effect after 8 days at the latest.",popup2_a:"We were able to set your monthly deposit limit to ",popup2_b:". For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment.",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",invalidInputMessageLimit:"Podana wartość musi znajdować się pomiędzy {minValue} a {maxValue} {currency}.",docsRequired:"Documents required!",okButton:"OK"},fr:{loadingText:"Chargement, veuillez patienter...",Monthly:"mois",Weekly:"semaine",Daily:"jour",newPeriodLimit:"New monthly limit",per:"par",updateText:"sera appliqué sur",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",noLimitText:"Aucune limite n'est actuellement définie.",limitType:"Limit Type",period:"Period",amount:"Amount",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit",okButton:"OK"},ro:{loadingText:"Se incarca, va rugam asteptati...",Monthly:"luna",Weekly:"saptamana",Daily:"zi",newPeriodLimit:"New monthly limit",per:"pe",updateText:"va intra in vigoare incepand cu",noLimitText:"Momentan nu este setata o limita.",limitType:"Tip Limita",period:"Perioada",amount:"Valoare",setLimit:"ACCEPTA LIMITA",loss:"Limita de Pierdere",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",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!",okButton:"OK"},es:{loadingText:"Cargando",Monthly:"por mes",Weekly:"por semana",Daily:"por día",newPeriodLimit:"New monthly limit",adjectiveMonthly:"mensual",adjectiveWeekly:"semanal",adjectiveDaily:"diario",None:"Ninguno / NA",noPeriod:"Sin periodo",per:"por cada",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",setLimit:"Fijar límite",loss:"Límite de pérdida",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",deposit:"Límite de depósito",wager:"Límite de apuesta",stake:"Límite de apuesta",lugas:"Límite de depósito actual",wagerCasino:"Límite de Tragamonedas",wagerSports:"Límite de apuesta",sessionLimit:"Límite de tiempo en sesión única",sessionLimitUpdated:"Límite de tiempo en sesión única actualizado satisfactoriamente",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:"Ha ocurrido un error.",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",invalidInputMessageLimit:"El valor ingresado debe ser un mínimo de {minValue} y un máximo de {maxValue} {currency}.",unableToUpdatePendingRequest:"No pudimos actualizar tu límite porque ya hay otra actualización pendiente. Vuelve a intentarlo después de haberse aplicado la actualización actual.",docsRequired:"Documentos requeridos!",kyc2:"Para el límite seleccionado",okButton:"OK"},pt:{loadingText:"Carregando, por favor espere...",okButton:"OK"}};var $i="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},Bi="URLSearchParams"in $i,Ii="Symbol"in $i&&"iterator"in Symbol,ki="FileReader"in $i&&"Blob"in $i&&function(){try{return new Blob,!0}catch(e){return!1}}(),Oi="FormData"in $i,Hi="ArrayBuffer"in $i;if(Hi)var Ni=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Mi=ArrayBuffer.isView||function(e){return e&&Ni.indexOf(Object.prototype.toString.call(e))>-1};function Ri(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 Ui(e){return"string"!=typeof e&&(e=String(e)),e}function ji(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return Ii&&(t[Symbol.iterator]=function(){return t}),t}function Fi(e){this.map={},e instanceof Fi?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 Gi(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function zi(e){return new Promise((function(t,i){e.onload=function(){t(e.result)},e.onerror=function(){i(e.error)}}))}function Vi(e){var t=new FileReader,i=zi(t);return t.readAsArrayBuffer(e),i}function Wi(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Xi(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:ki&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Oi&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Bi&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Hi&&ki&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=Wi(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Hi&&(ArrayBuffer.prototype.isPrototypeOf(e)||Mi(e))?this._bodyArrayBuffer=Wi(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):Bi&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ki&&(this.blob=function(){var e=Gi(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=Gi(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(ki)return this.blob().then(Vi);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,i,r,n,o=Gi(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,i=zi(t),r=/charset=([A-Za-z0-9_-]+)/.exec(e.type),n=r?r[1]:"utf-8",t.readAsText(e,n),i;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),i=new Array(t.length),r=0;r<t.length;r++)i[r]=String.fromCharCode(t[r]);return i.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Oi&&(this.formData=function(){return this.text().then(Yi)}),this.json=function(){return this.text().then(JSON.parse)},this}Fi.prototype.append=function(e,t){e=Ri(e),t=Ui(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},Fi.prototype.delete=function(e){delete this.map[Ri(e)]},Fi.prototype.get=function(e){return e=Ri(e),this.has(e)?this.map[e]:null},Fi.prototype.has=function(e){return this.map.hasOwnProperty(Ri(e))},Fi.prototype.set=function(e,t){this.map[Ri(e)]=Ui(t)},Fi.prototype.forEach=function(e,t){for(var i in this.map)this.map.hasOwnProperty(i)&&e.call(t,this.map[i],i,this)},Fi.prototype.keys=function(){var e=[];return this.forEach((function(t,i){e.push(i)})),ji(e)},Fi.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),ji(e)},Fi.prototype.entries=function(){var e=[];return this.forEach((function(t,i){e.push([i,t])})),ji(e)},Ii&&(Fi.prototype[Symbol.iterator]=Fi.prototype.entries);var qi=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Ki(e,t){if(!(this instanceof Ki))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var i,r,n=(t=t||{}).body;if(e instanceof Ki){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Fi(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=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 Fi(t.headers)),this.method=(i=t.method||this.method||"GET",r=i.toUpperCase(),qi.indexOf(r)>-1?r:i),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in $i)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("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 Yi(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var i=e.split("="),r=i.shift().replace(/\+/g," "),n=i.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(n))}})),t}function Zi(e,t){if(!(this instanceof Zi))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 Fi(t.headers),this.url=t.url||"",this._initBody(e)}Ki.prototype.clone=function(){return new Ki(this,{body:this._bodyInit})},Xi.call(Ki.prototype),Xi.call(Zi.prototype),Zi.prototype.clone=function(){return new Zi(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Fi(this.headers),url:this.url})},Zi.error=function(){var e=new Zi(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var Ji=[301,302,303,307,308];Zi.redirect=function(e,t){if(-1===Ji.indexOf(t))throw new RangeError("Invalid status code");return new Zi(null,{status:t,headers:{location:e}})};var Qi=$i.DOMException;try{new Qi}catch(e){(Qi=function(e,t){this.message=e,this.name=t;var i=Error(e);this.stack=i.stack}).prototype=Object.create(Error.prototype),Qi.prototype.constructor=Qi}function er(e,t){return new Promise((function(i,r){var n=new Ki(e,t);if(n.signal&&n.signal.aborted)return r(new Qi("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}if(o.onload=function(){var e,t,r={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new Fi,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 i=e.split(":"),r=i.shift().trim();if(r){var n=i.join(":").trim();try{t.append(r,n)}catch(e){console.warn("Response "+e.message)}}})),t)};n.url.startsWith("file://")&&(o.status<200||o.status>599)?r.status=200:r.status=o.status,r.url="responseURL"in o?o.responseURL:r.headers.get("X-Request-URL");var s="response"in o?o.response:o.responseText;setTimeout((function(){i(new Zi(s,r))}),0)},o.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request timed out"))}),0)},o.onabort=function(){setTimeout((function(){r(new Qi("Aborted","AbortError"))}),0)},o.open(n.method,function(e){try{return""===e&&$i.location.href?$i.location.href:e}catch(t){return e}}(n.url),!0),"include"===n.credentials?o.withCredentials=!0:"omit"===n.credentials&&(o.withCredentials=!1),"responseType"in o&&(ki?o.responseType="blob":Hi&&(o.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof Fi||$i.Headers&&t.headers instanceof $i.Headers)){var a=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){a.push(Ri(e)),o.setRequestHeader(e,Ui(t.headers[e]))})),n.headers.forEach((function(e,t){-1===a.indexOf(t)&&o.setRequestHeader(t,e)}))}else n.headers.forEach((function(e,t){o.setRequestHeader(t,e)}));n.signal&&(n.signal.addEventListener("abort",s),o.onreadystatechange=function(){4===o.readyState&&n.signal.removeEventListener("abort",s)}),o.send(void 0===n._bodyInit?null:n._bodyInit)}))}er.polyfill=!0,$i.fetch||($i.fetch=er,$i.Headers=Fi,$i.Request=Ki,$i.Response=Zi),self.fetch.bind(self);var tr=function(e,t){return tr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},tr(e,t)};function ir(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}tr(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}function rr(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function nr(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var r,n,o=i.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){n={error:e}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return s}function or(e,t,i){if(i||2===arguments.length)for(var r,n=0,o=t.length;n<o;n++)!r&&n in t||(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}function sr(e){return"function"==typeof e}function ar(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 lr=ar((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 ur(e,t){if(e){var i=e.indexOf(t);0<=i&&e.splice(i,1)}}var cr=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,i,r,n;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=rr(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(sr(l))try{l()}catch(e){n=e instanceof lr?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=rr(u),p=c.next();!p.done;p=c.next()){var h=p.value;try{mr(h)}catch(e){n=null!=n?n:[],e instanceof lr?n=or(or([],nr(n)),nr(e.errors)):n.push(e)}}}catch(e){i={error:e}}finally{try{p&&!p.done&&(r=c.return)&&r.call(c)}finally{if(i)throw i.error}}}if(n)throw new lr(n)}},e.prototype.add=function(t){var i;if(t&&t!==this)if(this.closed)mr(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(i=this._finalizers)&&void 0!==i?i:[]).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)&&ur(t,e)},e.prototype.remove=function(t){var i=this._finalizers;i&&ur(i,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),pr=cr.EMPTY;function hr(e){return e instanceof cr||e&&"closed"in e&&sr(e.remove)&&sr(e.add)&&sr(e.unsubscribe)}function mr(e){sr(e)?e():e.unsubscribe()}var dr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},fr={setTimeout:function(e,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];var n=fr.delegate;return(null==n?void 0:n.setTimeout)?n.setTimeout.apply(n,or([e,t],nr(i))):setTimeout.apply(void 0,or([e,t],nr(i)))},clearTimeout:function(e){var t=fr.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function yr(){}var gr=null;function br(e){if(dr.useDeprecatedSynchronousErrorHandling){var t=!gr;if(t&&(gr={errorThrown:!1,error:null}),e(),t){var i=gr,r=i.errorThrown,n=i.error;if(gr=null,r)throw n}}else e()}var vr=function(e){function t(t){var i=e.call(this)||this;return i.isStopped=!1,t?(i.destination=t,hr(t)&&t.add(i)):i.destination=Ar,i}return ir(t,e),t.create=function(e,t,i){return new Tr(e,t,i)},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}(cr),Lr=Function.prototype.bind;function wr(e,t){return Lr.call(e,t)}var Er=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){Sr(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Sr(e)}else Sr(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Sr(e)}},e}(),Tr=function(e){function t(t,i,r){var n,o,s=e.call(this)||this;sr(t)||!t?n={next:null!=t?t:void 0,error:null!=i?i:void 0,complete:null!=r?r:void 0}:s&&dr.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},n={next:t.next&&wr(t.next,o),error:t.error&&wr(t.error,o),complete:t.complete&&wr(t.complete,o)}):n=t;return s.destination=new Er(n),s}return ir(t,e),t}(vr);function Sr(e){var t;t=e,fr.setTimeout((function(){throw t}))}var Ar={closed:!0,next:yr,error:function(e){throw e},complete:yr},xr="function"==typeof Symbol&&Symbol.observable||"@@observable";function _r(e){return e}var Pr=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var i=new e;return i.source=this,i.operator=t,i},e.prototype.subscribe=function(e,t,i){var r,n=this,o=(r=e)&&r instanceof vr||function(e){return e&&sr(e.next)&&sr(e.error)&&sr(e.complete)}(r)&&hr(r)?e:new Tr(e,t,i);return br((function(){var e=n,t=e.operator,i=e.source;o.add(t?t.call(o,i):i?n._subscribe(o):n._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 i=this;return new(t=Dr(t))((function(t,r){var n=new Tr({next:function(t){try{e(t)}catch(e){r(e),n.unsubscribe()}},error:r,complete:t});i.subscribe(n)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[xr]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return(0===(e=t).length?_r: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=Dr(e))((function(e,i){var r;t.subscribe((function(e){return r=e}),(function(e){return i(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function Dr(e){var t;return null!==(t=null!=e?e:dr.Promise)&&void 0!==t?t:Promise}var Cr=ar((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),$r=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 ir(t,e),t.prototype.lift=function(e){var t=new Br(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Cr},t.prototype.next=function(e){var t=this;br((function(){var i,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var n=rr(t.currentObservers),o=n.next();!o.done;o=n.next()){o.value.next(e)}}catch(e){i={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}}}))},t.prototype.error=function(e){var t=this;br((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var i=t.observers;i.length;)i.shift().error(e)}}))},t.prototype.complete=function(){var e=this;br((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,i=this,r=i.hasError,n=i.isStopped,o=i.observers;return r||n?pr:(this.currentObservers=null,o.push(e),new cr((function(){t.currentObservers=null,ur(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,i=t.hasError,r=t.thrownError,n=t.isStopped;i?e.error(r):n&&e.complete()},t.prototype.asObservable=function(){var e=new Pr;return e.source=this,e},t.create=function(e,t){return new Br(e,t)},t}(Pr),Br=function(e){function t(t,i){var r=e.call(this)||this;return r.destination=t,r.source=i,r}return ir(t,e),t.prototype.next=function(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,e)},t.prototype.error=function(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.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,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==i?i:pr},t}($r),Ir={now:function(){return(Ir.delegate||Date).now()},delegate:void 0},kr=function(e){function t(t,i,r){void 0===t&&(t=1/0),void 0===i&&(i=1/0),void 0===r&&(r=Ir);var n=e.call(this)||this;return n._bufferSize=t,n._windowTime=i,n._timestampProvider=r,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=i===1/0,n._bufferSize=Math.max(1,t),n._windowTime=Math.max(1,i),n}return ir(t,e),t.prototype.next=function(t){var i=this,r=i.isStopped,n=i._buffer,o=i._infiniteTimeWindow,s=i._timestampProvider,a=i._windowTime;r||(n.push(t),!o&&n.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),i=this._infiniteTimeWindow,r=this._buffer.slice(),n=0;n<r.length&&!e.closed;n+=i?1:2)e.next(r[n]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,i=e._timestampProvider,r=e._buffer,n=e._infiniteTimeWindow,o=(n?1:2)*t;if(t<1/0&&o<r.length&&r.splice(0,r.length-o),!n){for(var s=i.now(),a=0,l=1;l<r.length&&r[l]<=s;l+=2)a=l;a&&r.splice(0,a+1)}},t}($r);let Or=[],Hr={};window.emWidgets={topic:(e,t=0)=>{if(-1==Or.indexOf(e)){let i=new kr(t);Hr[e]=i,Or.push(e)}return Hr[e]}};const Nr=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)),{document:Mr}=l;function Rr(e,t,i){const r=e.slice();return r[101]=t[i],r}function Ur(e,t,i){const r=e.slice();return r[104]=t[i],r[106]=i,r}function jr(e,t,i){const r=e.slice();return r[104]=t[i],r}function Fr(e,t,i){const r=e.slice();return r[109]=t[i],r}function Gr(e){let t,i;function r(e,t){return e[18]?zr:Vr}let n=r(e),o=n(e);return{c(){t=m("div"),i=m("div"),o.c(),v(i,"class","PopupContainer "+(e[23]?"Desktop":"")),v(t,"class","PopupOverlay")},m(e,r){c(e,t,r),u(t,i),o.m(i,null)},p(e,t){n===(n=r(e))&&o?o.p(e,t):(o.d(1),o=n(e),o&&(o.c(),o.m(i,null)))},d(e){e&&p(t),o.d()}}}function zr(e){let t,i,r,n,o,s,a,l,h,d,L,w,T,S,A,x,_=e[22]("popupTitle")+"";function P(e,t){return e[16]?qr:2==e[20]?Xr:Wr}let D=P(e),C=D(e);function $(e,t){return e[16]?Zr:2==e[20]?Yr:Kr}let B=$(e),I=B(e);function k(e,t){return 2==e[20]?Qr:Jr}let O=k(e),H=O(e);return{c(){t=m("div"),i=m("span"),r=f(_),n=y(),o=m("button"),o.textContent="X",s=y(),a=m("div"),l=m("div"),C.c(),h=y(),I.c(),d=y(),L=m("p"),w=f(e[19]),T=y(),H.c(),S=g(),v(i,"class","PopupTitle"),v(o,"class","ClosePopup"),v(t,"class","PopupTitleWrapper"),v(l,"class","ResultIconWrapper"),v(L,"class","DescriptionParagraph"),v(a,"class","DescriptionWrapper")},m(p,m){c(p,t,m),u(t,i),u(i,r),u(t,n),u(t,o),c(p,s,m),c(p,a,m),u(a,l),C.m(l,null),u(l,h),I.m(l,null),u(a,d),u(a,L),u(L,w),c(p,T,m),H.m(p,m),c(p,S,m),A||(x=b(o,"click",e[31]),A=!0)},p(e,t){4194304&t[0]&&_!==(_=e[22]("popupTitle")+"")&&E(r,_),D!==(D=P(e))&&(C.d(1),C=D(e),C&&(C.c(),C.m(l,h))),B===(B=$(e))&&I?I.p(e,t):(I.d(1),I=B(e),I&&(I.c(),I.m(l,null))),524288&t[0]&&E(w,e[19]),O===(O=k(e))&&H?H.p(e,t):(H.d(1),H=O(e),H&&(H.c(),H.m(S.parentNode,S)))},d(e){e&&p(t),e&&p(s),e&&p(a),C.d(),I.d(),e&&p(T),H.d(e),e&&p(S),A=!1,x()}}}function Vr(t){let i;return{c(){i=m("div"),v(i,"class","LoadingIndicator")},m(e,t){c(e,i,t)},p:e,d(e){e&&p(i)}}}function Wr(e){let t,i,r,n,o,s;return{c(){t=d("svg"),i=d("defs"),r=d("style"),n=f(".fil0 {fill:black;fill-rule:nonzero}\n "),o=d("g"),s=d("polygon"),v(r,"type","text/css"),v(s,"class","fil0"),v(s,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),v(t,"xmlns","http://www.w3.org/2000/svg"),v(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),v(t,"xml:space","preserve"),v(t,"version","1.1"),S(t,"shape-rendering","geometricPrecision"),S(t,"text-rendering","geometricPrecision"),S(t,"image-rendering","optimizeQuality"),v(t,"viewBox","0 0 90 69"),v(t,"x","0px"),v(t,"y","0px"),v(t,"fill-rule","evenodd"),v(t,"clip-rule","evenodd")},m(e,a){c(e,t,a),u(t,i),u(i,r),u(r,n),u(t,o),u(o,s)},d(e){e&&p(t)}}}function Xr(e){let t,i,r;return{c(){t=d("svg"),i=d("g"),r=d("path"),v(r,"id","XMLID_6_"),v(r,"d","M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360\n c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55\n c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1\n h256.5v-82.1H429v366.5H429.9z"),v(i,"id","XMLID_1_"),v(t,"version","1.1"),v(t,"id","Layer_1"),v(t,"xmlns","http://www.w3.org/2000/svg"),v(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),v(t,"x","0px"),v(t,"y","0px"),v(t,"viewBox","0 0 512 512"),S(t,"enable-background","new 0 0 512 512"),v(t,"xml:space","preserve")},m(e,n){c(e,t,n),u(t,i),u(i,r)},d(e){e&&p(t)}}}function qr(e){let t,i,r,n,o,s,a,l,h,m,f,y,g,b,L,w,E,T,A;return{c(){t=d("svg"),i=d("g"),r=d("path"),n=d("path"),o=d("g"),s=d("g"),a=d("g"),l=d("g"),h=d("g"),m=d("g"),f=d("g"),y=d("g"),g=d("g"),b=d("g"),L=d("g"),w=d("g"),E=d("g"),T=d("g"),A=d("g"),v(r,"d","M26,0C11.664,0,0,11.663,0,26s11.664,26,26,26s26-11.663,26-26S40.336,0,26,0z M26,50C12.767,50,2,39.233,2,26\n S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z"),v(n,"d","M35.707,16.293c-0.391-0.391-1.023-0.391-1.414,0L26,24.586l-8.293-8.293c-0.391-0.391-1.023-0.391-1.414,0\n s-0.391,1.023,0,1.414L24.586,26l-8.293,8.293c-0.391,0.391-0.391,1.023,0,1.414C16.488,35.902,16.744,36,17,36\n s0.512-0.098,0.707-0.293L26,27.414l8.293,8.293C34.488,35.902,34.744,36,35,36s0.512-0.098,0.707-0.293\n c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z"),v(t,"version","1.1"),v(t,"id","Capa_1"),v(t,"xmlns","http://www.w3.org/2000/svg"),v(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),v(t,"x","0px"),v(t,"y","0px"),v(t,"viewBox","0 0 52 52"),S(t,"enable-background","new 0 0 52 52"),v(t,"xml:space","preserve")},m(e,p){c(e,t,p),u(t,i),u(i,r),u(i,n),u(t,o),u(t,s),u(t,a),u(t,l),u(t,h),u(t,m),u(t,f),u(t,y),u(t,g),u(t,b),u(t,L),u(t,w),u(t,E),u(t,T),u(t,A)},d(e){e&&p(t)}}}function Kr(e){let t,i,r=e[22]("popupSuccess")+"";return{c(){t=m("p"),i=f(r)},m(e,r){c(e,t,r),u(t,i)},p(e,t){4194304&t[0]&&r!==(r=e[22]("popupSuccess")+"")&&E(i,r)},d(e){e&&p(t)}}}function Yr(e){let t,i,r=e[22]("docsRequired")+"";return{c(){t=m("p"),i=f(r)},m(e,r){c(e,t,r),u(t,i)},p(e,t){4194304&t[0]&&r!==(r=e[22]("docsRequired")+"")&&E(i,r)},d(e){e&&p(t)}}}function Zr(e){let t,i,r=e[22]("popupError")+"";return{c(){t=m("p"),i=f(r)},m(e,r){c(e,t,r),u(t,i)},p(e,t){4194304&t[0]&&r!==(r=e[22]("popupError")+"")&&E(i,r)},d(e){e&&p(t)}}}function Jr(e){let t,i,r,n,o=e[22]("okButton")+"";return{c(){t=m("button"),i=f(o),v(t,"class","ConfirmButton")},m(o,s){c(o,t,s),u(t,i),r||(n=b(t,"click",e[31]),r=!0)},p(e,t){4194304&t[0]&&o!==(o=e[22]("okButton")+"")&&E(i,o)},d(e){e&&p(t),r=!1,n()}}}function Qr(e){let t,i,n,o,s,a,l,h=e[22]("uploadDocumentsButton")+"",d=e[22]("closeButton")+"";return{c(){t=m("button"),i=f(h),n=y(),o=m("button"),s=f(d),v(t,"class","ConfirmButton"),v(o,"class","CloseButton")},m(r,p){c(r,t,p),u(t,i),c(r,n,p),c(r,o,p),u(o,s),a||(l=[b(t,"click",e[32]),b(o,"click",e[31])],a=!0)},p(e,t){4194304&t[0]&&h!==(h=e[22]("uploadDocumentsButton")+"")&&E(i,h),4194304&t[0]&&d!==(d=e[22]("closeButton")+"")&&E(s,d)},d(e){e&&p(t),e&&p(n),e&&p(o),a=!1,r(l)}}}function en(e){let t,i,n,o,s,a,l,d,g,L,S,A,x,_,P,D,C,$,B=e[13]?`${e[22]("amount")}`:`${e[22]("newPeriodLimit")}`,I=e[22]("setLimit")+"",k=e[4],O=[];for(let t=0;t<k.length;t+=1)O[t]=mn(jr(e,k,t));let H=e[12]&&dn(e),N=e[13]&&yn(e),M=e[21]&&bn(e);return{c(){t=m("div"),i=m("div"),n=m("div");for(let e=0;e<O.length;e+=1)O[e].c();o=y(),s=m("form"),H&&H.c(),a=y(),N&&N.c(),l=y(),d=m("label"),g=m("span"),L=f(B),S=y(),A=m("input"),x=y(),M&&M.c(),_=y(),P=m("button"),D=f(I),v(n,"class","LimitsList "+(e[23]?"Desktop":"")),v(g,"class","LimitInputText"),v(A,"type","number"),v(A,"pattern","[0-9]*"),v(d,"class","LimitAmountInputWrapper"),v(P,"class","LimitSubmitButton"),v(P,"type","button"),P.disabled=!0,v(s,"class","LimitsInteractionArea "+(e[23]?"Desktop":"")),v(i,"class","LimitsPageContainer"),v(t,"class","player-account-gaming-limits-page-2-gm16")},m(r,p){c(r,t,p),u(t,i),u(i,n);for(let e=0;e<O.length;e+=1)O[e]&&O[e].m(n,null);u(i,o),u(i,s),H&&H.m(s,null),u(s,a),N&&N.m(s,null),u(s,l),u(s,d),u(d,g),u(g,L),u(d,S),u(d,A),T(A,e[8]),u(d,x),M&&M.m(d,null),u(s,_),u(s,P),u(P,D),e[51](P),C||($=[b(A,"input",e[50]),b(A,"keydown",e[33]),b(A,"keyup",e[27]),b(P,"click",e[26]),b(s,"submit",e[26])],C=!0)},p(e,t){if(1623195666&t[0]){let i;for(k=e[4],i=0;i<k.length;i+=1){const r=jr(e,k,i);O[i]?O[i].p(r,t):(O[i]=mn(r),O[i].c(),O[i].m(n,null))}for(;i<O.length;i+=1)O[i].d(1);O.length=k.length}e[12]?H?H.p(e,t):(H=dn(e),H.c(),H.m(s,a)):H&&(H.d(1),H=null),e[13]?N?N.p(e,t):(N=yn(e),N.c(),N.m(s,l)):N&&(N.d(1),N=null),4202496&t[0]&&B!==(B=e[13]?`${e[22]("amount")}`:`${e[22]("newPeriodLimit")}`)&&E(L,B),256&t[0]&&w(A.value)!==e[8]&&T(A,e[8]),e[21]?M?M.p(e,t):(M=bn(e),M.c(),M.m(d,null)):M&&(M.d(1),M=null),4194304&t[0]&&I!==(I=e[22]("setLimit")+"")&&E(D,I)},d(i){i&&p(t),h(O,i),H&&H.d(),N&&N.d(),M&&M.d(),e[51](null),C=!1,r($)}}}function tn(t){let i;return{c(){i=m("p"),i.textContent="500 Server error"},m(e,t){c(e,i,t)},p:e,d(e){e&&p(i)}}}function rn(t){return{c:e,m:e,p:e,d:e}}function nn(t){let i;return{c(){i=m("div"),v(i,"class","LoadingIndicator")},m(e,t){c(e,i,t)},p:e,d(e){e&&p(i)}}}function on(e){let t,i,r,n,o=e[22]("noLimitText")+"";return{c(){t=m("div"),i=m("div"),r=m("div"),n=f(o),v(r,"class","LimitDetailsTextWrapper"),v(i,"class","LimitDetailsWrapper"),v(t,"class","LimitDetails")},m(e,o){c(e,t,o),u(t,i),u(i,r),u(r,n)},p(e,t){4194304&t[0]&&o!==(o=e[22]("noLimitText")+"")&&E(n,o)},d(e){e&&p(t)}}}function sn(e){let t,i,r,n,o=e[22]("lugasPrivacy")+"";return{c(){t=m("div"),i=m("div"),r=m("div"),n=f(o),v(r,"class","LimitDetailsTextWrapper"),v(i,"class","LimitDetailsWrapper"),v(t,"class","LimitDetails")},m(e,o){c(e,t,o),u(t,i),u(i,r),u(r,n)},p(e,t){4194304&t[0]&&o!==(o=e[22]("lugasPrivacy")+"")&&E(n,o)},d(e){e&&p(t)}}}function an(e){let t,i=e[104].currentLimits,r=[];for(let t=0;t<i.length;t+=1)r[t]=hn(Fr(e,i,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=g()},m(e,i){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,i);c(e,t,i)},p(e,n){if(541065234&n[0]){let o;for(i=e[104].currentLimits,o=0;o<i.length;o+=1){const s=Fr(e,i,o);r[o]?r[o].p(s,n):(r[o]=hn(s),r[o].c(),r[o].m(t.parentNode,t))}for(;o<r.length;o+=1)r[o].d(1);r.length=i.length}},d(e){h(r,e),e&&p(t)}}}function ln(e){let t,i,r,n,o=e[22]("lugasPrivacy")+"";return{c(){t=m("div"),i=m("div"),r=m("div"),n=f(o),v(r,"class","LimitDetailsTextWrapper"),v(i,"class","LimitDetailsWrapper"),v(t,"class","LimitDetails")},m(e,o){c(e,t,o),u(t,i),u(i,r),u(r,n)},p(e,t){4194304&t[0]&&o!==(o=e[22]("lugasPrivacy")+"")&&E(n,o)},d(e){e&&p(t)}}}function un(e){let t,i,r=`${e[22]("removedLimitText")} ${e[109].expiryDate}`;return{c(){t=m("div"),i=f(r),v(t,"class","PendingLimit")},m(e,r){c(e,t,r),u(t,i)},p(e,t){4194320&t[0]&&r!==(r=`${e[22]("removedLimitText")} ${e[109].expiryDate}`)&&E(i,r)},d(e){e&&p(t)}}}function cn(e){let t,i,r=`${e[109].updateAmount}${e[109].currency} ${"None"!==e[109].period||"cumulativeSession"!==e[109].value?" ":e[22]("per")} ${e[22](`${e[109].period}`)} ${e[22]("updateText")} ${e[109].expiryDate}`;return{c(){t=m("div"),i=f(r),v(t,"class","PendingLimit")},m(e,r){c(e,t,r),u(t,i)},p(e,t){4194320&t[0]&&r!==(r=`${e[109].updateAmount}${e[109].currency} ${"None"!==e[109].period||"cumulativeSession"!==e[109].value?" ":e[22]("per")} ${e[22](`${e[109].period}`)} ${e[22]("updateText")} ${e[109].expiryDate}`)&&E(i,r)},d(e){e&&p(t)}}}function pn(e){let t,i,r,n,o=e[22]("removeLimit")+"";function s(){return e[46](e[109])}return{c(){t=m("button"),i=f(o),v(t,"class","RemoveLimitButton")},m(e,o){c(e,t,o),u(t,i),r||(n=b(t,"click",s),r=!0)},p(t,r){e=t,4194304&r[0]&&o!==(o=e[22]("removeLimit")+"")&&E(i,o)},d(e){e&&p(t),r=!1,n()}}}function hn(e){let t,i,r,n,o,s,a,l,h=`${e[109].amount}${e[109].currency} ${"None"!==e[109].period||"cumulativeSession"!==e[109].value?" ":e[22]("per")} ${e[22](`${e[109].period}`)}`,d=!e[109].isModified&&e[1].indexOf(e[104].value)>-1;function g(e,t){return 16&t[0]&&(s=null),null==s&&(s=!!(e[109].isModified&&+e[109].updateAmount.replaceAll(",","")>0)),s?cn:e[109].isModified?un:void 0}let b=g(e,[-1,-1,-1,-1]),L=b&&b(e),w=d&&pn(e);return{c(){t=m("div"),i=m("div"),r=m("div"),n=f(h),o=y(),L&&L.c(),a=y(),w&&w.c(),l=y(),v(r,"class","CurrentLimit"),v(i,"class","LimitDetailsTextWrapper"),v(t,"class","LimitDetails")},m(e,s){c(e,t,s),u(t,i),u(i,r),u(r,n),u(i,o),L&&L.m(i,null),u(t,a),w&&w.m(t,null),u(t,l)},p(e,r){4194320&r[0]&&h!==(h=`${e[109].amount}${e[109].currency} ${"None"!==e[109].period||"cumulativeSession"!==e[109].value?" ":e[22]("per")} ${e[22](`${e[109].period}`)}`)&&E(n,h),b===(b=g(e,r))&&L?L.p(e,r):(L&&L.d(1),L=b&&b(e),L&&(L.c(),L.m(i,null))),18&r[0]&&(d=!e[109].isModified&&e[1].indexOf(e[104].value)>-1),d?w?w.p(e,r):(w=pn(e),w.c(),w.m(t,l)):w&&(w.d(1),w=null)},d(e){e&&p(t),L&&L.d(),w&&w.d()}}}function mn(e){let t,i,r,n,o,s=e[30](e[104])+"";function a(e,t){return"lugas"===e[104].value?ln:e[104].currentLimits.length>0?an:"lugas"===e[104].value?sn:on}let l=a(e),h=l(e);return{c(){t=m("div"),i=m("p"),r=f(s),n=y(),h.c(),o=y(),v(i,"class","LimitTitle"),v(t,"class","LimitWrapper "+(e[23]?"Desktop":""))},m(e,s){c(e,t,s),u(t,i),u(i,r),u(t,n),h.m(t,null),u(t,o)},p(e,i){16&i[0]&&s!==(s=e[30](e[104])+"")&&E(r,s),l===(l=a(e))&&h?h.p(e,i):(h.d(1),h=l(e),h&&(h.c(),h.m(t,o)))},d(e){e&&p(t),h.d()}}}function dn(e){let t,i,n,o,s,a,l,d=e[22]("limitType")+"",g=e[4],L=[];for(let t=0;t<g.length;t+=1)L[t]=fn(Ur(e,g,t));return{c(){t=m("label"),i=m("span"),n=f(d),o=y(),s=m("select");for(let e=0;e<L.length;e+=1)L[e].c();v(i,"class","LimitSelectText"),v(s,"name",""),v(s,"id",""),void 0===e[7]&&M((()=>e[47].call(s))),v(t,"class","LimitTypeDropdownWrapper")},m(r,p){c(r,t,p),u(t,i),u(i,n),u(t,o),u(t,s);for(let e=0;e<L.length;e+=1)L[e]&&L[e].m(s,null);A(s,e[7],!0),a||(l=[b(s,"change",e[47]),b(s,"change",e[48])],a=!0)},p(e,t){if(4194304&t[0]&&d!==(d=e[22]("limitType")+"")&&E(n,d),1073741840&t[0]){let i;for(g=e[4],i=0;i<g.length;i+=1){const r=Ur(e,g,i);L[i]?L[i].p(r,t):(L[i]=fn(r),L[i].c(),L[i].m(s,null))}for(;i<L.length;i+=1)L[i].d(1);L.length=g.length}128&t[0]&&A(s,e[7])},d(e){e&&p(t),h(L,e),a=!1,r(l)}}}function fn(e){let t,i,r=e[30](e[104])+"";return{c(){t=m("option"),i=f(r),t.__value=e[106],t.value=t.__value},m(e,r){c(e,t,r),u(t,i)},p(e,t){16&t[0]&&r!==(r=e[30](e[104])+"")&&E(i,r)},d(e){e&&p(t)}}}function yn(e){let t,i,r,n,o,s,a,l=e[22]("period")+"",d=e[3][e[5]].periods,g=[];for(let t=0;t<d.length;t+=1)g[t]=gn(Rr(e,d,t));return{c(){t=m("label"),i=m("span"),r=f(l),n=y(),o=m("select");for(let e=0;e<g.length;e+=1)g[e].c();v(i,"class","PeriodSelectText"),v(o,"name",""),v(o,"id",""),void 0===e[6]&&M((()=>e[49].call(o))),v(t,"class","LimitPeriodDropdownWrapper")},m(l,p){c(l,t,p),u(t,i),u(i,r),u(t,n),u(t,o);for(let e=0;e<g.length;e+=1)g[e]&&g[e].m(o,null);A(o,e[6],!0),s||(a=b(o,"change",e[49]),s=!0)},p(e,t){if(4194304&t[0]&&l!==(l=e[22]("period")+"")&&E(r,l),4194344&t[0]){let i;for(d=e[3][e[5]].periods,i=0;i<d.length;i+=1){const r=Rr(e,d,i);g[i]?g[i].p(r,t):(g[i]=gn(r),g[i].c(),g[i].m(o,null))}for(;i<g.length;i+=1)g[i].d(1);g.length=d.length}104&t[0]&&A(o,e[6])},d(e){e&&p(t),h(g,e),s=!1,a()}}}function gn(e){let t,i,r,n=e[22](e[101])+"";return{c(){t=m("option"),i=f(n),t.__value=r=e[101],t.value=t.__value,t.selected=!0},m(e,r){c(e,t,r),u(t,i)},p(e,o){4194344&o[0]&&n!==(n=e[22](e[101])+"")&&E(i,n),40&o[0]&&r!==(r=e[101])&&(t.__value=r,t.value=t.__value)},d(e){e&&p(t)}}}function bn(e){let t,i,r=e[22]("invalidInputMessageLimit",{values:{minValue:e[10],maxValue:e[11],currency:e[0]}})+"";return{c(){t=m("p"),i=f(r),v(t,"class","InvalidInput")},m(e,r){c(e,t,r),u(t,i)},p(e,t){4197377&t[0]&&r!==(r=e[22]("invalidInputMessageLimit",{values:{minValue:e[10],maxValue:e[11],currency:e[0]}})+"")&&E(i,r)},d(e){e&&p(t)}}}function vn(t){let i,r,n,o,s=t[17]&&Gr(t);function a(e,t){return e[14]&&!e[17]?nn:e[14]?rn:e[15]?tn:en}let l=a(t),h=l(t);return{c(){i=m("meta"),r=y(),n=m("div"),s&&s.c(),o=y(),h.c(),this.c=e,v(i,"name","viewport"),v(i,"content","width=device-width, initial-scale=1")},m(e,a){u(Mr.head,i),c(e,r,a),c(e,n,a),s&&s.m(n,null),u(n,o),h.m(n,null),t[52](n)},p(e,t){e[17]?s?s.p(e,t):(s=Gr(e),s.c(),s.m(n,o)):s&&(s.d(1),s=null),l===(l=a(e))&&h?h.p(e,t):(h.d(1),h=l(e),h&&(h.c(),h.m(n,null)))},i:e,o:e,d(e){p(i),e&&p(r),e&&p(n),s&&s.d(),h.d(),t[52](null)}}}function Ln(e,t,i){let r;a(e,Pi,(e=>i(22,r=e)));let n,o,s,l,u,{lang:c="en"}=t,{currency:p=""}=t,{limits:h=""}=t,{session:m=""}=t,{userid:d=""}=t,{endpoint:f=""}=t,{apiversion:y=""}=t,{customcurrencysymbols:g=""}=t,{deletelimit:b=""}=t,{amountsconfig:v=""}=t,{periodsconfig:L=""}=t,{clientstyling:E=""}=t,{clientstylingurl:T=""}=t,{translationurl:S=""}=t,A=window.navigator.userAgent,_=!Nr(A),P=[],D="",C="",$="",B=0,k="",O="",H="",N={},M=!1,R=!1,U=!0,j=!1,F=!1,G=!1,z=!1,V="",W=[],X=!1,K={},Y={EUR:"€",RON:" lei",USD:"$"};const Z={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"]};Object.keys(Ci).forEach((e=>{Di(e,Ci[e])}));const J=()=>{[...v.matchAll(/\(([^)]+)\)/g)].flat().filter((e=>!e.includes("("))).forEach((e=>{q[e]?P.push(Object.assign({},q[e])):console.error(`Unknown limit: ${e}`)})),(()=>{var e;const t=v.split(",").map((e=>e.split(":"))),r=L.split(",").map((e=>e.split(":")));for(let[e,i]of t.entries())if(i[0]!==r[e][0])throw new Error(`Limit config mismatch: "${i[0]}" does not match "${r[e][0]}"`);const n=t.reduce(((e,t,i)=>{const n=t[0].slice(t[0].indexOf("(")+1,t[0].indexOf(")")),o={value:n,product:t[0].slice(0,t[0].indexOf("(")),minMax:t[1],periods:r[i][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),callValue:q[n].callValue,callValue16:q[n].callValue16,title:q[n].title};return e.push(o),e}),[]);for(let e=0;e<n.length;e++)i(4,P[e].product=n[e].product,P),i(4,P[e].min=parseInt(n[e].minMax.split("-")[0],10),P),i(4,P[e].max=parseInt(n[e].minMax.split("-")[1],10),P),i(3,q[n[e].value].periods=n[e].periods,q);H=null===(e=P[0])||void 0===e?void 0:e.value,P.forEach((e=>{N[e.value]={min:e.min,max:e.max},K[e.value]=e.product})),N&&(N[H]?(i(10,k=N[H].min),i(11,O=N[H].max)):(i(10,k=1),i(11,O=9999999)))})(),i(5,D=P[0].value),i(6,C=q[D].periods[0]),$=P[0].product,i(12,M=P.length>1),i(13,R=q[D].periods.length>1)},Q=()=>{i(5,D=P[B].value),i(6,C=q[D].periods[0]),i(13,R=q[D].periods.length>1)},ee=()=>{$=P[B].product},te=e=>{if(!(e.status>=300))return i(16,F=!1),e.json();ie(e)},ie=e=>{let t;throw i(15,j=!0),e.json().then((e=>{for(const i in Z)for(const r of Z[i])JSON.stringify(e).includes(r)&&(t=i);console.log("errType",t),!t&&me(e)})).finally((()=>{t&&me(t),i(15,j=!1),i(14,U=!1)})),new Error("An error occured during the fetch request")},re=()=>{switch(y){case"gmcore":ne();break;case"gm16":oe()}},ne=()=>{i(14,U=!0);let e=new URL(`/v2/player/${d}/limits`,f),t={method:"GET",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,t).then((e=>te(e))).then((e=>{W=e,G&&me(),se(W),ae(W),i(8,o=null)})).catch((e=>{console.error("Error LimitsWidget: ",e),i(15,j=!0)})).finally((()=>{i(14,U=!1)}))},oe=()=>{i(14,U=!0),W=[];let e=new URL(`v1/player/${d}/limits/monetary`,f),t=new URL(`v1/player/${d}/limits/session`,f),r=!1,n={method:"GET",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,n).then((e=>te(e))).then((e=>{W.push(e),G&&me(),"gmcore"===y&&se(W),"gm16"===y&&le(W),i(8,o=null)})).catch((e=>{console.error("Error LimitsWidget: ",e),i(15,j=!0)})).finally((()=>{r&&i(14,U=!1),r=!0})),fetch(t.href,n).then((e=>te(e))).then((e=>{W.push(e),G&&me(),"gm16"===y&&ue(W),"gm16"===y&&ce(W),i(8,o=null)})).catch((e=>{console.error("Error LimitsWidget: ",e),i(15,j=!0)})).finally((()=>{r&&i(14,U=!1),r=!0}))},se=e=>{P.forEach((t=>{t.currentLimits=[];const i=Array.isArray(e[q[t.value].callValue])?e[q[t.value].callValue]:[e[q[t.value].callValue]];0!==i.length&&void 0!==i[0]&&(i.forEach(((i,r)=>{var n;const o=e[q[t.value].callValue][r];t.currentLimits.push({}),t.currentLimits[r].limitType=t.value,t.currentLimits[r].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.amount),t.currentLimits[r].currency=null!==(n=Y[o.currency])&&void 0!==n?n:o.currency,t.currentLimits[r].period=o.period,t.currentLimits[r].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateAmount),t.currentLimits[r].isModified=o.isModified,t.currentLimits[r].expiryDate=`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})),t.currentLimits=pe(t.currentLimits))}))},ae=e=>{const t=r("minutes");P.filter((e=>"sessionLimit"===e.value||"cumulativeSession"===e.value)).forEach((i=>{var r;i.currentLimits=[],null===(r=e[q[i.value].callValue])||void 0===r||r.forEach(((r,n)=>{const o=e[q[i.value].callValue][n];i.currentLimits.push({limitType:i.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.minutes),currency:t,isModified:o.isModified,period:"cumulativeSession"===i.value?o.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateMinutes),expiryDate:`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})})),i.currentLimits=pe(i.currentLimits)}))},le=e=>{var t;(null===(t=e[0])||void 0===t?void 0:t.limits)&&P.forEach((t=>{var i;t.currentLimits=[];for(const r of e[0].limits)if(r.type===t.callValue16&&r.products.includes(t.product)){const e=r;t.currentLimits.push({limitType:t.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount),currency:null!==(i=Y[e.currency])&&void 0!==i?i:e.currency,isModified:e.schedules.length>0,period:e.period,product:e.products[0],updateAmount:e.schedules.length>0?Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.schedules[0].updateAmount):"",expiryDate:e.schedules.length>0?`${new Date(e.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"",id:e.id})}t.currentLimits=pe(t.currentLimits)}))},ue=e=>{var t;(null===(t=e[1])||void 0===t?void 0:t.sessionLimit)&&P.filter((e=>"sessionLimit"===e.value)).forEach((t=>{t.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e[1].sessionLimit.minutes),currency:r("minutes"),isModified:e[1].sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e[1].sessionLimit.updateMinutes),expiryDate:e[1].sessionLimit.expiryDate}),t.currentLimits=pe(t.currentLimits)}))},ce=e=>{var t;(null===(t=e[1])||void 0===t?void 0:t.cumulativeSessionLimits)&&P.filter((e=>"cumulativeSession"===e.value)).forEach((t=>{for(const i of e[1].cumulativeSessionLimits)t.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(i.minutes),currency:r("minutes"),isModified:i.isModified,period:i.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(i.updateMinutes),expiryDate:i.expiryDate});t.currentLimits=pe(t.currentLimits)}))},pe=e=>{const t={Daily:0,Weekly:1,Monthly:2};return e.sort(((e,i)=>t[e.period]-t[i.period])),e},he=()=>{i(21,X=!1),(null==N?void 0:N[D])?(i(10,k=N[D].min),i(11,O=N[D].max)):(i(10,k=1),i(11,O=9999999))},me=e=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),j)return i(16,F=!0),e&&!e.thirdPartyResponse&&i(19,V=r(`${e}`)),e&&e.thirdPartyResponse&&i(19,V=e.thirdPartyResponse.message),e&&(e=>null==e?void 0:e.error.includes("Limit update is not permitted due to LimitUpdateControl"))(e)&&i(19,V=r("popupUpdateLimitException")),e&&(e=>null==e?void 0:e.error.includes("Limit remove is not permitted due to LimitUpdateControl"))(e)&&i(19,V=r("popupRemoveLimitException")),e&&(e=>null==e?void 0:e.error.includes("[NotFoundException] Limit does not exist"))(e)&&i(19,V=r("notFoundException")),void i(18,z=!0);switch(y){case"gmcore":"sessionLimit"===D||"cumulativeSession"===D?(()=>{if(W){const e=W[q[D].callValue].filter((e=>(e.period===C||"None"===C)&&e.products[0]===$))[0],t=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.minutes);let n=r("popupImmediateUpdate").replace("{selectedLimit}",r(`${D}`)).replace("{updatedAmount}",t).replace("{currency}",r("minutes")).replace("{selectedPeriod}",r(`${C}`));i(19,V=e.isModified?`${r("popupPendingUpdate")} ${new Date(e.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:n)}i(18,z=!0)})():(()=>{if(W){const e=W[q[D].callValue].filter((e=>e.period===C&&e.products[0]===$))[0],t=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount);let n=r("popupImmediateUpdate").replace("{selectedLimit}",ge()).replace("{updatedAmount}",t).replace("{currency}",Y[e.currency]||e.currency).replace("{selectedPeriod}",r(`${C}`));i(19,V=e.isModified?`${r("popupPendingUpdate")} ${new Date(e.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:n)}i(18,z=!0)})();break;case"gm16":"lugas"===D?(2==l&&i(19,V=`${r("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(u)} ${p} ${r("popup2_b")}`),3==l&&i(19,V=r("popup3")),i(18,z=!0)):"sessionLimit"===D||"cumulativeSession"===D?(i(19,V=r("sessionLimitUpdated")),i(18,z=!0)):(()=>{var e;const t=(null===(e=W[0])||void 0===e?void 0:e.limits)||W.limits;if(W){const e=t.filter((e=>e.type===q[D].callValue16&&(e.period===C||"None"===e.period)&&e.products[0]===$))[0],n=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount),o=e.schedules.length>0?`${new Date(e.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let s=r("popupImmediateUpdate").replace("{selectedLimit}",ge()).replace("{updatedAmount}",n).replace("{currency}",Y[e.currency]||e.currency).replace("{selectedPeriod}",r(`${C}`));i(19,V=e.schedules.length>0?`${r("popupPendingUpdate")} ${o}`:s)}i(18,z=!0)})();break;default:throw new Error(`Invalid apiversion attribute: ${y}`)}},de=e=>{switch(y){case"gmcore":(e=>{i(5,D=e.limitType),i(6,C=e.period),i(17,G=!0),i(14,U=!0);let t=new URL(`v2/player/${d}/limits/${{wager:"wagering",loss:"loss",deposit:"deposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"}[e.limitType]}`,f);"sessionLimit"!==e.limitType&&t.searchParams.append("periods",e.period);let r={method:"DELETE",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,r).then((e=>te(e))).then((e=>{re()})).catch((e=>{console.log(e),i(15,j=!0)}))})(e);break;case"gm16":"sessionLimit"===e.limitType||"cumulativeSession"===e.limitType?fe(e):ye(e)}},fe=e=>{const t=new URL(`/v1/player/${d}/limits/session/session`,f),r=new URL(`/v1/player/${d}/limits/session/cumulativeSession?periods=${e.period}`,f);let n;switch(e.limitType){case"sessionLimit":n=t;break;case"cumulativeSession":n=r;break;default:throw Error(`Unknown limit.limitType: ${e.limitType}`)}i(17,G=!0),i(14,U=!0);let o={method:"DELETE",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"}};fetch(n.href,o).then((e=>te(e))).then((e=>{re()})).catch((e=>{console.log(e),i(15,j=!0)}))},ye=e=>{const t=new URL(`/v1/player/${d}/limits/monetary/${e.id}`,f);i(17,G=!0),i(14,U=!0);let r={method:"DELETE",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,r).then((e=>te(e))).then((e=>{re()})).catch((e=>{console.log(e),i(15,j=!0)}))},ge=e=>{let t;return t=r(e?e.value+e.product:D),t},be=()=>{i(18,z=i(17,G=!1)),window.postMessage({type:"CloseLimitsPopup"},window.location.href)},ve=()=>{var e;e=c,li.set(e)};return e.$$set=e=>{"lang"in e&&i(34,c=e.lang),"currency"in e&&i(0,p=e.currency),"limits"in e&&i(35,h=e.limits),"session"in e&&i(36,m=e.session),"userid"in e&&i(37,d=e.userid),"endpoint"in e&&i(38,f=e.endpoint),"apiversion"in e&&i(39,y=e.apiversion),"customcurrencysymbols"in e&&i(40,g=e.customcurrencysymbols),"deletelimit"in e&&i(1,b=e.deletelimit),"amountsconfig"in e&&i(41,v=e.amountsconfig),"periodsconfig"in e&&i(42,L=e.periodsconfig),"clientstyling"in e&&i(43,E=e.clientstyling),"clientstylingurl"in e&&i(44,T=e.clientstylingurl),"translationurl"in e&&i(45,S=e.translationurl)},e.$$.update=()=>{512&e.$$.dirty[1]&&g&&(()=>{if(!g)return;let e={};g.split(",").forEach((t=>{let i=t.split(":");e[i[0].trim()]=i[1].trim()})),Y=Object.assign(Object.assign({},Y),e)})(),3072&e.$$.dirty[1]&&L&&v&&J(),8&e.$$.dirty[1]&&c&&ve(),488&e.$$.dirty[1]&&d&&m&&f&&y&&c&&re(),4&e.$$.dirty[0]|8192&e.$$.dirty[1]&&T&&n&&(()=>{let e=new URL(T),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{n.appendChild(t)}),1)}))})(),4&e.$$.dirty[0]|4096&e.$$.dirty[1]&&E&&n&&(()=>{let e=document.createElement("style");e.innerHTML=E,n.appendChild(e)})(),16384&e.$$.dirty[1]&&S&&fetch(S).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Di(t,e[t])}))})).catch((e=>{console.log(e)}))},[p,b,n,q,P,D,C,B,o,s,k,O,M,R,U,j,F,G,z,V,l,X,r,_,Q,ee,()=>{switch(y){case"gmcore":(()=>{if(!(o>0))return;i(17,G=!0),i(14,U=!0);let e=new URL(`v2/player/${d}/limits`,f),t={};"sessionLimit"===D?t={sessionLimit:o,sessionLimitUnit:"minute"}:t[q[D].callValue]="cumulativeSession"===D?[{period:C,minutes:o}]:[{period:"None"===q[D].periods[0]?null:C,amount:o,currency:p}];let r={method:"PUT",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,r).then((e=>te(e))).then((e=>{re()})).catch((e=>{console.log(e),i(15,j=!0)}))})();break;case"gm16":"lugas"===D?(()=>{if(!(o>0))return;i(17,G=!0),i(14,U=!0);const e=new URL(`v2/player/${d}/limit/lugas`,f),t={amount:o,roleLimitAmount:0,softMigration:!1,keepLimit:!1};let r={method:"POST",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,r).then((e=>te(e))).then((e=>{i(20,l=e.popup),e.operatorDepositLimitAmount,u=e.regulatorDepositLimitAmount,re()})).catch((e=>{console.log(e),i(15,j=!0)}))})():"sessionLimit"===D?(()=>{if(!(o>0))return;i(17,G=!0),i(14,U=!0);const e=new URL(`v1/player/${d}/limits/session/`,f),t={sessionLimit:o,sessionLimitUnit:"minute"};let r={method:"PUT",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,r).then((e=>te(e))).then((e=>{re()})).catch((e=>{console.log(e),i(15,j=!0)}))})():"cumulativeSession"===D?(()=>{if(!(o>0))return;i(17,G=!0),i(14,U=!0);const e=new URL(`v1/player/${d}/limits/session/`,f),t={cumulativeSessionLimits:[{period:C,minutes:o}]};let r={method:"PUT",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,r).then((e=>te(e))).then((e=>{re()})).catch((e=>{console.log(e),i(15,j=!0)}))})():(()=>{if(o<=0)return;i(17,G=!0),i(14,U=!0);const e=P[B].currentLimits.filter((e=>e.period===C))[0],t=new URL(`v1/player/${d}/limits/monetary/${e?e.id:""}`,f),r=e?"PUT":"POST",n=e?{amount:o,skipCoolOff:!1}:{amount:o,currency:p,period:"None"===q[D].periods[0]?null:C,type:q[D].callValue16,products:[null!=$?$:"All"],walletTypes:["All"]};let s={method:r,headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(n)};fetch(t.href,s).then((e=>te(e))).then((e=>{re()})).catch((e=>{console.log(e),i(15,j=!0)}))})();break;default:throw Error(`Invalid apiversion attribute: ${y}`)}},()=>{const e=o-Math.floor(o)==0;o>=k&&o<=O&&e?(i(21,X=!1),s.removeAttribute("disabled")):(i(21,X=!0),s.setAttribute("disabled","true"))},he,de,ge,be,()=>{window.postMessage({type:"uploadDocuments"},window.location.href),be()},e=>{13===e.keyCode&&X&&e.preventDefault()},c,h,m,d,f,y,g,v,L,E,T,S,e=>de(e),function(){B=x(this),i(7,B)},()=>{ee(),Q(),he()},function(){C=x(this),i(6,C),i(3,q),i(5,D)},function(){o=w(this.value),i(8,o)},function(e){I[e?"unshift":"push"]((()=>{s=e,i(9,s)}))},function(e){I[e?"unshift":"push"]((()=>{n=e,i(2,n)}))}]}function wn(e,t){Ut(e,t)}!customElements.get("player-account-gaming-limits-page-2-gm16")&&customElements.define("player-account-gaming-limits-page-2-gm16",class extends X{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, 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-dunkel, #07072A))}input:focus{border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #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-dunkel, #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-pink-500, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #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-gm16{color:var(--emfe-w-pam-contrast, var(--emfe-w-color-dunkel, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px;float:left}.LimitsInteractionArea .InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #FD2839));font-size:14px;padding:6px 0px;margin-bottom:6px}.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}.CloseButton{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);margin-top:8px;border-radius:2px;padding:12px;cursor:pointer}.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-color-black, #000000)}.PendingLimit{color:var(--emfe-w-color-black, #000000)}.LimitTitle{font-size:0.9rem}.PopupOverlay{position:absolute;top:0;left:0;background:rgba(35, 38, 43, 0.7);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center;z-index:11}.PopupContainer{background:var(--emfe-w-color-white, #FFFFFF);font-size:1.3rem;color:var(--emfe-w-color-black, #000000);width:80vw;min-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);color:var(--emfe-w-color-black, #000000);font-size:1.3rem;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),W(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ln,vn,o,{lang:34,currency:0,limits:35,session:36,userid:37,endpoint:38,apiversion:39,customcurrencysymbols:40,deletelimit:1,amountsconfig:41,periodsconfig:42,clientstyling:43,clientstylingurl:44,translationurl:45},null,[-1,-1,-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["lang","currency","limits","session","userid","endpoint","apiversion","customcurrencysymbols","deletelimit","amountsconfig","periodsconfig","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[34]}set lang(e){this.$$set({lang:e}),j()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),j()}get limits(){return this.$$.ctx[35]}set limits(e){this.$$set({limits:e}),j()}get session(){return this.$$.ctx[36]}set session(e){this.$$set({session:e}),j()}get userid(){return this.$$.ctx[37]}set userid(e){this.$$set({userid:e}),j()}get endpoint(){return this.$$.ctx[38]}set endpoint(e){this.$$set({endpoint:e}),j()}get apiversion(){return this.$$.ctx[39]}set apiversion(e){this.$$set({apiversion:e}),j()}get customcurrencysymbols(){return this.$$.ctx[40]}set customcurrencysymbols(e){this.$$set({customcurrencysymbols:e}),j()}get deletelimit(){return this.$$.ctx[1]}set deletelimit(e){this.$$set({deletelimit:e}),j()}get amountsconfig(){return this.$$.ctx[41]}set amountsconfig(e){this.$$set({amountsconfig:e}),j()}get periodsconfig(){return this.$$.ctx[42]}set periodsconfig(e){this.$$set({periodsconfig:e}),j()}get clientstyling(){return this.$$.ctx[43]}set clientstyling(e){this.$$set({clientstyling:e}),j()}get clientstylingurl(){return this.$$.ctx[44]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),j()}get translationurl(){return this.$$.ctx[45]}set translationurl(e){this.$$set({translationurl:e}),j()}});const En={en:{expandLimits:"LIMIT HISTORY",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",max:"Stake limit",wageringSports:"Stake Limit",loading:"Loading limits history...",error:"Something went wrong. Please try again.",limitRemoved:"Limit removed",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},de:{expandLimits:"LIMIT-VERLAUF",daily:"pro Tag",weekly:"pro Woche",monthly:"pro Monat",loss:"Verlustlimit",deposit:"Einzahlungslimit",wagering:"Einsatzlimit",max:"Einsatzlimit",loading:"Lädt ...",error:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",limitRemoved:"Limit entfernt",historyProductTypeSports:"Sport",historyProductTypeAll:"Alle",historyProductTypeCasino:"Slots",historyLimitTypeDeposit:"Einzahlungslimit",historyLimitTypeWagering:"Einsatzlimit",historyLimitTypeLoss:"Verlustlimit"},hr:{expandLimits:"POVIJEST OGRANIČENJA",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wagering:"Ograničenje uloga",max:"Ograničenje uloga",loading:"Učitavanje...",error:"Došlo je do pogreške. Molimo pokušajte ponovno.",limitRemoved:"Ograničenje uklonjeno",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},sl:{expandLimits:"LIMIT ZGODOVINA",daily:"na dan",weekly:"na teden",monthly:"na mesec",loss:"Limit izgube",deposit:"Limit vplačila",wagering:"Limit na vložek",max:"Limit vložkov",loading:"Nalaga...",error:"Nekaj je šlo narobe. Prosim poskusite ponovno.",limitRemoved:"Limit odstranjen",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},pl:{expandLimits:"HISTORIA LIMITU",daily:"na dzień",weekly:"na tydzień",monthly:"na miesiąc",loss:"Limit Strat",deposit:"Limit depozytów",wagering:"Limit Stawek",max:"Limit stawek",loading:"Ładowanie...",error:"Coś poszło nie tak. Proszę spróbuj ponownie.",limitRemoved:"Usunięty limit",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"zh-hk":{expandLimits:"极限历史",daily:"每天",weekly:"每个星期",monthly:"每月",loss:"损失限额",deposit:"存款限额",wagering:"投注限额",loading:"加载请稍候...",error:"500 - 服务器错误",limitRemoved:"移除限制",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},fr:{expandLimits:"LIMITER L'HISTORIQUE",daily:"par jour",weekly:"par semaine",monthly:"par mois",loss:"Limite de perte",deposit:"Limite de dépôt",wagering:"Limite de mise",loading:"Chargement, veuillez patienter...",error:"500 - Erreur de serveur",limitRemoved:"Limite supprimée",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},ro:{expandLimits:"ISTORIC LIMITE",daily:"pe zi",weekly:"pe saptamana",monthly:"pe luna",loss:"Limita de pierdere",deposit:"Limita de incarcare",loading:"Se incarca, va rugam asteptati...",error:"500 - Eroare de server",limitRemoved:"Limita eliminata",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},es:{expandLimits:"HISTORIAL DE LÍMITES",daily:"por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdida",deposit:"Límite de depósito",wagering:"Límite de apuestas",max:"Límite de apuesta",loading:"Cargando historial de límites…",error:"Algo salió mal. Por favor inténtalo de nuevo.",limitRemoved:"Límite eliminado",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"}};function Tn(e,t,i){const r=e.slice();return r[36]=t[i],r[37]=t,r[38]=i,r}function Sn(e){let t,i,r,n,o,s,a,l,g,L,w,T,S=e[9]("expandLimits")+"",A=e[7],x=[];for(let t=0;t<A.length;t+=1)x[t]=Dn(Tn(e,A,t));return{c(){t=m("div"),i=m("div"),r=m("button"),n=f(S),o=y(),s=d("svg"),a=d("path"),l=d("path"),g=y(),L=m("div");for(let e=0;e<x.length;e+=1)x[e].c();v(a,"d","M10.5 15l7.5 7.5 7.5-7.5z"),v(l,"d","M0 0h36v36h-36z"),v(l,"fill","none"),v(s,"class","ExpandArrow"),v(s,"xmlns","http://www.w3.org/2000/svg"),v(s,"width","36"),v(s,"height","36"),v(s,"viewBox","0 0 36 36"),v(s,"fill","#999"),_(s,"extended",e[8]),v(r,"class","ExpandButton"),v(L,"class","HistoryDisplayArea"),_(L,"hidden",e[5]),v(i,"class","HistoryWrapper "+(e[10]?"Desktop":"")),v(t,"class","player-account-gaming-limits-history-2")},m(p,h){c(p,t,h),u(t,i),u(i,r),u(r,n),u(r,o),u(r,s),u(s,a),u(s,l),u(i,g),u(i,L);for(let e=0;e<x.length;e+=1)x[e]&&x[e].m(L,null);w||(T=b(r,"click",e[11]),w=!0)},p(e,t){if(512&t[0]&&S!==(S=e[9]("expandLimits")+"")&&E(n,S),256&t[0]&&_(s,"extended",e[8]),650&t[0]){let i;for(A=e[7],i=0;i<A.length;i+=1){const r=Tn(e,A,i);x[i]?x[i].p(r,t):(x[i]=Dn(r),x[i].c(),x[i].m(L,null))}for(;i<x.length;i+=1)x[i].d(1);x.length=A.length}32&t[0]&&_(L,"hidden",e[5])},d(e){e&&p(t),h(x,e),w=!1,T()}}}function An(t){return{c:e,m:e,p:e,d:e}}function xn(e){let t,i,r=(e[0]?e[9]("error"):"500 Server Error")+"";return{c(){t=m("p"),i=f(r)},m(e,r){c(e,t,r),u(t,i)},p(e,t){513&t[0]&&r!==(r=(e[0]?e[9]("error"):"500 Server Error")+"")&&E(i,r)},d(e){e&&p(t)}}}function _n(e){let t,i,r,n,o,s,a,l,h,d,g,b,L=e[36].type+"",w=e[36].amount+"",T=e[36].currency+"",S=e[36].period+"",A=e[36].date+"";return{c(){t=m("div"),i=m("span"),r=m("span"),n=f(L),o=m("span"),s=f(w),a=y(),l=f(T),h=y(),d=f(S),g=m("span"),b=f(A),v(r,"class","LimitType"),v(o,"class","LimitAmountPeriod"),v(i,"class","GeneralLimitInformation"),v(g,"class","DateLimitInformation"),v(t,"class","HistoryRow")},m(e,p){c(e,t,p),u(t,i),u(i,r),u(r,n),u(i,o),u(o,s),u(o,a),u(o,l),u(o,h),u(o,d),u(t,g),u(g,b)},p(e,t){128&t[0]&&L!==(L=e[36].type+"")&&E(n,L),128&t[0]&&w!==(w=e[36].amount+"")&&E(s,w),128&t[0]&&T!==(T=e[36].currency+"")&&E(l,T),128&t[0]&&S!==(S=e[36].period+"")&&E(d,S),128&t[0]&&A!==(A=e[36].date+"")&&E(b,A)},d(e){e&&p(t)}}}function Pn(e){let t,i,r,n,o,s,a,l,h=e[36].type+"",d=e[9]("limitRemoved")+"",y=e[36].date+"";return{c(){t=m("div"),i=m("span"),r=m("span"),n=f(h),o=m("span"),s=f(d),a=m("span"),l=f(y),v(r,"class","LimitType"),v(o,"class","LimitAmountPeriod"),v(i,"class","GeneralLimitInformation"),v(a,"class","DateLimitInformation"),v(t,"class","HistoryRow")},m(e,p){c(e,t,p),u(t,i),u(i,r),u(r,n),u(i,o),u(o,s),u(t,a),u(a,l)},p(e,t){128&t[0]&&h!==(h=e[36].type+"")&&E(n,h),512&t[0]&&d!==(d=e[9]("limitRemoved")+"")&&E(s,d),128&t[0]&&y!==(y=e[36].date+"")&&E(l,y)},d(e){e&&p(t)}}}function Dn(e){let t,i,r,n=e[38];function o(e,t){return e[36].removed?Pn:_n}let s=o(e),a=s(e);const l=()=>e[20](t,n),h=()=>e[20](null,n);return{c(){t=m("div"),a.c(),i=y(),v(t,"class",r=e[38]>+e[1]?"LimitContainer":"")},m(e,r){c(e,t,r),a.m(t,null),u(t,i),l()},p(u,c){s===(s=o(e=u))&&a?a.p(e,c):(a.d(1),a=s(e),a&&(a.c(),a.m(t,i))),2&c[0]&&r!==(r=e[38]>+e[1]?"LimitContainer":"")&&v(t,"class",r),n!==e[38]&&(h(),n=e[38],l())},d(e){e&&p(t),a.d(),h()}}}function Cn(t){let i;function r(e,t){return e[6]?xn:e[4]?An:Sn}let n=r(t),o=n(t);return{c(){i=m("div"),o.c(),this.c=e},m(e,r){c(e,i,r),o.m(i,null),t[21](i)},p(e,t){n===(n=r(e))&&o?o.p(e,t):(o.d(1),o=n(e),o&&(o.c(),o.m(i,null)))},i:e,o:e,d(e){e&&p(i),o.d(),t[21](null)}}}function $n(e,t,i){let r;a(e,Pi,(e=>i(9,r=e)));let n,o=window.navigator.userAgent,s=!Nr(o),{lang:l=""}=t,{userid:u=""}=t,{session:c=""}=t,{endpoint:p=""}=t,{apiversion:h=""}=t,{numberofentries:m="10"}=t,{customcurrencysymbols:d=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{translationurl:g=""}=t,b=new Array,v=parseInt(m,10),L=!1,w=!0,E=[],T=[],S=!0,A=!1,x={EUR:"€",RON:"lei"};Object.keys(En).forEach((e=>{wn(e,En[e])}));const _=e=>{const t=!!En[l];return e.map((e=>{let i={amount:"",currency:"",date:"",period:"",type:"",removed:!1};return i.amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.limitAmount),i.currency=t?x[e.limitCurrencyCode]:e.limitCurrencyCode,i.date=new Intl.DateTimeFormat("de",{dateStyle:"medium"}).format(new Date(e.limitDate)),i.period=r(`${e.limitPeriod.toLowerCase()}`),i.type=r(`historyLimitType${e.limitType.split(" ")[0]}`)+" "+r(`historyProductType${e.limitProductType}`),i.removed=-1===e.limitAmount,i}))};let P=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&(v+=parseInt(m,10)||10,T.length<E.length&&i(7,T=E.slice(0,v)))}))}));const D=()=>{var e;e=l,li.set(e)};return $((()=>()=>{P.unobserve(b[b.length-1])})),e.$$set=e=>{"lang"in e&&i(0,l=e.lang),"userid"in e&&i(12,u=e.userid),"session"in e&&i(13,c=e.session),"endpoint"in e&&i(14,p=e.endpoint),"apiversion"in e&&i(15,h=e.apiversion),"numberofentries"in e&&i(1,m=e.numberofentries),"customcurrencysymbols"in e&&i(16,d=e.customcurrencysymbols),"clientstyling"in e&&i(17,f=e.clientstyling),"clientstylingurl"in e&&i(18,y=e.clientstylingurl),"translationurl"in e&&i(19,g=e.translationurl)},e.$$.update=()=>{65536&e.$$.dirty[0]&&d&&(()=>{if(!d)return;let e={};d.split(",").forEach((t=>{let i=t.split(":");e[i[0].trim()]=i[1].trim()})),x=Object.assign(Object.assign({},x),e)})(),61440&e.$$.dirty[0]&&p&&u&&c&&h&&(()=>{let e=new URL("gmcore"===h?`v2/player/${u}/transactions/limit`:`v1/player/${u}/limits/monetary/history`,p);e.searchParams.append("startDate",`${new Date("2022").toISOString()}`),e.searchParams.append("endDate",`${new Date("2099").toISOString()}`),e.searchParams.append("limit","10000");let t={method:"GET",headers:{"X-SessionID":c}};fetch(e.href,t).then((e=>{if(e.status>=300)throw i(4,w=!1),i(6,L=!0),new Error("There was an error fetching the limits");return e.json()})).then((e=>{e.length&&(E=_(e),i(7,T=E.slice(0,v))),i(4,w=!1)}),(e=>{console.error("There was an error",e),i(6,L=!0)}))})(),56&e.$$.dirty[0]&&b[0]&&!w&&!S&&P.observe(b[b.length-1]),1&e.$$.dirty[0]&&l&&D(),262144&e.$$.dirty[0]&&y&&(()=>{let e=new URL(y),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,n&&(setTimeout((()=>{n.appendChild(t)}),1),setTimeout((()=>{}),500))}))})(),131076&e.$$.dirty[0]&&f&&n&&(()=>{let e=document.createElement("style");e.innerHTML=f,n.appendChild(e)})(),524292&e.$$.dirty[0]&&g&&n&&fetch(g).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{wn(t,e[t])}))})).catch((e=>{console.log(e)}))},[l,m,n,b,w,S,L,T,A,r,s,()=>{i(5,S=!S),i(8,A=!A)},u,c,p,h,d,f,y,g,function(e,t){I[e?"unshift":"push"]((()=>{b[t]=e,i(3,b)}))},function(e){I[e?"unshift":"push"]((()=>{n=e,i(2,n)}))}]}!customElements.get("player-account-gaming-limits-history-2")&&customElements.define("player-account-gaming-limits-history-2",class extends X{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{color:var(--emfe-w-pam-typography, var(--emfe-w-color-dunkel, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2{color:var(--emfe-w-color-white, #FFFFFF)}button{font-size:1rem;border:0;padding:0}.ExpandButton{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.extended{transform:rotate(180deg)}.HistoryWrapper{display:flex;flex-direction:column}.HistoryWrapper.Desktop{width:320px;padding:0 12px;margin:12px auto}.hidden{display:none}.HistoryRow{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.GeneralLimitInformation{display:flex;flex-direction:column;gap:4px}.LimitType{font-size:1.3rem}.LimitAmountPeriod{color:#999}.LimitContainer{animation:animateEntry 0.7s ease-in}@keyframes animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},$n,Cn,o,{lang:0,userid:12,session:13,endpoint:14,apiversion:15,numberofentries:1,customcurrencysymbols:16,clientstyling:17,clientstylingurl:18,translationurl:19},null,[-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["lang","userid","session","endpoint","apiversion","numberofentries","customcurrencysymbols","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),j()}get userid(){return this.$$.ctx[12]}set userid(e){this.$$set({userid:e}),j()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),j()}get endpoint(){return this.$$.ctx[14]}set endpoint(e){this.$$set({endpoint:e}),j()}get apiversion(){return this.$$.ctx[15]}set apiversion(e){this.$$set({apiversion:e}),j()}get numberofentries(){return this.$$.ctx[1]}set numberofentries(e){this.$$set({numberofentries:e}),j()}get customcurrencysymbols(){return this.$$.ctx[16]}set customcurrencysymbols(e){this.$$set({customcurrencysymbols:e}),j()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(e){this.$$set({clientstyling:e}),j()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),j()}get translationurl(){return this.$$.ctx[19]}set translationurl(e){this.$$set({translationurl:e}),j()}});const{document:Bn}=l;function In(e,t,i){const r=e.slice();return r[33]=t[i],r[35]=i,r}function kn(e,t,i){const r=e.slice();return r[36]=t[i],r[35]=i,r}function On(e){let t,i,r,n,o=e[20].length>1&&function(e){let t,i=e[20],r=[];for(let t=0;t<i.length;t+=1)r[t]=Nn(kn(e,i,t));return{c(){t=m("div");for(let e=0;e<r.length;e+=1)r[e].c();v(t,"class","TabsContainer")},m(i,n){c(i,t,n);for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,null);e[26](t)},p(e,n){if(3211264&n[0]){let o;for(i=e[20],o=0;o<i.length;o+=1){const s=kn(e,i,o);r[o]?r[o].p(s,n):(r[o]=Nn(s),r[o].c(),r[o].m(t,null))}for(;o<r.length;o+=1)r[o].d(1);r.length=i.length}},d(i){i&&p(t),h(r,i),e[26](null)}}}(e),s=e[20],a=[];for(let t=0;t<s.length;t+=1)a[t]=Mn(In(e,s,t));let l="true"===e[6]&&Rn(e);return{c(){o&&o.c(),t=y(),i=m("div");for(let e=0;e<a.length;e+=1)a[e].c();r=y(),l&&l.c(),n=g(),v(i,"class","player-account-gaming-limits-wrapper-2")},m(s,u){o&&o.m(s,u),c(s,t,u),c(s,i,u);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(i,null);e[27](i),c(s,r,u),l&&l.m(s,u),c(s,n,u)},p(e,t){if(e[20].length>1&&o.p(e,t),794303&t[0]){let r;for(s=e[20],r=0;r<s.length;r+=1){const n=In(e,s,r);a[r]?a[r].p(n,t):(a[r]=Mn(n),a[r].c(),a[r].m(i,null))}for(;r<a.length;r+=1)a[r].d(1);a.length=s.length}"true"===e[6]?l?l.p(e,t):(l=Rn(e),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(s){o&&o.d(s),s&&p(t),s&&p(i),h(a,s),e[27](null),s&&p(r),l&&l.d(s),s&&p(n)}}}function Hn(t){return{c:e,m:e,p:e,d:e}}function Nn(e){let t,i,r,n,o=(e[16][e[35]]??e[36])+"";function s(){return e[25](e[35])}return{c(){t=m("div"),i=f(o),v(t,"class","LimitsTab")},m(e,o){c(e,t,o),u(t,i),r||(n=b(t,"click",s),r=!0)},p(t,r){e=t,65536&r[0]&&o!==(o=(e[16][e[35]]??e[36])+"")&&E(i,o)},d(e){e&&p(t),r=!1,n()}}}function Mn(e){let t,i,r;return{c(){t=m("player-account-gaming-limits-page-2-gm16"),L(t,"class","hidden selected"),L(t,"lang",e[0]),L(t,"currency",e[4]),L(t,"amountsconfig",i=e[18][e[35]]),L(t,"periodsconfig",r=e[19][e[35]]),L(t,"userid",e[1]),L(t,"deletelimit",e[7]),L(t,"session",e[2]),L(t,"endpoint",e[3]),L(t,"apiversion",e[5]),L(t,"clientstyling",e[10]),L(t,"clientstylingurl",e[11]),L(t,"translationurl",e[12]),L(t,"customcurrencysymbols",e[9])},m(e,i){c(e,t,i)},p(e,n){1&n[0]&&L(t,"lang",e[0]),16&n[0]&&L(t,"currency",e[4]),262144&n[0]&&i!==(i=e[18][e[35]])&&L(t,"amountsconfig",i),524288&n[0]&&r!==(r=e[19][e[35]])&&L(t,"periodsconfig",r),2&n[0]&&L(t,"userid",e[1]),128&n[0]&&L(t,"deletelimit",e[7]),4&n[0]&&L(t,"session",e[2]),8&n[0]&&L(t,"endpoint",e[3]),32&n[0]&&L(t,"apiversion",e[5]),1024&n[0]&&L(t,"clientstyling",e[10]),2048&n[0]&&L(t,"clientstylingurl",e[11]),4096&n[0]&&L(t,"translationurl",e[12]),512&n[0]&&L(t,"customcurrencysymbols",e[9])},d(e){e&&p(t)}}}function Rn(e){let t;return{c(){t=m("player-account-gaming-limits-history-2"),L(t,"lang",e[0]),L(t,"userid",e[1]),L(t,"session",e[2]),L(t,"endpoint",e[3]),L(t,"apiversion",e[5]),L(t,"numberofentries",e[8]),L(t,"clientstyling",e[10]),L(t,"clientstylingurl",e[11]),L(t,"translationurl",e[12]),L(t,"customcurrencysymbols",e[9])},m(e,i){c(e,t,i)},p(e,i){1&i[0]&&L(t,"lang",e[0]),2&i[0]&&L(t,"userid",e[1]),4&i[0]&&L(t,"session",e[2]),8&i[0]&&L(t,"endpoint",e[3]),32&i[0]&&L(t,"apiversion",e[5]),256&i[0]&&L(t,"numberofentries",e[8]),1024&i[0]&&L(t,"clientstyling",e[10]),2048&i[0]&&L(t,"clientstylingurl",e[11]),4096&i[0]&&L(t,"translationurl",e[12]),512&i[0]&&L(t,"customcurrencysymbols",e[9])},d(e){e&&p(t)}}}function Un(t){let i,r,n;function o(e,t){return e[13]?Hn:On}let s=o(t),a=s(t);return{c(){i=m("meta"),r=y(),n=m("div"),a.c(),this.c=e,v(i,"name","viewport"),v(i,"content","width=device-width, initial-scale=1")},m(e,o){u(Bn.head,i),c(e,r,o),c(e,n,o),a.m(n,null),t[28](n)},p(e,t){s===(s=o(e))&&a?a.p(e,t):(a.d(1),a=s(e),a&&(a.c(),a.m(n,null)))},i:e,o:e,d(e){p(i),e&&p(r),e&&p(n),a.d(),t[28](null)}}}function jn(e,t,i){let r,n,o,s,a,l,{lang:u=""}=t,{userid:c=""}=t,{session:p=""}=t,{endpoint:h=""}=t,{currency:m=""}=t,{apiversion:d=""}=t,{tablabels:f=""}=t,{historyenabled:y="true"}=t,{deletelimit:g=""}=t,{limitsamount:b=""}=t,{limitsperiods:v=""}=t,{numberofentries:L=""}=t,{customcurrencysymbols:w=""}=t,{clientstyling:E=""}=t,{clientstylingurl:T=""}=t,{translationurl:S=""}=t,A=!0,x=[];const _=()=>{((e,t)=>{if(i(18,a=e.replace(/\s/g,"").split("|")),i(19,l=t.replace(/\s/g,"").split("|")),0===a.length)throw new Error("Please provide a full limits configuration.");if(a.length!==l.length)throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.")})(b,v),b.split("|").forEach((e=>{x.push(e)})),i(16,n=f.split(",").map((e=>e.trim()))),i(13,A=!1)},P=e=>{if(o.children.length>0)for(let t=0;t<o.children.length;t++)e===t?(o.children[t].classList.remove("hidden"),null==s||s.children[t].classList.add("selected")):(o.children[t].classList.add("hidden"),null==s||s.children[t].classList.remove("selected"))};$((()=>()=>{i(15,o=null),i(17,s=null)}));return e.$$set=e=>{"lang"in e&&i(0,u=e.lang),"userid"in e&&i(1,c=e.userid),"session"in e&&i(2,p=e.session),"endpoint"in e&&i(3,h=e.endpoint),"currency"in e&&i(4,m=e.currency),"apiversion"in e&&i(5,d=e.apiversion),"tablabels"in e&&i(22,f=e.tablabels),"historyenabled"in e&&i(6,y=e.historyenabled),"deletelimit"in e&&i(7,g=e.deletelimit),"limitsamount"in e&&i(23,b=e.limitsamount),"limitsperiods"in e&&i(24,v=e.limitsperiods),"numberofentries"in e&&i(8,L=e.numberofentries),"customcurrencysymbols"in e&&i(9,w=e.customcurrencysymbols),"clientstyling"in e&&i(10,E=e.clientstyling),"clientstylingurl"in e&&i(11,T=e.clientstylingurl),"translationurl"in e&&i(12,S=e.translationurl)},e.$$.update=()=>{4194351&e.$$.dirty[0]&&c&&p&&h&&f&&u&&d&&_(),40960&e.$$.dirty[0]&&o&&!A&&P(0),18432&e.$$.dirty[0]&&T&&r&&(()=>{let e=new URL(T),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{r.appendChild(t)}),1)}))})(),17408&e.$$.dirty[0]&&E&&r&&(()=>{let e=document.createElement("style");e.innerHTML=E,r.appendChild(e)})()},[u,c,p,h,m,d,y,g,L,w,E,T,S,A,r,o,n,s,a,l,x,P,f,b,v,e=>P(e),function(e){I[e?"unshift":"push"]((()=>{s=e,i(17,s)}))},function(e){I[e?"unshift":"push"]((()=>{o=e,i(15,o)}))},function(e){I[e?"unshift":"push"]((()=>{r=e,i(14,r)}))}]}class Fn extends X{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";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TabsContainer{height:50px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid var(--emfe-w-color-gray-300, #58586B);justify-content:center;background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 0.15rem 0.2rem 0 rgba(0, 0, 0, 0.12)}.LimitsTab{font-size:1.3rem;line-height:1.4rem;margin-bottom:3px;display:flex;justify-content:center;align-items:center;padding:0 1rem;box-sizing:content-box}.hidden{display:none}.selected{border-bottom:0.2rem solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));margin:0}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},jn,Un,o,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,tablabels:22,historyenabled:6,deletelimit:7,limitsamount:23,limitsperiods:24,numberofentries:8,customcurrencysymbols:9,clientstyling:10,clientstylingurl:11,translationurl:12},null,[-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["lang","userid","session","endpoint","currency","apiversion","tablabels","historyenabled","deletelimit","limitsamount","limitsperiods","numberofentries","customcurrencysymbols","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),j()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),j()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),j()}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),j()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),j()}get apiversion(){return this.$$.ctx[5]}set apiversion(e){this.$$set({apiversion:e}),j()}get tablabels(){return this.$$.ctx[22]}set tablabels(e){this.$$set({tablabels:e}),j()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(e){this.$$set({historyenabled:e}),j()}get deletelimit(){return this.$$.ctx[7]}set deletelimit(e){this.$$set({deletelimit:e}),j()}get limitsamount(){return this.$$.ctx[23]}set limitsamount(e){this.$$set({limitsamount:e}),j()}get limitsperiods(){return this.$$.ctx[24]}set limitsperiods(e){this.$$set({limitsperiods:e}),j()}get numberofentries(){return this.$$.ctx[8]}set numberofentries(e){this.$$set({numberofentries:e}),j()}get customcurrencysymbols(){return this.$$.ctx[9]}set customcurrencysymbols(e){this.$$set({customcurrencysymbols:e}),j()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),j()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),j()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),j()}}return!customElements.get("player-account-gaming-limits-wrapper-2")&&customElements.define("player-account-gaming-limits-wrapper-2",Fn),Fn}));
|
|
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 i(){return Object.create(null)}function r(e){e.forEach(t)}function n(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,...i){if(null==t)return e;const r=t.subscribe(...i);return r.unsubscribe?()=>r.unsubscribe():r}function a(e,t,i){e.$$.on_destroy.push(s(t,i))}const l="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function u(e,t){e.appendChild(t)}function c(e,t,i){e.insertBefore(t,i||null)}function p(e){e.parentNode&&e.parentNode.removeChild(e)}function m(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function h(e){return document.createElement(e)}function d(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function f(e){return document.createTextNode(e)}function y(){return f(" ")}function g(){return f("")}function b(e,t,i,r){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)}function v(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function L(e,t,i){t in e?e[t]="boolean"==typeof e[t]&&""===i||i:v(e,t,i)}function w(e){return""===e?null:+e}function E(e,t){t=""+t,e.data!==t&&(e.data=t)}function T(e,t){e.value=null==t?"":t}function S(e,t,i,r){null==i?e.style.removeProperty(t):e.style.setProperty(t,i,r?"important":"")}function A(e,t,i){for(let i=0;i<e.options.length;i+=1){const r=e.options[i];if(r.__value===t)return void(r.selected=!0)}i&&void 0===t||(e.selectedIndex=-1)}function x(e){const t=e.querySelector(":checked");return t&&t.__value}function _(e,t,i){e.classList[i?"add":"remove"](t)}function P(e){const t={};for(const i of e)t[i.name]=i.value;return t}let D;function C(e){D=e}function B(e){(function(){if(!D)throw new Error("Function called outside component initialization");return D})().$$.on_mount.push(e)}const $=[],I=[];let k=[];const O=[],H=Promise.resolve();let N=!1;function M(e){k.push(e)}const R=new Set;let U=0;function j(){if(0!==U)return;const e=D;do{try{for(;U<$.length;){const e=$[U];U++,C(e),F(e.$$)}}catch(e){throw $.length=0,U=0,e}for(C(null),$.length=0,U=0;I.length;)I.pop()();for(let e=0;e<k.length;e+=1){const t=k[e];R.has(t)||(R.add(t),t())}k.length=0}while($.length);for(;O.length;)O.pop()();N=!1,R.clear(),C(e)}function F(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(M)}}const G=new Set;function z(e,t){const i=e.$$;null!==i.fragment&&(!function(e){const t=[],i=[];k.forEach((r=>-1===e.indexOf(r)?t.push(r):i.push(r))),i.forEach((e=>e())),k=t}(i.after_update),r(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])}function W(e,t){-1===e.$$.dirty[0]&&($.push(e),N||(N=!0,H.then(j)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function V(o,s,a,l,u,c,m,h=[-1]){const d=D;C(o);const f=o.$$={fragment:null,ctx:[],props:c,update:e,not_equal:u,bound:i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(d?d.$$.context:[])),callbacks:i(),dirty:h,skip_bound:!1,root:s.target||d.$$.root};m&&m(f.root);let y=!1;if(f.ctx=a?a(o,s.props||{},((e,t,...i)=>{const r=i.length?i[0]:t;return f.ctx&&u(f.ctx[e],f.ctx[e]=r)&&(!f.skip_bound&&f.bound[e]&&f.bound[e](r),y&&W(o,e)),t})):[],f.update(),y=!0,r(f.before_update),f.fragment=!!l&&l(f.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);f.fragment&&f.fragment.l(e),e.forEach(p)}else f.fragment&&f.fragment.c();s.intro&&((g=o.$$.fragment)&&g.i&&(G.delete(g),g.i(b))),function(e,i,o,s){const{fragment:a,after_update:l}=e.$$;a&&a.m(i,o),s||M((()=>{const i=e.$$.on_mount.map(t).filter(n);e.$$.on_destroy?e.$$.on_destroy.push(...i):r(i),e.$$.on_mount=[]})),l.forEach(M)}(o,s.target,s.anchor,s.customElement),j()}var g,b;C(d)}let X;"function"==typeof HTMLElement&&(X=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(n);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,i){this[e]=i}disconnectedCallback(){r(this.$$.on_disconnect)}$destroy(){z(this,1),this.$destroy=e}$on(t,i){if(!n(i))return e;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(i),()=>{const e=r.indexOf(i);-1!==e&&r.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)}});var q="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},K="URLSearchParams"in q,Y="Symbol"in q&&"iterator"in Symbol,Z="FileReader"in q&&"Blob"in q&&function(){try{return new Blob,!0}catch(e){return!1}}(),J="FormData"in q,Q="ArrayBuffer"in q;if(Q)var ee=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],te=ArrayBuffer.isView||function(e){return e&&ee.indexOf(Object.prototype.toString.call(e))>-1};function ie(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 re(e){return"string"!=typeof e&&(e=String(e)),e}function ne(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return Y&&(t[Symbol.iterator]=function(){return t}),t}function oe(e){this.map={},e instanceof oe?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 se(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function ae(e){return new Promise((function(t,i){e.onload=function(){t(e.result)},e.onerror=function(){i(e.error)}}))}function le(e){var t=new FileReader,i=ae(t);return t.readAsArrayBuffer(e),i}function ue(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function ce(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:Z&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:J&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:K&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Q&&Z&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=ue(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Q&&(ArrayBuffer.prototype.isPrototypeOf(e)||te(e))?this._bodyArrayBuffer=ue(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):K&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Z&&(this.blob=function(){var e=se(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=se(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(Z)return this.blob().then(le);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,i,r,n,o=se(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,i=ae(t),r=/charset=([A-Za-z0-9_-]+)/.exec(e.type),n=r?r[1]:"utf-8",t.readAsText(e,n),i;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),i=new Array(t.length),r=0;r<t.length;r++)i[r]=String.fromCharCode(t[r]);return i.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},J&&(this.formData=function(){return this.text().then(he)}),this.json=function(){return this.text().then(JSON.parse)},this}oe.prototype.append=function(e,t){e=ie(e),t=re(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},oe.prototype.delete=function(e){delete this.map[ie(e)]},oe.prototype.get=function(e){return e=ie(e),this.has(e)?this.map[e]:null},oe.prototype.has=function(e){return this.map.hasOwnProperty(ie(e))},oe.prototype.set=function(e,t){this.map[ie(e)]=re(t)},oe.prototype.forEach=function(e,t){for(var i in this.map)this.map.hasOwnProperty(i)&&e.call(t,this.map[i],i,this)},oe.prototype.keys=function(){var e=[];return this.forEach((function(t,i){e.push(i)})),ne(e)},oe.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),ne(e)},oe.prototype.entries=function(){var e=[];return this.forEach((function(t,i){e.push([i,t])})),ne(e)},Y&&(oe.prototype[Symbol.iterator]=oe.prototype.entries);var pe=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function me(e,t){if(!(this instanceof me))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var i,r,n=(t=t||{}).body;if(e instanceof me){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new oe(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=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 oe(t.headers)),this.method=(i=t.method||this.method||"GET",r=i.toUpperCase(),pe.indexOf(r)>-1?r:i),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in q)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("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 he(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var i=e.split("="),r=i.shift().replace(/\+/g," "),n=i.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(n))}})),t}function de(e,t){if(!(this instanceof de))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 oe(t.headers),this.url=t.url||"",this._initBody(e)}me.prototype.clone=function(){return new me(this,{body:this._bodyInit})},ce.call(me.prototype),ce.call(de.prototype),de.prototype.clone=function(){return new de(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new oe(this.headers),url:this.url})},de.error=function(){var e=new de(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var fe=[301,302,303,307,308];de.redirect=function(e,t){if(-1===fe.indexOf(t))throw new RangeError("Invalid status code");return new de(null,{status:t,headers:{location:e}})};var ye=q.DOMException;try{new ye}catch(e){(ye=function(e,t){this.message=e,this.name=t;var i=Error(e);this.stack=i.stack}).prototype=Object.create(Error.prototype),ye.prototype.constructor=ye}function ge(e,t){return new Promise((function(i,r){var n=new me(e,t);if(n.signal&&n.signal.aborted)return r(new ye("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}if(o.onload=function(){var e,t,r={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new oe,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 i=e.split(":"),r=i.shift().trim();if(r){var n=i.join(":").trim();try{t.append(r,n)}catch(e){console.warn("Response "+e.message)}}})),t)};n.url.startsWith("file://")&&(o.status<200||o.status>599)?r.status=200:r.status=o.status,r.url="responseURL"in o?o.responseURL:r.headers.get("X-Request-URL");var s="response"in o?o.response:o.responseText;setTimeout((function(){i(new de(s,r))}),0)},o.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request timed out"))}),0)},o.onabort=function(){setTimeout((function(){r(new ye("Aborted","AbortError"))}),0)},o.open(n.method,function(e){try{return""===e&&q.location.href?q.location.href:e}catch(t){return e}}(n.url),!0),"include"===n.credentials?o.withCredentials=!0:"omit"===n.credentials&&(o.withCredentials=!1),"responseType"in o&&(Z?o.responseType="blob":Q&&(o.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof oe||q.Headers&&t.headers instanceof q.Headers)){var a=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){a.push(ie(e)),o.setRequestHeader(e,re(t.headers[e]))})),n.headers.forEach((function(e,t){-1===a.indexOf(t)&&o.setRequestHeader(t,e)}))}else n.headers.forEach((function(e,t){o.setRequestHeader(t,e)}));n.signal&&(n.signal.addEventListener("abort",s),o.onreadystatechange=function(){4===o.readyState&&n.signal.removeEventListener("abort",s)}),o.send(void 0===n._bodyInit?null:n._bodyInit)}))}ge.polyfill=!0,q.fetch||(q.fetch=ge,q.Headers=oe,q.Request=me,q.Response=de),self.fetch.bind(self);var be=function(e,t){return be=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},be(e,t)};function ve(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}be(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}function Le(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function we(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var r,n,o=i.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){n={error:e}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return s}function Ee(e,t,i){if(i||2===arguments.length)for(var r,n=0,o=t.length;n<o;n++)!r&&n in t||(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}function Te(e){return"function"==typeof e}function Se(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 Ae=Se((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 xe(e,t){if(e){var i=e.indexOf(t);0<=i&&e.splice(i,1)}}var _e=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,i,r,n;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Le(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(Te(l))try{l()}catch(e){n=e instanceof Ae?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=Le(u),p=c.next();!p.done;p=c.next()){var m=p.value;try{Ce(m)}catch(e){n=null!=n?n:[],e instanceof Ae?n=Ee(Ee([],we(n)),we(e.errors)):n.push(e)}}}catch(e){i={error:e}}finally{try{p&&!p.done&&(r=c.return)&&r.call(c)}finally{if(i)throw i.error}}}if(n)throw new Ae(n)}},e.prototype.add=function(t){var i;if(t&&t!==this)if(this.closed)Ce(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(i=this._finalizers)&&void 0!==i?i:[]).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)&&xe(t,e)},e.prototype.remove=function(t){var i=this._finalizers;i&&xe(i,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Pe=_e.EMPTY;function De(e){return e instanceof _e||e&&"closed"in e&&Te(e.remove)&&Te(e.add)&&Te(e.unsubscribe)}function Ce(e){Te(e)?e():e.unsubscribe()}var Be={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},$e={setTimeout:function(e,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];var n=$e.delegate;return(null==n?void 0:n.setTimeout)?n.setTimeout.apply(n,Ee([e,t],we(i))):setTimeout.apply(void 0,Ee([e,t],we(i)))},clearTimeout:function(e){var t=$e.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ie(){}var ke=null;function Oe(e){if(Be.useDeprecatedSynchronousErrorHandling){var t=!ke;if(t&&(ke={errorThrown:!1,error:null}),e(),t){var i=ke,r=i.errorThrown,n=i.error;if(ke=null,r)throw n}}else e()}var He=function(e){function t(t){var i=e.call(this)||this;return i.isStopped=!1,t?(i.destination=t,De(t)&&t.add(i)):i.destination=Fe,i}return ve(t,e),t.create=function(e,t,i){return new Ue(e,t,i)},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}(_e),Ne=Function.prototype.bind;function Me(e,t){return Ne.call(e,t)}var Re=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){je(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){je(e)}else je(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){je(e)}},e}(),Ue=function(e){function t(t,i,r){var n,o,s=e.call(this)||this;Te(t)||!t?n={next:null!=t?t:void 0,error:null!=i?i:void 0,complete:null!=r?r:void 0}:s&&Be.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},n={next:t.next&&Me(t.next,o),error:t.error&&Me(t.error,o),complete:t.complete&&Me(t.complete,o)}):n=t;return s.destination=new Re(n),s}return ve(t,e),t}(He);function je(e){var t;t=e,$e.setTimeout((function(){throw t}))}var Fe={closed:!0,next:Ie,error:function(e){throw e},complete:Ie},Ge="function"==typeof Symbol&&Symbol.observable||"@@observable";function ze(e){return e}var We=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var i=new e;return i.source=this,i.operator=t,i},e.prototype.subscribe=function(e,t,i){var r,n=this,o=(r=e)&&r instanceof He||function(e){return e&&Te(e.next)&&Te(e.error)&&Te(e.complete)}(r)&&De(r)?e:new Ue(e,t,i);return Oe((function(){var e=n,t=e.operator,i=e.source;o.add(t?t.call(o,i):i?n._subscribe(o):n._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 i=this;return new(t=Ve(t))((function(t,r){var n=new Ue({next:function(t){try{e(t)}catch(e){r(e),n.unsubscribe()}},error:r,complete:t});i.subscribe(n)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Ge]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return(0===(e=t).length?ze: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=Ve(e))((function(e,i){var r;t.subscribe((function(e){return r=e}),(function(e){return i(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function Ve(e){var t;return null!==(t=null!=e?e:Be.Promise)&&void 0!==t?t:Promise}var Xe=Se((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),qe=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 ve(t,e),t.prototype.lift=function(e){var t=new Ke(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Xe},t.prototype.next=function(e){var t=this;Oe((function(){var i,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var n=Le(t.currentObservers),o=n.next();!o.done;o=n.next()){o.value.next(e)}}catch(e){i={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}}}))},t.prototype.error=function(e){var t=this;Oe((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var i=t.observers;i.length;)i.shift().error(e)}}))},t.prototype.complete=function(){var e=this;Oe((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,i=this,r=i.hasError,n=i.isStopped,o=i.observers;return r||n?Pe:(this.currentObservers=null,o.push(e),new _e((function(){t.currentObservers=null,xe(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,i=t.hasError,r=t.thrownError,n=t.isStopped;i?e.error(r):n&&e.complete()},t.prototype.asObservable=function(){var e=new We;return e.source=this,e},t.create=function(e,t){return new Ke(e,t)},t}(We),Ke=function(e){function t(t,i){var r=e.call(this)||this;return r.destination=t,r.source=i,r}return ve(t,e),t.prototype.next=function(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,e)},t.prototype.error=function(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.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,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==i?i:Pe},t}(qe),Ye={now:function(){return(Ye.delegate||Date).now()},delegate:void 0},Ze=function(e){function t(t,i,r){void 0===t&&(t=1/0),void 0===i&&(i=1/0),void 0===r&&(r=Ye);var n=e.call(this)||this;return n._bufferSize=t,n._windowTime=i,n._timestampProvider=r,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=i===1/0,n._bufferSize=Math.max(1,t),n._windowTime=Math.max(1,i),n}return ve(t,e),t.prototype.next=function(t){var i=this,r=i.isStopped,n=i._buffer,o=i._infiniteTimeWindow,s=i._timestampProvider,a=i._windowTime;r||(n.push(t),!o&&n.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),i=this._infiniteTimeWindow,r=this._buffer.slice(),n=0;n<r.length&&!e.closed;n+=i?1:2)e.next(r[n]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,i=e._timestampProvider,r=e._buffer,n=e._infiniteTimeWindow,o=(n?1:2)*t;if(t<1/0&&o<r.length&&r.splice(0,r.length-o),!n){for(var s=i.now(),a=0,l=1;l<r.length&&r[l]<=s;l+=2)a=l;a&&r.splice(0,a+1)}},t}(qe);let Je=[],Qe={};const et=[];function tt(t,i=e){let r;const n=new Set;function s(e){if(o(t,e)&&(t=e,r)){const e=!et.length;for(const e of n)e[1](),et.push(e,t);if(e){for(let e=0;e<et.length;e+=2)et[e][0](et[e+1]);et.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const l=[o,a];return n.add(l),1===n.size&&(r=i(s)||e),o(t),()=>{n.delete(l),0===n.size&&r&&(r(),r=null)}}}}function it(t,i,o){const a=!Array.isArray(t),l=a?[t]:t,u=i.length<2;return c=t=>{let o=!1;const c=[];let p=0,m=e;const h=()=>{if(p)return;m();const r=i(a?c[0]:c,t);u?t(r):m=n(r)?r:e},d=l.map(((e,t)=>s(e,(e=>{c[t]=e,p&=~(1<<t),o&&h()}),(()=>{p|=1<<t}))));return o=!0,h(),function(){r(d),m(),o=!1}},{subscribe:tt(o,c).subscribe};var c}var rt=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===nt}(e)}(e)};var nt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function ot(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ct((i=e,Array.isArray(i)?[]:{}),e,t):e;var i}function st(e,t,i){return e.concat(t).map((function(e){return ot(e,i)}))}function at(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 lt(e,t){try{return t in e}catch(e){return!1}}function ut(e,t,i){var r={};return i.isMergeableObject(e)&&at(e).forEach((function(t){r[t]=ot(e[t],i)})),at(t).forEach((function(n){(function(e,t){return lt(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,n)||(lt(e,n)&&i.isMergeableObject(t[n])?r[n]=function(e,t){if(!t.customMerge)return ct;var i=t.customMerge(e);return"function"==typeof i?i:ct}(n,i)(e[n],t[n],i):r[n]=ot(t[n],i))})),r}function ct(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||st,i.isMergeableObject=i.isMergeableObject||rt,i.cloneUnlessOtherwiseSpecified=ot;var r=Array.isArray(t);return r===Array.isArray(e)?r?i.arrayMerge(e,t,i):ut(e,t,i):ot(t,i)}ct.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,i){return ct(e,i,t)}),{})};var pt=ct,mt=function(e,t){return mt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},mt(e,t)};function ht(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}mt(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var dt,ft,yt,gt=function(){return gt=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},gt.apply(this,arguments)};function bt(e,t,i){if(i||2===arguments.length)for(var r,n=0,o=t.length;n<o;n++)!r&&n in t||(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}function vt(e){return e.type===ft.literal}function Lt(e){return e.type===ft.argument}function wt(e){return e.type===ft.number}function Et(e){return e.type===ft.date}function Tt(e){return e.type===ft.time}function St(e){return e.type===ft.select}function At(e){return e.type===ft.plural}function xt(e){return e.type===ft.pound}function _t(e){return e.type===ft.tag}function Pt(e){return!(!e||"object"!=typeof e||e.type!==yt.number)}function Dt(e){return!(!e||"object"!=typeof e||e.type!==yt.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"}(dt||(dt={})),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"}(ft||(ft={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(yt||(yt={}));var Ct=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Bt=/(?:[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 $t(e){var t={};return e.replace(Bt,(function(e){var i=e.length;switch(e[0]){case"G":t.era=4===i?"long":5===i?"narrow":"short";break;case"y":t.year=2===i?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===i?"short":5===i?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][i-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][i-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][i-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][i-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][i-1];break;case"s":t.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=i<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var It=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var kt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ot=/^(@+)?(\+|#+)?[rs]?$/g,Ht=/(\*)(0+)|(#+)(0+)|(0+)/g,Nt=/^(0+)$/;function Mt(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Ot,(function(e,i,r){return"string"!=typeof r?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):"+"===r?t.minimumSignificantDigits=i.length:"#"===i[0]?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+("string"==typeof r?r.length:0)),""})),t}function Rt(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 Ut(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 i=e.slice(0,2);if("+!"===i?(t.signDisplay="always",e=e.slice(2)):"+?"===i&&(t.signDisplay="exceptZero",e=e.slice(2)),!Nt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function jt(e){var t=Rt(e);return t||{}}function Ft(e){for(var t={},i=0,r=e;i<r.length;i++){var n=r[i];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=n.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=gt(gt(gt({},t),{notation:"scientific"}),n.options.reduce((function(e,t){return gt(gt({},e),jt(t))}),{}));continue;case"engineering":t=gt(gt(gt({},t),{notation:"engineering"}),n.options.reduce((function(e,t){return gt(gt({},e),jt(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(n.options[0]);continue;case"integer-width":if(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(Ht,(function(e,i,r,n,o,s){if(i)t.minimumIntegerDigits=r.length;else{if(n&&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(Nt.test(n.stem))t.minimumIntegerDigits=n.stem.length;else if(kt.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(kt,(function(e,i,r,n,o,s){return"*"===r?t.minimumFractionDigits=i.length:n&&"#"===n[0]?t.maximumFractionDigits=n.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length),""}));var o=n.options[0];"w"===o?t=gt(gt({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=gt(gt({},t),Mt(o)))}else if(Ot.test(n.stem))t=gt(gt({},t),Mt(n.stem));else{var s=Rt(n.stem);s&&(t=gt(gt({},t),s));var a=Ut(n.stem);a&&(t=gt(gt({},t),a))}}return t}var Gt,zt={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 Wt(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 i,r=e.language;return"root"!==r&&(i=e.maximize().region),(zt[i||""]||zt[r||""]||zt["".concat(r,"-001")]||zt["001"])[0]}var Vt=new RegExp("^".concat(Ct.source,"*")),Xt=new RegExp("".concat(Ct.source,"*$"));function qt(e,t){return{start:e,end:t}}var Kt=!!String.prototype.startsWith,Yt=!!String.fromCodePoint,Zt=!!Object.fromEntries,Jt=!!String.prototype.codePointAt,Qt=!!String.prototype.trimStart,ei=!!String.prototype.trimEnd,ti=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ii=!0;try{ii="a"===(null===(Gt=ci("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Gt?void 0:Gt[0])}catch(e){ii=!1}var ri,ni=Kt?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},oi=Yt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,r="",n=e.length,o=0;n>o;){if((i=e[o++])>1114111)throw RangeError(i+" is not a valid code point");r+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return r},si=Zt?Object.fromEntries:function(e){for(var t={},i=0,r=e;i<r.length;i++){var n=r[i],o=n[0],s=n[1];t[o]=s}return t},ai=Jt?function(e,t){return e.codePointAt(t)}:function(e,t){var i=e.length;if(!(t<0||t>=i)){var r,n=e.charCodeAt(t);return n<55296||n>56319||t+1===i||(r=e.charCodeAt(t+1))<56320||r>57343?n:r-56320+(n-55296<<10)+65536}},li=Qt?function(e){return e.trimStart()}:function(e){return e.replace(Vt,"")},ui=ei?function(e){return e.trimEnd()}:function(e){return e.replace(Xt,"")};function ci(e,t){return new RegExp(e,t)}if(ii){var pi=ci("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ri=function(e,t){var i;return pi.lastIndex=t,null!==(i=pi.exec(e)[1])&&void 0!==i?i:""}}else ri=function(e,t){for(var i=[];;){var r=ai(e,t);if(void 0===r||di(r)||fi(r))break;i.push(r),t+=r>=65536?2:1}return oi.apply(void 0,i)};var mi=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,i){for(var r=[];!this.isEOF();){var n=this.char();if(123===n){if((o=this.parseArgument(e,i)).err)return o;r.push(o.val)}else{if(125===n&&e>0)break;if(35!==n||"plural"!==t&&"selectordinal"!==t){if(60===n&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(dt.UNMATCHED_CLOSING_TAG,qt(this.clonePosition(),this.clonePosition()))}if(60===n&&!this.ignoreTag&&hi(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;r.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;r.push(o.val)}}else{var s=this.clonePosition();this.bump(),r.push({type:ft.pound,location:qt(s,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var i=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ft.literal,value:"<".concat(r,"/>"),location:qt(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var n=this.parseMessage(e+1,t,!0);if(n.err)return n;var o=n.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!hi(this.char()))return this.error(dt.INVALID_TAG,qt(s,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(dt.UNMATCHED_CLOSING_TAG,qt(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ft.tag,value:r,children:o,location:qt(i,this.clonePosition())},err:null}:this.error(dt.INVALID_TAG,qt(s,this.clonePosition())))}return this.error(dt.UNCLOSED_TAG,qt(i,this.clonePosition()))}return this.error(dt.INVALID_TAG,qt(i,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 i=this.clonePosition(),r="";;){var n=this.tryParseQuote(t);if(n)r+=n;else{var o=this.tryParseUnquoted(e,t);if(o)r+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var a=qt(i,this.clonePosition());return{val:{type:ft.literal,value:r,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(hi(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 i=this.char();if(39===i){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(i);this.bump()}return oi.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var i=this.char();return 60===i||123===i||35===i&&("plural"===t||"selectordinal"===t)||125===i&&e>0?null:(this.bump(),oi(i))},e.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(dt.EXPECT_ARGUMENT_CLOSING_BRACE,qt(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(dt.EMPTY_ARGUMENT,qt(i,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(dt.MALFORMED_ARGUMENT,qt(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(dt.EXPECT_ARGUMENT_CLOSING_BRACE,qt(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ft.argument,value:r,location:qt(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(dt.EXPECT_ARGUMENT_CLOSING_BRACE,qt(i,this.clonePosition())):this.parseArgumentOptions(e,t,r,i);default:return this.error(dt.MALFORMED_ARGUMENT,qt(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=ri(this.message,t),r=t+i.length;return this.bumpTo(r),{value:i,location:qt(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,i,r){var n,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(dt.EXPECT_ARGUMENT_TYPE,qt(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===(h=ui(g.val)).length)return this.error(dt.EXPECT_ARGUMENT_STYLE,qt(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:qt(u,this.clonePosition())}}if((b=this.tryParseArgumentClose(r)).err)return b;var c=qt(r,this.clonePosition());if(l&&ni(null==l?void 0:l.style,"::",0)){var p=li(l.style.slice(2));if("number"===s)return(g=this.parseNumberSkeletonFromString(p,l.styleLocation)).err?g:{val:{type:ft.number,value:i,location:c,style:g.val},err:null};if(0===p.length)return this.error(dt.EXPECT_DATE_TIME_SKELETON,c);var m=p;this.locale&&(m=function(e,t){for(var i="",r=0;r<e.length;r++){var n=e.charAt(r);if("j"===n){for(var o=0;r+1<e.length&&e.charAt(r+1)===n;)o++,r++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=Wt(t);for("H"!=l&&"k"!=l||(a=0);a-- >0;)i+="a";for(;s-- >0;)i=l+i}else i+="J"===n?"H":n}return i}(p,this.locale));var h={type:yt.dateTime,pattern:m,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?$t(m):{}};return{val:{type:"date"===s?ft.date:ft.time,value:i,location:c,style:h},err:null}}return{val:{type:"number"===s?ft.number:"date"===s?ft.date:ft.time,value:i,location:c,style:null!==(n=null==l?void 0:l.style)&&void 0!==n?n:null},err:null};case"plural":case"selectordinal":case"select":var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(dt.EXPECT_SELECT_ARGUMENT_OPTIONS,qt(d,gt({},d)));this.bumpSpace();var f=this.parseIdentifierIfPossible(),y=0;if("select"!==s&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(dt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,qt(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(dt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,dt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),f=this.parseIdentifierIfPossible(),y=g.val}var b,v=this.tryParsePluralOrSelectOptions(e,s,t,f);if(v.err)return v;if((b=this.tryParseArgumentClose(r)).err)return b;var L=qt(r,this.clonePosition());return"select"===s?{val:{type:ft.select,value:i,options:si(v.val),location:L},err:null}:{val:{type:ft.plural,value:i,options:si(v.val),offset:y,pluralType:"plural"===s?"cardinal":"ordinal",location:L},err:null};default:return this.error(dt.INVALID_ARGUMENT_TYPE,qt(o,a))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(dt.EXPECT_ARGUMENT_CLOSING_BRACE,qt(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 i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(dt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,qt(i,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 i=[];try{i=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],i=0,r=e.split(It).filter((function(e){return e.length>0}));i<r.length;i++){var n=r[i].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var o=n[0],s=n.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(dt.INVALID_NUMBER_SKELETON,t)}return{val:{type:yt.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?Ft(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,i,r){for(var n,o=!1,s=[],a=new Set,l=r.value,u=r.location;;){if(0===l.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var p=this.tryParseDecimalInteger(dt.EXPECT_PLURAL_ARGUMENT_SELECTOR,dt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;u=qt(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}if(a.has(l))return this.error("select"===t?dt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:dt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(o=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?dt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:dt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,qt(this.clonePosition(),this.clonePosition()));var h=this.parseMessage(e+1,t,i);if(h.err)return h;var d=this.tryParseArgumentClose(m);if(d.err)return d;s.push([l,{value:h.val,location:qt(m,this.clonePosition())}]),a.add(l),this.bumpSpace(),l=(n=this.parseIdentifierIfPossible()).value,u=n.location}return 0===s.length?this.error("select"===t?dt.EXPECT_SELECT_ARGUMENT_SELECTOR:dt.EXPECT_PLURAL_ARGUMENT_SELECTOR,qt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(dt.MISSING_OTHER_CLAUSE,qt(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var i=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var n=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;n=!0,o=10*o+(s-48),this.bump()}var a=qt(r,this.clonePosition());return n?ti(o*=i)?{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=ai(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(ni(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(),i=this.message.indexOf(e,t);return i>=0?(this.bumpTo(i),!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()&&di(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),i=this.message.charCodeAt(t+(e>=65536?2:1));return null!=i?i:null},e}();function hi(e){return e>=97&&e<=122||e>=65&&e<=90}function di(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function fi(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 yi(e){e.forEach((function(e){if(delete e.location,St(e)||At(e))for(var t in e.options)delete e.options[t].location,yi(e.options[t].value);else wt(e)&&Pt(e.style)||(Et(e)||Tt(e))&&Dt(e.style)?delete e.style.location:_t(e)&&yi(e.children)}))}function gi(e,t){void 0===t&&(t={}),t=gt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new mi(e,t).parse();if(i.err){var r=SyntaxError(dt[i.err.kind]);throw r.location=i.err.location,r.originalMessage=i.err.message,r}return(null==t?void 0:t.captureLocation)||yi(i.val),i.val}function bi(e,t){var i=t&&t.cache?t.cache:xi,r=t&&t.serializer?t.serializer:Ti;return(t&&t.strategy?t.strategy:Ei)(e,{cache:i,serializer:r})}function vi(e,t,i,r){var n,o=null==(n=r)||"number"==typeof n||"boolean"==typeof n?r:i(r),s=t.get(o);return void 0===s&&(s=e.call(this,r),t.set(o,s)),s}function Li(e,t,i){var r=Array.prototype.slice.call(arguments,3),n=i(r),o=t.get(n);return void 0===o&&(o=e.apply(this,r),t.set(n,o)),o}function wi(e,t,i,r,n){return i.bind(t,e,r,n)}function Ei(e,t){return wi(e,this,1===e.length?vi:Li,t.cache.create(),t.serializer)}var Ti=function(){return JSON.stringify(arguments)};function Si(){this.cache=Object.create(null)}Si.prototype.get=function(e){return this.cache[e]},Si.prototype.set=function(e,t){this.cache[e]=t};var Ai,xi={create:function(){return new Si}},_i={variadic:function(e,t){return wi(e,this,Li,t.cache.create(),t.serializer)},monadic:function(e,t){return wi(e,this,vi,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(Ai||(Ai={}));var Pi,Di=function(e){function t(t,i,r){var n=e.call(this,t)||this;return n.code=i,n.originalMessage=r,n}return ht(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ci=function(e){function t(t,i,r,n){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Ai.INVALID_VALUE,n)||this}return ht(t,e),t}(Di),Bi=function(e){function t(t,i,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),Ai.INVALID_VALUE,r)||this}return ht(t,e),t}(Di),$i=function(e){function t(t,i){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(i,'"'),Ai.MISSING_VALUE,i)||this}return ht(t,e),t}(Di);function Ii(e){return"function"==typeof e}function ki(e,t,i,r,n,o,s){if(1===e.length&&vt(e[0]))return[{type:Pi.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(vt(c))a.push({type:Pi.literal,value:c.value});else if(xt(c))"number"==typeof o&&a.push({type:Pi.literal,value:i.getNumberFormat(t).format(o)});else{var p=c.value;if(!n||!(p in n))throw new $i(p,s);var m=n[p];if(Lt(c))m&&"string"!=typeof m&&"number"!=typeof m||(m="string"==typeof m||"number"==typeof m?String(m):""),a.push({type:"string"==typeof m?Pi.literal:Pi.object,value:m});else if(Et(c)){var h="string"==typeof c.style?r.date[c.style]:Dt(c.style)?c.style.parsedOptions:void 0;a.push({type:Pi.literal,value:i.getDateTimeFormat(t,h).format(m)})}else if(Tt(c)){h="string"==typeof c.style?r.time[c.style]:Dt(c.style)?c.style.parsedOptions:r.time.medium;a.push({type:Pi.literal,value:i.getDateTimeFormat(t,h).format(m)})}else if(wt(c)){(h="string"==typeof c.style?r.number[c.style]:Pt(c.style)?c.style.parsedOptions:void 0)&&h.scale&&(m*=h.scale||1),a.push({type:Pi.literal,value:i.getNumberFormat(t,h).format(m)})}else{if(_t(c)){var d=c.children,f=c.value,y=n[f];if(!Ii(y))throw new Bi(f,"function",s);var g=y(ki(d,t,i,r,n,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?Pi.literal:Pi.object,value:e}})))}if(St(c)){if(!(b=c.options[m]||c.options.other))throw new Ci(c.value,m,Object.keys(c.options),s);a.push.apply(a,ki(b.value,t,i,r,n))}else if(At(c)){var b;if(!(b=c.options["=".concat(m)])){if(!Intl.PluralRules)throw new Di('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ai.MISSING_INTL_API,s);var v=i.getPluralRules(t,{type:c.pluralType}).select(m-(c.offset||0));b=c.options[v]||c.options.other}if(!b)throw new Ci(c.value,m,Object.keys(c.options),s);a.push.apply(a,ki(b.value,t,i,r,n,m-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var i=e[e.length-1];return i&&i.type===Pi.literal&&t.type===Pi.literal?i.value+=t.value:e.push(t),e}),[])}(a)}function Oi(e,t){return t?Object.keys(e).reduce((function(i,r){var n,o;return i[r]=(n=e[r],(o=t[r])?gt(gt(gt({},n||{}),o||{}),Object.keys(n).reduce((function(e,t){return e[t]=gt(gt({},n[t]),o[t]||{}),e}),{})):n),i}),gt({},e)):e}function Hi(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Pi||(Pi={}));var Ni=function(){function e(t,i,r,n){var o,s=this;if(void 0===i&&(i=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 i=t.reduce((function(e,t){return e.length&&t.type===Pi.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return i.length<=1?i[0]||"":i},this.formatToParts=function(e){return ki(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=i,this.resolvedLocale=e.resolveLocale(i),"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==n?void 0:n.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=Oi(e.formats,r),this.formatters=n&&n.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:bi((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,bt([void 0],t,!1)))}),{cache:Hi(o.number),strategy:_i.variadic}),getDateTimeFormat:bi((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,bt([void 0],t,!1)))}),{cache:Hi(o.dateTime),strategy:_i.variadic}),getPluralRules:bi((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,bt([void 0],t,!1)))}),{cache:Hi(o.pluralRules),strategy:_i.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=gi,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 Mi={},Ri=(e,t,i)=>i?(t in Mi||(Mi[t]={}),e in Mi[t]||(Mi[t][e]=i),i):i,Ui=(e,t)=>{if(null==t)return;if(t in Mi&&e in Mi[t])return Mi[t][e];const i=pr(t);for(let r=0;r<i.length;r++){const n=zi(i[r],e);if(n)return Ri(e,t,n)}};let ji;const Fi=tt({});function Gi(e){return e in ji}function zi(e,t){if(!Gi(e))return null;const i=function(e){return ji[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const i=t.split(".");let r=e;for(let e=0;e<i.length;e++)if("object"==typeof r){if(e>0){const t=i.slice(e,i.length).join(".");if(t in r){r=r[t];break}}r=r[i[e]]}else r=void 0;return r}(i,t)}function Wi(e,...t){delete Mi[e],Fi.update((i=>(i[e]=pt.all([i[e]||{},...t]),i)))}it([Fi],(([e])=>Object.keys(e))),Fi.subscribe((e=>ji=e));const Vi={};function Xi(e){return Vi[e]}function qi(e){return null!=e&&pr(e).some((e=>{var t;return null==(t=Xi(e))?void 0:t.size}))}function Ki(e,t){const i=Promise.all(t.map((t=>(function(e,t){Vi[e].delete(t),0===Vi[e].size&&delete Vi[e]}(e,t),t().then((e=>e.default||e))))));return i.then((t=>Wi(e,...t)))}const Yi={};function Zi(e){if(!qi(e))return e in Yi?Yi[e]:Promise.resolve();const t=function(e){return pr(e).map((e=>{const t=Xi(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Yi[e]=Promise.all(t.map((([e,t])=>Ki(e,t)))).then((()=>{if(qi(e))return Zi(e);delete Yi[e]})),Yi[e]}const Ji={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 Qi(){return Ji}const er=tt(!1);var tr=Object.defineProperty,ir=Object.defineProperties,rr=Object.getOwnPropertyDescriptors,nr=Object.getOwnPropertySymbols,or=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,ar=(e,t,i)=>t in e?tr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;let lr;const ur=tt(null);function cr(e){return e.split("-").map(((e,t,i)=>i.slice(0,t+1).join("-"))).reverse()}function pr(e,t=Qi().fallbackLocale){const i=cr(e);return t?[...new Set([...i,...cr(t)])]:i}function mr(){return null!=lr?lr:void 0}ur.subscribe((e=>{lr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const hr=(dr=((e,t)=>{for(var i in t||(t={}))or.call(t,i)&&ar(e,i,t[i]);if(nr)for(var i of nr(t))sr.call(t,i)&&ar(e,i,t[i]);return e})({},ur),ir(dr,rr({set:e=>{if(e&&function(e){if(null==e)return;const t=pr(e);for(let e=0;e<t.length;e++){const i=t[e];if(Gi(i))return i}}(e)&&qi(e)){const{loadingDelay:t}=Qi();let i;return"undefined"!=typeof window&&null!=mr()&&t?i=window.setTimeout((()=>er.set(!0)),t):er.set(!0),Zi(e).then((()=>{ur.set(e)})).finally((()=>{clearTimeout(i),er.set(!1)}))}return ur.set(e)}})));var dr;const fr=e=>{const t=Object.create(null);return i=>{const r=JSON.stringify(i);return r in t?t[r]:t[r]=e(i)}};var yr=Object.defineProperty,gr=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,vr=Object.prototype.propertyIsEnumerable,Lr=(e,t,i)=>t in e?yr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,wr=(e,t)=>{for(var i in t||(t={}))br.call(t,i)&&Lr(e,i,t[i]);if(gr)for(var i of gr(t))vr.call(t,i)&&Lr(e,i,t[i]);return e},Er=(e,t)=>{var i={};for(var r in e)br.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(null!=e&&gr)for(var r of gr(e))t.indexOf(r)<0&&vr.call(e,r)&&(i[r]=e[r]);return i};const Tr=(e,t)=>{const{formats:i}=Qi();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Sr=fr((e=>{var t=e,{locale:i,format:r}=t,n=Er(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Tr("number",r)),new Intl.NumberFormat(i,n)})),Ar=fr((e=>{var t=e,{locale:i,format:r}=t,n=Er(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Tr("date",r):0===Object.keys(n).length&&(n=Tr("date","short")),new Intl.DateTimeFormat(i,n)})),xr=fr((e=>{var t=e,{locale:i,format:r}=t,n=Er(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Tr("time",r):0===Object.keys(n).length&&(n=Tr("time","short")),new Intl.DateTimeFormat(i,n)})),_r=fr(((e,t=mr())=>new Ni(e,t,Qi().formats,{ignoreTag:Qi().ignoreTag}))),Pr=(e,t={})=>{var i,r,n,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=mr(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ui(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!=(n=null==(r=(i=Qi()).handleMissingMessage)?void 0:r.call(i,{locale:l,id:e,defaultValue:u}))?n:u)?o:e;if(!a)return c;let p=c;try{p=_r(c,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return p},Dr=(e,t)=>((e={})=>{var t=e,{locale:i=mr()}=t,r=Er(t,["locale"]);return xr(wr({locale:i},r))})(t).format(e),Cr=(e,t)=>((e={})=>{var t=e,{locale:i=mr()}=t,r=Er(t,["locale"]);return Ar(wr({locale:i},r))})(t).format(e),Br=(e,t)=>((e={})=>{var t=e,{locale:i=mr()}=t,r=Er(t,["locale"]);return Sr(wr({locale:i},r))})(t).format(e),$r=(e,t=mr())=>Ui(e,t),Ir=it([hr,Fi],(()=>Pr));it([hr],(()=>Dr)),it([hr],(()=>Cr)),it([hr],(()=>Br)),it([hr,Fi],(()=>$r)),window.emWidgets={topic:(e,t=0)=>{if(-1==Je.indexOf(e)){let i=new Ze(t);Qe[e]=i,Je.push(e)}return Qe[e]}};const kr=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));const Or={en:{title:"Limits"},"zh-hk":{title:"Limits"},fr:{title:"Limits"},ro:{title:"Limits"},es:{title:"Limits"},pt:{title:"Limits"}},Hr={lugas:{title:"Deposit Limit",value:"lugas",callValue:"lugasLimit",callValue16:"Lugas"},deposit:{title:"Deposit Limit",value:"deposit",callValue:"depositLimits",callValue16:"Deposit"},loss:{title:"Loss Limit",value:"loss",callValue:"lossLimits",callValue16:"Loss"},wager:{title:"Wager Limit",value:"wager",callValue:"wageringLimits",callValue16:"Wagering"},stake:{title:"Stake Limit",value:"stake",callValue:"maxStake",callValue16:"MaxStake"},sessionLimit:{title:"Single Session Time Limit",value:"sessionLimit",callValue:"sessionLimits",callValue16:"sessionLimit"},cumulativeSession:{title:"Cumulative Session Time Limit",value:"cumulativeSession",callValue:"cumulativeSessionLimits",callValue16:"cumulativeSession"}};function Nr(e,t){Wi(e,t)}const Mr={en:{loadingText:"Loading, please wait...",Monthly:"per month",Weekly:"per week",Daily:"per day",newPeriodLimit:"New monthly limit",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",setLimit:"SET LIMIT",loss:"Loss Limit",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",deposit:"Deposit Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",wager:"Wager Limit",stake:"Stake Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugas:"Current Deposit Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",wagerCasino:"Slots Limit",wagerSports:"Stake Limit",sessionLimit:"Single Session Time Limit",sessionLimitUpdated:"Session limit updated successfully.",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:"An error occured.",popupUpdateLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",popupRemoveLimitException:"You can change your self-limiting settings after the specified limitation period has expired.",notFoundException:"Limit does not exist",popup3:"Thank you! \n We have transmited your desired limit to Lugas \n Please be aware that the limit will only come into effect after 8 days at the latest.",popup2_a:"We were able to set your monthly deposit limit to ",popup2_b:". For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment.",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",invalidInputMessageLimit:"The value entered must be between {minValue} and {maxValue} {currency}.",unableToUpdatePendingRequest:"We were unable to update your limit because another update is already pending. Please try again after the current update is applied.",docsRequired:"Documents required!",okButton:"OK"},de:{loadingText:"Lädt ...",Monthly:"pro Monat",Weekly:"pro Woche",Daily:"pro Tag",newPeriodLimit:"New monthly limit",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",setLimit:"LIMIT SETZEN",loss:"Verlustlimit",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",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",popup3:"Thank you! \n We have transmited your desired limit to Lugas \n Please be aware that the limit will only come into effect after 8 days at the latest.",popup2_a:"We were able to set your monthly deposit limit to ",popup2_b:". For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment.",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",invalidInputMessageLimit:"Der eingegebene Wert muss zwischen {minValue} und {maxValue} {currency} liegen.",docsRequired:"Documents required!",okButton:"OK"},hr:{loadingText:"Učitavanje...",Monthly:"Mjesečno",Weekly:"Tjedno",Daily:"Dnevno",newPeriodLimit:"New monthly limit",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",setLimit:"POSTAVI OGRANIČENJA",loss:"Ograničenje gubitka",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",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",popup3:"Thank you! \n We have transmited your desired limit to Lugas \n Please be aware that the limit will only come into effect after 8 days at the latest.",popup2_a:"We were able to set your monthly deposit limit to ",popup2_b:". For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment.",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",invalidInputMessageLimit:"Unešena vrijednost mora biti između {minValue} i {maxValue} {currency}.",docsRequired:"Documents required!",okButton:"OK"},sl:{loadingText:"Nalaga...",Monthly:"na mesec",Weekly:"na teden",Daily:"na dan",newPeriodLimit:"New monthly limit",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",setLimit:"NASTAVITE LIMIT",loss:"Limit izgube",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",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",popup3:"Thank you! \n We have transmitted your desired limit to Lugas \n Please be aware that the limit will only come into effect after 8 days at the latest.",popup2_a:"We were able to set your monthly deposit limit to ",popup2_b:". For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment.",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",invalidInputMessageLimit:"Vnešena vrednost mora biti med {minValue} in {maxValue} {currency}.",docsRequired:"Documents required!",okButton:"OK"},pl:{loadingText:"Ładowanie...",Monthly:"na miesiąc",Weekly:"na tydzień",Daily:"na dzień",newPeriodLimit:"New monthly limit",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",setLimit:"USTAW LIMIT",loss:"Limit Strat",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",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",popup3:"Thank you! \n We have transmited your desired limit to Lugas \n Please be aware that the limit will only come into effect after 8 days at the latest.",popup2_a:"We were able to set your monthly deposit limit to ",popup2_b:". For the selected limit, we require documents that show your economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment.",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",invalidInputMessageLimit:"Podana wartość musi znajdować się pomiędzy {minValue} a {maxValue} {currency}.",docsRequired:"Documents required!",okButton:"OK"},fr:{loadingText:"Chargement, veuillez patienter...",Monthly:"mois",Weekly:"semaine",Daily:"jour",newPeriodLimit:"New monthly limit",per:"par",updateText:"sera appliqué sur",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",noLimitText:"Aucune limite n'est actuellement définie.",limitType:"Limit Type",period:"Period",amount:"Amount",setLimit:"SET LIMIT",loss:"Loss Limit",deposit:"Deposit Limit",wager:"Wager Limit",okButton:"OK"},ro:{loadingText:"Se incarca, va rugam asteptati...",Monthly:"luna",Weekly:"saptamana",Daily:"zi",newPeriodLimit:"New monthly limit",per:"pe",updateText:"va intra in vigoare incepand cu",noLimitText:"Momentan nu este setata o limita.",limitType:"Tip Limita",period:"Perioada",amount:"Valoare",setLimit:"ACCEPTA LIMITA",loss:"Limita de Pierdere",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",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!",okButton:"OK"},es:{loadingText:"Cargando",Monthly:"por mes",Weekly:"por semana",Daily:"por día",newPeriodLimit:"New monthly limit",adjectiveMonthly:"mensual",adjectiveWeekly:"semanal",adjectiveDaily:"diario",None:"Ninguno / NA",noPeriod:"Sin periodo",per:"por cada",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",setLimit:"Fijar límite",loss:"Límite de pérdida",lossAll:"Loss Limit",lossCasino:"Loss Limit",lossSports:"Loss Limit",depositAll:"Deposit Limit",depositCasino:"Deposit Limit",depositSports:"Deposit Limit",stakeAll:"Stake Limit",stakeCasino:"Stake Limit",stakeSports:"Stake Limit",lugasAll:"Current Deposit Limit",lugasCasino:"Current Deposit Limit",lugasSports:"Current Deposit Limit",wagerAll:"Wager Limit",deposit:"Límite de depósito",wager:"Límite de apuesta",stake:"Límite de apuesta",lugas:"Límite de depósito actual",wagerCasino:"Límite de Tragamonedas",wagerSports:"Límite de apuesta",sessionLimit:"Límite de tiempo en sesión única",sessionLimitUpdated:"Límite de tiempo en sesión única actualizado satisfactoriamente",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:"Ha ocurrido un error.",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",invalidInputMessageLimit:"El valor ingresado debe ser un mínimo de {minValue} y un máximo de {maxValue} {currency}.",unableToUpdatePendingRequest:"No pudimos actualizar tu límite porque ya hay otra actualización pendiente. Vuelve a intentarlo después de haberse aplicado la actualización actual.",docsRequired:"Documentos requeridos!",kyc2:"Para el límite seleccionado",okButton:"OK"},pt:{loadingText:"Carregando, por favor espere...",okButton:"OK"}},{document:Rr}=l;function Ur(e,t,i){const r=e.slice();return r[101]=t[i],r}function jr(e,t,i){const r=e.slice();return r[104]=t[i],r[106]=i,r}function Fr(e,t,i){const r=e.slice();return r[104]=t[i],r}function Gr(e,t,i){const r=e.slice();return r[109]=t[i],r}function zr(e){let t,i;function r(e,t){return e[18]?Wr:Vr}let n=r(e),o=n(e);return{c(){t=h("div"),i=h("div"),o.c(),v(i,"class","PopupContainer "+(e[23]?"Desktop":"")),v(t,"class","PopupOverlay")},m(e,r){c(e,t,r),u(t,i),o.m(i,null)},p(e,t){n===(n=r(e))&&o?o.p(e,t):(o.d(1),o=n(e),o&&(o.c(),o.m(i,null)))},d(e){e&&p(t),o.d()}}}function Wr(e){let t,i,r,n,o,s,a,l,m,d,L,w,T,S,A,x,_=e[22]("popupTitle")+"";function P(e,t){return e[16]?Kr:2==e[20]?qr:Xr}let D=P(e),C=D(e);function B(e,t){return e[16]?Jr:2==e[20]?Zr:Yr}let $=B(e),I=$(e);function k(e,t){return 2==e[20]?en:Qr}let O=k(e),H=O(e);return{c(){t=h("div"),i=h("span"),r=f(_),n=y(),o=h("button"),o.textContent="X",s=y(),a=h("div"),l=h("div"),C.c(),m=y(),I.c(),d=y(),L=h("p"),w=f(e[19]),T=y(),H.c(),S=g(),v(i,"class","PopupTitle"),v(o,"class","ClosePopup"),v(t,"class","PopupTitleWrapper"),v(l,"class","ResultIconWrapper"),v(L,"class","DescriptionParagraph"),v(a,"class","DescriptionWrapper")},m(p,h){c(p,t,h),u(t,i),u(i,r),u(t,n),u(t,o),c(p,s,h),c(p,a,h),u(a,l),C.m(l,null),u(l,m),I.m(l,null),u(a,d),u(a,L),u(L,w),c(p,T,h),H.m(p,h),c(p,S,h),A||(x=b(o,"click",e[31]),A=!0)},p(e,t){4194304&t[0]&&_!==(_=e[22]("popupTitle")+"")&&E(r,_),D!==(D=P(e))&&(C.d(1),C=D(e),C&&(C.c(),C.m(l,m))),$===($=B(e))&&I?I.p(e,t):(I.d(1),I=$(e),I&&(I.c(),I.m(l,null))),524288&t[0]&&E(w,e[19]),O===(O=k(e))&&H?H.p(e,t):(H.d(1),H=O(e),H&&(H.c(),H.m(S.parentNode,S)))},d(e){e&&p(t),e&&p(s),e&&p(a),C.d(),I.d(),e&&p(T),H.d(e),e&&p(S),A=!1,x()}}}function Vr(t){let i;return{c(){i=h("div"),v(i,"class","LoadingIndicator")},m(e,t){c(e,i,t)},p:e,d(e){e&&p(i)}}}function Xr(e){let t,i,r,n,o,s;return{c(){t=d("svg"),i=d("defs"),r=d("style"),n=f(".fil0 {fill:black;fill-rule:nonzero}\n "),o=d("g"),s=d("polygon"),v(r,"type","text/css"),v(s,"class","fil0"),v(s,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),v(t,"xmlns","http://www.w3.org/2000/svg"),v(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),v(t,"xml:space","preserve"),v(t,"version","1.1"),S(t,"shape-rendering","geometricPrecision"),S(t,"text-rendering","geometricPrecision"),S(t,"image-rendering","optimizeQuality"),v(t,"viewBox","0 0 90 69"),v(t,"x","0px"),v(t,"y","0px"),v(t,"fill-rule","evenodd"),v(t,"clip-rule","evenodd")},m(e,a){c(e,t,a),u(t,i),u(i,r),u(r,n),u(t,o),u(o,s)},d(e){e&&p(t)}}}function qr(e){let t,i,r;return{c(){t=d("svg"),i=d("g"),r=d("path"),v(r,"id","XMLID_6_"),v(r,"d","M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360\n c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55\n c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1\n h256.5v-82.1H429v366.5H429.9z"),v(i,"id","XMLID_1_"),v(t,"version","1.1"),v(t,"id","Layer_1"),v(t,"xmlns","http://www.w3.org/2000/svg"),v(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),v(t,"x","0px"),v(t,"y","0px"),v(t,"viewBox","0 0 512 512"),S(t,"enable-background","new 0 0 512 512"),v(t,"xml:space","preserve")},m(e,n){c(e,t,n),u(t,i),u(i,r)},d(e){e&&p(t)}}}function Kr(e){let t,i,r,n,o,s,a,l,m,h,f,y,g,b,L,w,E,T,A;return{c(){t=d("svg"),i=d("g"),r=d("path"),n=d("path"),o=d("g"),s=d("g"),a=d("g"),l=d("g"),m=d("g"),h=d("g"),f=d("g"),y=d("g"),g=d("g"),b=d("g"),L=d("g"),w=d("g"),E=d("g"),T=d("g"),A=d("g"),v(r,"d","M26,0C11.664,0,0,11.663,0,26s11.664,26,26,26s26-11.663,26-26S40.336,0,26,0z M26,50C12.767,50,2,39.233,2,26\n S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z"),v(n,"d","M35.707,16.293c-0.391-0.391-1.023-0.391-1.414,0L26,24.586l-8.293-8.293c-0.391-0.391-1.023-0.391-1.414,0\n s-0.391,1.023,0,1.414L24.586,26l-8.293,8.293c-0.391,0.391-0.391,1.023,0,1.414C16.488,35.902,16.744,36,17,36\n s0.512-0.098,0.707-0.293L26,27.414l8.293,8.293C34.488,35.902,34.744,36,35,36s0.512-0.098,0.707-0.293\n c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z"),v(t,"version","1.1"),v(t,"id","Capa_1"),v(t,"xmlns","http://www.w3.org/2000/svg"),v(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),v(t,"x","0px"),v(t,"y","0px"),v(t,"viewBox","0 0 52 52"),S(t,"enable-background","new 0 0 52 52"),v(t,"xml:space","preserve")},m(e,p){c(e,t,p),u(t,i),u(i,r),u(i,n),u(t,o),u(t,s),u(t,a),u(t,l),u(t,m),u(t,h),u(t,f),u(t,y),u(t,g),u(t,b),u(t,L),u(t,w),u(t,E),u(t,T),u(t,A)},d(e){e&&p(t)}}}function Yr(e){let t,i,r=e[22]("popupSuccess")+"";return{c(){t=h("p"),i=f(r)},m(e,r){c(e,t,r),u(t,i)},p(e,t){4194304&t[0]&&r!==(r=e[22]("popupSuccess")+"")&&E(i,r)},d(e){e&&p(t)}}}function Zr(e){let t,i,r=e[22]("docsRequired")+"";return{c(){t=h("p"),i=f(r)},m(e,r){c(e,t,r),u(t,i)},p(e,t){4194304&t[0]&&r!==(r=e[22]("docsRequired")+"")&&E(i,r)},d(e){e&&p(t)}}}function Jr(e){let t,i,r=e[22]("popupError")+"";return{c(){t=h("p"),i=f(r)},m(e,r){c(e,t,r),u(t,i)},p(e,t){4194304&t[0]&&r!==(r=e[22]("popupError")+"")&&E(i,r)},d(e){e&&p(t)}}}function Qr(e){let t,i,r,n,o=e[22]("okButton")+"";return{c(){t=h("button"),i=f(o),v(t,"class","ConfirmButton")},m(o,s){c(o,t,s),u(t,i),r||(n=b(t,"click",e[31]),r=!0)},p(e,t){4194304&t[0]&&o!==(o=e[22]("okButton")+"")&&E(i,o)},d(e){e&&p(t),r=!1,n()}}}function en(e){let t,i,n,o,s,a,l,m=e[22]("uploadDocumentsButton")+"",d=e[22]("closeButton")+"";return{c(){t=h("button"),i=f(m),n=y(),o=h("button"),s=f(d),v(t,"class","ConfirmButton"),v(o,"class","CloseButton")},m(r,p){c(r,t,p),u(t,i),c(r,n,p),c(r,o,p),u(o,s),a||(l=[b(t,"click",e[32]),b(o,"click",e[31])],a=!0)},p(e,t){4194304&t[0]&&m!==(m=e[22]("uploadDocumentsButton")+"")&&E(i,m),4194304&t[0]&&d!==(d=e[22]("closeButton")+"")&&E(s,d)},d(e){e&&p(t),e&&p(n),e&&p(o),a=!1,r(l)}}}function tn(e){let t,i,n,o,s,a,l,d,g,L,S,A,x,_,P,D,C,B,$=e[13]?`${e[22]("amount")}`:`${e[22]("newPeriodLimit")}`,I=e[22]("setLimit")+"",k=e[4],O=[];for(let t=0;t<k.length;t+=1)O[t]=dn(Fr(e,k,t));let H=e[12]&&fn(e),N=e[13]&&gn(e),M=e[21]&&vn(e);return{c(){t=h("div"),i=h("div"),n=h("div");for(let e=0;e<O.length;e+=1)O[e].c();o=y(),s=h("form"),H&&H.c(),a=y(),N&&N.c(),l=y(),d=h("label"),g=h("span"),L=f($),S=y(),A=h("input"),x=y(),M&&M.c(),_=y(),P=h("button"),D=f(I),v(n,"class","LimitsList "+(e[23]?"Desktop":"")),v(g,"class","LimitInputText"),v(A,"type","number"),v(A,"pattern","[0-9]*"),v(d,"class","LimitAmountInputWrapper"),v(P,"class","LimitSubmitButton"),v(P,"type","button"),P.disabled=!0,v(s,"class","LimitsInteractionArea "+(e[23]?"Desktop":"")),v(i,"class","LimitsPageContainer"),v(t,"class","player-account-gaming-limits-page-2-gm16")},m(r,p){c(r,t,p),u(t,i),u(i,n);for(let e=0;e<O.length;e+=1)O[e]&&O[e].m(n,null);u(i,o),u(i,s),H&&H.m(s,null),u(s,a),N&&N.m(s,null),u(s,l),u(s,d),u(d,g),u(g,L),u(d,S),u(d,A),T(A,e[8]),u(d,x),M&&M.m(d,null),u(s,_),u(s,P),u(P,D),e[51](P),C||(B=[b(A,"input",e[50]),b(A,"keydown",e[33]),b(A,"keyup",e[27]),b(P,"click",e[26]),b(s,"submit",e[26])],C=!0)},p(e,t){if(1623195666&t[0]){let i;for(k=e[4],i=0;i<k.length;i+=1){const r=Fr(e,k,i);O[i]?O[i].p(r,t):(O[i]=dn(r),O[i].c(),O[i].m(n,null))}for(;i<O.length;i+=1)O[i].d(1);O.length=k.length}e[12]?H?H.p(e,t):(H=fn(e),H.c(),H.m(s,a)):H&&(H.d(1),H=null),e[13]?N?N.p(e,t):(N=gn(e),N.c(),N.m(s,l)):N&&(N.d(1),N=null),4202496&t[0]&&$!==($=e[13]?`${e[22]("amount")}`:`${e[22]("newPeriodLimit")}`)&&E(L,$),256&t[0]&&w(A.value)!==e[8]&&T(A,e[8]),e[21]?M?M.p(e,t):(M=vn(e),M.c(),M.m(d,null)):M&&(M.d(1),M=null),4194304&t[0]&&I!==(I=e[22]("setLimit")+"")&&E(D,I)},d(i){i&&p(t),m(O,i),H&&H.d(),N&&N.d(),M&&M.d(),e[51](null),C=!1,r(B)}}}function rn(t){let i;return{c(){i=h("p"),i.textContent="500 Server error"},m(e,t){c(e,i,t)},p:e,d(e){e&&p(i)}}}function nn(t){return{c:e,m:e,p:e,d:e}}function on(t){let i;return{c(){i=h("div"),v(i,"class","LoadingIndicator")},m(e,t){c(e,i,t)},p:e,d(e){e&&p(i)}}}function sn(e){let t,i,r,n,o=e[22]("noLimitText")+"";return{c(){t=h("div"),i=h("div"),r=h("div"),n=f(o),v(r,"class","LimitDetailsTextWrapper"),v(i,"class","LimitDetailsWrapper"),v(t,"class","LimitDetails")},m(e,o){c(e,t,o),u(t,i),u(i,r),u(r,n)},p(e,t){4194304&t[0]&&o!==(o=e[22]("noLimitText")+"")&&E(n,o)},d(e){e&&p(t)}}}function an(e){let t,i,r,n,o=e[22]("lugasPrivacy")+"";return{c(){t=h("div"),i=h("div"),r=h("div"),n=f(o),v(r,"class","LimitDetailsTextWrapper"),v(i,"class","LimitDetailsWrapper"),v(t,"class","LimitDetails")},m(e,o){c(e,t,o),u(t,i),u(i,r),u(r,n)},p(e,t){4194304&t[0]&&o!==(o=e[22]("lugasPrivacy")+"")&&E(n,o)},d(e){e&&p(t)}}}function ln(e){let t,i=e[104].currentLimits,r=[];for(let t=0;t<i.length;t+=1)r[t]=hn(Gr(e,i,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=g()},m(e,i){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,i);c(e,t,i)},p(e,n){if(541065234&n[0]){let o;for(i=e[104].currentLimits,o=0;o<i.length;o+=1){const s=Gr(e,i,o);r[o]?r[o].p(s,n):(r[o]=hn(s),r[o].c(),r[o].m(t.parentNode,t))}for(;o<r.length;o+=1)r[o].d(1);r.length=i.length}},d(e){m(r,e),e&&p(t)}}}function un(e){let t,i,r,n,o=e[22]("lugasPrivacy")+"";return{c(){t=h("div"),i=h("div"),r=h("div"),n=f(o),v(r,"class","LimitDetailsTextWrapper"),v(i,"class","LimitDetailsWrapper"),v(t,"class","LimitDetails")},m(e,o){c(e,t,o),u(t,i),u(i,r),u(r,n)},p(e,t){4194304&t[0]&&o!==(o=e[22]("lugasPrivacy")+"")&&E(n,o)},d(e){e&&p(t)}}}function cn(e){let t,i,r=`${e[22]("removedLimitText")} ${e[109].expiryDate}`;return{c(){t=h("div"),i=f(r),v(t,"class","PendingLimit")},m(e,r){c(e,t,r),u(t,i)},p(e,t){4194320&t[0]&&r!==(r=`${e[22]("removedLimitText")} ${e[109].expiryDate}`)&&E(i,r)},d(e){e&&p(t)}}}function pn(e){let t,i,r=`${e[109].updateAmount}${e[109].currency} ${"None"!==e[109].period||"cumulativeSession"!==e[109].value?" ":e[22]("per")} ${e[22](`${e[109].period}`)} ${e[22]("updateText")} ${e[109].expiryDate}`;return{c(){t=h("div"),i=f(r),v(t,"class","PendingLimit")},m(e,r){c(e,t,r),u(t,i)},p(e,t){4194320&t[0]&&r!==(r=`${e[109].updateAmount}${e[109].currency} ${"None"!==e[109].period||"cumulativeSession"!==e[109].value?" ":e[22]("per")} ${e[22](`${e[109].period}`)} ${e[22]("updateText")} ${e[109].expiryDate}`)&&E(i,r)},d(e){e&&p(t)}}}function mn(e){let t,i,r,n,o=e[22]("removeLimit")+"";function s(){return e[46](e[109])}return{c(){t=h("button"),i=f(o),v(t,"class","RemoveLimitButton")},m(e,o){c(e,t,o),u(t,i),r||(n=b(t,"click",s),r=!0)},p(t,r){e=t,4194304&r[0]&&o!==(o=e[22]("removeLimit")+"")&&E(i,o)},d(e){e&&p(t),r=!1,n()}}}function hn(e){let t,i,r,n,o,s,a,l,m=`${e[109].amount}${e[109].currency} ${"None"!==e[109].period||"cumulativeSession"!==e[109].value?" ":e[22]("per")} ${e[22](`${e[109].period}`)}`,d=!e[109].isModified&&e[1].indexOf(e[104].value)>-1;function g(e,t){return 16&t[0]&&(s=null),null==s&&(s=!!(e[109].isModified&&+e[109].updateAmount.replaceAll(",","")>0)),s?pn:e[109].isModified?cn:void 0}let b=g(e,[-1,-1,-1,-1]),L=b&&b(e),w=d&&mn(e);return{c(){t=h("div"),i=h("div"),r=h("div"),n=f(m),o=y(),L&&L.c(),a=y(),w&&w.c(),l=y(),v(r,"class","CurrentLimit"),v(i,"class","LimitDetailsTextWrapper"),v(t,"class","LimitDetails")},m(e,s){c(e,t,s),u(t,i),u(i,r),u(r,n),u(i,o),L&&L.m(i,null),u(t,a),w&&w.m(t,null),u(t,l)},p(e,r){4194320&r[0]&&m!==(m=`${e[109].amount}${e[109].currency} ${"None"!==e[109].period||"cumulativeSession"!==e[109].value?" ":e[22]("per")} ${e[22](`${e[109].period}`)}`)&&E(n,m),b===(b=g(e,r))&&L?L.p(e,r):(L&&L.d(1),L=b&&b(e),L&&(L.c(),L.m(i,null))),18&r[0]&&(d=!e[109].isModified&&e[1].indexOf(e[104].value)>-1),d?w?w.p(e,r):(w=mn(e),w.c(),w.m(t,l)):w&&(w.d(1),w=null)},d(e){e&&p(t),L&&L.d(),w&&w.d()}}}function dn(e){let t,i,r,n,o,s=e[30](e[104])+"";function a(e,t){return"lugas"===e[104].value?un:e[104].currentLimits.length>0?ln:"lugas"===e[104].value?an:sn}let l=a(e),m=l(e);return{c(){t=h("div"),i=h("p"),r=f(s),n=y(),m.c(),o=y(),v(i,"class","LimitTitle"),v(t,"class","LimitWrapper "+(e[23]?"Desktop":""))},m(e,s){c(e,t,s),u(t,i),u(i,r),u(t,n),m.m(t,null),u(t,o)},p(e,i){16&i[0]&&s!==(s=e[30](e[104])+"")&&E(r,s),l===(l=a(e))&&m?m.p(e,i):(m.d(1),m=l(e),m&&(m.c(),m.m(t,o)))},d(e){e&&p(t),m.d()}}}function fn(e){let t,i,n,o,s,a,l,d=e[22]("limitType")+"",g=e[4],L=[];for(let t=0;t<g.length;t+=1)L[t]=yn(jr(e,g,t));return{c(){t=h("label"),i=h("span"),n=f(d),o=y(),s=h("select");for(let e=0;e<L.length;e+=1)L[e].c();v(i,"class","LimitSelectText"),v(s,"name",""),v(s,"id",""),void 0===e[7]&&M((()=>e[47].call(s))),v(t,"class","LimitTypeDropdownWrapper")},m(r,p){c(r,t,p),u(t,i),u(i,n),u(t,o),u(t,s);for(let e=0;e<L.length;e+=1)L[e]&&L[e].m(s,null);A(s,e[7],!0),a||(l=[b(s,"change",e[47]),b(s,"change",e[48])],a=!0)},p(e,t){if(4194304&t[0]&&d!==(d=e[22]("limitType")+"")&&E(n,d),1073741840&t[0]){let i;for(g=e[4],i=0;i<g.length;i+=1){const r=jr(e,g,i);L[i]?L[i].p(r,t):(L[i]=yn(r),L[i].c(),L[i].m(s,null))}for(;i<L.length;i+=1)L[i].d(1);L.length=g.length}128&t[0]&&A(s,e[7])},d(e){e&&p(t),m(L,e),a=!1,r(l)}}}function yn(e){let t,i,r=e[30](e[104])+"";return{c(){t=h("option"),i=f(r),t.__value=e[106],t.value=t.__value},m(e,r){c(e,t,r),u(t,i)},p(e,t){16&t[0]&&r!==(r=e[30](e[104])+"")&&E(i,r)},d(e){e&&p(t)}}}function gn(e){let t,i,r,n,o,s,a,l=e[22]("period")+"",d=e[3][e[5]].periods,g=[];for(let t=0;t<d.length;t+=1)g[t]=bn(Ur(e,d,t));return{c(){t=h("label"),i=h("span"),r=f(l),n=y(),o=h("select");for(let e=0;e<g.length;e+=1)g[e].c();v(i,"class","PeriodSelectText"),v(o,"name",""),v(o,"id",""),void 0===e[6]&&M((()=>e[49].call(o))),v(t,"class","LimitPeriodDropdownWrapper")},m(l,p){c(l,t,p),u(t,i),u(i,r),u(t,n),u(t,o);for(let e=0;e<g.length;e+=1)g[e]&&g[e].m(o,null);A(o,e[6],!0),s||(a=b(o,"change",e[49]),s=!0)},p(e,t){if(4194304&t[0]&&l!==(l=e[22]("period")+"")&&E(r,l),4194344&t[0]){let i;for(d=e[3][e[5]].periods,i=0;i<d.length;i+=1){const r=Ur(e,d,i);g[i]?g[i].p(r,t):(g[i]=bn(r),g[i].c(),g[i].m(o,null))}for(;i<g.length;i+=1)g[i].d(1);g.length=d.length}104&t[0]&&A(o,e[6])},d(e){e&&p(t),m(g,e),s=!1,a()}}}function bn(e){let t,i,r,n=e[22](e[101])+"";return{c(){t=h("option"),i=f(n),t.__value=r=e[101],t.value=t.__value,t.selected=!0},m(e,r){c(e,t,r),u(t,i)},p(e,o){4194344&o[0]&&n!==(n=e[22](e[101])+"")&&E(i,n),40&o[0]&&r!==(r=e[101])&&(t.__value=r,t.value=t.__value)},d(e){e&&p(t)}}}function vn(e){let t,i,r=e[22]("invalidInputMessageLimit",{values:{minValue:e[10],maxValue:e[11],currency:e[0]}})+"";return{c(){t=h("p"),i=f(r),v(t,"class","InvalidInput")},m(e,r){c(e,t,r),u(t,i)},p(e,t){4197377&t[0]&&r!==(r=e[22]("invalidInputMessageLimit",{values:{minValue:e[10],maxValue:e[11],currency:e[0]}})+"")&&E(i,r)},d(e){e&&p(t)}}}function Ln(t){let i,r,n,o,s=t[17]&&zr(t);function a(e,t){return e[14]&&!e[17]?on:e[14]?nn:e[15]?rn:tn}let l=a(t),m=l(t);return{c(){i=h("meta"),r=y(),n=h("div"),s&&s.c(),o=y(),m.c(),this.c=e,v(i,"name","viewport"),v(i,"content","width=device-width, initial-scale=1")},m(e,a){u(Rr.head,i),c(e,r,a),c(e,n,a),s&&s.m(n,null),u(n,o),m.m(n,null),t[52](n)},p(e,t){e[17]?s?s.p(e,t):(s=zr(e),s.c(),s.m(n,o)):s&&(s.d(1),s=null),l===(l=a(e))&&m?m.p(e,t):(m.d(1),m=l(e),m&&(m.c(),m.m(n,null)))},i:e,o:e,d(e){p(i),e&&p(r),e&&p(n),s&&s.d(),m.d(),t[52](null)}}}function wn(e,t,i){let r;a(e,Ir,(e=>i(22,r=e)));let n,o,s,l,u,{lang:c="en"}=t,{currency:p=""}=t,{limits:m=""}=t,{session:h=""}=t,{userid:d=""}=t,{endpoint:f=""}=t,{apiversion:y=""}=t,{customcurrencysymbols:g=""}=t,{deletelimit:b=""}=t,{amountsconfig:v=""}=t,{periodsconfig:L=""}=t,{clientstyling:E=""}=t,{clientstylingurl:T=""}=t,{translationurl:S=""}=t,A=window.navigator.userAgent,_=!kr(A),P=[],D="",C="",B="",$=0,k="",O="",H="",N={},M=!1,R=!1,U=!0,j=!1,F=!1,G=!1,z=!1,W="",V=[],X=!1,q={},K={EUR:"€",RON:" lei",USD:"$"};const Y={unableToUpdatePendingRequest:["SYS_1037","SYS_1142","SYS_1140"]};Object.keys(Mr).forEach((e=>{Nr(e,Mr[e])}));const Z=()=>{[...v.matchAll(/\(([^)]+)\)/g)].flat().filter((e=>!e.includes("("))).forEach((e=>{Hr[e]?P.push(Object.assign({},Hr[e])):console.error(`Unknown limit: ${e}`)})),(()=>{var e;const t=v.split(",").map((e=>e.split(":"))),r=L.split(",").map((e=>e.split(":")));for(let[e,i]of t.entries())if(i[0]!==r[e][0])throw new Error(`Limit config mismatch: "${i[0]}" does not match "${r[e][0]}"`);const n=t.reduce(((e,t,i)=>{const n=t[0].slice(t[0].indexOf("(")+1,t[0].indexOf(")")),o={value:n,product:t[0].slice(0,t[0].indexOf("(")),minMax:t[1],periods:r[i][1].trim().replace("D","Daily").replace("W","Weekly").replace("M","Monthly").replace("N","None").split("-"),callValue:Hr[n].callValue,callValue16:Hr[n].callValue16,title:Hr[n].title};return e.push(o),e}),[]);for(let e=0;e<n.length;e++)i(4,P[e].product=n[e].product,P),i(4,P[e].min=parseInt(n[e].minMax.split("-")[0],10),P),i(4,P[e].max=parseInt(n[e].minMax.split("-")[1],10),P),i(3,Hr[n[e].value].periods=n[e].periods,Hr);H=null===(e=P[0])||void 0===e?void 0:e.value,P.forEach((e=>{N[e.value]={min:e.min,max:e.max},q[e.value]=e.product})),N&&(N[H]?(i(10,k=N[H].min),i(11,O=N[H].max)):(i(10,k=1),i(11,O=9999999)))})(),i(5,D=P[0].value),i(6,C=Hr[D].periods[0]),B=P[0].product,i(12,M=P.length>1),i(13,R=Hr[D].periods.length>1)},J=()=>{i(5,D=P[$].value),i(6,C=Hr[D].periods[0]),i(13,R=Hr[D].periods.length>1)},Q=()=>{B=P[$].product},ee=e=>{if(!(e.status>=300))return i(16,F=!1),e.json();te(e)},te=e=>{let t;throw i(15,j=!0),e.json().then((e=>{for(const i in Y)for(const r of Y[i])JSON.stringify(e).includes(r)&&(t=i);console.log("errType",t),!t&&me(e)})).finally((()=>{t&&me(t),i(15,j=!1),i(14,U=!1)})),new Error("An error occured during the fetch request")},ie=()=>{switch(y){case"gmcore":re();break;case"gm16":ne()}},re=()=>{i(14,U=!0);let e=new URL(`/v2/player/${d}/limits`,f),t={method:"GET",headers:{"X-SessionID":h,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,t).then((e=>ee(e))).then((e=>{V=e,G&&me(),oe(V),se(V),i(8,o=null)})).catch((e=>{console.error("Error LimitsWidget: ",e),i(15,j=!0)})).finally((()=>{i(14,U=!1)}))},ne=()=>{i(14,U=!0),V=[];let e=new URL(`v1/player/${d}/limits/monetary`,f),t=new URL(`v1/player/${d}/limits/session`,f),r=!1,n={method:"GET",headers:{"X-SessionID":h,"Content-Type":"application/json",Accept:"application/json"}};fetch(e.href,n).then((e=>ee(e))).then((e=>{V.push(e),G&&me(),"gmcore"===y&&oe(V),"gm16"===y&&ae(V),i(8,o=null)})).catch((e=>{console.error("Error LimitsWidget: ",e),i(15,j=!0)})).finally((()=>{r&&i(14,U=!1),r=!0})),fetch(t.href,n).then((e=>ee(e))).then((e=>{V.push(e),G&&me(),"gm16"===y&&le(V),"gm16"===y&&ue(V),i(8,o=null)})).catch((e=>{console.error("Error LimitsWidget: ",e),i(15,j=!0)})).finally((()=>{r&&i(14,U=!1),r=!0}))},oe=e=>{P.forEach((t=>{t.currentLimits=[];const i=Array.isArray(e[Hr[t.value].callValue])?e[Hr[t.value].callValue]:[e[Hr[t.value].callValue]];0!==i.length&&void 0!==i[0]&&(i.forEach(((i,r)=>{var n;const o=e[Hr[t.value].callValue][r];t.currentLimits.push({}),t.currentLimits[r].limitType=t.value,t.currentLimits[r].amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.amount),t.currentLimits[r].currency=null!==(n=K[o.currency])&&void 0!==n?n:o.currency,t.currentLimits[r].period=o.period,t.currentLimits[r].updateAmount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateAmount),t.currentLimits[r].isModified=o.isModified,t.currentLimits[r].expiryDate=`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})),t.currentLimits=ce(t.currentLimits))}))},se=e=>{const t=r("minutes");P.filter((e=>"sessionLimit"===e.value||"cumulativeSession"===e.value)).forEach((i=>{var r;i.currentLimits=[],null===(r=e[Hr[i.value].callValue])||void 0===r||r.forEach(((r,n)=>{const o=e[Hr[i.value].callValue][n];i.currentLimits.push({limitType:i.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.minutes),currency:t,isModified:o.isModified,period:"cumulativeSession"===i.value?o.period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(o.updateMinutes),expiryDate:`${new Date(o.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`})})),i.currentLimits=ce(i.currentLimits)}))},ae=e=>{var t;(null===(t=e[0])||void 0===t?void 0:t.limits)&&P.forEach((t=>{var i;t.currentLimits=[];for(const r of e[0].limits)if(r.type===t.callValue16&&r.products.includes(t.product)){const e=r;t.currentLimits.push({limitType:t.value,amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount),currency:null!==(i=K[e.currency])&&void 0!==i?i:e.currency,isModified:e.schedules.length>0,period:e.period,product:e.products[0],updateAmount:e.schedules.length>0?Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.schedules[0].updateAmount):"",expiryDate:e.schedules.length>0?`${new Date(e.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"",id:e.id})}t.currentLimits=ce(t.currentLimits)}))},le=e=>{var t;(null===(t=e[1])||void 0===t?void 0:t.sessionLimit)&&P.filter((e=>"sessionLimit"===e.value)).forEach((t=>{t.currentLimits.push({limitType:"sessionLimit",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e[1].sessionLimit.minutes),currency:r("minutes"),isModified:e[1].sessionLimit.isModified,period:"None",updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e[1].sessionLimit.updateMinutes),expiryDate:e[1].sessionLimit.expiryDate}),t.currentLimits=ce(t.currentLimits)}))},ue=e=>{var t;(null===(t=e[1])||void 0===t?void 0:t.cumulativeSessionLimits)&&P.filter((e=>"cumulativeSession"===e.value)).forEach((t=>{for(const i of e[1].cumulativeSessionLimits)t.currentLimits.push({limitType:"cumulativeSession",amount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(i.minutes),currency:r("minutes"),isModified:i.isModified,period:i.period,updateAmount:Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(i.updateMinutes),expiryDate:i.expiryDate});t.currentLimits=ce(t.currentLimits)}))},ce=e=>{const t={Daily:0,Weekly:1,Monthly:2};return e.sort(((e,i)=>t[e.period]-t[i.period])),e},pe=()=>{i(21,X=!1),(null==N?void 0:N[D])?(i(10,k=N[D].min),i(11,O=N[D].max)):(i(10,k=1),i(11,O=9999999))},me=e=>{if(window.postMessage({type:"OpenLimitsPopup"},window.location.href),j)return i(16,F=!0),e&&!e.thirdPartyResponse&&i(19,W=r(`${e}`)),e&&e.thirdPartyResponse&&i(19,W=e.thirdPartyResponse.message),e&&(e=>null==e?void 0:e.error.includes("Limit update is not permitted due to LimitUpdateControl"))(e)&&i(19,W=r("popupUpdateLimitException")),e&&(e=>null==e?void 0:e.error.includes("Limit remove is not permitted due to LimitUpdateControl"))(e)&&i(19,W=r("popupRemoveLimitException")),e&&(e=>null==e?void 0:e.error.includes("[NotFoundException] Limit does not exist"))(e)&&i(19,W=r("notFoundException")),void i(18,z=!0);switch(y){case"gmcore":"sessionLimit"===D||"cumulativeSession"===D?(()=>{if(V){const e=V[Hr[D].callValue].filter((e=>(e.period===C||"None"===C)&&e.products[0]===B))[0],t=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.minutes);let n=r("popupImmediateUpdate").replace("{selectedLimit}",r(`${D}`)).replace("{updatedAmount}",t).replace("{currency}",r("minutes")).replace("{selectedPeriod}",r(`${C}`));i(19,W=e.isModified?`${r("popupPendingUpdate")} ${new Date(e.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:n)}i(18,z=!0)})():(()=>{if(V){const e=V[Hr[D].callValue].filter((e=>e.period===C&&e.products[0]===B))[0],t=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount);let n=r("popupImmediateUpdate").replace("{selectedLimit}",ye()).replace("{updatedAmount}",t).replace("{currency}",K[e.currency]||e.currency).replace("{selectedPeriod}",r(`${C}`));i(19,W=e.isModified?`${r("popupPendingUpdate")} ${new Date(e.expiryDate).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:n)}i(18,z=!0)})();break;case"gm16":"lugas"===D?(2==l&&i(19,W=`${r("popup2_a")}${Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(u)} ${p} ${r("popup2_b")}`),3==l&&i(19,W=r("popup3")),i(18,z=!0)):"sessionLimit"===D||"cumulativeSession"===D?(i(19,W=r("sessionLimitUpdated")),i(18,z=!0)):(()=>{var e;const t=(null===(e=V[0])||void 0===e?void 0:e.limits)||V.limits;if(V){const e=t.filter((e=>e.type===Hr[D].callValue16&&(e.period===C||"None"===e.period)&&e.products[0]===B))[0],n=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.amount),o=e.schedules.length>0?`${new Date(e.schedules[0].applyAt).toLocaleDateString("en-de",{hour:"numeric",minute:"numeric"}).replaceAll("/",".")} (GMT)`:"";let s=r("popupImmediateUpdate").replace("{selectedLimit}",ye()).replace("{updatedAmount}",n).replace("{currency}",K[e.currency]||e.currency).replace("{selectedPeriod}",r(`${C}`));i(19,W=e.schedules.length>0?`${r("popupPendingUpdate")} ${o}`:s)}i(18,z=!0)})();break;default:throw new Error(`Invalid apiversion attribute: ${y}`)}},he=e=>{switch(y){case"gmcore":(e=>{i(5,D=e.limitType),i(6,C=e.period),i(17,G=!0),i(14,U=!0);let t=new URL(`v2/player/${d}/limits/${{wager:"wagering",loss:"loss",deposit:"deposit",cumulativeSession:"cumulativeSession",sessionLimit:"session"}[e.limitType]}`,f);"sessionLimit"!==e.limitType&&t.searchParams.append("periods",e.period);let r={method:"DELETE",headers:{"X-SessionID":h,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,r).then((e=>ee(e))).then((e=>{ie()})).catch((e=>{console.log(e),i(15,j=!0)}))})(e);break;case"gm16":"sessionLimit"===e.limitType||"cumulativeSession"===e.limitType?de(e):fe(e)}},de=e=>{const t=new URL(`/v1/player/${d}/limits/session/session`,f),r=new URL(`/v1/player/${d}/limits/session/cumulativeSession?periods=${e.period}`,f);let n;switch(e.limitType){case"sessionLimit":n=t;break;case"cumulativeSession":n=r;break;default:throw Error(`Unknown limit.limitType: ${e.limitType}`)}i(17,G=!0),i(14,U=!0);let o={method:"DELETE",headers:{"X-SessionID":h,"Content-Type":"application/json",Accept:"application/json"}};fetch(n.href,o).then((e=>ee(e))).then((e=>{ie()})).catch((e=>{console.log(e),i(15,j=!0)}))},fe=e=>{const t=new URL(`/v1/player/${d}/limits/monetary/${e.id}`,f);i(17,G=!0),i(14,U=!0);let r={method:"DELETE",headers:{"X-SessionID":h,"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,r).then((e=>ee(e))).then((e=>{ie()})).catch((e=>{console.log(e),i(15,j=!0)}))},ye=e=>{let t;return t=r(e?e.value+e.product:D),t},ge=()=>{i(18,z=i(17,G=!1)),window.postMessage({type:"CloseLimitsPopup"},window.location.href)},be=()=>{var e;e=c,hr.set(e)};return e.$$set=e=>{"lang"in e&&i(34,c=e.lang),"currency"in e&&i(0,p=e.currency),"limits"in e&&i(35,m=e.limits),"session"in e&&i(36,h=e.session),"userid"in e&&i(37,d=e.userid),"endpoint"in e&&i(38,f=e.endpoint),"apiversion"in e&&i(39,y=e.apiversion),"customcurrencysymbols"in e&&i(40,g=e.customcurrencysymbols),"deletelimit"in e&&i(1,b=e.deletelimit),"amountsconfig"in e&&i(41,v=e.amountsconfig),"periodsconfig"in e&&i(42,L=e.periodsconfig),"clientstyling"in e&&i(43,E=e.clientstyling),"clientstylingurl"in e&&i(44,T=e.clientstylingurl),"translationurl"in e&&i(45,S=e.translationurl)},e.$$.update=()=>{512&e.$$.dirty[1]&&g&&(()=>{if(!g)return;let e={};g.split(",").forEach((t=>{let i=t.split(":");e[i[0].trim()]=i[1].trim()})),K=Object.assign(Object.assign({},K),e)})(),3072&e.$$.dirty[1]&&L&&v&&Z(),8&e.$$.dirty[1]&&c&&be(),488&e.$$.dirty[1]&&d&&h&&f&&y&&c&&ie(),4&e.$$.dirty[0]|8192&e.$$.dirty[1]&&T&&n&&(()=>{let e=new URL(T),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{n.appendChild(t)}),1)}))})(),4&e.$$.dirty[0]|4096&e.$$.dirty[1]&&E&&n&&(()=>{let e=document.createElement("style");e.innerHTML=E,n.appendChild(e)})(),16384&e.$$.dirty[1]&&S&&fetch(S).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Nr(t,e[t])}))})).catch((e=>{console.log(e)}))},[p,b,n,Hr,P,D,C,$,o,s,k,O,M,R,U,j,F,G,z,W,l,X,r,_,J,Q,()=>{switch(y){case"gmcore":(()=>{if(!(o>0))return;i(17,G=!0),i(14,U=!0);let e=new URL(`v2/player/${d}/limits`,f),t={};"sessionLimit"===D?t={sessionLimit:o,sessionLimitUnit:"minute"}:t[Hr[D].callValue]="cumulativeSession"===D?[{period:C,minutes:o}]:[{period:"None"===Hr[D].periods[0]?null:C,amount:o,currency:p}];let r={method:"PUT",headers:{"X-SessionID":h,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,r).then((e=>ee(e))).then((e=>{ie()})).catch((e=>{console.log(e),i(15,j=!0)}))})();break;case"gm16":"lugas"===D?(()=>{if(!(o>0))return;i(17,G=!0),i(14,U=!0);const e=new URL(`v2/player/${d}/limit/lugas`,f),t={amount:o,roleLimitAmount:0,softMigration:!1,keepLimit:!1};let r={method:"POST",headers:{"X-SessionID":h,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,r).then((e=>ee(e))).then((e=>{i(20,l=e.popup),e.operatorDepositLimitAmount,u=e.regulatorDepositLimitAmount,ie()})).catch((e=>{console.log(e),i(15,j=!0)}))})():"sessionLimit"===D?(()=>{if(!(o>0))return;i(17,G=!0),i(14,U=!0);const e=new URL(`v1/player/${d}/limits/session/`,f),t={sessionLimit:o,sessionLimitUnit:"minute"};let r={method:"PUT",headers:{"X-SessionID":h,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,r).then((e=>ee(e))).then((e=>{ie()})).catch((e=>{console.log(e),i(15,j=!0)}))})():"cumulativeSession"===D?(()=>{if(!(o>0))return;i(17,G=!0),i(14,U=!0);const e=new URL(`v1/player/${d}/limits/session/`,f),t={cumulativeSessionLimits:[{period:C,minutes:o}]};let r={method:"PUT",headers:{"X-SessionID":h,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e.href,r).then((e=>ee(e))).then((e=>{ie()})).catch((e=>{console.log(e),i(15,j=!0)}))})():(()=>{if(o<=0)return;i(17,G=!0),i(14,U=!0);const e=P[$].currentLimits.filter((e=>e.period===C))[0],t=new URL(`v1/player/${d}/limits/monetary/${e?e.id:""}`,f),r=e?"PUT":"POST",n=e?{amount:o,skipCoolOff:!1}:{amount:o,currency:p,period:"None"===Hr[D].periods[0]?null:C,type:Hr[D].callValue16,products:[null!=B?B:"All"],walletTypes:["All"]};let s={method:r,headers:{"X-SessionID":h,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(n)};fetch(t.href,s).then((e=>ee(e))).then((e=>{ie()})).catch((e=>{console.log(e),i(15,j=!0)}))})();break;default:throw Error(`Invalid apiversion attribute: ${y}`)}},()=>{const e=o-Math.floor(o)==0;o>=k&&o<=O&&e?(i(21,X=!1),s.removeAttribute("disabled")):(i(21,X=!0),s.setAttribute("disabled","true"))},pe,he,ye,ge,()=>{window.postMessage({type:"uploadDocuments"},window.location.href),ge()},e=>{13===e.keyCode&&X&&e.preventDefault()},c,m,h,d,f,y,g,v,L,E,T,S,e=>he(e),function(){$=x(this),i(7,$)},()=>{Q(),J(),pe()},function(){C=x(this),i(6,C),i(3,Hr),i(5,D)},function(){o=w(this.value),i(8,o)},function(e){I[e?"unshift":"push"]((()=>{s=e,i(9,s)}))},function(e){I[e?"unshift":"push"]((()=>{n=e,i(2,n)}))}]}function En(e,t){Wi(e,t)}!customElements.get("player-account-gaming-limits-page-2-gm16")&&customElements.define("player-account-gaming-limits-page-2-gm16",class extends X{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, 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-gm16{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;float:left}.LimitsInteractionArea .InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #FD2839));font-size:14px;padding:6px 0px;margin-bottom:6px}.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}.CloseButton{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);margin-top:8px;border-radius:2px;padding:12px;cursor:pointer}.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-color-black, #000000)}.PendingLimit{color:var(--emfe-w-color-black, #000000)}.LimitTitle{font-size:0.9rem}.PopupOverlay{position:absolute;top:0;left:0;background:rgba(35, 38, 43, 0.7);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center;z-index:11}.PopupContainer{background:var(--emfe-w-color-white, #FFFFFF);font-size:1.3rem;color:var(--emfe-w-color-black, #000000);width:80vw;min-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);color:var(--emfe-w-color-black, #000000);font-size:1.3rem;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),V(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},wn,Ln,o,{lang:34,currency:0,limits:35,session:36,userid:37,endpoint:38,apiversion:39,customcurrencysymbols:40,deletelimit:1,amountsconfig:41,periodsconfig:42,clientstyling:43,clientstylingurl:44,translationurl:45},null,[-1,-1,-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["lang","currency","limits","session","userid","endpoint","apiversion","customcurrencysymbols","deletelimit","amountsconfig","periodsconfig","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[34]}set lang(e){this.$$set({lang:e}),j()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),j()}get limits(){return this.$$.ctx[35]}set limits(e){this.$$set({limits:e}),j()}get session(){return this.$$.ctx[36]}set session(e){this.$$set({session:e}),j()}get userid(){return this.$$.ctx[37]}set userid(e){this.$$set({userid:e}),j()}get endpoint(){return this.$$.ctx[38]}set endpoint(e){this.$$set({endpoint:e}),j()}get apiversion(){return this.$$.ctx[39]}set apiversion(e){this.$$set({apiversion:e}),j()}get customcurrencysymbols(){return this.$$.ctx[40]}set customcurrencysymbols(e){this.$$set({customcurrencysymbols:e}),j()}get deletelimit(){return this.$$.ctx[1]}set deletelimit(e){this.$$set({deletelimit:e}),j()}get amountsconfig(){return this.$$.ctx[41]}set amountsconfig(e){this.$$set({amountsconfig:e}),j()}get periodsconfig(){return this.$$.ctx[42]}set periodsconfig(e){this.$$set({periodsconfig:e}),j()}get clientstyling(){return this.$$.ctx[43]}set clientstyling(e){this.$$set({clientstyling:e}),j()}get clientstylingurl(){return this.$$.ctx[44]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),j()}get translationurl(){return this.$$.ctx[45]}set translationurl(e){this.$$set({translationurl:e}),j()}});const Tn={en:{expandLimits:"LIMIT HISTORY",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",max:"Stake limit",wageringSports:"Stake Limit",loading:"Loading limits history...",error:"Something went wrong. Please try again.",limitRemoved:"Limit removed",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},de:{expandLimits:"LIMIT-VERLAUF",daily:"pro Tag",weekly:"pro Woche",monthly:"pro Monat",loss:"Verlustlimit",deposit:"Einzahlungslimit",wagering:"Einsatzlimit",max:"Einsatzlimit",loading:"Lädt ...",error:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",limitRemoved:"Limit entfernt",historyProductTypeSports:"Sport",historyProductTypeAll:"Alle",historyProductTypeCasino:"Slots",historyLimitTypeDeposit:"Einzahlungslimit",historyLimitTypeWagering:"Einsatzlimit",historyLimitTypeLoss:"Verlustlimit"},hr:{expandLimits:"POVIJEST OGRANIČENJA",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wagering:"Ograničenje uloga",max:"Ograničenje uloga",loading:"Učitavanje...",error:"Došlo je do pogreške. Molimo pokušajte ponovno.",limitRemoved:"Ograničenje uklonjeno",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},sl:{expandLimits:"LIMIT ZGODOVINA",daily:"na dan",weekly:"na teden",monthly:"na mesec",loss:"Limit izgube",deposit:"Limit vplačila",wagering:"Limit na vložek",max:"Limit vložkov",loading:"Nalaga...",error:"Nekaj je šlo narobe. Prosim poskusite ponovno.",limitRemoved:"Limit odstranjen",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},pl:{expandLimits:"HISTORIA LIMITU",daily:"na dzień",weekly:"na tydzień",monthly:"na miesiąc",loss:"Limit Strat",deposit:"Limit depozytów",wagering:"Limit Stawek",max:"Limit stawek",loading:"Ładowanie...",error:"Coś poszło nie tak. Proszę spróbuj ponownie.",limitRemoved:"Usunięty limit",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"zh-hk":{expandLimits:"极限历史",daily:"每天",weekly:"每个星期",monthly:"每月",loss:"损失限额",deposit:"存款限额",wagering:"投注限额",loading:"加载请稍候...",error:"500 - 服务器错误",limitRemoved:"移除限制",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},fr:{expandLimits:"LIMITER L'HISTORIQUE",daily:"par jour",weekly:"par semaine",monthly:"par mois",loss:"Limite de perte",deposit:"Limite de dépôt",wagering:"Limite de mise",loading:"Chargement, veuillez patienter...",error:"500 - Erreur de serveur",limitRemoved:"Limite supprimée",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},ro:{expandLimits:"ISTORIC LIMITE",daily:"pe zi",weekly:"pe saptamana",monthly:"pe luna",loss:"Limita de pierdere",deposit:"Limita de incarcare",loading:"Se incarca, va rugam asteptati...",error:"500 - Eroare de server",limitRemoved:"Limita eliminata",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},es:{expandLimits:"HISTORIAL DE LÍMITES",daily:"por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdida",deposit:"Límite de depósito",wagering:"Límite de apuestas",max:"Límite de apuesta",loading:"Cargando historial de límites…",error:"Algo salió mal. Por favor inténtalo de nuevo.",limitRemoved:"Límite eliminado",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"}};function Sn(e,t,i){const r=e.slice();return r[36]=t[i],r[37]=t,r[38]=i,r}function An(e){let t,i,r,n,o,s,a,l,g,L,w,T,S=e[9]("expandLimits")+"",A=e[7],x=[];for(let t=0;t<A.length;t+=1)x[t]=Cn(Sn(e,A,t));return{c(){t=h("div"),i=h("div"),r=h("button"),n=f(S),o=y(),s=d("svg"),a=d("path"),l=d("path"),g=y(),L=h("div");for(let e=0;e<x.length;e+=1)x[e].c();v(a,"d","M10.5 15l7.5 7.5 7.5-7.5z"),v(l,"d","M0 0h36v36h-36z"),v(l,"fill","none"),v(s,"class","ExpandArrow"),v(s,"xmlns","http://www.w3.org/2000/svg"),v(s,"width","36"),v(s,"height","36"),v(s,"viewBox","0 0 36 36"),v(s,"fill","#999"),_(s,"extended",e[8]),v(r,"class","ExpandButton"),v(L,"class","HistoryDisplayArea"),_(L,"hidden",e[5]),v(i,"class","HistoryWrapper "+(e[10]?"Desktop":"")),v(t,"class","player-account-gaming-limits-history-2")},m(p,m){c(p,t,m),u(t,i),u(i,r),u(r,n),u(r,o),u(r,s),u(s,a),u(s,l),u(i,g),u(i,L);for(let e=0;e<x.length;e+=1)x[e]&&x[e].m(L,null);w||(T=b(r,"click",e[11]),w=!0)},p(e,t){if(512&t[0]&&S!==(S=e[9]("expandLimits")+"")&&E(n,S),256&t[0]&&_(s,"extended",e[8]),650&t[0]){let i;for(A=e[7],i=0;i<A.length;i+=1){const r=Sn(e,A,i);x[i]?x[i].p(r,t):(x[i]=Cn(r),x[i].c(),x[i].m(L,null))}for(;i<x.length;i+=1)x[i].d(1);x.length=A.length}32&t[0]&&_(L,"hidden",e[5])},d(e){e&&p(t),m(x,e),w=!1,T()}}}function xn(t){return{c:e,m:e,p:e,d:e}}function _n(e){let t,i,r=(e[0]?e[9]("error"):"500 Server Error")+"";return{c(){t=h("p"),i=f(r)},m(e,r){c(e,t,r),u(t,i)},p(e,t){513&t[0]&&r!==(r=(e[0]?e[9]("error"):"500 Server Error")+"")&&E(i,r)},d(e){e&&p(t)}}}function Pn(e){let t,i,r,n,o,s,a,l,m,d,g,b,L=e[36].type+"",w=e[36].amount+"",T=e[36].currency+"",S=e[36].period+"",A=e[36].date+"";return{c(){t=h("div"),i=h("span"),r=h("span"),n=f(L),o=h("span"),s=f(w),a=y(),l=f(T),m=y(),d=f(S),g=h("span"),b=f(A),v(r,"class","LimitType"),v(o,"class","LimitAmountPeriod"),v(i,"class","GeneralLimitInformation"),v(g,"class","DateLimitInformation"),v(t,"class","HistoryRow")},m(e,p){c(e,t,p),u(t,i),u(i,r),u(r,n),u(i,o),u(o,s),u(o,a),u(o,l),u(o,m),u(o,d),u(t,g),u(g,b)},p(e,t){128&t[0]&&L!==(L=e[36].type+"")&&E(n,L),128&t[0]&&w!==(w=e[36].amount+"")&&E(s,w),128&t[0]&&T!==(T=e[36].currency+"")&&E(l,T),128&t[0]&&S!==(S=e[36].period+"")&&E(d,S),128&t[0]&&A!==(A=e[36].date+"")&&E(b,A)},d(e){e&&p(t)}}}function Dn(e){let t,i,r,n,o,s,a,l,m=e[36].type+"",d=e[9]("limitRemoved")+"",y=e[36].date+"";return{c(){t=h("div"),i=h("span"),r=h("span"),n=f(m),o=h("span"),s=f(d),a=h("span"),l=f(y),v(r,"class","LimitType"),v(o,"class","LimitAmountPeriod"),v(i,"class","GeneralLimitInformation"),v(a,"class","DateLimitInformation"),v(t,"class","HistoryRow")},m(e,p){c(e,t,p),u(t,i),u(i,r),u(r,n),u(i,o),u(o,s),u(t,a),u(a,l)},p(e,t){128&t[0]&&m!==(m=e[36].type+"")&&E(n,m),512&t[0]&&d!==(d=e[9]("limitRemoved")+"")&&E(s,d),128&t[0]&&y!==(y=e[36].date+"")&&E(l,y)},d(e){e&&p(t)}}}function Cn(e){let t,i,r,n=e[38];function o(e,t){return e[36].removed?Dn:Pn}let s=o(e),a=s(e);const l=()=>e[20](t,n),m=()=>e[20](null,n);return{c(){t=h("div"),a.c(),i=y(),v(t,"class",r=e[38]>+e[1]?"LimitContainer":"")},m(e,r){c(e,t,r),a.m(t,null),u(t,i),l()},p(u,c){s===(s=o(e=u))&&a?a.p(e,c):(a.d(1),a=s(e),a&&(a.c(),a.m(t,i))),2&c[0]&&r!==(r=e[38]>+e[1]?"LimitContainer":"")&&v(t,"class",r),n!==e[38]&&(m(),n=e[38],l())},d(e){e&&p(t),a.d(),m()}}}function Bn(t){let i;function r(e,t){return e[6]?_n:e[4]?xn:An}let n=r(t),o=n(t);return{c(){i=h("div"),o.c(),this.c=e},m(e,r){c(e,i,r),o.m(i,null),t[21](i)},p(e,t){n===(n=r(e))&&o?o.p(e,t):(o.d(1),o=n(e),o&&(o.c(),o.m(i,null)))},i:e,o:e,d(e){e&&p(i),o.d(),t[21](null)}}}function $n(e,t,i){let r;a(e,Ir,(e=>i(9,r=e)));let n,o=window.navigator.userAgent,s=!kr(o),{lang:l=""}=t,{userid:u=""}=t,{session:c=""}=t,{endpoint:p=""}=t,{apiversion:m=""}=t,{numberofentries:h="10"}=t,{customcurrencysymbols:d=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{translationurl:g=""}=t,b=new Array,v=parseInt(h,10),L=!1,w=!0,E=[],T=[],S=!0,A=!1,x={EUR:"€",RON:"lei"};Object.keys(Tn).forEach((e=>{En(e,Tn[e])}));const _=e=>{const t=!!Tn[l];return e.map((e=>{let i={amount:"",currency:"",date:"",period:"",type:"",removed:!1};return i.amount=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.limitAmount),i.currency=t?x[e.limitCurrencyCode]:e.limitCurrencyCode,i.date=new Intl.DateTimeFormat("de",{dateStyle:"medium"}).format(new Date(e.limitDate)),i.period=r(`${e.limitPeriod.toLowerCase()}`),i.type=r(`historyLimitType${e.limitType.split(" ")[0]}`)+" "+r(`historyProductType${e.limitProductType}`),i.removed=-1===e.limitAmount,i}))};let P=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&(v+=parseInt(h,10)||10,T.length<E.length&&i(7,T=E.slice(0,v)))}))}));const D=()=>{var e;e=l,hr.set(e)};return B((()=>()=>{P.unobserve(b[b.length-1])})),e.$$set=e=>{"lang"in e&&i(0,l=e.lang),"userid"in e&&i(12,u=e.userid),"session"in e&&i(13,c=e.session),"endpoint"in e&&i(14,p=e.endpoint),"apiversion"in e&&i(15,m=e.apiversion),"numberofentries"in e&&i(1,h=e.numberofentries),"customcurrencysymbols"in e&&i(16,d=e.customcurrencysymbols),"clientstyling"in e&&i(17,f=e.clientstyling),"clientstylingurl"in e&&i(18,y=e.clientstylingurl),"translationurl"in e&&i(19,g=e.translationurl)},e.$$.update=()=>{65536&e.$$.dirty[0]&&d&&(()=>{if(!d)return;let e={};d.split(",").forEach((t=>{let i=t.split(":");e[i[0].trim()]=i[1].trim()})),x=Object.assign(Object.assign({},x),e)})(),61440&e.$$.dirty[0]&&p&&u&&c&&m&&(()=>{let e=new URL("gmcore"===m?`v2/player/${u}/transactions/limit`:`v1/player/${u}/limits/monetary/history`,p);e.searchParams.append("startDate",`${new Date("2022").toISOString()}`),e.searchParams.append("endDate",`${new Date("2099").toISOString()}`),e.searchParams.append("limit","10000");let t={method:"GET",headers:{"X-SessionID":c}};fetch(e.href,t).then((e=>{if(e.status>=300)throw i(4,w=!1),i(6,L=!0),new Error("There was an error fetching the limits");return e.json()})).then((e=>{e.length&&(E=_(e),i(7,T=E.slice(0,v))),i(4,w=!1)}),(e=>{console.error("There was an error",e),i(6,L=!0)}))})(),56&e.$$.dirty[0]&&b[0]&&!w&&!S&&P.observe(b[b.length-1]),1&e.$$.dirty[0]&&l&&D(),262144&e.$$.dirty[0]&&y&&(()=>{let e=new URL(y),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,n&&(setTimeout((()=>{n.appendChild(t)}),1),setTimeout((()=>{}),500))}))})(),131076&e.$$.dirty[0]&&f&&n&&(()=>{let e=document.createElement("style");e.innerHTML=f,n.appendChild(e)})(),524292&e.$$.dirty[0]&&g&&n&&fetch(g).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{En(t,e[t])}))})).catch((e=>{console.log(e)}))},[l,h,n,b,w,S,L,T,A,r,s,()=>{i(5,S=!S),i(8,A=!A)},u,c,p,m,d,f,y,g,function(e,t){I[e?"unshift":"push"]((()=>{b[t]=e,i(3,b)}))},function(e){I[e?"unshift":"push"]((()=>{n=e,i(2,n)}))}]}!customElements.get("player-account-gaming-limits-history-2")&&customElements.define("player-account-gaming-limits-history-2",class extends X{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{color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2{color:var(--emfe-w-color-white, #FFFFFF)}button{font-size:1rem;border:0;padding:0}.ExpandButton{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.extended{transform:rotate(180deg)}.HistoryWrapper{display:flex;flex-direction:column}.HistoryWrapper.Desktop{width:320px;padding:0 12px;margin:12px auto}.hidden{display:none}.HistoryRow{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.GeneralLimitInformation{display:flex;flex-direction:column;gap:4px}.LimitType{font-size:1.3rem}.LimitAmountPeriod{color:#999}.LimitContainer{animation:animateEntry 0.7s ease-in}@keyframes animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}',this.shadowRoot.appendChild(t),V(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},$n,Bn,o,{lang:0,userid:12,session:13,endpoint:14,apiversion:15,numberofentries:1,customcurrencysymbols:16,clientstyling:17,clientstylingurl:18,translationurl:19},null,[-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["lang","userid","session","endpoint","apiversion","numberofentries","customcurrencysymbols","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),j()}get userid(){return this.$$.ctx[12]}set userid(e){this.$$set({userid:e}),j()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),j()}get endpoint(){return this.$$.ctx[14]}set endpoint(e){this.$$set({endpoint:e}),j()}get apiversion(){return this.$$.ctx[15]}set apiversion(e){this.$$set({apiversion:e}),j()}get numberofentries(){return this.$$.ctx[1]}set numberofentries(e){this.$$set({numberofentries:e}),j()}get customcurrencysymbols(){return this.$$.ctx[16]}set customcurrencysymbols(e){this.$$set({customcurrencysymbols:e}),j()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(e){this.$$set({clientstyling:e}),j()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),j()}get translationurl(){return this.$$.ctx[19]}set translationurl(e){this.$$set({translationurl:e}),j()}});const{document:In}=l;function kn(e,t,i){const r=e.slice();return r[39]=t[i],r[41]=i,r}function On(e,t,i){const r=e.slice();return r[42]=t[i],r[41]=i,r}function Hn(e){let t,i,r,n,o=e[21].length>1&&function(e){let t,i=e[21],r=[];for(let t=0;t<i.length;t+=1)r[t]=Mn(On(e,i,t));return{c(){t=h("div");for(let e=0;e<r.length;e+=1)r[e].c();v(t,"class","TabsContainer")},m(i,n){c(i,t,n);for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,null);e[30](t)},p(e,n){if(10551296&n[0]){let o;for(i=e[21],o=0;o<i.length;o+=1){const s=On(e,i,o);r[o]?r[o].p(s,n):(r[o]=Mn(s),r[o].c(),r[o].m(t,null))}for(;o<r.length;o+=1)r[o].d(1);r.length=i.length}},d(i){i&&p(t),m(r,i),e[30](null)}}}(e),s=e[21],a=[];for(let t=0;t<s.length;t+=1)a[t]=Rn(kn(e,s,t));let l="true"===e[6]&&Un(e);return{c(){o&&o.c(),t=y(),i=h("div");for(let e=0;e<a.length;e+=1)a[e].c();r=y(),l&&l.c(),n=g(),v(i,"class","PlayerAccountGamingLmitsWrapper2")},m(s,u){o&&o.m(s,u),c(s,t,u),c(s,i,u);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(i,null);e[31](i),c(s,r,u),l&&l.m(s,u),c(s,n,u)},p(e,t){if(e[21].length>1&&o.p(e,t),794303&t[0]){let r;for(s=e[21],r=0;r<s.length;r+=1){const n=kn(e,s,r);a[r]?a[r].p(n,t):(a[r]=Rn(n),a[r].c(),a[r].m(i,null))}for(;r<a.length;r+=1)a[r].d(1);a.length=s.length}"true"===e[6]?l?l.p(e,t):(l=Un(e),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(s){o&&o.d(s),s&&p(t),s&&p(i),m(a,s),e[31](null),s&&p(r),l&&l.d(s),s&&p(n)}}}function Nn(t){return{c:e,m:e,p:e,d:e}}function Mn(e){let t,i,r,n,o=(e[16][e[41]]??e[42])+"";function s(){return e[29](e[41])}return{c(){t=h("div"),i=f(o),v(t,"class","LimitsTab")},m(e,o){c(e,t,o),u(t,i),r||(n=b(t,"click",s),r=!0)},p(t,r){e=t,65536&r[0]&&o!==(o=(e[16][e[41]]??e[42])+"")&&E(i,o)},d(e){e&&p(t),r=!1,n()}}}function Rn(e){let t,i,r;return{c(){t=h("player-account-gaming-limits-page-2-gm16"),L(t,"class","hidden selected"),L(t,"lang",e[0]),L(t,"currency",e[4]),L(t,"amountsconfig",i=e[18][e[41]]),L(t,"periodsconfig",r=e[19][e[41]]),L(t,"userid",e[1]),L(t,"deletelimit",e[7]),L(t,"session",e[2]),L(t,"endpoint",e[3]),L(t,"apiversion",e[5]),L(t,"clientstyling",e[10]),L(t,"clientstylingurl",e[11]),L(t,"translationurl",e[12]),L(t,"customcurrencysymbols",e[9])},m(e,i){c(e,t,i)},p(e,n){1&n[0]&&L(t,"lang",e[0]),16&n[0]&&L(t,"currency",e[4]),262144&n[0]&&i!==(i=e[18][e[41]])&&L(t,"amountsconfig",i),524288&n[0]&&r!==(r=e[19][e[41]])&&L(t,"periodsconfig",r),2&n[0]&&L(t,"userid",e[1]),128&n[0]&&L(t,"deletelimit",e[7]),4&n[0]&&L(t,"session",e[2]),8&n[0]&&L(t,"endpoint",e[3]),32&n[0]&&L(t,"apiversion",e[5]),1024&n[0]&&L(t,"clientstyling",e[10]),2048&n[0]&&L(t,"clientstylingurl",e[11]),4096&n[0]&&L(t,"translationurl",e[12]),512&n[0]&&L(t,"customcurrencysymbols",e[9])},d(e){e&&p(t)}}}function Un(e){let t;return{c(){t=h("player-account-gaming-limits-history-2"),L(t,"lang",e[0]),L(t,"userid",e[1]),L(t,"session",e[2]),L(t,"endpoint",e[3]),L(t,"apiversion",e[5]),L(t,"numberofentries",e[8]),L(t,"clientstyling",e[10]),L(t,"clientstylingurl",e[11]),L(t,"translationurl",e[12]),L(t,"customcurrencysymbols",e[9])},m(e,i){c(e,t,i)},p(e,i){1&i[0]&&L(t,"lang",e[0]),2&i[0]&&L(t,"userid",e[1]),4&i[0]&&L(t,"session",e[2]),8&i[0]&&L(t,"endpoint",e[3]),32&i[0]&&L(t,"apiversion",e[5]),256&i[0]&&L(t,"numberofentries",e[8]),1024&i[0]&&L(t,"clientstyling",e[10]),2048&i[0]&&L(t,"clientstylingurl",e[11]),4096&i[0]&&L(t,"translationurl",e[12]),512&i[0]&&L(t,"customcurrencysymbols",e[9])},d(e){e&&p(t)}}}function jn(t){let i,r,n,o,s,a,l,m,g,L=t[20]("title")+"",w=t[22]&&function(e){let t,i,r,n,o,s,a,l,m,g,L,w,T,S=e[20]("title")+"";return{c(){t=h("div"),i=d("svg"),r=d("defs"),n=d("style"),o=f(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));}"),s=d("g"),a=d("g"),l=d("path"),m=y(),g=h("h2"),L=f(S),v(l,"class","aaa"),v(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),v(l,"transform","translate(15 15) rotate(180)"),v(a,"transform","translate(20 158)"),v(s,"transform","translate(-20 -158)"),v(i,"xmlns","http://www.w3.org/2000/svg"),v(i,"width","15"),v(i,"height","15"),v(i,"viewBox","0 0 15 15"),v(g,"class","GamingLimitsTitleMobile"),v(t,"class","MenuReturnButton"),v(t,"part","MenuReturnButton")},m(p,h){c(p,t,h),u(t,i),u(i,r),u(r,n),u(n,o),u(i,s),u(s,a),u(a,l),u(t,m),u(t,g),u(g,L),w||(T=b(t,"click",e[28]),w=!0)},p(e,t){1048576&t[0]&&S!==(S=e[20]("title")+"")&&E(L,S)},d(e){e&&p(t),w=!1,T()}}}(t);function T(e,t){return e[13]?Nn:Hn}let S=T(t),A=S(t);return{c(){i=h("meta"),r=y(),n=h("div"),o=h("div"),s=h("div"),w&&w.c(),a=y(),l=h("h2"),m=f(L),g=y(),A.c(),this.c=e,v(i,"name","viewport"),v(i,"content","width=device-width, initial-scale=1"),v(l,"class","GamingLimitsTitle "+(t[22]?"GamingLimitsTitleNone":"")),v(s,"class","TitleSection"),v(o,"class","GamingLimitsWrapper "+(t[22]?"GamingLimitsWrapperMobile":""))},m(e,p){u(In.head,i),c(e,r,p),c(e,n,p),u(n,o),u(o,s),w&&w.m(s,null),u(s,a),u(s,l),u(l,m),u(o,g),A.m(o,null),t[32](n)},p(e,t){e[22]&&w.p(e,t),1048576&t[0]&&L!==(L=e[20]("title")+"")&&E(m,L),S===(S=T(e))&&A?A.p(e,t):(A.d(1),A=S(e),A&&(A.c(),A.m(o,null)))},i:e,o:e,d(e){p(i),e&&p(r),e&&p(n),w&&w.d(),A.d(),t[32](null)}}}function Fn(e,t,i){let r;a(e,Ir,(e=>i(20,r=e)));let n,o,s,l,u,c,{lang:p=""}=t,{userid:m=""}=t,{session:h=""}=t,{endpoint:d=""}=t,{currency:f=""}=t,{apiversion:y=""}=t,{tablabels:g=""}=t,{historyenabled:b="true"}=t,{deletelimit:v=""}=t,{limitsamount:L=""}=t,{limitsperiods:w=""}=t,{numberofentries:E=""}=t,{customcurrencysymbols:T=""}=t,{clientstyling:S=""}=t,{clientstylingurl:A=""}=t,{translationurl:x=""}=t,_=!0,P=[],D="PC"!==(e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC")(window.navigator.userAgent);Object.keys(Or).forEach((e=>{!function(e,t){Wi(e,t)}(e,Or[e])}));const C=()=>{((e,t)=>{if(i(18,u=e.replace(/\s/g,"").split("|")),i(19,c=t.replace(/\s/g,"").split("|")),0===u.length)throw new Error("Please provide a full limits configuration.");if(u.length!==c.length)throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.")})(L,w),L.split("|").forEach((e=>{P.push(e)})),i(16,o=g.split(",").map((e=>e.trim()))),i(13,_=!1)},$=e=>{if(s.children.length>0)for(let t=0;t<s.children.length;t++)e===t?(s.children[t].classList.remove("hidden"),null==l||l.children[t].classList.add("selected")):(s.children[t].classList.add("hidden"),null==l||l.children[t].classList.remove("selected"))},k=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:D},window.location.href)};B((()=>()=>{i(15,s=null),i(17,l=null)}));return e.$$set=e=>{"lang"in e&&i(0,p=e.lang),"userid"in e&&i(1,m=e.userid),"session"in e&&i(2,h=e.session),"endpoint"in e&&i(3,d=e.endpoint),"currency"in e&&i(4,f=e.currency),"apiversion"in e&&i(5,y=e.apiversion),"tablabels"in e&&i(25,g=e.tablabels),"historyenabled"in e&&i(6,b=e.historyenabled),"deletelimit"in e&&i(7,v=e.deletelimit),"limitsamount"in e&&i(26,L=e.limitsamount),"limitsperiods"in e&&i(27,w=e.limitsperiods),"numberofentries"in e&&i(8,E=e.numberofentries),"customcurrencysymbols"in e&&i(9,T=e.customcurrencysymbols),"clientstyling"in e&&i(10,S=e.clientstyling),"clientstylingurl"in e&&i(11,A=e.clientstylingurl),"translationurl"in e&&i(12,x=e.translationurl)},e.$$.update=()=>{33554479&e.$$.dirty[0]&&m&&h&&d&&g&&p&&y&&C(),40960&e.$$.dirty[0]&&s&&!_&&$(0),18432&e.$$.dirty[0]&&A&&n&&(()=>{let e=new URL(A),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{n.appendChild(t)}),1)}))})(),17408&e.$$.dirty[0]&&S&&n&&(()=>{let e=document.createElement("style");e.innerHTML=S,n.appendChild(e)})()},[p,m,h,d,f,y,b,v,E,T,S,A,x,_,n,s,o,l,u,c,r,P,D,$,k,g,L,w,()=>k(),e=>$(e),function(e){I[e?"unshift":"push"]((()=>{l=e,i(17,l)}))},function(e){I[e?"unshift":"push"]((()=>{s=e,i(15,s)}))},function(e){I[e?"unshift":"push"]((()=>{n=e,i(14,n)}))}]}class Gn extends X{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";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px 50px 30px 50px}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.TabsContainer{height:50px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid var(--emfe-w-color-gray-300, #58586B);justify-content:center;background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 0.15rem 0.2rem 0 rgba(0, 0, 0, 0.12)}.LimitsTab{font-size:1.3rem;line-height:1.4rem;margin-bottom:3px;display:flex;justify-content:center;align-items:center;padding:0 1rem;box-sizing:content-box}.hidden{display:none}h2{margin:20px 0px}.PlayerAccountGamingLmitsWrapper2{margin-bottom:20px}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C))}.GamingLimitsTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));font-weight:400}.GamingLimitsTitleMobile{font-size:16px}.GamingLimitsTitleNone{display:none}.selected{border-bottom:0.2rem solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));margin:0}',this.shadowRoot.appendChild(t),V(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Fn,jn,o,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,tablabels:25,historyenabled:6,deletelimit:7,limitsamount:26,limitsperiods:27,numberofentries:8,customcurrencysymbols:9,clientstyling:10,clientstylingurl:11,translationurl:12},null,[-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["lang","userid","session","endpoint","currency","apiversion","tablabels","historyenabled","deletelimit","limitsamount","limitsperiods","numberofentries","customcurrencysymbols","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),j()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),j()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),j()}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),j()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),j()}get apiversion(){return this.$$.ctx[5]}set apiversion(e){this.$$set({apiversion:e}),j()}get tablabels(){return this.$$.ctx[25]}set tablabels(e){this.$$set({tablabels:e}),j()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(e){this.$$set({historyenabled:e}),j()}get deletelimit(){return this.$$.ctx[7]}set deletelimit(e){this.$$set({deletelimit:e}),j()}get limitsamount(){return this.$$.ctx[26]}set limitsamount(e){this.$$set({limitsamount:e}),j()}get limitsperiods(){return this.$$.ctx[27]}set limitsperiods(e){this.$$set({limitsperiods:e}),j()}get numberofentries(){return this.$$.ctx[8]}set numberofentries(e){this.$$set({numberofentries:e}),j()}get customcurrencysymbols(){return this.$$.ctx[9]}set customcurrencysymbols(e){this.$$set({customcurrencysymbols:e}),j()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),j()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),j()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),j()}}return!customElements.get("player-account-gaming-limits-wrapper-2")&&customElements.define("player-account-gaming-limits-wrapper-2",Gn),Gn}));
|
|
2
2
|
//# sourceMappingURL=player-account-gaming-limits-wrapper-2.js.map
|