@everymatrix/player-account-gaming-limits 0.0.284 → 0.0.285

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 z(){}const p=e=>e;function c(e){return e()}function d(){return Object.create(null)}function q(e){e.forEach(c)}function w(e){return"function"==typeof e}function i(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function m(e,...t){if(null==e)return z;const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function N(e,t,i){e.$$.on_destroy.push(m(t,i))}var e="undefined"!=typeof window;let g=e?()=>window.performance.now():()=>Date.now(),y=e?e=>requestAnimationFrame(e):z;const v=new Set;function _(t){v.forEach(e=>{e.c(t)||(v.delete(e),e.f())}),0!==v.size&&y(_)}function Z(e,t){e.appendChild(t)}function X(e,t,i){e.insertBefore(t,i||null)}function J(e){e.parentNode.removeChild(e)}function b(t,i){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(i)}function K(e){return document.createElement(e)}function t(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Q(e){return document.createTextNode(e)}function ee(){return Q(" ")}function x(){return Q("")}function te(e,t,i,n){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i,n)}function ie(t){return function(e){return e.preventDefault(),t.call(this,e)}}function ne(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function re(e,t,i){t in e?e[t]=i:ne(e,t,i)}function R(e){return""===e?null:+e}function oe(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function h(e,t){e.value=null==t?"":t}function T(t,i){for(let e=0;e<t.options.length;e+=1){const n=t.options[e];if(n.__value===i)return n.selected=!0,0}}function n(e){const t={};for(const i of e)t[i.name]=i.value;return t}const E=new Set;let f,C=0;function L(e,t,i,n,r,o,a,s=0){var l=16.666/n;let u="{\n";for(let e=0;e<=1;e+=l){const n=t+(i-t)*o(e);u+=100*e+`%{${a(n,1-n)}}\n`}const c=u+`100% {${a(i,1-i)}}\n}`,d=`__svelte_${function(e){let t=5381,i=e.length;for(;i--;)t=(t<<5)-t^e.charCodeAt(i);return t>>>0}(c)}_${s}`,m=e.ownerDocument;E.add(m);const h=m.__svelte_stylesheet||(m.__svelte_stylesheet=m.head.appendChild(K("style")).sheet),f=m.__svelte_rules||(m.__svelte_rules={});f[d]||(f[d]=!0,h.insertRule(`@keyframes ${d} ${c}`,h.cssRules.length));s=e.style.animation||"";return e.style.animation=`${s?`${s}, `:""}${d} ${n}ms linear ${r}ms 1 both`,C+=1,d}function M(e){f=e}function Y(e){!function(){if(!f)throw new Error("Function called outside component initialization");return f}().$$.on_mount.push(e)}const A=[],s=[],r=[],o=[],a=Promise.resolve();let l=!1;function S(){l||(l=!0,a.then(k))}function I(e){r.push(e)}let u=!1;const D=new Set;function k(){if(!u){u=!0;do{for(let e=0;e<A.length;e+=1){var t=A[e];M(t),function(e){{var t;null!==e.fragment&&(e.update(),q(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(I))}}(t.$$)}for(M(null),A.length=0;s.length;)s.pop()();for(let e=0;e<r.length;e+=1){const i=r[e];D.has(i)||(D.add(i),i())}}while(r.length=0,A.length);for(;o.length;)o.pop()();l=!1,u=!1,D.clear()}}let P;function O(e,t,i){e.dispatchEvent(function(e){const t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}(`${t?"intro":"outro"}${i}`))}const F=new Set;let U;function G(e,t){e&&e.i&&(F.delete(e),e.i(t))}function $(e,t,i,n){e&&e.o&&(F.has(e)||(F.add(e),U.c.push(()=>{F.delete(e),n&&(i&&e.d(1),n())}),e.o(t)))}const W={duration:0};function j(s,e,t,i){let l=e(s,t),u=i?0:1,c=null,d=null,m=null;function h(){m&&function(e,t){const i=(e.style.animation||"").split(", "),n=i.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),r=i.length-n.length;r&&(e.style.animation=n.join(", "),C-=r,C||y(()=>{C||(E.forEach(e=>{const t=e.__svelte_stylesheet;let i=t.cssRules.length;for(;i--;)t.deleteRule(i);e.__svelte_rules={}}),E.clear())}))}(s,m)}function f(e,t){var i=e.b-u;return t*=Math.abs(i),{a:u,b:e.b,d:i,duration:t,start:e.start,end:e.start+t,group:e.group}}function n(e){const{delay:t=0,duration:i=300,easing:n=p,tick:r=z,css:o}=l||W,a={start:g()+t,b:e};e||(a.group=U,U.r+=1),c||d?d=a:(o&&(h(),m=L(s,u,e,i,t,n,o)),e&&r(0,1),c=f(a,i),I(()=>O(s,e,"start")),function(t){let i;0===v.size&&y(_),new Promise(e=>{v.add(i={c:t,f:e})})}(e=>{return d&&e>d.start&&(c=f(d,i),d=null,O(s,c.b,"start"),o&&(h(),m=L(s,u,c.b,c.duration,0,n,l.css))),c&&(e>=c.end?(r(u=c.b,1-u),O(s,c.b,"end"),d||(c.b?h():--c.group.r||q(c.group.c)),c=null):e>=c.start&&(e=e-c.start,u=c.a+c.d*n(e/c.duration),r(u,1-u))),!(!c&&!d)}))}return{run(e){w(l)?(P||(P=Promise.resolve(),P.then(()=>{P=null})),P.then(()=>{l=l(),n(e)})):n(e)},end(){h(),c=d=null}}}function B(n,e,t,i,r,o,a=[-1]){var s=f;M(n);const l=n.$$={fragment:null,ctx:null,props:o,update:z,not_equal:r,bound:d(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s?s.$$.context:e.context||[]),callbacks:d(),dirty:a,skip_bound:!1};let u=!1;if(l.ctx=t?t(n,e.props||{},(e,t,...i)=>{i=i.length?i[0]:t;return l.ctx&&r(l.ctx[e],l.ctx[e]=i)&&(!l.skip_bound&&l.bound[e]&&l.bound[e](i),u&&(i=e,-1===(e=n).$$.dirty[0]&&(A.push(e),S(),e.$$.dirty.fill(0)),e.$$.dirty[i/31|0]|=1<<i%31)),t}):[],l.update(),u=!0,q(l.before_update),l.fragment=!!i&&i(l.ctx),e.target){if(e.hydrate){const z=(i=e.target,Array.from(i.childNodes));l.fragment&&l.fragment.l(z),z.forEach(J)}else l.fragment&&l.fragment.c();e.intro&&G(n.$$.fragment),function(t,e,i,n){const{fragment:r,on_mount:o,on_destroy:a,after_update:s}=t.$$;r&&r.m(e,i),n||I(()=>{var e=o.map(c).filter(w);a?a.push(...e):q(e),t.$$.on_mount=[]}),s.forEach(I)}(n,e.target,e.anchor,e.customElement),k()}M(s)}let H;"function"==typeof HTMLElement&&(H=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(c).filter(w);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,i){this[e]=i}disconnectedCallback(){q(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(q(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=z}$on(e,t){const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var V,ae,se="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==se&&se,le="URLSearchParams"in se,ue="Symbol"in se&&"iterator"in Symbol,ce="FileReader"in se&&"Blob"in se&&function(){try{return new Blob,!0}catch(e){return!1}}(),de="FormData"in se,me="ArrayBuffer"in se;function he(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 fe(e){return e="string"!=typeof e?String(e):e}function pe(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return ue&&(e[Symbol.iterator]=function(){return e}),e}function ge(t){this.map={},t instanceof ge?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function ye(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ve(i){return new Promise(function(e,t){i.onload=function(){e(i.result)},i.onerror=function(){t(i.error)}})}function we(e){var t=new FileReader,i=ve(t);return t.readAsArrayBuffer(e),i}function _e(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function be(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:ce&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:de&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:le&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():me&&ce&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=_e(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):me&&(ArrayBuffer.prototype.isPrototypeOf(e)||ae(e))?this._bodyArrayBuffer=_e(e):this._bodyText=e=Object.prototype.toString.call(e):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):le&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ce&&(this.blob=function(){var e=ye(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(){return this._bodyArrayBuffer?ye(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(we)}),this.text=function(){var e,t,i=ye(this);if(i)return i;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,i=ve(t),t.readAsText(e),i;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),i=new Array(t.length),n=0;n<t.length;n++)i[n]=String.fromCharCode(t[n]);return i.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},de&&(this.formData=function(){return this.text().then(Ee)}),this.json=function(){return this.text().then(JSON.parse)},this}me&&(V=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],ae=ArrayBuffer.isView||function(e){return e&&-1<V.indexOf(Object.prototype.toString.call(e))}),ge.prototype.append=function(e,t){e=he(e),t=fe(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},ge.prototype.delete=function(e){delete this.map[he(e)]},ge.prototype.get=function(e){return e=he(e),this.has(e)?this.map[e]:null},ge.prototype.has=function(e){return this.map.hasOwnProperty(he(e))},ge.prototype.set=function(e,t){this.map[he(e)]=fe(t)},ge.prototype.forEach=function(e,t){for(var i in this.map)this.map.hasOwnProperty(i)&&e.call(t,this.map[i],i,this)},ge.prototype.keys=function(){var i=[];return this.forEach(function(e,t){i.push(t)}),pe(i)},ge.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),pe(t)},ge.prototype.entries=function(){var i=[];return this.forEach(function(e,t){i.push([t,e])}),pe(i)},ue&&(ge.prototype[Symbol.iterator]=ge.prototype.entries);var xe=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Te(e,t){if(!(this instanceof Te))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var i,n=(t=t||{}).body;if(e instanceof Te){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new ge(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 ge(t.headers)),this.method=(e=(i=t.method||this.method||"GET").toUpperCase(),-1<xe.indexOf(e)?e:i),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Ee(e){var i=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),i.append(decodeURIComponent(e),decodeURIComponent(t)))}),i}function Ce(e,t){if(!(this instanceof Ce))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new ge(t.headers),this.url=t.url||"",this._initBody(e)}Te.prototype.clone=function(){return new Te(this,{body:this._bodyInit})},be.call(Te.prototype),be.call(Ce.prototype),Ce.prototype.clone=function(){return new Ce(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new ge(this.headers),url:this.url})},Ce.error=function(){var e=new Ce(null,{status:0,statusText:""});return e.type="error",e};var Le=[301,302,303,307,308];Ce.redirect=function(e,t){if(-1===Le.indexOf(t))throw new RangeError("Invalid status code");return new Ce(null,{status:t,headers:{location:e}})};var Me=se.DOMException;try{new Me}catch(z){(Me=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),Me.prototype.constructor=Me}function Ae(n,a){return new Promise(function(r,e){var t=new Te(n,a);if(t.signal&&t.signal.aborted)return e(new Me("Aborted","AbortError"));var o=new XMLHttpRequest;function i(){o.abort()}o.onload=function(){var e,i,t={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",i=new ge,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 t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),i.append(e,t))}),i)};t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL");var n="response"in o?o.response:o.responseText;setTimeout(function(){r(new Ce(n,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){e(new Me("Aborted","AbortError"))},0)},o.open(t.method,function(t){try{return""===t&&se.location.href?se.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?o.withCredentials=!0:"omit"===t.credentials&&(o.withCredentials=!1),"responseType"in o&&(ce?o.responseType="blob":me&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof ge?t.headers.forEach(function(e,t){o.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){o.setRequestHeader(e,fe(a.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",i),o.onreadystatechange=function(){4===o.readyState&&t.signal.removeEventListener("abort",i)}),o.send(void 0===t._bodyInit?null:t._bodyInit)})}function Ii(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Ae.polyfill=!0,se.fetch||(se.fetch=Ae,se.Headers=ge,se.Request=Te,se.Response=Ce),self.fetch.bind(self);var Se=function(e,t){return(Se=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])})(e,t)};function Ie(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}Se(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}function De(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&n>=e.length?void 0:e)&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ke(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,r,o=i.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){r={error:e}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return a}function Pe(e,t){for(var i=0,n=t.length,r=e.length;i<n;i++,r++)e[r]=t[i];return e}function Oe(e){return"function"==typeof e}function Ne(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var Re=Ne(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Ye(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var Fe=(Ge.prototype.unsubscribe=function(){var e,t,i,n,r;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=De(o),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else o.remove(this);o=this.initialTeardown;if(Oe(o))try{o()}catch(e){r=e instanceof Re?e.errors:[e]}o=this._teardowns;if(o){this._teardowns=null;try{for(var l=De(o),u=l.next();!u.done;u=l.next()){var c=u.value;try{We(c)}catch(e){r=null!=r?r:[],e instanceof Re?r=Pe(Pe([],ke(r)),ke(e.errors)):r.push(e)}}}catch(e){i={error:e}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(i)throw i.error}}}if(r)throw new Re(r)}},Ge.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)We(e);else{if(e instanceof Ge){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},Ge.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Ge.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Ge.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ye(t,e)},Ge.prototype.remove=function(e){var t=this._teardowns;t&&Ye(t,e),e instanceof Ge&&e._removeParent(this)},Ge.EMPTY=((ui=new Ge).closed=!0,ui),Ge),Ue=Fe.EMPTY;function Ge(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function $e(e){return e instanceof Fe||e&&"closed"in e&&Oe(e.remove)&&Oe(e.add)&&Oe(e.unsubscribe)}function We(e){Oe(e)?e():e.unsubscribe()}var je=void 0,Be=!1,He=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,Pe([],ke(e)))};function Ve(){}function ze(e){e()}var qe,Ze,Xe=(Ie(Qe,Ze=Fe),Qe.create=function(e,t,i){return new Je(e,t,i)},Qe.prototype.next=function(e){this.isStopped||this._next(e)},Qe.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Qe.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Qe.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Ze.prototype.unsubscribe.call(this),this.destination=null)},Qe.prototype._next=function(e){this.destination.next(e)},Qe.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Qe.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Qe),Je=(Ie(Ke,qe=Xe),Ke);function Ke(e,t,i){var n,r,o=qe.call(this)||this;return Oe(e)?r=e:e&&(r=e.next,t=e.error,i=e.complete,o&&Be?(n=Object.create(e)).unsubscribe=function(){return o.unsubscribe()}:n=e,r=null==r?void 0:r.bind(n),t=null==t?void 0:t.bind(n),i=null==i?void 0:i.bind(n)),o.destination={next:r?et(r):Ve,error:et(null!=t?t:tt),complete:i?et(i):Ve},o}function Qe(e){var t=Ze.call(this)||this;return t.isStopped=!1,e?$e(t.destination=e)&&e.add(t):t.destination=it,t}function et(n){return function(){for(var t,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];try{n.apply(void 0,Pe([],ke(e)))}catch(e){t=e,He(function(){throw t})}}}function tt(e){throw e}var it={closed:!0,next:Ve,error:tt,complete:Ve},nt="function"==typeof Symbol&&Symbol.observable||"@@observable";function rt(e){return e}var ot=(at.prototype.lift=function(e){var t=new at;return t.source=this,t.operator=e,t},at.prototype.subscribe=function(e,t,i){var n,r=this,o=(n=e)&&n instanceof Xe||n&&Oe(n.next)&&Oe(n.error)&&Oe(n.complete)&&$e(n)?e:new Je(e,t,i);return ze(function(){var e=r.operator,t=r.source;o.add(e?e.call(o,t):t?r._subscribe(o):r._trySubscribe(o))}),o},at.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},at.prototype.forEach=function(n,e){var r=this;return new(e=st(e))(function(e,t){var i=r.subscribe(function(e){try{n(e)}catch(e){t(e),null==i||i.unsubscribe()}},t,e)})},at.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},at.prototype[nt]=function(){return this},at.prototype.pipe=function(){for(var t,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return(0===(t=e).length?rt:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},at.prototype.toPromise=function(e){var n=this;return new(e=st(e))(function(e,t){var i;n.subscribe(function(e){return i=e},function(e){return t(e)},function(){return e(i)})})},at.create=function(e){return new at(e)},at);function at(e){e&&(this._subscribe=e)}function st(e){return null!==(e=null!=e?e:je)&&void 0!==e?e:Promise}var lt,ut,ct,dt=Ne(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),mt=(Ie(vt,ct=ot),vt.prototype.lift=function(e){var t=new ht(this,this);return t.operator=e,t},vt.prototype._throwIfClosed=function(){if(this.closed)throw new dt},vt.prototype.next=function(o){var a=this;ze(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){var i=a.observers.slice();try{for(var n=De(i),r=n.next();!r.done;r=n.next())r.value.next(o)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},vt.prototype.error=function(t){var i=this;ze(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=t;for(var e=i.observers;e.length;)e.shift().error(t)}})},vt.prototype.complete=function(){var t=this;ze(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},vt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(vt.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),vt.prototype._trySubscribe=function(e){return this._throwIfClosed(),ct.prototype._trySubscribe.call(this,e)},vt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},vt.prototype._innerSubscribe=function(e){var t=this.hasError,i=this.isStopped,n=this.observers;return t||i?Ue:(n.push(e),new Fe(function(){return Ye(n,e)}))},vt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,i=this.thrownError,n=this.isStopped;t?e.error(i):n&&e.complete()},vt.prototype.asObservable=function(){var e=new ot;return e.source=this,e},vt.create=function(e,t){return new ht(e,t)},vt),ht=(Ie(yt,ut=mt),yt.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)},yt.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)},yt.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)},yt.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:Ue},yt),ft={now:function(){return(ft.delegate||Date).now()},delegate:void 0},pt=(Ie(gt,lt=mt),gt.prototype.next=function(e){var t=this,i=t.isStopped,n=t._buffer,r=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;i||(n.push(e),r||n.push(o.now()+t)),this._trimBuffer(),lt.prototype.next.call(this,e)},gt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),i=this._infiniteTimeWindow,n=this._buffer.slice(),r=0;r<n.length&&!e.closed;r+=i?1:2)e.next(n[r]);return this._checkFinalizedStatuses(e),t},gt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,i=this._buffer,n=this._infiniteTimeWindow,r=(n?1:2)*e;if(e<1/0&&r<i.length&&i.splice(0,i.length-r),!n){for(var o=t.now(),a=0,s=1;s<i.length&&i[s]<=o;s+=2)a=s;a&&i.splice(0,a+1)}},gt);function gt(e,t,i){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===i&&(i=ft);var n=lt.call(this)||this;return n._bufferSize=e,n._windowTime=t,n._timestampProvider=i,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=t===1/0,n._bufferSize=Math.max(1,e),n._windowTime=Math.max(1,t),n}function yt(e,t){var i=ut.call(this)||this;return i.destination=e,i.source=t,i}function vt(){var e=ct.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let wt=[],_t={};const bt=[];function xt(n,r=z){let o;const a=[];function s(e){if(i(n,e)&&(n=e,o)){const e=!bt.length;for(let e=0;e<a.length;e+=1){const t=a[e];t[1](),bt.push(t,n)}if(e){for(let e=0;e<bt.length;e+=2)bt[e][0](bt[e+1]);bt.length=0}}}return{set:s,update:function(e){s(e(n))},subscribe:function(e,t=z){const i=[e,t];return a.push(i),1===a.length&&(o=r(s)||z),e(n),()=>{var e=a.indexOf(i);-1!==e&&a.splice(e,1),0===a.length&&(o(),o=null)}}}}function Tt(e,s,t){const l=!Array.isArray(e),u=l?[e]:e,c=s.length<2;return{subscribe:xt(t,t=>{let i=!1;const n=[];let r=0,o=z;const a=()=>{var e;r||(o(),e=s(l?n[0]:n,t),c?t(e):o=w(e)?e:z)},e=u.map((e,t)=>m(e,e=>{n[t]=e,r&=~(1<<t),i&&a()},()=>{r|=1<<t}));return i=!0,a(),function(){q(e),o()}}).subscribe}}var Et=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===Ct));var t},Ct="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Lt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Dt(Array.isArray(e)?[]:{},e,t):e}function Mt(e,t,i){return e.concat(t).map(function(e){return Lt(e,i)})}function At(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function St(e,t){try{return t in e}catch(e){return!1}}function It(n,r,o){var a={};return o.isMergeableObject(n)&&At(n).forEach(function(e){a[e]=Lt(n[e],o)}),At(r).forEach(function(t){var e,i;(!St(e=n,i=t)||Object.hasOwnProperty.call(e,i)&&Object.propertyIsEnumerable.call(e,i))&&(St(n,t)&&o.isMergeableObject(r[t])?a[t]=function(){if(!o.customMerge)return Dt;var e=o.customMerge(t);return"function"==typeof e?e:Dt}()(n[t],r[t],o):a[t]=Lt(r[t],o))}),a}function Dt(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||Mt,i.isMergeableObject=i.isMergeableObject||Et,i.cloneUnlessOtherwiseSpecified=Lt;var n=Array.isArray(t);return n===Array.isArray(e)?n?i.arrayMerge(e,t,i):It(e,t,i):Lt(t,i)}Dt.all=function(e,i){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return Dt(e,t,i)},{})};var kt=Dt,Pt=function(e,t){return(Pt=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])})(e,t)};function Ot(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}Pt(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var Nt,Rt,Yt,Ft=function(){return(Ft=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function Ut(e,t){for(var i=0,n=t.length,r=e.length;i<n;i++,r++)e[r]=t[i];return e}function Gt(e){return e.type===Rt.literal}function $t(e){return e.type===Rt.number}function Wt(e){return e.type===Rt.date}function jt(e){return e.type===Rt.time}function Bt(e){return e.type===Rt.select}function Ht(e){return e.type===Rt.plural}function Vt(e){return e.type===Rt.tag}function zt(e){return e&&"object"==typeof e&&e.type===Yt.number}function qt(e){return e&&"object"==typeof e&&e.type===Yt.dateTime}(ci=Nt=Nt||{})[ci.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",ci[ci.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",ci[ci.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",ci[ci.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",ci[ci.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",ci[ci.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",ci[ci.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",ci[ci.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",ci[ci.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",ci[ci.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",ci[ci.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",ci[ci.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",ci[ci.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",ci[ci.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",ci[ci.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",ci[ci.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",ci[ci.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",ci[ci.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",ci[ci.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",ci[ci.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",ci[ci.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",ci[ci.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",ci[ci.INVALID_TAG=23]="INVALID_TAG",ci[ci.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",ci[ci.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",ci[ci.UNCLOSED_TAG=27]="UNCLOSED_TAG",(di=Rt=Rt||{})[di.literal=0]="literal",di[di.argument=1]="argument",di[di.number=2]="number",di[di.date=3]="date",di[di.time=4]="time",di[di.select=5]="select",di[di.plural=6]="plural",di[di.pound=7]="pound",di[di.tag=8]="tag",(mi=Yt=Yt||{})[mi.number=0]="number",mi[mi.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Zt=/(?:[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;var Xt,Jt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Kt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Qt=/^(@+)?(\+|#+)?$/g,ei=/(\*)(0+)|(#+)(0+)|(0+)/g,ti=/^(0+)$/;function ii(e){var n={};return e.replace(Qt,function(e,t,i){return"string"!=typeof i?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===i?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof i?i.length:0)),""}),n}function ni(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 ri(e){return ni(e)||{}}function oi(e){for(var a={},t=0,i=e;t<i.length;t++){var n,r=i[t];switch(r.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=r.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=Ft(Ft(Ft({},a),{notation:"scientific"}),r.options.reduce(function(e,t){return Ft(Ft({},e),ri(t))},{}));continue;case"engineering":a=Ft(Ft(Ft({},a),{notation:"engineering"}),r.options.reduce(function(e,t){return Ft(Ft({},e),ri(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(r.options[0]);continue;case"integer-width":if(1<r.options.length)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(ei,function(e,t,i,n,r,o){if(t)a.minimumIntegerDigits=i.length;else{if(n&&r)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ti.test(r.stem))a.minimumIntegerDigits=r.stem.length;else if(Kt.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Kt,function(e,t,i,n,r,o){return"*"===i?a.minimumFractionDigits=t.length:n&&"#"===n[0]?a.maximumFractionDigits=n.length:r&&o?(a.minimumFractionDigits=r.length,a.maximumFractionDigits=r.length+o.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""}),r.options.length&&(a=Ft(Ft({},a),ii(r.options[0])))}else Qt.test(r.stem)?a=Ft(Ft({},a),ii(r.stem)):((n=ni(r.stem))&&(a=Ft(Ft({},a),n)),(n=function(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)),!ti.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem))&&(a=Ft(Ft({},a),n)))}return a}var ai=new RegExp("^"+e.source+"*"),si=new RegExp(e.source+"*$");function li(e,t){return{start:e,end:t}}var ui=!!String.prototype.startsWith,nt=!!String.fromCodePoint,mt=!!Object.fromEntries,ci=!!String.prototype.codePointAt,di=!!String.prototype.trimStart,mi=!!String.prototype.trimEnd,hi=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},e=!0;try{e="a"===(null===(Xt=xi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Xt?void 0:Xt[0])}catch(z){e=!1}var fi,pi,gi=ui?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},yi=nt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,n="",r=e.length,o=0;o<r;){if(1114111<(i=e[o++]))throw RangeError(i+" is not a valid code point");n+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return n},vi=mt?Object.fromEntries:function(e){for(var t={},i=0,n=e;i<n.length;i++){var r=n[i],o=r[0],r=r[1];t[o]=r}return t},wi=ci?function(e,t){return e.codePointAt(t)}:function(e,t){var i=e.length;if(!(t<0||i<=t)){var n,r=e.charCodeAt(t);return r<55296||56319<r||t+1===i||(n=e.charCodeAt(t+1))<56320||57343<n?r:n-56320+(r-55296<<10)+65536}},_i=di?function(e){return e.trimStart()}:function(e){return e.replace(ai,"")},bi=mi?function(e){return e.trimEnd()}:function(e){return e.replace(si,"")};function xi(e,t){return new RegExp(e,t)}pi=e?(fi=xi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return fi.lastIndex=t,null!==(e=fi.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var i,n=[];;){var r=wi(e,t);if(void 0===r||Li(r)||(33<=(i=r)&&i<=35||36===i||37<=i&&i<=39||40===i||41===i||42===i||43===i||44===i||45===i||46<=i&&i<=47||58<=i&&i<=59||60<=i&&i<=62||63<=i&&i<=64||91===i||92===i||93===i||94===i||96===i||123===i||124===i||125===i||126===i||161===i||162<=i&&i<=165||166===i||167===i||169===i||171===i||172===i||174===i||176===i||177===i||182===i||187===i||191===i||215===i||247===i||8208<=i&&i<=8213||8214<=i&&i<=8215||8216===i||8217===i||8218===i||8219<=i&&i<=8220||8221===i||8222===i||8223===i||8224<=i&&i<=8231||8240<=i&&i<=8248||8249===i||8250===i||8251<=i&&i<=8254||8257<=i&&i<=8259||8260===i||8261===i||8262===i||8263<=i&&i<=8273||8274===i||8275===i||8277<=i&&i<=8286||8592<=i&&i<=8596||8597<=i&&i<=8601||8602<=i&&i<=8603||8604<=i&&i<=8607||8608===i||8609<=i&&i<=8610||8611===i||8612<=i&&i<=8613||8614===i||8615<=i&&i<=8621||8622===i||8623<=i&&i<=8653||8654<=i&&i<=8655||8656<=i&&i<=8657||8658===i||8659===i||8660===i||8661<=i&&i<=8691||8692<=i&&i<=8959||8960<=i&&i<=8967||8968===i||8969===i||8970===i||8971===i||8972<=i&&i<=8991||8992<=i&&i<=8993||8994<=i&&i<=9e3||9001===i||9002===i||9003<=i&&i<=9083||9084===i||9085<=i&&i<=9114||9115<=i&&i<=9139||9140<=i&&i<=9179||9180<=i&&i<=9185||9186<=i&&i<=9254||9255<=i&&i<=9279||9280<=i&&i<=9290||9291<=i&&i<=9311||9472<=i&&i<=9654||9655===i||9656<=i&&i<=9664||9665===i||9666<=i&&i<=9719||9720<=i&&i<=9727||9728<=i&&i<=9838||9839===i||9840<=i&&i<=10087||10088===i||10089===i||10090===i||10091===i||10092===i||10093===i||10094===i||10095===i||10096===i||10097===i||10098===i||10099===i||10100===i||10101===i||10132<=i&&i<=10175||10176<=i&&i<=10180||10181===i||10182===i||10183<=i&&i<=10213||10214===i||10215===i||10216===i||10217===i||10218===i||10219===i||10220===i||10221===i||10222===i||10223===i||10224<=i&&i<=10239||10240<=i&&i<=10495||10496<=i&&i<=10626||10627===i||10628===i||10629===i||10630===i||10631===i||10632===i||10633===i||10634===i||10635===i||10636===i||10637===i||10638===i||10639===i||10640===i||10641===i||10642===i||10643===i||10644===i||10645===i||10646===i||10647===i||10648===i||10649<=i&&i<=10711||10712===i||10713===i||10714===i||10715===i||10716<=i&&i<=10747||10748===i||10749===i||10750<=i&&i<=11007||11008<=i&&i<=11055||11056<=i&&i<=11076||11077<=i&&i<=11078||11079<=i&&i<=11084||11085<=i&&i<=11123||11124<=i&&i<=11125||11126<=i&&i<=11157||11158===i||11159<=i&&i<=11263||11776<=i&&i<=11777||11778===i||11779===i||11780===i||11781===i||11782<=i&&i<=11784||11785===i||11786===i||11787===i||11788===i||11789===i||11790<=i&&i<=11798||11799===i||11800<=i&&i<=11801||11802===i||11803===i||11804===i||11805===i||11806<=i&&i<=11807||11808===i||11809===i||11810===i||11811===i||11812===i||11813===i||11814===i||11815===i||11816===i||11817===i||11818<=i&&i<=11822||11823===i||11824<=i&&i<=11833||11834<=i&&i<=11835||11836<=i&&i<=11839||11840===i||11841===i||11842===i||11843<=i&&i<=11855||11856<=i&&i<=11857||11858===i||11859<=i&&i<=11903||12289<=i&&i<=12291||12296===i||12297===i||12298===i||12299===i||12300===i||12301===i||12302===i||12303===i||12304===i||12305===i||12306<=i&&i<=12307||12308===i||12309===i||12310===i||12311===i||12312===i||12313===i||12314===i||12315===i||12316===i||12317===i||12318<=i&&i<=12319||12320===i||12336===i||64830===i||64831===i||65093<=i&&i<=65094))break;n.push(r),t+=65536<=r?2:1}return yi.apply(void 0,n)};var Ti=(Ei.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Ei.prototype.parseMessage=function(e,t,i){for(var n=[];!this.isEOF();){var r,o=this.char();if(123===o){if((r=this.parseArgument(e,i)).err)return r;n.push(r.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(Nt.UNMATCHED_CLOSING_TAG,li(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Ci(this.peek()||0)){if((r=this.parseTag(e,t)).err)return r;n.push(r.val)}else{if((r=this.parseLiteral(e,t)).err)return r;n.push(r.val)}}else{o=this.clonePosition();this.bump(),n.push({type:Rt.pound,location:li(o,this.clonePosition())})}}}return{val:n,err:null}},Ei.prototype.parseTag=function(e,t){var i=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Rt.literal,value:"<"+n+"/>",location:li(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,t,!0);if(r.err)return r;e=r.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ci(this.char()))return this.error(Nt.INVALID_TAG,li(t,this.clonePosition()));r=this.clonePosition();return n!==this.parseTagName()?this.error(Nt.UNMATCHED_CLOSING_TAG,li(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Rt.tag,value:n,children:e,location:li(i,this.clonePosition())},err:null}:this.error(Nt.INVALID_TAG,li(t,this.clonePosition())))}return this.error(Nt.UNCLOSED_TAG,li(i,this.clonePosition()))}return this.error(Nt.INVALID_TAG,li(i,this.clonePosition()))},Ei.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},Ei.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),n="";;){var r=this.tryParseQuote(t);if(r)n+=r;else{r=this.tryParseUnquoted(e,t);if(r)n+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;n+=r}}}i=li(i,this.clonePosition());return{val:{type:Rt.literal,value:n,location:i},err:null}},Ei.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ci(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},Ei.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 yi.apply(void 0,t)},Ei.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&&0<e?null:(this.bump(),yi(i))},Ei.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Nt.EXPECT_ARGUMENT_CLOSING_BRACE,li(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Nt.EMPTY_ARGUMENT,li(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(Nt.MALFORMED_ARGUMENT,li(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Nt.EXPECT_ARGUMENT_CLOSING_BRACE,li(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Rt.argument,value:n,location:li(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Nt.EXPECT_ARGUMENT_CLOSING_BRACE,li(i,this.clonePosition())):this.parseArgumentOptions(e,t,n,i);default:return this.error(Nt.MALFORMED_ARGUMENT,li(i,this.clonePosition()))}},Ei.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=pi(this.message,t),t=t+i.length;return this.bumpTo(t),{value:i,location:li(e,this.clonePosition())}},Ei.prototype.parseArgumentOptions=function(e,t,i,n){var r,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(Nt.EXPECT_ARGUMENT_TYPE,li(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(d=bi(m.val)).length)return this.error(Nt.EXPECT_ARGUMENT_STYLE,li(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:li(u,this.clonePosition())}}if((h=this.tryParseArgumentClose(n)).err)return h;var c=li(n,this.clonePosition());if(l&&gi(null==l?void 0:l.style,"::",0)){u=_i(l.style.slice(2));if("number"===a)return(m=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?m:{val:{type:Rt.number,value:i,location:c,style:m.val},err:null};if(0===u.length)return this.error(Nt.EXPECT_DATE_TIME_SKELETON,c);var d={type:Yt.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},u.replace(Zt,function(e){var t=e.length;switch(e[0]){case"G":r.era=4===t?"long":5===t?"narrow":"short";break;case"y":r.year=2===t?"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":r.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][t-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][t-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][t-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][t-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":r.minute=["numeric","2-digit"][t-1];break;case"s":r.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=t<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""}),r):{}};return{val:{type:"date"===a?Rt.date:Rt.time,value:i,location:c,style:d},err:null}}return{val:{type:"number"===a?Rt.number:"date"===a?Rt.date:Rt.time,value:i,location:c,style:null!==(c=null==l?void 0:l.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Nt.EXPECT_SELECT_ARGUMENT_OPTIONS,li(l,Ft({},l)));this.bumpSpace();var m,c=this.parseIdentifierIfPossible(),l=0;if("select"!==a&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(Nt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,li(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(Nt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Nt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),c=this.parseIdentifierIfPossible(),l=m.val}c=this.tryParsePluralOrSelectOptions(e,a,t,c);if(c.err)return c;if((h=this.tryParseArgumentClose(n)).err)return h;var h=li(n,this.clonePosition());return"select"===a?{val:{type:Rt.select,value:i,options:vi(c.val),location:h},err:null}:{val:{type:Rt.plural,value:i,options:vi(c.val),offset:l,pluralType:"plural"===a?"cardinal":"ordinal",location:h},err:null};default:return this.error(Nt.INVALID_ARGUMENT_TYPE,li(o,s))}},Ei.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Nt.EXPECT_ARGUMENT_CLOSING_BRACE,li(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},Ei.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(Nt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,li(i,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},Ei.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,n=e.split(Jt).filter(function(e){return 0<e.length});i<n.length;i++){var r=n[i].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var o=r[0],r=r.slice(1),a=0,s=r;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:r})}return t}(e)}catch(e){return this.error(Nt.INVALID_NUMBER_SKELETON,t)}return{val:{type:Yt.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?oi(i):{}},err:null}},Ei.prototype.tryParsePluralOrSelectOptions=function(e,t,i,n){for(var r=!1,o=[],a=new Set,s=n.value,l=n.location;;){if(0===s.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(Nt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Nt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=li(u,this.clonePosition()),s=this.message.slice(u.offset,this.offset())}if(a.has(s))return this.error("select"===t?Nt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Nt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(r=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Nt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Nt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,li(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,i);if(c.err)return c;u=this.tryParseArgumentClose(d);if(u.err)return u;o.push([s,{value:c.val,location:li(d,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===o.length?this.error("select"===t?Nt.EXPECT_SELECT_ARGUMENT_SELECTOR:Nt.EXPECT_PLURAL_ARGUMENT_SELECTOR,li(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(Nt.MISSING_OTHER_CLAUSE,li(this.clonePosition(),this.clonePosition())):{val:o,err:null}},Ei.prototype.tryParseDecimalInteger=function(e,t){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var r=!1,o=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;r=!0,o=10*o+(a-48),this.bump()}n=li(n,this.clonePosition());return r?hi(o*=i)?{val:o,err:null}:this.error(t,n):this.error(e,n)},Ei.prototype.offset=function(){return this.position.offset},Ei.prototype.isEOF=function(){return this.offset()===this.message.length},Ei.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Ei.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=wi(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},Ei.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},Ei.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},Ei.prototype.bumpIf=function(e){if(gi(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},Ei.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},Ei.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},Ei.prototype.bumpSpace=function(){for(;!this.isEOF()&&Li(this.char());)this.bump()},Ei.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},Ei);function Ei(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Ci(e){return 97<=e&&e<=122||65<=e&&e<=90}function Li(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Mi(e,t){t=Ft({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var i=new Ti(e,t).parse();if(i.err){e=SyntaxError(Nt[i.err.kind]);throw e.location=i.err.location,e.originalMessage=i.err.message,e}return null!=t&&t.captureLocation||function i(e){e.forEach(function(e){if(delete e.location,Bt(e)||Ht(e))for(var t in e.options)delete e.options[t].location,i(e.options[t].value);else $t(e)&&zt(e.style)||(Wt(e)||jt(e))&&qt(e.style)?delete e.style.location:Vt(e)&&i(e.children)})}(i.val),i.val}function Ai(e,t){var i=t&&t.cache?t.cache:Ri,n=t&&t.serializer?t.serializer:Pi;return(t&&t.strategy?t.strategy:function(e,t){return ki(e,this,1===e.length?Si:Di,t.cache.create(),t.serializer)})(e,{cache:i,serializer:n})}function Si(e,t,i,n){var r=null==n||"number"==typeof n||"boolean"==typeof n?n:i(n),i=t.get(r);return void 0===i&&(i=e.call(this,n),t.set(r,i)),i}function Di(e,t,i){var n=Array.prototype.slice.call(arguments,3),r=i(n),i=t.get(r);return void 0===i&&(i=e.apply(this,n),t.set(r,i)),i}function ki(e,t,i,n,r){return i.bind(t,e,n,r)}var Pi=function(){return JSON.stringify(arguments)};function Oi(){this.cache=Object.create(null)}Oi.prototype.has=function(e){return e in this.cache},Oi.prototype.get=function(e){return this.cache[e]},Oi.prototype.set=function(e,t){this.cache[e]=t};var Ni,Ri={create:function(){return new Oi}},Yi={variadic:function(e,t){return ki(e,this,Di,t.cache.create(),t.serializer)},monadic:function(e,t){return ki(e,this,Si,t.cache.create(),t.serializer)}};(e=Ni=Ni||{}).MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API";var Fi,Ui,Gi,$i,Wi,ji=(Ot(Xi,Wi=Error),Xi.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Xi),Bi=(Ot(Zi,$i=ji),Zi),Hi=(Ot(qi,Gi=ji),qi),Vi=(Ot(zi,Ui=ji),zi);function zi(e,t){return Ui.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',Ni.MISSING_VALUE,t)||this}function qi(e,t,i){return Gi.call(this,'Value for "'+e+'" must be of type '+t,Ni.INVALID_VALUE,i)||this}function Zi(e,t,i,n){return $i.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(i).join('", "')+'"',Ni.INVALID_VALUE,n)||this}function Xi(e,t,i){e=Wi.call(this,e)||this;return e.code=t,e.originalMessage=i,e}function Ji(e,t,i,n,r,o,a){if(1===e.length&&Gt(e[0]))return[{type:Fi.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var c=u[l];if(Gt(c))s.push({type:Fi.literal,value:c.value});else if(c.type===Rt.pound)"number"==typeof o&&s.push({type:Fi.literal,value:i.getNumberFormat(t).format(o)});else{var d=c.value;if(!(r&&d in r))throw new Vi(d,a);var m=r[d];if(c.type===Rt.argument)m&&"string"!=typeof m&&"number"!=typeof m||(m="string"==typeof m||"number"==typeof m?String(m):""),s.push({type:"string"==typeof m?Fi.literal:Fi.object,value:m});else if(Wt(c)){var h="string"==typeof c.style?n.date[c.style]:qt(c.style)?c.style.parsedOptions:void 0;s.push({type:Fi.literal,value:i.getDateTimeFormat(t,h).format(m)})}else if(jt(c))h="string"==typeof c.style?n.time[c.style]:qt(c.style)?c.style.parsedOptions:void 0,s.push({type:Fi.literal,value:i.getDateTimeFormat(t,h).format(m)});else if($t(c))(h="string"==typeof c.style?n.number[c.style]:zt(c.style)?c.style.parsedOptions:void 0)&&h.scale&&(m*=h.scale||1),s.push({type:Fi.literal,value:i.getNumberFormat(t,h).format(m)});else{if(Vt(c)){var f=c.children,p=c.value,d=r[p];if("function"!=typeof d)throw new Hi(p,"function",a);f=d(Ji(f,t,i,n,r,o).map(function(e){return e.value}));Array.isArray(f)||(f=[f]),s.push.apply(s,f.map(function(e){return{type:"string"==typeof e?Fi.literal:Fi.object,value:e}}))}if(Bt(c)){if(!(g=c.options[m]||c.options.other))throw new Bi(c.value,m,Object.keys(c.options),a);s.push.apply(s,Ji(g.value,t,i,n,r))}else if(Ht(c)){if(!(g=c.options["="+m])){if(!Intl.PluralRules)throw new ji('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ni.MISSING_INTL_API,a);var f=i.getPluralRules(t,{type:c.pluralType}).select(m-(c.offset||0)),g=c.options[f]||c.options.other}if(!g)throw new Bi(c.value,m,Object.keys(c.options),a);s.push.apply(s,Ji(g.value,t,i,n,r,m-(c.offset||0)))}}}}return s.length<2?s:s.reduce(function(e,t){var i=e[e.length-1];return i&&i.type===Fi.literal&&t.type===Fi.literal?i.value+=t.value:e.push(t),e},[])}function Ki(i){return{create:function(){return{has:function(e){return e in i},get:function(e){return i[e]},set:function(e,t){i[e]=t}}}}}(e=Fi=Fi||{})[e.literal=0]="literal",e[e.object=1]="object";var Qi=(Object.defineProperty(en,"defaultLocale",{get:function(){return en.memoizedDefaultLocale||(en.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),en.memoizedDefaultLocale},enumerable:!1,configurable:!0}),en.memoizedDefaultLocale=null,en.__parse=Mi,en.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"}}},en);function en(e,t,i,n){var r,o,a=this;if(void 0===t&&(t=en.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=a.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===Fi.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Ji(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof e){if(this.message=e,!en.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=en.__parse(e,{ignoreTag:null==n?void 0:n.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(r=en.formats,(o=i)?Object.keys(r).reduce(function(e,t){var i,n;return e[t]=(i=r[t],(n=o[t])?Ft(Ft(Ft({},i||{}),n||{}),Object.keys(i).reduce(function(e,t){return e[t]=Ft(Ft({},i[t]),n[t]||{}),e},{})):i),e},Ft({},r)):r),this.locales=t,this.formatters=n&&n.formatters||{getNumberFormat:Ai(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,Ut([void 0],t)))},{cache:Ki((n=void 0===(n=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:n).number),strategy:Yi.variadic}),getDateTimeFormat:Ai(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,Ut([void 0],t)))},{cache:Ki(n.dateTime),strategy:Yi.variadic}),getPluralRules:Ai(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,Ut([void 0],t)))},{cache:Ki(n.pluralRules),strategy:Yi.variadic})}}const tn={},nn=(t,i)=>{if(null!=i){if(i in tn&&t in tn[i])return tn[i][t];var n,r,o=wn(i);for(let e=0;e<o.length;e++){var a=(n=o[e],r=t,an(n)?function(e,t){if(t in e)return e[t];const i=t.split(".");let n=e;for(let e=0;e<i.length;e++)if("object"==typeof n){if(0<e){const t=i.slice(e,i.length).join(".");if(t in n){n=n[t];break}}n=n[i[e]]}else n=void 0;return n}(function(e){return rn[e]||null}(n),r):null);if(a)return n=t,r=i,(a=a)&&(r in tn||(tn[r]={}),n in tn[r]||(tn[r][n]=a),a)}}};let rn;const on=xt({});function an(e){return e in rn}function sn(t,...i){delete tn[t],on.update(e=>(e[t]=kt.all([e[t]||{},...i]),e))}Tt([on],([e])=>Object.keys(e)),on.subscribe(e=>rn=e);const ln={};function un(e){return ln[e]}function cn(e){return wn(e).some(e=>{return null===(e=un(e))||void 0===e?void 0:e.size})}const dn={};function mn(e){if(!cn(e))return e in dn?dn[e]:void 0;const t=wn(e).map(e=>{var t=un(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return dn[e]=Promise.all(t.map(([e,i])=>function(t){return Promise.all(i.map(e=>(function(e,t){ln[e].delete(t),0===ln[e].size&&delete ln[e]}(t,e),e().then(e=>e.default||e)))).then(e=>sn(t,...e))}(e))).then(()=>cn(e)?mn(e):void delete dn[e]),dn[e]}function hn(e,t){var i={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(i[r[n]]=e[r[n]]);return i}const fn={fallbackLocale:null,initialLocale: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,ignoreTag:!0};const pn=xt(!1);let gn;const yn=xt(null);function vn(e){return e.split("-").map((e,t,i)=>i.slice(0,t+1).join("-")).reverse()}function wn(e,t=fn.fallbackLocale){e=vn(e);return t?[...new Set([...e,...vn(t)])]:e}yn.subscribe(e=>{gn=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const _n=yn.set;yn.set=t=>{if(function(e){if(null!=e){var t=wn(e);for(let e=0;e<t.length;e++){var i=t[e];if(an(i))return i}}}(t)&&cn(t)){var{loadingDelay:i}=fn;let e;return"undefined"!=typeof window&&null!=gn&&i?e=window.setTimeout(()=>pn.set(!0),i):pn.set(!0),mn(t).then(()=>{_n(t)}).finally(()=>{clearTimeout(e),pn.set(!1)})}return _n(t)},yn.update=e=>_n(e(gn));const bn=i=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=i(e)}},xn=(e,t)=>{var{formats:i}=fn;if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Tn=bn(e=>{var{locale:t,format:i}=e,e=hn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(e=xn("number",i)),new Intl.NumberFormat(t,e)}),En=bn(e=>{var{locale:t,format:i}=e,e=hn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?e=xn("date",i):0===Object.keys(e).length&&(e=xn("date","short")),new Intl.DateTimeFormat(t,e)}),Cn=bn(e=>{var{locale:t,format:i}=e,e=hn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?e=xn("time",i):0===Object.keys(e).length&&(e=xn("time","short")),new Intl.DateTimeFormat(t,e)}),Ln=bn((e,t=gn)=>new Qi(e,t,fn.formats,{ignoreTag:fn.ignoreTag})),Mn=Tt([yn,on],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:i,locale:n=gn,default:r}=t;if(null==n)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let o=nn(e,n);if(o){if("string"!=typeof o)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof o}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),o}else fn.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${wn(n).join('", "')}".${cn(gn)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),o=r||e;if(!i)return o;let a=o;try{a=Ln(o,n).format(i)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return a});Tt([yn],()=>(e,t)=>((e={})=>{var{locale:t=gn}=e,e=hn(e,["locale"]);return Cn(Object.assign({locale:t},e))})(t).format(e)),Tt([yn],()=>(e,t)=>((e={})=>{var{locale:t=gn}=e,e=hn(e,["locale"]);return En(Object.assign({locale:t},e))})(t).format(e)),Tt([yn],()=>(e,t)=>((e={})=>{var{locale:t=gn}=e,e=hn(e,["locale"]);return Tn(Object.assign({locale:t},e))})(t).format(e)),Tt([yn,on],()=>(e,t=gn)=>nn(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==wt.indexOf(e)&&(t=new pt(t),_t[e]=t,wt.push(e)),_t[e]}};const An=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",Sn={en:{gamingLimits:{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"}},ro:{gamingLimits:{returnToMenu:"Înapoi la meniu",gamingLimitsText:"Limite de joc",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limită de pierdere"}},es:{gamingLimits:{returnToMenu:"Regresar al Menú",gamingLimitsText:"Límites del juego",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida"}},pt:{gamingLimits:{returnToMenu:"Voltar ao Menu",gamingLimitsText:"Limites de jogos",depositLimit:"Limite de Depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de apostas",lossLimit:"Limite de Perda"}}},In={en:{cardText:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"}},ro:{cardText:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare:",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",removeLimitText:"Ești sigur că vrei să elimini această limită?",removeLimitsText:"Ești sigur că vrei să elimini toate limitele?",minutes:"minute",noLimit:"Fără Limită",expirationDate:"Dată Expirare",notAvailable:"N/A",edit:"Editează",removeLimits:"Elimină limitele",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",timeLimitLower:"limită de timp",depositLimitLower:"limită de depunere",wageringLimitLower:"limită de pariere",lossLimitLower:"limită de pierdere",time:"timp",currency:"monedă"}},es:{cardText:{name:"Información",amountChanged:"Su límite ha cambiado o aumentado: {cantidad} {moneda}. Tendrás que esperar a la fecha de vencimiento para que tu nuevo límite entre en vigencia:",daily:"Diario",weekly:"Semanalmente",monthly:"Mensual",removeLimitText:"Está seguro de que desea eliminar {limit}?",removeLimitsText:"Está seguro de que desea eliminar todos los {limit}?",minutes:"Minutos",noLimit:"Sin limite",expirationDate:"Fecha de validez",notAvailable:"No disponible",edit:"Editar",removeLimits:"Eliminar límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuesta",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de apuestas",lossLimitLower:"Límite de pérdida",time:"Tiempo",currency:"Moneda"}},pt:{cardText:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",removeLimitText:"Tem certeza de que deseja remover o {limite}??",removeLimitsText:"Tem certeza de que deseja remover todos os {limite}s??",minutes:"Minutos",noLimit:"Sem limite",expirationDate:"Data de Validade",notAvailable:"Não Disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",timeLimitLower:"Limite de tempo",depositLimitLower:"limite de depósito",wageringLimitLower:"limite de apostas",lossLimitLower:"limite de perda",time:"Tempo",currency:"Moeda"}}},Dn={en:{popupText:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",defaultText:"Nulla ornare pulvinar dui. Nullam viverra, lacus vel consectetur euismod, ante lorem aliquam nisi, non faucibus nulla lacus sed sapien. Sed imperdiet tristique tincidunt."}},ro:{popupText:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare.",defaultText:"Când stabilești o limită de joc, efectele se produc începând din momentul în care o activezi și durează până la finalul perioadei selectate. Așadar, dacă stabilești o limită zilnică la 14:00, perioada de 24 de ore este de la activare până la 00:00 GMT. Ulterior, limita va fi valabilă la fiecare 24 de ore. Poți micșora limita oricând, cu efect imediat. Totuși, majorarea sau eliminarea unei limite va fi aplicată în momentul în care limita curentă expiră. "}},es:{popupText:{name:"Información",amountChanged:"Su límite ha cambiado o aumentado: {cantidad} {moneda}. Tendrás que esperar a la fecha de vencimiento para que tu nuevo límite entre en vigencia:",defaultText:"Cuando establece un límite de juego, entra en vigencia desde el momento en que lo activa y dura hasta el final del período seleccionado. Por tanto, si estableces un límite diario a las 14:00, el periodo de 24 horas que cuenta es desde su activación hasta las 00:00 GMT. Entonces el límite es válido cada 24 horas. Puede reducir un límite en cualquier momento con efecto inmediato. Sin embargo, el aumento o la eliminación de un límite solo se aplicará cuando expire el límite actual."}},pt:{popupText:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",defaultText:"Quando você define um limite de jogo, ele entra em vigor a partir do momento em que você o ativa e dura até o final do período selecionado. Portanto, se você definir um limite diário às 14h00, o período de 24 horas que conta é desde sua ativação até às 00h00 GMT. Então o limite é válido a cada 24 horas. Você pode diminuir um limite a qualquer momento com efeito imediato. No entanto, aumentar ou remover um limite será aplicado somente quando o limite atual expirar."}}};function kn(i){let n,r,o,a,s,l,u,c,d,m,h,f,p,g,y,v=i[3]("popupText.name")+"";function w(e){return e[0]?On:Pn}let _=w(i),b=_(i);return{c(){n=K("section"),r=K("div"),o=K("div"),a=K("div"),a.textContent="i",s=ee(),l=K("div"),u=Q(v),c=ee(),d=K("div"),d.innerHTML='<svg class="w-6 h-6" part="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',m=ee(),h=K("div"),b.c(),ne(a,"class","InfoCardPopupIcon"),ne(a,"part","InfoCardPopupIcon"),ne(l,"class","InfoCardPopupTitle"),ne(l,"part","InfoCardPopupTitle"),ne(d,"class","InfoCardPopupCloseButton"),ne(d,"part","InfoCardPopupCloseButton"),ne(o,"class","InfoCardPopupHeader"),ne(o,"part","InfoCardPopupHeader"),ne(h,"class","InfoCardPopupContentArea"),ne(h,"part","InfoCardPopupContentArea"),ne(r,"class",f="InfoCardPopupWrapper "+(i[4]?"InfoCardPopupMobileWrapper":"")+" "+(i[0]?"InfoCardPopupLimitChanged":"")),ne(r,"part",p="InfoCardPopupWrapper "+(i[4]?"InfoCardPopupMobileWrapper":"")+" "+(i[0]?"InfoCardPopupLimitChanged":"")),ne(n,"class",i[4]?"InfoCardPopupMobileModal":""),ne(n,"part",i[4]?"InfoCardPopupMobileModal":"")},m(e,t){X(e,n,t),Z(n,r),Z(r,o),Z(o,a),Z(o,s),Z(o,l),Z(l,u),Z(o,c),Z(o,d),Z(r,m),Z(r,h),b.m(h,null),g||(y=te(d,"click",ie(i[5])),g=!0)},p(e,t){8&t&&v!==(v=e[3]("popupText.name")+"")&&oe(u,v),_===(_=w(e))&&b?b.p(e,t):(b.d(1),b=_(e),b&&(b.c(),b.m(h,null))),1&t&&f!==(f="InfoCardPopupWrapper "+(e[4]?"InfoCardPopupMobileWrapper":"")+" "+(e[0]?"InfoCardPopupLimitChanged":""))&&ne(r,"class",f),1&t&&p!==(p="InfoCardPopupWrapper "+(e[4]?"InfoCardPopupMobileWrapper":"")+" "+(e[0]?"InfoCardPopupLimitChanged":""))&&ne(r,"part",p)},d(e){e&&J(n),b.d(),g=!1,y()}}}function Pn(e){let i,n,r=e[3]("popupText.defaultText")+"";return{c(){i=K("p"),n=Q(r),ne(i,"class","InfoCardPopupContent"),ne(i,"part","InfoCardPopupContent")},m(e,t){X(e,i,t),Z(i,n)},p(e,t){8&t&&r!==(r=e[3]("popupText.defaultText")+"")&&oe(n,r)},d(e){e&&J(i)}}}function On(e){let i,n,r=e[3]("popupText.amountChanged",{values:{amount:e[0],currency:e[1]}})+"";return{c(){i=K("p"),n=Q(r),ne(i,"class","InfoCardPopupContent"),ne(i,"part","InfoCardPopupContent")},m(e,t){X(e,i,t),Z(i,n)},p(e,t){11&t&&r!==(r=e[3]("popupText.amountChanged",{values:{amount:e[0],currency:e[1]}})+"")&&oe(n,r)},d(e){e&&J(i)}}}function Nn(e){let i,n=e[2]&&kn(e);return{c(){n&&n.c(),i=x(),this.c=z},m(e,t){n&&n.m(e,t),X(e,i,t)},p(e,[t]){e[2]?n?n.p(e,t):(n=kn(e),n.c(),n.m(i.parentNode,i)):n&&(n.d(1),n=null)},i:z,o:z,d(e){n&&n.d(e),e&&J(i)}}}function Rn(t,e,i){let n;N(t,Mn,e=>i(3,n=e));let{showpopup:r=""}=e,{iteminfoamount:o=""}=e,{lang:a="en"}=e,{playercurrency:s="USD"}=e;Object.keys(Dn).forEach(e=>{sn(e,Dn[e])});let l=!1,u=window.navigator.userAgent,c="PC"!==An(u);const d=e=>{e.data&&"ClosePlayerAccountGamingLimitsPopup"==e.data.type&&i(2,l=!1)};return Y(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)})),t.$$set=e=>{"showpopup"in e&&i(6,r=e.showpopup),"iteminfoamount"in e&&i(0,o=e.iteminfoamount),"lang"in e&&i(7,a=e.lang),"playercurrency"in e&&i(1,s=e.playercurrency)},t.$$.update=()=>{var e;192&t.$$.dirty&&r&&a&&(e=a,yn.set(e),o<0&&i(0,o="0"),i(2,l=r))},[o,s,l,n,c,()=>{i(2,l=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},r,a]}customElements.get("player-account-gaming-limits-popup")||customElements.define("player-account-gaming-limits-popup",class extends H{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:''}.InfoCardPopupLimitChanged{background:var(--emfe-w-color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emfe-w-color-black, #000000);background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 4px 12px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:\"\";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emfe-w-color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:102}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emfe-w-color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emfe-w-color-secondary, #FD2839);fill:var(--emfe-w-color-secondary, #FD2839)}</style>",B(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Rn,Nn,i,{showpopup:6,iteminfoamount:0,lang:7,playercurrency:1}),e&&(e.target&&X(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["showpopup","iteminfoamount","lang","playercurrency"]}get showpopup(){return this.$$.ctx[6]}set showpopup(e){this.$set({showpopup:e}),k()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(e){this.$set({iteminfoamount:e}),k()}get lang(){return this.$$.ctx[7]}set lang(e){this.$set({lang:e}),k()}get playercurrency(){return this.$$.ctx[1]}set playercurrency(e){this.$set({playercurrency:e}),k()}});const Yn={en:{editText:{back:"Back to Gaming Limits",limit:"Limit",amount:"Amount",noLimit:"No limit",changeLimitsText:"Are you sure you want to change the {limit}s?",success:"Success lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"You have requested to remove this limit. This will be applied on ",invalidInputMessageLimit:"The amount needs to be between 0 and 99,999,999.",invalidInputMessageTime:"The time amount needs to be greater than {minTime} and below {maxTime} minutes.",expirationDate:"Expiration Date:",save:"Save",changedLimitTextBefore:"Your limit has been changed or increased:",changedLimitTextAfter:"You will have to wait for the expiration date for your new limit \vto take effect"}},ro:{editText:{back:"Înapoi la limite de joc",limit:"Limită",amount:"Sumă",noLimit:"Fără Limită",changeLimitsText:"Ești sigur că vrei să modifici {limit}?",success:"Limitele tale de joc au fost configurate cu success.",remove:"Ai solicitat eliminarea acestei limite. Acest lucru va avea loc la data expirării limitei ",invalidInputMessageLimit:"Trebuie să setezi o sumă intre 0 și 99,999,999.",invalidInputMessageTime:"Trebuie să setezi o limită intre {minTime} minute și {maxTime} minute",expirationDate:"Dată Expirare:",save:"Salvează",changedLimitTextBefore:"Limita ta a fost schimbată sau a crescut:",changedLimitTextAfter:". Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare."}},es:{editText:{back:"Volver a Límites del juego",limit:"Límite",amount:"Cantidad",noLimit:"Sin limite",changeLimitsText:"Estás seguro de que quieres cambiar los {limit}s?",success:"Sus límites de juego se han establecido correctamente.",remove:"Solicitaste la eliminación de este límite. Esto se aplicará en",invalidInputMessageLimit:"El valor debe estar entre 0 y 99.999.999",invalidInputMessageTime:"La cantidad de tiempo debe ser mayor que {1} y menor que {99999999} minutos",expirationDate:"Fecha de validez",save:"Guardar",changedLimitTextBefore:"Su límite ha sido modificado o aumentado:",changedLimitTextAfter:"Tendrás que esperar a la fecha de vencimiento para que tu nuevo límite entre en vigencia."}},pt:{editText:{back:"Voltar para Limites de jogos",limit:"Limite",amount:"Montante",noLimit:"Sem limite",changeLimitsText:"Tem certeza de que deseja alterar os {limite}s?",success:"Seus limites de jogo foram definidos com sucesso.",remove:"Você solicitou a remoção deste limite. Isso será aplicado em",invalidInputMessageLimit:"O valor precisa estar entre 0 e 99.999.999",invalidInputMessageTime:"A quantidade de tempo precisa ser maior que {1} e menor que {99999999} minutos",expirationDate:"Data de Validade",save:"Guardar",changedLimitTextBefore:"Seu limite foi alterado ou aumentado:",changedLimitTextAfter:"Você terá que aguardar a data de expiração para que seu novo limite entre em vigor"}}};var Fn,Un,Gn=(Un=Fn={path:void 0,exports:{},require:function(e,t){return Ii(null==t&&Fn.path)}},Fn.exports,Un.exports=function(){var e;function f(){return e.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function h(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(h(e,t))return;return 1}function o(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function r(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function n(e,t){for(var i=[],n=0;n<e.length;++n)i.push(t(e[n],n));return i}function c(e,t){for(var i in t)h(t,i)&&(e[i]=t[i]);return h(t,"toString")&&(e.toString=t.toString),h(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,i,n){return St(e,t,i,n,!0).utc()}function p(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function m(e){if(null==e._isValid){var t=p(e),i=y.call(t.parsedDateParts,function(e){return null!=e}),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&i);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function g(e){var t=d(NaN);return null!=e?c(p(t),e):p(t).userInvalidated=!0,t}var y=Array.prototype.some||function(e){for(var t=Object(this),i=t.length>>>0,n=0;n<i;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1},v=f.momentProperties=[],t=!1;function w(e,t){var i,n,r;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=p(t)),o(t._locale)||(e._locale=t._locale),0<v.length)for(i=0;i<v.length;i++)o(r=t[n=v[i]])||(e[n]=r);return e}function _(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,f.updateOffset(this),t=!1)}function b(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function x(e){!1===f.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function i(r,o){var a=!0;return c(function(){if(null!=f.deprecationHandler&&f.deprecationHandler(null,r),a){for(var e,t,i=[],n=0;n<arguments.length;n++){if(e="","object"==typeof arguments[n]){for(t in e+="\n["+n+"] ",arguments[0])h(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[n];i.push(e)}x(r+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),a=!1}return o.apply(this,arguments)},o)}var T={};function E(e,t){null!=f.deprecationHandler&&f.deprecationHandler(e,t),T[e]||(x(t),T[e]=!0)}function C(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function L(e,t){var i,n=c({},e);for(i in t)h(t,i)&&(s(e[i])&&s(t[i])?(n[i]={},c(n[i],e[i]),c(n[i],t[i])):null!=t[i]?n[i]=t[i]:delete n[i]);for(i in e)h(e,i)&&!h(t,i)&&s(e[i])&&(n[i]=c({},n[i]));return n}function M(e){null!=e&&this.set(e)}f.suppressDeprecationWarnings=!1,f.deprecationHandler=null;var A=Object.keys||function(e){var t,i=[];for(t in e)h(e,t)&&i.push(t);return i};function S(e,t,i){var n=""+Math.abs(e);return(0<=e?i?"+":"":"-")+Math.pow(10,Math.max(0,t-n.length)).toString().substr(1)+n}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,D=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,k={},P={};function O(e,t,i,n){var r="string"==typeof n?function(){return this[n]()}:n;e&&(P[e]=r),t&&(P[t[0]]=function(){return S(r.apply(this,arguments),t[1],t[2])}),i&&(P[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function N(e,t){return e.isValid()?(t=R(t,e.localeData()),k[t]=k[t]||function(n){for(var e,r=n.match(I),t=0,o=r.length;t<o;t++)P[r[t]]?r[t]=P[r[t]]:r[t]=(e=r[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",i=0;i<o;i++)t+=C(r[i])?r[i].call(e,n):r[i];return t}}(t),k[t](e)):e.localeData().invalidDate()}function R(e,t){var i=5;function n(e){return t.longDateFormat(e)||e}for(D.lastIndex=0;0<=i&&D.test(e);)e=e.replace(D,n),D.lastIndex=0,--i;return e}var Y={};function F(e,t){var i=e.toLowerCase();Y[i]=Y[i+"s"]=Y[t]=e}function U(e){return"string"==typeof e?Y[e]||Y[e.toLowerCase()]:void 0}function G(e){var t,i,n={};for(i in e)h(e,i)&&(t=U(i))&&(n[t]=e[i]);return n}var $={};function W(e,t){$[e]=t}function j(e){return e%4==0&&e%100!=0||e%400==0}function B(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function H(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?B(t):e}function V(t,i){return function(e){return null!=e?(q(this,t,e),f.updateOffset(this,i),this):z(this,t)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function q(e,t,i){e.isValid()&&!isNaN(i)&&("FullYear"===t&&j(e.year())&&1===e.month()&&29===e.date()?(i=H(i),e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),Ae(i,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](i))}var Z=/\d/,X=/\d\d/,J=/\d{3}/,K=/\d{4}/,Q=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ie=/\d\d\d\d\d\d?/,ne=/\d{1,3}/,re=/\d{1,4}/,oe=/[+-]?\d{1,6}/,ae=/\d+/,se=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ue=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function de(e,i,n){fe[e]=C(i)?i:function(e,t){return e&&n?n:i}}function me(e,t){return h(fe,e)?fe[e](t._strict,t._locale):new RegExp(he(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,i,n,r){return t||i||n||r})))}function he(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={},pe={};function ge(e,i){var t,n=i;for("string"==typeof e&&(e=[e]),u(i)&&(n=function(e,t){t[i]=H(e)}),t=0;t<e.length;t++)pe[e[t]]=n}function ye(e,r){ge(e,function(e,t,i,n){i._w=i._w||{},r(e,i._w,i,n)})}var ve,we=0,_e=1,be=2,xe=3,Te=4,Ee=5,Ce=6,Le=7,Me=8;function Ae(e,t){if(isNaN(e)||isNaN(t))return NaN;var i,i=(t%(i=12)+i)%i;return e+=(t-i)/12,1==i?j(e)?29:28:31-i%7%2}ve=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},O("M",["MM",2],"Mo",function(){return this.month()+1}),O("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),O("MMMM",0,0,function(e){return this.localeData().months(this,e)}),F("month","M"),W("month",8),de("M",ee),de("MM",ee,X),de("MMM",function(e,t){return t.monthsShortRegex(e)}),de("MMMM",function(e,t){return t.monthsRegex(e)}),ge(["M","MM"],function(e,t){t[_e]=H(e)-1}),ge(["MMM","MMMM"],function(e,t,i,n){n=i._locale.monthsParse(e,n,i._strict);null!=n?t[_e]=n:p(i).invalidMonth=e});var Se="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ie="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),De=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ke=ce,Pe=ce;function Oe(e,t){var i;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=H(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return i=Math.min(e.date(),Ae(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,i),e}function Ne(e){return null!=e?(Oe(this,e),f.updateOffset(this,!0),this):z(this,"Month")}function Re(){function e(e,t){return t.length-e.length}for(var t,i=[],n=[],r=[],o=0;o<12;o++)t=d([2e3,o]),i.push(this.monthsShort(t,"")),n.push(this.months(t,"")),r.push(this.months(t,"")),r.push(this.monthsShort(t,""));for(i.sort(e),n.sort(e),r.sort(e),o=0;o<12;o++)i[o]=he(i[o]),n[o]=he(n[o]);for(o=0;o<24;o++)r[o]=he(r[o]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Ye(e){return j(e)?366:365}O("Y",0,0,function(){var e=this.year();return e<=9999?S(e,4):"+"+e}),O(0,["YY",2],0,function(){return this.year()%100}),O(0,["YYYY",4],0,"year"),O(0,["YYYYY",5],0,"year"),O(0,["YYYYYY",6,!0],0,"year"),F("year","y"),W("year",1),de("Y",se),de("YY",ee,X),de("YYYY",re,K),de("YYYYY",oe,Q),de("YYYYYY",oe,Q),ge(["YYYYY","YYYYYY"],we),ge("YYYY",function(e,t){t[we]=2===e.length?f.parseTwoDigitYear(e):H(e)}),ge("YY",function(e,t){t[we]=f.parseTwoDigitYear(e)}),ge("Y",function(e,t){t[we]=parseInt(e,10)}),f.parseTwoDigitYear=function(e){return H(e)+(68<H(e)?1900:2e3)};var Fe=V("FullYear",!0);function Ue(e,t,i,n,r,o,a){var s;return e<100&&0<=e?(s=new Date(e+400,t,i,n,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,i,n,r,o,a),s}function Ge(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function $e(e,t,i){i=7+t-i;return-(7+Ge(e,0,i).getUTCDay()-t)%7+i-1}function We(e,t,i,n,r){var o,r=1+7*(t-1)+(7+i-n)%7+$e(e,n,r),r=r<=0?Ye(o=e-1)+r:r>Ye(e)?(o=e+1,r-Ye(e)):(o=e,r);return{year:o,dayOfYear:r}}function je(e,t,i){var n,r,o=$e(e.year(),t,i),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?n=o+Be(r=e.year()-1,t,i):o>Be(e.year(),t,i)?(n=o-Be(e.year(),t,i),r=e.year()+1):(r=e.year(),n=o),{week:n,year:r}}function Be(e,t,i){var n=$e(e,t,i),i=$e(e+1,t,i);return(Ye(e)-n+i)/7}O("w",["ww",2],"wo","week"),O("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),W("week",5),W("isoWeek",5),de("w",ee),de("ww",ee,X),de("W",ee),de("WW",ee,X),ye(["w","ww","W","WW"],function(e,t,i,n){t[n.substr(0,1)]=H(e)});function He(e,t){return e.slice(t,7).concat(e.slice(0,t))}O("d",0,"do","day"),O("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),O("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),O("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),O("e",0,0,"weekday"),O("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),de("d",ee),de("e",ee),de("E",ee),de("dd",function(e,t){return t.weekdaysMinRegex(e)}),de("ddd",function(e,t){return t.weekdaysShortRegex(e)}),de("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["dd","ddd","dddd"],function(e,t,i,n){n=i._locale.weekdaysParse(e,n,i._strict);null!=n?t.d=n:p(i).invalidWeekday=e}),ye(["d","e","E"],function(e,t,i,n){t[n]=H(e)});var Ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ze=ce,Xe=ce,Je=ce;function Ke(){function e(e,t){return t.length-e.length}for(var t,i,n,r=[],o=[],a=[],s=[],l=0;l<7;l++)n=d([2e3,1]).day(l),t=he(this.weekdaysMin(n,"")),i=he(this.weekdaysShort(n,"")),n=he(this.weekdays(n,"")),r.push(t),o.push(i),a.push(n),s.push(t),s.push(i),s.push(n);r.sort(e),o.sort(e),a.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Qe(){return this.hours()%12||12}function et(e,t){O(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}O("H",["HH",2],0,"hour"),O("h",["hh",2],0,Qe),O("k",["kk",2],0,function(){return this.hours()||24}),O("hmm",0,0,function(){return""+Qe.apply(this)+S(this.minutes(),2)}),O("hmmss",0,0,function(){return""+Qe.apply(this)+S(this.minutes(),2)+S(this.seconds(),2)}),O("Hmm",0,0,function(){return""+this.hours()+S(this.minutes(),2)}),O("Hmmss",0,0,function(){return""+this.hours()+S(this.minutes(),2)+S(this.seconds(),2)}),et("a",!0),et("A",!1),F("hour","h"),W("hour",13),de("a",tt),de("A",tt),de("H",ee),de("h",ee),de("k",ee),de("HH",ee,X),de("hh",ee,X),de("kk",ee,X),de("hmm",te),de("hmmss",ie),de("Hmm",te),de("Hmmss",ie),ge(["H","HH"],xe),ge(["k","kk"],function(e,t,i){e=H(e);t[xe]=24===e?0:e}),ge(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e}),ge(["h","hh"],function(e,t,i){t[xe]=H(e),p(i).bigHour=!0}),ge("hmm",function(e,t,i){var n=e.length-2;t[xe]=H(e.substr(0,n)),t[Te]=H(e.substr(n)),p(i).bigHour=!0}),ge("hmmss",function(e,t,i){var n=e.length-4,r=e.length-2;t[xe]=H(e.substr(0,n)),t[Te]=H(e.substr(n,2)),t[Ee]=H(e.substr(r)),p(i).bigHour=!0}),ge("Hmm",function(e,t,i){var n=e.length-2;t[xe]=H(e.substr(0,n)),t[Te]=H(e.substr(n))}),ge("Hmmss",function(e,t,i){var n=e.length-4,r=e.length-2;t[xe]=H(e.substr(0,n)),t[Te]=H(e.substr(n,2)),t[Ee]=H(e.substr(r))});var it=V("Hours",!0);var nt,rt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Se,monthsShort:Ie,week:{dow:0,doy:6},weekdays:Ve,weekdaysMin:qe,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},ot={},at={};function st(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,i,n,r,o=0;o<e.length;){for(t=(r=st(e[o]).split("-")).length,i=(i=st(e[o+1]))?i.split("-"):null;0<t;){if(n=ut(r.slice(0,t).join("-")))return n;if(i&&i.length>=t&&function(e,t){for(var i=Math.min(e.length,t.length),n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}(r,i)>=t-1)break;t--}o++}return nt}function ut(t){var e;if(void 0===ot[t]&&Un&&Un.exports)try{e=nt._abbr,Ii(),ct(e)}catch(e){ot[t]=null}return ot[t]}function ct(e,t){return e&&((t=o(t)?mt(e):dt(e,t))?nt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),nt._abbr}function dt(e,t){if(null===t)return delete ot[e],null;var i,n=rt;if(t.abbr=e,null!=ot[e])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ot[e]._config;else if(null!=t.parentLocale)if(null!=ot[t.parentLocale])n=ot[t.parentLocale]._config;else{if(null==(i=ut(t.parentLocale)))return at[t.parentLocale]||(at[t.parentLocale]=[]),at[t.parentLocale].push({name:e,config:t}),null;n=i._config}return ot[e]=new M(L(n,t)),at[e]&&at[e].forEach(function(e){dt(e.name,e.config)}),ct(e),ot[e]}function mt(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return nt;if(!a(e)){if(t=ut(e))return t;e=[e]}return lt(e)}function ht(e){var t=e._a;return t&&-2===p(e).overflow&&(t=t[_e]<0||11<t[_e]?_e:t[be]<1||t[be]>Ae(t[we],t[_e])?be:t[xe]<0||24<t[xe]||24===t[xe]&&(0!==t[Te]||0!==t[Ee]||0!==t[Ce])?xe:t[Te]<0||59<t[Te]?Te:t[Ee]<0||59<t[Ee]?Ee:t[Ce]<0||999<t[Ce]?Ce:-1,p(e)._overflowDayOfYear&&(t<we||be<t)&&(t=be),p(e)._overflowWeeks&&-1===t&&(t=Le),p(e)._overflowWeekday&&-1===t&&(t=Me),p(e).overflow=t),e}var ft=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],vt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wt=/^\/?Date\((-?\d+)/i,_t=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,bt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xt(e){var t,i,n,r,o,a,s=e._i,l=ft.exec(s)||pt.exec(s);if(l){for(p(e).iso=!0,t=0,i=yt.length;t<i;t++)if(yt[t][1].exec(l[1])){r=yt[t][0],n=!1!==yt[t][2];break}if(null==r)return e._isValid=!1;if(l[3]){for(t=0,i=vt.length;t<i;t++)if(vt[t][1].exec(l[3])){o=(l[2]||" ")+vt[t][0];break}if(null==o)return e._isValid=!1}if(!n&&null!=o)return e._isValid=!1;if(l[4]){if(!gt.exec(l[4]))return e._isValid=!1;a="Z"}e._f=r+(o||"")+(a||""),Mt(e)}else e._isValid=!1}function Tt(e,t,i,n,r,o){r=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Ie.indexOf(t),parseInt(i,10),parseInt(n,10),parseInt(r,10)];return o&&r.push(parseInt(o,10)),r}function Et(e){var t,i,n,r,o=_t.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=Tt(o[4],o[3],o[2],o[5],o[6],o[7]),i=o[1],n=t,r=e,i&&ze.indexOf(i)!==new Date(n[0],n[1],n[2]).getDay()?(p(r).weekdayMismatch=!0,r._isValid=!1):(e._a=t,e._tzm=(r=o[8],t=o[9],o=o[10],r?bt[r]:t?0:((t=parseInt(o,10))-(o=t%100))/100*60+o),e._d=Ge.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0)):e._isValid=!1}function Ct(e,t,i){return null!=e?e:null!=t?t:i}function Lt(e){var t,i,n,r,o,a,s,l,u,c,d,m,h=[];if(!e._d){for(d=e,m=new Date(f.now()),i=d._useUTC?[m.getUTCFullYear(),m.getUTCMonth(),m.getUTCDate()]:[m.getFullYear(),m.getMonth(),m.getDate()],e._w&&null==e._a[be]&&null==e._a[_e]&&(null!=(d=(r=e)._w).GG||null!=d.W||null!=d.E?(l=1,u=4,o=Ct(d.GG,r._a[we],je(It(),1,4).year),a=Ct(d.W,1),((s=Ct(d.E,1))<1||7<s)&&(c=!0)):(l=r._locale._week.dow,u=r._locale._week.doy,m=je(It(),l,u),o=Ct(d.gg,r._a[we],m.year),a=Ct(d.w,m.week),null!=d.d?((s=d.d)<0||6<s)&&(c=!0):null!=d.e?(s=d.e+l,(d.e<0||6<d.e)&&(c=!0)):s=l),a<1||a>Be(o,l,u)?p(r)._overflowWeeks=!0:null!=c?p(r)._overflowWeekday=!0:(u=We(o,a,s,l,u),r._a[we]=u.year,r._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(n=Ct(e._a[we],i[we]),(e._dayOfYear>Ye(n)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Ge(n,0,e._dayOfYear),e._a[_e]=n.getUTCMonth(),e._a[be]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=h[t]=i[t];for(;t<7;t++)e._a[t]=h[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[xe]&&0===e._a[Te]&&0===e._a[Ee]&&0===e._a[Ce]&&(e._nextDay=!0,e._a[xe]=0),e._d=(e._useUTC?Ge:Ue).apply(null,h),n=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[xe]=24),e._w&&void 0!==e._w.d&&e._w.d!==n&&(p(e).weekdayMismatch=!0)}}function Mt(e){if(e._f!==f.ISO_8601)if(e._f!==f.RFC_2822){e._a=[],p(e).empty=!0;for(var t,i,n=""+e._i,r=n.length,o=0,a=R(e._f,e._locale).match(I)||[],s=0;s<a.length;s++)i=a[s],(t=(n.match(me(i,e))||[])[0])&&(0<(d=n.substr(0,n.indexOf(t))).length&&p(e).unusedInput.push(d),n=n.slice(n.indexOf(t)+t.length),o+=t.length),P[i]?(t?p(e).empty=!1:p(e).unusedTokens.push(i),c=i,m=e,null!=(d=t)&&h(pe,c)&&pe[c](d,m._a,m,c)):e._strict&&!t&&p(e).unusedTokens.push(i);p(e).charsLeftOver=r-o,0<n.length&&p(e).unusedInput.push(n),e._a[xe]<=12&&!0===p(e).bigHour&&0<e._a[xe]&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[xe]=(l=e._locale,u=e._a[xe],null==(r=e._meridiem)?u:null!=l.meridiemHour?l.meridiemHour(u,r):null!=l.isPM?((r=l.isPM(r))&&u<12&&(u+=12),u=r||12!==u?u:0):u),null!==(u=p(e).era)&&(e._a[we]=e._locale.erasConvertYear(u,e._a[we])),Lt(e),ht(e)}else Et(e);else xt(e);var l,u,c,d,m}function At(e){var t=e._i,i=e._f;return e._locale=e._locale||mt(e._l),null===t||void 0===i&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),b(t)?new _(ht(t)):(r(t)?e._d=t:a(i)?function(e){var t,i,n,r,o,a,s=!1;if(0===e._f.length)return p(e).invalidFormat=!0,e._d=new Date(NaN);for(r=0;r<e._f.length;r++)o=0,a=!1,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Mt(t),m(t)&&(a=!0),o+=p(t).charsLeftOver,o+=10*p(t).unusedTokens.length,p(t).score=o,s?o<n&&(n=o,i=t):(null==n||o<n||a)&&(n=o,i=t,a&&(s=!0));c(e,i||t)}(e):i?Mt(e):o(i=(t=e)._i)?t._d=new Date(f.now()):r(i)?t._d=new Date(i.valueOf()):"string"==typeof i?function(e){var t=wt.exec(e._i);null===t?(xt(e),!1===e._isValid&&(delete e._isValid,Et(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:f.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):a(i)?(t._a=n(i.slice(0),function(e){return parseInt(e,10)}),Lt(t)):s(i)?function(e){var t,i;e._d||(i=void 0===(t=G(e._i)).day?t.date:t.day,e._a=n([t.year,t.month,i,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Lt(e))}(t):u(i)?t._d=new Date(i):f.createFromInputFallback(t),m(e)||(e._d=null),e))}function St(e,t,i,n,r){var o={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==i&&!1!==i||(n=i,i=void 0),(s(e)&&l(e)||a(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=i,o._i=e,o._f=t,o._strict=n,(o=new _(ht(At(o=o))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function It(e,t,i,n){return St(e,t,i,n,!1)}f.createFromInputFallback=i("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),f.ISO_8601=function(){},f.RFC_2822=function(){};var Dt=i("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=It.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),kt=i("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=It.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:g()});function Pt(e,t){var i,n;if(!(t=1===t.length&&a(t[0])?t[0]:t).length)return It();for(i=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](i)||(i=t[n]);return i}var Ot=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Nt(e){var t=G(e),i=t.year||0,n=t.quarter||0,r=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,i,n=!1;for(t in e)if(h(e,t)&&(-1===ve.call(Ot,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<Ot.length;++i)if(e[Ot[i]]){if(n)return!1;parseFloat(e[Ot[i]])!==H(e[Ot[i]])&&(n=!0)}return!0}(t),this._milliseconds=+e+1e3*u+6e4*l+1e3*s*60*60,this._days=+a+7*o,this._months=+r+3*n+12*i,this._data={},this._locale=mt(),this._bubble()}function Rt(e){return e instanceof Nt}function Yt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,i){O(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+S(~~(e/60),2)+i+S(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),de("Z",ue),de("ZZ",ue),ge(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=Gt(ue,e)});var Ut=/([\+\-]|\d\d)/gi;function Gt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Ut)||["-",0,0])[1]+H(e[2]))?0:"+"===e[0]?t:-t}function $t(e,t){var i;return t._isUTC?(i=t.clone(),t=(b(e)||r(e)?e:It(e)).valueOf()-i.valueOf(),i._d.setTime(i._d.valueOf()+t),f.updateOffset(i,!1),i):It(e).local()}function Wt(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}f.updateOffset=function(){};var Bt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ht=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Vt(e,t){var i,n,r=e,o=null;return Rt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(o=Bt.exec(e))?(i="-"===o[1]?-1:1,r={y:0,d:H(o[be])*i,h:H(o[xe])*i,m:H(o[Te])*i,s:H(o[Ee])*i,ms:H(Yt(1e3*o[Ce]))*i}):(o=Ht.exec(e))?(i="-"===o[1]?-1:1,r={y:zt(o[2],i),M:zt(o[3],i),w:zt(o[4],i),d:zt(o[5],i),h:zt(o[6],i),m:zt(o[7],i),s:zt(o[8],i)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(o=It(r.from),i=It(r.to),n=o.isValid()&&i.isValid()?(i=$t(i,o),o.isBefore(i)?n=qt(o,i):((n=qt(i,o)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0},(r={}).ms=n.milliseconds,r.M=n.months),r=new Nt(r),Rt(e)&&h(e,"_locale")&&(r._locale=e._locale),Rt(e)&&h(e,"_isValid")&&(r._isValid=e._isValid),r}function zt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function qt(e,t){var i={};return i.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function Zt(n,r){return function(e,t){var i;return null===t||isNaN(+t)||(E(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=e,e=t,t=i),Xt(this,Vt(e,t),n),this}}function Xt(e,t,i,n){var r=t._milliseconds,o=Yt(t._days),t=Yt(t._months);e.isValid()&&(n=null==n||n,t&&Oe(e,z(e,"Month")+t*i),o&&q(e,"Date",z(e,"Date")+o*i),r&&e._d.setTime(e._d.valueOf()+r*i),n&&f.updateOffset(e,o||t))}Vt.fn=Nt.prototype,Vt.invalid=function(){return Vt(NaN)};var Jt=Zt(1,"add"),ce=Zt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Qt(e){return b(e)||r(e)||Kt(e)||u(e)||(i=a(t=e),n=!1,i&&(n=0===t.filter(function(e){return!u(e)&&Kt(t)}).length),i&&n)||function(e){var t,i,n=s(e)&&!l(e),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<o.length;t+=1)i=o[t],r=r||h(e,i);return n&&r}(e)||null==e;var t,i,n}function ei(e,t){if(e.date()<t.date())return-ei(t,e);var i=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(i,"months");return-(i+(t-n<0?(t-n)/(n-e.clone().add(i-1,"months")):(t-n)/(e.clone().add(1+i,"months")-n)))||0}function ti(e){return void 0===e?this._locale._abbr:(null!=(e=mt(e))&&(this._locale=e),this)}f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",f.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=i("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function ii(){return this._locale}var ni=126227808e5;function ri(e,t){return(e%t+t)%t}function oi(e,t,i){return e<100&&0<=e?new Date(e+400,t,i)-ni:new Date(e,t,i).valueOf()}function ai(e,t,i){return e<100&&0<=e?Date.UTC(e+400,t,i)-ni:Date.UTC(e,t,i)}function si(e,t){return t.erasAbbrRegex(e)}function li(){for(var e=[],t=[],i=[],n=[],r=this.eras(),o=0,a=r.length;o<a;++o)t.push(he(r[o].name)),e.push(he(r[o].abbr)),i.push(he(r[o].narrow)),n.push(he(r[o].name)),n.push(he(r[o].abbr)),n.push(he(r[o].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function ui(e,t){O(0,[e,e.length],0,t)}function ci(e,t,i,n,r){var o;return null==e?je(this,n,r).year:(t>(o=Be(e,n,r))&&(t=o),function(e,t,i,n,r){r=We(e,t,i,n,r),r=Ge(r.year,0,r.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}.call(this,e,t,i,n,r))}O("N",0,0,"eraAbbr"),O("NN",0,0,"eraAbbr"),O("NNN",0,0,"eraAbbr"),O("NNNN",0,0,"eraName"),O("NNNNN",0,0,"eraNarrow"),O("y",["y",1],"yo","eraYear"),O("y",["yy",2],0,"eraYear"),O("y",["yyy",3],0,"eraYear"),O("y",["yyyy",4],0,"eraYear"),de("N",si),de("NN",si),de("NNN",si),de("NNNN",function(e,t){return t.erasNameRegex(e)}),de("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ge(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,n){n=i._locale.erasParse(e,n,i._strict);n?p(i).era=n:p(i).invalidEra=e}),de("y",ae),de("yy",ae),de("yyy",ae),de("yyyy",ae),de("yo",function(e,t){return t._eraYearOrdinalRegex||ae}),ge(["y","yy","yyy","yyyy"],we),ge(["yo"],function(e,t,i,n){var r;i._locale._eraYearOrdinalRegex&&(r=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[we]=i._locale.eraYearOrdinalParse(e,r):t[we]=parseInt(e,10)}),O(0,["gg",2],0,function(){return this.weekYear()%100}),O(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ui("gggg","weekYear"),ui("ggggg","weekYear"),ui("GGGG","isoWeekYear"),ui("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),de("G",se),de("g",se),de("GG",ee,X),de("gg",ee,X),de("GGGG",re,K),de("gggg",re,K),de("GGGGG",oe,Q),de("ggggg",oe,Q),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,n){t[n.substr(0,2)]=H(e)}),ye(["gg","GG"],function(e,t,i,n){t[n]=f.parseTwoDigitYear(e)}),O("Q",0,"Qo","quarter"),F("quarter","Q"),W("quarter",7),de("Q",Z),ge("Q",function(e,t){t[_e]=3*(H(e)-1)}),O("D",["DD",2],"Do","date"),F("date","D"),W("date",9),de("D",ee),de("DD",ee,X),de("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ge(["D","DD"],be),ge("Do",function(e,t){t[be]=H(e.match(ee)[0])});ie=V("Date",!0);O("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),W("dayOfYear",4),de("DDD",ne),de("DDDD",J),ge(["DDD","DDDD"],function(e,t,i){i._dayOfYear=H(e)}),O("m",["mm",2],0,"minute"),F("minute","m"),W("minute",14),de("m",ee),de("mm",ee,X),ge(["m","mm"],Te);Se=V("Minutes",!1);O("s",["ss",2],0,"second"),F("second","s"),W("second",15),de("s",ee),de("ss",ee,X),ge(["s","ss"],Ee);var di,Ve=V("Seconds",!1);for(O("S",0,0,function(){return~~(this.millisecond()/100)}),O(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),O(0,["SSS",3],0,"millisecond"),O(0,["SSSS",4],0,function(){return 10*this.millisecond()}),O(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),O(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),O(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),O(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),O(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),W("millisecond",16),de("S",ne,Z),de("SS",ne,X),de("SSS",ne,J),di="SSSS";di.length<=9;di+="S")de(di,ae);function mi(e,t){t[Ce]=H(1e3*("0."+e))}for(di="S";di.length<=9;di+="S")ge(di,mi);qe=V("Milliseconds",!1),O("z",0,0,"zoneAbbr"),O("zz",0,0,"zoneName");re=_.prototype;function hi(e){return e}re.add=Jt,re.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=s(e)&&!l(e),i=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<n.length;r+=1)i=i||h(e,n[r]);return t&&i}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var i=e||It(),e=$t(i,this).startOf("day"),e=f.calendarFormat(this,e)||"sameElse",t=t&&(C(t[e])?t[e].call(this,i):t[e]);return this.format(t||this.localeData().calendar(e,this,It(i)))},re.clone=function(){return new _(this)},re.diff=function(e,t,i){var n,r,o;if(!this.isValid())return NaN;if(!(n=$t(e,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),t=U(t)){case"year":o=ei(this,n)/12;break;case"month":o=ei(this,n);break;case"quarter":o=ei(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-r)/864e5;break;case"week":o=(this-n-r)/6048e5;break;default:o=this-n}return i?o:B(o)},re.endOf=function(e){var t,i;if(void 0===(e=U(e))||"millisecond"===e||!this.isValid())return this;switch(i=this._isUTC?ai:oi,e){case"year":t=i(this.year()+1,0,1)-1;break;case"quarter":t=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=i(this.year(),this.month()+1,1)-1;break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-ri(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-ri(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-ri(t,1e3)-1}return this._d.setTime(t),f.updateOffset(this,!0),this},re.format=function(e){return e=e||(this.isUtc()?f.defaultFormatUtc:f.defaultFormat),e=N(this,e),this.localeData().postformat(e)},re.from=function(e,t){return this.isValid()&&(b(e)&&e.isValid()||It(e).isValid())?Vt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},re.fromNow=function(e){return this.from(It(),e)},re.to=function(e,t){return this.isValid()&&(b(e)&&e.isValid()||It(e).isValid())?Vt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},re.toNow=function(e){return this.to(It(),e)},re.get=function(e){return C(this[e=U(e)])?this[e]():this},re.invalidAt=function(){return p(this).overflow},re.isAfter=function(e,t){return e=b(e)?e:It(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=U(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},re.isBefore=function(e,t){return e=b(e)?e:It(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=U(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},re.isBetween=function(e,t,i,n){return e=b(e)?e:It(e),t=b(t)?t:It(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(n=n||"()")[0]?this.isAfter(e,i):!this.isBefore(e,i))&&(")"===n[1]?this.isBefore(t,i):!this.isAfter(t,i))},re.isSame=function(e,t){var e=b(e)?e:It(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=U(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},re.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},re.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},re.isValid=function(){return m(this)},re.lang=te,re.locale=ti,re.localeData=ii,re.max=kt,re.min=Dt,re.parsingFlags=function(){return c({},p(this))},re.set=function(e,t){if("object"==typeof e)for(var i=function(e){var t,i=[];for(t in e)h(e,t)&&i.push({unit:t,priority:$[t]});return i.sort(function(e,t){return e.priority-t.priority}),i}(e=G(e)),n=0;n<i.length;n++)this[i[n].unit](e[i[n].unit]);else if(C(this[e=U(e)]))return this[e](t);return this},re.startOf=function(e){var t,i;if(void 0===(e=U(e))||"millisecond"===e||!this.isValid())return this;switch(i=this._isUTC?ai:oi,e){case"year":t=i(this.year(),0,1);break;case"quarter":t=i(this.year(),this.month()-this.month()%3,1);break;case"month":t=i(this.year(),this.month(),1);break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=i(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ri(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=ri(t,6e4);break;case"second":t=this._d.valueOf(),t-=ri(t,1e3)}return this._d.setTime(t),f.updateOffset(this,!0),this},re.subtract=ce,re.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},re.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},re.toDate=function(){return new Date(this.valueOf())},re.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?N(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):C(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",N(e,"Z")):N(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},re.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",i="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(i+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(re[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),re.toJSON=function(){return this.isValid()?this.toISOString():null},re.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},re.unix=function(){return Math.floor(this.valueOf()/1e3)},re.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},re.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},re.eraName=function(){for(var e,t=this.localeData().eras(),i=0,n=t.length;i<n;++i){if(e=this.clone().startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].name;if(t[i].until<=e&&e<=t[i].since)return t[i].name}return""},re.eraNarrow=function(){for(var e,t=this.localeData().eras(),i=0,n=t.length;i<n;++i){if(e=this.clone().startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].narrow;if(t[i].until<=e&&e<=t[i].since)return t[i].narrow}return""},re.eraAbbr=function(){for(var e,t=this.localeData().eras(),i=0,n=t.length;i<n;++i){if(e=this.clone().startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].abbr;if(t[i].until<=e&&e<=t[i].since)return t[i].abbr}return""},re.eraYear=function(){for(var e,t,i=this.localeData().eras(),n=0,r=i.length;n<r;++n)if(e=i[n].since<=i[n].until?1:-1,t=this.clone().startOf("day").valueOf(),i[n].since<=t&&t<=i[n].until||i[n].until<=t&&t<=i[n].since)return(this.year()-f(i[n].since).year())*e+i[n].offset;return this.year()},re.year=Fe,re.isLeapYear=function(){return j(this.year())},re.weekYear=function(e){return ci.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},re.isoWeekYear=function(e){return ci.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},re.quarter=re.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},re.month=Ne,re.daysInMonth=function(){return Ae(this.year(),this.month())},re.week=re.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},re.isoWeek=re.isoWeeks=function(e){var t=je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},re.weeksInYear=function(){var e=this.localeData()._week;return Be(this.year(),e.dow,e.doy)},re.weeksInWeekYear=function(){var e=this.localeData()._week;return Be(this.weekYear(),e.dow,e.doy)},re.isoWeeksInYear=function(){return Be(this.year(),1,4)},re.isoWeeksInISOWeekYear=function(){return Be(this.isoWeekYear(),1,4)},re.date=ie,re.day=re.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,i,n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,i=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=i.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-n,"d")):n},re.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},re.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},re.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},re.hour=re.hours=it,re.minute=re.minutes=Se,re.second=re.seconds=Ve,re.millisecond=re.milliseconds=qe,re.utcOffset=function(e,t,i){var n,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?r:Wt(this);if("string"==typeof e){if(null===(e=Gt(ue,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(n=Wt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?Xt(this,Vt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,f.updateOffset(this,!0),this._changeInProgress=null)),this},re.utc=function(e){return this.utcOffset(0,e)},re.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Wt(this),"m")),this},re.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Gt(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},re.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?It(e).utcOffset():0,(this.utcOffset()-e)%60==0)},re.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},re.isLocal=function(){return!!this.isValid()&&!this._isUTC},re.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},re.isUtc=jt,re.isUTC=jt,re.zoneAbbr=function(){return this._isUTC?"UTC":""},re.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},re.dates=i("dates accessor is deprecated. Use date instead.",ie),re.months=i("months accessor is deprecated. Use month instead",Ne),re.years=i("years accessor is deprecated. Use year instead",Fe),re.zone=i("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),re.isDSTShifted=i("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=At(t))._a?(e=(t._isUTC?d:It)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,i){for(var n=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),o=0,a=0;a<n;a++)(i&&e[a]!==t[a]||!i&&H(e[a])!==H(t[a]))&&o++;return o+r}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});K=M.prototype;function fi(e,t,i,n){var r=mt(),t=d().set(n,t);return r[i](t,e)}function pi(e,t,i){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return fi(e,t,i,"month");for(var n=[],r=0;r<12;r++)n[r]=fi(e,r,i,"month");return n}function gi(e,t,i,n){t=("boolean"==typeof e||(i=t=e,e=!1),u(t)&&(i=t,t=void 0),t||"");var r,o=mt(),a=e?o._week.dow:0,s=[];if(null!=i)return fi(t,(i+a)%7,n,"day");for(r=0;r<7;r++)s[r]=fi(t,(r+a)%7,n,"day");return s}K.calendar=function(e,t,i){return C(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,i):e},K.longDateFormat=function(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(I).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},K.invalidDate=function(){return this._invalidDate},K.ordinal=function(e){return this._ordinal.replace("%d",e)},K.preparse=hi,K.postformat=hi,K.relativeTime=function(e,t,i,n){var r=this._relativeTime[i];return C(r)?r(e,t,i,n):r.replace(/%d/i,e)},K.pastFuture=function(e,t){return C(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},K.set=function(e){var t,i;for(i in e)h(e,i)&&(C(t=e[i])?this[i]=t:this["_"+i]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},K.eras=function(e,t){for(var i,n=this._eras||mt("en")._eras,r=0,o=n.length;r<o;++r)switch("string"==typeof n[r].since&&(i=f(n[r].since).startOf("day"),n[r].since=i.valueOf()),typeof n[r].until){case"undefined":n[r].until=1/0;break;case"string":i=f(n[r].until).startOf("day").valueOf(),n[r].until=i.valueOf()}return n},K.erasParse=function(e,t,i){var n,r,o,a,s,l=this.eras();for(e=e.toUpperCase(),n=0,r=l.length;n<r;++n)if(o=l[n].name.toUpperCase(),a=l[n].abbr.toUpperCase(),s=l[n].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[n];break;case"NNNN":if(o===e)return l[n];break;case"NNNNN":if(s===e)return l[n]}else if(0<=[o,a,s].indexOf(e))return l[n]},K.erasConvertYear=function(e,t){var i=e.since<=e.until?1:-1;return void 0===t?f(e.since).year():f(e.since).year()+(t-e.offset)*i},K.erasAbbrRegex=function(e){return h(this,"_erasAbbrRegex")||li.call(this),e?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(e){return h(this,"_erasNameRegex")||li.call(this),e?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(e){return h(this,"_erasNarrowRegex")||li.call(this),e?this._erasNarrowRegex:this._erasRegex},K.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||De).test(t)?"format":"standalone"])[e.month()]:a(this._months)?this._months:this._months.standalone},K.monthsShort=function(e,t){return e?(a(this._monthsShort)?this._monthsShort:this._monthsShort[De.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(e,t,i){var n,r;if(this._monthsParseExact)return function(e,t,i){var n,r,o,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=d([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(r=ve.call(this._shortMonthsParse,e))?r:null:-1!==(r=ve.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=ve.call(this._shortMonthsParse,e))||-1!==(r=ve.call(this._longMonthsParse,e))?r:null:-1!==(r=ve.call(this._longMonthsParse,e))||-1!==(r=ve.call(this._shortMonthsParse,e))?r:null}.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=d([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(r.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(i&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!i&&this._monthsParse[n].test(e))return n}},K.monthsRegex=function(e){return this._monthsParseExact?(h(this,"_monthsRegex")||Re.call(this),e?this._monthsStrictRegex:this._monthsRegex):(h(this,"_monthsRegex")||(this._monthsRegex=Pe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(e){return this._monthsParseExact?(h(this,"_monthsRegex")||Re.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(h(this,"_monthsShortRegex")||(this._monthsShortRegex=ke),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(e){return je(e,this._week.dow,this._week.doy).week},K.firstDayOfYear=function(){return this._week.doy},K.firstDayOfWeek=function(){return this._week.dow},K.weekdays=function(e,t){return t=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?He(t,this._week.dow):e?t[e.day()]:t},K.weekdaysMin=function(e){return!0===e?He(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},K.weekdaysShort=function(e){return!0===e?He(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},K.weekdaysParse=function(e,t,i){var n,r;if(this._weekdaysParseExact)return function(e,t,i){var n,r,o,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=d([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(r=ve.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=ve.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=ve.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=ve.call(this._weekdaysParse,e))||-1!==(r=ve.call(this._shortWeekdaysParse,e))||-1!==(r=ve.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=ve.call(this._shortWeekdaysParse,e))||-1!==(r=ve.call(this._weekdaysParse,e))||-1!==(r=ve.call(this._minWeekdaysParse,e))?r:null:-1!==(r=ve.call(this._minWeekdaysParse,e))||-1!==(r=ve.call(this._weekdaysParse,e))||-1!==(r=ve.call(this._shortWeekdaysParse,e))?r:null}.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=d([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(r.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(i&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(i&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!i&&this._weekdaysParse[n].test(e))return n}},K.weekdaysRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(h(this,"_weekdaysRegex")||(this._weekdaysRegex=Ze),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},K.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(h(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Xe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},K.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(h(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},K.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},K.meridiem=function(e,t,i){return 11<e?i?"pm":"PM":i?"am":"AM"},ct("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===H(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),f.lang=i("moment.lang is deprecated. Use moment.locale instead.",ct),f.langData=i("moment.langData is deprecated. Use moment.localeData instead.",mt);var yi=Math.abs;function vi(e,t,i,n){i=Vt(t,i);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function wi(e){return e<0?Math.floor(e):Math.ceil(e)}function _i(e){return 4800*e/146097}function bi(e){return 146097*e/4800}function xi(e){return function(){return this.as(e)}}oe=xi("ms"),Q=xi("s"),Z=xi("m"),X=xi("h"),ne=xi("d"),J=xi("w"),Jt=xi("M"),kt=xi("Q"),Dt=xi("y");function Ti(e){return function(){return this.isValid()?this._data[e]:NaN}}ce=Ti("milliseconds"),it=Ti("seconds"),Se=Ti("minutes"),Ve=Ti("hours"),qe=Ti("days"),ie=Ti("months"),Fe=Ti("years");var Ei=Math.round,Ci={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Li(e,t,i,n){var r=Vt(e).abs(),o=Ei(r.as("s")),a=Ei(r.as("m")),s=Ei(r.as("h")),l=Ei(r.as("d")),u=Ei(r.as("M")),c=Ei(r.as("w")),r=Ei(r.as("y")),l=(o<=i.ss?["s",o]:o<i.s&&["ss",o])||a<=1&&["m"]||a<i.m&&["mm",a]||s<=1&&["h"]||s<i.h&&["hh",s]||l<=1&&["d"]||l<i.d&&["dd",l];return(l=(l=null!=i.w?l||c<=1&&["w"]||c<i.w&&["ww",c]:l)||u<=1&&["M"]||u<i.M&&["MM",u]||r<=1&&["y"]||["yy",r])[2]=t,l[3]=0<+e,l[4]=n,function(e,t,i,n,r){return r.relativeTime(t||1,!!i,e,n)}.apply(null,l)}var Mi=Math.abs;function Ai(e){return(0<e)-(e<0)||+e}function Si(){if(!this.isValid())return this.localeData().invalidDate();var e,t,i,n,r,o,a,s=Mi(this._milliseconds)/1e3,l=Mi(this._days),u=Mi(this._months),c=this.asSeconds();return c?(e=B(s/60),t=B(e/60),s%=60,e%=60,i=B(u/12),u%=12,n=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=Ai(this._months)!==Ai(c)?"-":"",o=Ai(this._days)!==Ai(c)?"-":"",a=Ai(this._milliseconds)!==Ai(c)?"-":"",(c<0?"-":"")+"P"+(i?r+i+"Y":"")+(u?r+u+"M":"")+(l?o+l+"D":"")+(t||e||s?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(s?a+n+"S":"")):"P0D"}K=Nt.prototype;return K.isValid=function(){return this._isValid},K.abs=function(){var e=this._data;return this._milliseconds=yi(this._milliseconds),this._days=yi(this._days),this._months=yi(this._months),e.milliseconds=yi(e.milliseconds),e.seconds=yi(e.seconds),e.minutes=yi(e.minutes),e.hours=yi(e.hours),e.months=yi(e.months),e.years=yi(e.years),this},K.add=function(e,t){return vi(this,e,t,1)},K.subtract=function(e,t){return vi(this,e,t,-1)},K.as=function(e){if(!this.isValid())return NaN;var t,i,n=this._milliseconds;if("month"===(e=U(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,i=this._months+_i(t),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(bi(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},K.asMilliseconds=oe,K.asSeconds=Q,K.asMinutes=Z,K.asHours=X,K.asDays=ne,K.asWeeks=J,K.asMonths=Jt,K.asQuarters=kt,K.asYears=Dt,K.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*H(this._months/12):NaN},K._bubble=function(){var e=this._milliseconds,t=this._days,i=this._months,n=this._data;return 0<=e&&0<=t&&0<=i||e<=0&&t<=0&&i<=0||(e+=864e5*wi(bi(i)+t),i=t=0),n.milliseconds=e%1e3,e=B(e/1e3),n.seconds=e%60,e=B(e/60),n.minutes=e%60,e=B(e/60),n.hours=e%24,t+=B(e/24),i+=e=B(_i(t)),t-=wi(bi(e)),e=B(i/12),i%=12,n.days=t,n.months=i,n.years=e,this},K.clone=function(){return Vt(this)},K.get=function(e){return e=U(e),this.isValid()?this[e+"s"]():NaN},K.milliseconds=ce,K.seconds=it,K.minutes=Se,K.hours=Ve,K.days=qe,K.weeks=function(){return B(this.days()/7)},K.months=ie,K.years=Fe,K.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var i=!1,n=Ci;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(n=Object.assign({},Ci,t),null!=t.s&&null==t.ss&&(n.ss=t.s-1)),n=Li(this,!i,n,t=this.localeData()),i&&(n=t.pastFuture(+this,n)),t.postformat(n)},K.toISOString=Si,K.toString=Si,K.toJSON=Si,K.locale=ti,K.localeData=ii,K.toIsoString=i("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Si),K.lang=te,O("X",0,0,"unix"),O("x",0,0,"valueOf"),de("x",se),de("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",function(e,t,i){i._d=new Date(1e3*parseFloat(e))}),ge("x",function(e,t,i){i._d=new Date(H(e))}),f.version="2.29.1",e=It,f.fn=re,f.min=function(){return Pt("isBefore",[].slice.call(arguments,0))},f.max=function(){return Pt("isAfter",[].slice.call(arguments,0))},f.now=function(){return Date.now?Date.now():+new Date},f.utc=d,f.unix=function(e){return It(1e3*e)},f.months=function(e,t){return pi(e,t,"months")},f.isDate=r,f.locale=ct,f.invalid=g,f.duration=Vt,f.isMoment=b,f.weekdays=function(e,t,i){return gi(e,t,i,"weekdays")},f.parseZone=function(){return It.apply(null,arguments).parseZone()},f.localeData=mt,f.isDuration=Rt,f.monthsShort=function(e,t){return pi(e,t,"monthsShort")},f.weekdaysMin=function(e,t,i){return gi(e,t,i,"weekdaysMin")},f.defineLocale=dt,f.updateLocale=function(e,t){var i,n;return null!=t?(n=rt,null!=ot[e]&&null!=ot[e].parentLocale?ot[e].set(L(ot[e]._config,t)):(t=L(n=null!=(i=ut(e))?i._config:n,t),null==i&&(t.abbr=e),(t=new M(t)).parentLocale=ot[e],ot[e]=t),ct(e)):null!=ot[e]&&(null!=ot[e].parentLocale?(ot[e]=ot[e].parentLocale,e===ct()&&ct(e)):null!=ot[e]&&delete ot[e]),ot[e]},f.locales=function(){return A(ot)},f.weekdaysShort=function(e,t,i){return gi(e,t,i,"weekdaysShort")},f.normalizeUnits=U,f.relativeTimeRounding=function(e){return void 0===e?Ei:"function"==typeof e&&(Ei=e,!0)},f.relativeTimeThreshold=function(e,t){return void 0!==Ci[e]&&(void 0===t?Ci[e]:(Ci[e]=t,"s"===e&&(Ci.ss=t-1),!0))},f.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},f.prototype=re,f.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},f}(),Fn.exports);function $n(e,{delay:t=0,duration:i=400,easing:n=p}={}){const r=+getComputedStyle(e).opacity;return{delay:t,duration:i,easing:n,css:e=>"opacity: "+e*r}}function Wn(i){let n,t,r;return{c(){n=K("div"),n.innerHTML='<div class="ModalContainer" part="ModalContainer"><slot></slot></div>',ne(n,"class","ModalWindow"),ne(n,"part","ModalWindow"),ne(n,"id","Modal")},m(e,t){X(e,n,t),i[3](n),r=!0},p(e,t){i=e},i(e){r||(I(()=>{t=t||j(n,$n,{transitionDuration:i[1]},!0),t.run(1)}),r=!0)},o(e){t=t||j(n,$n,{transitionDuration:i[1]},!1),t.run(0),r=!1},d(e){e&&J(n),i[3](null),e&&t&&t.end()}}}function jn(e){let i,n,r=e[0]&&Wn(e);return{c(){i=K("div"),r&&r.c(),this.c=z},m(e,t){X(e,i,t),r&&r.m(i,null),n=!0},p(e,[t]){e[0]?r?(r.p(e,t),1&t&&G(r,1)):(r=Wn(e),r.c(),G(r,1),r.m(i,null)):r&&(U={r:0,c:[],p:U},$(r,1,1,()=>{r=null}),U.r||q(U.c),U=U.p)},i(e){n||(G(r),n=!0)},o(e){$(r),n=!1},d(e){e&&J(i),r&&r.d()}}}function Bn(e,t,i){let n,{show:r=!1}=t,{duration:o=350}=t;const a=e=>{"ModalClosed"==e.data.type&&i(0,r=!1),"ShowLimitsConfirmationModal"===e.data.type&&(i(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href))};return Y(()=>(window.addEventListener("message",a,!1),()=>{window.removeEventListener("message",a)})),e.$$set=e=>{"show"in e&&i(0,r=e.show),"duration"in e&&i(1,o=e.duration)},[r,o,void 0,function(e){s[e?"unshift":"push"](()=>{n=e,i(2,n)})}]}customElements.get("player-account-modal")||customElements.define("player-account-modal",class extends H{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}</style>",B(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Bn,jn,i,{show:0,duration:1}),e&&(e.target&&X(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["show","duration"]}get show(){return this.$$.ctx[0]}set show(e){this.$set({show:e}),k()}get duration(){return this.$$.ctx[1]}set duration(e){this.$set({duration:e}),k()}});const Hn={en:{modalText:{cancel:"Cancel",confirm:"Confirm"}},ro:{modalText:{cancel:"Anulează",confirm:"Confirmă"}},es:{modalText:{cancel:"Cancelar",confirm:"Confirmar"}},pt:{modalText:{cancel:"Cancelar",confirm:"Confirmar"}}};function Vn(i){let n,r,o,a,s,l,u,c,d,m,h,f,p,g,y=i[1]("modalText.cancel")+"",v=i[1]("modalText.confirm")+"",w=!i[2]&&function(i){let n,r,o;return{c(){n=K("span"),n.innerHTML='<slot name="close"><svg class="w-6 h-6" part="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',ne(n,"class","ModalCloseBtn"),ne(n,"part","ModalCloseBtn"),ne(n,"role","button")},m(e,t){X(e,n,t),r||(o=te(n,"click",i[3]),r=!0)},p:z,d(e){e&&J(n),r=!1,o()}}}(i);return{c(){n=K("div"),w&&w.c(),r=ee(),o=K("div"),a=K("div"),s=Q(i[0]),l=ee(),u=K("div"),c=K("button"),d=Q(y),m=ee(),h=K("button"),f=Q(v),this.c=z,ne(a,"class","GamingLimitsConfirmationContent"),ne(a,"part","GamingLimitsConfirmationContent"),ne(c,"class","GamingLimitsCancelButton"),ne(c,"part","GamingLimitsCancelButton"),ne(h,"class","GamingLimitsConfirmButton"),ne(h,"part","GamingLimitsConfirmButton"),ne(u,"class","GamingLimitsConfirmationControlArea"),ne(u,"part","GamingLimitsConfirmationControlArea"),ne(o,"class","GamingLimitsConfirmationContainer "+(i[2]?"GamingLimitsConfirmationContainerMobile":"")),ne(o,"part","GamingLimitsConfirmationContainer "+(i[2]?"GamingLimitsConfirmationContainerMobile":"")),ne(n,"class","GamingLimitsConfirmationWrapper "+(i[2]?"GamingLimitsConfirmationMobileWrapper":"")),ne(n,"part","GamingLimitsConfirmationWrapper "+(i[2]?"GamingLimitsConfirmationMobileWrapper":""))},m(e,t){X(e,n,t),w&&w.m(n,null),Z(n,r),Z(n,o),Z(o,a),Z(a,s),Z(o,l),Z(o,u),Z(u,c),Z(c,d),Z(u,m),Z(u,h),Z(h,f),p||(g=[te(c,"click",i[5]),te(h,"click",i[4])],p=!0)},p(e,[t]){e[2]||w.p(e,t),1&t&&oe(s,e[0]),2&t&&y!==(y=e[1]("modalText.cancel")+"")&&oe(d,y),2&t&&v!==(v=e[1]("modalText.confirm")+"")&&oe(f,v)},i:z,o:z,d(e){e&&J(n),w&&w.d(),p=!1,q(g)}}}function zn(t,e,i){let n;N(t,Mn,e=>i(1,n=e));let{modaltext:r="Are you sure that you want to perform this action?"}=e,{modalsource:o=""}=e,{lang:a="en"}=e;Object.keys(Hn).forEach(e=>{sn(e,Hn[e])});let s=window.navigator.userAgent,l="PC"!==An(s),u={},c="";const d=e=>{e.data&&"DeleteLimitsItem"===e.data.type&&(u=e.data.removeData,e=e.data.removeName,c="Time Limit"===e?"cumulativeSessionLimits":"Deposit Limit"===e?"depositLimits":"Wagering Limit"===e?"wageringLimit":"lossLimit")};Y(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)}));return t.$$set=e=>{"modaltext"in e&&i(0,r=e.modaltext),"modalsource"in e&&i(6,o=e.modalsource),"lang"in e&&i(7,a=e.lang)},t.$$.update=()=>{var e;193&t.$$.dirty&&r&&o&&a&&(e=a,yn.set(e))},[r,n,l,()=>{window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},()=>{"groupEdit"===o?window.postMessage({type:"GamingLimitsConfirmChanges"},window.location.href):"infoCard"===o&&window.postMessage({type:"PlayerAccountGamingLimitDelete",limit:u,name:c},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},()=>{"groupEdit"===o?window.postMessage({type:"CancelGamingLimitsChanges"},window.location.href):"infoCard"===o&&window.postMessage({type:"CancelGamingLimitsRemove"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},o,a]}function qn(e,t,i){const n=e.slice();return n[44]=t[i],n[45]=t,n[46]=i,n}function Zn(e,t,i){const n=e.slice();return n[47]=t[i],n}function Xn(e,t,i){const n=e.slice();return n[44]=t[i],n[46]=i,n}function Jn(e){let i,n,r,o=e[16]("editText.success")+"";return{c(){i=K("div"),n=K("p"),r=Q(o),ne(i,"class","AccountEditLimitSuccessfulChangeContainer"),ne(i,"part","AccountEditLimitSuccessfulChangeContainer")},m(e,t){X(e,i,t),Z(i,n),Z(n,r)},p(e,t){65536&t[0]&&o!==(o=e[16]("editText.success")+"")&&oe(r,o)},d(e){e&&J(i)}}}function Kn(t){let r,o=t[12],a=[];for(let e=0;e<o.length;e+=1)a[e]=er(Xn(t,o,e));return{c(){r=K("div");for(let e=0;e<a.length;e+=1)a[e].c();ne(r,"class","AccountEditLimitSuccessfulChangeContainer"),ne(r,"part","AccountEditLimitSuccessfulChangeContainer")},m(e,t){X(e,r,t);for(let e=0;e<a.length;e+=1)a[e].m(r,null)},p(t,i){if(102400&i[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){var n=Xn(t,o,e);a[e]?a[e].p(n,i):(a[e]=er(n),a[e].c(),a[e].m(r,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=o.length}},d(e){e&&J(r),b(a,e)}}}function Qn(e){let i,n,r,o,a=e[16]("editText.remove")+"",s=(e[44].expiryDate?Gn(e[44].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=K("p"),n=Q(a),r=ee(),o=Q(s)},m(e,t){X(e,i,t),Z(i,n),Z(i,r),Z(i,o)},p(e,t){65536&t[0]&&a!==(a=e[16]("editText.remove")+"")&&oe(n,a),4096&t[0]&&s!==(s=(e[44].expiryDate?Gn(e[44].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&oe(o,s)},d(e){e&&J(i)}}}function er(e){let i,n=e[44].period==e[15][e[46]].periodName&&Qn(e);return{c(){n&&n.c(),i=x()},m(e,t){n&&n.m(e,t),X(e,i,t)},p(e,t){e[44].period==e[15][e[46]].periodName?n?n.p(e,t):(n=Qn(e),n.c(),n.m(i.parentNode,i)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&J(i)}}}function tr(t){let i,r,o=t[12],a=[];for(let e=0;e<o.length;e+=1)a[e]=cr(qn(t,o,e));return{c(){i=K("div"),r=K("div");for(let e=0;e<a.length;e+=1)a[e].c();ne(r,"class","AccountEditLimitsContainer"),ne(r,"part","AccountEditLimitsContainer"),ne(i,"class","AccountEditContent"),ne(i,"part","AccountEditContent")},m(e,t){X(e,i,t),Z(i,r);for(let e=0;e<a.length;e+=1)a[e].m(r,null)},p(t,i){if(4709144&i[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){var n=qn(t,o,e);a[e]?a[e].p(n,i):(a[e]=cr(n),a[e].c(),a[e].m(r,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=o.length}},d(e){e&&J(i),b(a,e)}}}function ir(i){let n,r,o,a,s,l,u,c,d,m,h=i[16]("editText.noLimit")+"",f=i[18][i[46]].values,p=[];for(let e=0;e<f.length;e+=1)p[e]=nr(Zn(i,f,e));function g(){i[23].call(n,i[46])}let y="Custom"===i[15][i[46]].amount&&rr(i),v=!0===i[44].isModified&&ur(i);return{c(){n=K("select"),r=K("option"),o=Q(h);for(let e=0;e<p.length;e+=1)p[e].c();s=ee(),l=K("div"),y&&y.c(),u=ee(),v&&v.c(),c=x(),r.__value="",r.value=r.__value,r.disabled=!0,r.selected=!0,r.hidden=!0,ne(n,"class","AccountEditField "+(i[17]?"TimeoutSelectMobile":"")),ne(n,"part","AccountEditField "+(i[17]?"TimeoutSelectMobile":"")),n.disabled=a=!0===i[44].isModified,void 0===i[15][i[46]].amount&&I(g),ne(l,"class","AccountEditLimitsInputContainer"),ne(l,"part","AccountEditLimitsInputContainer")},m(e,t){X(e,n,t),Z(n,r),Z(r,o);for(let e=0;e<p.length;e+=1)p[e].m(n,null);T(n,i[15][i[46]].amount),X(e,s,t),X(e,l,t),y&&y.m(l,null),X(e,u,t),v&&v.m(e,t),X(e,c,t),d||(m=[te(n,"change",g),te(n,"change",function(){w(i[22](i[15][i[46]],i[46],!1,i[14]))&&i[22](i[15][i[46]],i[46],!1,i[14]).apply(this,arguments)})],d=!0)},p(e,t){if(i=e,65536&t[0]&&h!==(h=i[16]("editText.noLimit")+"")&&oe(o,h),262168&t[0]){let e;for(f=i[18][i[46]].values,e=0;e<f.length;e+=1){const o=Zn(i,f,e);p[e]?p[e].p(o,t):(p[e]=nr(o),p[e].c(),p[e].m(n,null))}for(;e<p.length;e+=1)p[e].d(1);p.length=f.length}4096&t[0]&&a!==(a=!0===i[44].isModified)&&(n.disabled=a),294912&t[0]&&T(n,i[15][i[46]].amount),"Custom"===i[15][i[46]].amount?y?y.p(i,t):(y=rr(i),y.c(),y.m(l,null)):y&&(y.d(1),y=null),!0===i[44].isModified?v?v.p(i,t):(v=ur(i),v.c(),v.m(c.parentNode,c)):v&&(v.d(1),v=null)},d(e){e&&J(n),b(p,e),e&&J(s),e&&J(l),y&&y.d(),e&&J(u),v&&v.d(e),e&&J(c),d=!1,q(m)}}}function nr(e){let i,n,r,t=e[47]+"",o="No limit"!==e[47]&&"Custom"!==e[47]&&function(){let i,n=("Time Limit"!==e[3]?e[4]:" minutes")+"";return{c(){i=Q(n)},m(e,t){X(e,i,t)},p(e,t){24&t[0]&&n!==(n=("Time Limit"!==e[3]?e[4]:" minutes")+"")&&oe(i,n)},d(e){e&&J(i)}}}();return{c(){i=K("option"),n=Q(t),r=ee(),o&&o.c(),i.__value=e[47],i.value=i.__value},m(e,t){X(e,i,t),Z(i,n),Z(i,r),o&&o.m(i,null)},p(e,t){"No limit"!==e[47]&&"Custom"!==e[47]&&o.p(e,t)},d(e){e&&J(i),o&&o.d()}}}function rr(e){let i;function n(e){return"Deposit Limit"===e[3]?ar:or}let r=n(e),o=r(e);return{c(){o.c(),i=x()},m(e,t){o.m(e,t),X(e,i,t)},p(e,t){r===(r=n(e))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(i.parentNode,i)))},d(e){o.d(e),e&&J(i)}}}function or(i){let n,r,o,a,s,l;function u(){i[25].call(n,i[46])}let c=1==i[11][i[46]]&&sr(i);return{c(){n=K("input"),o=ee(),a=K("p"),c&&c.c(),ne(n,"type","number"),ne(n,"class","AccountEditField AccountEditFieldCustom"),ne(n,"part","AccountEditField AccountEditFieldCustom"),n.disabled=r=!0===i[44].isModified,ne(a,"class","AccountEditWarningText"),ne(a,"part","AccountEditWarningText")},m(e,t){X(e,n,t),h(n,i[15][i[46]].value),X(e,o,t),X(e,a,t),c&&c.m(a,null),s||(l=[te(n,"keyup",function(){w(i[22](i[15][i[46]],i[46],!0,i[14]))&&i[22](i[15][i[46]],i[46],!0,i[14]).apply(this,arguments)}),te(n,"input",u)],s=!0)},p(e,t){i=e,4096&t[0]&&r!==(r=!0===i[44].isModified)&&(n.disabled=r),294912&t[0]&&R(n.value)!==i[15][i[46]].value&&h(n,i[15][i[46]].value),1==i[11][i[46]]?c?c.p(i,t):(c=sr(i),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(e){e&&J(n),e&&J(o),e&&J(a),c&&c.d(),s=!1,q(l)}}}function ar(i){let n,r,o,a,s,l;function u(){i[24].call(n,i[46])}let c=1==i[11][i[46]]&&lr(i);return{c(){n=K("input"),o=ee(),a=K("p"),c&&c.c(),ne(n,"type","number"),ne(n,"class","AccountEditField AccountEditFieldCustom"),ne(n,"part","AccountEditField AccountEditFieldCustom"),n.disabled=r=!0===i[44].isModified,ne(a,"class","AccountEditWarningText"),ne(a,"part","AccountEditWarningText")},m(e,t){X(e,n,t),h(n,i[15][i[46]].value),X(e,o,t),X(e,a,t),c&&c.m(a,null),s||(l=[te(n,"keyup",function(){w(i[22](i[15][i[46]],i[46],!1,i[14]))&&i[22](i[15][i[46]],i[46],!1,i[14]).apply(this,arguments)}),te(n,"input",u)],s=!0)},p(e,t){i=e,4096&t[0]&&r!==(r=!0===i[44].isModified)&&(n.disabled=r),294912&t[0]&&R(n.value)!==i[15][i[46]].value&&h(n,i[15][i[46]].value),1==i[11][i[46]]?c?c.p(i,t):(c=lr(i),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(e){e&&J(n),e&&J(o),e&&J(a),c&&c.d(),s=!1,q(l)}}}function sr(e){let i,n,r=e[16]("editText.invalidInputMessageTime",{values:{minTime:e[8],maxTime:e[9]}})+"";return{c(){i=K("p"),n=Q(r),ne(i,"class","InvalidInput"),ne(i,"part","InvalidInput")},m(e,t){X(e,i,t),Z(i,n)},p(e,t){66304&t[0]&&r!==(r=e[16]("editText.invalidInputMessageTime",{values:{minTime:e[8],maxTime:e[9]}})+"")&&oe(n,r)},d(e){e&&J(i)}}}function lr(e){let i,n,r=e[16]("editText.invalidInputMessageLimit")+"";return{c(){i=K("p"),n=Q(r),ne(i,"class","InvalidInput"),ne(i,"part","InvalidInput")},m(e,t){X(e,i,t),Z(i,n)},p(e,t){65536&t[0]&&r!==(r=e[16]("editText.invalidInputMessageLimit")+"")&&oe(n,r)},d(e){e&&J(i)}}}function ur(e){let i,n,r,o,a,s,l,u,c,d,m,h,f,p,g,y,v=e[16]("editText.expirationDate")+"",w=(e[44].expiryDate?Gn(e[44].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",_=e[16]("editText.changedLimitTextBefore")+"",b=(0<e[44].updateAmount?e[44].updateAmount:0)+"",x=(void 0!==e[44].minutes?" minutes":e[4])+"",T=e[16]("editText.changedLimitTextAfter")+"";return{c(){i=K("p"),n=Q(v),r=ee(),o=K("span"),a=Q(w),s=ee(),l=K("div"),u=K("p"),c=K("span"),c.textContent="i",d=K("span"),m=Q(_),h=ee(),f=Q(b),p=ee(),g=Q(x),y=Q(T),ne(i,"class","AccountEditLimitsExpiryDate"),ne(i,"part","AccountEditLimitsExpiryDate"),ne(c,"class","AccountEditLimitChangePeriodIcon"),ne(c,"part","AccountEditLimitChangePeriodIcon"),ne(l,"class","AccountEditLimitsPeriodChangeContainer"),ne(l,"part","AccountEditLimitsPeriodChangeContainer")},m(e,t){X(e,i,t),Z(i,n),Z(i,r),Z(i,o),Z(o,a),X(e,s,t),X(e,l,t),Z(l,u),Z(u,c),Z(u,d),Z(d,m),Z(d,h),Z(d,f),Z(d,p),Z(d,g),Z(d,y)},p(e,t){65536&t[0]&&v!==(v=e[16]("editText.expirationDate")+"")&&oe(n,v),4096&t[0]&&w!==(w=(e[44].expiryDate?Gn(e[44].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&oe(a,w),65536&t[0]&&_!==(_=e[16]("editText.changedLimitTextBefore")+"")&&oe(m,_),4096&t[0]&&b!==(b=(0<e[44].updateAmount?e[44].updateAmount:0)+"")&&oe(f,b),4112&t[0]&&x!==(x=(void 0!==e[44].minutes?" minutes":e[4])+"")&&oe(g,x),65536&t[0]&&T!==(T=e[16]("editText.changedLimitTextAfter")+"")&&oe(y,T)},d(e){e&&J(i),e&&J(s),e&&J(l)}}}function cr(e){let i,n,r,o,a,s=e[44].period+"",l=e[44].period==e[15][e[46]].periodName&&ir(e);return{c(){i=K("div"),n=K("p"),r=Q(s),o=ee(),l&&l.c(),a=ee(),ne(n,"class","AccountEditLimitsTitle"),ne(n,"part","AccountEditLimitsTitle"),ne(i,"class","AccountEditLimitsBox"),ne(i,"part","AccountEditLimitsBox")},m(e,t){X(e,i,t),Z(i,n),Z(n,r),Z(i,o),l&&l.m(i,null),Z(i,a)},p(e,t){4096&t[0]&&s!==(s=e[44].period+"")&&oe(r,s),e[44].period==e[15][e[46]].periodName?l?l.p(e,t):(l=ir(e),l.c(),l.m(i,a)):l&&(l.d(1),l=null)},d(e){e&&J(i),l&&l.d()}}}function dr(i){let n,r,o,a,s,l,u,c,d,m,h,f,p,g,y,v,w,_,b,x,T,E,C,L,M,A,S,I,D,k,P,O,N,R,Y,F,U,G=i[16]("editText.back")+"",$=(i[0]?i[3]:"")+"",W=i[16]("editText.save")+"",j=i[17]&&function(i){let n,r,o,a,s,l,u,c,d,m,h,f,p,g=i[16]("editText.back")+"";return{c(){n=K("div"),r=t("svg"),o=t("defs"),a=t("style"),s=Q(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=t("g"),u=t("g"),c=t("path"),d=ee(),m=K("h2"),h=Q(g),ne(c,"class","aaa"),ne(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),ne(c,"transform","translate(15 15) rotate(180)"),ne(u,"transform","translate(20 158)"),ne(l,"transform","translate(-20 -158)"),ne(r,"xmlns","http://www.w3.org/2000/svg"),ne(r,"width","15"),ne(r,"height","15"),ne(r,"viewBox","0 0 15 15"),ne(m,"class","MyAccountCategoryTitleMobile"),ne(m,"part","MyAccountCategoryTitleMobile"),ne(n,"class","MenuReturnButton"),ne(n,"part","MenuReturnButton")},m(e,t){X(e,n,t),Z(n,r),Z(r,o),Z(o,a),Z(a,s),Z(r,l),Z(l,u),Z(u,c),Z(n,d),Z(n,m),Z(m,h),f||(p=te(n,"click",i[20]),f=!0)},p(e,t){65536&t[0]&&g!==(g=e[16]("editText.back")+"")&&oe(h,g)},d(e){e&&J(n),f=!1,p()}}}(i),B=i[1]&&Jn(i),H=i[2]&&Kn(i),V=i[7]&&tr(i);return{c(){n=K("div"),j&&j.c(),r=ee(),o=K("div"),a=t("svg"),s=t("defs"),l=t("style"),u=Q(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),c=t("g"),d=t("g"),m=t("path"),h=ee(),f=K("h2"),p=Q(G),g=ee(),y=K("div"),v=K("h6"),w=Q($),_=ee(),b=K("div"),x=K("span"),x.textContent="i",T=ee(),E=K("player-account-gaming-limits-popup"),C=ee(),B&&B.c(),L=ee(),H&&H.c(),M=ee(),V&&V.c(),A=ee(),S=K("div"),I=K("button"),D=Q(W),N=ee(),R=K("player-account-modal"),Y=K("player-account-gaming-limits-confirmation-modal"),this.c=z,ne(m,"class","aaa"),ne(m,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),ne(m,"transform","translate(15 15) rotate(180)"),ne(d,"transform","translate(20 158)"),ne(c,"transform","translate(-20 -158)"),ne(a,"xmlns","http://www.w3.org/2000/svg"),ne(a,"width","15"),ne(a,"height","15"),ne(a,"viewBox","0 0 15 15"),ne(f,"class","MyAccountCategoryTitle "+(i[17]?"MyAccountCategoryTitleNone":"")),ne(f,"part","MyAccountCategoryTitle "+(i[17]?"MyAccountCategoryTitleNone":"")),ne(o,"class","MenuReturnButton "+(i[17]?"MyAccountCategoryTitleNone":"")),ne(o,"part","MenuReturnButton "+(i[17]?"MyAccountCategoryTitleNone":"")),ne(x,"class","AccountEditLimitsIcon"),ne(x,"part","AccountEditLimitsIcon"),re(E,"showpopup",i[6]),re(E,"lang",i[5]),ne(b,"class","AccountEditLimitsIconWrapper"),ne(b,"part","AccountEditLimitsIconWrapper"),ne(y,"class","AccountEditLimitsHeader"),ne(y,"part","AccountEditLimitsHeader"),ne(I,"class",k="AccountEditLimitsSaveButton "+(i[13]?"":"AccountEditLimitsButtonDisabled")),ne(I,"part",P="AccountEditLimitsSaveButton "+(i[13]?"":"AccountEditLimitsButtonDisabled")),I.disabled=O=!i[13],ne(S,"class","AccountEditLimitsControlArea"),ne(S,"part","AccountEditLimitsControlArea"),ne(n,"class","AccountEditLimitsWrapper "+(i[17]?"AccountEditLimitsMobileWrapper":"")),re(Y,"modaltext",i[10]),re(Y,"modalsource","groupEdit"),re(Y,"lang",i[5])},m(e,t){X(e,n,t),j&&j.m(n,null),Z(n,r),Z(n,o),Z(o,a),Z(a,s),Z(s,l),Z(l,u),Z(a,c),Z(c,d),Z(d,m),Z(o,h),Z(o,f),Z(f,p),Z(n,g),Z(n,y),Z(y,v),Z(v,w),Z(y,_),Z(y,b),Z(b,x),Z(b,T),Z(b,E),Z(n,C),B&&B.m(n,null),Z(n,L),H&&H.m(n,null),Z(n,M),V&&V.m(n,null),Z(n,A),Z(n,S),Z(S,I),Z(I,D),X(e,N,t),X(e,R,t),Z(R,Y),F||(U=[te(o,"click",i[20]),te(x,"click",ie(i[19])),te(I,"click",i[26])],F=!0)},p(e,t){e[17]&&j.p(e,t),65536&t[0]&&G!==(G=e[16]("editText.back")+"")&&oe(p,G),9&t[0]&&$!==($=(e[0]?e[3]:"")+"")&&oe(w,$),64&t[0]&&re(E,"showpopup",e[6]),32&t[0]&&re(E,"lang",e[5]),e[1]?B?B.p(e,t):(B=Jn(e),B.c(),B.m(n,L)):B&&(B.d(1),B=null),e[2]?H?H.p(e,t):(H=Kn(e),H.c(),H.m(n,M)):H&&(H.d(1),H=null),e[7]?V?V.p(e,t):(V=tr(e),V.c(),V.m(n,A)):V&&(V.d(1),V=null),65536&t[0]&&W!==(W=e[16]("editText.save")+"")&&oe(D,W),8192&t[0]&&k!==(k="AccountEditLimitsSaveButton "+(e[13]?"":"AccountEditLimitsButtonDisabled"))&&ne(I,"class",k),8192&t[0]&&P!==(P="AccountEditLimitsSaveButton "+(e[13]?"":"AccountEditLimitsButtonDisabled"))&&ne(I,"part",P),8192&t[0]&&O!==(O=!e[13])&&(I.disabled=O),1024&t[0]&&re(Y,"modaltext",e[10]),32&t[0]&&re(Y,"lang",e[5])},i:z,o:z,d(e){e&&J(n),j&&j.d(),B&&B.d(),H&&H.d(),V&&V.d(),e&&J(N),e&&J(R),F=!1,q(U)}}}function mr(e,t,o){let i;N(e,Mn,e=>o(16,i=e));let{limitsdata:n=[]}=t,{showsuccessnotification:r=!1}=t,{showdeletenotification:a=!1}=t,{limitname:s=""}=t,{playercurrency:l=""}=t,{lang:u="en"}=t;Object.keys(Yn).forEach(e=>{sn(e,Yn[e])});let c=!1,d=!0,m=!1,h=0,f=0,p="",g=window.navigator.userAgent,y="PC"!==An(g),v=new Array(3).fill(0),w={},_=[],b=!1,x=[];const T={amount:/^[0-9]{0,7}$/,time:/^[1-9]\d*$/};let E=[{periodName:"Daily",amount:"No limit",value:0},{periodName:"Weekly",amount:"No limit",value:0},{periodName:"Monthly",amount:"No limit",value:0}],C=[{periodName:"Daily",values:["10000","20000","50000","Custom"]},{periodName:"Weekly",values:["10000","50000","100000","Custom"]},{periodName:"Monthly",values:["50000","100000","200000","Custom"]}],L=[{periodName:"Daily",values:["10000","20000","50000","Custom"]},{periodName:"Weekly",values:["10000","50000","100000","Custom"]},{periodName:"Monthly",values:["50000","100000","200000","Custom"]}],M=[{periodName:"Daily",values:["10000","20000","50000","Custom"]},{periodName:"Weekly",values:["10000","50000","100000","Custom"]},{periodName:"Monthly",values:["50000","100000","200000","Custom"]}],A=[{periodName:"Daily",values:["500","1000","1430","Custom"]},{periodName:"Weekly",values:["5000","7000","10000","Custom"]},{periodName:"Monthly",values:["20000","30000","43000","Custom"]}];const S=new Map([["Deposit Limit","depositLimits"],["Time Limit","cumulativeSessionLimits"],["Wagering Limit","wageringLimits"],["Loss Limit","lossLimits"]]),I=()=>{window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href)},D=(i,e)=>{let n=JSON.parse(JSON.stringify(e));E.forEach(t=>{n.forEach(e=>{t.periodName==i.periodName&&("Custom"!==t.amount&&"No limit"!==t.amount?t.value=JSON.parse(t.amount):"No limit"===t.amount&&(t.value=0)),e.period===t.periodName&&(e.amount=t.value)})})},k=()=>{x.forEach(e=>{var t=e;_.forEach(e=>{t.period===e.periodName&&("Time Limit"===s&&(o(8,h=60),"Daily"===t.periodName?o(9,f=1440):"Weekly"==t.periodName?o(9,f=10080):o(9,f=43200)),-1<e.values.indexOf(t.amount)&&("No limit"===t.amount?t.amount=0:t.amount=JSON.parse(t.amount)))})}),w.forEach(t=>{_.forEach(e=>{t.period===e.periodName&&((e,t,i)=>{let n=e.values;t.amount&&"No limit"!==t.amount?n.includes(JSON.stringify(t.amount))?i.forEach(e=>{e.periodName===t.period&&(e.amount=JSON.stringify(t.amount),e.value=t.amount)}):i.forEach(e=>{e.periodName===t.period&&(e.amount="Custom",e.value=t.amount)}):i.forEach(e=>{e.periodName===t.period&&(e.amount=t.amount,e.value=0)})})(e,t,E)})})},P=()=>{var e=u;yn.set(e),e="Time Limit"===s?"time limit":"Deposit Limit"===s?"deposit limit":"Wagering Limit"===s?"wagering limit":"loss limit",o(10,p=i("editText.changeLimitsText",{values:{limit:e}})),o(14,x=JSON.parse(JSON.stringify(n))),o(12,w=JSON.parse(JSON.stringify(n))),_="Wagering Limit"===s?L:"Loss Limit"===s?M:"Deposit Limit"===s?C:"Time Limit"===s?A:[],k()},O=e=>{if(e.data)switch(e.data.type){case"ClosePlayerAccountGamingLimitsPopup":o(6,c=!1);break;case"GamingLimitsConfirmChanges":m=!0,m&&("Time Limit"===s?E.forEach(t=>{w.forEach(e=>{e.period===t.periodName&&(e.minutes=t.value)})}):E.forEach(t=>{w.forEach(e=>{e.period===t.periodName&&(e.amount=t.value,e.currency=l)})}),t={},t={[S.get(s)]:[...w]},window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:t,limitsCategory:S.get(s)},window.location.href),o(13,b=!1));break;case"CancelGamingLimitsChanges":o(7,d=!1),setTimeout(()=>{o(7,d=!0)},10),P(),o(13,b=!1),m=!1}var t};return Y(()=>(window.addEventListener("message",O,!1),()=>{window.removeEventListener("message",O)})),e.$$set=e=>{"limitsdata"in e&&o(0,n=e.limitsdata),"showsuccessnotification"in e&&o(1,r=e.showsuccessnotification),"showdeletenotification"in e&&o(2,a=e.showdeletenotification),"limitname"in e&&o(3,s=e.limitname),"playercurrency"in e&&o(4,l=e.playercurrency),"lang"in e&&o(5,u=e.lang)},e.$$.update=()=>{6&e.$$.dirty[0]&&r&&a&&P(),33&e.$$.dirty[0]&&n&&u&&P()},[n,r,a,s,l,u,c,d,h,f,p,v,w,b,x,E,i,y,C,()=>{o(6,c=!0)},()=>{window.postMessage({type:"PlayerAccountBackToLimitsView"},window.location.href)},I,(e,t,i,n)=>{var r;"Custom"===e.amount?"Time Limit"==s?(o(8,h=60),"Daily"===e.periodName?o(9,f=1440):"Weekly"==e.periodName?o(9,f=10080):o(9,f=43200),e.value&&T.time.test(e.value)&&e.value>h&&e.value<=f?(o(11,v[t]=0,v),r=n[t],e.periodName==r.period&&e.value==r.amount?(o(13,b=!1),D(e,n)):o(13,b=!0)):(o(11,v[t]=1,v),o(13,b=!1))):e.value&&T.amount.test(e.value)?(o(11,v[t]=0,v),e.periodName==n[t].period&&e.value==n[t].amount?(o(13,b=!!b),D(e,n)):o(13,b=!0),E.forEach(e=>{0==e.value&&o(13,b=!1)})):(o(11,v[t]=1,v),o(13,b=!1)):(e.periodName==n[t].period?(D(e,n),o(13,b=e.value!=n[t].amount)):o(13,b=!0),E.forEach(e=>{0==e.value&&o(13,b=!1)}))},function(e){E[e].amount=function(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}(this),o(15,E),o(18,C)},function(e){E[e].value=R(this.value),o(15,E),o(18,C)},function(e){E[e].value=R(this.value),o(15,E),o(18,C)},()=>I()]}function hr(e,t,i){const n=e.slice();return n[33]=t[i],n[35]=i,n}function fr(e,t,i){const n=e.slice();return n[33]=t[i],n[35]=i,n}function pr(t){let r,o=t[0],a=[];for(let e=0;e<o.length;e+=1)a[e]=br(hr(t,o,e));return{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=x()},m(t,i){for(let e=0;e<a.length;e+=1)a[e].m(t,i);X(t,r,i)},p(t,i){if(210975&i[0]){let e;for(o=t[0],e=0;e<o.length;e+=1){var n=hr(t,o,e);a[e]?a[e].p(n,i):(a[e]=br(n),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=o.length}},d(e){b(a,e),e&&J(r)}}}function gr(t){let r,o=t[0],a=[];for(let e=0;e<o.length;e+=1)a[e]=Sr(fr(t,o,e));return{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=x()},m(t,i){for(let e=0;e<a.length;e+=1)a[e].m(t,i);X(t,r,i)},p(t,i){if(210971&i[0]){let e;for(o=t[0],e=0;e<o.length;e+=1){var n=fr(t,o,e);a[e]?a[e].p(n,i):(a[e]=Sr(n),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=o.length}},d(e){b(a,e),e&&J(r)}}}function yr(e){let i,n,r=e[11]("cardText.notAvailable")+"";return{c(){i=K("div"),n=Q(r),ne(i,"class","InfoCardRowValue"),ne(i,"part","InfoCardRowValue")},m(e,t){X(e,i,t),Z(i,n)},p(e,t){2048&t[0]&&r!==(r=e[11]("cardText.notAvailable")+"")&&oe(n,r)},d(e){e&&J(i)}}}function vr(e){let i,n,r=(e[33]?(Gn(e[33].expiryDate).year()>e[13].year()+30?e[13].add(5,"years"):Gn(e[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=K("div"),n=Q(r),ne(i,"class","InfoCardRowValue"),ne(i,"part","InfoCardRowValue")},m(e,t){X(e,i,t),Z(i,n)},p(e,t){1&t[0]&&r!==(r=(e[33]?(Gn(e[33].expiryDate).year()>e[13].year()+30?e[13].add(5,"years"):Gn(e[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&oe(n,r)},d(e){e&&J(i)}}}function wr(i){let n,r,o,a,s,l,u,c;function d(){return i[20](i[35])}return{c(){n=K("div"),r=K("span"),r.textContent="i",o=ee(),a=K("player-account-gaming-limits-popup"),ne(r,"class","InfoCardIcon"),ne(r,"part","InfoCardIcon"),re(a,"showpopup",s=i[4][i[35]+1]),re(a,"iteminfoamount",l=i[33].updateAmount),re(a,"playercurrency",i[2]),re(a,"lang",i[3]),ne(n,"class","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":"")),ne(n,"part","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":""))},m(e,t){X(e,n,t),Z(n,r),Z(n,o),Z(n,a),u||(c=te(r,"click",ie(d)),u=!0)},p(e,t){i=e,16&t[0]&&s!==(s=i[4][i[35]+1])&&re(a,"showpopup",s),1&t[0]&&l!==(l=i[33].updateAmount)&&re(a,"iteminfoamount",l),4&t[0]&&re(a,"playercurrency",i[2]),8&t[0]&&re(a,"lang",i[3])},d(e){e&&J(n),u=!1,c()}}}function _r(i){let n,r,o;return{c(){n=K("div"),n.innerHTML="<span></span>",ne(n,"class","InfoCardRemoveIcon"),ne(n,"part","InfoCardRemoveIcon")},m(e,t){X(e,n,t),r||(o=te(n,"click",function(){w(i[16](i[33],i[1]))&&i[16](i[33],i[1]).apply(this,arguments)}),r=!0)},p(e,t){i=e},d(e){e&&J(n),r=!1,o()}}}function br(e){let i,n,r,o,a,s,l,u,c,d,m,h,f,p,g,y,v,w,_,b=(e[33]?e[33].period:"")+"",x=(e[33]?e[33].amount:0)+"",T=(e[33]?e[33].currency:"")+"",E=e[11]("cardText.expirationDate")+"";function C(e){return e[33].expiryDate?vr:yr}let L=C(e),M=L(e);function A(e,t){return(null==w||2049&t[0])&&(w=!(e[33].amount===e[11]("cardText.noLimit")||e[33].isModified)),w?_r:"No limit"!=e[33].amount&&e[33].isModified?wr:void 0}let S=A(e,[-1]),I=S&&S(e);return{c(){i=K("div"),n=K("div"),r=K("div"),o=K("div"),a=Q(b),s=ee(),l=K("div"),u=Q(x),c=ee(),d=K("span"),m=Q(T),h=ee(),f=K("div"),p=K("div"),g=Q(E),y=ee(),M.c(),v=ee(),I&&I.c(),_=ee(),ne(o,"class","InfoCardRowTitle"),ne(o,"part","InfoCardRowTitle"),ne(d,"class","InfoCardCurrency"),ne(d,"part","InfoCardCurrency"),ne(l,"class","InfoCardRowValue"),ne(l,"part","InfoCardRowValue"),ne(r,"class","InfoCardRow InfoMainRow"),ne(r,"part","InfoCardRow InfoMainRow"),ne(p,"class","InfoCardRowTitle"),ne(p,"part","InfoCardRowTitle"),ne(f,"class","InfoCardRow"),ne(f,"part","InfoCardRow"),ne(n,"class","InfoCardRowContainer"),ne(n,"part","InfoCardRowContainer"),ne(i,"class","InfoCardBox InfoCardMultipleItems"),ne(i,"part","InfoCardBox InfoCardMultipleItems")},m(e,t){X(e,i,t),Z(i,n),Z(n,r),Z(r,o),Z(o,a),Z(r,s),Z(r,l),Z(l,u),Z(l,c),Z(l,d),Z(d,m),Z(n,h),Z(n,f),Z(f,p),Z(p,g),Z(f,y),M.m(f,null),Z(i,v),I&&I.m(i,null),Z(i,_)},p(e,t){1&t[0]&&b!==(b=(e[33]?e[33].period:"")+"")&&oe(a,b),1&t[0]&&x!==(x=(e[33]?e[33].amount:0)+"")&&oe(u,x),1&t[0]&&T!==(T=(e[33]?e[33].currency:"")+"")&&oe(m,T),2048&t[0]&&E!==(E=e[11]("cardText.expirationDate")+"")&&oe(g,E),L===(L=C(e))&&M?M.p(e,t):(M.d(1),M=L(e),M&&(M.c(),M.m(f,null))),S===(S=A(e,t))&&I?I.p(e,t):(I&&I.d(1),I=S&&S(e),I&&(I.c(),I.m(i,_)))},d(e){e&&J(i),M.d(),I&&I.d()}}}function xr(e){let i,n,r=e[11]("cardText.noLimit")+"";return{c(){i=K("span"),n=Q(r),ne(i,"class","InfoCardCurrency"),ne(i,"part","InfoCardCurrency")},m(e,t){X(e,i,t),Z(i,n)},p(e,t){2048&t[0]&&r!==(r=e[11]("cardText.noLimit")+"")&&oe(n,r)},d(e){e&&J(i)}}}function Tr(e){let i,n,r,o=(e[33]?e[33].amount:0)+"",a="No limit"!=e[33].amount&&Er(e);return{c(){i=Q(o),n=ee(),a&&a.c(),r=x()},m(e,t){X(e,i,t),X(e,n,t),a&&a.m(e,t),X(e,r,t)},p(e,t){1&t[0]&&o!==(o=(e[33]?e[33].amount:0)+"")&&oe(i,o),"No limit"!=e[33].amount?a?a.p(e,t):(a=Er(e),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(e){e&&J(i),e&&J(n),a&&a.d(e),e&&J(r)}}}function Er(e){let i,n,r=e[11]("cardText.minutes")+"";return{c(){i=K("span"),n=Q(r),ne(i,"class","InfoCardCurrency"),ne(i,"part","InfoCardCurrency")},m(e,t){X(e,i,t),Z(i,n)},p(e,t){2048&t[0]&&r!==(r=e[11]("cardText.minutes")+"")&&oe(n,r)},d(e){e&&J(i)}}}function Cr(e){let i,n,r=e[11]("cardText.notAvailable")+"";return{c(){i=K("div"),n=Q(r),ne(i,"class","InfoCardRowValue"),ne(i,"part","InfoCardRowValue")},m(e,t){X(e,i,t),Z(i,n)},p(e,t){2048&t[0]&&r!==(r=e[11]("cardText.notAvailable")+"")&&oe(n,r)},d(e){e&&J(i)}}}function Lr(e){let i,n,r=(e[33]?(Gn(e[33].expiryDate).year()>e[13].year()+30?e[13].add(5,"years"):Gn(e[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=K("div"),n=Q(r),ne(i,"class","InfoCardRowValue"),ne(i,"part","InfoCardRowValue")},m(e,t){X(e,i,t),Z(i,n)},p(e,t){1&t[0]&&r!==(r=(e[33]?(Gn(e[33].expiryDate).year()>e[13].year()+30?e[13].add(5,"years"):Gn(e[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&oe(n,r)},d(e){e&&J(i)}}}function Mr(i){let n,r,o,a,s,l,u,c;function d(){return i[19](i[35])}return{c(){n=K("div"),r=K("span"),r.textContent="i",o=ee(),a=K("player-account-gaming-limits-popup"),ne(r,"class","InfoCardIcon"),ne(r,"part","InfoCardIcon"),re(a,"showpopup",s=i[4][i[35]+1]),re(a,"iteminfoamount",l=i[33].updateMinutes),re(a,"playercurrency","minutes"),re(a,"lang",i[3]),ne(n,"class","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":"")),ne(n,"part","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":""))},m(e,t){X(e,n,t),Z(n,r),Z(n,o),Z(n,a),u||(c=te(r,"click",ie(d)),u=!0)},p(e,t){i=e,16&t[0]&&s!==(s=i[4][i[35]+1])&&re(a,"showpopup",s),1&t[0]&&l!==(l=i[33].updateMinutes)&&re(a,"iteminfoamount",l),8&t[0]&&re(a,"lang",i[3])},d(e){e&&J(n),u=!1,c()}}}function Ar(i){let n,r,o;return{c(){n=K("div"),n.innerHTML="<span></span>",ne(n,"class","InfoCardRemoveIcon"),ne(n,"part","InfoCardRemoveIcon")},m(e,t){X(e,n,t),r||(o=te(n,"click",function(){w(i[16](i[33],i[1]))&&i[16](i[33],i[1]).apply(this,arguments)}),r=!0)},p(e,t){i=e},d(e){e&&J(n),r=!1,o()}}}function Sr(e){let i,n,r,o,a,s,l,u,c,d,m,h,f,p,g,y=(e[33]?e[33].period:"")+"",v=e[11]("cardText.expirationDate")+"";function w(e){return 0!==e[33].amount?Tr:xr}let _=w(e),b=_(e);function x(e){return e[33].expiryDate?Lr:Cr}let T=x(e),E=T(e);function C(e,t){return(null==p||2049&t[0])&&(p=!(e[33].amount===e[11]("cardText.noLimit")||e[33].isModified)),p?Ar:"No limit"!=e[33].amount&&e[33].isModified?Mr:void 0}let L=C(e,[-1]),M=L&&L(e);return{c(){i=K("div"),n=K("div"),r=K("div"),o=K("div"),a=Q(y),s=ee(),l=K("div"),b.c(),u=ee(),c=K("div"),d=K("div"),m=Q(v),h=ee(),E.c(),f=ee(),M&&M.c(),g=ee(),ne(o,"class","InfoCardRowTitle"),ne(o,"part","InfoCardRowTitle"),ne(l,"class","InfoCardRowValue"),ne(l,"part","InfoCardRowValue"),ne(r,"class","InfoCardRow InfoMainRow"),ne(r,"part","InfoCardRow InfoMainRow"),ne(d,"class","InfoCardRowTitle"),ne(d,"part","InfoCardRowTitle"),ne(c,"class","InfoCardRow"),ne(c,"part","InfoCardRow"),ne(n,"class","InfoCardRowContainer"),ne(n,"part","InfoCardRowContainer"),ne(i,"class","InfoCardBox InfoCardMultipleItems"),ne(i,"part","InfoCardBox InfoCardMultipleItems")},m(e,t){X(e,i,t),Z(i,n),Z(n,r),Z(r,o),Z(o,a),Z(r,s),Z(r,l),b.m(l,null),Z(n,u),Z(n,c),Z(c,d),Z(d,m),Z(c,h),E.m(c,null),Z(i,f),M&&M.m(i,null),Z(i,g)},p(e,t){1&t[0]&&y!==(y=(e[33]?e[33].period:"")+"")&&oe(a,y),_===(_=w(e))&&b?b.p(e,t):(b.d(1),b=_(e),b&&(b.c(),b.m(l,null))),2048&t[0]&&v!==(v=e[11]("cardText.expirationDate")+"")&&oe(m,v),T===(T=x(e))&&E?E.p(e,t):(E.d(1),E=T(e),E&&(E.c(),E.m(c,null))),L===(L=C(e,t))&&M?M.p(e,t):(M&&M.d(1),M=L&&L(e),M&&(M.c(),M.m(i,g)))},d(e){e&&J(i),b.d(),E.d(),M&&M.d()}}}function Ir(i){let n,r,o,a,s=i[11]("cardText.removeLimits")+"";return{c(){n=K("button"),r=Q(s),ne(n,"class","InfoCardRemoveButton"),ne(n,"part","InfoCardRemoveButton")},m(e,t){X(e,n,t),Z(n,r),o||(a=te(n,"click",i[22]),o=!0)},p(e,t){2048&t[0]&&s!==(s=e[11]("cardText.removeLimits")+"")&&oe(r,s)},d(e){e&&J(n),o=!1,a()}}}function Dr(e){let i,n,r;return{c(){i=K("player-account-modal"),n=K("player-account-gaming-limits-confirmation-modal"),re(n,"modaltext",r=e[6]?e[8]:e[9]),re(n,"modalsource","infoCard"),re(n,"lang",e[3])},m(e,t){X(e,i,t),Z(i,n)},p(e,t){832&t[0]&&r!==(r=e[6]?e[8]:e[9])&&re(n,"modaltext",r),8&t[0]&&re(n,"lang",e[3])},d(e){e&&J(i)}}}function kr(e){let i,n=function(i){let n,r,o,a,s,l,u,c,d,m,h,f,p,g,y,v,w,_,b,x,T,E,C,L=(i[0]?i[1]:"")+"",M=i[11]("cardText.edit")+"";function A(e){return"Time Limit"===e[1]?gr:pr}let S=A(i),I=S(i),D=!i[5]&&!i[0].isModified&&i[10]&&Ir(i),k=i[7]&&Dr(i);return{c(){n=K("div"),r=K("div"),o=K("div"),a=K("h5"),s=Q(L),l=ee(),u=K("div"),c=K("span"),c.textContent="i",d=ee(),m=K("player-account-gaming-limits-popup"),f=ee(),p=K("div"),g=K("div"),y=K("div"),I.c(),v=ee(),w=K("div"),_=K("button"),b=Q(M),x=ee(),D&&D.c(),T=ee(),k&&k.c(),ne(c,"class","InfoCardIcon"),ne(c,"part","InfoCardIcon"),re(m,"showpopup",h=i[4][0]),re(m,"lang",i[3]),ne(u,"class","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":"")),ne(u,"part","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":"")),ne(o,"class","InfoCardHeader "+(i[12]?"InfoCardMobileHeader":"")),ne(o,"part","InfoCardHeader "+(i[12]?"InfoCardMobileHeader":"")),ne(y,"class","InfoCardTableRow"),ne(y,"part","InfoCardTableRow"),ne(g,"class","InfoCardTableWrapper"),ne(g,"part","InfoCardTableWrapper"),ne(_,"class","InfoCardEditButton"),ne(_,"part","InfoCardEditButton"),ne(w,"class","InfoCardControlArea"),ne(w,"part","InfoCardControlArea"),ne(p,"class","InfoCard"),ne(p,"part","InfoCard"),ne(r,"class","InfoCardWrapper"),ne(r,"part","InfoCardWrapper"),ne(n,"class","InfoCardSection"),ne(n,"part","InfoCardSection")},m(e,t){X(e,n,t),Z(n,r),Z(r,o),Z(o,a),Z(a,s),Z(o,l),Z(o,u),Z(u,c),Z(u,d),Z(u,m),Z(r,f),Z(r,p),Z(p,g),Z(g,y),I.m(y,null),Z(p,v),Z(p,w),Z(w,_),Z(_,b),Z(w,x),D&&D.m(w,null),Z(n,T),k&&k.m(n,null),E||(C=[te(c,"click",ie(i[18])),te(_,"click",i[21])],E=!0)},p(e,t){3&t[0]&&L!==(L=(e[0]?e[1]:"")+"")&&oe(s,L),16&t[0]&&h!==(h=e[4][0])&&re(m,"showpopup",h),8&t[0]&&re(m,"lang",e[3]),S===(S=A(e))&&I?I.p(e,t):(I.d(1),I=S(e),I&&(I.c(),I.m(y,null))),2048&t[0]&&M!==(M=e[11]("cardText.edit")+"")&&oe(b,M),e[5]||e[0].isModified||!e[10]?D&&(D.d(1),D=null):D?D.p(e,t):(D=Ir(e),D.c(),D.m(w,null)),e[7]?k?k.p(e,t):(k=Dr(e),k.c(),k.m(n,null)):k&&(k.d(1),k=null)},d(e){e&&J(n),I.d(),D&&D.d(),k&&k.d(),E=!1,q(C)}}}(e);return{c(){n.c(),i=x(),this.c=z},m(e,t){n.m(e,t),X(e,i,t)},p(e,t){n.p(e,t)},i:z,o:z,d(e){n.d(e),e&&J(i)}}}function Pr(e,t,n){let o;N(e,Mn,e=>n(11,o=e));let{limitsdata:i=""}=t,{limitname:r=""}=t,{playercurrency:a=""}=t,{lang:s="en"}=t;Object.keys(In).forEach(e=>{sn(e,In[e])});let l=new Array(5).fill(0),u=[o("cardText.daily"),o("cardText.weekly"),o("cardText.monthly")],c=!0,d=!0,m=!1,h=window.navigator.userAgent,f="PC"!==An(h),p="",g="",y=!0,v=Gn();const w=e=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:e,name:r},window.location.href)},_=e=>{n(7,m=!0),n(6,d=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:e,removeName:r},window.location.href)},b=e=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{n(4,l[e]=!0,l)},50)},x=(e,t,i,n)=>{var r=n===o("cardText.time")?{period:i,minutes:0,currency:"",isModified:!1,expiryDate:""}:{period:i,amount:o("cardText.noLimit"),currency:"",isModified:!1,expiryDate:""};e.splice(t,0,r)},T=(e,t)=>e.period===o("cardText.weekly")&&t.period===o("cardText.daily")||e.period===o("cardText.monthly")&&t.period===o("cardText.daily")||e.period===o("cardText.monthly")&&t.period===o("cardText.weekly")?1:e.period===o("cardText.daily")&&t.period===o("cardText.weekly")||e.period===o("cardText.daily")&&t.period===o("cardText.monthly")||e.period===o("cardText.weekly")&&t.period===o("cardText.monthly")?-1:0,E=()=>{var e=s;yn.set(e),e=r===o("cardText.timeLimit")?o("cardText.timeLimitLower"):r===o("cardText.depositLimit")?o("cardText.depositLimitLower"):r===o("cardText.wageringLimit")?o("cardText.wageringLimitLower"):o("cardText.lossLimitLower"),n(8,p=o("cardText.removeLimitsText",{values:{limit:e}})),n(9,g=o("cardText.removeLimitText",{values:{limit:e}})),i.forEach(e=>{e.isModified&&n(10,y=!1)}),i.sort(T),(i=>{const t=u;u.forEach(t=>{i.indexOf(t),i.find(e=>e.period===t)&&(u=u.filter(e=>e!==t)),i.forEach(e=>{e.period===t&&e.amount!==o("cardText.noLimit")&&n(5,c=!1)})}),u.forEach(e=>{i.name===o("cardText.timeLimit")?x(i,t.indexOf(e),e,o("cardText.time")):x(i,t.indexOf(e),e,o("cardText.currency"))})})(i)},C=e=>{if(e.data)switch(e.data.type){case"ClosePlayerAccountGamingLimitsPopup":n(4,l=new Array(5).fill(0));break;case"ModalClosed":n(7,m=!1),n(6,d=!1)}};return Y(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)})),e.$$set=e=>{"limitsdata"in e&&n(0,i=e.limitsdata),"limitname"in e&&n(1,r=e.limitname),"playercurrency"in e&&n(2,a=e.playercurrency),"lang"in e&&n(3,s=e.lang)},e.$$.update=()=>{11&e.$$.dirty[0]&&i&&r&&s&&E()},[i,r,a,s,l,c,d,m,p,g,y,o,f,v,w,_,(e,t)=>{n(7,m=!0),n(6,d=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:e,removeName:t},window.location.href)},b,()=>b(0),e=>b(e+1),e=>b(e+1),()=>w(i),()=>_(i)]}function Or(e){let i;return{c(){i=K("player-account-gaming-limits-group-edit"),re(i,"limitsdata",e[8]),re(i,"limitname",e[9]),re(i,"showsuccessnotification",e[6]),re(i,"showdeletenotification",e[5]),re(i,"playercurrency",e[0]),re(i,"lang",e[7])},m(e,t){X(e,i,t)},p(e,t){256&t&&re(i,"limitsdata",e[8]),512&t&&re(i,"limitname",e[9]),64&t&&re(i,"showsuccessnotification",e[6]),32&t&&re(i,"showdeletenotification",e[5]),1&t&&re(i,"playercurrency",e[0]),128&t&&re(i,"lang",e[7])},d(e){e&&J(i)}}}function Nr(e){let i,n,r,o,a,s,l,u,c,d,m,h,f,p=e[11]("gamingLimits.gamingLimitsText")+"",g=e[12]&&function(i){let n,r,o,a,s,l,u,c,d,m,h,f,p,g=i[11]("gamingLimits.gamingLimitsText")+"";return{c(){n=K("div"),r=t("svg"),o=t("defs"),a=t("style"),s=Q(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=t("g"),u=t("g"),c=t("path"),d=ee(),m=K("h2"),h=Q(g),ne(c,"class","aaa"),ne(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),ne(c,"transform","translate(15 15) rotate(180)"),ne(u,"transform","translate(20 158)"),ne(l,"transform","translate(-20 -158)"),ne(r,"xmlns","http://www.w3.org/2000/svg"),ne(r,"width","15"),ne(r,"height","15"),ne(r,"viewBox","0 0 15 15"),ne(m,"class","PlayerGamingLimitsTitleMobile"),ne(m,"part","PlayerGamingLimitsTitleMobile"),ne(n,"class","MenuReturnButton"),ne(n,"part","MenuReturnButton")},m(e,t){X(e,n,t),Z(n,r),Z(r,o),Z(o,a),Z(a,s),Z(r,l),Z(l,u),Z(u,c),Z(n,d),Z(n,m),Z(m,h),f||(p=te(n,"click",i[19]),f=!0)},p(e,t){2048&t&&g!==(g=e[11]("gamingLimits.gamingLimitsText")+"")&&oe(h,g)},d(e){e&&J(n),f=!1,p()}}}(e);return{c(){i=K("div"),g&&g.c(),n=ee(),r=K("h2"),o=Q(p),a=ee(),s=K("div"),l=K("player-account-gaming-limits-info-card"),u=ee(),c=K("player-account-gaming-limits-info-card"),d=ee(),m=K("player-account-gaming-limits-info-card"),h=ee(),f=K("player-account-gaming-limits-info-card"),ne(r,"class","PlayerGamingLimitsTitle "+(e[12]?"PlayerGamingLimitsTitleNone":"")),ne(r,"part","PlayerGamingLimitsTitle "+(e[12]?"PlayerGamingLimitsTitleNone":"")),re(l,"limitsdata",e[1]),re(l,"limitname",e[13]),re(l,"playercurrency",e[0]),re(l,"lang",e[7]),re(c,"limitsdata",e[2]),re(c,"limitname",e[14]),re(c,"playercurrency",e[0]),re(c,"lang",e[7]),re(m,"limitsdata",e[3]),re(m,"limitname",e[15]),re(m,"playercurrency",e[0]),re(m,"lang",e[7]),re(f,"limitsdata",e[4]),re(f,"limitname",e[16]),re(f,"playercurrency",e[0]),re(f,"lang",e[7]),ne(s,"class","PlayerAccountGamingLimitsContainer"),ne(s,"part","PlayerAccountGamingLimitsContainer"),ne(i,"class","PlayerAccountGamingLimitsWrapper "+(e[12]?"PlayerAccountMobileGamingLimitsWrapper":"")+" "+(e[17].matches&&e[12]?"PlayerAccountTabletGamingLimitsWrapper":"")),ne(i,"part","PlayerAccountGamingLimitsWrapper "+(e[12]?"PlayerAccountMobileGamingLimitsWrapper":"")+" "+(e[17].matches&&e[12]?"PlayerAccountTabletGamingLimitsWrapper":""))},m(e,t){X(e,i,t),g&&g.m(i,null),Z(i,n),Z(i,r),Z(r,o),Z(i,a),Z(i,s),Z(s,l),Z(s,u),Z(s,c),Z(s,d),Z(s,m),Z(s,h),Z(s,f)},p(e,t){e[12]&&g.p(e,t),2048&t&&p!==(p=e[11]("gamingLimits.gamingLimitsText")+"")&&oe(o,p),2&t&&re(l,"limitsdata",e[1]),1&t&&re(l,"playercurrency",e[0]),128&t&&re(l,"lang",e[7]),4&t&&re(c,"limitsdata",e[2]),1&t&&re(c,"playercurrency",e[0]),128&t&&re(c,"lang",e[7]),8&t&&re(m,"limitsdata",e[3]),1&t&&re(m,"playercurrency",e[0]),128&t&&re(m,"lang",e[7]),16&t&&re(f,"limitsdata",e[4]),1&t&&re(f,"playercurrency",e[0]),128&t&&re(f,"lang",e[7])},d(e){e&&J(i),g&&g.d()}}}function Rr(e){let i;function n(e){return e[10]?Nr:Or}let r=n(e),o=r(e);return{c(){o.c(),i=x(),this.c=z},m(e,t){o.m(e,t),X(e,i,t)},p(e,[t]){r===(r=n(e))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(i.parentNode,i)))},i:z,o:z,d(e){o.d(e),e&&J(i)}}}function Yr(t,e,i){let n;N(t,Mn,e=>i(11,n=e));let{depositlimit:r=""}=e,{wageringlimit:o=""}=e,{losslimit:a=""}=e,{timelimit:s=""}=e,{showdeletenotification:l=!1}=e,{showsuccessnotification:u=!1}=e,{lang:c="en"}=e,{playercurrency:d=""}=e;Object.keys(Sn).forEach(e=>{sn(e,Sn[e])});let m,h=window.navigator.userAgent,f="PC"!==An(h),p="",g=!0,y=n("gamingLimits.depositLimit"),v=n("gamingLimits.wageringLimit"),w=n("gamingLimits.lossLimit"),_=n("gamingLimits.timeLimit");const b=window.matchMedia("(min-width: 768px)"),x=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:f},window.location.href)},T=e=>{if(e.data)switch(e.data.type){case"EditPlayerAccountGamingLimits":i(8,m=e.data.edit),i(9,p=e.data.name),i(10,g=!1);break;case"PlayerAccountBackToLimitsView":i(10,g=!0);break;case"ProfileDetailsData":var t=e.data.profileDetails;i(0,d=t.currency)}};return Y(()=>(window.addEventListener("message",T,!1),()=>{window.removeEventListener("message",T)})),t.$$set=e=>{"depositlimit"in e&&i(1,r=e.depositlimit),"wageringlimit"in e&&i(2,o=e.wageringlimit),"losslimit"in e&&i(3,a=e.losslimit),"timelimit"in e&&i(4,s=e.timelimit),"showdeletenotification"in e&&i(5,l=e.showdeletenotification),"showsuccessnotification"in e&&i(6,u=e.showsuccessnotification),"lang"in e&&i(7,c=e.lang),"playercurrency"in e&&i(0,d=e.playercurrency)},t.$$.update=()=>{var e;144&t.$$.dirty&&s&&y&&v&&w&&_&&c&&(e=c,yn.set(e),S())},[d,r,o,a,s,l,u,c,m,p,g,n,f,y,v,w,_,b,x,()=>x()]}customElements.get("player-account-gaming-limits-confirmation-modal")||customElements.define("player-account-gaming-limits-confirmation-modal",class extends H{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:relative;background:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;border-top:5px solid var(--emfe-w-color-secondary, #FD2839);margin:0 20px}.GamingLimitsConfirmationContainer{background:var(--emfe-w-color-gray-50, #F9F8F8);color:var(--emfe-w-color-black, #000000);padding:60px 30px 30px 30px;text-align:center}.GamingLimitsConfirmationContainerMobile{padding:30px}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{width:100%;font-size:18px;line-height:48px;border-radius:5px;color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B);background-color:transparent;text-transform:uppercase;cursor:pointer}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-primary, #D0046C)}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:40px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}</style>",B(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},zn,Vn,i,{modaltext:0,modalsource:6,lang:7}),e&&(e.target&&X(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["modaltext","modalsource","lang"]}get modaltext(){return this.$$.ctx[0]}set modaltext(e){this.$set({modaltext:e}),k()}get modalsource(){return this.$$.ctx[6]}set modalsource(e){this.$set({modalsource:e}),k()}get lang(){return this.$$.ctx[7]}set lang(e){this.$set({lang:e}),k()}}),customElements.get("player-account-gaming-limits-group-edit")||customElements.define("player-account-gaming-limits-group-edit",class extends H{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.MenuReturnButton{color:var(--emfe-w-color-primary, #D0046C);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px;cursor:pointer}.MenuReturnButton svg{fill:var(--emfe-w-color-primary, #D0046C)}.MyAccountCategoryTitle{font-size:26px;color:var(--emfe-w-color-primary, #D0046C);font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:var(--emfe-w-color-primary, #D0046C)}.MyAccountCategoryTitleNone{display:none !important}.AccountEditLimitsWrapper{padding:50px;max-width:760px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper{padding:20px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea{grid-template-columns:1fr}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea .AccountEditLimitsSaveButton{width:100%}.AccountEditLimitsHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:5px;color:var(--emfe-w-color-primary, #D0046C)}.AccountEditLimitsHeader h6{margin:0;font-weight:normal;font-size:16px;line-height:20px}.AccountEditLimitsHeader .AccountEditLimitsIcon{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emfe-w-color-primary, #D0046C);align-items:center;justify-content:center;border-radius:30px;cursor:pointer}.AccountEditLimitChangePeriodIcon{display:flex;width:20px;height:20px;color:var(--emfe-w-color-gray-300, #58586B);background:transparent;border:1px solid var(--emfe-w-color-gray-300, #58586B);align-items:center;justify-content:center;border-radius:30px;cursor:pointer;margin-right:10px}.AccountEditLimitSuccessfulChangeContainer{background:var(--emfe-w-color-primary-50, #FBECF4);border:1px solid var(--emfe-w-color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;padding:10px}.AccountEditLimitSuccessfulChangeContainer p{margin:0}.AccountEditLimitsIconWrapper{position:relative}.AccountEditLimitsTitle{font-size:16px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);margin:0;padding:10px 0 10px}.AccountEditLimitsExpiryDate{font-size:12px;font-weight:300;color:var(--emfe-w-color-black, #000000)}.AccountEditLimitsContainer{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;direction:ltr}@media only screen and (max-width: 1024px){.AccountEditLimitsContainer{grid-template-columns:1fr;grid-gap:20px}}.AccountEditField{width:100%;font-size:14px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);padding:10px;line-height:16px;background:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;outline:none;transition-duration:0.3s}.AccountEditField:focus,.AccountEditField :focus-within,.AccountEditField :focus-visible,.AccountEditField :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.AccountEditFieldCustom{padding:3%}.AccountEditLimitsPeriodChangeContainer{background:var(--emfe-w-color-gray-50, #F9F8F8);border-radius:5px}.AccountEditLimitsPeriodChangeContainer p{max-width:290px;display:-webkit-box;padding:10px 35px 15px 10px;color:var(--emfe-w-color-gray-300, #58586B);font-size:12px;font-weight:300}.AccountEditLimitsPeriodChangeContainer p .AccountEditLimitChangePeriodIcon{font-size:14px;font-weight:400}.AccountEditLimitsControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;margin-top:35px}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton{padding:12px;cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--emfe-w-color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton.AccountEditLimitsButtonDisabled{background:var(--emfe-w-color-primary, #D0046C);cursor:not-allowed;opacity:0.6}.AccountEditLimitsBox{position:relative}.AccountEditWarningText{position:relative;margin:0}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;position:absolute;top:6px;margin:0;line-height:10px}.AccountEditLimitsInputContainer{position:relative;padding-top:10px;width:94%}</style>",B(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},mr,dr,i,{limitsdata:0,showsuccessnotification:1,showdeletenotification:2,limitname:3,playercurrency:4,lang:5},[-1,-1]),e&&(e.target&&X(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["limitsdata","showsuccessnotification","showdeletenotification","limitname","playercurrency","lang"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(e){this.$set({limitsdata:e}),k()}get showsuccessnotification(){return this.$$.ctx[1]}set showsuccessnotification(e){this.$set({showsuccessnotification:e}),k()}get showdeletenotification(){return this.$$.ctx[2]}set showdeletenotification(e){this.$set({showdeletenotification:e}),k()}get limitname(){return this.$$.ctx[3]}set limitname(e){this.$set({limitname:e}),k()}get playercurrency(){return this.$$.ctx[4]}set playercurrency(e){this.$set({playercurrency:e}),k()}get lang(){return this.$$.ctx[5]}set lang(e){this.$set({lang:e}),k()}}),customElements.get("player-account-gaming-limits-info-card")||customElements.define("player-account-gaming-limits-info-card",class extends H{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.InfoCard{padding:20px;color:var(--emfe-w-color-black, #000000);background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 3px 12px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emfe-w-color-primary, #D0046C);align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:var(--emfe-w-color-gray-300, #58586B);font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:var(--emfe-w-color-secondary, #FD2839);border:1px solid var(--emfe-w-color-secondary, #FD2839)}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:\"\\274c\";font-size:7px;color:var(--emfe-w-color-secondary, #FD2839);line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:var(--emfe-w-color-gray-50, #F9F8F8)}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--emfe-w-color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);margin-right:10px}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid var(--emfe-w-color-black, #000000)}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emfe-w-color-primary, #D0046C);align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B)}</style>",B(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Pr,kr,i,{limitsdata:0,limitname:1,playercurrency:2,lang:3},[-1,-1]),e&&(e.target&&X(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["limitsdata","limitname","playercurrency","lang"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(e){this.$set({limitsdata:e}),k()}get limitname(){return this.$$.ctx[1]}set limitname(e){this.$set({limitname:e}),k()}get playercurrency(){return this.$$.ctx[2]}set playercurrency(e){this.$set({playercurrency:e}),k()}get lang(){return this.$$.ctx[3]}set lang(e){this.$set({lang:e}),k()}});class Fr extends H{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerAccountGamingLimitsWrapper{color:var(--emfe-w-color-primary, #D0046C);padding:50px;max-width:760px}.PlayerGamingLimitsTitle{font-size:26px;color:var(--emfe-w-color-primary, #D0046C);font-weight:400}.PlayerGamingLimitsTitleMobile{font-size:16px;color:var(--emfe-w-color-primary, #D0046C)}.PlayerGamingLimitsTitleNone{display:none}.MenuReturnButton{color:var(--emfe-w-color-primary, #D0046C);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-color-primary, #D0046C)}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:var(--emfe-w-color-white, #FFFFFF);max-width:unset}.PlayerAccountTabletGamingLimitsWrapper{padding:40px 25% 40px 25%}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}</style>",B(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Yr,Rr,i,{depositlimit:1,wageringlimit:2,losslimit:3,timelimit:4,showdeletenotification:5,showsuccessnotification:6,lang:7,playercurrency:0}),e&&(e.target&&X(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["depositlimit","wageringlimit","losslimit","timelimit","showdeletenotification","showsuccessnotification","lang","playercurrency"]}get depositlimit(){return this.$$.ctx[1]}set depositlimit(e){this.$set({depositlimit:e}),k()}get wageringlimit(){return this.$$.ctx[2]}set wageringlimit(e){this.$set({wageringlimit:e}),k()}get losslimit(){return this.$$.ctx[3]}set losslimit(e){this.$set({losslimit:e}),k()}get timelimit(){return this.$$.ctx[4]}set timelimit(e){this.$set({timelimit:e}),k()}get showdeletenotification(){return this.$$.ctx[5]}set showdeletenotification(e){this.$set({showdeletenotification:e}),k()}get showsuccessnotification(){return this.$$.ctx[6]}set showsuccessnotification(e){this.$set({showsuccessnotification:e}),k()}get lang(){return this.$$.ctx[7]}set lang(e){this.$set({lang:e}),k()}get playercurrency(){return this.$$.ctx[0]}set playercurrency(e){this.$set({playercurrency:e}),k()}}return customElements.get("player-account-gaming-limits")||customElements.define("player-account-gaming-limits",Fr),Fr});
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 z(){}const h=e=>e;function c(e){return e()}function d(){return Object.create(null)}function q(e){e.forEach(c)}function w(e){return"function"==typeof e}function i(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function m(e,...t){if(null==e)return z;const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function N(e,t,i){e.$$.on_destroy.push(m(t,i))}var e="undefined"!=typeof window;let g=e?()=>window.performance.now():()=>Date.now(),y=e?e=>requestAnimationFrame(e):z;const v=new Set;function _(t){v.forEach(e=>{e.c(t)||(v.delete(e),e.f())}),0!==v.size&&y(_)}function Z(e,t){e.appendChild(t)}function X(e,t,i){e.insertBefore(t,i||null)}function J(e){e.parentNode.removeChild(e)}function b(t,i){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(i)}function Q(e){return document.createElement(e)}function t(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function K(e){return document.createTextNode(e)}function ee(){return K(" ")}function x(){return K("")}function te(e,t,i,n){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i,n)}function ie(t){return function(e){return e.preventDefault(),t.call(this,e)}}function ne(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function re(e,t,i){t in e?e[t]=i:ne(e,t,i)}function R(e){return""===e?null:+e}function oe(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function f(e,t){e.value=null==t?"":t}function T(t,i){for(let e=0;e<t.options.length;e+=1){const n=t.options[e];if(n.__value===i)return n.selected=!0,0}}function n(e){const t={};for(const i of e)t[i.name]=i.value;return t}const E=new Set;let p,L=0;function C(e,t,i,n,r,o,a,s=0){var l=16.666/n;let u="{\n";for(let e=0;e<=1;e+=l){const n=t+(i-t)*o(e);u+=100*e+`%{${a(n,1-n)}}\n`}const c=u+`100% {${a(i,1-i)}}\n}`,d=`__svelte_${function(e){let t=5381,i=e.length;for(;i--;)t=(t<<5)-t^e.charCodeAt(i);return t>>>0}(c)}_${s}`,m=e.ownerDocument;E.add(m);const f=m.__svelte_stylesheet||(m.__svelte_stylesheet=m.head.appendChild(Q("style")).sheet),p=m.__svelte_rules||(m.__svelte_rules={});p[d]||(p[d]=!0,f.insertRule(`@keyframes ${d} ${c}`,f.cssRules.length));s=e.style.animation||"";return e.style.animation=`${s?`${s}, `:""}${d} ${n}ms linear ${r}ms 1 both`,L+=1,d}function M(e){p=e}function Y(e){!function(){if(!p)throw new Error("Function called outside component initialization");return p}().$$.on_mount.push(e)}const A=[],s=[],r=[],o=[],a=Promise.resolve();let l=!1;function S(){l||(l=!0,a.then(k))}function I(e){r.push(e)}let u=!1;const D=new Set;function k(){if(!u){u=!0;do{for(let e=0;e<A.length;e+=1){var t=A[e];M(t),function(e){{var t;null!==e.fragment&&(e.update(),q(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(I))}}(t.$$)}for(M(null),A.length=0;s.length;)s.pop()();for(let e=0;e<r.length;e+=1){const i=r[e];D.has(i)||(D.add(i),i())}}while(r.length=0,A.length);for(;o.length;)o.pop()();l=!1,u=!1,D.clear()}}let P;function O(e,t,i){e.dispatchEvent(function(e){const t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}(`${t?"intro":"outro"}${i}`))}const F=new Set;let U;function G(e,t){e&&e.i&&(F.delete(e),e.i(t))}function $(e,t,i,n){e&&e.o&&(F.has(e)||(F.add(e),U.c.push(()=>{F.delete(e),n&&(i&&e.d(1),n())}),e.o(t)))}const W={duration:0};function j(s,e,t,i){let l=e(s,t),u=i?0:1,c=null,d=null,m=null;function f(){m&&function(e,t){const i=(e.style.animation||"").split(", "),n=i.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),r=i.length-n.length;r&&(e.style.animation=n.join(", "),L-=r,L||y(()=>{L||(E.forEach(e=>{const t=e.__svelte_stylesheet;let i=t.cssRules.length;for(;i--;)t.deleteRule(i);e.__svelte_rules={}}),E.clear())}))}(s,m)}function p(e,t){var i=e.b-u;return t*=Math.abs(i),{a:u,b:e.b,d:i,duration:t,start:e.start,end:e.start+t,group:e.group}}function n(e){const{delay:t=0,duration:i=300,easing:n=h,tick:r=z,css:o}=l||W,a={start:g()+t,b:e};e||(a.group=U,U.r+=1),c||d?d=a:(o&&(f(),m=C(s,u,e,i,t,n,o)),e&&r(0,1),c=p(a,i),I(()=>O(s,e,"start")),function(t){let i;0===v.size&&y(_),new Promise(e=>{v.add(i={c:t,f:e})})}(e=>{return d&&e>d.start&&(c=p(d,i),d=null,O(s,c.b,"start"),o&&(f(),m=C(s,u,c.b,c.duration,0,n,l.css))),c&&(e>=c.end?(r(u=c.b,1-u),O(s,c.b,"end"),d||(c.b?f():--c.group.r||q(c.group.c)),c=null):e>=c.start&&(e=e-c.start,u=c.a+c.d*n(e/c.duration),r(u,1-u))),!(!c&&!d)}))}return{run(e){w(l)?(P||(P=Promise.resolve(),P.then(()=>{P=null})),P.then(()=>{l=l(),n(e)})):n(e)},end(){f(),c=d=null}}}function V(n,e,t,i,r,o,a=[-1]){var s=p;M(n);const l=n.$$={fragment:null,ctx:null,props:o,update:z,not_equal:r,bound:d(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s?s.$$.context:e.context||[]),callbacks:d(),dirty:a,skip_bound:!1};let u=!1;if(l.ctx=t?t(n,e.props||{},(e,t,...i)=>{i=i.length?i[0]:t;return l.ctx&&r(l.ctx[e],l.ctx[e]=i)&&(!l.skip_bound&&l.bound[e]&&l.bound[e](i),u&&(i=e,-1===(e=n).$$.dirty[0]&&(A.push(e),S(),e.$$.dirty.fill(0)),e.$$.dirty[i/31|0]|=1<<i%31)),t}):[],l.update(),u=!0,q(l.before_update),l.fragment=!!i&&i(l.ctx),e.target){if(e.hydrate){const z=(i=e.target,Array.from(i.childNodes));l.fragment&&l.fragment.l(z),z.forEach(J)}else l.fragment&&l.fragment.c();e.intro&&G(n.$$.fragment),function(t,e,i,n){const{fragment:r,on_mount:o,on_destroy:a,after_update:s}=t.$$;r&&r.m(e,i),n||I(()=>{var e=o.map(c).filter(w);a?a.push(...e):q(e),t.$$.on_mount=[]}),s.forEach(I)}(n,e.target,e.anchor,e.customElement),k()}M(s)}let B;"function"==typeof HTMLElement&&(B=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(c).filter(w);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,i){this[e]=i}disconnectedCallback(){q(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(q(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=z}$on(e,t){const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{var e=i.indexOf(t);-1!==e&&i.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var H,ae,se="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==se&&se,le="URLSearchParams"in se,ue="Symbol"in se&&"iterator"in Symbol,ce="FileReader"in se&&"Blob"in se&&function(){try{return new Blob,!0}catch(e){return!1}}(),de="FormData"in se,me="ArrayBuffer"in se;function fe(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 pe(e){return e="string"!=typeof e?String(e):e}function he(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return ue&&(e[Symbol.iterator]=function(){return e}),e}function ge(t){this.map={},t instanceof ge?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function ye(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ve(i){return new Promise(function(e,t){i.onload=function(){e(i.result)},i.onerror=function(){t(i.error)}})}function we(e){var t=new FileReader,i=ve(t);return t.readAsArrayBuffer(e),i}function _e(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function be(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:ce&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:de&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:le&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():me&&ce&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=_e(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):me&&(ArrayBuffer.prototype.isPrototypeOf(e)||ae(e))?this._bodyArrayBuffer=_e(e):this._bodyText=e=Object.prototype.toString.call(e):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):le&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ce&&(this.blob=function(){var e=ye(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(){return this._bodyArrayBuffer?ye(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(we)}),this.text=function(){var e,t,i=ye(this);if(i)return i;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,i=ve(t),t.readAsText(e),i;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),i=new Array(t.length),n=0;n<t.length;n++)i[n]=String.fromCharCode(t[n]);return i.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},de&&(this.formData=function(){return this.text().then(Ee)}),this.json=function(){return this.text().then(JSON.parse)},this}me&&(H=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],ae=ArrayBuffer.isView||function(e){return e&&-1<H.indexOf(Object.prototype.toString.call(e))}),ge.prototype.append=function(e,t){e=fe(e),t=pe(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},ge.prototype.delete=function(e){delete this.map[fe(e)]},ge.prototype.get=function(e){return e=fe(e),this.has(e)?this.map[e]:null},ge.prototype.has=function(e){return this.map.hasOwnProperty(fe(e))},ge.prototype.set=function(e,t){this.map[fe(e)]=pe(t)},ge.prototype.forEach=function(e,t){for(var i in this.map)this.map.hasOwnProperty(i)&&e.call(t,this.map[i],i,this)},ge.prototype.keys=function(){var i=[];return this.forEach(function(e,t){i.push(t)}),he(i)},ge.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),he(t)},ge.prototype.entries=function(){var i=[];return this.forEach(function(e,t){i.push([t,e])}),he(i)},ue&&(ge.prototype[Symbol.iterator]=ge.prototype.entries);var xe=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Te(e,t){if(!(this instanceof Te))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var i,n=(t=t||{}).body;if(e instanceof Te){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new ge(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 ge(t.headers)),this.method=(e=(i=t.method||this.method||"GET").toUpperCase(),-1<xe.indexOf(e)?e:i),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Ee(e){var i=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),i.append(decodeURIComponent(e),decodeURIComponent(t)))}),i}function Le(e,t){if(!(this instanceof Le))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new ge(t.headers),this.url=t.url||"",this._initBody(e)}Te.prototype.clone=function(){return new Te(this,{body:this._bodyInit})},be.call(Te.prototype),be.call(Le.prototype),Le.prototype.clone=function(){return new Le(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new ge(this.headers),url:this.url})},Le.error=function(){var e=new Le(null,{status:0,statusText:""});return e.type="error",e};var Ce=[301,302,303,307,308];Le.redirect=function(e,t){if(-1===Ce.indexOf(t))throw new RangeError("Invalid status code");return new Le(null,{status:t,headers:{location:e}})};var Me=se.DOMException;try{new Me}catch(z){(Me=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),Me.prototype.constructor=Me}function Ae(n,a){return new Promise(function(r,e){var t=new Te(n,a);if(t.signal&&t.signal.aborted)return e(new Me("Aborted","AbortError"));var o=new XMLHttpRequest;function i(){o.abort()}o.onload=function(){var e,i,t={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",i=new ge,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 t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),i.append(e,t))}),i)};t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL");var n="response"in o?o.response:o.responseText;setTimeout(function(){r(new Le(n,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){e(new Me("Aborted","AbortError"))},0)},o.open(t.method,function(t){try{return""===t&&se.location.href?se.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?o.withCredentials=!0:"omit"===t.credentials&&(o.withCredentials=!1),"responseType"in o&&(ce?o.responseType="blob":me&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof ge?t.headers.forEach(function(e,t){o.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){o.setRequestHeader(e,pe(a.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",i),o.onreadystatechange=function(){4===o.readyState&&t.signal.removeEventListener("abort",i)}),o.send(void 0===t._bodyInit?null:t._bodyInit)})}function Ii(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Ae.polyfill=!0,se.fetch||(se.fetch=Ae,se.Headers=ge,se.Request=Te,se.Response=Le),self.fetch.bind(self);var Se=function(e,t){return(Se=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])})(e,t)};function Ie(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}Se(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}function De(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&n>=e.length?void 0:e)&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ke(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,r,o=i.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)a.push(n.value)}catch(e){r={error:e}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return a}function Pe(e,t){for(var i=0,n=t.length,r=e.length;i<n;i++,r++)e[r]=t[i];return e}function Oe(e){return"function"==typeof e}function Ne(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var Re=Ne(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Ye(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var Fe=(Ge.prototype.unsubscribe=function(){var e,t,i,n,r;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=De(o),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else o.remove(this);o=this.initialTeardown;if(Oe(o))try{o()}catch(e){r=e instanceof Re?e.errors:[e]}o=this._teardowns;if(o){this._teardowns=null;try{for(var l=De(o),u=l.next();!u.done;u=l.next()){var c=u.value;try{We(c)}catch(e){r=null!=r?r:[],e instanceof Re?r=Pe(Pe([],ke(r)),ke(e.errors)):r.push(e)}}}catch(e){i={error:e}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(i)throw i.error}}}if(r)throw new Re(r)}},Ge.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)We(e);else{if(e instanceof Ge){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},Ge.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Ge.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Ge.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ye(t,e)},Ge.prototype.remove=function(e){var t=this._teardowns;t&&Ye(t,e),e instanceof Ge&&e._removeParent(this)},Ge.EMPTY=((ui=new Ge).closed=!0,ui),Ge),Ue=Fe.EMPTY;function Ge(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function $e(e){return e instanceof Fe||e&&"closed"in e&&Oe(e.remove)&&Oe(e.add)&&Oe(e.unsubscribe)}function We(e){Oe(e)?e():e.unsubscribe()}var je=void 0,Ve=!1,Be=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,Pe([],ke(e)))};function He(){}function ze(e){e()}var qe,Ze,Xe=(Ie(Ke,Ze=Fe),Ke.create=function(e,t,i){return new Je(e,t,i)},Ke.prototype.next=function(e){this.isStopped||this._next(e)},Ke.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ke.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ke.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Ze.prototype.unsubscribe.call(this),this.destination=null)},Ke.prototype._next=function(e){this.destination.next(e)},Ke.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ke.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Ke),Je=(Ie(Qe,qe=Xe),Qe);function Qe(e,t,i){var n,r,o=qe.call(this)||this;return Oe(e)?r=e:e&&(r=e.next,t=e.error,i=e.complete,o&&Ve?(n=Object.create(e)).unsubscribe=function(){return o.unsubscribe()}:n=e,r=null==r?void 0:r.bind(n),t=null==t?void 0:t.bind(n),i=null==i?void 0:i.bind(n)),o.destination={next:r?et(r):He,error:et(null!=t?t:tt),complete:i?et(i):He},o}function Ke(e){var t=Ze.call(this)||this;return t.isStopped=!1,e?$e(t.destination=e)&&e.add(t):t.destination=it,t}function et(n){return function(){for(var t,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];try{n.apply(void 0,Pe([],ke(e)))}catch(e){t=e,Be(function(){throw t})}}}function tt(e){throw e}var it={closed:!0,next:He,error:tt,complete:He},nt="function"==typeof Symbol&&Symbol.observable||"@@observable";function rt(e){return e}var ot=(at.prototype.lift=function(e){var t=new at;return t.source=this,t.operator=e,t},at.prototype.subscribe=function(e,t,i){var n,r=this,o=(n=e)&&n instanceof Xe||n&&Oe(n.next)&&Oe(n.error)&&Oe(n.complete)&&$e(n)?e:new Je(e,t,i);return ze(function(){var e=r.operator,t=r.source;o.add(e?e.call(o,t):t?r._subscribe(o):r._trySubscribe(o))}),o},at.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},at.prototype.forEach=function(n,e){var r=this;return new(e=st(e))(function(e,t){var i=r.subscribe(function(e){try{n(e)}catch(e){t(e),null==i||i.unsubscribe()}},t,e)})},at.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},at.prototype[nt]=function(){return this},at.prototype.pipe=function(){for(var t,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return(0===(t=e).length?rt:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},at.prototype.toPromise=function(e){var n=this;return new(e=st(e))(function(e,t){var i;n.subscribe(function(e){return i=e},function(e){return t(e)},function(){return e(i)})})},at.create=function(e){return new at(e)},at);function at(e){e&&(this._subscribe=e)}function st(e){return null!==(e=null!=e?e:je)&&void 0!==e?e:Promise}var lt,ut,ct,dt=Ne(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),mt=(Ie(vt,ct=ot),vt.prototype.lift=function(e){var t=new ft(this,this);return t.operator=e,t},vt.prototype._throwIfClosed=function(){if(this.closed)throw new dt},vt.prototype.next=function(o){var a=this;ze(function(){var t,e;if(a._throwIfClosed(),!a.isStopped){var i=a.observers.slice();try{for(var n=De(i),r=n.next();!r.done;r=n.next())r.value.next(o)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},vt.prototype.error=function(t){var i=this;ze(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=t;for(var e=i.observers;e.length;)e.shift().error(t)}})},vt.prototype.complete=function(){var t=this;ze(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},vt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(vt.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),vt.prototype._trySubscribe=function(e){return this._throwIfClosed(),ct.prototype._trySubscribe.call(this,e)},vt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},vt.prototype._innerSubscribe=function(e){var t=this.hasError,i=this.isStopped,n=this.observers;return t||i?Ue:(n.push(e),new Fe(function(){return Ye(n,e)}))},vt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,i=this.thrownError,n=this.isStopped;t?e.error(i):n&&e.complete()},vt.prototype.asObservable=function(){var e=new ot;return e.source=this,e},vt.create=function(e,t){return new ft(e,t)},vt),ft=(Ie(yt,ut=mt),yt.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)},yt.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)},yt.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)},yt.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:Ue},yt),pt={now:function(){return(pt.delegate||Date).now()},delegate:void 0},ht=(Ie(gt,lt=mt),gt.prototype.next=function(e){var t=this,i=t.isStopped,n=t._buffer,r=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;i||(n.push(e),r||n.push(o.now()+t)),this._trimBuffer(),lt.prototype.next.call(this,e)},gt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),i=this._infiniteTimeWindow,n=this._buffer.slice(),r=0;r<n.length&&!e.closed;r+=i?1:2)e.next(n[r]);return this._checkFinalizedStatuses(e),t},gt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,i=this._buffer,n=this._infiniteTimeWindow,r=(n?1:2)*e;if(e<1/0&&r<i.length&&i.splice(0,i.length-r),!n){for(var o=t.now(),a=0,s=1;s<i.length&&i[s]<=o;s+=2)a=s;a&&i.splice(0,a+1)}},gt);function gt(e,t,i){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===i&&(i=pt);var n=lt.call(this)||this;return n._bufferSize=e,n._windowTime=t,n._timestampProvider=i,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=t===1/0,n._bufferSize=Math.max(1,e),n._windowTime=Math.max(1,t),n}function yt(e,t){var i=ut.call(this)||this;return i.destination=e,i.source=t,i}function vt(){var e=ct.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let wt=[],_t={};const bt=[];function xt(n,r=z){let o;const a=[];function s(e){if(i(n,e)&&(n=e,o)){const e=!bt.length;for(let e=0;e<a.length;e+=1){const t=a[e];t[1](),bt.push(t,n)}if(e){for(let e=0;e<bt.length;e+=2)bt[e][0](bt[e+1]);bt.length=0}}}return{set:s,update:function(e){s(e(n))},subscribe:function(e,t=z){const i=[e,t];return a.push(i),1===a.length&&(o=r(s)||z),e(n),()=>{var e=a.indexOf(i);-1!==e&&a.splice(e,1),0===a.length&&(o(),o=null)}}}}function Tt(e,s,t){const l=!Array.isArray(e),u=l?[e]:e,c=s.length<2;return{subscribe:xt(t,t=>{let i=!1;const n=[];let r=0,o=z;const a=()=>{var e;r||(o(),e=s(l?n[0]:n,t),c?t(e):o=w(e)?e:z)},e=u.map((e,t)=>m(e,e=>{n[t]=e,r&=~(1<<t),i&&a()},()=>{r|=1<<t}));return i=!0,a(),function(){q(e),o()}}).subscribe}}var Et=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===Lt));var t},Lt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Ct(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Dt(Array.isArray(e)?[]:{},e,t):e}function Mt(e,t,i){return e.concat(t).map(function(e){return Ct(e,i)})}function At(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function St(e,t){try{return t in e}catch(e){return!1}}function It(n,r,o){var a={};return o.isMergeableObject(n)&&At(n).forEach(function(e){a[e]=Ct(n[e],o)}),At(r).forEach(function(t){var e,i;(!St(e=n,i=t)||Object.hasOwnProperty.call(e,i)&&Object.propertyIsEnumerable.call(e,i))&&(St(n,t)&&o.isMergeableObject(r[t])?a[t]=function(){if(!o.customMerge)return Dt;var e=o.customMerge(t);return"function"==typeof e?e:Dt}()(n[t],r[t],o):a[t]=Ct(r[t],o))}),a}function Dt(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||Mt,i.isMergeableObject=i.isMergeableObject||Et,i.cloneUnlessOtherwiseSpecified=Ct;var n=Array.isArray(t);return n===Array.isArray(e)?n?i.arrayMerge(e,t,i):It(e,t,i):Ct(t,i)}Dt.all=function(e,i){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return Dt(e,t,i)},{})};var kt=Dt,Pt=function(e,t){return(Pt=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])})(e,t)};function Ot(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}Pt(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var Nt,Rt,Yt,Ft=function(){return(Ft=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function Ut(e,t){for(var i=0,n=t.length,r=e.length;i<n;i++,r++)e[r]=t[i];return e}function Gt(e){return e.type===Rt.literal}function $t(e){return e.type===Rt.number}function Wt(e){return e.type===Rt.date}function jt(e){return e.type===Rt.time}function Vt(e){return e.type===Rt.select}function Bt(e){return e.type===Rt.plural}function Ht(e){return e.type===Rt.tag}function zt(e){return e&&"object"==typeof e&&e.type===Yt.number}function qt(e){return e&&"object"==typeof e&&e.type===Yt.dateTime}(ci=Nt=Nt||{})[ci.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",ci[ci.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",ci[ci.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",ci[ci.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",ci[ci.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",ci[ci.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",ci[ci.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",ci[ci.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",ci[ci.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",ci[ci.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",ci[ci.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",ci[ci.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",ci[ci.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",ci[ci.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",ci[ci.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",ci[ci.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",ci[ci.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",ci[ci.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",ci[ci.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",ci[ci.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",ci[ci.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",ci[ci.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",ci[ci.INVALID_TAG=23]="INVALID_TAG",ci[ci.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",ci[ci.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",ci[ci.UNCLOSED_TAG=27]="UNCLOSED_TAG",(di=Rt=Rt||{})[di.literal=0]="literal",di[di.argument=1]="argument",di[di.number=2]="number",di[di.date=3]="date",di[di.time=4]="time",di[di.select=5]="select",di[di.plural=6]="plural",di[di.pound=7]="pound",di[di.tag=8]="tag",(mi=Yt=Yt||{})[mi.number=0]="number",mi[mi.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Zt=/(?:[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;var Xt,Jt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Qt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Kt=/^(@+)?(\+|#+)?$/g,ei=/(\*)(0+)|(#+)(0+)|(0+)/g,ti=/^(0+)$/;function ii(e){var n={};return e.replace(Kt,function(e,t,i){return"string"!=typeof i?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===i?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof i?i.length:0)),""}),n}function ni(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 ri(e){return ni(e)||{}}function oi(e){for(var a={},t=0,i=e;t<i.length;t++){var n,r=i[t];switch(r.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=r.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=Ft(Ft(Ft({},a),{notation:"scientific"}),r.options.reduce(function(e,t){return Ft(Ft({},e),ri(t))},{}));continue;case"engineering":a=Ft(Ft(Ft({},a),{notation:"engineering"}),r.options.reduce(function(e,t){return Ft(Ft({},e),ri(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(r.options[0]);continue;case"integer-width":if(1<r.options.length)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(ei,function(e,t,i,n,r,o){if(t)a.minimumIntegerDigits=i.length;else{if(n&&r)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ti.test(r.stem))a.minimumIntegerDigits=r.stem.length;else if(Qt.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Qt,function(e,t,i,n,r,o){return"*"===i?a.minimumFractionDigits=t.length:n&&"#"===n[0]?a.maximumFractionDigits=n.length:r&&o?(a.minimumFractionDigits=r.length,a.maximumFractionDigits=r.length+o.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""}),r.options.length&&(a=Ft(Ft({},a),ii(r.options[0])))}else Kt.test(r.stem)?a=Ft(Ft({},a),ii(r.stem)):((n=ni(r.stem))&&(a=Ft(Ft({},a),n)),(n=function(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)),!ti.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem))&&(a=Ft(Ft({},a),n)))}return a}var ai=new RegExp("^"+e.source+"*"),si=new RegExp(e.source+"*$");function li(e,t){return{start:e,end:t}}var ui=!!String.prototype.startsWith,nt=!!String.fromCodePoint,mt=!!Object.fromEntries,ci=!!String.prototype.codePointAt,di=!!String.prototype.trimStart,mi=!!String.prototype.trimEnd,fi=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},e=!0;try{e="a"===(null===(Xt=xi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Xt?void 0:Xt[0])}catch(z){e=!1}var pi,hi,gi=ui?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},yi=nt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,n="",r=e.length,o=0;o<r;){if(1114111<(i=e[o++]))throw RangeError(i+" is not a valid code point");n+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return n},vi=mt?Object.fromEntries:function(e){for(var t={},i=0,n=e;i<n.length;i++){var r=n[i],o=r[0],r=r[1];t[o]=r}return t},wi=ci?function(e,t){return e.codePointAt(t)}:function(e,t){var i=e.length;if(!(t<0||i<=t)){var n,r=e.charCodeAt(t);return r<55296||56319<r||t+1===i||(n=e.charCodeAt(t+1))<56320||57343<n?r:n-56320+(r-55296<<10)+65536}},_i=di?function(e){return e.trimStart()}:function(e){return e.replace(ai,"")},bi=mi?function(e){return e.trimEnd()}:function(e){return e.replace(si,"")};function xi(e,t){return new RegExp(e,t)}hi=e?(pi=xi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return pi.lastIndex=t,null!==(e=pi.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var i,n=[];;){var r=wi(e,t);if(void 0===r||Ci(r)||(33<=(i=r)&&i<=35||36===i||37<=i&&i<=39||40===i||41===i||42===i||43===i||44===i||45===i||46<=i&&i<=47||58<=i&&i<=59||60<=i&&i<=62||63<=i&&i<=64||91===i||92===i||93===i||94===i||96===i||123===i||124===i||125===i||126===i||161===i||162<=i&&i<=165||166===i||167===i||169===i||171===i||172===i||174===i||176===i||177===i||182===i||187===i||191===i||215===i||247===i||8208<=i&&i<=8213||8214<=i&&i<=8215||8216===i||8217===i||8218===i||8219<=i&&i<=8220||8221===i||8222===i||8223===i||8224<=i&&i<=8231||8240<=i&&i<=8248||8249===i||8250===i||8251<=i&&i<=8254||8257<=i&&i<=8259||8260===i||8261===i||8262===i||8263<=i&&i<=8273||8274===i||8275===i||8277<=i&&i<=8286||8592<=i&&i<=8596||8597<=i&&i<=8601||8602<=i&&i<=8603||8604<=i&&i<=8607||8608===i||8609<=i&&i<=8610||8611===i||8612<=i&&i<=8613||8614===i||8615<=i&&i<=8621||8622===i||8623<=i&&i<=8653||8654<=i&&i<=8655||8656<=i&&i<=8657||8658===i||8659===i||8660===i||8661<=i&&i<=8691||8692<=i&&i<=8959||8960<=i&&i<=8967||8968===i||8969===i||8970===i||8971===i||8972<=i&&i<=8991||8992<=i&&i<=8993||8994<=i&&i<=9e3||9001===i||9002===i||9003<=i&&i<=9083||9084===i||9085<=i&&i<=9114||9115<=i&&i<=9139||9140<=i&&i<=9179||9180<=i&&i<=9185||9186<=i&&i<=9254||9255<=i&&i<=9279||9280<=i&&i<=9290||9291<=i&&i<=9311||9472<=i&&i<=9654||9655===i||9656<=i&&i<=9664||9665===i||9666<=i&&i<=9719||9720<=i&&i<=9727||9728<=i&&i<=9838||9839===i||9840<=i&&i<=10087||10088===i||10089===i||10090===i||10091===i||10092===i||10093===i||10094===i||10095===i||10096===i||10097===i||10098===i||10099===i||10100===i||10101===i||10132<=i&&i<=10175||10176<=i&&i<=10180||10181===i||10182===i||10183<=i&&i<=10213||10214===i||10215===i||10216===i||10217===i||10218===i||10219===i||10220===i||10221===i||10222===i||10223===i||10224<=i&&i<=10239||10240<=i&&i<=10495||10496<=i&&i<=10626||10627===i||10628===i||10629===i||10630===i||10631===i||10632===i||10633===i||10634===i||10635===i||10636===i||10637===i||10638===i||10639===i||10640===i||10641===i||10642===i||10643===i||10644===i||10645===i||10646===i||10647===i||10648===i||10649<=i&&i<=10711||10712===i||10713===i||10714===i||10715===i||10716<=i&&i<=10747||10748===i||10749===i||10750<=i&&i<=11007||11008<=i&&i<=11055||11056<=i&&i<=11076||11077<=i&&i<=11078||11079<=i&&i<=11084||11085<=i&&i<=11123||11124<=i&&i<=11125||11126<=i&&i<=11157||11158===i||11159<=i&&i<=11263||11776<=i&&i<=11777||11778===i||11779===i||11780===i||11781===i||11782<=i&&i<=11784||11785===i||11786===i||11787===i||11788===i||11789===i||11790<=i&&i<=11798||11799===i||11800<=i&&i<=11801||11802===i||11803===i||11804===i||11805===i||11806<=i&&i<=11807||11808===i||11809===i||11810===i||11811===i||11812===i||11813===i||11814===i||11815===i||11816===i||11817===i||11818<=i&&i<=11822||11823===i||11824<=i&&i<=11833||11834<=i&&i<=11835||11836<=i&&i<=11839||11840===i||11841===i||11842===i||11843<=i&&i<=11855||11856<=i&&i<=11857||11858===i||11859<=i&&i<=11903||12289<=i&&i<=12291||12296===i||12297===i||12298===i||12299===i||12300===i||12301===i||12302===i||12303===i||12304===i||12305===i||12306<=i&&i<=12307||12308===i||12309===i||12310===i||12311===i||12312===i||12313===i||12314===i||12315===i||12316===i||12317===i||12318<=i&&i<=12319||12320===i||12336===i||64830===i||64831===i||65093<=i&&i<=65094))break;n.push(r),t+=65536<=r?2:1}return yi.apply(void 0,n)};var Ti=(Ei.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Ei.prototype.parseMessage=function(e,t,i){for(var n=[];!this.isEOF();){var r,o=this.char();if(123===o){if((r=this.parseArgument(e,i)).err)return r;n.push(r.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(Nt.UNMATCHED_CLOSING_TAG,li(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Li(this.peek()||0)){if((r=this.parseTag(e,t)).err)return r;n.push(r.val)}else{if((r=this.parseLiteral(e,t)).err)return r;n.push(r.val)}}else{o=this.clonePosition();this.bump(),n.push({type:Rt.pound,location:li(o,this.clonePosition())})}}}return{val:n,err:null}},Ei.prototype.parseTag=function(e,t){var i=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Rt.literal,value:"<"+n+"/>",location:li(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,t,!0);if(r.err)return r;e=r.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Li(this.char()))return this.error(Nt.INVALID_TAG,li(t,this.clonePosition()));r=this.clonePosition();return n!==this.parseTagName()?this.error(Nt.UNMATCHED_CLOSING_TAG,li(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Rt.tag,value:n,children:e,location:li(i,this.clonePosition())},err:null}:this.error(Nt.INVALID_TAG,li(t,this.clonePosition())))}return this.error(Nt.UNCLOSED_TAG,li(i,this.clonePosition()))}return this.error(Nt.INVALID_TAG,li(i,this.clonePosition()))},Ei.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},Ei.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),n="";;){var r=this.tryParseQuote(t);if(r)n+=r;else{r=this.tryParseUnquoted(e,t);if(r)n+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;n+=r}}}i=li(i,this.clonePosition());return{val:{type:Rt.literal,value:n,location:i},err:null}},Ei.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Li(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},Ei.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 yi.apply(void 0,t)},Ei.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&&0<e?null:(this.bump(),yi(i))},Ei.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Nt.EXPECT_ARGUMENT_CLOSING_BRACE,li(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Nt.EMPTY_ARGUMENT,li(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(Nt.MALFORMED_ARGUMENT,li(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Nt.EXPECT_ARGUMENT_CLOSING_BRACE,li(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Rt.argument,value:n,location:li(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Nt.EXPECT_ARGUMENT_CLOSING_BRACE,li(i,this.clonePosition())):this.parseArgumentOptions(e,t,n,i);default:return this.error(Nt.MALFORMED_ARGUMENT,li(i,this.clonePosition()))}},Ei.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=hi(this.message,t),t=t+i.length;return this.bumpTo(t),{value:i,location:li(e,this.clonePosition())}},Ei.prototype.parseArgumentOptions=function(e,t,i,n){var r,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(Nt.EXPECT_ARGUMENT_TYPE,li(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(d=bi(m.val)).length)return this.error(Nt.EXPECT_ARGUMENT_STYLE,li(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:li(u,this.clonePosition())}}if((f=this.tryParseArgumentClose(n)).err)return f;var c=li(n,this.clonePosition());if(l&&gi(null==l?void 0:l.style,"::",0)){u=_i(l.style.slice(2));if("number"===a)return(m=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?m:{val:{type:Rt.number,value:i,location:c,style:m.val},err:null};if(0===u.length)return this.error(Nt.EXPECT_DATE_TIME_SKELETON,c);var d={type:Yt.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},u.replace(Zt,function(e){var t=e.length;switch(e[0]){case"G":r.era=4===t?"long":5===t?"narrow":"short";break;case"y":r.year=2===t?"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":r.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][t-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][t-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][t-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][t-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":r.minute=["numeric","2-digit"][t-1];break;case"s":r.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=t<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""}),r):{}};return{val:{type:"date"===a?Rt.date:Rt.time,value:i,location:c,style:d},err:null}}return{val:{type:"number"===a?Rt.number:"date"===a?Rt.date:Rt.time,value:i,location:c,style:null!==(c=null==l?void 0:l.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Nt.EXPECT_SELECT_ARGUMENT_OPTIONS,li(l,Ft({},l)));this.bumpSpace();var m,c=this.parseIdentifierIfPossible(),l=0;if("select"!==a&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(Nt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,li(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(Nt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Nt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),c=this.parseIdentifierIfPossible(),l=m.val}c=this.tryParsePluralOrSelectOptions(e,a,t,c);if(c.err)return c;if((f=this.tryParseArgumentClose(n)).err)return f;var f=li(n,this.clonePosition());return"select"===a?{val:{type:Rt.select,value:i,options:vi(c.val),location:f},err:null}:{val:{type:Rt.plural,value:i,options:vi(c.val),offset:l,pluralType:"plural"===a?"cardinal":"ordinal",location:f},err:null};default:return this.error(Nt.INVALID_ARGUMENT_TYPE,li(o,s))}},Ei.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Nt.EXPECT_ARGUMENT_CLOSING_BRACE,li(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},Ei.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(Nt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,li(i,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},Ei.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,n=e.split(Jt).filter(function(e){return 0<e.length});i<n.length;i++){var r=n[i].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var o=r[0],r=r.slice(1),a=0,s=r;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:r})}return t}(e)}catch(e){return this.error(Nt.INVALID_NUMBER_SKELETON,t)}return{val:{type:Yt.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?oi(i):{}},err:null}},Ei.prototype.tryParsePluralOrSelectOptions=function(e,t,i,n){for(var r=!1,o=[],a=new Set,s=n.value,l=n.location;;){if(0===s.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(Nt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Nt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=li(u,this.clonePosition()),s=this.message.slice(u.offset,this.offset())}if(a.has(s))return this.error("select"===t?Nt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Nt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(r=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Nt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Nt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,li(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,i);if(c.err)return c;u=this.tryParseArgumentClose(d);if(u.err)return u;o.push([s,{value:c.val,location:li(d,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===o.length?this.error("select"===t?Nt.EXPECT_SELECT_ARGUMENT_SELECTOR:Nt.EXPECT_PLURAL_ARGUMENT_SELECTOR,li(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(Nt.MISSING_OTHER_CLAUSE,li(this.clonePosition(),this.clonePosition())):{val:o,err:null}},Ei.prototype.tryParseDecimalInteger=function(e,t){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var r=!1,o=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;r=!0,o=10*o+(a-48),this.bump()}n=li(n,this.clonePosition());return r?fi(o*=i)?{val:o,err:null}:this.error(t,n):this.error(e,n)},Ei.prototype.offset=function(){return this.position.offset},Ei.prototype.isEOF=function(){return this.offset()===this.message.length},Ei.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Ei.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=wi(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},Ei.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},Ei.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},Ei.prototype.bumpIf=function(e){if(gi(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},Ei.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},Ei.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},Ei.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ci(this.char());)this.bump()},Ei.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},Ei);function Ei(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Li(e){return 97<=e&&e<=122||65<=e&&e<=90}function Ci(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Mi(e,t){t=Ft({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var i=new Ti(e,t).parse();if(i.err){e=SyntaxError(Nt[i.err.kind]);throw e.location=i.err.location,e.originalMessage=i.err.message,e}return null!=t&&t.captureLocation||function i(e){e.forEach(function(e){if(delete e.location,Vt(e)||Bt(e))for(var t in e.options)delete e.options[t].location,i(e.options[t].value);else $t(e)&&zt(e.style)||(Wt(e)||jt(e))&&qt(e.style)?delete e.style.location:Ht(e)&&i(e.children)})}(i.val),i.val}function Ai(e,t){var i=t&&t.cache?t.cache:Ri,n=t&&t.serializer?t.serializer:Pi;return(t&&t.strategy?t.strategy:function(e,t){return ki(e,this,1===e.length?Si:Di,t.cache.create(),t.serializer)})(e,{cache:i,serializer:n})}function Si(e,t,i,n){var r=null==n||"number"==typeof n||"boolean"==typeof n?n:i(n),i=t.get(r);return void 0===i&&(i=e.call(this,n),t.set(r,i)),i}function Di(e,t,i){var n=Array.prototype.slice.call(arguments,3),r=i(n),i=t.get(r);return void 0===i&&(i=e.apply(this,n),t.set(r,i)),i}function ki(e,t,i,n,r){return i.bind(t,e,n,r)}var Pi=function(){return JSON.stringify(arguments)};function Oi(){this.cache=Object.create(null)}Oi.prototype.has=function(e){return e in this.cache},Oi.prototype.get=function(e){return this.cache[e]},Oi.prototype.set=function(e,t){this.cache[e]=t};var Ni,Ri={create:function(){return new Oi}},Yi={variadic:function(e,t){return ki(e,this,Di,t.cache.create(),t.serializer)},monadic:function(e,t){return ki(e,this,Si,t.cache.create(),t.serializer)}};(e=Ni=Ni||{}).MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API";var Fi,Ui,Gi,$i,Wi,ji=(Ot(Xi,Wi=Error),Xi.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Xi),Vi=(Ot(Zi,$i=ji),Zi),Bi=(Ot(qi,Gi=ji),qi),Hi=(Ot(zi,Ui=ji),zi);function zi(e,t){return Ui.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',Ni.MISSING_VALUE,t)||this}function qi(e,t,i){return Gi.call(this,'Value for "'+e+'" must be of type '+t,Ni.INVALID_VALUE,i)||this}function Zi(e,t,i,n){return $i.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(i).join('", "')+'"',Ni.INVALID_VALUE,n)||this}function Xi(e,t,i){e=Wi.call(this,e)||this;return e.code=t,e.originalMessage=i,e}function Ji(e,t,i,n,r,o,a){if(1===e.length&&Gt(e[0]))return[{type:Fi.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var c=u[l];if(Gt(c))s.push({type:Fi.literal,value:c.value});else if(c.type===Rt.pound)"number"==typeof o&&s.push({type:Fi.literal,value:i.getNumberFormat(t).format(o)});else{var d=c.value;if(!(r&&d in r))throw new Hi(d,a);var m=r[d];if(c.type===Rt.argument)m&&"string"!=typeof m&&"number"!=typeof m||(m="string"==typeof m||"number"==typeof m?String(m):""),s.push({type:"string"==typeof m?Fi.literal:Fi.object,value:m});else if(Wt(c)){var f="string"==typeof c.style?n.date[c.style]:qt(c.style)?c.style.parsedOptions:void 0;s.push({type:Fi.literal,value:i.getDateTimeFormat(t,f).format(m)})}else if(jt(c))f="string"==typeof c.style?n.time[c.style]:qt(c.style)?c.style.parsedOptions:void 0,s.push({type:Fi.literal,value:i.getDateTimeFormat(t,f).format(m)});else if($t(c))(f="string"==typeof c.style?n.number[c.style]:zt(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(m*=f.scale||1),s.push({type:Fi.literal,value:i.getNumberFormat(t,f).format(m)});else{if(Ht(c)){var p=c.children,h=c.value,d=r[h];if("function"!=typeof d)throw new Bi(h,"function",a);p=d(Ji(p,t,i,n,r,o).map(function(e){return e.value}));Array.isArray(p)||(p=[p]),s.push.apply(s,p.map(function(e){return{type:"string"==typeof e?Fi.literal:Fi.object,value:e}}))}if(Vt(c)){if(!(g=c.options[m]||c.options.other))throw new Vi(c.value,m,Object.keys(c.options),a);s.push.apply(s,Ji(g.value,t,i,n,r))}else if(Bt(c)){if(!(g=c.options["="+m])){if(!Intl.PluralRules)throw new ji('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ni.MISSING_INTL_API,a);var p=i.getPluralRules(t,{type:c.pluralType}).select(m-(c.offset||0)),g=c.options[p]||c.options.other}if(!g)throw new Vi(c.value,m,Object.keys(c.options),a);s.push.apply(s,Ji(g.value,t,i,n,r,m-(c.offset||0)))}}}}return s.length<2?s:s.reduce(function(e,t){var i=e[e.length-1];return i&&i.type===Fi.literal&&t.type===Fi.literal?i.value+=t.value:e.push(t),e},[])}function Qi(i){return{create:function(){return{has:function(e){return e in i},get:function(e){return i[e]},set:function(e,t){i[e]=t}}}}}(e=Fi=Fi||{})[e.literal=0]="literal",e[e.object=1]="object";var Ki=(Object.defineProperty(en,"defaultLocale",{get:function(){return en.memoizedDefaultLocale||(en.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),en.memoizedDefaultLocale},enumerable:!1,configurable:!0}),en.memoizedDefaultLocale=null,en.__parse=Mi,en.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"}}},en);function en(e,t,i,n){var r,o,a=this;if(void 0===t&&(t=en.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=a.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===Fi.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Ji(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof e){if(this.message=e,!en.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=en.__parse(e,{ignoreTag:null==n?void 0:n.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(r=en.formats,(o=i)?Object.keys(r).reduce(function(e,t){var i,n;return e[t]=(i=r[t],(n=o[t])?Ft(Ft(Ft({},i||{}),n||{}),Object.keys(i).reduce(function(e,t){return e[t]=Ft(Ft({},i[t]),n[t]||{}),e},{})):i),e},Ft({},r)):r),this.locales=t,this.formatters=n&&n.formatters||{getNumberFormat:Ai(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,Ut([void 0],t)))},{cache:Qi((n=void 0===(n=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:n).number),strategy:Yi.variadic}),getDateTimeFormat:Ai(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,Ut([void 0],t)))},{cache:Qi(n.dateTime),strategy:Yi.variadic}),getPluralRules:Ai(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,Ut([void 0],t)))},{cache:Qi(n.pluralRules),strategy:Yi.variadic})}}const tn={},nn=(t,i)=>{if(null!=i){if(i in tn&&t in tn[i])return tn[i][t];var n,r,o=wn(i);for(let e=0;e<o.length;e++){var a=(n=o[e],r=t,an(n)?function(e,t){if(t in e)return e[t];const i=t.split(".");let n=e;for(let e=0;e<i.length;e++)if("object"==typeof n){if(0<e){const t=i.slice(e,i.length).join(".");if(t in n){n=n[t];break}}n=n[i[e]]}else n=void 0;return n}(function(e){return rn[e]||null}(n),r):null);if(a)return n=t,r=i,(a=a)&&(r in tn||(tn[r]={}),n in tn[r]||(tn[r][n]=a),a)}}};let rn;const on=xt({});function an(e){return e in rn}function sn(t,...i){delete tn[t],on.update(e=>(e[t]=kt.all([e[t]||{},...i]),e))}Tt([on],([e])=>Object.keys(e)),on.subscribe(e=>rn=e);const ln={};function un(e){return ln[e]}function cn(e){return wn(e).some(e=>{return null===(e=un(e))||void 0===e?void 0:e.size})}const dn={};function mn(e){if(!cn(e))return e in dn?dn[e]:void 0;const t=wn(e).map(e=>{var t=un(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return dn[e]=Promise.all(t.map(([e,i])=>function(t){return Promise.all(i.map(e=>(function(e,t){ln[e].delete(t),0===ln[e].size&&delete ln[e]}(t,e),e().then(e=>e.default||e)))).then(e=>sn(t,...e))}(e))).then(()=>cn(e)?mn(e):void delete dn[e]),dn[e]}function fn(e,t){var i={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(i[r[n]]=e[r[n]]);return i}const pn={fallbackLocale:null,initialLocale: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,ignoreTag:!0};const hn=xt(!1);let gn;const yn=xt(null);function vn(e){return e.split("-").map((e,t,i)=>i.slice(0,t+1).join("-")).reverse()}function wn(e,t=pn.fallbackLocale){e=vn(e);return t?[...new Set([...e,...vn(t)])]:e}yn.subscribe(e=>{gn=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const _n=yn.set;yn.set=t=>{if(function(e){if(null!=e){var t=wn(e);for(let e=0;e<t.length;e++){var i=t[e];if(an(i))return i}}}(t)&&cn(t)){var{loadingDelay:i}=pn;let e;return"undefined"!=typeof window&&null!=gn&&i?e=window.setTimeout(()=>hn.set(!0),i):hn.set(!0),mn(t).then(()=>{_n(t)}).finally(()=>{clearTimeout(e),hn.set(!1)})}return _n(t)},yn.update=e=>_n(e(gn));const bn=i=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=i(e)}},xn=(e,t)=>{var{formats:i}=pn;if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Tn=bn(e=>{var{locale:t,format:i}=e,e=fn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(e=xn("number",i)),new Intl.NumberFormat(t,e)}),En=bn(e=>{var{locale:t,format:i}=e,e=fn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?e=xn("date",i):0===Object.keys(e).length&&(e=xn("date","short")),new Intl.DateTimeFormat(t,e)}),Ln=bn(e=>{var{locale:t,format:i}=e,e=fn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?e=xn("time",i):0===Object.keys(e).length&&(e=xn("time","short")),new Intl.DateTimeFormat(t,e)}),Cn=bn((e,t=gn)=>new Ki(e,t,pn.formats,{ignoreTag:pn.ignoreTag})),Mn=Tt([yn,on],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:i,locale:n=gn,default:r}=t;if(null==n)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let o=nn(e,n);if(o){if("string"!=typeof o)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof o}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),o}else pn.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${wn(n).join('", "')}".${cn(gn)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),o=r||e;if(!i)return o;let a=o;try{a=Cn(o,n).format(i)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return a});Tt([yn],()=>(e,t)=>((e={})=>{var{locale:t=gn}=e,e=fn(e,["locale"]);return Ln(Object.assign({locale:t},e))})(t).format(e)),Tt([yn],()=>(e,t)=>((e={})=>{var{locale:t=gn}=e,e=fn(e,["locale"]);return En(Object.assign({locale:t},e))})(t).format(e)),Tt([yn],()=>(e,t)=>((e={})=>{var{locale:t=gn}=e,e=fn(e,["locale"]);return Tn(Object.assign({locale:t},e))})(t).format(e)),Tt([yn,on],()=>(e,t=gn)=>nn(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==wt.indexOf(e)&&(t=new ht(t),_t[e]=t,wt.push(e)),_t[e]}};const An=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",Sn={en:{gamingLimits:{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"}},fr:{gamingLimits:{returnToMenu:"Retour au menu",gamingLimitsText:"Limites de jeu",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte"}},ro:{gamingLimits:{returnToMenu:"Înapoi la meniu",gamingLimitsText:"Limite de joc",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limită de pierdere"}},es:{gamingLimits:{returnToMenu:"Regresar al Menú",gamingLimitsText:"Límites del juego",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida"}},pt:{gamingLimits:{returnToMenu:"Voltar ao Menu",gamingLimitsText:"Limites de jogos",depositLimit:"Limite de Depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de apostas",lossLimit:"Limite de Perda"}}},In={en:{cardText:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"}},fr:{cardText:{name:"Info",amountChanged:"Votre limite a été modifiée ou augmentée: {amount} {currency}. Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",removeLimitText:"êtes-vous sûr de vouloir supprimer la{limit}?",removeLimitsText:"êtes-vous sûr de vouloir supprimer tous les {limit}s?",minutes:"minutes",noLimit:"Aucune limite",expirationDate:"Date d'expiration",notAvailable:"N/A",edit:"Modifier",removeLimits:"Supprimer les limites",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",timeLimitLower:"Limite de temps",depositLimitLower:"Limite de dépôt",wageringLimitLower:"Limite de mise",lossLimitLower:"Limite de perte",time:"Temps",currency:"Monnaie"}},ro:{cardText:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare:",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",removeLimitText:"Ești sigur că vrei să elimini această limită?",removeLimitsText:"Ești sigur că vrei să elimini toate limitele?",minutes:"minute",noLimit:"Fără Limită",expirationDate:"Dată Expirare",notAvailable:"N/A",edit:"Editează",removeLimits:"Elimină limitele",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",timeLimitLower:"limită de timp",depositLimitLower:"limită de depunere",wageringLimitLower:"limită de pariere",lossLimitLower:"limită de pierdere",time:"timp",currency:"monedă"}},es:{cardText:{name:"Información",amountChanged:"Su límite ha cambiado o aumentado: {cantidad} {moneda}. Tendrás que esperar a la fecha de vencimiento para que tu nuevo límite entre en vigencia:",daily:"Diario",weekly:"Semanalmente",monthly:"Mensual",removeLimitText:"Está seguro de que desea eliminar {limit}?",removeLimitsText:"Está seguro de que desea eliminar todos los {limit}?",minutes:"Minutos",noLimit:"Sin limite",expirationDate:"Fecha de validez",notAvailable:"No disponible",edit:"Editar",removeLimits:"Eliminar límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuesta",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de apuestas",lossLimitLower:"Límite de pérdida",time:"Tiempo",currency:"Moneda"}},pt:{cardText:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",removeLimitText:"Tem certeza de que deseja remover o {limite}??",removeLimitsText:"Tem certeza de que deseja remover todos os {limite}s??",minutes:"Minutos",noLimit:"Sem limite",expirationDate:"Data de Validade",notAvailable:"Não Disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",timeLimitLower:"Limite de tempo",depositLimitLower:"limite de depósito",wageringLimitLower:"limite de apostas",lossLimitLower:"limite de perda",time:"Tempo",currency:"Moeda"}}},Dn={en:{popupText:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",defaultText:"Nulla ornare pulvinar dui. Nullam viverra, lacus vel consectetur euismod, ante lorem aliquam nisi, non faucibus nulla lacus sed sapien. Sed imperdiet tristique tincidunt."}},fr:{popupText:{name:"Info",amountChanged:"Votre limit a été modifiée ou augmentée: {amount} {currency}. Vous devez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",defaultText:"\"Lorsque vous définissez une limite de jeu, elle prend effet à partir du moment ou vous l'activez et dure jusqu'à la fin de la période séléctionnée. Par conséquent, si vous fixez une limite quotidienne à 14.00, la période de 24 heures qui compte est celle allant de son activation jusqu'à 00:00 GMT.la limite est alors valable 24 jours. vous pouvez abaisser une limite à tout moment avec un effet immédiat. cependant, l'augmentation ou la suppression d'une limite ne s'appliquera que lorsque la limite actuelle expira."}},ro:{popupText:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare.",defaultText:"Când stabilești o limită de joc, efectele se produc începând din momentul în care o activezi și durează până la finalul perioadei selectate. Așadar, dacă stabilești o limită zilnică la 14:00, perioada de 24 de ore este de la activare până la 00:00 GMT. Ulterior, limita va fi valabilă la fiecare 24 de ore. Poți micșora limita oricând, cu efect imediat. Totuși, majorarea sau eliminarea unei limite va fi aplicată în momentul în care limita curentă expiră. "}},es:{popupText:{name:"Información",amountChanged:"Su límite ha cambiado o aumentado: {cantidad} {moneda}. Tendrás que esperar a la fecha de vencimiento para que tu nuevo límite entre en vigencia:",defaultText:"Cuando establece un límite de juego, entra en vigencia desde el momento en que lo activa y dura hasta el final del período seleccionado. Por tanto, si estableces un límite diario a las 14:00, el periodo de 24 horas que cuenta es desde su activación hasta las 00:00 GMT. Entonces el límite es válido cada 24 horas. Puede reducir un límite en cualquier momento con efecto inmediato. Sin embargo, el aumento o la eliminación de un límite solo se aplicará cuando expire el límite actual."}},pt:{popupText:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",defaultText:"Quando você define um limite de jogo, ele entra em vigor a partir do momento em que você o ativa e dura até o final do período selecionado. Portanto, se você definir um limite diário às 14h00, o período de 24 horas que conta é desde sua ativação até às 00h00 GMT. Então o limite é válido a cada 24 horas. Você pode diminuir um limite a qualquer momento com efeito imediato. No entanto, aumentar ou remover um limite será aplicado somente quando o limite atual expirar."}}};function kn(i){let n,r,o,a,s,l,u,c,d,m,f,p,h,g,y,v=i[3]("popupText.name")+"";function w(e){return e[0]?On:Pn}let _=w(i),b=_(i);return{c(){n=Q("section"),r=Q("div"),o=Q("div"),a=Q("div"),a.textContent="i",s=ee(),l=Q("div"),u=K(v),c=ee(),d=Q("div"),d.innerHTML='<svg class="w-6 h-6" part="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',m=ee(),f=Q("div"),b.c(),ne(a,"class","InfoCardPopupIcon"),ne(a,"part","InfoCardPopupIcon"),ne(l,"class","InfoCardPopupTitle"),ne(l,"part","InfoCardPopupTitle"),ne(d,"class","InfoCardPopupCloseButton"),ne(d,"part","InfoCardPopupCloseButton"),ne(o,"class","InfoCardPopupHeader"),ne(o,"part","InfoCardPopupHeader"),ne(f,"class","InfoCardPopupContentArea"),ne(f,"part","InfoCardPopupContentArea"),ne(r,"class",p="InfoCardPopupWrapper "+(i[4]?"InfoCardPopupMobileWrapper":"")+" "+(i[0]?"InfoCardPopupLimitChanged":"")),ne(r,"part",h="InfoCardPopupWrapper "+(i[4]?"InfoCardPopupMobileWrapper":"")+" "+(i[0]?"InfoCardPopupLimitChanged":"")),ne(n,"class",i[4]?"InfoCardPopupMobileModal":""),ne(n,"part",i[4]?"InfoCardPopupMobileModal":"")},m(e,t){X(e,n,t),Z(n,r),Z(r,o),Z(o,a),Z(o,s),Z(o,l),Z(l,u),Z(o,c),Z(o,d),Z(r,m),Z(r,f),b.m(f,null),g||(y=te(d,"click",ie(i[5])),g=!0)},p(e,t){8&t&&v!==(v=e[3]("popupText.name")+"")&&oe(u,v),_===(_=w(e))&&b?b.p(e,t):(b.d(1),b=_(e),b&&(b.c(),b.m(f,null))),1&t&&p!==(p="InfoCardPopupWrapper "+(e[4]?"InfoCardPopupMobileWrapper":"")+" "+(e[0]?"InfoCardPopupLimitChanged":""))&&ne(r,"class",p),1&t&&h!==(h="InfoCardPopupWrapper "+(e[4]?"InfoCardPopupMobileWrapper":"")+" "+(e[0]?"InfoCardPopupLimitChanged":""))&&ne(r,"part",h)},d(e){e&&J(n),b.d(),g=!1,y()}}}function Pn(e){let i,n,r=e[3]("popupText.defaultText")+"";return{c(){i=Q("p"),n=K(r),ne(i,"class","InfoCardPopupContent"),ne(i,"part","InfoCardPopupContent")},m(e,t){X(e,i,t),Z(i,n)},p(e,t){8&t&&r!==(r=e[3]("popupText.defaultText")+"")&&oe(n,r)},d(e){e&&J(i)}}}function On(e){let i,n,r=e[3]("popupText.amountChanged",{values:{amount:e[0],currency:e[1]}})+"";return{c(){i=Q("p"),n=K(r),ne(i,"class","InfoCardPopupContent"),ne(i,"part","InfoCardPopupContent")},m(e,t){X(e,i,t),Z(i,n)},p(e,t){11&t&&r!==(r=e[3]("popupText.amountChanged",{values:{amount:e[0],currency:e[1]}})+"")&&oe(n,r)},d(e){e&&J(i)}}}function Nn(e){let i,n=e[2]&&kn(e);return{c(){n&&n.c(),i=x(),this.c=z},m(e,t){n&&n.m(e,t),X(e,i,t)},p(e,[t]){e[2]?n?n.p(e,t):(n=kn(e),n.c(),n.m(i.parentNode,i)):n&&(n.d(1),n=null)},i:z,o:z,d(e){n&&n.d(e),e&&J(i)}}}function Rn(t,e,i){let n;N(t,Mn,e=>i(3,n=e));let{showpopup:r=""}=e,{iteminfoamount:o=""}=e,{lang:a="en"}=e,{playercurrency:s="USD"}=e;Object.keys(Dn).forEach(e=>{sn(e,Dn[e])});let l=!1,u=window.navigator.userAgent,c="PC"!==An(u);const d=e=>{e.data&&"ClosePlayerAccountGamingLimitsPopup"==e.data.type&&i(2,l=!1)};return Y(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)})),t.$$set=e=>{"showpopup"in e&&i(6,r=e.showpopup),"iteminfoamount"in e&&i(0,o=e.iteminfoamount),"lang"in e&&i(7,a=e.lang),"playercurrency"in e&&i(1,s=e.playercurrency)},t.$$.update=()=>{var e;192&t.$$.dirty&&r&&a&&(e=a,yn.set(e),o<0&&i(0,o="0"),i(2,l=r))},[o,s,l,n,c,()=>{i(2,l=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},r,a]}customElements.get("player-account-gaming-limits-popup")||customElements.define("player-account-gaming-limits-popup",class extends B{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:''}.InfoCardPopupLimitChanged{background:var(--emfe-w-color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emfe-w-color-black, #000000);background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 4px 12px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:\"\";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emfe-w-color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:102}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emfe-w-color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emfe-w-color-secondary, #FD2839);fill:var(--emfe-w-color-secondary, #FD2839)}</style>",V(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Rn,Nn,i,{showpopup:6,iteminfoamount:0,lang:7,playercurrency:1}),e&&(e.target&&X(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["showpopup","iteminfoamount","lang","playercurrency"]}get showpopup(){return this.$$.ctx[6]}set showpopup(e){this.$set({showpopup:e}),k()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(e){this.$set({iteminfoamount:e}),k()}get lang(){return this.$$.ctx[7]}set lang(e){this.$set({lang:e}),k()}get playercurrency(){return this.$$.ctx[1]}set playercurrency(e){this.$set({playercurrency:e}),k()}});const Yn={en:{editText:{back:"Back to Gaming Limits",limit:"Limit",amount:"Amount",noLimit:"No limit",changeLimitsText:"Are you sure you want to change the {limit}s?",success:"Success lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"You have requested to remove this limit. This will be applied on ",invalidInputMessageLimit:"The amount needs to be between 0 and 99,999,999.",invalidInputMessageTime:"The time amount needs to be greater than {minTime} and below {maxTime} minutes.",expirationDate:"Expiration Date:",save:"Save",changedLimitTextBefore:"Your limit has been changed or increased:",changedLimitTextAfter:"You will have to wait for the expiration date for your new limit to take effect"}},fr:{editText:{back:"Retour aux limites de jeu",limit:"Limite",amount:"Montant",noLimit:"Aucune limite",changeLimitsText:"Etes-vous sûr de vouloir changer les {limit}s??",success:"Vos limites de jeu ont été respectées.",remove:"Vous avez demandé à ce que cette limite soit supprimée,elle sera appliquée ",invalidInputMessageLimit:"Le montant doit être compris entre 0 et 99,999,999.",invalidInputMessageTime:"La durée doit être supérieure au {minTime} et inférieur au {maxTime} minutes .",expirationDate:"Date d'expiration:",save:"Sauvez",changedLimitTextBefore:"Votre limit a été modifiée ou augmentée:",changedLimitTextAfter:"Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet"}},ro:{editText:{back:"Înapoi la limite de joc",limit:"Limită",amount:"Sumă",noLimit:"Fără Limită",changeLimitsText:"Ești sigur că vrei să modifici {limit}?",success:"Limitele tale de joc au fost configurate cu success.",remove:"Ai solicitat eliminarea acestei limite. Acest lucru va avea loc la data expirării limitei ",invalidInputMessageLimit:"Trebuie să setezi o sumă intre 0 și 99,999,999.",invalidInputMessageTime:"Trebuie să setezi o limită intre {minTime} minute și {maxTime} minute",expirationDate:"Dată Expirare:",save:"Salvează",changedLimitTextBefore:"Limita ta a fost schimbată sau a crescut:",changedLimitTextAfter:". Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare."}},es:{editText:{back:"Volver a Límites del juego",limit:"Límite",amount:"Cantidad",noLimit:"Sin limite",changeLimitsText:"Estás seguro de que quieres cambiar los {limit}s?",success:"Sus límites de juego se han establecido correctamente.",remove:"Solicitaste la eliminación de este límite. Esto se aplicará en",invalidInputMessageLimit:"El valor debe estar entre 0 y 99.999.999",invalidInputMessageTime:"La cantidad de tiempo debe ser mayor que {1} y menor que {99999999} minutos",expirationDate:"Fecha de validez",save:"Guardar",changedLimitTextBefore:"Su límite ha sido modificado o aumentado:",changedLimitTextAfter:"Tendrás que esperar a la fecha de vencimiento para que tu nuevo límite entre en vigencia."}},pt:{editText:{back:"Voltar para Limites de jogos",limit:"Limite",amount:"Montante",noLimit:"Sem limite",changeLimitsText:"Tem certeza de que deseja alterar os {limite}s?",success:"Seus limites de jogo foram definidos com sucesso.",remove:"Você solicitou a remoção deste limite. Isso será aplicado em",invalidInputMessageLimit:"O valor precisa estar entre 0 e 99.999.999",invalidInputMessageTime:"A quantidade de tempo precisa ser maior que {1} e menor que {99999999} minutos",expirationDate:"Data de Validade",save:"Guardar",changedLimitTextBefore:"Seu limite foi alterado ou aumentado:",changedLimitTextAfter:"Você terá que aguardar a data de expiração para que seu novo limite entre em vigor"}}};var Fn,Un,Gn=(Un=Fn={path:void 0,exports:{},require:function(e,t){return Ii(null==t&&Fn.path)}},Fn.exports,Un.exports=function(){var e;function p(){return e.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function o(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function r(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function n(e,t){for(var i=[],n=0;n<e.length;++n)i.push(t(e[n],n));return i}function c(e,t){for(var i in t)f(t,i)&&(e[i]=t[i]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,i,n){return St(e,t,i,n,!0).utc()}function h(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function m(e){if(null==e._isValid){var t=h(e),i=y.call(t.parsedDateParts,function(e){return null!=e}),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&i);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function g(e){var t=d(NaN);return null!=e?c(h(t),e):h(t).userInvalidated=!0,t}var y=Array.prototype.some||function(e){for(var t=Object(this),i=t.length>>>0,n=0;n<i;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1},v=p.momentProperties=[],t=!1;function w(e,t){var i,n,r;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=h(t)),o(t._locale)||(e._locale=t._locale),0<v.length)for(i=0;i<v.length;i++)o(r=t[n=v[i]])||(e[n]=r);return e}function _(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,p.updateOffset(this),t=!1)}function b(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function x(e){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function i(r,o){var a=!0;return c(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,r),a){for(var e,t,i=[],n=0;n<arguments.length;n++){if(e="","object"==typeof arguments[n]){for(t in e+="\n["+n+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[n];i.push(e)}x(r+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),a=!1}return o.apply(this,arguments)},o)}var T={};function E(e,t){null!=p.deprecationHandler&&p.deprecationHandler(e,t),T[e]||(x(t),T[e]=!0)}function L(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function C(e,t){var i,n=c({},e);for(i in t)f(t,i)&&(s(e[i])&&s(t[i])?(n[i]={},c(n[i],e[i]),c(n[i],t[i])):null!=t[i]?n[i]=t[i]:delete n[i]);for(i in e)f(e,i)&&!f(t,i)&&s(e[i])&&(n[i]=c({},n[i]));return n}function M(e){null!=e&&this.set(e)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var A=Object.keys||function(e){var t,i=[];for(t in e)f(e,t)&&i.push(t);return i};function S(e,t,i){var n=""+Math.abs(e);return(0<=e?i?"+":"":"-")+Math.pow(10,Math.max(0,t-n.length)).toString().substr(1)+n}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,D=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,k={},P={};function O(e,t,i,n){var r="string"==typeof n?function(){return this[n]()}:n;e&&(P[e]=r),t&&(P[t[0]]=function(){return S(r.apply(this,arguments),t[1],t[2])}),i&&(P[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function N(e,t){return e.isValid()?(t=R(t,e.localeData()),k[t]=k[t]||function(n){for(var e,r=n.match(I),t=0,o=r.length;t<o;t++)P[r[t]]?r[t]=P[r[t]]:r[t]=(e=r[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",i=0;i<o;i++)t+=L(r[i])?r[i].call(e,n):r[i];return t}}(t),k[t](e)):e.localeData().invalidDate()}function R(e,t){var i=5;function n(e){return t.longDateFormat(e)||e}for(D.lastIndex=0;0<=i&&D.test(e);)e=e.replace(D,n),D.lastIndex=0,--i;return e}var Y={};function F(e,t){var i=e.toLowerCase();Y[i]=Y[i+"s"]=Y[t]=e}function U(e){return"string"==typeof e?Y[e]||Y[e.toLowerCase()]:void 0}function G(e){var t,i,n={};for(i in e)f(e,i)&&(t=U(i))&&(n[t]=e[i]);return n}var $={};function W(e,t){$[e]=t}function j(e){return e%4==0&&e%100!=0||e%400==0}function V(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function B(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?V(t):e}function H(t,i){return function(e){return null!=e?(q(this,t,e),p.updateOffset(this,i),this):z(this,t)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function q(e,t,i){e.isValid()&&!isNaN(i)&&("FullYear"===t&&j(e.year())&&1===e.month()&&29===e.date()?(i=B(i),e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),Ae(i,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](i))}var Z=/\d/,X=/\d\d/,J=/\d{3}/,Q=/\d{4}/,K=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ie=/\d\d\d\d\d\d?/,ne=/\d{1,3}/,re=/\d{1,4}/,oe=/[+-]?\d{1,6}/,ae=/\d+/,se=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ue=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function de(e,i,n){pe[e]=L(i)?i:function(e,t){return e&&n?n:i}}function me(e,t){return f(pe,e)?pe[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,i,n,r){return t||i||n||r})))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var pe={},he={};function ge(e,i){var t,n=i;for("string"==typeof e&&(e=[e]),u(i)&&(n=function(e,t){t[i]=B(e)}),t=0;t<e.length;t++)he[e[t]]=n}function ye(e,r){ge(e,function(e,t,i,n){i._w=i._w||{},r(e,i._w,i,n)})}var ve,we=0,_e=1,be=2,xe=3,Te=4,Ee=5,Le=6,Ce=7,Me=8;function Ae(e,t){if(isNaN(e)||isNaN(t))return NaN;var i,i=(t%(i=12)+i)%i;return e+=(t-i)/12,1==i?j(e)?29:28:31-i%7%2}ve=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},O("M",["MM",2],"Mo",function(){return this.month()+1}),O("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),O("MMMM",0,0,function(e){return this.localeData().months(this,e)}),F("month","M"),W("month",8),de("M",ee),de("MM",ee,X),de("MMM",function(e,t){return t.monthsShortRegex(e)}),de("MMMM",function(e,t){return t.monthsRegex(e)}),ge(["M","MM"],function(e,t){t[_e]=B(e)-1}),ge(["MMM","MMMM"],function(e,t,i,n){n=i._locale.monthsParse(e,n,i._strict);null!=n?t[_e]=n:h(i).invalidMonth=e});var Se="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ie="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),De=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ke=ce,Pe=ce;function Oe(e,t){var i;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=B(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return i=Math.min(e.date(),Ae(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,i),e}function Ne(e){return null!=e?(Oe(this,e),p.updateOffset(this,!0),this):z(this,"Month")}function Re(){function e(e,t){return t.length-e.length}for(var t,i=[],n=[],r=[],o=0;o<12;o++)t=d([2e3,o]),i.push(this.monthsShort(t,"")),n.push(this.months(t,"")),r.push(this.months(t,"")),r.push(this.monthsShort(t,""));for(i.sort(e),n.sort(e),r.sort(e),o=0;o<12;o++)i[o]=fe(i[o]),n[o]=fe(n[o]);for(o=0;o<24;o++)r[o]=fe(r[o]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Ye(e){return j(e)?366:365}O("Y",0,0,function(){var e=this.year();return e<=9999?S(e,4):"+"+e}),O(0,["YY",2],0,function(){return this.year()%100}),O(0,["YYYY",4],0,"year"),O(0,["YYYYY",5],0,"year"),O(0,["YYYYYY",6,!0],0,"year"),F("year","y"),W("year",1),de("Y",se),de("YY",ee,X),de("YYYY",re,Q),de("YYYYY",oe,K),de("YYYYYY",oe,K),ge(["YYYYY","YYYYYY"],we),ge("YYYY",function(e,t){t[we]=2===e.length?p.parseTwoDigitYear(e):B(e)}),ge("YY",function(e,t){t[we]=p.parseTwoDigitYear(e)}),ge("Y",function(e,t){t[we]=parseInt(e,10)}),p.parseTwoDigitYear=function(e){return B(e)+(68<B(e)?1900:2e3)};var Fe=H("FullYear",!0);function Ue(e,t,i,n,r,o,a){var s;return e<100&&0<=e?(s=new Date(e+400,t,i,n,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,i,n,r,o,a),s}function Ge(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function $e(e,t,i){i=7+t-i;return-(7+Ge(e,0,i).getUTCDay()-t)%7+i-1}function We(e,t,i,n,r){var o,r=1+7*(t-1)+(7+i-n)%7+$e(e,n,r),r=r<=0?Ye(o=e-1)+r:r>Ye(e)?(o=e+1,r-Ye(e)):(o=e,r);return{year:o,dayOfYear:r}}function je(e,t,i){var n,r,o=$e(e.year(),t,i),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?n=o+Ve(r=e.year()-1,t,i):o>Ve(e.year(),t,i)?(n=o-Ve(e.year(),t,i),r=e.year()+1):(r=e.year(),n=o),{week:n,year:r}}function Ve(e,t,i){var n=$e(e,t,i),i=$e(e+1,t,i);return(Ye(e)-n+i)/7}O("w",["ww",2],"wo","week"),O("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),W("week",5),W("isoWeek",5),de("w",ee),de("ww",ee,X),de("W",ee),de("WW",ee,X),ye(["w","ww","W","WW"],function(e,t,i,n){t[n.substr(0,1)]=B(e)});function Be(e,t){return e.slice(t,7).concat(e.slice(0,t))}O("d",0,"do","day"),O("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),O("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),O("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),O("e",0,0,"weekday"),O("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),de("d",ee),de("e",ee),de("E",ee),de("dd",function(e,t){return t.weekdaysMinRegex(e)}),de("ddd",function(e,t){return t.weekdaysShortRegex(e)}),de("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["dd","ddd","dddd"],function(e,t,i,n){n=i._locale.weekdaysParse(e,n,i._strict);null!=n?t.d=n:h(i).invalidWeekday=e}),ye(["d","e","E"],function(e,t,i,n){t[n]=B(e)});var He="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ze=ce,Xe=ce,Je=ce;function Qe(){function e(e,t){return t.length-e.length}for(var t,i,n,r=[],o=[],a=[],s=[],l=0;l<7;l++)n=d([2e3,1]).day(l),t=fe(this.weekdaysMin(n,"")),i=fe(this.weekdaysShort(n,"")),n=fe(this.weekdays(n,"")),r.push(t),o.push(i),a.push(n),s.push(t),s.push(i),s.push(n);r.sort(e),o.sort(e),a.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ke(){return this.hours()%12||12}function et(e,t){O(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}O("H",["HH",2],0,"hour"),O("h",["hh",2],0,Ke),O("k",["kk",2],0,function(){return this.hours()||24}),O("hmm",0,0,function(){return""+Ke.apply(this)+S(this.minutes(),2)}),O("hmmss",0,0,function(){return""+Ke.apply(this)+S(this.minutes(),2)+S(this.seconds(),2)}),O("Hmm",0,0,function(){return""+this.hours()+S(this.minutes(),2)}),O("Hmmss",0,0,function(){return""+this.hours()+S(this.minutes(),2)+S(this.seconds(),2)}),et("a",!0),et("A",!1),F("hour","h"),W("hour",13),de("a",tt),de("A",tt),de("H",ee),de("h",ee),de("k",ee),de("HH",ee,X),de("hh",ee,X),de("kk",ee,X),de("hmm",te),de("hmmss",ie),de("Hmm",te),de("Hmmss",ie),ge(["H","HH"],xe),ge(["k","kk"],function(e,t,i){e=B(e);t[xe]=24===e?0:e}),ge(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e}),ge(["h","hh"],function(e,t,i){t[xe]=B(e),h(i).bigHour=!0}),ge("hmm",function(e,t,i){var n=e.length-2;t[xe]=B(e.substr(0,n)),t[Te]=B(e.substr(n)),h(i).bigHour=!0}),ge("hmmss",function(e,t,i){var n=e.length-4,r=e.length-2;t[xe]=B(e.substr(0,n)),t[Te]=B(e.substr(n,2)),t[Ee]=B(e.substr(r)),h(i).bigHour=!0}),ge("Hmm",function(e,t,i){var n=e.length-2;t[xe]=B(e.substr(0,n)),t[Te]=B(e.substr(n))}),ge("Hmmss",function(e,t,i){var n=e.length-4,r=e.length-2;t[xe]=B(e.substr(0,n)),t[Te]=B(e.substr(n,2)),t[Ee]=B(e.substr(r))});var it=H("Hours",!0);var nt,rt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Se,monthsShort:Ie,week:{dow:0,doy:6},weekdays:He,weekdaysMin:qe,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},ot={},at={};function st(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,i,n,r,o=0;o<e.length;){for(t=(r=st(e[o]).split("-")).length,i=(i=st(e[o+1]))?i.split("-"):null;0<t;){if(n=ut(r.slice(0,t).join("-")))return n;if(i&&i.length>=t&&function(e,t){for(var i=Math.min(e.length,t.length),n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}(r,i)>=t-1)break;t--}o++}return nt}function ut(t){var e;if(void 0===ot[t]&&Un&&Un.exports)try{e=nt._abbr,Ii(),ct(e)}catch(e){ot[t]=null}return ot[t]}function ct(e,t){return e&&((t=o(t)?mt(e):dt(e,t))?nt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),nt._abbr}function dt(e,t){if(null===t)return delete ot[e],null;var i,n=rt;if(t.abbr=e,null!=ot[e])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ot[e]._config;else if(null!=t.parentLocale)if(null!=ot[t.parentLocale])n=ot[t.parentLocale]._config;else{if(null==(i=ut(t.parentLocale)))return at[t.parentLocale]||(at[t.parentLocale]=[]),at[t.parentLocale].push({name:e,config:t}),null;n=i._config}return ot[e]=new M(C(n,t)),at[e]&&at[e].forEach(function(e){dt(e.name,e.config)}),ct(e),ot[e]}function mt(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return nt;if(!a(e)){if(t=ut(e))return t;e=[e]}return lt(e)}function ft(e){var t=e._a;return t&&-2===h(e).overflow&&(t=t[_e]<0||11<t[_e]?_e:t[be]<1||t[be]>Ae(t[we],t[_e])?be:t[xe]<0||24<t[xe]||24===t[xe]&&(0!==t[Te]||0!==t[Ee]||0!==t[Le])?xe:t[Te]<0||59<t[Te]?Te:t[Ee]<0||59<t[Ee]?Ee:t[Le]<0||999<t[Le]?Le:-1,h(e)._overflowDayOfYear&&(t<we||be<t)&&(t=be),h(e)._overflowWeeks&&-1===t&&(t=Ce),h(e)._overflowWeekday&&-1===t&&(t=Me),h(e).overflow=t),e}var pt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ht=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],vt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wt=/^\/?Date\((-?\d+)/i,_t=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,bt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xt(e){var t,i,n,r,o,a,s=e._i,l=pt.exec(s)||ht.exec(s);if(l){for(h(e).iso=!0,t=0,i=yt.length;t<i;t++)if(yt[t][1].exec(l[1])){r=yt[t][0],n=!1!==yt[t][2];break}if(null==r)return e._isValid=!1;if(l[3]){for(t=0,i=vt.length;t<i;t++)if(vt[t][1].exec(l[3])){o=(l[2]||" ")+vt[t][0];break}if(null==o)return e._isValid=!1}if(!n&&null!=o)return e._isValid=!1;if(l[4]){if(!gt.exec(l[4]))return e._isValid=!1;a="Z"}e._f=r+(o||"")+(a||""),Mt(e)}else e._isValid=!1}function Tt(e,t,i,n,r,o){r=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Ie.indexOf(t),parseInt(i,10),parseInt(n,10),parseInt(r,10)];return o&&r.push(parseInt(o,10)),r}function Et(e){var t,i,n,r,o=_t.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=Tt(o[4],o[3],o[2],o[5],o[6],o[7]),i=o[1],n=t,r=e,i&&ze.indexOf(i)!==new Date(n[0],n[1],n[2]).getDay()?(h(r).weekdayMismatch=!0,r._isValid=!1):(e._a=t,e._tzm=(r=o[8],t=o[9],o=o[10],r?bt[r]:t?0:((t=parseInt(o,10))-(o=t%100))/100*60+o),e._d=Ge.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0)):e._isValid=!1}function Lt(e,t,i){return null!=e?e:null!=t?t:i}function Ct(e){var t,i,n,r,o,a,s,l,u,c,d,m,f=[];if(!e._d){for(d=e,m=new Date(p.now()),i=d._useUTC?[m.getUTCFullYear(),m.getUTCMonth(),m.getUTCDate()]:[m.getFullYear(),m.getMonth(),m.getDate()],e._w&&null==e._a[be]&&null==e._a[_e]&&(null!=(d=(r=e)._w).GG||null!=d.W||null!=d.E?(l=1,u=4,o=Lt(d.GG,r._a[we],je(It(),1,4).year),a=Lt(d.W,1),((s=Lt(d.E,1))<1||7<s)&&(c=!0)):(l=r._locale._week.dow,u=r._locale._week.doy,m=je(It(),l,u),o=Lt(d.gg,r._a[we],m.year),a=Lt(d.w,m.week),null!=d.d?((s=d.d)<0||6<s)&&(c=!0):null!=d.e?(s=d.e+l,(d.e<0||6<d.e)&&(c=!0)):s=l),a<1||a>Ve(o,l,u)?h(r)._overflowWeeks=!0:null!=c?h(r)._overflowWeekday=!0:(u=We(o,a,s,l,u),r._a[we]=u.year,r._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(n=Lt(e._a[we],i[we]),(e._dayOfYear>Ye(n)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=Ge(n,0,e._dayOfYear),e._a[_e]=n.getUTCMonth(),e._a[be]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=f[t]=i[t];for(;t<7;t++)e._a[t]=f[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[xe]&&0===e._a[Te]&&0===e._a[Ee]&&0===e._a[Le]&&(e._nextDay=!0,e._a[xe]=0),e._d=(e._useUTC?Ge:Ue).apply(null,f),n=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[xe]=24),e._w&&void 0!==e._w.d&&e._w.d!==n&&(h(e).weekdayMismatch=!0)}}function Mt(e){if(e._f!==p.ISO_8601)if(e._f!==p.RFC_2822){e._a=[],h(e).empty=!0;for(var t,i,n=""+e._i,r=n.length,o=0,a=R(e._f,e._locale).match(I)||[],s=0;s<a.length;s++)i=a[s],(t=(n.match(me(i,e))||[])[0])&&(0<(d=n.substr(0,n.indexOf(t))).length&&h(e).unusedInput.push(d),n=n.slice(n.indexOf(t)+t.length),o+=t.length),P[i]?(t?h(e).empty=!1:h(e).unusedTokens.push(i),c=i,m=e,null!=(d=t)&&f(he,c)&&he[c](d,m._a,m,c)):e._strict&&!t&&h(e).unusedTokens.push(i);h(e).charsLeftOver=r-o,0<n.length&&h(e).unusedInput.push(n),e._a[xe]<=12&&!0===h(e).bigHour&&0<e._a[xe]&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[xe]=(l=e._locale,u=e._a[xe],null==(r=e._meridiem)?u:null!=l.meridiemHour?l.meridiemHour(u,r):null!=l.isPM?((r=l.isPM(r))&&u<12&&(u+=12),u=r||12!==u?u:0):u),null!==(u=h(e).era)&&(e._a[we]=e._locale.erasConvertYear(u,e._a[we])),Ct(e),ft(e)}else Et(e);else xt(e);var l,u,c,d,m}function At(e){var t=e._i,i=e._f;return e._locale=e._locale||mt(e._l),null===t||void 0===i&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),b(t)?new _(ft(t)):(r(t)?e._d=t:a(i)?function(e){var t,i,n,r,o,a,s=!1;if(0===e._f.length)return h(e).invalidFormat=!0,e._d=new Date(NaN);for(r=0;r<e._f.length;r++)o=0,a=!1,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Mt(t),m(t)&&(a=!0),o+=h(t).charsLeftOver,o+=10*h(t).unusedTokens.length,h(t).score=o,s?o<n&&(n=o,i=t):(null==n||o<n||a)&&(n=o,i=t,a&&(s=!0));c(e,i||t)}(e):i?Mt(e):o(i=(t=e)._i)?t._d=new Date(p.now()):r(i)?t._d=new Date(i.valueOf()):"string"==typeof i?function(e){var t=wt.exec(e._i);null===t?(xt(e),!1===e._isValid&&(delete e._isValid,Et(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:p.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):a(i)?(t._a=n(i.slice(0),function(e){return parseInt(e,10)}),Ct(t)):s(i)?function(e){var t,i;e._d||(i=void 0===(t=G(e._i)).day?t.date:t.day,e._a=n([t.year,t.month,i,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Ct(e))}(t):u(i)?t._d=new Date(i):p.createFromInputFallback(t),m(e)||(e._d=null),e))}function St(e,t,i,n,r){var o={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==i&&!1!==i||(n=i,i=void 0),(s(e)&&l(e)||a(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=i,o._i=e,o._f=t,o._strict=n,(o=new _(ft(At(o=o))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function It(e,t,i,n){return St(e,t,i,n,!1)}p.createFromInputFallback=i("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};var Dt=i("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=It.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),kt=i("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=It.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:g()});function Pt(e,t){var i,n;if(!(t=1===t.length&&a(t[0])?t[0]:t).length)return It();for(i=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](i)||(i=t[n]);return i}var Ot=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Nt(e){var t=G(e),i=t.year||0,n=t.quarter||0,r=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,i,n=!1;for(t in e)if(f(e,t)&&(-1===ve.call(Ot,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<Ot.length;++i)if(e[Ot[i]]){if(n)return!1;parseFloat(e[Ot[i]])!==B(e[Ot[i]])&&(n=!0)}return!0}(t),this._milliseconds=+e+1e3*u+6e4*l+1e3*s*60*60,this._days=+a+7*o,this._months=+r+3*n+12*i,this._data={},this._locale=mt(),this._bubble()}function Rt(e){return e instanceof Nt}function Yt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(e,i){O(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+S(~~(e/60),2)+i+S(~~e%60,2)})}Ft("Z",":"),Ft("ZZ",""),de("Z",ue),de("ZZ",ue),ge(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=Gt(ue,e)});var Ut=/([\+\-]|\d\d)/gi;function Gt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Ut)||["-",0,0])[1]+B(e[2]))?0:"+"===e[0]?t:-t}function $t(e,t){var i;return t._isUTC?(i=t.clone(),t=(b(e)||r(e)?e:It(e)).valueOf()-i.valueOf(),i._d.setTime(i._d.valueOf()+t),p.updateOffset(i,!1),i):It(e).local()}function Wt(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var Vt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Bt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ht(e,t){var i,n,r=e,o=null;return Rt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(o=Vt.exec(e))?(i="-"===o[1]?-1:1,r={y:0,d:B(o[be])*i,h:B(o[xe])*i,m:B(o[Te])*i,s:B(o[Ee])*i,ms:B(Yt(1e3*o[Le]))*i}):(o=Bt.exec(e))?(i="-"===o[1]?-1:1,r={y:zt(o[2],i),M:zt(o[3],i),w:zt(o[4],i),d:zt(o[5],i),h:zt(o[6],i),m:zt(o[7],i),s:zt(o[8],i)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(o=It(r.from),i=It(r.to),n=o.isValid()&&i.isValid()?(i=$t(i,o),o.isBefore(i)?n=qt(o,i):((n=qt(i,o)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0},(r={}).ms=n.milliseconds,r.M=n.months),r=new Nt(r),Rt(e)&&f(e,"_locale")&&(r._locale=e._locale),Rt(e)&&f(e,"_isValid")&&(r._isValid=e._isValid),r}function zt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function qt(e,t){var i={};return i.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function Zt(n,r){return function(e,t){var i;return null===t||isNaN(+t)||(E(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=e,e=t,t=i),Xt(this,Ht(e,t),n),this}}function Xt(e,t,i,n){var r=t._milliseconds,o=Yt(t._days),t=Yt(t._months);e.isValid()&&(n=null==n||n,t&&Oe(e,z(e,"Month")+t*i),o&&q(e,"Date",z(e,"Date")+o*i),r&&e._d.setTime(e._d.valueOf()+r*i),n&&p.updateOffset(e,o||t))}Ht.fn=Nt.prototype,Ht.invalid=function(){return Ht(NaN)};var Jt=Zt(1,"add"),ce=Zt(-1,"subtract");function Qt(e){return"string"==typeof e||e instanceof String}function Kt(e){return b(e)||r(e)||Qt(e)||u(e)||(i=a(t=e),n=!1,i&&(n=0===t.filter(function(e){return!u(e)&&Qt(t)}).length),i&&n)||function(e){var t,i,n=s(e)&&!l(e),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<o.length;t+=1)i=o[t],r=r||f(e,i);return n&&r}(e)||null==e;var t,i,n}function ei(e,t){if(e.date()<t.date())return-ei(t,e);var i=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(i,"months");return-(i+(t-n<0?(t-n)/(n-e.clone().add(i-1,"months")):(t-n)/(e.clone().add(1+i,"months")-n)))||0}function ti(e){return void 0===e?this._locale._abbr:(null!=(e=mt(e))&&(this._locale=e),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=i("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function ii(){return this._locale}var ni=126227808e5;function ri(e,t){return(e%t+t)%t}function oi(e,t,i){return e<100&&0<=e?new Date(e+400,t,i)-ni:new Date(e,t,i).valueOf()}function ai(e,t,i){return e<100&&0<=e?Date.UTC(e+400,t,i)-ni:Date.UTC(e,t,i)}function si(e,t){return t.erasAbbrRegex(e)}function li(){for(var e=[],t=[],i=[],n=[],r=this.eras(),o=0,a=r.length;o<a;++o)t.push(fe(r[o].name)),e.push(fe(r[o].abbr)),i.push(fe(r[o].narrow)),n.push(fe(r[o].name)),n.push(fe(r[o].abbr)),n.push(fe(r[o].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function ui(e,t){O(0,[e,e.length],0,t)}function ci(e,t,i,n,r){var o;return null==e?je(this,n,r).year:(t>(o=Ve(e,n,r))&&(t=o),function(e,t,i,n,r){r=We(e,t,i,n,r),r=Ge(r.year,0,r.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}.call(this,e,t,i,n,r))}O("N",0,0,"eraAbbr"),O("NN",0,0,"eraAbbr"),O("NNN",0,0,"eraAbbr"),O("NNNN",0,0,"eraName"),O("NNNNN",0,0,"eraNarrow"),O("y",["y",1],"yo","eraYear"),O("y",["yy",2],0,"eraYear"),O("y",["yyy",3],0,"eraYear"),O("y",["yyyy",4],0,"eraYear"),de("N",si),de("NN",si),de("NNN",si),de("NNNN",function(e,t){return t.erasNameRegex(e)}),de("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ge(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,n){n=i._locale.erasParse(e,n,i._strict);n?h(i).era=n:h(i).invalidEra=e}),de("y",ae),de("yy",ae),de("yyy",ae),de("yyyy",ae),de("yo",function(e,t){return t._eraYearOrdinalRegex||ae}),ge(["y","yy","yyy","yyyy"],we),ge(["yo"],function(e,t,i,n){var r;i._locale._eraYearOrdinalRegex&&(r=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[we]=i._locale.eraYearOrdinalParse(e,r):t[we]=parseInt(e,10)}),O(0,["gg",2],0,function(){return this.weekYear()%100}),O(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ui("gggg","weekYear"),ui("ggggg","weekYear"),ui("GGGG","isoWeekYear"),ui("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),de("G",se),de("g",se),de("GG",ee,X),de("gg",ee,X),de("GGGG",re,Q),de("gggg",re,Q),de("GGGGG",oe,K),de("ggggg",oe,K),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,n){t[n.substr(0,2)]=B(e)}),ye(["gg","GG"],function(e,t,i,n){t[n]=p.parseTwoDigitYear(e)}),O("Q",0,"Qo","quarter"),F("quarter","Q"),W("quarter",7),de("Q",Z),ge("Q",function(e,t){t[_e]=3*(B(e)-1)}),O("D",["DD",2],"Do","date"),F("date","D"),W("date",9),de("D",ee),de("DD",ee,X),de("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ge(["D","DD"],be),ge("Do",function(e,t){t[be]=B(e.match(ee)[0])});ie=H("Date",!0);O("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),W("dayOfYear",4),de("DDD",ne),de("DDDD",J),ge(["DDD","DDDD"],function(e,t,i){i._dayOfYear=B(e)}),O("m",["mm",2],0,"minute"),F("minute","m"),W("minute",14),de("m",ee),de("mm",ee,X),ge(["m","mm"],Te);Se=H("Minutes",!1);O("s",["ss",2],0,"second"),F("second","s"),W("second",15),de("s",ee),de("ss",ee,X),ge(["s","ss"],Ee);var di,He=H("Seconds",!1);for(O("S",0,0,function(){return~~(this.millisecond()/100)}),O(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),O(0,["SSS",3],0,"millisecond"),O(0,["SSSS",4],0,function(){return 10*this.millisecond()}),O(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),O(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),O(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),O(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),O(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),W("millisecond",16),de("S",ne,Z),de("SS",ne,X),de("SSS",ne,J),di="SSSS";di.length<=9;di+="S")de(di,ae);function mi(e,t){t[Le]=B(1e3*("0."+e))}for(di="S";di.length<=9;di+="S")ge(di,mi);qe=H("Milliseconds",!1),O("z",0,0,"zoneAbbr"),O("zz",0,0,"zoneName");re=_.prototype;function fi(e){return e}re.add=Jt,re.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=s(e)&&!l(e),i=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<n.length;r+=1)i=i||f(e,n[r]);return t&&i}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var i=e||It(),e=$t(i,this).startOf("day"),e=p.calendarFormat(this,e)||"sameElse",t=t&&(L(t[e])?t[e].call(this,i):t[e]);return this.format(t||this.localeData().calendar(e,this,It(i)))},re.clone=function(){return new _(this)},re.diff=function(e,t,i){var n,r,o;if(!this.isValid())return NaN;if(!(n=$t(e,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),t=U(t)){case"year":o=ei(this,n)/12;break;case"month":o=ei(this,n);break;case"quarter":o=ei(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-r)/864e5;break;case"week":o=(this-n-r)/6048e5;break;default:o=this-n}return i?o:V(o)},re.endOf=function(e){var t,i;if(void 0===(e=U(e))||"millisecond"===e||!this.isValid())return this;switch(i=this._isUTC?ai:oi,e){case"year":t=i(this.year()+1,0,1)-1;break;case"quarter":t=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=i(this.year(),this.month()+1,1)-1;break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-ri(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-ri(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-ri(t,1e3)-1}return this._d.setTime(t),p.updateOffset(this,!0),this},re.format=function(e){return e=e||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),e=N(this,e),this.localeData().postformat(e)},re.from=function(e,t){return this.isValid()&&(b(e)&&e.isValid()||It(e).isValid())?Ht({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},re.fromNow=function(e){return this.from(It(),e)},re.to=function(e,t){return this.isValid()&&(b(e)&&e.isValid()||It(e).isValid())?Ht({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},re.toNow=function(e){return this.to(It(),e)},re.get=function(e){return L(this[e=U(e)])?this[e]():this},re.invalidAt=function(){return h(this).overflow},re.isAfter=function(e,t){return e=b(e)?e:It(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=U(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},re.isBefore=function(e,t){return e=b(e)?e:It(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=U(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},re.isBetween=function(e,t,i,n){return e=b(e)?e:It(e),t=b(t)?t:It(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(n=n||"()")[0]?this.isAfter(e,i):!this.isBefore(e,i))&&(")"===n[1]?this.isBefore(t,i):!this.isAfter(t,i))},re.isSame=function(e,t){var e=b(e)?e:It(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=U(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},re.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},re.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},re.isValid=function(){return m(this)},re.lang=te,re.locale=ti,re.localeData=ii,re.max=kt,re.min=Dt,re.parsingFlags=function(){return c({},h(this))},re.set=function(e,t){if("object"==typeof e)for(var i=function(e){var t,i=[];for(t in e)f(e,t)&&i.push({unit:t,priority:$[t]});return i.sort(function(e,t){return e.priority-t.priority}),i}(e=G(e)),n=0;n<i.length;n++)this[i[n].unit](e[i[n].unit]);else if(L(this[e=U(e)]))return this[e](t);return this},re.startOf=function(e){var t,i;if(void 0===(e=U(e))||"millisecond"===e||!this.isValid())return this;switch(i=this._isUTC?ai:oi,e){case"year":t=i(this.year(),0,1);break;case"quarter":t=i(this.year(),this.month()-this.month()%3,1);break;case"month":t=i(this.year(),this.month(),1);break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=i(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ri(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=ri(t,6e4);break;case"second":t=this._d.valueOf(),t-=ri(t,1e3)}return this._d.setTime(t),p.updateOffset(this,!0),this},re.subtract=ce,re.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},re.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},re.toDate=function(){return new Date(this.valueOf())},re.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?N(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):L(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",N(e,"Z")):N(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},re.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",i="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(i+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(re[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),re.toJSON=function(){return this.isValid()?this.toISOString():null},re.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},re.unix=function(){return Math.floor(this.valueOf()/1e3)},re.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},re.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},re.eraName=function(){for(var e,t=this.localeData().eras(),i=0,n=t.length;i<n;++i){if(e=this.clone().startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].name;if(t[i].until<=e&&e<=t[i].since)return t[i].name}return""},re.eraNarrow=function(){for(var e,t=this.localeData().eras(),i=0,n=t.length;i<n;++i){if(e=this.clone().startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].narrow;if(t[i].until<=e&&e<=t[i].since)return t[i].narrow}return""},re.eraAbbr=function(){for(var e,t=this.localeData().eras(),i=0,n=t.length;i<n;++i){if(e=this.clone().startOf("day").valueOf(),t[i].since<=e&&e<=t[i].until)return t[i].abbr;if(t[i].until<=e&&e<=t[i].since)return t[i].abbr}return""},re.eraYear=function(){for(var e,t,i=this.localeData().eras(),n=0,r=i.length;n<r;++n)if(e=i[n].since<=i[n].until?1:-1,t=this.clone().startOf("day").valueOf(),i[n].since<=t&&t<=i[n].until||i[n].until<=t&&t<=i[n].since)return(this.year()-p(i[n].since).year())*e+i[n].offset;return this.year()},re.year=Fe,re.isLeapYear=function(){return j(this.year())},re.weekYear=function(e){return ci.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},re.isoWeekYear=function(e){return ci.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},re.quarter=re.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},re.month=Ne,re.daysInMonth=function(){return Ae(this.year(),this.month())},re.week=re.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},re.isoWeek=re.isoWeeks=function(e){var t=je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},re.weeksInYear=function(){var e=this.localeData()._week;return Ve(this.year(),e.dow,e.doy)},re.weeksInWeekYear=function(){var e=this.localeData()._week;return Ve(this.weekYear(),e.dow,e.doy)},re.isoWeeksInYear=function(){return Ve(this.year(),1,4)},re.isoWeeksInISOWeekYear=function(){return Ve(this.isoWeekYear(),1,4)},re.date=ie,re.day=re.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,i,n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,i=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=i.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-n,"d")):n},re.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},re.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},re.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},re.hour=re.hours=it,re.minute=re.minutes=Se,re.second=re.seconds=He,re.millisecond=re.milliseconds=qe,re.utcOffset=function(e,t,i){var n,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?r:Wt(this);if("string"==typeof e){if(null===(e=Gt(ue,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(n=Wt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?Xt(this,Ht(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},re.utc=function(e){return this.utcOffset(0,e)},re.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Wt(this),"m")),this},re.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Gt(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},re.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?It(e).utcOffset():0,(this.utcOffset()-e)%60==0)},re.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},re.isLocal=function(){return!!this.isValid()&&!this._isUTC},re.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},re.isUtc=jt,re.isUTC=jt,re.zoneAbbr=function(){return this._isUTC?"UTC":""},re.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},re.dates=i("dates accessor is deprecated. Use date instead.",ie),re.months=i("months accessor is deprecated. Use month instead",Ne),re.years=i("years accessor is deprecated. Use year instead",Fe),re.zone=i("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),re.isDSTShifted=i("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=At(t))._a?(e=(t._isUTC?d:It)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,i){for(var n=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),o=0,a=0;a<n;a++)(i&&e[a]!==t[a]||!i&&B(e[a])!==B(t[a]))&&o++;return o+r}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});Q=M.prototype;function pi(e,t,i,n){var r=mt(),t=d().set(n,t);return r[i](t,e)}function hi(e,t,i){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return pi(e,t,i,"month");for(var n=[],r=0;r<12;r++)n[r]=pi(e,r,i,"month");return n}function gi(e,t,i,n){t=("boolean"==typeof e||(i=t=e,e=!1),u(t)&&(i=t,t=void 0),t||"");var r,o=mt(),a=e?o._week.dow:0,s=[];if(null!=i)return pi(t,(i+a)%7,n,"day");for(r=0;r<7;r++)s[r]=pi(t,(r+a)%7,n,"day");return s}Q.calendar=function(e,t,i){return L(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,i):e},Q.longDateFormat=function(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(I).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},Q.invalidDate=function(){return this._invalidDate},Q.ordinal=function(e){return this._ordinal.replace("%d",e)},Q.preparse=fi,Q.postformat=fi,Q.relativeTime=function(e,t,i,n){var r=this._relativeTime[i];return L(r)?r(e,t,i,n):r.replace(/%d/i,e)},Q.pastFuture=function(e,t){return L(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},Q.set=function(e){var t,i;for(i in e)f(e,i)&&(L(t=e[i])?this[i]=t:this["_"+i]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Q.eras=function(e,t){for(var i,n=this._eras||mt("en")._eras,r=0,o=n.length;r<o;++r)switch("string"==typeof n[r].since&&(i=p(n[r].since).startOf("day"),n[r].since=i.valueOf()),typeof n[r].until){case"undefined":n[r].until=1/0;break;case"string":i=p(n[r].until).startOf("day").valueOf(),n[r].until=i.valueOf()}return n},Q.erasParse=function(e,t,i){var n,r,o,a,s,l=this.eras();for(e=e.toUpperCase(),n=0,r=l.length;n<r;++n)if(o=l[n].name.toUpperCase(),a=l[n].abbr.toUpperCase(),s=l[n].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[n];break;case"NNNN":if(o===e)return l[n];break;case"NNNNN":if(s===e)return l[n]}else if(0<=[o,a,s].indexOf(e))return l[n]},Q.erasConvertYear=function(e,t){var i=e.since<=e.until?1:-1;return void 0===t?p(e.since).year():p(e.since).year()+(t-e.offset)*i},Q.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||li.call(this),e?this._erasAbbrRegex:this._erasRegex},Q.erasNameRegex=function(e){return f(this,"_erasNameRegex")||li.call(this),e?this._erasNameRegex:this._erasRegex},Q.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||li.call(this),e?this._erasNarrowRegex:this._erasRegex},Q.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||De).test(t)?"format":"standalone"])[e.month()]:a(this._months)?this._months:this._months.standalone},Q.monthsShort=function(e,t){return e?(a(this._monthsShort)?this._monthsShort:this._monthsShort[De.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Q.monthsParse=function(e,t,i){var n,r;if(this._monthsParseExact)return function(e,t,i){var n,r,o,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=d([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(r=ve.call(this._shortMonthsParse,e))?r:null:-1!==(r=ve.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=ve.call(this._shortMonthsParse,e))||-1!==(r=ve.call(this._longMonthsParse,e))?r:null:-1!==(r=ve.call(this._longMonthsParse,e))||-1!==(r=ve.call(this._shortMonthsParse,e))?r:null}.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=d([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(r.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(i&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!i&&this._monthsParse[n].test(e))return n}},Q.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Re.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Pe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Q.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Re.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=ke),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Q.week=function(e){return je(e,this._week.dow,this._week.doy).week},Q.firstDayOfYear=function(){return this._week.doy},Q.firstDayOfWeek=function(){return this._week.dow},Q.weekdays=function(e,t){return t=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Be(t,this._week.dow):e?t[e.day()]:t},Q.weekdaysMin=function(e){return!0===e?Be(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Q.weekdaysShort=function(e){return!0===e?Be(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Q.weekdaysParse=function(e,t,i){var n,r;if(this._weekdaysParseExact)return function(e,t,i){var n,r,o,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=d([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(r=ve.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=ve.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=ve.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=ve.call(this._weekdaysParse,e))||-1!==(r=ve.call(this._shortWeekdaysParse,e))||-1!==(r=ve.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=ve.call(this._shortWeekdaysParse,e))||-1!==(r=ve.call(this._weekdaysParse,e))||-1!==(r=ve.call(this._minWeekdaysParse,e))?r:null:-1!==(r=ve.call(this._minWeekdaysParse,e))||-1!==(r=ve.call(this._weekdaysParse,e))||-1!==(r=ve.call(this._shortWeekdaysParse,e))?r:null}.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=d([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(r.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(i&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(i&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!i&&this._weekdaysParse[n].test(e))return n}},Q.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Ze),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Q.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Xe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Q.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Q.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Q.meridiem=function(e,t,i){return 11<e?i?"pm":"PM":i?"am":"AM"},ct("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===B(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),p.lang=i("moment.lang is deprecated. Use moment.locale instead.",ct),p.langData=i("moment.langData is deprecated. Use moment.localeData instead.",mt);var yi=Math.abs;function vi(e,t,i,n){i=Ht(t,i);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function wi(e){return e<0?Math.floor(e):Math.ceil(e)}function _i(e){return 4800*e/146097}function bi(e){return 146097*e/4800}function xi(e){return function(){return this.as(e)}}oe=xi("ms"),K=xi("s"),Z=xi("m"),X=xi("h"),ne=xi("d"),J=xi("w"),Jt=xi("M"),kt=xi("Q"),Dt=xi("y");function Ti(e){return function(){return this.isValid()?this._data[e]:NaN}}ce=Ti("milliseconds"),it=Ti("seconds"),Se=Ti("minutes"),He=Ti("hours"),qe=Ti("days"),ie=Ti("months"),Fe=Ti("years");var Ei=Math.round,Li={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ci(e,t,i,n){var r=Ht(e).abs(),o=Ei(r.as("s")),a=Ei(r.as("m")),s=Ei(r.as("h")),l=Ei(r.as("d")),u=Ei(r.as("M")),c=Ei(r.as("w")),r=Ei(r.as("y")),l=(o<=i.ss?["s",o]:o<i.s&&["ss",o])||a<=1&&["m"]||a<i.m&&["mm",a]||s<=1&&["h"]||s<i.h&&["hh",s]||l<=1&&["d"]||l<i.d&&["dd",l];return(l=(l=null!=i.w?l||c<=1&&["w"]||c<i.w&&["ww",c]:l)||u<=1&&["M"]||u<i.M&&["MM",u]||r<=1&&["y"]||["yy",r])[2]=t,l[3]=0<+e,l[4]=n,function(e,t,i,n,r){return r.relativeTime(t||1,!!i,e,n)}.apply(null,l)}var Mi=Math.abs;function Ai(e){return(0<e)-(e<0)||+e}function Si(){if(!this.isValid())return this.localeData().invalidDate();var e,t,i,n,r,o,a,s=Mi(this._milliseconds)/1e3,l=Mi(this._days),u=Mi(this._months),c=this.asSeconds();return c?(e=V(s/60),t=V(e/60),s%=60,e%=60,i=V(u/12),u%=12,n=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=Ai(this._months)!==Ai(c)?"-":"",o=Ai(this._days)!==Ai(c)?"-":"",a=Ai(this._milliseconds)!==Ai(c)?"-":"",(c<0?"-":"")+"P"+(i?r+i+"Y":"")+(u?r+u+"M":"")+(l?o+l+"D":"")+(t||e||s?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(s?a+n+"S":"")):"P0D"}Q=Nt.prototype;return Q.isValid=function(){return this._isValid},Q.abs=function(){var e=this._data;return this._milliseconds=yi(this._milliseconds),this._days=yi(this._days),this._months=yi(this._months),e.milliseconds=yi(e.milliseconds),e.seconds=yi(e.seconds),e.minutes=yi(e.minutes),e.hours=yi(e.hours),e.months=yi(e.months),e.years=yi(e.years),this},Q.add=function(e,t){return vi(this,e,t,1)},Q.subtract=function(e,t){return vi(this,e,t,-1)},Q.as=function(e){if(!this.isValid())return NaN;var t,i,n=this._milliseconds;if("month"===(e=U(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,i=this._months+_i(t),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(bi(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},Q.asMilliseconds=oe,Q.asSeconds=K,Q.asMinutes=Z,Q.asHours=X,Q.asDays=ne,Q.asWeeks=J,Q.asMonths=Jt,Q.asQuarters=kt,Q.asYears=Dt,Q.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*B(this._months/12):NaN},Q._bubble=function(){var e=this._milliseconds,t=this._days,i=this._months,n=this._data;return 0<=e&&0<=t&&0<=i||e<=0&&t<=0&&i<=0||(e+=864e5*wi(bi(i)+t),i=t=0),n.milliseconds=e%1e3,e=V(e/1e3),n.seconds=e%60,e=V(e/60),n.minutes=e%60,e=V(e/60),n.hours=e%24,t+=V(e/24),i+=e=V(_i(t)),t-=wi(bi(e)),e=V(i/12),i%=12,n.days=t,n.months=i,n.years=e,this},Q.clone=function(){return Ht(this)},Q.get=function(e){return e=U(e),this.isValid()?this[e+"s"]():NaN},Q.milliseconds=ce,Q.seconds=it,Q.minutes=Se,Q.hours=He,Q.days=qe,Q.weeks=function(){return V(this.days()/7)},Q.months=ie,Q.years=Fe,Q.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var i=!1,n=Li;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(n=Object.assign({},Li,t),null!=t.s&&null==t.ss&&(n.ss=t.s-1)),n=Ci(this,!i,n,t=this.localeData()),i&&(n=t.pastFuture(+this,n)),t.postformat(n)},Q.toISOString=Si,Q.toString=Si,Q.toJSON=Si,Q.locale=ti,Q.localeData=ii,Q.toIsoString=i("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Si),Q.lang=te,O("X",0,0,"unix"),O("x",0,0,"valueOf"),de("x",se),de("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",function(e,t,i){i._d=new Date(1e3*parseFloat(e))}),ge("x",function(e,t,i){i._d=new Date(B(e))}),p.version="2.29.1",e=It,p.fn=re,p.min=function(){return Pt("isBefore",[].slice.call(arguments,0))},p.max=function(){return Pt("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=d,p.unix=function(e){return It(1e3*e)},p.months=function(e,t){return hi(e,t,"months")},p.isDate=r,p.locale=ct,p.invalid=g,p.duration=Ht,p.isMoment=b,p.weekdays=function(e,t,i){return gi(e,t,i,"weekdays")},p.parseZone=function(){return It.apply(null,arguments).parseZone()},p.localeData=mt,p.isDuration=Rt,p.monthsShort=function(e,t){return hi(e,t,"monthsShort")},p.weekdaysMin=function(e,t,i){return gi(e,t,i,"weekdaysMin")},p.defineLocale=dt,p.updateLocale=function(e,t){var i,n;return null!=t?(n=rt,null!=ot[e]&&null!=ot[e].parentLocale?ot[e].set(C(ot[e]._config,t)):(t=C(n=null!=(i=ut(e))?i._config:n,t),null==i&&(t.abbr=e),(t=new M(t)).parentLocale=ot[e],ot[e]=t),ct(e)):null!=ot[e]&&(null!=ot[e].parentLocale?(ot[e]=ot[e].parentLocale,e===ct()&&ct(e)):null!=ot[e]&&delete ot[e]),ot[e]},p.locales=function(){return A(ot)},p.weekdaysShort=function(e,t,i){return gi(e,t,i,"weekdaysShort")},p.normalizeUnits=U,p.relativeTimeRounding=function(e){return void 0===e?Ei:"function"==typeof e&&(Ei=e,!0)},p.relativeTimeThreshold=function(e,t){return void 0!==Li[e]&&(void 0===t?Li[e]:(Li[e]=t,"s"===e&&(Li.ss=t-1),!0))},p.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},p.prototype=re,p.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},p}(),Fn.exports);function $n(e,{delay:t=0,duration:i=400,easing:n=h}={}){const r=+getComputedStyle(e).opacity;return{delay:t,duration:i,easing:n,css:e=>"opacity: "+e*r}}function Wn(i){let n,t,r;return{c(){n=Q("div"),n.innerHTML='<div class="ModalContainer" part="ModalContainer"><slot></slot></div>',ne(n,"class","ModalWindow"),ne(n,"part","ModalWindow"),ne(n,"id","Modal")},m(e,t){X(e,n,t),i[3](n),r=!0},p(e,t){i=e},i(e){r||(I(()=>{t=t||j(n,$n,{transitionDuration:i[1]},!0),t.run(1)}),r=!0)},o(e){t=t||j(n,$n,{transitionDuration:i[1]},!1),t.run(0),r=!1},d(e){e&&J(n),i[3](null),e&&t&&t.end()}}}function jn(e){let i,n,r=e[0]&&Wn(e);return{c(){i=Q("div"),r&&r.c(),this.c=z},m(e,t){X(e,i,t),r&&r.m(i,null),n=!0},p(e,[t]){e[0]?r?(r.p(e,t),1&t&&G(r,1)):(r=Wn(e),r.c(),G(r,1),r.m(i,null)):r&&(U={r:0,c:[],p:U},$(r,1,1,()=>{r=null}),U.r||q(U.c),U=U.p)},i(e){n||(G(r),n=!0)},o(e){$(r),n=!1},d(e){e&&J(i),r&&r.d()}}}function Vn(e,t,i){let n,{show:r=!1}=t,{duration:o=350}=t;const a=e=>{"ModalClosed"==e.data.type&&i(0,r=!1),"ShowLimitsConfirmationModal"===e.data.type&&(i(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href))};return Y(()=>(window.addEventListener("message",a,!1),()=>{window.removeEventListener("message",a)})),e.$$set=e=>{"show"in e&&i(0,r=e.show),"duration"in e&&i(1,o=e.duration)},[r,o,void 0,function(e){s[e?"unshift":"push"](()=>{n=e,i(2,n)})}]}customElements.get("player-account-modal")||customElements.define("player-account-modal",class extends B{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}</style>",V(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Vn,jn,i,{show:0,duration:1}),e&&(e.target&&X(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["show","duration"]}get show(){return this.$$.ctx[0]}set show(e){this.$set({show:e}),k()}get duration(){return this.$$.ctx[1]}set duration(e){this.$set({duration:e}),k()}});const Bn={en:{modalText:{cancel:"Cancel",confirm:"Confirm"}},fr:{modalText:{cancel:"Annuler",confirm:"Confirmer"}},ro:{modalText:{cancel:"Anulează",confirm:"Confirmă"}},es:{modalText:{cancel:"Cancelar",confirm:"Confirmar"}},pt:{modalText:{cancel:"Cancelar",confirm:"Confirmar"}}};function Hn(i){let n,r,o,a,s,l,u,c,d,m,f,p,h,g,y=i[1]("modalText.cancel")+"",v=i[1]("modalText.confirm")+"",w=!i[2]&&function(i){let n,r,o;return{c(){n=Q("span"),n.innerHTML='<slot name="close"><svg class="w-6 h-6" part="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',ne(n,"class","ModalCloseBtn"),ne(n,"part","ModalCloseBtn"),ne(n,"role","button")},m(e,t){X(e,n,t),r||(o=te(n,"click",i[3]),r=!0)},p:z,d(e){e&&J(n),r=!1,o()}}}(i);return{c(){n=Q("div"),w&&w.c(),r=ee(),o=Q("div"),a=Q("div"),s=K(i[0]),l=ee(),u=Q("div"),c=Q("button"),d=K(y),m=ee(),f=Q("button"),p=K(v),this.c=z,ne(a,"class","GamingLimitsConfirmationContent"),ne(a,"part","GamingLimitsConfirmationContent"),ne(c,"class","GamingLimitsCancelButton"),ne(c,"part","GamingLimitsCancelButton"),ne(f,"class","GamingLimitsConfirmButton"),ne(f,"part","GamingLimitsConfirmButton"),ne(u,"class","GamingLimitsConfirmationControlArea"),ne(u,"part","GamingLimitsConfirmationControlArea"),ne(o,"class","GamingLimitsConfirmationContainer "+(i[2]?"GamingLimitsConfirmationContainerMobile":"")),ne(o,"part","GamingLimitsConfirmationContainer "+(i[2]?"GamingLimitsConfirmationContainerMobile":"")),ne(n,"class","GamingLimitsConfirmationWrapper "+(i[2]?"GamingLimitsConfirmationMobileWrapper":"")),ne(n,"part","GamingLimitsConfirmationWrapper "+(i[2]?"GamingLimitsConfirmationMobileWrapper":""))},m(e,t){X(e,n,t),w&&w.m(n,null),Z(n,r),Z(n,o),Z(o,a),Z(a,s),Z(o,l),Z(o,u),Z(u,c),Z(c,d),Z(u,m),Z(u,f),Z(f,p),h||(g=[te(c,"click",i[5]),te(f,"click",i[4])],h=!0)},p(e,[t]){e[2]||w.p(e,t),1&t&&oe(s,e[0]),2&t&&y!==(y=e[1]("modalText.cancel")+"")&&oe(d,y),2&t&&v!==(v=e[1]("modalText.confirm")+"")&&oe(p,v)},i:z,o:z,d(e){e&&J(n),w&&w.d(),h=!1,q(g)}}}function zn(t,e,i){let n;N(t,Mn,e=>i(1,n=e));let{modaltext:r="Are you sure that you want to perform this action?"}=e,{modalsource:o=""}=e,{lang:a="en"}=e;Object.keys(Bn).forEach(e=>{sn(e,Bn[e])});let s=window.navigator.userAgent,l="PC"!==An(s),u={},c="";const d=e=>{e.data&&"DeleteLimitsItem"===e.data.type&&(u=e.data.removeData,e=e.data.removeName,c="Time Limit"===e?"cumulativeSessionLimits":"Deposit Limit"===e?"depositLimits":"Wagering Limit"===e?"wageringLimit":"lossLimit")};Y(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)}));return t.$$set=e=>{"modaltext"in e&&i(0,r=e.modaltext),"modalsource"in e&&i(6,o=e.modalsource),"lang"in e&&i(7,a=e.lang)},t.$$.update=()=>{var e;193&t.$$.dirty&&r&&o&&a&&(e=a,yn.set(e))},[r,n,l,()=>{window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},()=>{"groupEdit"===o?window.postMessage({type:"GamingLimitsConfirmChanges"},window.location.href):"infoCard"===o&&window.postMessage({type:"PlayerAccountGamingLimitDelete",limit:u,name:c},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},()=>{"groupEdit"===o?window.postMessage({type:"CancelGamingLimitsChanges"},window.location.href):"infoCard"===o&&window.postMessage({type:"CancelGamingLimitsRemove"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},o,a]}function qn(e,t,i){const n=e.slice();return n[44]=t[i],n[45]=t,n[46]=i,n}function Zn(e,t,i){const n=e.slice();return n[47]=t[i],n}function Xn(e,t,i){const n=e.slice();return n[44]=t[i],n[46]=i,n}function Jn(e){let i,n,r,o=e[16]("editText.success")+"";return{c(){i=Q("div"),n=Q("p"),r=K(o),ne(i,"class","AccountEditLimitSuccessfulChangeContainer"),ne(i,"part","AccountEditLimitSuccessfulChangeContainer")},m(e,t){X(e,i,t),Z(i,n),Z(n,r)},p(e,t){65536&t[0]&&o!==(o=e[16]("editText.success")+"")&&oe(r,o)},d(e){e&&J(i)}}}function Qn(t){let r,o=t[12],a=[];for(let e=0;e<o.length;e+=1)a[e]=er(Xn(t,o,e));return{c(){r=Q("div");for(let e=0;e<a.length;e+=1)a[e].c();ne(r,"class","AccountEditLimitSuccessfulChangeContainer"),ne(r,"part","AccountEditLimitSuccessfulChangeContainer")},m(e,t){X(e,r,t);for(let e=0;e<a.length;e+=1)a[e].m(r,null)},p(t,i){if(102400&i[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){var n=Xn(t,o,e);a[e]?a[e].p(n,i):(a[e]=er(n),a[e].c(),a[e].m(r,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=o.length}},d(e){e&&J(r),b(a,e)}}}function Kn(e){let i,n,r,o,a=e[16]("editText.remove")+"",s=(e[44].expiryDate?Gn(e[44].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=Q("p"),n=K(a),r=ee(),o=K(s)},m(e,t){X(e,i,t),Z(i,n),Z(i,r),Z(i,o)},p(e,t){65536&t[0]&&a!==(a=e[16]("editText.remove")+"")&&oe(n,a),4096&t[0]&&s!==(s=(e[44].expiryDate?Gn(e[44].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&oe(o,s)},d(e){e&&J(i)}}}function er(e){let i,n=e[44].period==e[15][e[46]].periodName&&Kn(e);return{c(){n&&n.c(),i=x()},m(e,t){n&&n.m(e,t),X(e,i,t)},p(e,t){e[44].period==e[15][e[46]].periodName?n?n.p(e,t):(n=Kn(e),n.c(),n.m(i.parentNode,i)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&J(i)}}}function tr(t){let i,r,o=t[12],a=[];for(let e=0;e<o.length;e+=1)a[e]=cr(qn(t,o,e));return{c(){i=Q("div"),r=Q("div");for(let e=0;e<a.length;e+=1)a[e].c();ne(r,"class","AccountEditLimitsContainer"),ne(r,"part","AccountEditLimitsContainer"),ne(i,"class","AccountEditContent"),ne(i,"part","AccountEditContent")},m(e,t){X(e,i,t),Z(i,r);for(let e=0;e<a.length;e+=1)a[e].m(r,null)},p(t,i){if(4709144&i[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){var n=qn(t,o,e);a[e]?a[e].p(n,i):(a[e]=cr(n),a[e].c(),a[e].m(r,null))}for(;e<a.length;e+=1)a[e].d(1);a.length=o.length}},d(e){e&&J(i),b(a,e)}}}function ir(i){let n,r,o,a,s,l,u,c,d,m,f=i[16]("editText.noLimit")+"",p=i[18][i[46]].values,h=[];for(let e=0;e<p.length;e+=1)h[e]=nr(Zn(i,p,e));function g(){i[23].call(n,i[46])}let y="Custom"===i[15][i[46]].amount&&rr(i),v=!0===i[44].isModified&&ur(i);return{c(){n=Q("select"),r=Q("option"),o=K(f);for(let e=0;e<h.length;e+=1)h[e].c();s=ee(),l=Q("div"),y&&y.c(),u=ee(),v&&v.c(),c=x(),r.__value="",r.value=r.__value,r.disabled=!0,r.selected=!0,r.hidden=!0,ne(n,"class","AccountEditField "+(i[17]?"TimeoutSelectMobile":"")),ne(n,"part","AccountEditField "+(i[17]?"TimeoutSelectMobile":"")),n.disabled=a=!0===i[44].isModified,void 0===i[15][i[46]].amount&&I(g),ne(l,"class","AccountEditLimitsInputContainer"),ne(l,"part","AccountEditLimitsInputContainer")},m(e,t){X(e,n,t),Z(n,r),Z(r,o);for(let e=0;e<h.length;e+=1)h[e].m(n,null);T(n,i[15][i[46]].amount),X(e,s,t),X(e,l,t),y&&y.m(l,null),X(e,u,t),v&&v.m(e,t),X(e,c,t),d||(m=[te(n,"change",g),te(n,"change",function(){w(i[22](i[15][i[46]],i[46],!1,i[14]))&&i[22](i[15][i[46]],i[46],!1,i[14]).apply(this,arguments)})],d=!0)},p(e,t){if(i=e,65536&t[0]&&f!==(f=i[16]("editText.noLimit")+"")&&oe(o,f),262168&t[0]){let e;for(p=i[18][i[46]].values,e=0;e<p.length;e+=1){const o=Zn(i,p,e);h[e]?h[e].p(o,t):(h[e]=nr(o),h[e].c(),h[e].m(n,null))}for(;e<h.length;e+=1)h[e].d(1);h.length=p.length}4096&t[0]&&a!==(a=!0===i[44].isModified)&&(n.disabled=a),294912&t[0]&&T(n,i[15][i[46]].amount),"Custom"===i[15][i[46]].amount?y?y.p(i,t):(y=rr(i),y.c(),y.m(l,null)):y&&(y.d(1),y=null),!0===i[44].isModified?v?v.p(i,t):(v=ur(i),v.c(),v.m(c.parentNode,c)):v&&(v.d(1),v=null)},d(e){e&&J(n),b(h,e),e&&J(s),e&&J(l),y&&y.d(),e&&J(u),v&&v.d(e),e&&J(c),d=!1,q(m)}}}function nr(e){let i,n,r,t=e[47]+"",o="No limit"!==e[47]&&"Custom"!==e[47]&&function(){let i,n=("Time Limit"!==e[3]?e[4]:" minutes")+"";return{c(){i=K(n)},m(e,t){X(e,i,t)},p(e,t){24&t[0]&&n!==(n=("Time Limit"!==e[3]?e[4]:" minutes")+"")&&oe(i,n)},d(e){e&&J(i)}}}();return{c(){i=Q("option"),n=K(t),r=ee(),o&&o.c(),i.__value=e[47],i.value=i.__value},m(e,t){X(e,i,t),Z(i,n),Z(i,r),o&&o.m(i,null)},p(e,t){"No limit"!==e[47]&&"Custom"!==e[47]&&o.p(e,t)},d(e){e&&J(i),o&&o.d()}}}function rr(e){let i;function n(e){return"Deposit Limit"===e[3]?ar:or}let r=n(e),o=r(e);return{c(){o.c(),i=x()},m(e,t){o.m(e,t),X(e,i,t)},p(e,t){r===(r=n(e))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(i.parentNode,i)))},d(e){o.d(e),e&&J(i)}}}function or(i){let n,r,o,a,s,l;function u(){i[25].call(n,i[46])}let c=1==i[11][i[46]]&&sr(i);return{c(){n=Q("input"),o=ee(),a=Q("p"),c&&c.c(),ne(n,"type","number"),ne(n,"class","AccountEditField AccountEditFieldCustom"),ne(n,"part","AccountEditField AccountEditFieldCustom"),n.disabled=r=!0===i[44].isModified,ne(a,"class","AccountEditWarningText"),ne(a,"part","AccountEditWarningText")},m(e,t){X(e,n,t),f(n,i[15][i[46]].value),X(e,o,t),X(e,a,t),c&&c.m(a,null),s||(l=[te(n,"keyup",function(){w(i[22](i[15][i[46]],i[46],!0,i[14]))&&i[22](i[15][i[46]],i[46],!0,i[14]).apply(this,arguments)}),te(n,"input",u)],s=!0)},p(e,t){i=e,4096&t[0]&&r!==(r=!0===i[44].isModified)&&(n.disabled=r),294912&t[0]&&R(n.value)!==i[15][i[46]].value&&f(n,i[15][i[46]].value),1==i[11][i[46]]?c?c.p(i,t):(c=sr(i),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(e){e&&J(n),e&&J(o),e&&J(a),c&&c.d(),s=!1,q(l)}}}function ar(i){let n,r,o,a,s,l;function u(){i[24].call(n,i[46])}let c=1==i[11][i[46]]&&lr(i);return{c(){n=Q("input"),o=ee(),a=Q("p"),c&&c.c(),ne(n,"type","number"),ne(n,"class","AccountEditField AccountEditFieldCustom"),ne(n,"part","AccountEditField AccountEditFieldCustom"),n.disabled=r=!0===i[44].isModified,ne(a,"class","AccountEditWarningText"),ne(a,"part","AccountEditWarningText")},m(e,t){X(e,n,t),f(n,i[15][i[46]].value),X(e,o,t),X(e,a,t),c&&c.m(a,null),s||(l=[te(n,"keyup",function(){w(i[22](i[15][i[46]],i[46],!1,i[14]))&&i[22](i[15][i[46]],i[46],!1,i[14]).apply(this,arguments)}),te(n,"input",u)],s=!0)},p(e,t){i=e,4096&t[0]&&r!==(r=!0===i[44].isModified)&&(n.disabled=r),294912&t[0]&&R(n.value)!==i[15][i[46]].value&&f(n,i[15][i[46]].value),1==i[11][i[46]]?c?c.p(i,t):(c=lr(i),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(e){e&&J(n),e&&J(o),e&&J(a),c&&c.d(),s=!1,q(l)}}}function sr(e){let i,n,r=e[16]("editText.invalidInputMessageTime",{values:{minTime:e[8],maxTime:e[9]}})+"";return{c(){i=Q("p"),n=K(r),ne(i,"class","InvalidInput"),ne(i,"part","InvalidInput")},m(e,t){X(e,i,t),Z(i,n)},p(e,t){66304&t[0]&&r!==(r=e[16]("editText.invalidInputMessageTime",{values:{minTime:e[8],maxTime:e[9]}})+"")&&oe(n,r)},d(e){e&&J(i)}}}function lr(e){let i,n,r=e[16]("editText.invalidInputMessageLimit")+"";return{c(){i=Q("p"),n=K(r),ne(i,"class","InvalidInput"),ne(i,"part","InvalidInput")},m(e,t){X(e,i,t),Z(i,n)},p(e,t){65536&t[0]&&r!==(r=e[16]("editText.invalidInputMessageLimit")+"")&&oe(n,r)},d(e){e&&J(i)}}}function ur(e){let i,n,r,o,a,s,l,u,c,d,m,f,p,h,g,y,v=e[16]("editText.expirationDate")+"",w=(e[44].expiryDate?Gn(e[44].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",_=e[16]("editText.changedLimitTextBefore")+"",b=(0<e[44].updateAmount?e[44].updateAmount:0)+"",x=(void 0!==e[44].minutes?" minutes":e[4])+"",T=e[16]("editText.changedLimitTextAfter")+"";return{c(){i=Q("p"),n=K(v),r=ee(),o=Q("span"),a=K(w),s=ee(),l=Q("div"),u=Q("p"),c=Q("span"),c.textContent="i",d=Q("span"),m=K(_),f=ee(),p=K(b),h=ee(),g=K(x),y=K(T),ne(i,"class","AccountEditLimitsExpiryDate"),ne(i,"part","AccountEditLimitsExpiryDate"),ne(c,"class","AccountEditLimitChangePeriodIcon"),ne(c,"part","AccountEditLimitChangePeriodIcon"),ne(l,"class","AccountEditLimitsPeriodChangeContainer"),ne(l,"part","AccountEditLimitsPeriodChangeContainer")},m(e,t){X(e,i,t),Z(i,n),Z(i,r),Z(i,o),Z(o,a),X(e,s,t),X(e,l,t),Z(l,u),Z(u,c),Z(u,d),Z(d,m),Z(d,f),Z(d,p),Z(d,h),Z(d,g),Z(d,y)},p(e,t){65536&t[0]&&v!==(v=e[16]("editText.expirationDate")+"")&&oe(n,v),4096&t[0]&&w!==(w=(e[44].expiryDate?Gn(e[44].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&oe(a,w),65536&t[0]&&_!==(_=e[16]("editText.changedLimitTextBefore")+"")&&oe(m,_),4096&t[0]&&b!==(b=(0<e[44].updateAmount?e[44].updateAmount:0)+"")&&oe(p,b),4112&t[0]&&x!==(x=(void 0!==e[44].minutes?" minutes":e[4])+"")&&oe(g,x),65536&t[0]&&T!==(T=e[16]("editText.changedLimitTextAfter")+"")&&oe(y,T)},d(e){e&&J(i),e&&J(s),e&&J(l)}}}function cr(e){let i,n,r,o,a,s=e[44].period+"",l=e[44].period==e[15][e[46]].periodName&&ir(e);return{c(){i=Q("div"),n=Q("p"),r=K(s),o=ee(),l&&l.c(),a=ee(),ne(n,"class","AccountEditLimitsTitle"),ne(n,"part","AccountEditLimitsTitle"),ne(i,"class","AccountEditLimitsBox"),ne(i,"part","AccountEditLimitsBox")},m(e,t){X(e,i,t),Z(i,n),Z(n,r),Z(i,o),l&&l.m(i,null),Z(i,a)},p(e,t){4096&t[0]&&s!==(s=e[44].period+"")&&oe(r,s),e[44].period==e[15][e[46]].periodName?l?l.p(e,t):(l=ir(e),l.c(),l.m(i,a)):l&&(l.d(1),l=null)},d(e){e&&J(i),l&&l.d()}}}function dr(i){let n,r,o,a,s,l,u,c,d,m,f,p,h,g,y,v,w,_,b,x,T,E,L,C,M,A,S,I,D,k,P,O,N,R,Y,F,U,G=i[16]("editText.back")+"",$=(i[0]?i[3]:"")+"",W=i[16]("editText.save")+"",j=i[17]&&function(i){let n,r,o,a,s,l,u,c,d,m,f,p,h,g=i[16]("editText.back")+"";return{c(){n=Q("div"),r=t("svg"),o=t("defs"),a=t("style"),s=K(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=t("g"),u=t("g"),c=t("path"),d=ee(),m=Q("h2"),f=K(g),ne(c,"class","aaa"),ne(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),ne(c,"transform","translate(15 15) rotate(180)"),ne(u,"transform","translate(20 158)"),ne(l,"transform","translate(-20 -158)"),ne(r,"xmlns","http://www.w3.org/2000/svg"),ne(r,"width","15"),ne(r,"height","15"),ne(r,"viewBox","0 0 15 15"),ne(m,"class","MyAccountCategoryTitleMobile"),ne(m,"part","MyAccountCategoryTitleMobile"),ne(n,"class","MenuReturnButton"),ne(n,"part","MenuReturnButton")},m(e,t){X(e,n,t),Z(n,r),Z(r,o),Z(o,a),Z(a,s),Z(r,l),Z(l,u),Z(u,c),Z(n,d),Z(n,m),Z(m,f),p||(h=te(n,"click",i[20]),p=!0)},p(e,t){65536&t[0]&&g!==(g=e[16]("editText.back")+"")&&oe(f,g)},d(e){e&&J(n),p=!1,h()}}}(i),V=i[1]&&Jn(i),B=i[2]&&Qn(i),H=i[7]&&tr(i);return{c(){n=Q("div"),j&&j.c(),r=ee(),o=Q("div"),a=t("svg"),s=t("defs"),l=t("style"),u=K(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),c=t("g"),d=t("g"),m=t("path"),f=ee(),p=Q("h2"),h=K(G),g=ee(),y=Q("div"),v=Q("h6"),w=K($),_=ee(),b=Q("div"),x=Q("span"),x.textContent="i",T=ee(),E=Q("player-account-gaming-limits-popup"),L=ee(),V&&V.c(),C=ee(),B&&B.c(),M=ee(),H&&H.c(),A=ee(),S=Q("div"),I=Q("button"),D=K(W),N=ee(),R=Q("player-account-modal"),Y=Q("player-account-gaming-limits-confirmation-modal"),this.c=z,ne(m,"class","aaa"),ne(m,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),ne(m,"transform","translate(15 15) rotate(180)"),ne(d,"transform","translate(20 158)"),ne(c,"transform","translate(-20 -158)"),ne(a,"xmlns","http://www.w3.org/2000/svg"),ne(a,"width","15"),ne(a,"height","15"),ne(a,"viewBox","0 0 15 15"),ne(p,"class","MyAccountCategoryTitle "+(i[17]?"MyAccountCategoryTitleNone":"")),ne(p,"part","MyAccountCategoryTitle "+(i[17]?"MyAccountCategoryTitleNone":"")),ne(o,"class","MenuReturnButton "+(i[17]?"MyAccountCategoryTitleNone":"")),ne(o,"part","MenuReturnButton "+(i[17]?"MyAccountCategoryTitleNone":"")),ne(x,"class","AccountEditLimitsIcon"),ne(x,"part","AccountEditLimitsIcon"),re(E,"showpopup",i[6]),re(E,"lang",i[5]),ne(b,"class","AccountEditLimitsIconWrapper"),ne(b,"part","AccountEditLimitsIconWrapper"),ne(y,"class","AccountEditLimitsHeader"),ne(y,"part","AccountEditLimitsHeader"),ne(I,"class",k="AccountEditLimitsSaveButton "+(i[13]?"":"AccountEditLimitsButtonDisabled")),ne(I,"part",P="AccountEditLimitsSaveButton "+(i[13]?"":"AccountEditLimitsButtonDisabled")),I.disabled=O=!i[13],ne(S,"class","AccountEditLimitsControlArea"),ne(S,"part","AccountEditLimitsControlArea"),ne(n,"class","AccountEditLimitsWrapper "+(i[17]?"AccountEditLimitsMobileWrapper":"")),re(Y,"modaltext",i[10]),re(Y,"modalsource","groupEdit"),re(Y,"lang",i[5])},m(e,t){X(e,n,t),j&&j.m(n,null),Z(n,r),Z(n,o),Z(o,a),Z(a,s),Z(s,l),Z(l,u),Z(a,c),Z(c,d),Z(d,m),Z(o,f),Z(o,p),Z(p,h),Z(n,g),Z(n,y),Z(y,v),Z(v,w),Z(y,_),Z(y,b),Z(b,x),Z(b,T),Z(b,E),Z(n,L),V&&V.m(n,null),Z(n,C),B&&B.m(n,null),Z(n,M),H&&H.m(n,null),Z(n,A),Z(n,S),Z(S,I),Z(I,D),X(e,N,t),X(e,R,t),Z(R,Y),F||(U=[te(o,"click",i[20]),te(x,"click",ie(i[19])),te(I,"click",i[26])],F=!0)},p(e,t){e[17]&&j.p(e,t),65536&t[0]&&G!==(G=e[16]("editText.back")+"")&&oe(h,G),9&t[0]&&$!==($=(e[0]?e[3]:"")+"")&&oe(w,$),64&t[0]&&re(E,"showpopup",e[6]),32&t[0]&&re(E,"lang",e[5]),e[1]?V?V.p(e,t):(V=Jn(e),V.c(),V.m(n,C)):V&&(V.d(1),V=null),e[2]?B?B.p(e,t):(B=Qn(e),B.c(),B.m(n,M)):B&&(B.d(1),B=null),e[7]?H?H.p(e,t):(H=tr(e),H.c(),H.m(n,A)):H&&(H.d(1),H=null),65536&t[0]&&W!==(W=e[16]("editText.save")+"")&&oe(D,W),8192&t[0]&&k!==(k="AccountEditLimitsSaveButton "+(e[13]?"":"AccountEditLimitsButtonDisabled"))&&ne(I,"class",k),8192&t[0]&&P!==(P="AccountEditLimitsSaveButton "+(e[13]?"":"AccountEditLimitsButtonDisabled"))&&ne(I,"part",P),8192&t[0]&&O!==(O=!e[13])&&(I.disabled=O),1024&t[0]&&re(Y,"modaltext",e[10]),32&t[0]&&re(Y,"lang",e[5])},i:z,o:z,d(e){e&&J(n),j&&j.d(),V&&V.d(),B&&B.d(),H&&H.d(),e&&J(N),e&&J(R),F=!1,q(U)}}}function mr(e,t,o){let i;N(e,Mn,e=>o(16,i=e));let{limitsdata:n=[]}=t,{showsuccessnotification:r=!1}=t,{showdeletenotification:a=!1}=t,{limitname:s=""}=t,{playercurrency:l=""}=t,{lang:u="en"}=t;Object.keys(Yn).forEach(e=>{sn(e,Yn[e])});let c=!1,d=!0,m=!1,f=0,p=0,h="",g=window.navigator.userAgent,y="PC"!==An(g),v=new Array(3).fill(0),w={},_=[],b=!1,x=[];const T={amount:/^[0-9]{0,7}$/,time:/^[1-9]\d*$/};let E=[{periodName:"Daily",amount:"No limit",value:0},{periodName:"Weekly",amount:"No limit",value:0},{periodName:"Monthly",amount:"No limit",value:0}],L=[{periodName:"Daily",values:["10000","20000","50000","Custom"]},{periodName:"Weekly",values:["10000","50000","100000","Custom"]},{periodName:"Monthly",values:["50000","100000","200000","Custom"]}],C=[{periodName:"Daily",values:["10000","20000","50000","Custom"]},{periodName:"Weekly",values:["10000","50000","100000","Custom"]},{periodName:"Monthly",values:["50000","100000","200000","Custom"]}],M=[{periodName:"Daily",values:["10000","20000","50000","Custom"]},{periodName:"Weekly",values:["10000","50000","100000","Custom"]},{periodName:"Monthly",values:["50000","100000","200000","Custom"]}],A=[{periodName:"Daily",values:["500","1000","1430","Custom"]},{periodName:"Weekly",values:["5000","7000","10000","Custom"]},{periodName:"Monthly",values:["20000","30000","43000","Custom"]}];const S=new Map([["Deposit Limit","depositLimits"],["Time Limit","cumulativeSessionLimits"],["Wagering Limit","wageringLimits"],["Loss Limit","lossLimits"]]),I=()=>{window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href)},D=(i,e)=>{let n=JSON.parse(JSON.stringify(e));E.forEach(t=>{n.forEach(e=>{t.periodName==i.periodName&&("Custom"!==t.amount&&"No limit"!==t.amount?t.value=JSON.parse(t.amount):"No limit"===t.amount&&(t.value=0)),e.period===t.periodName&&(e.amount=t.value)})})},k=()=>{x.forEach(e=>{var t=e;_.forEach(e=>{t.period===e.periodName&&("Time Limit"===s&&(o(8,f=60),"Daily"===t.periodName?o(9,p=1440):"Weekly"==t.periodName?o(9,p=10080):o(9,p=43200)),-1<e.values.indexOf(t.amount)&&("No limit"===t.amount?t.amount=0:t.amount=JSON.parse(t.amount)))})}),w.forEach(t=>{_.forEach(e=>{t.period===e.periodName&&((e,t,i)=>{let n=e.values;t.amount&&"No limit"!==t.amount?n.includes(JSON.stringify(t.amount))?i.forEach(e=>{e.periodName===t.period&&(e.amount=JSON.stringify(t.amount),e.value=t.amount)}):i.forEach(e=>{e.periodName===t.period&&(e.amount="Custom",e.value=t.amount)}):i.forEach(e=>{e.periodName===t.period&&(e.amount=t.amount,e.value=0)})})(e,t,E)})})},P=()=>{var e=u;yn.set(e),e="Time Limit"===s?"time limit":"Deposit Limit"===s?"deposit limit":"Wagering Limit"===s?"wagering limit":"loss limit",o(10,h=i("editText.changeLimitsText",{values:{limit:e}})),o(14,x=JSON.parse(JSON.stringify(n))),o(12,w=JSON.parse(JSON.stringify(n))),_="Wagering Limit"===s?C:"Loss Limit"===s?M:"Deposit Limit"===s?L:"Time Limit"===s?A:[],k()},O=e=>{if(e.data)switch(e.data.type){case"ClosePlayerAccountGamingLimitsPopup":o(6,c=!1);break;case"GamingLimitsConfirmChanges":m=!0,m&&("Time Limit"===s?E.forEach(t=>{w.forEach(e=>{e.period===t.periodName&&(e.minutes=t.value)})}):E.forEach(t=>{w.forEach(e=>{e.period===t.periodName&&(e.amount=t.value,e.currency=l)})}),t={},t={[S.get(s)]:[...w]},window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:t,limitsCategory:S.get(s)},window.location.href),o(13,b=!1));break;case"CancelGamingLimitsChanges":o(7,d=!1),setTimeout(()=>{o(7,d=!0)},10),P(),o(13,b=!1),m=!1}var t};return Y(()=>(window.addEventListener("message",O,!1),()=>{window.removeEventListener("message",O)})),e.$$set=e=>{"limitsdata"in e&&o(0,n=e.limitsdata),"showsuccessnotification"in e&&o(1,r=e.showsuccessnotification),"showdeletenotification"in e&&o(2,a=e.showdeletenotification),"limitname"in e&&o(3,s=e.limitname),"playercurrency"in e&&o(4,l=e.playercurrency),"lang"in e&&o(5,u=e.lang)},e.$$.update=()=>{6&e.$$.dirty[0]&&r&&a&&P(),33&e.$$.dirty[0]&&n&&u&&P()},[n,r,a,s,l,u,c,d,f,p,h,v,w,b,x,E,i,y,L,()=>{o(6,c=!0)},()=>{window.postMessage({type:"PlayerAccountBackToLimitsView"},window.location.href)},I,(e,t,i,n)=>{var r;"Custom"===e.amount?"Time Limit"==s?(o(8,f=60),"Daily"===e.periodName?o(9,p=1440):"Weekly"==e.periodName?o(9,p=10080):o(9,p=43200),e.value&&T.time.test(e.value)&&e.value>f&&e.value<=p?(o(11,v[t]=0,v),r=n[t],e.periodName==r.period&&e.value==r.amount?(o(13,b=!1),D(e,n)):o(13,b=!0)):(o(11,v[t]=1,v),o(13,b=!1))):e.value&&T.amount.test(e.value)?(o(11,v[t]=0,v),e.periodName==n[t].period&&e.value==n[t].amount?(o(13,b=!!b),D(e,n)):o(13,b=!0),E.forEach(e=>{0==e.value&&o(13,b=!1)})):(o(11,v[t]=1,v),o(13,b=!1)):(e.periodName==n[t].period?(D(e,n),o(13,b=e.value!=n[t].amount)):o(13,b=!0),E.forEach(e=>{0==e.value&&o(13,b=!1)}))},function(e){E[e].amount=function(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}(this),o(15,E),o(18,L)},function(e){E[e].value=R(this.value),o(15,E),o(18,L)},function(e){E[e].value=R(this.value),o(15,E),o(18,L)},()=>I()]}function fr(e,t,i){const n=e.slice();return n[33]=t[i],n[35]=i,n}function pr(e,t,i){const n=e.slice();return n[33]=t[i],n[35]=i,n}function hr(t){let r,o=t[0],a=[];for(let e=0;e<o.length;e+=1)a[e]=br(fr(t,o,e));return{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=x()},m(t,i){for(let e=0;e<a.length;e+=1)a[e].m(t,i);X(t,r,i)},p(t,i){if(210975&i[0]){let e;for(o=t[0],e=0;e<o.length;e+=1){var n=fr(t,o,e);a[e]?a[e].p(n,i):(a[e]=br(n),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=o.length}},d(e){b(a,e),e&&J(r)}}}function gr(t){let r,o=t[0],a=[];for(let e=0;e<o.length;e+=1)a[e]=Sr(pr(t,o,e));return{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=x()},m(t,i){for(let e=0;e<a.length;e+=1)a[e].m(t,i);X(t,r,i)},p(t,i){if(210971&i[0]){let e;for(o=t[0],e=0;e<o.length;e+=1){var n=pr(t,o,e);a[e]?a[e].p(n,i):(a[e]=Sr(n),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=o.length}},d(e){b(a,e),e&&J(r)}}}function yr(e){let i,n,r=e[11]("cardText.notAvailable")+"";return{c(){i=Q("div"),n=K(r),ne(i,"class","InfoCardRowValue"),ne(i,"part","InfoCardRowValue")},m(e,t){X(e,i,t),Z(i,n)},p(e,t){2048&t[0]&&r!==(r=e[11]("cardText.notAvailable")+"")&&oe(n,r)},d(e){e&&J(i)}}}function vr(e){let i,n,r=(e[33]?(Gn(e[33].expiryDate).year()>e[13].year()+30?e[13].add(5,"years"):Gn(e[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=Q("div"),n=K(r),ne(i,"class","InfoCardRowValue"),ne(i,"part","InfoCardRowValue")},m(e,t){X(e,i,t),Z(i,n)},p(e,t){1&t[0]&&r!==(r=(e[33]?(Gn(e[33].expiryDate).year()>e[13].year()+30?e[13].add(5,"years"):Gn(e[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&oe(n,r)},d(e){e&&J(i)}}}function wr(i){let n,r,o,a,s,l,u,c;function d(){return i[20](i[35])}return{c(){n=Q("div"),r=Q("span"),r.textContent="i",o=ee(),a=Q("player-account-gaming-limits-popup"),ne(r,"class","InfoCardIcon"),ne(r,"part","InfoCardIcon"),re(a,"showpopup",s=i[4][i[35]+1]),re(a,"iteminfoamount",l=i[33].updateAmount),re(a,"playercurrency",i[2]),re(a,"lang",i[3]),ne(n,"class","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":"")),ne(n,"part","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":""))},m(e,t){X(e,n,t),Z(n,r),Z(n,o),Z(n,a),u||(c=te(r,"click",ie(d)),u=!0)},p(e,t){i=e,16&t[0]&&s!==(s=i[4][i[35]+1])&&re(a,"showpopup",s),1&t[0]&&l!==(l=i[33].updateAmount)&&re(a,"iteminfoamount",l),4&t[0]&&re(a,"playercurrency",i[2]),8&t[0]&&re(a,"lang",i[3])},d(e){e&&J(n),u=!1,c()}}}function _r(i){let n,r,o;return{c(){n=Q("div"),n.innerHTML="<span></span>",ne(n,"class","InfoCardRemoveIcon"),ne(n,"part","InfoCardRemoveIcon")},m(e,t){X(e,n,t),r||(o=te(n,"click",function(){w(i[16](i[33],i[1]))&&i[16](i[33],i[1]).apply(this,arguments)}),r=!0)},p(e,t){i=e},d(e){e&&J(n),r=!1,o()}}}function br(e){let i,n,r,o,a,s,l,u,c,d,m,f,p,h,g,y,v,w,_,b=(e[33]?e[33].period:"")+"",x=(e[33]?e[33].amount:0)+"",T=(e[33]?e[33].currency:"")+"",E=e[11]("cardText.expirationDate")+"";function L(e){return e[33].expiryDate?vr:yr}let C=L(e),M=C(e);function A(e,t){return(null==w||2049&t[0])&&(w=!(e[33].amount===e[11]("cardText.noLimit")||e[33].isModified)),w?_r:"No limit"!=e[33].amount&&e[33].isModified?wr:void 0}let S=A(e,[-1]),I=S&&S(e);return{c(){i=Q("div"),n=Q("div"),r=Q("div"),o=Q("div"),a=K(b),s=ee(),l=Q("div"),u=K(x),c=ee(),d=Q("span"),m=K(T),f=ee(),p=Q("div"),h=Q("div"),g=K(E),y=ee(),M.c(),v=ee(),I&&I.c(),_=ee(),ne(o,"class","InfoCardRowTitle"),ne(o,"part","InfoCardRowTitle"),ne(d,"class","InfoCardCurrency"),ne(d,"part","InfoCardCurrency"),ne(l,"class","InfoCardRowValue"),ne(l,"part","InfoCardRowValue"),ne(r,"class","InfoCardRow InfoMainRow"),ne(r,"part","InfoCardRow InfoMainRow"),ne(h,"class","InfoCardRowTitle"),ne(h,"part","InfoCardRowTitle"),ne(p,"class","InfoCardRow"),ne(p,"part","InfoCardRow"),ne(n,"class","InfoCardRowContainer"),ne(n,"part","InfoCardRowContainer"),ne(i,"class","InfoCardBox InfoCardMultipleItems"),ne(i,"part","InfoCardBox InfoCardMultipleItems")},m(e,t){X(e,i,t),Z(i,n),Z(n,r),Z(r,o),Z(o,a),Z(r,s),Z(r,l),Z(l,u),Z(l,c),Z(l,d),Z(d,m),Z(n,f),Z(n,p),Z(p,h),Z(h,g),Z(p,y),M.m(p,null),Z(i,v),I&&I.m(i,null),Z(i,_)},p(e,t){1&t[0]&&b!==(b=(e[33]?e[33].period:"")+"")&&oe(a,b),1&t[0]&&x!==(x=(e[33]?e[33].amount:0)+"")&&oe(u,x),1&t[0]&&T!==(T=(e[33]?e[33].currency:"")+"")&&oe(m,T),2048&t[0]&&E!==(E=e[11]("cardText.expirationDate")+"")&&oe(g,E),C===(C=L(e))&&M?M.p(e,t):(M.d(1),M=C(e),M&&(M.c(),M.m(p,null))),S===(S=A(e,t))&&I?I.p(e,t):(I&&I.d(1),I=S&&S(e),I&&(I.c(),I.m(i,_)))},d(e){e&&J(i),M.d(),I&&I.d()}}}function xr(e){let i,n,r=e[11]("cardText.noLimit")+"";return{c(){i=Q("span"),n=K(r),ne(i,"class","InfoCardCurrency"),ne(i,"part","InfoCardCurrency")},m(e,t){X(e,i,t),Z(i,n)},p(e,t){2048&t[0]&&r!==(r=e[11]("cardText.noLimit")+"")&&oe(n,r)},d(e){e&&J(i)}}}function Tr(e){let i,n,r,o=(e[33]?e[33].amount:0)+"",a="No limit"!=e[33].amount&&Er(e);return{c(){i=K(o),n=ee(),a&&a.c(),r=x()},m(e,t){X(e,i,t),X(e,n,t),a&&a.m(e,t),X(e,r,t)},p(e,t){1&t[0]&&o!==(o=(e[33]?e[33].amount:0)+"")&&oe(i,o),"No limit"!=e[33].amount?a?a.p(e,t):(a=Er(e),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(e){e&&J(i),e&&J(n),a&&a.d(e),e&&J(r)}}}function Er(e){let i,n,r=e[11]("cardText.minutes")+"";return{c(){i=Q("span"),n=K(r),ne(i,"class","InfoCardCurrency"),ne(i,"part","InfoCardCurrency")},m(e,t){X(e,i,t),Z(i,n)},p(e,t){2048&t[0]&&r!==(r=e[11]("cardText.minutes")+"")&&oe(n,r)},d(e){e&&J(i)}}}function Lr(e){let i,n,r=e[11]("cardText.notAvailable")+"";return{c(){i=Q("div"),n=K(r),ne(i,"class","InfoCardRowValue"),ne(i,"part","InfoCardRowValue")},m(e,t){X(e,i,t),Z(i,n)},p(e,t){2048&t[0]&&r!==(r=e[11]("cardText.notAvailable")+"")&&oe(n,r)},d(e){e&&J(i)}}}function Cr(e){let i,n,r=(e[33]?(Gn(e[33].expiryDate).year()>e[13].year()+30?e[13].add(5,"years"):Gn(e[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){i=Q("div"),n=K(r),ne(i,"class","InfoCardRowValue"),ne(i,"part","InfoCardRowValue")},m(e,t){X(e,i,t),Z(i,n)},p(e,t){1&t[0]&&r!==(r=(e[33]?(Gn(e[33].expiryDate).year()>e[13].year()+30?e[13].add(5,"years"):Gn(e[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&oe(n,r)},d(e){e&&J(i)}}}function Mr(i){let n,r,o,a,s,l,u,c;function d(){return i[19](i[35])}return{c(){n=Q("div"),r=Q("span"),r.textContent="i",o=ee(),a=Q("player-account-gaming-limits-popup"),ne(r,"class","InfoCardIcon"),ne(r,"part","InfoCardIcon"),re(a,"showpopup",s=i[4][i[35]+1]),re(a,"iteminfoamount",l=i[33].updateMinutes),re(a,"playercurrency","minutes"),re(a,"lang",i[3]),ne(n,"class","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":"")),ne(n,"part","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":""))},m(e,t){X(e,n,t),Z(n,r),Z(n,o),Z(n,a),u||(c=te(r,"click",ie(d)),u=!0)},p(e,t){i=e,16&t[0]&&s!==(s=i[4][i[35]+1])&&re(a,"showpopup",s),1&t[0]&&l!==(l=i[33].updateMinutes)&&re(a,"iteminfoamount",l),8&t[0]&&re(a,"lang",i[3])},d(e){e&&J(n),u=!1,c()}}}function Ar(i){let n,r,o;return{c(){n=Q("div"),n.innerHTML="<span></span>",ne(n,"class","InfoCardRemoveIcon"),ne(n,"part","InfoCardRemoveIcon")},m(e,t){X(e,n,t),r||(o=te(n,"click",function(){w(i[16](i[33],i[1]))&&i[16](i[33],i[1]).apply(this,arguments)}),r=!0)},p(e,t){i=e},d(e){e&&J(n),r=!1,o()}}}function Sr(e){let i,n,r,o,a,s,l,u,c,d,m,f,p,h,g,y=(e[33]?e[33].period:"")+"",v=e[11]("cardText.expirationDate")+"";function w(e){return 0!==e[33].amount?Tr:xr}let _=w(e),b=_(e);function x(e){return e[33].expiryDate?Cr:Lr}let T=x(e),E=T(e);function L(e,t){return(null==h||2049&t[0])&&(h=!(e[33].amount===e[11]("cardText.noLimit")||e[33].isModified)),h?Ar:"No limit"!=e[33].amount&&e[33].isModified?Mr:void 0}let C=L(e,[-1]),M=C&&C(e);return{c(){i=Q("div"),n=Q("div"),r=Q("div"),o=Q("div"),a=K(y),s=ee(),l=Q("div"),b.c(),u=ee(),c=Q("div"),d=Q("div"),m=K(v),f=ee(),E.c(),p=ee(),M&&M.c(),g=ee(),ne(o,"class","InfoCardRowTitle"),ne(o,"part","InfoCardRowTitle"),ne(l,"class","InfoCardRowValue"),ne(l,"part","InfoCardRowValue"),ne(r,"class","InfoCardRow InfoMainRow"),ne(r,"part","InfoCardRow InfoMainRow"),ne(d,"class","InfoCardRowTitle"),ne(d,"part","InfoCardRowTitle"),ne(c,"class","InfoCardRow"),ne(c,"part","InfoCardRow"),ne(n,"class","InfoCardRowContainer"),ne(n,"part","InfoCardRowContainer"),ne(i,"class","InfoCardBox InfoCardMultipleItems"),ne(i,"part","InfoCardBox InfoCardMultipleItems")},m(e,t){X(e,i,t),Z(i,n),Z(n,r),Z(r,o),Z(o,a),Z(r,s),Z(r,l),b.m(l,null),Z(n,u),Z(n,c),Z(c,d),Z(d,m),Z(c,f),E.m(c,null),Z(i,p),M&&M.m(i,null),Z(i,g)},p(e,t){1&t[0]&&y!==(y=(e[33]?e[33].period:"")+"")&&oe(a,y),_===(_=w(e))&&b?b.p(e,t):(b.d(1),b=_(e),b&&(b.c(),b.m(l,null))),2048&t[0]&&v!==(v=e[11]("cardText.expirationDate")+"")&&oe(m,v),T===(T=x(e))&&E?E.p(e,t):(E.d(1),E=T(e),E&&(E.c(),E.m(c,null))),C===(C=L(e,t))&&M?M.p(e,t):(M&&M.d(1),M=C&&C(e),M&&(M.c(),M.m(i,g)))},d(e){e&&J(i),b.d(),E.d(),M&&M.d()}}}function Ir(i){let n,r,o,a,s=i[11]("cardText.removeLimits")+"";return{c(){n=Q("button"),r=K(s),ne(n,"class","InfoCardRemoveButton"),ne(n,"part","InfoCardRemoveButton")},m(e,t){X(e,n,t),Z(n,r),o||(a=te(n,"click",i[22]),o=!0)},p(e,t){2048&t[0]&&s!==(s=e[11]("cardText.removeLimits")+"")&&oe(r,s)},d(e){e&&J(n),o=!1,a()}}}function Dr(e){let i,n,r;return{c(){i=Q("player-account-modal"),n=Q("player-account-gaming-limits-confirmation-modal"),re(n,"modaltext",r=e[6]?e[8]:e[9]),re(n,"modalsource","infoCard"),re(n,"lang",e[3])},m(e,t){X(e,i,t),Z(i,n)},p(e,t){832&t[0]&&r!==(r=e[6]?e[8]:e[9])&&re(n,"modaltext",r),8&t[0]&&re(n,"lang",e[3])},d(e){e&&J(i)}}}function kr(e){let i,n=function(i){let n,r,o,a,s,l,u,c,d,m,f,p,h,g,y,v,w,_,b,x,T,E,L,C=(i[0]?i[1]:"")+"",M=i[11]("cardText.edit")+"";function A(e){return"Time Limit"===e[1]?gr:hr}let S=A(i),I=S(i),D=!i[5]&&!i[0].isModified&&i[10]&&Ir(i),k=i[7]&&Dr(i);return{c(){n=Q("div"),r=Q("div"),o=Q("div"),a=Q("h5"),s=K(C),l=ee(),u=Q("div"),c=Q("span"),c.textContent="i",d=ee(),m=Q("player-account-gaming-limits-popup"),p=ee(),h=Q("div"),g=Q("div"),y=Q("div"),I.c(),v=ee(),w=Q("div"),_=Q("button"),b=K(M),x=ee(),D&&D.c(),T=ee(),k&&k.c(),ne(c,"class","InfoCardIcon"),ne(c,"part","InfoCardIcon"),re(m,"showpopup",f=i[4][0]),re(m,"lang",i[3]),ne(u,"class","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":"")),ne(u,"part","InfoCardIconWrapper "+(i[12]?"InfoCardIconMobileWrapper":"")),ne(o,"class","InfoCardHeader "+(i[12]?"InfoCardMobileHeader":"")),ne(o,"part","InfoCardHeader "+(i[12]?"InfoCardMobileHeader":"")),ne(y,"class","InfoCardTableRow"),ne(y,"part","InfoCardTableRow"),ne(g,"class","InfoCardTableWrapper"),ne(g,"part","InfoCardTableWrapper"),ne(_,"class","InfoCardEditButton"),ne(_,"part","InfoCardEditButton"),ne(w,"class","InfoCardControlArea"),ne(w,"part","InfoCardControlArea"),ne(h,"class","InfoCard"),ne(h,"part","InfoCard"),ne(r,"class","InfoCardWrapper"),ne(r,"part","InfoCardWrapper"),ne(n,"class","InfoCardSection"),ne(n,"part","InfoCardSection")},m(e,t){X(e,n,t),Z(n,r),Z(r,o),Z(o,a),Z(a,s),Z(o,l),Z(o,u),Z(u,c),Z(u,d),Z(u,m),Z(r,p),Z(r,h),Z(h,g),Z(g,y),I.m(y,null),Z(h,v),Z(h,w),Z(w,_),Z(_,b),Z(w,x),D&&D.m(w,null),Z(n,T),k&&k.m(n,null),E||(L=[te(c,"click",ie(i[18])),te(_,"click",i[21])],E=!0)},p(e,t){3&t[0]&&C!==(C=(e[0]?e[1]:"")+"")&&oe(s,C),16&t[0]&&f!==(f=e[4][0])&&re(m,"showpopup",f),8&t[0]&&re(m,"lang",e[3]),S===(S=A(e))&&I?I.p(e,t):(I.d(1),I=S(e),I&&(I.c(),I.m(y,null))),2048&t[0]&&M!==(M=e[11]("cardText.edit")+"")&&oe(b,M),e[5]||e[0].isModified||!e[10]?D&&(D.d(1),D=null):D?D.p(e,t):(D=Ir(e),D.c(),D.m(w,null)),e[7]?k?k.p(e,t):(k=Dr(e),k.c(),k.m(n,null)):k&&(k.d(1),k=null)},d(e){e&&J(n),I.d(),D&&D.d(),k&&k.d(),E=!1,q(L)}}}(e);return{c(){n.c(),i=x(),this.c=z},m(e,t){n.m(e,t),X(e,i,t)},p(e,t){n.p(e,t)},i:z,o:z,d(e){n.d(e),e&&J(i)}}}function Pr(e,t,n){let o;N(e,Mn,e=>n(11,o=e));let{limitsdata:i=""}=t,{limitname:r=""}=t,{playercurrency:a=""}=t,{lang:s="en"}=t;Object.keys(In).forEach(e=>{sn(e,In[e])});let l=new Array(5).fill(0),u=[o("cardText.daily"),o("cardText.weekly"),o("cardText.monthly")],c=!0,d=!0,m=!1,f=window.navigator.userAgent,p="PC"!==An(f),h="",g="",y=!0,v=Gn();const w=e=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:e,name:r},window.location.href)},_=e=>{n(7,m=!0),n(6,d=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:e,removeName:r},window.location.href)},b=e=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{n(4,l[e]=!0,l)},50)},x=(e,t,i,n)=>{var r=n===o("cardText.time")?{period:i,minutes:0,currency:"",isModified:!1,expiryDate:""}:{period:i,amount:o("cardText.noLimit"),currency:"",isModified:!1,expiryDate:""};e.splice(t,0,r)},T=(e,t)=>e.period===o("cardText.weekly")&&t.period===o("cardText.daily")||e.period===o("cardText.monthly")&&t.period===o("cardText.daily")||e.period===o("cardText.monthly")&&t.period===o("cardText.weekly")?1:e.period===o("cardText.daily")&&t.period===o("cardText.weekly")||e.period===o("cardText.daily")&&t.period===o("cardText.monthly")||e.period===o("cardText.weekly")&&t.period===o("cardText.monthly")?-1:0,E=()=>{var e=s;yn.set(e),e=r===o("cardText.timeLimit")?o("cardText.timeLimitLower"):r===o("cardText.depositLimit")?o("cardText.depositLimitLower"):r===o("cardText.wageringLimit")?o("cardText.wageringLimitLower"):o("cardText.lossLimitLower"),n(8,h=o("cardText.removeLimitsText",{values:{limit:e}})),n(9,g=o("cardText.removeLimitText",{values:{limit:e}})),i.forEach(e=>{e.isModified&&n(10,y=!1)}),i.sort(T),(i=>{const t=u;u.forEach(t=>{i.indexOf(t),i.find(e=>e.period===t)&&(u=u.filter(e=>e!==t)),i.forEach(e=>{e.period===t&&e.amount!==o("cardText.noLimit")&&n(5,c=!1)})}),u.forEach(e=>{i.name===o("cardText.timeLimit")?x(i,t.indexOf(e),e,o("cardText.time")):x(i,t.indexOf(e),e,o("cardText.currency"))})})(i)},L=e=>{if(e.data)switch(e.data.type){case"ClosePlayerAccountGamingLimitsPopup":n(4,l=new Array(5).fill(0));break;case"ModalClosed":n(7,m=!1),n(6,d=!1)}};return Y(()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)})),e.$$set=e=>{"limitsdata"in e&&n(0,i=e.limitsdata),"limitname"in e&&n(1,r=e.limitname),"playercurrency"in e&&n(2,a=e.playercurrency),"lang"in e&&n(3,s=e.lang)},e.$$.update=()=>{11&e.$$.dirty[0]&&i&&r&&s&&E()},[i,r,a,s,l,c,d,m,h,g,y,o,p,v,w,_,(e,t)=>{n(7,m=!0),n(6,d=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:e,removeName:t},window.location.href)},b,()=>b(0),e=>b(e+1),e=>b(e+1),()=>w(i),()=>_(i)]}function Or(e){let i;return{c(){i=Q("player-account-gaming-limits-group-edit"),re(i,"limitsdata",e[8]),re(i,"limitname",e[9]),re(i,"showsuccessnotification",e[6]),re(i,"showdeletenotification",e[5]),re(i,"playercurrency",e[0]),re(i,"lang",e[7])},m(e,t){X(e,i,t)},p(e,t){256&t&&re(i,"limitsdata",e[8]),512&t&&re(i,"limitname",e[9]),64&t&&re(i,"showsuccessnotification",e[6]),32&t&&re(i,"showdeletenotification",e[5]),1&t&&re(i,"playercurrency",e[0]),128&t&&re(i,"lang",e[7])},d(e){e&&J(i)}}}function Nr(e){let i,n,r,o,a,s,l,u,c,d,m,f,p,h=e[11]("gamingLimits.gamingLimitsText")+"",g=e[12]&&function(i){let n,r,o,a,s,l,u,c,d,m,f,p,h,g=i[11]("gamingLimits.gamingLimitsText")+"";return{c(){n=Q("div"),r=t("svg"),o=t("defs"),a=t("style"),s=K(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=t("g"),u=t("g"),c=t("path"),d=ee(),m=Q("h2"),f=K(g),ne(c,"class","aaa"),ne(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),ne(c,"transform","translate(15 15) rotate(180)"),ne(u,"transform","translate(20 158)"),ne(l,"transform","translate(-20 -158)"),ne(r,"xmlns","http://www.w3.org/2000/svg"),ne(r,"width","15"),ne(r,"height","15"),ne(r,"viewBox","0 0 15 15"),ne(m,"class","PlayerGamingLimitsTitleMobile"),ne(m,"part","PlayerGamingLimitsTitleMobile"),ne(n,"class","MenuReturnButton"),ne(n,"part","MenuReturnButton")},m(e,t){X(e,n,t),Z(n,r),Z(r,o),Z(o,a),Z(a,s),Z(r,l),Z(l,u),Z(u,c),Z(n,d),Z(n,m),Z(m,f),p||(h=te(n,"click",i[19]),p=!0)},p(e,t){2048&t&&g!==(g=e[11]("gamingLimits.gamingLimitsText")+"")&&oe(f,g)},d(e){e&&J(n),p=!1,h()}}}(e);return{c(){i=Q("div"),g&&g.c(),n=ee(),r=Q("h2"),o=K(h),a=ee(),s=Q("div"),l=Q("player-account-gaming-limits-info-card"),u=ee(),c=Q("player-account-gaming-limits-info-card"),d=ee(),m=Q("player-account-gaming-limits-info-card"),f=ee(),p=Q("player-account-gaming-limits-info-card"),ne(r,"class","PlayerGamingLimitsTitle "+(e[12]?"PlayerGamingLimitsTitleNone":"")),ne(r,"part","PlayerGamingLimitsTitle "+(e[12]?"PlayerGamingLimitsTitleNone":"")),re(l,"limitsdata",e[1]),re(l,"limitname",e[13]),re(l,"playercurrency",e[0]),re(l,"lang",e[7]),re(c,"limitsdata",e[2]),re(c,"limitname",e[14]),re(c,"playercurrency",e[0]),re(c,"lang",e[7]),re(m,"limitsdata",e[3]),re(m,"limitname",e[15]),re(m,"playercurrency",e[0]),re(m,"lang",e[7]),re(p,"limitsdata",e[4]),re(p,"limitname",e[16]),re(p,"playercurrency",e[0]),re(p,"lang",e[7]),ne(s,"class","PlayerAccountGamingLimitsContainer"),ne(s,"part","PlayerAccountGamingLimitsContainer"),ne(i,"class","PlayerAccountGamingLimitsWrapper "+(e[12]?"PlayerAccountMobileGamingLimitsWrapper":"")+" "+(e[17].matches&&e[12]?"PlayerAccountTabletGamingLimitsWrapper":"")),ne(i,"part","PlayerAccountGamingLimitsWrapper "+(e[12]?"PlayerAccountMobileGamingLimitsWrapper":"")+" "+(e[17].matches&&e[12]?"PlayerAccountTabletGamingLimitsWrapper":""))},m(e,t){X(e,i,t),g&&g.m(i,null),Z(i,n),Z(i,r),Z(r,o),Z(i,a),Z(i,s),Z(s,l),Z(s,u),Z(s,c),Z(s,d),Z(s,m),Z(s,f),Z(s,p)},p(e,t){e[12]&&g.p(e,t),2048&t&&h!==(h=e[11]("gamingLimits.gamingLimitsText")+"")&&oe(o,h),2&t&&re(l,"limitsdata",e[1]),1&t&&re(l,"playercurrency",e[0]),128&t&&re(l,"lang",e[7]),4&t&&re(c,"limitsdata",e[2]),1&t&&re(c,"playercurrency",e[0]),128&t&&re(c,"lang",e[7]),8&t&&re(m,"limitsdata",e[3]),1&t&&re(m,"playercurrency",e[0]),128&t&&re(m,"lang",e[7]),16&t&&re(p,"limitsdata",e[4]),1&t&&re(p,"playercurrency",e[0]),128&t&&re(p,"lang",e[7])},d(e){e&&J(i),g&&g.d()}}}function Rr(e){let i;function n(e){return e[10]?Nr:Or}let r=n(e),o=r(e);return{c(){o.c(),i=x(),this.c=z},m(e,t){o.m(e,t),X(e,i,t)},p(e,[t]){r===(r=n(e))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(i.parentNode,i)))},i:z,o:z,d(e){o.d(e),e&&J(i)}}}function Yr(t,e,i){let n;N(t,Mn,e=>i(11,n=e));let{depositlimit:r=""}=e,{wageringlimit:o=""}=e,{losslimit:a=""}=e,{timelimit:s=""}=e,{showdeletenotification:l=!1}=e,{showsuccessnotification:u=!1}=e,{lang:c="en"}=e,{playercurrency:d=""}=e;Object.keys(Sn).forEach(e=>{sn(e,Sn[e])});let m,f=window.navigator.userAgent,p="PC"!==An(f),h="",g=!0,y=n("gamingLimits.depositLimit"),v=n("gamingLimits.wageringLimit"),w=n("gamingLimits.lossLimit"),_=n("gamingLimits.timeLimit");const b=window.matchMedia("(min-width: 768px)"),x=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:p},window.location.href)},T=e=>{if(e.data)switch(e.data.type){case"EditPlayerAccountGamingLimits":i(8,m=e.data.edit),i(9,h=e.data.name),i(10,g=!1);break;case"PlayerAccountBackToLimitsView":i(10,g=!0);break;case"ProfileDetailsData":var t=e.data.profileDetails;i(0,d=t.currency)}};return Y(()=>(window.addEventListener("message",T,!1),()=>{window.removeEventListener("message",T)})),t.$$set=e=>{"depositlimit"in e&&i(1,r=e.depositlimit),"wageringlimit"in e&&i(2,o=e.wageringlimit),"losslimit"in e&&i(3,a=e.losslimit),"timelimit"in e&&i(4,s=e.timelimit),"showdeletenotification"in e&&i(5,l=e.showdeletenotification),"showsuccessnotification"in e&&i(6,u=e.showsuccessnotification),"lang"in e&&i(7,c=e.lang),"playercurrency"in e&&i(0,d=e.playercurrency)},t.$$.update=()=>{var e;144&t.$$.dirty&&s&&y&&v&&w&&_&&c&&(e=c,yn.set(e),S())},[d,r,o,a,s,l,u,c,m,h,g,n,p,y,v,w,_,b,x,()=>x()]}customElements.get("player-account-gaming-limits-confirmation-modal")||customElements.define("player-account-gaming-limits-confirmation-modal",class extends B{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:relative;background:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;border-top:5px solid var(--emfe-w-color-secondary, #FD2839);margin:0 20px}.GamingLimitsConfirmationContainer{background:var(--emfe-w-color-gray-50, #F9F8F8);color:var(--emfe-w-color-black, #000000);padding:60px 30px 30px 30px;text-align:center}.GamingLimitsConfirmationContainerMobile{padding:30px}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{width:100%;font-size:18px;line-height:48px;border-radius:5px;color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B);background-color:transparent;text-transform:uppercase;cursor:pointer}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-primary, #D0046C)}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:40px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}</style>",V(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},zn,Hn,i,{modaltext:0,modalsource:6,lang:7}),e&&(e.target&&X(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["modaltext","modalsource","lang"]}get modaltext(){return this.$$.ctx[0]}set modaltext(e){this.$set({modaltext:e}),k()}get modalsource(){return this.$$.ctx[6]}set modalsource(e){this.$set({modalsource:e}),k()}get lang(){return this.$$.ctx[7]}set lang(e){this.$set({lang:e}),k()}}),customElements.get("player-account-gaming-limits-group-edit")||customElements.define("player-account-gaming-limits-group-edit",class extends B{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.MenuReturnButton{color:var(--emfe-w-color-primary, #D0046C);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px;cursor:pointer}.MenuReturnButton svg{fill:var(--emfe-w-color-primary, #D0046C)}.MyAccountCategoryTitle{font-size:26px;color:var(--emfe-w-color-primary, #D0046C);font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:var(--emfe-w-color-primary, #D0046C)}.MyAccountCategoryTitleNone{display:none !important}.AccountEditLimitsWrapper{padding:50px;max-width:760px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper{padding:20px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea{grid-template-columns:1fr}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea .AccountEditLimitsSaveButton{width:100%}.AccountEditLimitsHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:5px;color:var(--emfe-w-color-primary, #D0046C)}.AccountEditLimitsHeader h6{margin:0;font-weight:normal;font-size:16px;line-height:20px}.AccountEditLimitsHeader .AccountEditLimitsIcon{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emfe-w-color-primary, #D0046C);align-items:center;justify-content:center;border-radius:30px;cursor:pointer}.AccountEditLimitChangePeriodIcon{display:flex;width:20px;height:20px;color:var(--emfe-w-color-gray-300, #58586B);background:transparent;border:1px solid var(--emfe-w-color-gray-300, #58586B);align-items:center;justify-content:center;border-radius:30px;cursor:pointer;margin-right:10px}.AccountEditLimitSuccessfulChangeContainer{background:var(--emfe-w-color-primary-50, #FBECF4);border:1px solid var(--emfe-w-color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;padding:10px}.AccountEditLimitSuccessfulChangeContainer p{margin:0}.AccountEditLimitsIconWrapper{position:relative}.AccountEditLimitsTitle{font-size:16px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);margin:0;padding:10px 0 10px}.AccountEditLimitsExpiryDate{font-size:12px;font-weight:300;color:var(--emfe-w-color-black, #000000)}.AccountEditLimitsContainer{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;direction:ltr}@media only screen and (max-width: 1024px){.AccountEditLimitsContainer{grid-template-columns:1fr;grid-gap:20px}}.AccountEditField{width:100%;font-size:14px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);padding:10px;line-height:16px;background:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;outline:none;transition-duration:0.3s}.AccountEditField:focus,.AccountEditField :focus-within,.AccountEditField :focus-visible,.AccountEditField :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.AccountEditFieldCustom{padding:3%}.AccountEditLimitsPeriodChangeContainer{background:var(--emfe-w-color-gray-50, #F9F8F8);border-radius:5px}.AccountEditLimitsPeriodChangeContainer p{max-width:290px;display:-webkit-box;padding:10px 35px 15px 10px;color:var(--emfe-w-color-gray-300, #58586B);font-size:12px;font-weight:300}.AccountEditLimitsPeriodChangeContainer p .AccountEditLimitChangePeriodIcon{font-size:14px;font-weight:400}.AccountEditLimitsControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;margin-top:35px}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton{padding:12px;cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--emfe-w-color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton.AccountEditLimitsButtonDisabled{background:var(--emfe-w-color-primary, #D0046C);cursor:not-allowed;opacity:0.6}.AccountEditLimitsBox{position:relative}.AccountEditWarningText{position:relative;margin:0}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;position:absolute;top:6px;margin:0;line-height:10px}.AccountEditLimitsInputContainer{position:relative;padding-top:10px;width:94%}</style>",V(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},mr,dr,i,{limitsdata:0,showsuccessnotification:1,showdeletenotification:2,limitname:3,playercurrency:4,lang:5},[-1,-1]),e&&(e.target&&X(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["limitsdata","showsuccessnotification","showdeletenotification","limitname","playercurrency","lang"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(e){this.$set({limitsdata:e}),k()}get showsuccessnotification(){return this.$$.ctx[1]}set showsuccessnotification(e){this.$set({showsuccessnotification:e}),k()}get showdeletenotification(){return this.$$.ctx[2]}set showdeletenotification(e){this.$set({showdeletenotification:e}),k()}get limitname(){return this.$$.ctx[3]}set limitname(e){this.$set({limitname:e}),k()}get playercurrency(){return this.$$.ctx[4]}set playercurrency(e){this.$set({playercurrency:e}),k()}get lang(){return this.$$.ctx[5]}set lang(e){this.$set({lang:e}),k()}}),customElements.get("player-account-gaming-limits-info-card")||customElements.define("player-account-gaming-limits-info-card",class extends B{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.InfoCard{padding:20px;color:var(--emfe-w-color-black, #000000);background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 3px 12px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emfe-w-color-primary, #D0046C);align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:var(--emfe-w-color-gray-300, #58586B);font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:var(--emfe-w-color-secondary, #FD2839);border:1px solid var(--emfe-w-color-secondary, #FD2839)}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:\"\\274c\";font-size:7px;color:var(--emfe-w-color-secondary, #FD2839);line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:var(--emfe-w-color-gray-50, #F9F8F8)}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--emfe-w-color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);margin-right:10px}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid var(--emfe-w-color-black, #000000)}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emfe-w-color-primary, #D0046C);align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B)}</style>",V(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Pr,kr,i,{limitsdata:0,limitname:1,playercurrency:2,lang:3},[-1,-1]),e&&(e.target&&X(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["limitsdata","limitname","playercurrency","lang"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(e){this.$set({limitsdata:e}),k()}get limitname(){return this.$$.ctx[1]}set limitname(e){this.$set({limitname:e}),k()}get playercurrency(){return this.$$.ctx[2]}set playercurrency(e){this.$set({playercurrency:e}),k()}get lang(){return this.$$.ctx[3]}set lang(e){this.$set({lang:e}),k()}});class Fr extends B{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerAccountGamingLimitsWrapper{color:var(--emfe-w-color-primary, #D0046C);padding:50px;max-width:760px}.PlayerGamingLimitsTitle{font-size:26px;color:var(--emfe-w-color-primary, #D0046C);font-weight:400}.PlayerGamingLimitsTitleMobile{font-size:16px;color:var(--emfe-w-color-primary, #D0046C)}.PlayerGamingLimitsTitleNone{display:none}.MenuReturnButton{color:var(--emfe-w-color-primary, #D0046C);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-color-primary, #D0046C)}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:var(--emfe-w-color-white, #FFFFFF);max-width:unset}.PlayerAccountTabletGamingLimitsWrapper{padding:40px 25% 40px 25%}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}</style>",V(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Yr,Rr,i,{depositlimit:1,wageringlimit:2,losslimit:3,timelimit:4,showdeletenotification:5,showsuccessnotification:6,lang:7,playercurrency:0}),e&&(e.target&&X(e.target,this,e.anchor),e.props&&(this.$set(e.props),k()))}static get observedAttributes(){return["depositlimit","wageringlimit","losslimit","timelimit","showdeletenotification","showsuccessnotification","lang","playercurrency"]}get depositlimit(){return this.$$.ctx[1]}set depositlimit(e){this.$set({depositlimit:e}),k()}get wageringlimit(){return this.$$.ctx[2]}set wageringlimit(e){this.$set({wageringlimit:e}),k()}get losslimit(){return this.$$.ctx[3]}set losslimit(e){this.$set({losslimit:e}),k()}get timelimit(){return this.$$.ctx[4]}set timelimit(e){this.$set({timelimit:e}),k()}get showdeletenotification(){return this.$$.ctx[5]}set showdeletenotification(e){this.$set({showdeletenotification:e}),k()}get showsuccessnotification(){return this.$$.ctx[6]}set showsuccessnotification(e){this.$set({showsuccessnotification:e}),k()}get lang(){return this.$$.ctx[7]}set lang(e){this.$set({lang:e}),k()}get playercurrency(){return this.$$.ctx[0]}set playercurrency(e){this.$set({playercurrency:e}),k()}}return customElements.get("player-account-gaming-limits")||customElements.define("player-account-gaming-limits",Fr),Fr});
2
2
  //# sourceMappingURL=player-account-gaming-limits.js.map