@everymatrix/player-account-gaming-limits-info-card 0.0.248 → 0.0.249

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(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).app=e()}(this,function(){"use strict";function z(){}const m=t=>t;function c(t){return t()}function d(){return Object.create(null)}function Z(t){t.forEach(c)}function T(t){return"function"==typeof t}function n(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function f(t,...e){if(null==t)return z;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function F(t,e,n){t.$$.on_destroy.push(f(e,n))}var t="undefined"!=typeof window;let y=t?()=>window.performance.now():()=>Date.now(),g=t?t=>requestAnimationFrame(t):z;const v=new Set;function w(e){v.forEach(t=>{t.c(e)||(v.delete(t),t.f())}),0!==v.size&&g(w)}function X(t,e){t.appendChild(e)}function q(t,e,n){t.insertBefore(e,n||null)}function J(t){t.parentNode.removeChild(t)}function C(e,n){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(n)}function K(t){return document.createElement(t)}function e(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Q(t){return document.createTextNode(t)}function tt(){return Q(" ")}function _(){return Q("")}function et(t,e,n,i){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)}function nt(e){return function(t){return t.preventDefault(),e.call(this,t)}}function it(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function rt(t,e,n){e in t?t[e]=n:it(t,e,n)}function U(t){return""===t?null:+t}function ot(t,e){t.wholeText!==(e=""+e)&&(t.data=e)}function h(t,e){t.value=null==e?"":e}function M(e,n){for(let t=0;t<e.options.length;t+=1){const i=e.options[t];if(i.__value===n)return i.selected=!0,0}}function G(t){t=t.querySelector(":checked")||t.options[0];return t&&t.__value}function i(t){const e={};for(const n of t)e[n.name]=n.value;return e}const b=new Set;let p,x=0;function E(t,e,n,i,r,o,a,s=0){var l=16.666/i;let u="{\n";for(let t=0;t<=1;t+=l){const i=e+(n-e)*o(t);u+=100*t+`%{${a(i,1-i)}}\n`}const c=u+`100% {${a(n,1-n)}}\n}`,d=`__svelte_${function(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}(c)}_${s}`,f=t.ownerDocument;b.add(f);const h=f.__svelte_stylesheet||(f.__svelte_stylesheet=f.head.appendChild(K("style")).sheet),p=f.__svelte_rules||(f.__svelte_rules={});p[d]||(p[d]=!0,h.insertRule(`@keyframes ${d} ${c}`,h.cssRules.length));s=t.style.animation||"";return t.style.animation=`${s?`${s}, `:""}${d} ${i}ms linear ${r}ms 1 both`,x+=1,d}function A(t){p=t}function W(t){!function(){if(!p)throw new Error("Function called outside component initialization");return p}().$$.on_mount.push(t)}const L=[],s=[],r=[],o=[],S=Promise.resolve();let I=!1;function D(t){r.push(t)}let a=!1;const l=new Set;function k(){if(!a){a=!0;do{for(let t=0;t<L.length;t+=1){var e=L[t];A(e),function(t){{var e;null!==t.fragment&&(t.update(),Z(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(D))}}(e.$$)}for(A(null),L.length=0;s.length;)s.pop()();for(let t=0;t<r.length;t+=1){const n=r[t];l.has(n)||(l.add(n),n())}}while(r.length=0,L.length);for(;o.length;)o.pop()();I=!1,a=!1,l.clear()}}let P;function N(t,e,n){t.dispatchEvent(function(t){const e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}(`${e?"intro":"outro"}${n}`))}const u=new Set;let O;function R(t,e){t&&t.i&&(u.delete(t),t.i(e))}function Y(t,e,n,i){t&&t.o&&(u.has(t)||(u.add(t),O.c.push(()=>{u.delete(t),i&&(n&&t.d(1),i())}),t.o(e)))}const $={duration:0};function j(s,t,e,n){let l=t(s,e),u=n?0:1,c=null,d=null,f=null;function h(){f&&function(t,e){const n=(t.style.animation||"").split(", "),i=n.filter(e?t=>t.indexOf(e)<0:t=>-1===t.indexOf("__svelte")),r=n.length-i.length;r&&(t.style.animation=i.join(", "),x-=r,x||g(()=>{x||(b.forEach(t=>{const e=t.__svelte_stylesheet;let n=e.cssRules.length;for(;n--;)e.deleteRule(n);t.__svelte_rules={}}),b.clear())}))}(s,f)}function p(t,e){var n=t.b-u;return e*=Math.abs(n),{a:u,b:t.b,d:n,duration:e,start:t.start,end:t.start+e,group:t.group}}function i(t){const{delay:e=0,duration:n=300,easing:i=m,tick:r=z,css:o}=l||$,a={start:y()+e,b:t};t||(a.group=O,O.r+=1),c||d?d=a:(o&&(h(),f=E(s,u,t,n,e,i,o)),t&&r(0,1),c=p(a,n),D(()=>N(s,t,"start")),function(e){let n;0===v.size&&g(w),new Promise(t=>{v.add(n={c:e,f:t})})}(t=>{return d&&t>d.start&&(c=p(d,n),d=null,N(s,c.b,"start"),o&&(h(),f=E(s,u,c.b,c.duration,0,i,l.css))),c&&(t>=c.end?(r(u=c.b,1-u),N(s,c.b,"end"),d||(c.b?h():--c.group.r||Z(c.group.c)),c=null):t>=c.start&&(t=t-c.start,u=c.a+c.d*i(t/c.duration),r(u,1-u))),!(!c&&!d)}))}return{run(t){T(l)?(P||(P=Promise.resolve(),P.then(()=>{P=null})),P.then(()=>{l=l(),i(t)})):i(t)},end(){h(),c=d=null}}}function B(i,t,e,n,r,o,a=[-1]){var s=p;A(i);const l=i.$$={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:t.context||[]),callbacks:d(),dirty:a,skip_bound:!1};let u=!1;if(l.ctx=e?e(i,t.props||{},(t,e,...n)=>{n=n.length?n[0]:e;return l.ctx&&r(l.ctx[t],l.ctx[t]=n)&&(!l.skip_bound&&l.bound[t]&&l.bound[t](n),u&&(n=t,-1===(t=i).$$.dirty[0]&&(L.push(t),I||(I=!0,S.then(k)),t.$$.dirty.fill(0)),t.$$.dirty[n/31|0]|=1<<n%31)),e}):[],l.update(),u=!0,Z(l.before_update),l.fragment=!!n&&n(l.ctx),t.target){if(t.hydrate){const z=(n=t.target,Array.from(n.childNodes));l.fragment&&l.fragment.l(z),z.forEach(J)}else l.fragment&&l.fragment.c();t.intro&&R(i.$$.fragment),function(e,t,n,i){const{fragment:r,on_mount:o,on_destroy:a,after_update:s}=e.$$;r&&r.m(t,n),i||D(()=>{var t=o.map(c).filter(T);a?a.push(...t):Z(t),e.$$.on_mount=[]}),s.forEach(D)}(i,t.target,t.anchor,t.customElement),k()}A(s)}let H;"function"==typeof HTMLElement&&(H=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(c).filter(T);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,n){this[t]=n}disconnectedCallback(){Z(this.$$.on_disconnect)}$destroy(){!function(t){const e=t.$$;null!==e.fragment&&(Z(e.on_destroy),e.fragment&&e.fragment.d(1),e.on_destroy=e.fragment=null,e.ctx=[])}(this),this.$destroy=z}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{var t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){this.$$set&&0!==Object.keys(t).length&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});var V,at,st="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==st&&st,lt="URLSearchParams"in st,ut="Symbol"in st&&"iterator"in Symbol,ct="FileReader"in st&&"Blob"in st&&function(){try{return new Blob,!0}catch(t){return!1}}(),dt="FormData"in st,ft="ArrayBuffer"in st;function ht(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function pt(t){return t="string"!=typeof t?String(t):t}function mt(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return ut&&(t[Symbol.iterator]=function(){return t}),t}function yt(e){this.map={},e instanceof yt?e.forEach(function(t,e){this.append(e,t)},this):Array.isArray(e)?e.forEach(function(t){this.append(t[0],t[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function gt(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function vt(n){return new Promise(function(t,e){n.onload=function(){t(n.result)},n.onerror=function(){e(n.error)}})}function wt(t){var e=new FileReader,n=vt(e);return e.readAsArrayBuffer(t),n}function _t(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function bt(){return this.bodyUsed=!1,this._initBody=function(t){this.bodyUsed=this.bodyUsed,(this._bodyInit=t)?"string"==typeof t?this._bodyText=t:ct&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:dt&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:lt&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():ft&&ct&&t&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=_t(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ft&&(ArrayBuffer.prototype.isPrototypeOf(t)||at(t))?this._bodyArrayBuffer=_t(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):lt&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ct&&(this.blob=function(){var t=gt(this);if(t)return t;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?gt(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(wt)}),this.text=function(){var t,e,n=gt(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,n=vt(e),e.readAsText(t),n;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),n=new Array(e.length),i=0;i<e.length;i++)n[i]=String.fromCharCode(e[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},dt&&(this.formData=function(){return this.text().then(Tt)}),this.json=function(){return this.text().then(JSON.parse)},this}ft&&(V=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],at=ArrayBuffer.isView||function(t){return t&&-1<V.indexOf(Object.prototype.toString.call(t))}),yt.prototype.append=function(t,e){t=ht(t),e=pt(e);var n=this.map[t];this.map[t]=n?n+", "+e:e},yt.prototype.delete=function(t){delete this.map[ht(t)]},yt.prototype.get=function(t){return t=ht(t),this.has(t)?this.map[t]:null},yt.prototype.has=function(t){return this.map.hasOwnProperty(ht(t))},yt.prototype.set=function(t,e){this.map[ht(t)]=pt(e)},yt.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},yt.prototype.keys=function(){var n=[];return this.forEach(function(t,e){n.push(e)}),mt(n)},yt.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),mt(e)},yt.prototype.entries=function(){var n=[];return this.forEach(function(t,e){n.push([e,t])}),mt(n)},ut&&(yt.prototype[Symbol.iterator]=yt.prototype.entries);var xt=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Et(t,e){if(!(this instanceof Et))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,i=(e=e||{}).body;if(t instanceof Et){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new yt(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new yt(e.headers)),this.method=(t=(n=e.method||this.method||"GET").toUpperCase(),-1<xt.indexOf(t)?t:n),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache||((e=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(e,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Tt(t){var n=new FormData;return t.trim().split("&").forEach(function(t){var e;t&&(t=(e=t.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function Ct(t,e){if(!(this instanceof Ct))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e=e||{},this.type="default",this.status=void 0===e.status?200:e.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new yt(e.headers),this.url=e.url||"",this._initBody(t)}Et.prototype.clone=function(){return new Et(this,{body:this._bodyInit})},bt.call(Et.prototype),bt.call(Ct.prototype),Ct.prototype.clone=function(){return new Ct(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new yt(this.headers),url:this.url})},Ct.error=function(){var t=new Ct(null,{status:0,statusText:""});return t.type="error",t};var Mt=[301,302,303,307,308];Ct.redirect=function(t,e){if(-1===Mt.indexOf(e))throw new RangeError("Invalid status code");return new Ct(null,{status:e,headers:{location:t}})};var At=st.DOMException;try{new At}catch(z){(At=function(t,e){this.message=t,this.name=e;t=Error(t);this.stack=t.stack}).prototype=Object.create(Error.prototype),At.prototype.constructor=At}function Lt(i,a){return new Promise(function(r,t){var e=new Et(i,a);if(e.signal&&e.signal.aborted)return t(new At("Aborted","AbortError"));var o=new XMLHttpRequest;function n(){o.abort()}o.onload=function(){var t,n,e={status:o.status,statusText:o.statusText,headers:(t=o.getAllResponseHeaders()||"",n=new yt,t.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t}).forEach(function(t){var e=t.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),n.append(t,e))}),n)};e.url="responseURL"in o?o.responseURL:e.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;setTimeout(function(){r(new Ct(i,e))},0)},o.onerror=function(){setTimeout(function(){t(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){t(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){t(new At("Aborted","AbortError"))},0)},o.open(e.method,function(e){try{return""===e&&st.location.href?st.location.href:e}catch(t){return e}}(e.url),!0),"include"===e.credentials?o.withCredentials=!0:"omit"===e.credentials&&(o.withCredentials=!1),"responseType"in o&&(ct?o.responseType="blob":ft&&e.headers.get("Content-Type")&&-1!==e.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof yt?e.headers.forEach(function(t,e){o.setRequestHeader(e,t)}):Object.getOwnPropertyNames(a.headers).forEach(function(t){o.setRequestHeader(t,pt(a.headers[t]))}),e.signal&&(e.signal.addEventListener("abort",n),o.onreadystatechange=function(){4===o.readyState&&e.signal.removeEventListener("abort",n)}),o.send(void 0===e._bodyInit?null:e._bodyInit)})}function Dn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Lt.polyfill=!0,st.fetch||(st.fetch=Lt,st.Headers=yt,st.Request=Et,st.Response=Ct),self.fetch.bind(self);var St=function(t,e){return(St=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function It(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}St(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function Dt(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return{value:(t=t&&i>=t.length?void 0:t)&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function kt(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(i=o.next()).done;)a.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function Pt(t,e){for(var n=0,i=e.length,r=t.length;n<i;n++,r++)t[r]=e[n];return t}function Nt(t){return"function"==typeof t}function Ot(t){t=t(function(t){Error.call(t),t.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t}var Rt=Ot(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}});function Yt(t,e){!t||0<=(e=t.indexOf(e))&&t.splice(e,1)}var Ft=(Gt.prototype.unsubscribe=function(){var t,e,n,i,r;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=Dt(o),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}else o.remove(this);o=this.initialTeardown;if(Nt(o))try{o()}catch(t){r=t instanceof Rt?t.errors:[t]}o=this._teardowns;if(o){this._teardowns=null;try{for(var l=Dt(o),u=l.next();!u.done;u=l.next()){var c=u.value;try{$t(c)}catch(t){r=null!=r?r:[],t instanceof Rt?r=Pt(Pt([],kt(r)),kt(t.errors)):r.push(t)}}}catch(t){n={error:t}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}}if(r)throw new Rt(r)}},Gt.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)$t(t);else{if(t instanceof Gt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(e=this._teardowns)&&void 0!==e?e:[]).push(t)}},Gt.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},Gt.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},Gt.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&Yt(e,t)},Gt.prototype.remove=function(t){var e=this._teardowns;e&&Yt(e,t),t instanceof Gt&&t._removeParent(this)},Gt.EMPTY=((cn=new Gt).closed=!0,cn),Gt),Ut=Ft.EMPTY;function Gt(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}function Wt(t){return t instanceof Ft||t&&"closed"in t&&Nt(t.remove)&&Nt(t.add)&&Nt(t.unsubscribe)}function $t(t){Nt(t)?t():t.unsubscribe()}var jt=void 0,Bt=!1,Ht=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return setTimeout.apply(void 0,Pt([],kt(t)))};function Vt(){}function zt(t){t()}var Zt,Xt,qt=(It(Qt,Xt=Ft),Qt.create=function(t,e,n){return new Jt(t,e,n)},Qt.prototype.next=function(t){this.isStopped||this._next(t)},Qt.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},Qt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Qt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Xt.prototype.unsubscribe.call(this),this.destination=null)},Qt.prototype._next=function(t){this.destination.next(t)},Qt.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},Qt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Qt),Jt=(It(Kt,Zt=qt),Kt);function Kt(t,e,n){var i,r,o=Zt.call(this)||this;return Nt(t)?r=t:t&&(r=t.next,e=t.error,n=t.complete,o&&Bt?(i=Object.create(t)).unsubscribe=function(){return o.unsubscribe()}:i=t,r=null==r?void 0:r.bind(i),e=null==e?void 0:e.bind(i),n=null==n?void 0:n.bind(i)),o.destination={next:r?te(r):Vt,error:te(null!=e?e:ee),complete:n?te(n):Vt},o}function Qt(t){var e=Xt.call(this)||this;return e.isStopped=!1,t?Wt(e.destination=t)&&t.add(e):e.destination=ne,e}function te(i){return function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];try{i.apply(void 0,Pt([],kt(t)))}catch(t){e=t,Ht(function(){throw e})}}}function ee(t){throw t}var ne={closed:!0,next:Vt,error:ee,complete:Vt},ie="function"==typeof Symbol&&Symbol.observable||"@@observable";function re(t){return t}var oe=(ae.prototype.lift=function(t){var e=new ae;return e.source=this,e.operator=t,e},ae.prototype.subscribe=function(t,e,n){var i,r=this,o=(i=t)&&i instanceof qt||i&&Nt(i.next)&&Nt(i.error)&&Nt(i.complete)&&Wt(i)?t:new Jt(t,e,n);return zt(function(){var t=r.operator,e=r.source;o.add(t?t.call(o,e):e?r._subscribe(o):r._trySubscribe(o))}),o},ae.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},ae.prototype.forEach=function(i,t){var r=this;return new(t=se(t))(function(t,e){var n=r.subscribe(function(t){try{i(t)}catch(t){e(t),null==n||n.unsubscribe()}},e,t)})},ae.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},ae.prototype[ie]=function(){return this},ae.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?re:1===e.length?e[0]:function(t){return e.reduce(function(t,e){return e(t)},t)})(this)},ae.prototype.toPromise=function(t){var i=this;return new(t=se(t))(function(t,e){var n;i.subscribe(function(t){return n=t},function(t){return e(t)},function(){return t(n)})})},ae.create=function(t){return new ae(t)},ae);function ae(t){t&&(this._subscribe=t)}function se(t){return null!==(t=null!=t?t:jt)&&void 0!==t?t:Promise}var le,ue,ce,de=Ot(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),fe=(It(ve,ce=oe),ve.prototype.lift=function(t){var e=new he(this,this);return e.operator=t,e},ve.prototype._throwIfClosed=function(){if(this.closed)throw new de},ve.prototype.next=function(o){var a=this;zt(function(){var e,t;if(a._throwIfClosed(),!a.isStopped){var n=a.observers.slice();try{for(var i=Dt(n),r=i.next();!r.done;r=i.next())r.value.next(o)}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}}})},ve.prototype.error=function(e){var n=this;zt(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=e;for(var t=n.observers;t.length;)t.shift().error(e)}})},ve.prototype.complete=function(){var e=this;zt(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},ve.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(ve.prototype,"observed",{get:function(){var t;return 0<(null===(t=this.observers)||void 0===t?void 0:t.length)},enumerable:!1,configurable:!0}),ve.prototype._trySubscribe=function(t){return this._throwIfClosed(),ce.prototype._trySubscribe.call(this,t)},ve.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},ve.prototype._innerSubscribe=function(t){var e=this.hasError,n=this.isStopped,i=this.observers;return e||n?Ut:(i.push(t),new Ft(function(){return Yt(i,t)}))},ve.prototype._checkFinalizedStatuses=function(t){var e=this.hasError,n=this.thrownError,i=this.isStopped;e?t.error(n):i&&t.complete()},ve.prototype.asObservable=function(){var t=new oe;return t.source=this,t},ve.create=function(t,e){return new he(t,e)},ve),he=(It(ge,ue=fe),ge.prototype.next=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)},ge.prototype.error=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)},ge.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},ge.prototype._subscribe=function(t){var e;return null!==(t=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==t?t:Ut},ge),pe={now:function(){return(pe.delegate||Date).now()},delegate:void 0},me=(It(ye,le=fe),ye.prototype.next=function(t){var e=this,n=e.isStopped,i=e._buffer,r=e._infiniteTimeWindow,o=e._timestampProvider,e=e._windowTime;n||(i.push(t),r||i.push(o.now()+e)),this._trimBuffer(),le.prototype.next.call(this,t)},ye.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),n=this._infiniteTimeWindow,i=this._buffer.slice(),r=0;r<i.length&&!t.closed;r+=n?1:2)t.next(i[r]);return this._checkFinalizedStatuses(t),e},ye.prototype._trimBuffer=function(){var t=this._bufferSize,e=this._timestampProvider,n=this._buffer,i=this._infiniteTimeWindow,r=(i?1:2)*t;if(t<1/0&&r<n.length&&n.splice(0,n.length-r),!i){for(var o=e.now(),a=0,s=1;s<n.length&&n[s]<=o;s+=2)a=s;a&&n.splice(0,a+1)}},ye);function ye(t,e,n){void 0===t&&(t=1/0),void 0===e&&(e=1/0),void 0===n&&(n=pe);var i=le.call(this)||this;return i._bufferSize=t,i._windowTime=e,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=e===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,e),i}function ge(t,e){var n=ue.call(this)||this;return n.destination=t,n.source=e,n}function ve(){var t=ce.call(this)||this;return t.closed=!1,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}let we=[],_e={};const be=[];function xe(i,r=z){let o;const a=[];function s(t){if(n(i,t)&&(i=t,o)){const t=!be.length;for(let t=0;t<a.length;t+=1){const e=a[t];e[1](),be.push(e,i)}if(t){for(let t=0;t<be.length;t+=2)be[t][0](be[t+1]);be.length=0}}}return{set:s,update:function(t){s(t(i))},subscribe:function(t,e=z){const n=[t,e];return a.push(n),1===a.length&&(o=r(s)||z),t(i),()=>{var t=a.indexOf(n);-1!==t&&a.splice(t,1),0===a.length&&(o(),o=null)}}}}function Ee(t,s,e){const l=!Array.isArray(t),u=l?[t]:t,c=s.length<2;return{subscribe:xe(e,e=>{let n=!1;const i=[];let r=0,o=z;const a=()=>{var t;r||(o(),t=s(l?i[0]:i,e),c?e(t):o=T(t)?t:z)},t=u.map((t,e)=>f(t,t=>{i[e]=t,r&=~(1<<e),n&&a()},()=>{r|=1<<e}));return n=!0,a(),function(){Z(t),o()}}).subscribe}}var Te=function(t){return!(!t||"object"!=typeof t||(e=t,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Ce));var e},Ce="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Me(t,e){return!1!==e.clone&&e.isMergeableObject(t)?De(Array.isArray(t)?[]:{},t,e):t}function Ae(t,e,n){return t.concat(e).map(function(t){return Me(t,n)})}function Le(t){return Object.keys(t).concat((e=t,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]));var e}function Se(t,e){try{return e in t}catch(t){return!1}}function Ie(i,r,o){var a={};return o.isMergeableObject(i)&&Le(i).forEach(function(t){a[t]=Me(i[t],o)}),Le(r).forEach(function(e){var t,n;(!Se(t=i,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(Se(i,e)&&o.isMergeableObject(r[e])?a[e]=function(){if(!o.customMerge)return De;var t=o.customMerge(e);return"function"==typeof t?t:De}()(i[e],r[e],o):a[e]=Me(r[e],o))}),a}function De(t,e,n){(n=n||{}).arrayMerge=n.arrayMerge||Ae,n.isMergeableObject=n.isMergeableObject||Te,n.cloneUnlessOtherwiseSpecified=Me;var i=Array.isArray(e);return i===Array.isArray(t)?i?n.arrayMerge(t,e,n):Ie(t,e,n):Me(e,n)}De.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,e){return De(t,e,n)},{})};var ke=De,Pe=function(t,e){return(Pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function Ne(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Pe(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Oe,Re,Ye,Fe=function(){return(Fe=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function Ue(t,e){for(var n=0,i=e.length,r=t.length;n<i;n++,r++)t[r]=e[n];return t}function Ge(t){return t.type===Re.literal}function We(t){return t.type===Re.number}function $e(t){return t.type===Re.date}function je(t){return t.type===Re.time}function Be(t){return t.type===Re.select}function He(t){return t.type===Re.plural}function Ve(t){return t.type===Re.tag}function ze(t){return t&&"object"==typeof t&&t.type===Ye.number}function Ze(t){return t&&"object"==typeof t&&t.type===Ye.dateTime}(dn=Oe=Oe||{})[dn.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",dn[dn.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",dn[dn.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",dn[dn.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",dn[dn.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",dn[dn.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",dn[dn.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",dn[dn.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",dn[dn.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",dn[dn.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",dn[dn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",dn[dn.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",dn[dn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",dn[dn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",dn[dn.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",dn[dn.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",dn[dn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",dn[dn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",dn[dn.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",dn[dn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",dn[dn.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",dn[dn.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",dn[dn.INVALID_TAG=23]="INVALID_TAG",dn[dn.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",dn[dn.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",dn[dn.UNCLOSED_TAG=27]="UNCLOSED_TAG",(fn=Re=Re||{})[fn.literal=0]="literal",fn[fn.argument=1]="argument",fn[fn.number=2]="number",fn[fn.date=3]="date",fn[fn.time=4]="time",fn[fn.select=5]="select",fn[fn.plural=6]="plural",fn[fn.pound=7]="pound",fn[fn.tag=8]="tag",(hn=Ye=Ye||{})[hn.number=0]="number",hn[hn.dateTime=1]="dateTime";var t=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Xe=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var qe,Je=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Ke=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Qe=/^(@+)?(\+|#+)?$/g,tn=/(\*)(0+)|(#+)(0+)|(0+)/g,en=/^(0+)$/;function nn(t){var i={};return t.replace(Qe,function(t,e,n){return"string"!=typeof n?(i.minimumSignificantDigits=e.length,i.maximumSignificantDigits=e.length):"+"===n?i.minimumSignificantDigits=e.length:"#"===e[0]?i.maximumSignificantDigits=e.length:(i.minimumSignificantDigits=e.length,i.maximumSignificantDigits=e.length+("string"==typeof n?n.length:0)),""}),i}function rn(t){switch(t){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 on(t){return rn(t)||{}}function an(t){for(var a={},e=0,n=t;e<n.length;e++){var i,r=n[e];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=Fe(Fe(Fe({},a),{notation:"scientific"}),r.options.reduce(function(t,e){return Fe(Fe({},t),on(e))},{}));continue;case"engineering":a=Fe(Fe(Fe({},a),{notation:"engineering"}),r.options.reduce(function(t,e){return Fe(Fe({},t),on(e))},{}));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(tn,function(t,e,n,i,r,o){if(e)a.minimumIntegerDigits=n.length;else{if(i&&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(en.test(r.stem))a.minimumIntegerDigits=r.stem.length;else if(Ke.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Ke,function(t,e,n,i,r,o){return"*"===n?a.minimumFractionDigits=e.length:i&&"#"===i[0]?a.maximumFractionDigits=i.length:r&&o?(a.minimumFractionDigits=r.length,a.maximumFractionDigits=r.length+o.length):(a.minimumFractionDigits=e.length,a.maximumFractionDigits=e.length),""}),r.options.length&&(a=Fe(Fe({},a),nn(r.options[0])))}else Qe.test(r.stem)?a=Fe(Fe({},a),nn(r.stem)):((i=rn(r.stem))&&(a=Fe(Fe({},a),i)),(i=function(t){var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var n=t.slice(0,2);if("+!"===n?(e.signDisplay="always",t=t.slice(2)):"+?"===n&&(e.signDisplay="exceptZero",t=t.slice(2)),!en.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}(r.stem))&&(a=Fe(Fe({},a),i)))}return a}var sn=new RegExp("^"+t.source+"*"),ln=new RegExp(t.source+"*$");function un(t,e){return{start:t,end:e}}var cn=!!String.prototype.startsWith,ie=!!String.fromCodePoint,fe=!!Object.fromEntries,dn=!!String.prototype.codePointAt,fn=!!String.prototype.trimStart,hn=!!String.prototype.trimEnd,pn=Number.isSafeInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},t=!0;try{t="a"===(null===(qe=En("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===qe?void 0:qe[0])}catch(z){t=!1}var mn,yn,gn=cn?function(t,e,n){return t.startsWith(e,n)}:function(t,e,n){return t.slice(n,n+e.length)===e},vn=ie?String.fromCodePoint:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n,i="",r=t.length,o=0;o<r;){if(1114111<(n=t[o++]))throw RangeError(n+" is not a valid code point");i+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return i},wn=fe?Object.fromEntries:function(t){for(var e={},n=0,i=t;n<i.length;n++){var r=i[n],o=r[0],r=r[1];e[o]=r}return e},_n=dn?function(t,e){return t.codePointAt(e)}:function(t,e){var n=t.length;if(!(e<0||n<=e)){var i,r=t.charCodeAt(e);return r<55296||56319<r||e+1===n||(i=t.charCodeAt(e+1))<56320||57343<i?r:i-56320+(r-55296<<10)+65536}},bn=fn?function(t){return t.trimStart()}:function(t){return t.replace(sn,"")},xn=hn?function(t){return t.trimEnd()}:function(t){return t.replace(ln,"")};function En(t,e){return new RegExp(t,e)}yn=t?(mn=En("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(t,e){return mn.lastIndex=e,null!==(t=mn.exec(t)[1])&&void 0!==t?t:""}):function(t,e){for(var n,i=[];;){var r=_n(t,e);if(void 0===r||An(r)||(33<=(n=r)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;i.push(r),e+=65536<=r?2:1}return vn.apply(void 0,i)};var Tn=(Cn.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Cn.prototype.parseMessage=function(t,e,n){for(var i=[];!this.isEOF();){var r,o=this.char();if(123===o){if((r=this.parseArgument(t,n)).err)return r;i.push(r.val)}else{if(125===o&&0<t)break;if(35!==o||"plural"!==e&&"selectordinal"!==e){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Oe.UNMATCHED_CLOSING_TAG,un(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Mn(this.peek()||0)){if((r=this.parseTag(t,e)).err)return r;i.push(r.val)}else{if((r=this.parseLiteral(t,e)).err)return r;i.push(r.val)}}else{o=this.clonePosition();this.bump(),i.push({type:Re.pound,location:un(o,this.clonePosition())})}}}return{val:i,err:null}},Cn.prototype.parseTag=function(t,e){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Re.literal,value:"<"+i+"/>",location:un(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(t+1,e,!0);if(r.err)return r;t=r.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Mn(this.char()))return this.error(Oe.INVALID_TAG,un(e,this.clonePosition()));r=this.clonePosition();return i!==this.parseTagName()?this.error(Oe.UNMATCHED_CLOSING_TAG,un(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Re.tag,value:i,children:t,location:un(n,this.clonePosition())},err:null}:this.error(Oe.INVALID_TAG,un(e,this.clonePosition())))}return this.error(Oe.UNCLOSED_TAG,un(n,this.clonePosition()))}return this.error(Oe.INVALID_TAG,un(n,this.clonePosition()))},Cn.prototype.parseTagName=function(){var t,e=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||48<=t&&t<=57||95===t||97<=t&&t<=122||65<=t&&t<=90||183==t||192<=t&&t<=214||216<=t&&t<=246||248<=t&&t<=893||895<=t&&t<=8191||8204<=t&&t<=8205||8255<=t&&t<=8256||8304<=t&&t<=8591||11264<=t&&t<=12271||12289<=t&&t<=55295||63744<=t&&t<=64975||65008<=t&&t<=65533||65536<=t&&t<=983039);)this.bump();return this.message.slice(e,this.offset())},Cn.prototype.parseLiteral=function(t,e){for(var n=this.clonePosition(),i="";;){var r=this.tryParseQuote(e);if(r)i+=r;else{r=this.tryParseUnquoted(t,e);if(r)i+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;i+=r}}}n=un(n,this.clonePosition());return{val:{type:Re.literal,value:i,location:n},err:null}},Cn.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Mn(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},Cn.prototype.tryParseQuote=function(t){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"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var e=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(n);this.bump()}return vn.apply(void 0,e)},Cn.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===e||"selectordinal"===e)||125===n&&0<t?null:(this.bump(),vn(n))},Cn.prototype.parseArgument=function(t,e){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Oe.EXPECT_ARGUMENT_CLOSING_BRACE,un(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Oe.EMPTY_ARGUMENT,un(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(Oe.MALFORMED_ARGUMENT,un(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Oe.EXPECT_ARGUMENT_CLOSING_BRACE,un(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Re.argument,value:i,location:un(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Oe.EXPECT_ARGUMENT_CLOSING_BRACE,un(n,this.clonePosition())):this.parseArgumentOptions(t,e,i,n);default:return this.error(Oe.MALFORMED_ARGUMENT,un(n,this.clonePosition()))}},Cn.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),n=yn(this.message,e),e=e+n.length;return this.bumpTo(e),{value:n,location:un(t,this.clonePosition())}},Cn.prototype.parseArgumentOptions=function(t,e,n,i){var r,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(Oe.EXPECT_ARGUMENT_TYPE,un(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((f=this.parseSimpleArgStyleIfPossible()).err)return f;if(0===(d=xn(f.val)).length)return this.error(Oe.EXPECT_ARGUMENT_STYLE,un(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:un(u,this.clonePosition())}}if((h=this.tryParseArgumentClose(i)).err)return h;var c=un(i,this.clonePosition());if(l&&gn(null==l?void 0:l.style,"::",0)){u=bn(l.style.slice(2));if("number"===a)return(f=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?f:{val:{type:Re.number,value:n,location:c,style:f.val},err:null};if(0===u.length)return this.error(Oe.EXPECT_DATE_TIME_SKELETON,c);var d={type:Ye.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},u.replace(Xe,function(t){var e=t.length;switch(t[0]){case"G":r.era=4===e?"long":5===e?"narrow":"short";break;case"y":r.year=2===e?"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"][e-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][e-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!==e&&5===e?"narrow":"short";break;case"e":if(e<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][e-4];break;case"c":if(e<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][e-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"][e-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][e-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][e-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][e-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"][e-1];break;case"s":r.second=["numeric","2-digit"][e-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=e<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?Re.date:Re.time,value:n,location:c,style:d},err:null}}return{val:{type:"number"===a?Re.number:"date"===a?Re.date:Re.time,value:n,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(Oe.EXPECT_SELECT_ARGUMENT_OPTIONS,un(l,Fe({},l)));this.bumpSpace();var f,c=this.parseIdentifierIfPossible(),l=0;if("select"!==a&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(Oe.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,un(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(f=this.tryParseDecimalInteger(Oe.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Oe.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return f;this.bumpSpace(),c=this.parseIdentifierIfPossible(),l=f.val}c=this.tryParsePluralOrSelectOptions(t,a,e,c);if(c.err)return c;if((h=this.tryParseArgumentClose(i)).err)return h;var h=un(i,this.clonePosition());return"select"===a?{val:{type:Re.select,value:n,options:wn(c.val),location:h},err:null}:{val:{type:Re.plural,value:n,options:wn(c.val),offset:l,pluralType:"plural"===a?"cardinal":"ordinal",location:h},err:null};default:return this.error(Oe.INVALID_ARGUMENT_TYPE,un(o,s))}},Cn.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(Oe.EXPECT_ARGUMENT_CLOSING_BRACE,un(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},Cn.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Oe.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,un(n,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(0<t))return{val:this.message.slice(e.offset,this.offset()),err:null};--t;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}},Cn.prototype.parseNumberSkeletonFromString=function(t,e){var n=[];try{n=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var e=[],n=0,i=t.split(Je).filter(function(t){return 0<t.length});n<i.length;n++){var r=i[n].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");e.push({stem:o,options:r})}return e}(t)}catch(t){return this.error(Oe.INVALID_NUMBER_SKELETON,e)}return{val:{type:Ye.number,tokens:n,location:e,parsedOptions:this.shouldParseSkeletons?an(n):{}},err:null}},Cn.prototype.tryParsePluralOrSelectOptions=function(t,e,n,i){for(var r=!1,o=[],a=new Set,s=i.value,l=i.location;;){if(0===s.length){var u=this.clonePosition();if("select"===e||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(Oe.EXPECT_PLURAL_ARGUMENT_SELECTOR,Oe.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=un(u,this.clonePosition()),s=this.message.slice(u.offset,this.offset())}if(a.has(s))return this.error("select"===e?Oe.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Oe.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(r=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?Oe.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Oe.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,un(this.clonePosition(),this.clonePosition()));c=this.parseMessage(t+1,e,n);if(c.err)return c;u=this.tryParseArgumentClose(d);if(u.err)return u;o.push([s,{value:c.val,location:un(d,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===o.length?this.error("select"===e?Oe.EXPECT_SELECT_ARGUMENT_SELECTOR:Oe.EXPECT_PLURAL_ARGUMENT_SELECTOR,un(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(Oe.MISSING_OTHER_CLAUSE,un(this.clonePosition(),this.clonePosition())):{val:o,err:null}},Cn.prototype.tryParseDecimalInteger=function(t,e){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-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()}i=un(i,this.clonePosition());return r?pn(o*=n)?{val:o,err:null}:this.error(e,i):this.error(t,i)},Cn.prototype.offset=function(){return this.position.offset},Cn.prototype.isEOF=function(){return this.offset()===this.message.length},Cn.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Cn.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=_n(this.message,t);if(void 0===e)throw Error("Offset "+t+" is at invalid UTF-16 code unit boundary");return e},Cn.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},Cn.prototype.bump=function(){var t;this.isEOF()||(10===(t=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2))},Cn.prototype.bumpIf=function(t){if(gn(this.message,t,this.offset())){for(var e=0;e<t.length;e++)this.bump();return!0}return!1},Cn.prototype.bumpUntil=function(t){var e=this.offset(),e=this.message.indexOf(t,e);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},Cn.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset "+t+" must be greater than or equal to the current offset "+this.offset());for(t=Math.min(t,this.message.length);;){var e=this.offset();if(e===t)break;if(t<e)throw Error("targetOffset "+t+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},Cn.prototype.bumpSpace=function(){for(;!this.isEOF()&&An(this.char());)this.bump()},Cn.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this.offset(),t=this.message.charCodeAt(e+(65536<=t?2:1));return null!=t?t:null},Cn);function Cn(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}function Mn(t){return 97<=t&&t<=122||65<=t&&t<=90}function An(t){return 9<=t&&t<=13||32===t||133===t||8206<=t&&t<=8207||8232===t||8233===t}function Ln(t,e){e=Fe({shouldParseSkeletons:!0,requiresOtherClause:!0},e=void 0===e?{}:e);var n=new Tn(t,e).parse();if(n.err){t=SyntaxError(Oe[n.err.kind]);throw t.location=n.err.location,t.originalMessage=n.err.message,t}return null!=e&&e.captureLocation||function n(t){t.forEach(function(t){if(delete t.location,Be(t)||He(t))for(var e in t.options)delete t.options[e].location,n(t.options[e].value);else We(t)&&ze(t.style)||($e(t)||je(t))&&Ze(t.style)?delete t.style.location:Ve(t)&&n(t.children)})}(n.val),n.val}function Sn(t,e){var n=e&&e.cache?e.cache:Yn,i=e&&e.serializer?e.serializer:Nn;return(e&&e.strategy?e.strategy:function(t,e){return Pn(t,this,1===t.length?In:kn,e.cache.create(),e.serializer)})(t,{cache:n,serializer:i})}function In(t,e,n,i){var r=null==i||"number"==typeof i||"boolean"==typeof i?i:n(i),n=e.get(r);return void 0===n&&(n=t.call(this,i),e.set(r,n)),n}function kn(t,e,n){var i=Array.prototype.slice.call(arguments,3),r=n(i),n=e.get(r);return void 0===n&&(n=t.apply(this,i),e.set(r,n)),n}function Pn(t,e,n,i,r){return n.bind(e,t,i,r)}var Nn=function(){return JSON.stringify(arguments)};function On(){this.cache=Object.create(null)}On.prototype.has=function(t){return t in this.cache},On.prototype.get=function(t){return this.cache[t]},On.prototype.set=function(t,e){this.cache[t]=e};var Rn,Yn={create:function(){return new On}},Fn={variadic:function(t,e){return Pn(t,this,kn,e.cache.create(),e.serializer)},monadic:function(t,e){return Pn(t,this,In,e.cache.create(),e.serializer)}};(t=Rn=Rn||{}).MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API";var Un,Gn,Wn,$n,jn,Bn=(Ne(Jn,jn=Error),Jn.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Jn),Hn=(Ne(qn,$n=Bn),qn),Vn=(Ne(Xn,Wn=Bn),Xn),zn=(Ne(Zn,Gn=Bn),Zn);function Zn(t,e){return Gn.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+e+'"',Rn.MISSING_VALUE,e)||this}function Xn(t,e,n){return Wn.call(this,'Value for "'+t+'" must be of type '+e,Rn.INVALID_VALUE,n)||this}function qn(t,e,n,i){return $n.call(this,'Invalid values for "'+t+'": "'+e+'". Options are "'+Object.keys(n).join('", "')+'"',Rn.INVALID_VALUE,i)||this}function Jn(t,e,n){t=jn.call(this,t)||this;return t.code=e,t.originalMessage=n,t}function Kn(t,e,n,i,r,o,a){if(1===t.length&&Ge(t[0]))return[{type:Un.literal,value:t[0].value}];for(var s=[],l=0,u=t;l<u.length;l++){var c=u[l];if(Ge(c))s.push({type:Un.literal,value:c.value});else if(c.type===Re.pound)"number"==typeof o&&s.push({type:Un.literal,value:n.getNumberFormat(e).format(o)});else{var d=c.value;if(!(r&&d in r))throw new zn(d,a);var f=r[d];if(c.type===Re.argument)f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),s.push({type:"string"==typeof f?Un.literal:Un.object,value:f});else if($e(c)){var h="string"==typeof c.style?i.date[c.style]:Ze(c.style)?c.style.parsedOptions:void 0;s.push({type:Un.literal,value:n.getDateTimeFormat(e,h).format(f)})}else if(je(c))h="string"==typeof c.style?i.time[c.style]:Ze(c.style)?c.style.parsedOptions:void 0,s.push({type:Un.literal,value:n.getDateTimeFormat(e,h).format(f)});else if(We(c))(h="string"==typeof c.style?i.number[c.style]:ze(c.style)?c.style.parsedOptions:void 0)&&h.scale&&(f*=h.scale||1),s.push({type:Un.literal,value:n.getNumberFormat(e,h).format(f)});else{if(Ve(c)){var p=c.children,m=c.value,d=r[m];if("function"!=typeof d)throw new Vn(m,"function",a);p=d(Kn(p,e,n,i,r,o).map(function(t){return t.value}));Array.isArray(p)||(p=[p]),s.push.apply(s,p.map(function(t){return{type:"string"==typeof t?Un.literal:Un.object,value:t}}))}if(Be(c)){if(!(y=c.options[f]||c.options.other))throw new Hn(c.value,f,Object.keys(c.options),a);s.push.apply(s,Kn(y.value,e,n,i,r))}else if(He(c)){if(!(y=c.options["="+f])){if(!Intl.PluralRules)throw new Bn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Rn.MISSING_INTL_API,a);var p=n.getPluralRules(e,{type:c.pluralType}).select(f-(c.offset||0)),y=c.options[p]||c.options.other}if(!y)throw new Hn(c.value,f,Object.keys(c.options),a);s.push.apply(s,Kn(y.value,e,n,i,r,f-(c.offset||0)))}}}}return s.length<2?s:s.reduce(function(t,e){var n=t[t.length-1];return n&&n.type===Un.literal&&e.type===Un.literal?n.value+=e.value:t.push(e),t},[])}function Qn(n){return{create:function(){return{has:function(t){return t in n},get:function(t){return n[t]},set:function(t,e){n[t]=e}}}}}(t=Un=Un||{})[t.literal=0]="literal",t[t.object=1]="object";var ti=(Object.defineProperty(ei,"defaultLocale",{get:function(){return ei.memoizedDefaultLocale||(ei.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),ei.memoizedDefaultLocale},enumerable:!1,configurable:!0}),ei.memoizedDefaultLocale=null,ei.__parse=Ln,ei.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"}}},ei);function ei(t,e,n,i){var r,o,a=this;if(void 0===e&&(e=ei.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){t=a.formatToParts(t);if(1===t.length)return t[0].value;t=t.reduce(function(t,e){return t.length&&e.type===Un.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t},[]);return t.length<=1?t[0]||"":t},this.formatToParts=function(t){return Kn(a.ast,a.locales,a.formatters,a.formats,t,void 0,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof t){if(this.message=t,!ei.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=ei.__parse(t,{ignoreTag:null==i?void 0:i.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(r=ei.formats,(o=n)?Object.keys(r).reduce(function(t,e){var n,i;return t[e]=(n=r[e],(i=o[e])?Fe(Fe(Fe({},n||{}),i||{}),Object.keys(n).reduce(function(t,e){return t[e]=Fe(Fe({},n[e]),i[e]||{}),t},{})):n),t},Fe({},r)):r),this.locales=e,this.formatters=i&&i.formatters||{getNumberFormat:Sn(function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Ue([void 0],e)))},{cache:Qn((i=void 0===(i=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:i).number),strategy:Fn.variadic}),getDateTimeFormat:Sn(function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Ue([void 0],e)))},{cache:Qn(i.dateTime),strategy:Fn.variadic}),getPluralRules:Sn(function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Ue([void 0],e)))},{cache:Qn(i.pluralRules),strategy:Fn.variadic})}}const ni={},ii=(e,n)=>{if(null!=n){if(n in ni&&e in ni[n])return ni[n][e];var i,r,o=wi(n);for(let t=0;t<o.length;t++){var a=(i=o[t],r=e,ai(i)?function(t,e){if(e in t)return t[e];const n=e.split(".");let i=t;for(let t=0;t<n.length;t++)if("object"==typeof i){if(0<t){const e=n.slice(t,n.length).join(".");if(e in i){i=i[e];break}}i=i[n[t]]}else i=void 0;return i}(function(t){return ri[t]||null}(i),r):null);if(a)return i=e,r=n,(a=a)&&(r in ni||(ni[r]={}),i in ni[r]||(ni[r][i]=a),a)}}};let ri;const oi=xe({});function ai(t){return t in ri}function si(e,...n){delete ni[e],oi.update(t=>(t[e]=ke.all([t[e]||{},...n]),t))}Ee([oi],([t])=>Object.keys(t)),oi.subscribe(t=>ri=t);const li={};function ui(t){return li[t]}function ci(t){return wi(t).some(t=>{return null===(t=ui(t))||void 0===t?void 0:t.size})}const di={};function fi(t){if(!ci(t))return t in di?di[t]:void 0;const e=wi(t).map(t=>{var e=ui(t);return[t,e?[...e]:[]]}).filter(([,t])=>0<t.length);return di[t]=Promise.all(e.map(([t,n])=>function(e){return Promise.all(n.map(t=>(function(t,e){li[t].delete(e),0===li[t].size&&delete li[t]}(e,t),t().then(t=>t.default||t)))).then(t=>si(e,...t))}(t))).then(()=>ci(t)?fi(t):void delete di[t]),di[t]}function hi(t,e){var n={};for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}const pi={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 mi=xe(!1);let yi;const gi=xe(null);function vi(t){return t.split("-").map((t,e,n)=>n.slice(0,e+1).join("-")).reverse()}function wi(t,e=pi.fallbackLocale){t=vi(t);return e?[...new Set([...t,...vi(e)])]:t}gi.subscribe(t=>{yi=t,"undefined"!=typeof window&&null!==t&&document.documentElement.setAttribute("lang",t)});const _i=gi.set;gi.set=e=>{if(function(t){if(null!=t){var e=wi(t);for(let t=0;t<e.length;t++){var n=e[t];if(ai(n))return n}}}(e)&&ci(e)){var{loadingDelay:n}=pi;let t;return"undefined"!=typeof window&&null!=yi&&n?t=window.setTimeout(()=>mi.set(!0),n):mi.set(!0),fi(e).then(()=>{_i(e)}).finally(()=>{clearTimeout(t),mi.set(!1)})}return _i(e)},gi.update=t=>_i(t(yi));const bi=n=>{const i=Object.create(null);return t=>{var e=JSON.stringify(t);return e in i?i[e]:i[e]=n(t)}},xi=(t,e)=>{var{formats:n}=pi;if(t in n&&e in n[t])return n[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Ei=bi(t=>{var{locale:e,format:n}=t,t=hi(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(t=xi("number",n)),new Intl.NumberFormat(e,t)}),Ti=bi(t=>{var{locale:e,format:n}=t,t=hi(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?t=xi("date",n):0===Object.keys(t).length&&(t=xi("date","short")),new Intl.DateTimeFormat(e,t)}),Ci=bi(t=>{var{locale:e,format:n}=t,t=hi(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?t=xi("time",n):0===Object.keys(t).length&&(t=xi("time","short")),new Intl.DateTimeFormat(e,t)}),Mi=bi((t,e=yi)=>new ti(t,e,pi.formats,{ignoreTag:pi.ignoreTag})),Ai=Ee([gi,oi],()=>(t,e={})=>{"object"==typeof t&&(t=(e=t).id);var{values:n,locale:i=yi,default:r}=e;if(null==i)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let o=ii(t,i);if(o){if("string"!=typeof o)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof o}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),o}else pi.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${t}" was not found in "${wi(i).join('", "')}".${ci(yi)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),o=r||t;if(!n)return o;let a=o;try{a=Mi(o,i).format(n)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return a});Ee([gi],()=>(t,e)=>((t={})=>{var{locale:e=yi}=t,t=hi(t,["locale"]);return Ci(Object.assign({locale:e},t))})(e).format(t)),Ee([gi],()=>(t,e)=>((t={})=>{var{locale:e=yi}=t,t=hi(t,["locale"]);return Ti(Object.assign({locale:e},t))})(e).format(t)),Ee([gi],()=>(t,e)=>((t={})=>{var{locale:e=yi}=t,t=hi(t,["locale"]);return Ei(Object.assign({locale:e},t))})(e).format(t)),Ee([gi,oi],()=>(t,e=yi)=>ii(t,e)),window.emWidgets={topic:(t,e=0)=>{return-1==we.indexOf(t)&&(e=new me(e),_e[t]=e,we.push(t)),_e[t]}};const Li=t=>t.toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",Si={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ă"}}},Ii={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ă. "}}};function Di(n){let i,r,o,a,s,l,u,c,d,f,h,p,m,y,g,v=n[3]("popupText.name")+"";function w(t){return t[0]?Pi:ki}let _=w(n),b=_(n);return{c(){i=K("section"),r=K("div"),o=K("div"),a=K("div"),a.textContent="i",s=tt(),l=K("div"),u=Q(v),c=tt(),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>',f=tt(),h=K("div"),b.c(),it(a,"class","InfoCardPopupIcon"),it(a,"part","InfoCardPopupIcon"),it(l,"class","InfoCardPopupTitle"),it(l,"part","InfoCardPopupTitle"),it(d,"class","InfoCardPopupCloseButton"),it(d,"part","InfoCardPopupCloseButton"),it(o,"class","InfoCardPopupHeader"),it(o,"part","InfoCardPopupHeader"),it(h,"class","InfoCardPopupContentArea"),it(h,"part","InfoCardPopupContentArea"),it(r,"class",p="InfoCardPopupWrapper "+(n[4]?"InfoCardPopupMobileWrapper":"")+" "+(n[0]?"InfoCardPopupLimitChanged":"")),it(r,"part",m="InfoCardPopupWrapper "+(n[4]?"InfoCardPopupMobileWrapper":"")+" "+(n[0]?"InfoCardPopupLimitChanged":"")),it(i,"class",n[4]?"InfoCardPopupMobileModal":""),it(i,"part",n[4]?"InfoCardPopupMobileModal":"")},m(t,e){q(t,i,e),X(i,r),X(r,o),X(o,a),X(o,s),X(o,l),X(l,u),X(o,c),X(o,d),X(r,f),X(r,h),b.m(h,null),y||(g=et(d,"click",nt(n[5])),y=!0)},p(t,e){8&e&&v!==(v=t[3]("popupText.name")+"")&&ot(u,v),_===(_=w(t))&&b?b.p(t,e):(b.d(1),b=_(t),b&&(b.c(),b.m(h,null))),1&e&&p!==(p="InfoCardPopupWrapper "+(t[4]?"InfoCardPopupMobileWrapper":"")+" "+(t[0]?"InfoCardPopupLimitChanged":""))&&it(r,"class",p),1&e&&m!==(m="InfoCardPopupWrapper "+(t[4]?"InfoCardPopupMobileWrapper":"")+" "+(t[0]?"InfoCardPopupLimitChanged":""))&&it(r,"part",m)},d(t){t&&J(i),b.d(),y=!1,g()}}}function ki(t){let n,i,r=t[3]("popupText.defaultText")+"";return{c(){n=K("p"),i=Q(r),it(n,"class","InfoCardPopupContent"),it(n,"part","InfoCardPopupContent")},m(t,e){q(t,n,e),X(n,i)},p(t,e){8&e&&r!==(r=t[3]("popupText.defaultText")+"")&&ot(i,r)},d(t){t&&J(n)}}}function Pi(t){let n,i,r=t[3]("popupText.amountChanged",{values:{amount:t[0],currency:t[1]}})+"";return{c(){n=K("p"),i=Q(r),it(n,"class","InfoCardPopupContent"),it(n,"part","InfoCardPopupContent")},m(t,e){q(t,n,e),X(n,i)},p(t,e){11&e&&r!==(r=t[3]("popupText.amountChanged",{values:{amount:t[0],currency:t[1]}})+"")&&ot(i,r)},d(t){t&&J(n)}}}function Ni(t){let n,i=t[2]&&Di(t);return{c(){i&&i.c(),n=_(),this.c=z},m(t,e){i&&i.m(t,e),q(t,n,e)},p(t,[e]){t[2]?i?i.p(t,e):(i=Di(t),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},i:z,o:z,d(t){i&&i.d(t),t&&J(n)}}}function Oi(e,t,n){let i;F(e,Ai,t=>n(3,i=t));let{showpopup:r=""}=t,{iteminfoamount:o=""}=t,{lang:a="en"}=t,{playercurrency:s="USD"}=t;Object.keys(Ii).forEach(t=>{si(t,Ii[t])});let l=!1,u=window.navigator.userAgent,c="PC"!==Li(u);const d=t=>{t.data&&"ClosePlayerAccountGamingLimitsPopup"==t.data.type&&n(2,l=!1)};return W(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)})),e.$$set=t=>{"showpopup"in t&&n(6,r=t.showpopup),"iteminfoamount"in t&&n(0,o=t.iteminfoamount),"lang"in t&&n(7,a=t.lang),"playercurrency"in t&&n(1,s=t.playercurrency)},e.$$.update=()=>{var t;192&e.$$.dirty&&r&&a&&(t=a,gi.set(t),o<0&&n(0,o="0"),n(2,l=r))},[o,s,l,i,c,()=>{n(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(t){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:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);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:0px 4px 12px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:0.3125;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%)}.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:i(this.attributes),customElement:!0},Oi,Ni,n,{showpopup:6,iteminfoamount:0,lang:7,playercurrency:1}),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["showpopup","iteminfoamount","lang","playercurrency"]}get showpopup(){return this.$$.ctx[6]}set showpopup(t){this.$set({showpopup:t}),k()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(t){this.$set({iteminfoamount:t}),k()}get lang(){return this.$$.ctx[7]}set lang(t){this.$set({lang:t}),k()}get playercurrency(){return this.$$.ctx[1]}set playercurrency(t){this.$set({playercurrency:t}),k()}});const Ri={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."}}};var Yi,Fi,Ui=(Fi=Yi={path:void 0,exports:{},require:function(t,e){return Dn(null==e&&Yi.path)}},Yi.exports,Fi.exports=function(){var t;function p(){return t.apply(null,arguments)}function a(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function s(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function h(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;for(var e in t)if(h(t,e))return;return 1}function o(t){return void 0===t}function u(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function r(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function i(t,e){for(var n=[],i=0;i<t.length;++i)n.push(e(t[i],i));return n}function c(t,e){for(var n in e)h(e,n)&&(t[n]=e[n]);return h(e,"toString")&&(t.toString=e.toString),h(e,"valueOf")&&(t.valueOf=e.valueOf),t}function d(t,e,n,i){return Se(t,e,n,i,!0).utc()}function m(t){return null==t._pf&&(t._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}),t._pf}function f(t){if(null==t._isValid){var e=m(t),n=g.call(e.parsedDateParts,function(t){return null!=t}),n=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(n=n&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return n;t._isValid=n}return t._isValid}function y(t){var e=d(NaN);return null!=t?c(m(e),t):m(e).userInvalidated=!0,e}var g=Array.prototype.some||function(t){for(var e=Object(this),n=e.length>>>0,i=0;i<n;i++)if(i in e&&t.call(this,e[i],i,e))return!0;return!1},v=p.momentProperties=[],e=!1;function w(t,e){var n,i,r;if(o(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),o(e._i)||(t._i=e._i),o(e._f)||(t._f=e._f),o(e._l)||(t._l=e._l),o(e._strict)||(t._strict=e._strict),o(e._tzm)||(t._tzm=e._tzm),o(e._isUTC)||(t._isUTC=e._isUTC),o(e._offset)||(t._offset=e._offset),o(e._pf)||(t._pf=m(e)),o(e._locale)||(t._locale=e._locale),0<v.length)for(n=0;n<v.length;n++)o(r=e[i=v[n]])||(t[i]=r);return t}function _(t){w(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===e&&(e=!0,p.updateOffset(this),e=!1)}function b(t){return t instanceof _||null!=t&&null!=t._isAMomentObject}function x(t){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function n(r,o){var a=!0;return c(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,r),a){for(var t,e,n=[],i=0;i<arguments.length;i++){if(t="","object"==typeof arguments[i]){for(e in t+="\n["+i+"] ",arguments[0])h(arguments[0],e)&&(t+=e+": "+arguments[0][e]+", ");t=t.slice(0,-2)}else t=arguments[i];n.push(t)}x(r+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),a=!1}return o.apply(this,arguments)},o)}var E={};function T(t,e){null!=p.deprecationHandler&&p.deprecationHandler(t,e),E[t]||(x(e),E[t]=!0)}function C(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function M(t,e){var n,i=c({},t);for(n in e)h(e,n)&&(s(t[n])&&s(e[n])?(i[n]={},c(i[n],t[n]),c(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)h(t,n)&&!h(e,n)&&s(t[n])&&(i[n]=c({},i[n]));return i}function A(t){null!=t&&this.set(t)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var L=Object.keys||function(t){var e,n=[];for(e in t)h(t,e)&&n.push(e);return n};function S(t,e,n){var i=""+Math.abs(t);return(0<=t?n?"+":"":"-")+Math.pow(10,Math.max(0,e-i.length)).toString().substr(1)+i}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 N(t,e,n,i){var r="string"==typeof i?function(){return this[i]()}:i;t&&(P[t]=r),e&&(P[e[0]]=function(){return S(r.apply(this,arguments),e[1],e[2])}),n&&(P[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function O(t,e){return t.isValid()?(e=R(e,t.localeData()),k[e]=k[e]||function(i){for(var t,r=i.match(I),e=0,o=r.length;e<o;e++)P[r[e]]?r[e]=P[r[e]]:r[e]=(t=r[e]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){for(var e="",n=0;n<o;n++)e+=C(r[n])?r[n].call(t,i):r[n];return e}}(e),k[e](t)):t.localeData().invalidDate()}function R(t,e){var n=5;function i(t){return e.longDateFormat(t)||t}for(D.lastIndex=0;0<=n&&D.test(t);)t=t.replace(D,i),D.lastIndex=0,--n;return t}var Y={};function F(t,e){var n=t.toLowerCase();Y[n]=Y[n+"s"]=Y[e]=t}function U(t){return"string"==typeof t?Y[t]||Y[t.toLowerCase()]:void 0}function G(t){var e,n,i={};for(n in t)h(t,n)&&(e=U(n))&&(i[e]=t[n]);return i}var W={};function $(t,e){W[t]=e}function j(t){return t%4==0&&t%100!=0||t%400==0}function B(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function H(t){var e=+t,t=0;return t=0!=e&&isFinite(e)?B(e):t}function V(e,n){return function(t){return null!=t?(Z(this,e,t),p.updateOffset(this,n),this):z(this,e)}}function z(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Z(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&j(t.year())&&1===t.month()&&29===t.date()?(n=H(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),Lt(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}var X=/\d/,q=/\d\d/,J=/\d{3}/,K=/\d{4}/,Q=/[+-]?\d{6}/,tt=/\d\d?/,et=/\d\d\d\d?/,nt=/\d\d\d\d\d\d?/,it=/\d{1,3}/,rt=/\d{1,4}/,ot=/[+-]?\d{1,6}/,at=/\d+/,st=/[+-]?\d+/,lt=/Z|[+-]\d\d:?\d\d/gi,ut=/Z|[+-]\d\d(?::?\d\d)?/gi,ct=/[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 dt(t,n,i){pt[t]=C(n)?n:function(t,e){return t&&i?i:n}}function ft(t,e){return h(pt,t)?pt[t](e._strict,e._locale):new RegExp(ht(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r})))}function ht(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var pt={},mt={};function yt(t,n){var e,i=n;for("string"==typeof t&&(t=[t]),u(n)&&(i=function(t,e){e[n]=H(t)}),e=0;e<t.length;e++)mt[t[e]]=i}function gt(t,r){yt(t,function(t,e,n,i){n._w=n._w||{},r(t,n._w,n,i)})}var vt,wt=0,_t=1,bt=2,xt=3,Et=4,Tt=5,Ct=6,Mt=7,At=8;function Lt(t,e){if(isNaN(t)||isNaN(e))return NaN;var n,n=(e%(n=12)+n)%n;return t+=(e-n)/12,1==n?j(t)?29:28:31-n%7%2}vt=Array.prototype.indexOf||function(t){for(var e=0;e<this.length;++e)if(this[e]===t)return e;return-1},N("M",["MM",2],"Mo",function(){return this.month()+1}),N("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),N("MMMM",0,0,function(t){return this.localeData().months(this,t)}),F("month","M"),$("month",8),dt("M",tt),dt("MM",tt,q),dt("MMM",function(t,e){return e.monthsShortRegex(t)}),dt("MMMM",function(t,e){return e.monthsRegex(t)}),yt(["M","MM"],function(t,e){e[_t]=H(t)-1}),yt(["MMM","MMMM"],function(t,e,n,i){i=n._locale.monthsParse(t,i,n._strict);null!=i?e[_t]=i:m(n).invalidMonth=t});var St="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),It="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Dt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,kt=ct,Pt=ct;function Nt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=H(e);else if(!u(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),Lt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function Ot(t){return null!=t?(Nt(this,t),p.updateOffset(this,!0),this):z(this,"Month")}function Rt(){function t(t,e){return e.length-t.length}for(var e,n=[],i=[],r=[],o=0;o<12;o++)e=d([2e3,o]),n.push(this.monthsShort(e,"")),i.push(this.months(e,"")),r.push(this.months(e,"")),r.push(this.monthsShort(e,""));for(n.sort(t),i.sort(t),r.sort(t),o=0;o<12;o++)n[o]=ht(n[o]),i[o]=ht(i[o]);for(o=0;o<24;o++)r[o]=ht(r[o]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Yt(t){return j(t)?366:365}N("Y",0,0,function(){var t=this.year();return t<=9999?S(t,4):"+"+t}),N(0,["YY",2],0,function(){return this.year()%100}),N(0,["YYYY",4],0,"year"),N(0,["YYYYY",5],0,"year"),N(0,["YYYYYY",6,!0],0,"year"),F("year","y"),$("year",1),dt("Y",st),dt("YY",tt,q),dt("YYYY",rt,K),dt("YYYYY",ot,Q),dt("YYYYYY",ot,Q),yt(["YYYYY","YYYYYY"],wt),yt("YYYY",function(t,e){e[wt]=2===t.length?p.parseTwoDigitYear(t):H(t)}),yt("YY",function(t,e){e[wt]=p.parseTwoDigitYear(t)}),yt("Y",function(t,e){e[wt]=parseInt(t,10)}),p.parseTwoDigitYear=function(t){return H(t)+(68<H(t)?1900:2e3)};var Ft=V("FullYear",!0);function Ut(t,e,n,i,r,o,a){var s;return t<100&&0<=t?(s=new Date(t+400,e,n,i,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,i,r,o,a),s}function Gt(t){var e;return t<100&&0<=t?((e=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,e)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Wt(t,e,n){n=7+e-n;return-(7+Gt(t,0,n).getUTCDay()-e)%7+n-1}function $t(t,e,n,i,r){var o,r=1+7*(e-1)+(7+n-i)%7+Wt(t,i,r),r=r<=0?Yt(o=t-1)+r:r>Yt(t)?(o=t+1,r-Yt(t)):(o=t,r);return{year:o,dayOfYear:r}}function jt(t,e,n){var i,r,o=Wt(t.year(),e,n),o=Math.floor((t.dayOfYear()-o-1)/7)+1;return o<1?i=o+Bt(r=t.year()-1,e,n):o>Bt(t.year(),e,n)?(i=o-Bt(t.year(),e,n),r=t.year()+1):(r=t.year(),i=o),{week:i,year:r}}function Bt(t,e,n){var i=Wt(t,e,n),n=Wt(t+1,e,n);return(Yt(t)-i+n)/7}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),$("week",5),$("isoWeek",5),dt("w",tt),dt("ww",tt,q),dt("W",tt),dt("WW",tt,q),gt(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=H(t)});function Ht(t,e){return t.slice(e,7).concat(t.slice(0,e))}N("d",0,"do","day"),N("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),N("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),N("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),$("day",11),$("weekday",11),$("isoWeekday",11),dt("d",tt),dt("e",tt),dt("E",tt),dt("dd",function(t,e){return e.weekdaysMinRegex(t)}),dt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),dt("dddd",function(t,e){return e.weekdaysRegex(t)}),gt(["dd","ddd","dddd"],function(t,e,n,i){i=n._locale.weekdaysParse(t,i,n._strict);null!=i?e.d=i:m(n).invalidWeekday=t}),gt(["d","e","E"],function(t,e,n,i){e[i]=H(t)});var Vt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),zt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Zt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xt=ct,qt=ct,Jt=ct;function Kt(){function t(t,e){return e.length-t.length}for(var e,n,i,r=[],o=[],a=[],s=[],l=0;l<7;l++)i=d([2e3,1]).day(l),e=ht(this.weekdaysMin(i,"")),n=ht(this.weekdaysShort(i,"")),i=ht(this.weekdays(i,"")),r.push(e),o.push(n),a.push(i),s.push(e),s.push(n),s.push(i);r.sort(t),o.sort(t),a.sort(t),s.sort(t),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 Qt(){return this.hours()%12||12}function te(t,e){N(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function ee(t,e){return e._meridiemParse}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,Qt),N("k",["kk",2],0,function(){return this.hours()||24}),N("hmm",0,0,function(){return""+Qt.apply(this)+S(this.minutes(),2)}),N("hmmss",0,0,function(){return""+Qt.apply(this)+S(this.minutes(),2)+S(this.seconds(),2)}),N("Hmm",0,0,function(){return""+this.hours()+S(this.minutes(),2)}),N("Hmmss",0,0,function(){return""+this.hours()+S(this.minutes(),2)+S(this.seconds(),2)}),te("a",!0),te("A",!1),F("hour","h"),$("hour",13),dt("a",ee),dt("A",ee),dt("H",tt),dt("h",tt),dt("k",tt),dt("HH",tt,q),dt("hh",tt,q),dt("kk",tt,q),dt("hmm",et),dt("hmmss",nt),dt("Hmm",et),dt("Hmmss",nt),yt(["H","HH"],xt),yt(["k","kk"],function(t,e,n){t=H(t);e[xt]=24===t?0:t}),yt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),yt(["h","hh"],function(t,e,n){e[xt]=H(t),m(n).bigHour=!0}),yt("hmm",function(t,e,n){var i=t.length-2;e[xt]=H(t.substr(0,i)),e[Et]=H(t.substr(i)),m(n).bigHour=!0}),yt("hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[xt]=H(t.substr(0,i)),e[Et]=H(t.substr(i,2)),e[Tt]=H(t.substr(r)),m(n).bigHour=!0}),yt("Hmm",function(t,e,n){var i=t.length-2;e[xt]=H(t.substr(0,i)),e[Et]=H(t.substr(i))}),yt("Hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[xt]=H(t.substr(0,i)),e[Et]=H(t.substr(i,2)),e[Tt]=H(t.substr(r))});var ne=V("Hours",!0);var ie,re={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:St,monthsShort:It,week:{dow:0,doy:6},weekdays:Vt,weekdaysMin:Zt,weekdaysShort:zt,meridiemParse:/[ap]\.?m?\.?/i},oe={},ae={};function se(t){return t&&t.toLowerCase().replace("_","-")}function le(t){for(var e,n,i,r,o=0;o<t.length;){for(e=(r=se(t[o]).split("-")).length,n=(n=se(t[o+1]))?n.split("-"):null;0<e;){if(i=ue(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&function(t,e){for(var n=Math.min(t.length,e.length),i=0;i<n;i+=1)if(t[i]!==e[i])return i;return n}(r,n)>=e-1)break;e--}o++}return ie}function ue(e){var t;if(void 0===oe[e]&&Fi&&Fi.exports)try{t=ie._abbr,Dn(),ce(t)}catch(t){oe[e]=null}return oe[e]}function ce(t,e){return t&&((e=o(e)?fe(t):de(t,e))?ie=e:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ie._abbr}function de(t,e){if(null===e)return delete oe[t],null;var n,i=re;if(e.abbr=t,null!=oe[t])T("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."),i=oe[t]._config;else if(null!=e.parentLocale)if(null!=oe[e.parentLocale])i=oe[e.parentLocale]._config;else{if(null==(n=ue(e.parentLocale)))return ae[e.parentLocale]||(ae[e.parentLocale]=[]),ae[e.parentLocale].push({name:t,config:e}),null;i=n._config}return oe[t]=new A(M(i,e)),ae[t]&&ae[t].forEach(function(t){de(t.name,t.config)}),ce(t),oe[t]}function fe(t){var e;if(!(t=t&&t._locale&&t._locale._abbr?t._locale._abbr:t))return ie;if(!a(t)){if(e=ue(t))return e;t=[t]}return le(t)}function he(t){var e=t._a;return e&&-2===m(t).overflow&&(e=e[_t]<0||11<e[_t]?_t:e[bt]<1||e[bt]>Lt(e[wt],e[_t])?bt:e[xt]<0||24<e[xt]||24===e[xt]&&(0!==e[Et]||0!==e[Tt]||0!==e[Ct])?xt:e[Et]<0||59<e[Et]?Et:e[Tt]<0||59<e[Tt]?Tt:e[Ct]<0||999<e[Ct]?Ct:-1,m(t)._overflowDayOfYear&&(e<wt||bt<e)&&(e=bt),m(t)._overflowWeeks&&-1===e&&(e=Mt),m(t)._overflowWeekday&&-1===e&&(e=At),m(t).overflow=e),t}var pe=/^\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)?)?$/,me=/^\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)?)?$/,ye=/Z|[+-]\d\d(?::?\d\d)?/,ge=[["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]],ve=[["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/]],we=/^\/?Date\((-?\d+)/i,_e=/^(?:(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}))$/,be={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xe(t){var e,n,i,r,o,a,s=t._i,l=pe.exec(s)||me.exec(s);if(l){for(m(t).iso=!0,e=0,n=ge.length;e<n;e++)if(ge[e][1].exec(l[1])){r=ge[e][0],i=!1!==ge[e][2];break}if(null==r)return t._isValid=!1;if(l[3]){for(e=0,n=ve.length;e<n;e++)if(ve[e][1].exec(l[3])){o=(l[2]||" ")+ve[e][0];break}if(null==o)return t._isValid=!1}if(!i&&null!=o)return t._isValid=!1;if(l[4]){if(!ye.exec(l[4]))return t._isValid=!1;a="Z"}t._f=r+(o||"")+(a||""),Ae(t)}else t._isValid=!1}function Ee(t,e,n,i,r,o){r=[function(t){t=parseInt(t,10);return t<=49?2e3+t:t<=999?1900+t:t}(t),It.indexOf(e),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return o&&r.push(parseInt(o,10)),r}function Te(t){var e,n,i,r,o=_e.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(e=Ee(o[4],o[3],o[2],o[5],o[6],o[7]),n=o[1],i=e,r=t,n&&zt.indexOf(n)!==new Date(i[0],i[1],i[2]).getDay()?(m(r).weekdayMismatch=!0,r._isValid=!1):(t._a=e,t._tzm=(r=o[8],e=o[9],o=o[10],r?be[r]:e?0:((e=parseInt(o,10))-(o=e%100))/100*60+o),t._d=Gt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),m(t).rfc2822=!0)):t._isValid=!1}function Ce(t,e,n){return null!=t?t:null!=e?e:n}function Me(t){var e,n,i,r,o,a,s,l,u,c,d,f,h=[];if(!t._d){for(d=t,f=new Date(p.now()),n=d._useUTC?[f.getUTCFullYear(),f.getUTCMonth(),f.getUTCDate()]:[f.getFullYear(),f.getMonth(),f.getDate()],t._w&&null==t._a[bt]&&null==t._a[_t]&&(null!=(d=(r=t)._w).GG||null!=d.W||null!=d.E?(l=1,u=4,o=Ce(d.GG,r._a[wt],jt(Ie(),1,4).year),a=Ce(d.W,1),((s=Ce(d.E,1))<1||7<s)&&(c=!0)):(l=r._locale._week.dow,u=r._locale._week.doy,f=jt(Ie(),l,u),o=Ce(d.gg,r._a[wt],f.year),a=Ce(d.w,f.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>Bt(o,l,u)?m(r)._overflowWeeks=!0:null!=c?m(r)._overflowWeekday=!0:(u=$t(o,a,s,l,u),r._a[wt]=u.year,r._dayOfYear=u.dayOfYear)),null!=t._dayOfYear&&(i=Ce(t._a[wt],n[wt]),(t._dayOfYear>Yt(i)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),i=Gt(i,0,t._dayOfYear),t._a[_t]=i.getUTCMonth(),t._a[bt]=i.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=h[e]=n[e];for(;e<7;e++)t._a[e]=h[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[xt]&&0===t._a[Et]&&0===t._a[Tt]&&0===t._a[Ct]&&(t._nextDay=!0,t._a[xt]=0),t._d=(t._useUTC?Gt:Ut).apply(null,h),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[xt]=24),t._w&&void 0!==t._w.d&&t._w.d!==i&&(m(t).weekdayMismatch=!0)}}function Ae(t){if(t._f!==p.ISO_8601)if(t._f!==p.RFC_2822){t._a=[],m(t).empty=!0;for(var e,n,i=""+t._i,r=i.length,o=0,a=R(t._f,t._locale).match(I)||[],s=0;s<a.length;s++)n=a[s],(e=(i.match(ft(n,t))||[])[0])&&(0<(d=i.substr(0,i.indexOf(e))).length&&m(t).unusedInput.push(d),i=i.slice(i.indexOf(e)+e.length),o+=e.length),P[n]?(e?m(t).empty=!1:m(t).unusedTokens.push(n),c=n,f=t,null!=(d=e)&&h(mt,c)&&mt[c](d,f._a,f,c)):t._strict&&!e&&m(t).unusedTokens.push(n);m(t).charsLeftOver=r-o,0<i.length&&m(t).unusedInput.push(i),t._a[xt]<=12&&!0===m(t).bigHour&&0<t._a[xt]&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[xt]=(l=t._locale,u=t._a[xt],null==(r=t._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=m(t).era)&&(t._a[wt]=t._locale.erasConvertYear(u,t._a[wt])),Me(t),he(t)}else Te(t);else xe(t);var l,u,c,d,f}function Le(t){var e=t._i,n=t._f;return t._locale=t._locale||fe(t._l),null===e||void 0===n&&""===e?y({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),b(e)?new _(he(e)):(r(e)?t._d=e:a(n)?function(t){var e,n,i,r,o,a,s=!1;if(0===t._f.length)return m(t).invalidFormat=!0,t._d=new Date(NaN);for(r=0;r<t._f.length;r++)o=0,a=!1,e=w({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Ae(e),f(e)&&(a=!0),o+=m(e).charsLeftOver,o+=10*m(e).unusedTokens.length,m(e).score=o,s?o<i&&(i=o,n=e):(null==i||o<i||a)&&(i=o,n=e,a&&(s=!0));c(t,n||e)}(t):n?Ae(t):o(n=(e=t)._i)?e._d=new Date(p.now()):r(n)?e._d=new Date(n.valueOf()):"string"==typeof n?function(t){var e=we.exec(t._i);null===e?(xe(t),!1===t._isValid&&(delete t._isValid,Te(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:p.createFromInputFallback(t)))):t._d=new Date(+e[1])}(e):a(n)?(e._a=i(n.slice(0),function(t){return parseInt(t,10)}),Me(e)):s(n)?function(t){var e,n;t._d||(n=void 0===(e=G(t._i)).day?e.date:e.day,t._a=i([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),Me(t))}(e):u(n)?e._d=new Date(n):p.createFromInputFallback(e),f(t)||(t._d=null),t))}function Se(t,e,n,i,r){var o={};return!0!==e&&!1!==e||(i=e,e=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(s(t)&&l(t)||a(t)&&0===t.length)&&(t=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=n,o._i=t,o._f=e,o._strict=i,(o=new _(he(Le(o=o))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function Ie(t,e,n,i){return Se(t,e,n,i,!1)}p.createFromInputFallback=n("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(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};var De=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ie.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:y()}),ke=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ie.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:y()});function Pe(t,e){var n,i;if(!(e=1===e.length&&a(e[0])?e[0]:e).length)return Ie();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}var Ne=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Oe(t){var e=G(t),n=e.year||0,i=e.quarter||0,r=e.month||0,o=e.week||e.isoWeek||0,a=e.day||0,s=e.hour||0,l=e.minute||0,u=e.second||0,t=e.millisecond||0;this._isValid=function(t){var e,n,i=!1;for(e in t)if(h(t,e)&&(-1===vt.call(Ne,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<Ne.length;++n)if(t[Ne[n]]){if(i)return!1;parseFloat(t[Ne[n]])!==H(t[Ne[n]])&&(i=!0)}return!0}(e),this._milliseconds=+t+1e3*u+6e4*l+1e3*s*60*60,this._days=+a+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=fe(),this._bubble()}function Re(t){return t instanceof Oe}function Ye(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Fe(t,n){N(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+S(~~(t/60),2)+n+S(~~t%60,2)})}Fe("Z",":"),Fe("ZZ",""),dt("Z",ut),dt("ZZ",ut),yt(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Ge(ut,t)});var Ue=/([\+\-]|\d\d)/gi;function Ge(t,e){var e=(e||"").match(t);return null===e?null:0===(e=60*(t=((e[e.length-1]||[])+"").match(Ue)||["-",0,0])[1]+H(t[2]))?0:"+"===t[0]?e:-e}function We(t,e){var n;return e._isUTC?(n=e.clone(),e=(b(t)||r(t)?t:Ie(t)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+e),p.updateOffset(n,!1),n):Ie(t).local()}function $e(t){return-Math.round(t._d.getTimezoneOffset())}function je(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var Be=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,He=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ve(t,e){var n,i,r=t,o=null;return Re(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:u(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(o=Be.exec(t))?(n="-"===o[1]?-1:1,r={y:0,d:H(o[bt])*n,h:H(o[xt])*n,m:H(o[Et])*n,s:H(o[Tt])*n,ms:H(Ye(1e3*o[Ct]))*n}):(o=He.exec(t))?(n="-"===o[1]?-1:1,r={y:ze(o[2],n),M:ze(o[3],n),w:ze(o[4],n),d:ze(o[5],n),h:ze(o[6],n),m:ze(o[7],n),s:ze(o[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(o=Ie(r.from),n=Ie(r.to),i=o.isValid()&&n.isValid()?(n=We(n,o),o.isBefore(n)?i=Ze(o,n):((i=Ze(n,o)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(r={}).ms=i.milliseconds,r.M=i.months),r=new Oe(r),Re(t)&&h(t,"_locale")&&(r._locale=t._locale),Re(t)&&h(t,"_isValid")&&(r._isValid=t._isValid),r}function ze(t,e){t=t&&parseFloat(t.replace(",","."));return(isNaN(t)?0:t)*e}function Ze(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Xe(i,r){return function(t,e){var n;return null===e||isNaN(+e)||(T(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."),n=t,t=e,e=n),qe(this,Ve(t,e),i),this}}function qe(t,e,n,i){var r=e._milliseconds,o=Ye(e._days),e=Ye(e._months);t.isValid()&&(i=null==i||i,e&&Nt(t,z(t,"Month")+e*n),o&&Z(t,"Date",z(t,"Date")+o*n),r&&t._d.setTime(t._d.valueOf()+r*n),i&&p.updateOffset(t,o||e))}Ve.fn=Oe.prototype,Ve.invalid=function(){return Ve(NaN)};var Je=Xe(1,"add"),ct=Xe(-1,"subtract");function Ke(t){return"string"==typeof t||t instanceof String}function Qe(t){return b(t)||r(t)||Ke(t)||u(t)||(n=a(e=t),i=!1,n&&(i=0===e.filter(function(t){return!u(t)&&Ke(e)}).length),n&&i)||function(t){var e,n,i=s(t)&&!l(t),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(e=0;e<o.length;e+=1)n=o[e],r=r||h(t,n);return i&&r}(t)||null==t;var e,n,i}function tn(t,e){if(t.date()<e.date())return-tn(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(n,"months");return-(n+(e-i<0?(e-i)/(i-t.clone().add(n-1,"months")):(e-i)/(t.clone().add(1+n,"months")-i)))||0}function en(t){return void 0===t?this._locale._abbr:(null!=(t=fe(t))&&(this._locale=t),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";et=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function nn(){return this._locale}var rn=126227808e5;function on(t,e){return(t%e+e)%e}function an(t,e,n){return t<100&&0<=t?new Date(t+400,e,n)-rn:new Date(t,e,n).valueOf()}function sn(t,e,n){return t<100&&0<=t?Date.UTC(t+400,e,n)-rn:Date.UTC(t,e,n)}function ln(t,e){return e.erasAbbrRegex(t)}function un(){for(var t=[],e=[],n=[],i=[],r=this.eras(),o=0,a=r.length;o<a;++o)e.push(ht(r[o].name)),t.push(ht(r[o].abbr)),n.push(ht(r[o].narrow)),i.push(ht(r[o].name)),i.push(ht(r[o].abbr)),i.push(ht(r[o].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function cn(t,e){N(0,[t,t.length],0,e)}function dn(t,e,n,i,r){var o;return null==t?jt(this,i,r).year:(e>(o=Bt(t,i,r))&&(e=o),function(t,e,n,i,r){r=$t(t,e,n,i,r),r=Gt(r.year,0,r.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}.call(this,t,e,n,i,r))}N("N",0,0,"eraAbbr"),N("NN",0,0,"eraAbbr"),N("NNN",0,0,"eraAbbr"),N("NNNN",0,0,"eraName"),N("NNNNN",0,0,"eraNarrow"),N("y",["y",1],"yo","eraYear"),N("y",["yy",2],0,"eraYear"),N("y",["yyy",3],0,"eraYear"),N("y",["yyyy",4],0,"eraYear"),dt("N",ln),dt("NN",ln),dt("NNN",ln),dt("NNNN",function(t,e){return e.erasNameRegex(t)}),dt("NNNNN",function(t,e){return e.erasNarrowRegex(t)}),yt(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,i){i=n._locale.erasParse(t,i,n._strict);i?m(n).era=i:m(n).invalidEra=t}),dt("y",at),dt("yy",at),dt("yyy",at),dt("yyyy",at),dt("yo",function(t,e){return e._eraYearOrdinalRegex||at}),yt(["y","yy","yyy","yyyy"],wt),yt(["yo"],function(t,e,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[wt]=n._locale.eraYearOrdinalParse(t,r):e[wt]=parseInt(t,10)}),N(0,["gg",2],0,function(){return this.weekYear()%100}),N(0,["GG",2],0,function(){return this.isoWeekYear()%100}),cn("gggg","weekYear"),cn("ggggg","weekYear"),cn("GGGG","isoWeekYear"),cn("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),$("weekYear",1),$("isoWeekYear",1),dt("G",st),dt("g",st),dt("GG",tt,q),dt("gg",tt,q),dt("GGGG",rt,K),dt("gggg",rt,K),dt("GGGGG",ot,Q),dt("ggggg",ot,Q),gt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=H(t)}),gt(["gg","GG"],function(t,e,n,i){e[i]=p.parseTwoDigitYear(t)}),N("Q",0,"Qo","quarter"),F("quarter","Q"),$("quarter",7),dt("Q",X),yt("Q",function(t,e){e[_t]=3*(H(t)-1)}),N("D",["DD",2],"Do","date"),F("date","D"),$("date",9),dt("D",tt),dt("DD",tt,q),dt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),yt(["D","DD"],bt),yt("Do",function(t,e){e[bt]=H(t.match(tt)[0])});nt=V("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),$("dayOfYear",4),dt("DDD",it),dt("DDDD",J),yt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=H(t)}),N("m",["mm",2],0,"minute"),F("minute","m"),$("minute",14),dt("m",tt),dt("mm",tt,q),yt(["m","mm"],Et);St=V("Minutes",!1);N("s",["ss",2],0,"second"),F("second","s"),$("second",15),dt("s",tt),dt("ss",tt,q),yt(["s","ss"],Tt);var fn,Vt=V("Seconds",!1);for(N("S",0,0,function(){return~~(this.millisecond()/100)}),N(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,function(){return 10*this.millisecond()}),N(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),N(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),N(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),N(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),N(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),$("millisecond",16),dt("S",it,X),dt("SS",it,q),dt("SSS",it,J),fn="SSSS";fn.length<=9;fn+="S")dt(fn,at);function hn(t,e){e[Ct]=H(1e3*("0."+t))}for(fn="S";fn.length<=9;fn+="S")yt(fn,hn);Zt=V("Milliseconds",!1),N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");rt=_.prototype;function pn(t){return t}rt.add=Je,rt.calendar=function(t,e){1===arguments.length&&(arguments[0]?Qe(arguments[0])?(t=arguments[0],e=void 0):function(t){for(var e=s(t)&&!l(t),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<i.length;r+=1)n=n||h(t,i[r]);return e&&n}(arguments[0])&&(e=arguments[0],t=void 0):e=t=void 0);var n=t||Ie(),t=We(n,this).startOf("day"),t=p.calendarFormat(this,t)||"sameElse",e=e&&(C(e[t])?e[t].call(this,n):e[t]);return this.format(e||this.localeData().calendar(t,this,Ie(n)))},rt.clone=function(){return new _(this)},rt.diff=function(t,e,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=We(t,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=U(e)){case"year":o=tn(this,i)/12;break;case"month":o=tn(this,i);break;case"quarter":o=tn(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:B(o)},rt.endOf=function(t){var e,n;if(void 0===(t=U(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?sn:an,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-on(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-on(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-on(e,1e3)-1}return this._d.setTime(e),p.updateOffset(this,!0),this},rt.format=function(t){return t=t||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),t=O(this,t),this.localeData().postformat(t)},rt.from=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||Ie(t).isValid())?Ve({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},rt.fromNow=function(t){return this.from(Ie(),t)},rt.to=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||Ie(t).isValid())?Ve({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},rt.toNow=function(t){return this.to(Ie(),t)},rt.get=function(t){return C(this[t=U(t)])?this[t]():this},rt.invalidAt=function(){return m(this).overflow},rt.isAfter=function(t,e){return t=b(t)?t:Ie(t),!(!this.isValid()||!t.isValid())&&("millisecond"===(e=U(e)||"millisecond")?this.valueOf()>t.valueOf():t.valueOf()<this.clone().startOf(e).valueOf())},rt.isBefore=function(t,e){return t=b(t)?t:Ie(t),!(!this.isValid()||!t.isValid())&&("millisecond"===(e=U(e)||"millisecond")?this.valueOf()<t.valueOf():this.clone().endOf(e).valueOf()<t.valueOf())},rt.isBetween=function(t,e,n,i){return t=b(t)?t:Ie(t),e=b(e)?e:Ie(e),!!(this.isValid()&&t.isValid()&&e.isValid())&&("("===(i=i||"()")[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===i[1]?this.isBefore(e,n):!this.isAfter(e,n))},rt.isSame=function(t,e){var t=b(t)?t:Ie(t);return!(!this.isValid()||!t.isValid())&&("millisecond"===(e=U(e)||"millisecond")?this.valueOf()===t.valueOf():(t=t.valueOf(),this.clone().startOf(e).valueOf()<=t&&t<=this.clone().endOf(e).valueOf()))},rt.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},rt.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},rt.isValid=function(){return f(this)},rt.lang=et,rt.locale=en,rt.localeData=nn,rt.max=ke,rt.min=De,rt.parsingFlags=function(){return c({},m(this))},rt.set=function(t,e){if("object"==typeof t)for(var n=function(t){var e,n=[];for(e in t)h(t,e)&&n.push({unit:e,priority:W[e]});return n.sort(function(t,e){return t.priority-e.priority}),n}(t=G(t)),i=0;i<n.length;i++)this[n[i].unit](t[n[i].unit]);else if(C(this[t=U(t)]))return this[t](e);return this},rt.startOf=function(t){var e,n;if(void 0===(t=U(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?sn:an,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=on(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=on(e,6e4);break;case"second":e=this._d.valueOf(),e-=on(e,1e3)}return this._d.setTime(e),p.updateOffset(this,!0),this},rt.subtract=ct,rt.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},rt.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},rt.toDate=function(){return new Date(this.valueOf())},rt.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t;return(t=e?this.clone().utc():this).year()<0||9999<t.year()?O(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):C(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",O(t,"Z")):O(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},rt.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e="moment",n="";return this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+e+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(rt[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),rt.toJSON=function(){return this.isValid()?this.toISOString():null},rt.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},rt.unix=function(){return Math.floor(this.valueOf()/1e3)},rt.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},rt.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},rt.eraName=function(){for(var t,e=this.localeData().eras(),n=0,i=e.length;n<i;++n){if(t=this.clone().startOf("day").valueOf(),e[n].since<=t&&t<=e[n].until)return e[n].name;if(e[n].until<=t&&t<=e[n].since)return e[n].name}return""},rt.eraNarrow=function(){for(var t,e=this.localeData().eras(),n=0,i=e.length;n<i;++n){if(t=this.clone().startOf("day").valueOf(),e[n].since<=t&&t<=e[n].until)return e[n].narrow;if(e[n].until<=t&&t<=e[n].since)return e[n].narrow}return""},rt.eraAbbr=function(){for(var t,e=this.localeData().eras(),n=0,i=e.length;n<i;++n){if(t=this.clone().startOf("day").valueOf(),e[n].since<=t&&t<=e[n].until)return e[n].abbr;if(e[n].until<=t&&t<=e[n].since)return e[n].abbr}return""},rt.eraYear=function(){for(var t,e,n=this.localeData().eras(),i=0,r=n.length;i<r;++i)if(t=n[i].since<=n[i].until?1:-1,e=this.clone().startOf("day").valueOf(),n[i].since<=e&&e<=n[i].until||n[i].until<=e&&e<=n[i].since)return(this.year()-p(n[i].since).year())*t+n[i].offset;return this.year()},rt.year=Ft,rt.isLeapYear=function(){return j(this.year())},rt.weekYear=function(t){return dn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},rt.isoWeekYear=function(t){return dn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},rt.quarter=rt.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},rt.month=Ot,rt.daysInMonth=function(){return Lt(this.year(),this.month())},rt.week=rt.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},rt.isoWeek=rt.isoWeeks=function(t){var e=jt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},rt.weeksInYear=function(){var t=this.localeData()._week;return Bt(this.year(),t.dow,t.doy)},rt.weeksInWeekYear=function(){var t=this.localeData()._week;return Bt(this.weekYear(),t.dow,t.doy)},rt.isoWeeksInYear=function(){return Bt(this.year(),1,4)},rt.isoWeeksInISOWeekYear=function(){return Bt(this.isoWeekYear(),1,4)},rt.date=nt,rt.day=rt.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e,n,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(e=t,n=this.localeData(),t="string"!=typeof e?e:isNaN(e)?"number"==typeof(e=n.weekdaysParse(e))?e:null:parseInt(e,10),this.add(t-i,"d")):i},rt.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},rt.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null==t)return this.day()||7;var e=(e=t,t=this.localeData(),"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e);return this.day(this.day()%7?e:e-7)},rt.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},rt.hour=rt.hours=ne,rt.minute=rt.minutes=St,rt.second=rt.seconds=Vt,rt.millisecond=rt.milliseconds=Zt,rt.utcOffset=function(t,e,n){var i,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null==t)return this._isUTC?r:$e(this);if("string"==typeof t){if(null===(t=Ge(ut,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=$e(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!e||this._changeInProgress?qe(this,Ve(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},rt.utc=function(t){return this.utcOffset(0,t)},rt.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract($e(this),"m")),this},rt.parseZone=function(){var t;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(t=Ge(lt,this._i))?this.utcOffset(t):this.utcOffset(0,!0)),this},rt.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ie(t).utcOffset():0,(this.utcOffset()-t)%60==0)},rt.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},rt.isLocal=function(){return!!this.isValid()&&!this._isUTC},rt.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},rt.isUtc=je,rt.isUTC=je,rt.zoneAbbr=function(){return this._isUTC?"UTC":""},rt.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},rt.dates=n("dates accessor is deprecated. Use date instead.",nt),rt.months=n("months accessor is deprecated. Use month instead",Ot),rt.years=n("years accessor is deprecated. Use year instead",Ft),rt.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?(this.utcOffset(t="string"!=typeof t?-t:t,e),this):-this.utcOffset()}),rt.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var t,e={};return w(e,this),(e=Le(e))._a?(t=(e._isUTC?d:Ie)(e._a),this._isDSTShifted=this.isValid()&&0<function(t,e,n){for(var i=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),o=0,a=0;a<i;a++)(n&&t[a]!==e[a]||!n&&H(t[a])!==H(e[a]))&&o++;return o+r}(e._a,t.toArray())):this._isDSTShifted=!1,this._isDSTShifted});K=A.prototype;function mn(t,e,n,i){var r=fe(),e=d().set(i,e);return r[n](e,t)}function yn(t,e,n){if(u(t)&&(e=t,t=void 0),t=t||"",null!=e)return mn(t,e,n,"month");for(var i=[],r=0;r<12;r++)i[r]=mn(t,r,n,"month");return i}function gn(t,e,n,i){e=("boolean"==typeof t||(n=e=t,t=!1),u(e)&&(n=e,e=void 0),e||"");var r,o=fe(),a=t?o._week.dow:0,s=[];if(null!=n)return mn(e,(n+a)%7,i,"day");for(r=0;r<7;r++)s[r]=mn(e,(r+a)%7,i,"day");return s}K.calendar=function(t,e,n){return C(t=this._calendar[t]||this._calendar.sameElse)?t.call(e,n):t},K.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(I).map(function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t}).join(""),this._longDateFormat[t])},K.invalidDate=function(){return this._invalidDate},K.ordinal=function(t){return this._ordinal.replace("%d",t)},K.preparse=pn,K.postformat=pn,K.relativeTime=function(t,e,n,i){var r=this._relativeTime[n];return C(r)?r(t,e,n,i):r.replace(/%d/i,t)},K.pastFuture=function(t,e){return C(t=this._relativeTime[0<t?"future":"past"])?t(e):t.replace(/%s/i,e)},K.set=function(t){var e,n;for(n in t)h(t,n)&&(C(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},K.eras=function(t,e){for(var n,i=this._eras||fe("en")._eras,r=0,o=i.length;r<o;++r)switch("string"==typeof i[r].since&&(n=p(i[r].since).startOf("day"),i[r].since=n.valueOf()),typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":n=p(i[r].until).startOf("day").valueOf(),i[r].until=n.valueOf()}return i},K.erasParse=function(t,e,n){var i,r,o,a,s,l=this.eras();for(t=t.toUpperCase(),i=0,r=l.length;i<r;++i)if(o=l[i].name.toUpperCase(),a=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(a===t)return l[i];break;case"NNNN":if(o===t)return l[i];break;case"NNNNN":if(s===t)return l[i]}else if(0<=[o,a,s].indexOf(t))return l[i]},K.erasConvertYear=function(t,e){var n=t.since<=t.until?1:-1;return void 0===e?p(t.since).year():p(t.since).year()+(e-t.offset)*n},K.erasAbbrRegex=function(t){return h(this,"_erasAbbrRegex")||un.call(this),t?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(t){return h(this,"_erasNameRegex")||un.call(this),t?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(t){return h(this,"_erasNarrowRegex")||un.call(this),t?this._erasNarrowRegex:this._erasRegex},K.months=function(t,e){return t?(a(this._months)?this._months:this._months[(this._months.isFormat||Dt).test(e)?"format":"standalone"])[t.month()]:a(this._months)?this._months:this._months.standalone},K.monthsShort=function(t,e){return t?(a(this._monthsShort)?this._monthsShort:this._monthsShort[Dt.test(e)?"format":"standalone"])[t.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(t,e,n){var i,r;if(this._monthsParseExact)return function(t,e,n){var i,r,o,t=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=d([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(r=vt.call(this._shortMonthsParse,t))?r:null:-1!==(r=vt.call(this._longMonthsParse,t))?r:null:"MMM"===e?-1!==(r=vt.call(this._shortMonthsParse,t))||-1!==(r=vt.call(this._longMonthsParse,t))?r:null:-1!==(r=vt.call(this._longMonthsParse,t))||-1!==(r=vt.call(this._shortMonthsParse,t))?r:null}.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=d([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},K.monthsRegex=function(t){return this._monthsParseExact?(h(this,"_monthsRegex")||Rt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(h(this,"_monthsRegex")||(this._monthsRegex=Pt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(t){return this._monthsParseExact?(h(this,"_monthsRegex")||Rt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(h(this,"_monthsShortRegex")||(this._monthsShortRegex=kt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(t){return jt(t,this._week.dow,this._week.doy).week},K.firstDayOfYear=function(){return this._week.doy},K.firstDayOfWeek=function(){return this._week.dow},K.weekdays=function(t,e){return e=a(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"],!0===t?Ht(e,this._week.dow):t?e[t.day()]:e},K.weekdaysMin=function(t){return!0===t?Ht(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},K.weekdaysShort=function(t){return!0===t?Ht(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},K.weekdaysParse=function(t,e,n){var i,r;if(this._weekdaysParseExact)return function(t,e,n){var i,r,o,t=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=d([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(r=vt.call(this._weekdaysParse,t))?r:null:"ddd"===e?-1!==(r=vt.call(this._shortWeekdaysParse,t))?r:null:-1!==(r=vt.call(this._minWeekdaysParse,t))?r:null:"dddd"===e?-1!==(r=vt.call(this._weekdaysParse,t))||-1!==(r=vt.call(this._shortWeekdaysParse,t))||-1!==(r=vt.call(this._minWeekdaysParse,t))?r:null:"ddd"===e?-1!==(r=vt.call(this._shortWeekdaysParse,t))||-1!==(r=vt.call(this._weekdaysParse,t))||-1!==(r=vt.call(this._minWeekdaysParse,t))?r:null:-1!==(r=vt.call(this._minWeekdaysParse,t))||-1!==(r=vt.call(this._weekdaysParse,t))||-1!==(r=vt.call(this._shortWeekdaysParse,t))?r:null}.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=d([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},K.weekdaysRegex=function(t){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(h(this,"_weekdaysRegex")||(this._weekdaysRegex=Xt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},K.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(h(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},K.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(h(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Jt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},K.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},K.meridiem=function(t,e,n){return 11<t?n?"pm":"PM":n?"am":"AM"},ce("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(t){var e=t%10;return t+(1===H(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th")}}),p.lang=n("moment.lang is deprecated. Use moment.locale instead.",ce),p.langData=n("moment.langData is deprecated. Use moment.localeData instead.",fe);var vn=Math.abs;function wn(t,e,n,i){n=Ve(e,n);return t._milliseconds+=i*n._milliseconds,t._days+=i*n._days,t._months+=i*n._months,t._bubble()}function _n(t){return t<0?Math.floor(t):Math.ceil(t)}function bn(t){return 4800*t/146097}function xn(t){return 146097*t/4800}function En(t){return function(){return this.as(t)}}ot=En("ms"),Q=En("s"),X=En("m"),q=En("h"),it=En("d"),J=En("w"),Je=En("M"),ke=En("Q"),De=En("y");function Tn(t){return function(){return this.isValid()?this._data[t]:NaN}}ct=Tn("milliseconds"),ne=Tn("seconds"),St=Tn("minutes"),Vt=Tn("hours"),Zt=Tn("days"),nt=Tn("months"),Ft=Tn("years");var Cn=Math.round,Mn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function An(t,e,n,i){var r=Ve(t).abs(),o=Cn(r.as("s")),a=Cn(r.as("m")),s=Cn(r.as("h")),l=Cn(r.as("d")),u=Cn(r.as("M")),c=Cn(r.as("w")),r=Cn(r.as("y")),l=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return(l=(l=null!=n.w?l||c<=1&&["w"]||c<n.w&&["ww",c]:l)||u<=1&&["M"]||u<n.M&&["MM",u]||r<=1&&["y"]||["yy",r])[2]=e,l[3]=0<+t,l[4]=i,function(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}.apply(null,l)}var Ln=Math.abs;function Sn(t){return(0<t)-(t<0)||+t}function In(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i,r,o,a,s=Ln(this._milliseconds)/1e3,l=Ln(this._days),u=Ln(this._months),c=this.asSeconds();return c?(t=B(s/60),e=B(t/60),s%=60,t%=60,n=B(u/12),u%=12,i=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=Sn(this._months)!==Sn(c)?"-":"",o=Sn(this._days)!==Sn(c)?"-":"",a=Sn(this._milliseconds)!==Sn(c)?"-":"",(c<0?"-":"")+"P"+(n?r+n+"Y":"")+(u?r+u+"M":"")+(l?o+l+"D":"")+(e||t||s?"T":"")+(e?a+e+"H":"")+(t?a+t+"M":"")+(s?a+i+"S":"")):"P0D"}K=Oe.prototype;return K.isValid=function(){return this._isValid},K.abs=function(){var t=this._data;return this._milliseconds=vn(this._milliseconds),this._days=vn(this._days),this._months=vn(this._months),t.milliseconds=vn(t.milliseconds),t.seconds=vn(t.seconds),t.minutes=vn(t.minutes),t.hours=vn(t.hours),t.months=vn(t.months),t.years=vn(t.years),this},K.add=function(t,e){return wn(this,t,e,1)},K.subtract=function(t,e){return wn(this,t,e,-1)},K.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=U(t))||"quarter"===t||"year"===t)switch(e=this._days+i/864e5,n=this._months+bn(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(xn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},K.asMilliseconds=ot,K.asSeconds=Q,K.asMinutes=X,K.asHours=q,K.asDays=it,K.asWeeks=J,K.asMonths=Je,K.asQuarters=ke,K.asYears=De,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 t=this._milliseconds,e=this._days,n=this._months,i=this._data;return 0<=t&&0<=e&&0<=n||t<=0&&e<=0&&n<=0||(t+=864e5*_n(xn(n)+e),n=e=0),i.milliseconds=t%1e3,t=B(t/1e3),i.seconds=t%60,t=B(t/60),i.minutes=t%60,t=B(t/60),i.hours=t%24,e+=B(t/24),n+=t=B(bn(e)),e-=_n(xn(t)),t=B(n/12),n%=12,i.days=e,i.months=n,i.years=t,this},K.clone=function(){return Ve(this)},K.get=function(t){return t=U(t),this.isValid()?this[t+"s"]():NaN},K.milliseconds=ct,K.seconds=ne,K.minutes=St,K.hours=Vt,K.days=Zt,K.weeks=function(){return B(this.days()/7)},K.months=nt,K.years=Ft,K.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var n=!1,i=Mn;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(n=t),"object"==typeof e&&(i=Object.assign({},Mn,e),null!=e.s&&null==e.ss&&(i.ss=e.s-1)),i=An(this,!n,i,e=this.localeData()),n&&(i=e.pastFuture(+this,i)),e.postformat(i)},K.toISOString=In,K.toString=In,K.toJSON=In,K.locale=en,K.localeData=nn,K.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",In),K.lang=et,N("X",0,0,"unix"),N("x",0,0,"valueOf"),dt("x",st),dt("X",/[+-]?\d+(\.\d{1,3})?/),yt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t))}),yt("x",function(t,e,n){n._d=new Date(H(t))}),p.version="2.29.1",t=Ie,p.fn=rt,p.min=function(){return Pe("isBefore",[].slice.call(arguments,0))},p.max=function(){return Pe("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=d,p.unix=function(t){return Ie(1e3*t)},p.months=function(t,e){return yn(t,e,"months")},p.isDate=r,p.locale=ce,p.invalid=y,p.duration=Ve,p.isMoment=b,p.weekdays=function(t,e,n){return gn(t,e,n,"weekdays")},p.parseZone=function(){return Ie.apply(null,arguments).parseZone()},p.localeData=fe,p.isDuration=Re,p.monthsShort=function(t,e){return yn(t,e,"monthsShort")},p.weekdaysMin=function(t,e,n){return gn(t,e,n,"weekdaysMin")},p.defineLocale=de,p.updateLocale=function(t,e){var n,i;return null!=e?(i=re,null!=oe[t]&&null!=oe[t].parentLocale?oe[t].set(M(oe[t]._config,e)):(e=M(i=null!=(n=ue(t))?n._config:i,e),null==n&&(e.abbr=t),(e=new A(e)).parentLocale=oe[t],oe[t]=e),ce(t)):null!=oe[t]&&(null!=oe[t].parentLocale?(oe[t]=oe[t].parentLocale,t===ce()&&ce(t)):null!=oe[t]&&delete oe[t]),oe[t]},p.locales=function(){return L(oe)},p.weekdaysShort=function(t,e,n){return gn(t,e,n,"weekdaysShort")},p.normalizeUnits=U,p.relativeTimeRounding=function(t){return void 0===t?Cn:"function"==typeof t&&(Cn=t,!0)},p.relativeTimeThreshold=function(t,e){return void 0!==Mn[t]&&(void 0===e?Mn[t]:(Mn[t]=e,"s"===t&&(Mn.ss=e-1),!0))},p.calendarFormat=function(t,e){return(e=t.diff(e,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},p.prototype=rt,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}(),Yi.exports);function Gi(t,{delay:e=0,duration:n=400,easing:i=m}={}){const r=+getComputedStyle(t).opacity;return{delay:e,duration:n,easing:i,css:t=>"opacity: "+t*r}}function Wi(n){let i,e,r;return{c(){i=K("div"),i.innerHTML='<div class="ModalContainer" part="ModalContainer"><slot></slot></div>',it(i,"class","ModalWindow"),it(i,"part","ModalWindow"),it(i,"id","Modal")},m(t,e){q(t,i,e),n[3](i),r=!0},p(t,e){n=t},i(t){r||(D(()=>{e=e||j(i,Gi,{transitionDuration:n[1]},!0),e.run(1)}),r=!0)},o(t){e=e||j(i,Gi,{transitionDuration:n[1]},!1),e.run(0),r=!1},d(t){t&&J(i),n[3](null),t&&e&&e.end()}}}function $i(t){let n,i,r=t[0]&&Wi(t);return{c(){n=K("div"),r&&r.c(),this.c=z},m(t,e){q(t,n,e),r&&r.m(n,null),i=!0},p(t,[e]){t[0]?r?(r.p(t,e),1&e&&R(r,1)):(r=Wi(t),r.c(),R(r,1),r.m(n,null)):r&&(O={r:0,c:[],p:O},Y(r,1,1,()=>{r=null}),O.r||Z(O.c),O=O.p)},i(t){i||(R(r),i=!0)},o(t){Y(r),i=!1},d(t){t&&J(n),r&&r.d()}}}function ji(t,e,n){let i,{show:r=!1}=e,{duration:o=350}=e;const a=t=>{"ModalClosed"==t.data.type&&n(0,r=!1),"ShowLimitsConfirmationModal"===t.data.type&&(n(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href))};return W(()=>(window.addEventListener("message",a,!1),()=>{window.removeEventListener("message",a)})),t.$$set=t=>{"show"in t&&n(0,r=t.show),"duration"in t&&n(1,o=t.duration)},[r,o,void 0,function(t){s[t?"unshift":"push"](()=>{i=t,n(2,i)})}]}customElements.get("player-account-modal")||customElements.define("player-account-modal",class extends H{constructor(t){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:10;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},ji,$i,n,{show:0,duration:1}),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["show","duration"]}get show(){return this.$$.ctx[0]}set show(t){this.$set({show:t}),k()}get duration(){return this.$$.ctx[1]}set duration(t){this.$set({duration:t}),k()}});const Bi={en:{modalText:{cancel:"Cancel",confirm:"Confirm"}},ro:{modalText:{cancel:"Anulează",confirm:"Confirmă"}}};function Hi(n){let i,r,o,a,s,l,u,c,d,f,h,p,m,y,g=n[1]("modalText.cancel")+"",v=n[1]("modalText.confirm")+"",w=!n[2]&&function(n){let i,r,o;return{c(){i=K("span"),i.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>',it(i,"class","ModalCloseBtn"),it(i,"part","ModalCloseBtn"),it(i,"role","button")},m(t,e){q(t,i,e),r||(o=et(i,"click",n[3]),r=!0)},p:z,d(t){t&&J(i),r=!1,o()}}}(n);return{c(){i=K("div"),w&&w.c(),r=tt(),o=K("div"),a=K("div"),s=Q(n[0]),l=tt(),u=K("div"),c=K("button"),d=Q(g),f=tt(),h=K("button"),p=Q(v),this.c=z,it(a,"class","GamingLimitsConfirmationContent"),it(a,"part","GamingLimitsConfirmationContent"),it(c,"class","GamingLimitsCancelButton"),it(c,"part","GamingLimitsCancelButton"),it(h,"class","GamingLimitsConfirmButton"),it(h,"part","GamingLimitsConfirmButton"),it(u,"class","GamingLimitsConfirmationControlArea"),it(u,"part","GamingLimitsConfirmationControlArea"),it(o,"class","GamingLimitsConfirmationContainer "+(n[2]?"GamingLimitsConfirmationContainerMobile":"")),it(o,"part","GamingLimitsConfirmationContainer "+(n[2]?"GamingLimitsConfirmationContainerMobile":"")),it(i,"class","GamingLimitsConfirmationWrapper "+(n[2]?"GamingLimitsConfirmationMobileWrapper":"")),it(i,"part","GamingLimitsConfirmationWrapper "+(n[2]?"GamingLimitsConfirmationMobileWrapper":""))},m(t,e){q(t,i,e),w&&w.m(i,null),X(i,r),X(i,o),X(o,a),X(a,s),X(o,l),X(o,u),X(u,c),X(c,d),X(u,f),X(u,h),X(h,p),m||(y=[et(c,"click",n[5]),et(h,"click",n[4])],m=!0)},p(t,[e]){t[2]||w.p(t,e),1&e&&ot(s,t[0]),2&e&&g!==(g=t[1]("modalText.cancel")+"")&&ot(d,g),2&e&&v!==(v=t[1]("modalText.confirm")+"")&&ot(p,v)},i:z,o:z,d(t){t&&J(i),w&&w.d(),m=!1,Z(y)}}}function Vi(e,t,n){let i;F(e,Ai,t=>n(1,i=t));let{modaltext:r="Are you sure that you want to perform this action?"}=t,{modalsource:o=""}=t,{lang:a="en"}=t;Object.keys(Bi).forEach(t=>{si(t,Bi[t])});let s=window.navigator.userAgent,l="PC"!==Li(s),u={},c="";const d=t=>{t.data&&"DeleteLimitsItem"===t.data.type&&(u=t.data.removeData,t=t.data.removeName,c="Time Limit"===t?"cumulativeSessionLimits":"Deposit Limit"===t?"depositLimits":"Wagering Limit"===t?"wageringLimit":"lossLimit")};W(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)}));return e.$$set=t=>{"modaltext"in t&&n(0,r=t.modaltext),"modalsource"in t&&n(6,o=t.modalsource),"lang"in t&&n(7,a=t.lang)},e.$$.update=()=>{var t;193&e.$$.dirty&&r&&o&&a&&(t=a,gi.set(t))},[r,i,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 zi(t,e,n){const i=t.slice();return i[54]=e[n],i[55]=e,i[50]=n,i}function Zi(t,e,n){const i=t.slice();return i[48]=e[n],i}function Xi(t,e,n){const i=t.slice();return i[48]=e[n],i}function qi(t,e,n){const i=t.slice();return i[48]=e[n],i[49]=e,i[50]=n,i}function Ji(t,e,n){const i=t.slice();return i[51]=e[n],i}function Ki(t,e,n){const i=t.slice();return i[48]=e[n],i[50]=n,i}function Qi(t){let n,i,r,o=t[18]("editText.success")+"";return{c(){n=K("div"),i=K("p"),r=Q(o),it(n,"class","AccountEditLimitSuccessfulChangeContainer"),it(n,"part","AccountEditLimitSuccessfulChangeContainer")},m(t,e){q(t,n,e),X(n,i),X(i,r)},p(t,e){262144&e[0]&&o!==(o=t[18]("editText.success")+"")&&ot(r,o)},d(t){t&&J(n)}}}function tr(t){let n;function i(t){return t[11]?nr:er}let r=i(t),o=r(t);return{c(){n=K("div"),o.c(),it(n,"class","AccountEditLimitSuccessfulChangeContainer"),it(n,"part","AccountEditLimitSuccessfulChangeContainer")},m(t,e){q(t,n,e),o.m(n,null)},p(t,e){r===(r=i(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(n,null)))},d(t){t&&J(n),o.d()}}}function er(t){let n,i,r,o,a=t[18]("editText.remove")+"",s=(t[0].expiryDate?Ui(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=K("p"),i=Q(a),r=tt(),o=Q(s)},m(t,e){q(t,n,e),X(n,i),X(n,r),X(n,o)},p(t,e){262144&e[0]&&a!==(a=t[18]("editText.remove")+"")&&ot(i,a),1&e[0]&&s!==(s=(t[0].expiryDate?Ui(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(o,s)},d(t){t&&J(n)}}}function nr(e){let r,o=e[14],a=[];for(let t=0;t<o.length;t+=1)a[t]=rr(Ki(e,o,t));return{c(){for(let t=0;t<a.length;t+=1)a[t].c();r=_()},m(e,n){for(let t=0;t<a.length;t+=1)a[t].m(e,n);q(e,r,n)},p(e,n){if(409600&n[0]){let t;for(o=e[14],t=0;t<o.length;t+=1){var i=Ki(e,o,t);a[t]?a[t].p(i,n):(a[t]=rr(i),a[t].c(),a[t].m(r.parentNode,r))}for(;t<a.length;t+=1)a[t].d(1);a.length=o.length}},d(t){C(a,t),t&&J(r)}}}function ir(t){let n,i,r,o,a=t[18]("editText.remove")+"",s=(t[48].expiryDate?Ui(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=K("p"),i=Q(a),r=tt(),o=Q(s)},m(t,e){q(t,n,e),X(n,i),X(n,r),X(n,o)},p(t,e){262144&e[0]&&a!==(a=t[18]("editText.remove")+"")&&ot(i,a),16384&e[0]&&s!==(s=(t[48].expiryDate?Ui(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(o,s)},d(t){t&&J(n)}}}function rr(t){let n,i=t[48].period==t[17][t[50]].periodName&&ir(t);return{c(){i&&i.c(),n=_()},m(t,e){i&&i.m(t,e),q(t,n,e)},p(t,e){t[48].period==t[17][t[50]].periodName?i?i.p(t,e):(i=ir(t),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(t){i&&i.d(t),t&&J(n)}}}function or(t){let n;function i(t){return t[11]?sr:ar}let r=i(t),o=r(t);return{c(){n=K("div"),o.c(),it(n,"class","AccountEditContent"),it(n,"part","AccountEditContent")},m(t,e){q(t,n,e),o.m(n,null)},p(t,e){r===(r=i(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(n,null)))},d(t){t&&J(n),o.d()}}}function ar(r){let o,n,i,a,s,t,l,u,c,d=r[22],f=[];for(let t=0;t<d.length;t+=1)f[t]=lr(Xi(r,d,t));let h=r[17],p=[];for(let t=0;t<h.length;t+=1)p[t]=pr(zi(r,h,t));return{c(){o=K("div"),n=K("div"),i=K("p"),i.textContent="Limit",a=tt(),s=K("select");for(let t=0;t<f.length;t+=1)f[t].c();l=tt();for(let t=0;t<p.length;t+=1)p[t].c();it(i,"class","AccountEditLimitsTitle"),it(i,"part","AccountEditLimitsTitle"),it(s,"class","AccountEditField "+(r[19]?"TimeoutSelectMobile":"")),it(s,"part","AccountEditField "+(r[19]?"TimeoutSelectMobile":"")),s.disabled=t=!0===r[14].isModified,void 0===r[14].period&&D(()=>r[30].call(s)),it(n,"class","AccountEditLimitsSplitSection"),it(n,"part","AccountEditLimitsSplitSection"),it(o,"class","AccountEditLimitsContainer"),it(o,"part","AccountEditLimitsContainer")},m(t,e){q(t,o,e),X(o,n),X(n,i),X(n,a),X(n,s);for(let t=0;t<f.length;t+=1)f[t].m(s,null);M(s,r[14].period),X(o,l);for(let t=0;t<p.length;t+=1)p[t].m(o,null);u||(c=[et(s,"change",r[30]),et(s,"change",function(){T(r[26](r[14],0,!1,r[16]))&&r[26](r[14],0,!1,r[16]).apply(this,arguments)})],u=!0)},p(e,n){if(r=e,4194304&n[0]){let t;for(d=r[22],t=0;t<d.length;t+=1){const e=Xi(r,d,t);f[t]?f[t].p(e,n):(f[t]=lr(e),f[t].c(),f[t].m(s,null))}for(;t<f.length;t+=1)f[t].d(1);f.length=d.length}if(4210688&n[0]&&t!==(t=!0===r[14].isModified)&&(s.disabled=t),4210688&n[0]&&M(s,r[14].period),70213649&n[0]){let t;for(h=r[17],t=0;t<h.length;t+=1){var i=zi(r,h,t);p[t]?p[t].p(i,n):(p[t]=pr(i),p[t].c(),p[t].m(o,null))}for(;t<p.length;t+=1)p[t].d(1);p.length=h.length}},d(t){t&&J(o),C(f,t),C(p,t),u=!1,Z(c)}}}function sr(e){let r,o=e[14],a=[];for(let t=0;t<o.length;t+=1)a[t]=Er(qi(e,o,t));return{c(){r=K("div");for(let t=0;t<a.length;t+=1)a[t].c();it(r,"class","AccountEditLimitsContainer"),it(r,"part","AccountEditLimitsContainer")},m(t,e){q(t,r,e);for(let t=0;t<a.length;t+=1)a[t].m(r,null)},p(e,n){if(69161752&n[0]){let t;for(o=e[14],t=0;t<o.length;t+=1){var i=qi(e,o,t);a[t]?a[t].p(i,n):(a[t]=Er(i),a[t].c(),a[t].m(r,null))}for(;t<a.length;t+=1)a[t].d(1);a.length=o.length}},d(t){t&&J(r),C(a,t)}}}function lr(t){let n,i,e=t[48]+"";return{c(){n=K("option"),i=Q(e),n.__value=t[48],n.value=n.__value},m(t,e){q(t,n,e),X(n,i)},p:z,d(t){t&&J(n)}}}function ur(n){let i,r,o,a,s,l,u,c,d,f,h,p,m,y,g=n[18]("editText.amount")+"",v=n[18]("editText.noLimit")+"",w=n[21],_=[];for(let t=0;t<w.length;t+=1)_[t]=cr(Zi(n,w,t));function b(){n[31].call(s,n[55],n[50])}let x="Custom"===n[54].amount&&dr(n),E=!0===n[14].isModified&&hr(n);return{c(){i=K("div"),r=K("p"),o=Q(g),a=tt(),s=K("select"),l=K("option"),u=Q(v);for(let t=0;t<_.length;t+=1)_[t].c();d=tt(),f=K("div"),x&&x.c(),h=tt(),E&&E.c(),p=tt(),it(r,"class","AccountEditLimitsTitle"),it(r,"part","AccountEditLimitsTitle"),l.__value="",l.value=l.__value,l.disabled=!0,l.selected=!0,l.hidden=!0,it(s,"class","AccountEditField "+(n[19]?"TimeoutSelectMobile":"")),it(s,"part","AccountEditField "+(n[19]?"TimeoutSelectMobile":"")),s.disabled=c=!0===n[14].isModified,void 0===n[54].amount&&D(b),it(f,"class","AccountEditLimitsInputContainer"),it(f,"part","AccountEditLimitsInputContainer"),it(i,"class","AccountEditLimitsSplitSection"),it(i,"part","AccountEditField "+(n[19]?"TimeoutSelectMobile":""))},m(t,e){q(t,i,e),X(i,r),X(r,o),X(i,a),X(i,s),X(s,l),X(l,u);for(let t=0;t<_.length;t+=1)_[t].m(s,null);M(s,n[54].amount),X(i,d),X(i,f),x&&x.m(f,null),X(f,h),E&&E.m(f,null),X(i,p),m||(y=[et(s,"change",b),et(s,"change",function(){T(n[26](n[54],0,!1,n[16]))&&n[26](n[54],0,!1,n[16]).apply(this,arguments)})],m=!0)},p(t,e){if(n=t,262144&e[0]&&g!==(g=n[18]("editText.amount")+"")&&ot(o,g),262144&e[0]&&v!==(v=n[18]("editText.noLimit")+"")&&ot(u,v),2097168&e[0]){let t;for(w=n[21],t=0;t<w.length;t+=1){const o=Zi(n,w,t);_[t]?_[t].p(o,e):(_[t]=cr(o),_[t].c(),_[t].m(s,null))}for(;t<_.length;t+=1)_[t].d(1);_.length=w.length}4210688&e[0]&&c!==(c=!0===n[14].isModified)&&(s.disabled=c),2228224&e[0]&&M(s,n[54].amount),"Custom"===n[54].amount?x?x.p(n,e):(x=dr(n),x.c(),x.m(f,h)):x&&(x.d(1),x=null),!0===n[14].isModified?E?E.p(n,e):(E=hr(n),E.c(),E.m(f,null)):E&&(E.d(1),E=null)},d(t){t&&J(i),C(_,t),x&&x.d(),E&&E.d(),m=!1,Z(y)}}}function cr(t){let n,i,r,e=t[48]+"",o="No limit"!==t[48]&&"Custom"!==t[48]&&function(t){let n;return{c(){n=Q(t[4])},m(t,e){q(t,n,e)},p(t,e){16&e[0]&&ot(n,t[4])},d(t){t&&J(n)}}}(t);return{c(){n=K("option"),i=Q(e),r=tt(),o&&o.c(),n.__value=t[48],n.value=n.__value},m(t,e){q(t,n,e),X(n,i),X(n,r),o&&o.m(n,null)},p(t,e){"No limit"!==t[48]&&"Custom"!==t[48]&&o.p(t,e)},d(t){t&&J(n),o&&o.d()}}}function dr(n){let i,r,o,a,s,l;function u(){n[32].call(i,n[55],n[50])}let c=!0===n[13]&&fr(n);return{c(){i=K("input"),o=tt(),c&&c.c(),a=_(),it(i,"type","number"),it(i,"class","AccountEditField AccountEditFieldCustom"),it(i,"part","AccountEditField AccountEditFieldCustom"),i.disabled=r=!0===n[14].isModified},m(t,e){q(t,i,e),h(i,n[54].value),q(t,o,e),c&&c.m(t,e),q(t,a,e),s||(l=[et(i,"keyup",function(){T(n[26](n[54],0,!1,n[16]))&&n[26](n[54],0,!1,n[16]).apply(this,arguments)}),et(i,"input",u)],s=!0)},p(t,e){n=t,4210688&e[0]&&r!==(r=!0===n[14].isModified)&&(i.disabled=r),2228224&e[0]&&U(i.value)!==n[54].value&&h(i,n[54].value),!0===n[13]?c?c.p(n,e):(c=fr(n),c.c(),c.m(a.parentNode,a)):c&&(c.d(1),c=null)},d(t){t&&J(i),t&&J(o),c&&c.d(t),t&&J(a),s=!1,Z(l)}}}function fr(t){let n,i,r,o=t[18]("editText.invalidInputMessageLimit")+"";return{c(){n=K("p"),i=K("span"),r=Q(o),it(i,"class","InvalidInput InvalidSingleRow"),it(i,"part","InvalidInput InvalidSingleRow"),it(n,"class","AccountEditWarningText"),it(n,"part","AccountEditWarningText")},m(t,e){q(t,n,e),X(n,i),X(i,r)},p(t,e){262144&e[0]&&o!==(o=t[18]("editText.invalidInputMessageLimit")+"")&&ot(r,o)},d(t){t&&J(n)}}}function hr(t){let n,i,r,o,a,s,l,u,c,d,f,h,p,m,y,g,v=t[18]("editText.expirationDate")+"",w=(t[0].expiryDate?Ui(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",_=t[18]("editText.changedLimitTextBefore")+"",b=(0<t[0].updateAmount?t[0].updateAmount:0)+"",x=t[18]("editText.changedLimitTextAfter")+"";return{c(){n=K("p"),i=Q(v),r=tt(),o=K("span"),a=Q(w),s=tt(),l=K("div"),u=K("p"),c=K("span"),c.textContent="i",d=K("span"),f=Q(_),h=tt(),p=Q(b),m=tt(),y=Q(t[4]),g=Q(x),it(n,"class","AccountEditLimitsExpiryDate"),it(n,"part","AccountEditLimitsExpiryDate"),it(c,"class","AccountEditLimitChangePeriodIcon"),it(c,"part","AccountEditLimitChangePeriodIcon"),it(l,"class","AccountEditLimitsPeriodChangeContainer"),it(l,"part","AccountEditLimitsPeriodChangeContainer")},m(t,e){q(t,n,e),X(n,i),X(n,r),X(n,o),X(o,a),q(t,s,e),q(t,l,e),X(l,u),X(u,c),X(u,d),X(d,f),X(d,h),X(d,p),X(d,m),X(d,y),X(d,g)},p(t,e){262144&e[0]&&v!==(v=t[18]("editText.expirationDate")+"")&&ot(i,v),1&e[0]&&w!==(w=(t[0].expiryDate?Ui(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(a,w),262144&e[0]&&_!==(_=t[18]("editText.changedLimitTextBefore")+"")&&ot(f,_),1&e[0]&&b!==(b=(0<t[0].updateAmount?t[0].updateAmount:0)+"")&&ot(p,b),16&e[0]&&ot(y,t[4]),262144&e[0]&&x!==(x=t[18]("editText.changedLimitTextAfter")+"")&&ot(g,x)},d(t){t&&J(n),t&&J(s),t&&J(l)}}}function pr(t){let n,i=t[14].period===t[54].periodName&&ur(t);return{c(){i&&i.c(),n=_()},m(t,e){i&&i.m(t,e),q(t,n,e)},p(t,e){t[14].period===t[54].periodName?i?i.p(t,e):(i=ur(t),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(t){i&&i.d(t),t&&J(n)}}}function mr(n){let i,r,o,a,s,l,u,c,d,f=n[18]("editText.noLimit")+"",h=n[20][n[50]].values,p=[];for(let t=0;t<h.length;t+=1)p[t]=yr(Ji(n,h,t));function m(){n[27].call(i,n[50])}let y="Custom"===n[17][n[50]].amount&&gr(n),g=!0===n[48].isModified&&xr(n);return{c(){i=K("select"),r=K("option"),o=Q(f);for(let t=0;t<p.length;t+=1)p[t].c();s=tt(),y&&y.c(),l=tt(),g&&g.c(),u=_(),r.__value="",r.value=r.__value,r.disabled=!0,r.selected=!0,r.hidden=!0,it(i,"class","AccountEditField "+(n[19]?"TimeoutSelectMobile":"")),it(i,"part","AccountEditField "+(n[19]?"TimeoutSelectMobile":"")),i.disabled=a=!0===n[48].isModified,void 0===n[17][n[50]].amount&&D(m)},m(t,e){q(t,i,e),X(i,r),X(r,o);for(let t=0;t<p.length;t+=1)p[t].m(i,null);M(i,n[17][n[50]].amount),q(t,s,e),y&&y.m(t,e),q(t,l,e),g&&g.m(t,e),q(t,u,e),c||(d=[et(i,"change",m),et(i,"change",function(){T(n[26](n[17][n[50]],n[50],!1,n[16]))&&n[26](n[17][n[50]],n[50],!1,n[16]).apply(this,arguments)})],c=!0)},p(t,e){if(n=t,262144&e[0]&&f!==(f=n[18]("editText.noLimit")+"")&&ot(o,f),1048600&e[0]){let t;for(h=n[20][n[50]].values,t=0;t<h.length;t+=1){const o=Ji(n,h,t);p[t]?p[t].p(o,e):(p[t]=yr(o),p[t].c(),p[t].m(i,null))}for(;t<p.length;t+=1)p[t].d(1);p.length=h.length}4210688&e[0]&&a!==(a=!0===n[48].isModified)&&(i.disabled=a),2228224&e[0]&&M(i,n[17][n[50]].amount),"Custom"===n[17][n[50]].amount?y?y.p(n,e):(y=gr(n),y.c(),y.m(l.parentNode,l)):y&&(y.d(1),y=null),!0===n[48].isModified?g?g.p(n,e):(g=xr(n),g.c(),g.m(u.parentNode,u)):g&&(g.d(1),g=null)},d(t){t&&J(i),C(p,t),t&&J(s),y&&y.d(t),t&&J(l),g&&g.d(t),t&&J(u),c=!1,Z(d)}}}function yr(t){let n,i,r,e=t[51]+"",o="No limit"!==t[51]&&"Custom"!==t[51]&&function(){let n,i=("Time Limit"!==t[3]?t[4]:" minutes")+"";return{c(){n=Q(i)},m(t,e){q(t,n,e)},p(t,e){24&e[0]&&i!==(i=("Time Limit"!==t[3]?t[4]:" minutes")+"")&&ot(n,i)},d(t){t&&J(n)}}}();return{c(){n=K("option"),i=Q(e),r=tt(),o&&o.c(),n.__value=t[51],n.value=n.__value},m(t,e){q(t,n,e),X(n,i),X(n,r),o&&o.m(n,null)},p(t,e){"No limit"!==t[51]&&"Custom"!==t[51]&&o.p(t,e)},d(t){t&&J(n),o&&o.d()}}}function gr(t){let n;function i(t){return"Deposit Limit"===t[3]?wr:vr}let r=i(t),o=r(t);return{c(){o.c(),n=_()},m(t,e){o.m(t,e),q(t,n,e)},p(t,e){r===(r=i(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(n.parentNode,n)))},d(t){o.d(t),t&&J(n)}}}function vr(n){let i,r,o,a,s,l;function u(){n[29].call(i,n[50])}let c=1==n[12][n[50]]&&_r(n);return{c(){i=K("input"),o=tt(),a=K("p"),c&&c.c(),it(i,"type","number"),it(i,"class","AccountEditField"),it(i,"part","AccountEditField"),i.disabled=r=!0===n[48].isModified,it(a,"class","AccountEditWarningText"),it(a,"part","AccountEditWarningText")},m(t,e){q(t,i,e),h(i,n[17][n[50]].value),q(t,o,e),q(t,a,e),c&&c.m(a,null),s||(l=[et(i,"keyup",function(){T(n[26](n[17][n[50]],n[50],!0,n[16]))&&n[26](n[17][n[50]],n[50],!0,n[16]).apply(this,arguments)}),et(i,"input",u)],s=!0)},p(t,e){n=t,4210688&e[0]&&r!==(r=!0===n[48].isModified)&&(i.disabled=r),2228224&e[0]&&U(i.value)!==n[17][n[50]].value&&h(i,n[17][n[50]].value),1==n[12][n[50]]?c?c.p(n,e):(c=_r(n),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(t){t&&J(i),t&&J(o),t&&J(a),c&&c.d(),s=!1,Z(l)}}}function wr(n){let i,r,o,a,s,l;function u(){n[28].call(i,n[50])}let c=1==n[12][n[50]]&&br(n);return{c(){i=K("input"),o=tt(),a=K("p"),c&&c.c(),it(i,"type","number"),it(i,"class","AccountEditField"),it(i,"part","AccountEditField"),i.disabled=r=!0===n[48].isModified,it(a,"class","AccountEditWarningText"),it(a,"part","AccountEditWarningText")},m(t,e){q(t,i,e),h(i,n[17][n[50]].value),q(t,o,e),q(t,a,e),c&&c.m(a,null),s||(l=[et(i,"keyup",function(){T(n[26](n[17][n[50]],n[50],!1,n[16]))&&n[26](n[17][n[50]],n[50],!1,n[16]).apply(this,arguments)}),et(i,"input",u)],s=!0)},p(t,e){n=t,4210688&e[0]&&r!==(r=!0===n[48].isModified)&&(i.disabled=r),2228224&e[0]&&U(i.value)!==n[17][n[50]].value&&h(i,n[17][n[50]].value),1==n[12][n[50]]?c?c.p(n,e):(c=br(n),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(t){t&&J(i),t&&J(o),t&&J(a),c&&c.d(),s=!1,Z(l)}}}function _r(t){let n,i,r=t[18]("editText.invalidInputMessageTime",{values:{minTime:t[8],maxTime:t[9]}})+"";return{c(){n=K("p"),i=Q(r),it(n,"class","InvalidInput"),it(n,"part","InvalidInput")},m(t,e){q(t,n,e),X(n,i)},p(t,e){262912&e[0]&&r!==(r=t[18]("editText.invalidInputMessageTime",{values:{minTime:t[8],maxTime:t[9]}})+"")&&ot(i,r)},d(t){t&&J(n)}}}function br(t){let n,i,r=t[18]("editText.invalidInputMessageLimit")+"";return{c(){n=K("p"),i=Q(r),it(n,"class","InvalidInput"),it(n,"part","InvalidInput")},m(t,e){q(t,n,e),X(n,i)},p(t,e){262144&e[0]&&r!==(r=t[18]("editText.invalidInputMessageLimit")+"")&&ot(i,r)},d(t){t&&J(n)}}}function xr(t){let n,i,r,o,a,s,l,u,c,d,f,h,p,m,y,g,v=t[18]("editText.expirationDate")+"",w=(t[48].expiryDate?Ui(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",_=t[18]("editText.changedLimitTextBefore")+"",b=(0<t[48].updateAmount?t[48].updateAmount:0)+"",x=(void 0!==t[48].minutes?" minutes":t[4])+"",E=t[18]("editText.changedLimitTextAfter")+"";return{c(){n=K("p"),i=Q(v),r=tt(),o=K("span"),a=Q(w),s=tt(),l=K("div"),u=K("p"),c=K("span"),c.textContent="i",d=K("span"),f=Q(_),h=tt(),p=Q(b),m=tt(),y=Q(x),g=Q(E),it(n,"class","AccountEditLimitsExpiryDate"),it(n,"part","AccountEditLimitsExpiryDate"),it(c,"class","AccountEditLimitChangePeriodIcon"),it(c,"part","AccountEditLimitChangePeriodIcon"),it(l,"class","AccountEditLimitsPeriodChangeContainer"),it(l,"part","AccountEditLimitsPeriodChangeContainer")},m(t,e){q(t,n,e),X(n,i),X(n,r),X(n,o),X(o,a),q(t,s,e),q(t,l,e),X(l,u),X(u,c),X(u,d),X(d,f),X(d,h),X(d,p),X(d,m),X(d,y),X(d,g)},p(t,e){262144&e[0]&&v!==(v=t[18]("editText.expirationDate")+"")&&ot(i,v),16384&e[0]&&w!==(w=(t[48].expiryDate?Ui(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(a,w),262144&e[0]&&_!==(_=t[18]("editText.changedLimitTextBefore")+"")&&ot(f,_),16384&e[0]&&b!==(b=(0<t[48].updateAmount?t[48].updateAmount:0)+"")&&ot(p,b),16400&e[0]&&x!==(x=(void 0!==t[48].minutes?" minutes":t[4])+"")&&ot(y,x),262144&e[0]&&E!==(E=t[18]("editText.changedLimitTextAfter")+"")&&ot(g,E)},d(t){t&&J(n),t&&J(s),t&&J(l)}}}function Er(t){let n,i,r,o,a,s=t[48].period+"",l=t[48].period==t[17][t[50]].periodName&&mr(t);return{c(){n=K("div"),i=K("p"),r=Q(s),o=tt(),l&&l.c(),a=tt(),it(i,"class","AccountEditLimitsTitle"),it(i,"part","AccountEditLimitsTitle"),it(n,"class","AccountEditLimitsBox"),it(n,"part","AccountEditLimitsBox")},m(t,e){q(t,n,e),X(n,i),X(i,r),X(n,o),l&&l.m(n,null),X(n,a)},p(t,e){16384&e[0]&&s!==(s=t[48].period+"")&&ot(r,s),t[48].period==t[17][t[50]].periodName?l?l.p(t,e):(l=mr(t),l.c(),l.m(n,a)):l&&(l.d(1),l=null)},d(t){t&&J(n),l&&l.d()}}}function Tr(n){let i,r,o,a,s,l,u,c,d,f,h,p,m,y,g,v,w,_,b,x,E,T,C,M,A,L,S,I,D,k,P,N,O,R,Y,F,U,G=n[18]("editText.back")+"",W=(n[0]?n[3]:"")+"",$=n[18]("editText.save")+"",j=n[19]&&function(n){let i,r,o,a,s,l,u,c,d,f,h,p,m,y=n[18]("editText.back")+"";return{c(){i=K("div"),r=e("svg"),o=e("defs"),a=e("style"),s=Q(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=e("g"),u=e("g"),c=e("path"),d=tt(),f=K("h2"),h=Q(y),it(c,"class","aaa"),it(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),it(c,"transform","translate(15 15) rotate(180)"),it(u,"transform","translate(20 158)"),it(l,"transform","translate(-20 -158)"),it(r,"xmlns","http://www.w3.org/2000/svg"),it(r,"width","15"),it(r,"height","15"),it(r,"viewBox","0 0 15 15"),it(f,"class","MyAccountCategoryTitleMobile"),it(f,"part","MyAccountCategoryTitleMobile"),it(i,"class","MenuReturnButton"),it(i,"part","MenuReturnButton")},m(t,e){q(t,i,e),X(i,r),X(r,o),X(o,a),X(a,s),X(r,l),X(l,u),X(u,c),X(i,d),X(i,f),X(f,h),p||(m=et(i,"click",n[24]),p=!0)},p(t,e){262144&e[0]&&y!==(y=t[18]("editText.back")+"")&&ot(h,y)},d(t){t&&J(i),p=!1,m()}}}(n),B=n[1]&&Qi(n),H=n[2]&&tr(n),V=n[7]&&or(n);return{c(){i=K("div"),j&&j.c(),r=tt(),o=K("div"),a=e("svg"),s=e("defs"),l=e("style"),u=Q(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),c=e("g"),d=e("g"),f=e("path"),h=tt(),p=K("h2"),m=Q(G),y=tt(),g=K("div"),v=K("h6"),w=Q(W),_=tt(),b=K("div"),x=K("span"),x.textContent="i",E=tt(),T=K("player-account-gaming-limits-popup"),C=tt(),B&&B.c(),M=tt(),H&&H.c(),A=tt(),V&&V.c(),L=tt(),S=K("div"),I=K("button"),D=Q($),O=tt(),R=K("player-account-modal"),Y=K("player-account-gaming-limits-confirmation-modal"),this.c=z,it(f,"class","aaa"),it(f,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),it(f,"transform","translate(15 15) rotate(180)"),it(d,"transform","translate(20 158)"),it(c,"transform","translate(-20 -158)"),it(a,"xmlns","http://www.w3.org/2000/svg"),it(a,"width","15"),it(a,"height","15"),it(a,"viewBox","0 0 15 15"),it(p,"class","MyAccountCategoryTitle "+(n[19]?"MyAccountCategoryTitleNone":"")),it(p,"part","MyAccountCategoryTitle "+(n[19]?"MyAccountCategoryTitleNone":"")),it(o,"class","MenuReturnButton "+(n[19]?"MyAccountCategoryTitleNone":"")),it(o,"part","MenuReturnButton "+(n[19]?"MyAccountCategoryTitleNone":"")),it(x,"class","AccountEditLimitsIcon"),it(x,"part","AccountEditLimitsIcon"),rt(T,"showpopup",n[6]),rt(T,"lang",n[5]),it(b,"class","AccountEditLimitsIconWrapper"),it(b,"part","AccountEditLimitsIconWrapper"),it(g,"class","AccountEditLimitsHeader"),it(g,"part","AccountEditLimitsHeader"),it(I,"class",k="AccountEditLimitsSaveButton "+(n[15]?"":"AccountEditLimitsButtonDisabled")),it(I,"part",P="AccountEditLimitsSaveButton "+(n[15]?"":"AccountEditLimitsButtonDisabled")),I.disabled=N=!n[15],it(S,"class","AccountEditLimitsControlArea"),it(S,"part","AccountEditLimitsControlArea"),it(i,"class","AccountEditLimitsWrapper "+(n[19]?"AccountEditLimitsMobileWrapper":"")),rt(Y,"modaltext",n[10]),rt(Y,"modalsource","groupEdit"),rt(Y,"lang",n[5])},m(t,e){q(t,i,e),j&&j.m(i,null),X(i,r),X(i,o),X(o,a),X(a,s),X(s,l),X(l,u),X(a,c),X(c,d),X(d,f),X(o,h),X(o,p),X(p,m),X(i,y),X(i,g),X(g,v),X(v,w),X(g,_),X(g,b),X(b,x),X(b,E),X(b,T),X(i,C),B&&B.m(i,null),X(i,M),H&&H.m(i,null),X(i,A),V&&V.m(i,null),X(i,L),X(i,S),X(S,I),X(I,D),q(t,O,e),q(t,R,e),X(R,Y),F||(U=[et(o,"click",n[24]),et(x,"click",nt(n[23])),et(I,"click",n[33])],F=!0)},p(t,e){t[19]&&j.p(t,e),262144&e[0]&&G!==(G=t[18]("editText.back")+"")&&ot(m,G),9&e[0]&&W!==(W=(t[0]?t[3]:"")+"")&&ot(w,W),64&e[0]&&rt(T,"showpopup",t[6]),32&e[0]&&rt(T,"lang",t[5]),t[1]?B?B.p(t,e):(B=Qi(t),B.c(),B.m(i,M)):B&&(B.d(1),B=null),t[2]?H?H.p(t,e):(H=tr(t),H.c(),H.m(i,A)):H&&(H.d(1),H=null),t[7]?V?V.p(t,e):(V=or(t),V.c(),V.m(i,L)):V&&(V.d(1),V=null),262144&e[0]&&$!==($=t[18]("editText.save")+"")&&ot(D,$),32768&e[0]&&k!==(k="AccountEditLimitsSaveButton "+(t[15]?"":"AccountEditLimitsButtonDisabled"))&&it(I,"class",k),32768&e[0]&&P!==(P="AccountEditLimitsSaveButton "+(t[15]?"":"AccountEditLimitsButtonDisabled"))&&it(I,"part",P),32768&e[0]&&N!==(N=!t[15])&&(I.disabled=N),1024&e[0]&&rt(Y,"modaltext",t[10]),32&e[0]&&rt(Y,"lang",t[5])},i:z,o:z,d(t){t&&J(i),j&&j.d(),B&&B.d(),H&&H.d(),V&&V.d(),t&&J(O),t&&J(R),F=!1,Z(U)}}}function Cr(t,e,o){let n;F(t,Ai,t=>o(18,n=t));let{limitsdata:i=[]}=e,{showsuccessnotification:r=!1}=e,{showdeletenotification:a=!1}=e,{limitname:s=""}=e,{playercurrency:l=""}=e,{lang:u="en"}=e;Object.keys(Ri).forEach(t=>{si(t,Ri[t])});let c=!1,d=!0,f=!1,h=0,p=0,m="",y=window.navigator.userAgent,g="PC"!==Li(y),v=!1,w=new Array(3).fill(0),_=!1,b={},x=[],E=!1,T=[];const C={amount:/^[0-9]{0,7}$/,time:/^[1-9]\d*$/};let M=[{periodName:"Daily",amount:"No limit",value:0},{periodName:"Weekly",amount:"No limit",value:0},{periodName:"Monthly",amount:"No limit",value:0}],A=[{periodName:"Daily",values:["10000","20000","50000","Custom"]},{periodName:"Weekly",values:["10000","50000","100000","Custom"]},{periodName:"Monthly",values:["50000","100000","200000","Custom"]}],L=["50000","100000","200000","Custom"],S=["5000","50000","200000","Custom"],I=[{periodName:"Daily",values:["500","1000","1430","Custom"]},{periodName:"Weekly",values:["5000","7000","10000","Custom"]},{periodName:"Monthly",values:["20000","30000","43000","Custom"]}],D=["Daily","Weekly","Monthly"];const k=()=>{window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href)},P=(n,e)=>{if(v){let t=JSON.parse(JSON.stringify(e));M.forEach(e=>{t.forEach(t=>{e.periodName==n.periodName&&("Custom"!==e.amount&&"No limit"!==e.amount?e.value=JSON.parse(e.amount):"No limit"===e.amount&&(e.value=0)),t.period===e.periodName&&(t.amount=e.value)})})}else M.forEach(t=>{t.periodName===n.periodName&&("Custom"!==t.amount&&"No limit"!==t.amount?t.value=JSON.parse(t.amount):"No limit"===t.amount&&(t.value=0))})},N=(t,e,n,i)=>{let r=i?t.values:t;e.amount&&"No limit"!==e.amount?r.includes(JSON.stringify(e.amount))?n.forEach(t=>{t.periodName===e.period&&(t.amount=JSON.stringify(e.amount),t.value=e.amount)}):n.forEach(t=>{t.periodName===e.period&&(t.amount="Custom",t.value=e.amount)}):n.forEach(t=>{t.periodName===e.period&&(t.amount=e.amount,t.value=0)})},O=e=>{x.forEach(t=>{e.period===t.periodName&&("Time Limit"===s&&(o(8,h=60),"Daily"===e.periodName?o(9,p=1440):"Weekly"==e.periodName?o(9,p=10080):o(9,p=43200)),-1<t.values.indexOf(e.amount)&&("No limit"===e.amount?e.amount=0:e.amount=JSON.parse(e.amount)))})},R=()=>{var t=u;gi.set(t),t="Time Limit"===s?"time limit":"Deposit Limit"===s?"deposit limit":"Wagering Limit"===s?"wagering limit":"loss limit",o(10,m=n("editText.changeLimitsText",{values:{limit:t}})),o(11,v=Array.isArray(i)),o(16,T=JSON.parse(JSON.stringify(i))),o(14,b=JSON.parse(JSON.stringify(i))),x="Wagering Limit"===s?L:"Loss Limit"===s?S:"Deposit Limit"===s?A:"Time Limit"===s?I:[],v?(T.forEach(t=>{O(t)}),b.forEach(e=>{x.forEach(t=>{e.period===t.periodName&&N(t,e,M,!0)})})):(O(T),N(x,b,M,!1))},Y=t=>{if(t.data)switch(t.data.type){case"ClosePlayerAccountGamingLimitsPopup":o(6,c=!1);break;case"GamingLimitsConfirmChanges":f=!0,(()=>{if(f){if(v?"Time Limit"===s?M.forEach(e=>{b.forEach(t=>{t.period===e.periodName&&(t.minutes=e.value)})}):M.forEach(e=>{b.forEach(t=>{t.period===e.periodName&&(t.amount=e.value)})}):M.forEach(t=>{b.period===t.periodName&&o(14,b.amount=t.value,b)}),v){let e={};"Deposit Limit"===s?(e={depositLimits:[]},b.forEach(t=>{e.depositLimits.push(t)})):(e={cumulativeSessionLimits:[]},b.forEach(t=>{e.cumulativeSessionLimits.push(t)})),window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:e,limitsCategory:"Time Limit"===s?"cumulativeSessionLimits":"depositLimits"},window.location.href)}else window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:b,limitsCategory:"Wagering Limit"===s?"wageringLimit":"lossLimit"},window.location.href);o(15,E=!1)}})();break;case"CancelGamingLimitsChanges":o(7,d=!1),setTimeout(()=>{o(7,d=!0)},10),R(),o(15,E=!1),f=!1}};return W(()=>(window.addEventListener("message",Y,!1),()=>{window.removeEventListener("message",Y)})),t.$$set=t=>{"limitsdata"in t&&o(0,i=t.limitsdata),"showsuccessnotification"in t&&o(1,r=t.showsuccessnotification),"showdeletenotification"in t&&o(2,a=t.showdeletenotification),"limitname"in t&&o(3,s=t.limitname),"playercurrency"in t&&o(4,l=t.playercurrency),"lang"in t&&o(5,u=t.lang)},t.$$.update=()=>{6&t.$$.dirty[0]&&r&&a&&R(),33&t.$$.dirty[0]&&i&&u&&R()},[i,r,a,s,l,u,c,d,h,p,m,v,w,_,b,E,T,M,n,g,A,S,D,()=>{o(6,c=!0)},()=>{window.postMessage({type:"PlayerAccountBackToLimitsView"},window.location.href)},k,(t,e,n,i)=>{var r;v?"Custom"===t.amount?"Time Limit"==s?(o(8,h=60),"Daily"===t.periodName?o(9,p=1440):"Weekly"==t.periodName?o(9,p=10080):o(9,p=43200),t.value&&C.time.test(t.value)&&t.value>h&&t.value<=p?(o(12,w[e]=0,w),r=i[e],t.periodName==r.period&&t.value==r.amount?(o(15,E=!1),P(t,i)):o(15,E=!0)):(o(12,w[e]=1,w),o(15,E=!1))):t.value&&C.amount.test(t.value)?(o(12,w[e]=0,w),t.periodName==i[e].period&&t.value==i[e].amount?(o(15,E=!!E),P(t,i)):o(15,E=!0),M.forEach(t=>{0==t.value&&o(15,E=!1)})):(o(12,w[e]=1,w),o(15,E=!1)):(t.periodName==i[e].period?(P(t,i),o(15,E=t.value!=i[e].amount)):o(15,E=!0),M.forEach(t=>{0==t.value&&o(15,E=!1)})):b.period!=i.period?(o(15,E=!0),"Custom"==t.amount&&(t.value&&C.amount.test(t.value)?(o(13,_=!1),b.period==i.period&&t.value==i.amount?(o(15,E=!1),P(t,i)):o(15,E=!0)):(o(13,_=!0),o(15,E=!1)))):"Custom"===t.amount?t.value&&C.amount.test(t.value)?(o(13,_=!1),b.period==i.period&&t.value==i.amount?(o(15,E=!!E),P(t,i)):o(15,E=!0)):(o(13,_=!0),o(15,E=!1)):b.period==i.period?(P(t,i),o(15,E=t.value!=i.amount)):o(15,E=!0)},function(t){M[t].amount=G(this),o(17,M),o(21,S)},function(t){M[t].value=U(this.value),o(17,M),o(21,S)},function(t){M[t].value=U(this.value),o(17,M),o(21,S)},function(){b.period=G(this),o(14,b),o(22,D)},function(t,e){t[e].amount=G(this),o(17,M),o(21,S)},function(t,e){t[e].value=U(this.value),o(17,M),o(21,S)},()=>k()]}function Mr(t,e,n){const i=t.slice();return i[33]=e[n],i[35]=n,i}function Ar(t,e,n){const i=t.slice();return i[33]=e[n],i[35]=n,i}function Lr(t){let n,i,r,o,a,s,l,u,c,d,f,h,p,m,y,g,v,w=(t[0]?t[0].period:"")+"",_=(t[0]?t[0].amount:0)+"",b=(t[0]?t[0].currency:"")+"",x=t[11]("cardText.expirationDate")+"",E=(t[0]&&t[0].expiryDate?(Ui(t[0].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):Ui(t[0].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=K("div"),i=K("div"),r=K("div"),o=Q(w),a=tt(),s=K("div"),l=Q(_),u=tt(),c=K("span"),d=Q(b),f=tt(),h=K("div"),p=K("div"),m=Q(x),y=tt(),g=K("div"),v=Q(E),it(r,"class","InfoCardRowTitle"),it(r,"part","InfoCardRowTitle"),it(c,"class","InfoCardCurrency"),it(c,"part","InfoCardCurrency"),it(s,"class","InfoCardRowValue"),it(s,"part","InfoCardRowValue"),it(i,"class","InfoCardRow InfoMainRow"),it(i,"part","InfoCardRow InfoMainRow"),it(p,"class","InfoCardRowTitle"),it(p,"part","InfoCardRowTitle"),it(g,"class","InfoCardRowValue"),it(g,"part","InfoCardRowValue"),it(h,"class","InfoCardRow"),it(h,"part","InfoCardRow"),it(n,"class","InfoCardBox"),it(n,"part","InfoCardBox")},m(t,e){q(t,n,e),X(n,i),X(i,r),X(r,o),X(i,a),X(i,s),X(s,l),X(s,u),X(s,c),X(c,d),X(n,f),X(n,h),X(h,p),X(p,m),X(h,y),X(h,g),X(g,v)},p(t,e){1&e[0]&&w!==(w=(t[0]?t[0].period:"")+"")&&ot(o,w),1&e[0]&&_!==(_=(t[0]?t[0].amount:0)+"")&&ot(l,_),1&e[0]&&b!==(b=(t[0]?t[0].currency:"")+"")&&ot(d,b),2048&e[0]&&x!==(x=t[11]("cardText.expirationDate")+"")&&ot(m,x),1&e[0]&&E!==(E=(t[0]&&t[0].expiryDate?(Ui(t[0].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):Ui(t[0].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(v,E)},d(t){t&&J(n)}}}function Sr(t){let n;function i(t){return"Time Limit"===t[1]?Dr:Ir}let r=i(t),o=r(t);return{c(){o.c(),n=_()},m(t,e){o.m(t,e),q(t,n,e)},p(t,e){r===(r=i(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(n.parentNode,n)))},d(t){o.d(t),t&&J(n)}}}function Ir(e){let r,o=e[0],a=[];for(let t=0;t<o.length;t+=1)a[t]=Rr(Mr(e,o,t));return{c(){for(let t=0;t<a.length;t+=1)a[t].c();r=_()},m(e,n){for(let t=0;t<a.length;t+=1)a[t].m(e,n);q(e,r,n)},p(e,n){if(210975&n[0]){let t;for(o=e[0],t=0;t<o.length;t+=1){var i=Mr(e,o,t);a[t]?a[t].p(i,n):(a[t]=Rr(i),a[t].c(),a[t].m(r.parentNode,r))}for(;t<a.length;t+=1)a[t].d(1);a.length=o.length}},d(t){C(a,t),t&&J(r)}}}function Dr(e){let r,o=e[0],a=[];for(let t=0;t<o.length;t+=1)a[t]=Br(Ar(e,o,t));return{c(){for(let t=0;t<a.length;t+=1)a[t].c();r=_()},m(e,n){for(let t=0;t<a.length;t+=1)a[t].m(e,n);q(e,r,n)},p(e,n){if(210971&n[0]){let t;for(o=e[0],t=0;t<o.length;t+=1){var i=Ar(e,o,t);a[t]?a[t].p(i,n):(a[t]=Br(i),a[t].c(),a[t].m(r.parentNode,r))}for(;t<a.length;t+=1)a[t].d(1);a.length=o.length}},d(t){C(a,t),t&&J(r)}}}function kr(t){let n,i,r=t[11]("cardText.notAvailable")+"";return{c(){n=K("div"),i=Q(r),it(n,"class","InfoCardRowValue"),it(n,"part","InfoCardRowValue")},m(t,e){q(t,n,e),X(n,i)},p(t,e){2048&e[0]&&r!==(r=t[11]("cardText.notAvailable")+"")&&ot(i,r)},d(t){t&&J(n)}}}function Pr(t){let n,i,r=(t[33]?(Ui(t[33].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):Ui(t[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=K("div"),i=Q(r),it(n,"class","InfoCardRowValue"),it(n,"part","InfoCardRowValue")},m(t,e){q(t,n,e),X(n,i)},p(t,e){1&e[0]&&r!==(r=(t[33]?(Ui(t[33].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):Ui(t[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(i,r)},d(t){t&&J(n)}}}function Nr(n){let i,r,o,a,s,l,u,c;function d(){return n[20](n[35])}return{c(){i=K("div"),r=K("span"),r.textContent="i",o=tt(),a=K("player-account-gaming-limits-popup"),it(r,"class","InfoCardIcon"),it(r,"part","InfoCardIcon"),rt(a,"showpopup",s=n[4][n[35]+1]),rt(a,"iteminfoamount",l=n[33].updateAmount),rt(a,"playercurrency",n[2]),rt(a,"lang",n[3]),it(i,"class","InfoCardIconWrapper "+(n[12]?"InfoCardIconMobileWrapper":"")),it(i,"part","InfoCardIconWrapper "+(n[12]?"InfoCardIconMobileWrapper":""))},m(t,e){q(t,i,e),X(i,r),X(i,o),X(i,a),u||(c=et(r,"click",nt(d)),u=!0)},p(t,e){n=t,16&e[0]&&s!==(s=n[4][n[35]+1])&&rt(a,"showpopup",s),1&e[0]&&l!==(l=n[33].updateAmount)&&rt(a,"iteminfoamount",l),4&e[0]&&rt(a,"playercurrency",n[2]),8&e[0]&&rt(a,"lang",n[3])},d(t){t&&J(i),u=!1,c()}}}function Or(n){let i,r,o;return{c(){i=K("div"),i.innerHTML="<span></span>",it(i,"class","InfoCardRemoveIcon"),it(i,"part","InfoCardRemoveIcon")},m(t,e){q(t,i,e),r||(o=et(i,"click",function(){T(n[16](n[33],n[1]))&&n[16](n[33],n[1]).apply(this,arguments)}),r=!0)},p(t,e){n=t},d(t){t&&J(i),r=!1,o()}}}function Rr(t){let n,i,r,o,a,s,l,u,c,d,f,h,p,m,y,g,v,w,_=(t[33]?t[33].period:"")+"",b=(t[33]?t[33].amount:0)+"",x=(t[33]?t[33].currency:"")+"",E=t[11]("cardText.expirationDate")+"";function T(t){return t[33].expiryDate?Pr:kr}let C=T(t),M=C(t);function A(t){return"No limit"==t[33].amount||t[33].isModified?"No limit"!=t[33].amount&&t[33].isModified?Nr:void 0:Or}let L=A(t),S=L&&L(t);return{c(){n=K("div"),i=K("div"),r=K("div"),o=K("div"),a=Q(_),s=tt(),l=K("div"),u=Q(b),c=tt(),d=K("span"),f=Q(x),h=tt(),p=K("div"),m=K("div"),y=Q(E),g=tt(),M.c(),v=tt(),S&&S.c(),w=tt(),it(o,"class","InfoCardRowTitle"),it(o,"part","InfoCardRowTitle"),it(d,"class","InfoCardCurrency"),it(d,"part","InfoCardCurrency"),it(l,"class","InfoCardRowValue"),it(l,"part","InfoCardRowValue"),it(r,"class","InfoCardRow InfoMainRow"),it(r,"part","InfoCardRow InfoMainRow"),it(m,"class","InfoCardRowTitle"),it(m,"part","InfoCardRowTitle"),it(p,"class","InfoCardRow"),it(p,"part","InfoCardRow"),it(i,"class","InfoCardRowContainer"),it(i,"part","InfoCardRowContainer"),it(n,"class","InfoCardBox InfoCardMultipleItems"),it(n,"part","InfoCardBox InfoCardMultipleItems")},m(t,e){q(t,n,e),X(n,i),X(i,r),X(r,o),X(o,a),X(r,s),X(r,l),X(l,u),X(l,c),X(l,d),X(d,f),X(i,h),X(i,p),X(p,m),X(m,y),X(p,g),M.m(p,null),X(n,v),S&&S.m(n,null),X(n,w)},p(t,e){1&e[0]&&_!==(_=(t[33]?t[33].period:"")+"")&&ot(a,_),1&e[0]&&b!==(b=(t[33]?t[33].amount:0)+"")&&ot(u,b),1&e[0]&&x!==(x=(t[33]?t[33].currency:"")+"")&&ot(f,x),2048&e[0]&&E!==(E=t[11]("cardText.expirationDate")+"")&&ot(y,E),C===(C=T(t))&&M?M.p(t,e):(M.d(1),M=C(t),M&&(M.c(),M.m(p,null))),L===(L=A(t))&&S?S.p(t,e):(S&&S.d(1),S=L&&L(t),S&&(S.c(),S.m(n,w)))},d(t){t&&J(n),M.d(),S&&S.d()}}}function Yr(t){let n,i,r=t[11]("cardText.noLimit")+"";return{c(){n=K("span"),i=Q(r),it(n,"class","InfoCardCurrency"),it(n,"part","InfoCardCurrency")},m(t,e){q(t,n,e),X(n,i)},p(t,e){2048&e[0]&&r!==(r=t[11]("cardText.noLimit")+"")&&ot(i,r)},d(t){t&&J(n)}}}function Fr(t){let n,i,r,o=(t[33]?t[33].amount:0)+"",a="No limit"!=t[33].amount&&Ur(t);return{c(){n=Q(o),i=tt(),a&&a.c(),r=_()},m(t,e){q(t,n,e),q(t,i,e),a&&a.m(t,e),q(t,r,e)},p(t,e){1&e[0]&&o!==(o=(t[33]?t[33].amount:0)+"")&&ot(n,o),"No limit"!=t[33].amount?a?a.p(t,e):(a=Ur(t),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(t){t&&J(n),t&&J(i),a&&a.d(t),t&&J(r)}}}function Ur(t){let n,i,r=t[11]("cardText.minutes")+"";return{c(){n=K("span"),i=Q(r),it(n,"class","InfoCardCurrency"),it(n,"part","InfoCardCurrency")},m(t,e){q(t,n,e),X(n,i)},p(t,e){2048&e[0]&&r!==(r=t[11]("cardText.minutes")+"")&&ot(i,r)},d(t){t&&J(n)}}}function Gr(t){let n,i,r=t[11]("cardText.notAvailable")+"";return{c(){n=K("div"),i=Q(r),it(n,"class","InfoCardRowValue"),it(n,"part","InfoCardRowValue")},m(t,e){q(t,n,e),X(n,i)},p(t,e){2048&e[0]&&r!==(r=t[11]("cardText.notAvailable")+"")&&ot(i,r)},d(t){t&&J(n)}}}function Wr(t){let n,i,r=(t[33]?(Ui(t[33].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):Ui(t[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=K("div"),i=Q(r),it(n,"class","InfoCardRowValue"),it(n,"part","InfoCardRowValue")},m(t,e){q(t,n,e),X(n,i)},p(t,e){1&e[0]&&r!==(r=(t[33]?(Ui(t[33].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):Ui(t[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(i,r)},d(t){t&&J(n)}}}function $r(n){let i,r,o,a,s,l,u,c;function d(){return n[19](n[35])}return{c(){i=K("div"),r=K("span"),r.textContent="i",o=tt(),a=K("player-account-gaming-limits-popup"),it(r,"class","InfoCardIcon"),it(r,"part","InfoCardIcon"),rt(a,"showpopup",s=n[4][n[35]+1]),rt(a,"iteminfoamount",l=n[33].updateMinutes),rt(a,"playercurrency","minutes"),rt(a,"lang",n[3]),it(i,"class","InfoCardIconWrapper "+(n[12]?"InfoCardIconMobileWrapper":"")),it(i,"part","InfoCardIconWrapper "+(n[12]?"InfoCardIconMobileWrapper":""))},m(t,e){q(t,i,e),X(i,r),X(i,o),X(i,a),u||(c=et(r,"click",nt(d)),u=!0)},p(t,e){n=t,16&e[0]&&s!==(s=n[4][n[35]+1])&&rt(a,"showpopup",s),1&e[0]&&l!==(l=n[33].updateMinutes)&&rt(a,"iteminfoamount",l),8&e[0]&&rt(a,"lang",n[3])},d(t){t&&J(i),u=!1,c()}}}function jr(n){let i,r,o;return{c(){i=K("div"),i.innerHTML="<span></span>",it(i,"class","InfoCardRemoveIcon"),it(i,"part","InfoCardRemoveIcon")},m(t,e){q(t,i,e),r||(o=et(i,"click",function(){T(n[16](n[33],n[1]))&&n[16](n[33],n[1]).apply(this,arguments)}),r=!0)},p(t,e){n=t},d(t){t&&J(i),r=!1,o()}}}function Br(t){let n,i,r,o,a,s,l,u,c,d,f,h,p,m,y=(t[33]?t[33].period:"")+"",g=t[11]("cardText.expirationDate")+"";function v(t){return 0!==t[33].amount?Fr:Yr}let w=v(t),_=w(t);function b(t){return t[33].expiryDate?Wr:Gr}let x=b(t),E=x(t);function T(t){return"No limit"==t[33].amount||t[33].isModified?"No limit"!=t[33].amount&&t[33].isModified?$r:void 0:jr}let C=T(t),M=C&&C(t);return{c(){n=K("div"),i=K("div"),r=K("div"),o=K("div"),a=Q(y),s=tt(),l=K("div"),_.c(),u=tt(),c=K("div"),d=K("div"),f=Q(g),h=tt(),E.c(),p=tt(),M&&M.c(),m=tt(),it(o,"class","InfoCardRowTitle"),it(o,"part","InfoCardRowTitle"),it(l,"class","InfoCardRowValue"),it(l,"part","InfoCardRowValue"),it(r,"class","InfoCardRow InfoMainRow"),it(r,"part","InfoCardRow InfoMainRow"),it(d,"class","InfoCardRowTitle"),it(d,"part","InfoCardRowTitle"),it(c,"class","InfoCardRow"),it(c,"part","InfoCardRow"),it(i,"class","InfoCardRowContainer"),it(i,"part","InfoCardRowContainer"),it(n,"class","InfoCardBox InfoCardMultipleItems"),it(n,"part","InfoCardBox InfoCardMultipleItems")},m(t,e){q(t,n,e),X(n,i),X(i,r),X(r,o),X(o,a),X(r,s),X(r,l),_.m(l,null),X(i,u),X(i,c),X(c,d),X(d,f),X(c,h),E.m(c,null),X(n,p),M&&M.m(n,null),X(n,m)},p(t,e){1&e[0]&&y!==(y=(t[33]?t[33].period:"")+"")&&ot(a,y),w===(w=v(t))&&_?_.p(t,e):(_.d(1),_=w(t),_&&(_.c(),_.m(l,null))),2048&e[0]&&g!==(g=t[11]("cardText.expirationDate")+"")&&ot(f,g),x===(x=b(t))&&E?E.p(t,e):(E.d(1),E=x(t),E&&(E.c(),E.m(c,null))),C===(C=T(t))&&M?M.p(t,e):(M&&M.d(1),M=C&&C(t),M&&(M.c(),M.m(n,m)))},d(t){t&&J(n),_.d(),E.d(),M&&M.d()}}}function Hr(n){let i,r,o,a,s=n[11]("cardText.removeLimits")+"";return{c(){i=K("button"),r=Q(s),it(i,"class","InfoCardRemoveButton"),it(i,"part","InfoCardRemoveButton")},m(t,e){q(t,i,e),X(i,r),o||(a=et(i,"click",n[22]),o=!0)},p(t,e){2048&e[0]&&s!==(s=t[11]("cardText.removeLimits")+"")&&ot(r,s)},d(t){t&&J(i),o=!1,a()}}}function Vr(t){let n,i,r;return{c(){n=K("player-account-modal"),i=K("player-account-gaming-limits-confirmation-modal"),rt(i,"modaltext",r=t[6]?t[8]:t[9]),rt(i,"modalsource","infoCard"),rt(i,"lang",t[3])},m(t,e){q(t,n,e),X(n,i)},p(t,e){832&e[0]&&r!==(r=t[6]?t[8]:t[9])&&rt(i,"modaltext",r),8&e[0]&&rt(i,"lang",t[3])},d(t){t&&J(n)}}}function zr(t){let n,i=function(n){let i,r,o,a,s,l,u,c,d,f,h,p,m,y,g,v,w,_,b,x,E,T,C,M,A=(n[0]?n[1]:"")+"",L=n[11]("cardText.edit")+"";function S(t,e){return(null==v||1&e[0])&&(v=!!Array.isArray(t[0])),v?Sr:Lr}let I=S(n,[-1]),D=I(n),k=!n[5]&&!n[0].isModified&&n[10]&&Hr(n),P=n[7]&&Vr(n);return{c(){i=K("div"),r=K("div"),o=K("div"),a=K("h5"),s=Q(A),l=tt(),u=K("div"),c=K("span"),c.textContent="i",d=tt(),f=K("player-account-gaming-limits-popup"),p=tt(),m=K("div"),y=K("div"),g=K("div"),D.c(),w=tt(),_=K("div"),b=K("button"),x=Q(L),E=tt(),k&&k.c(),T=tt(),P&&P.c(),it(c,"class","InfoCardIcon"),it(c,"part","InfoCardIcon"),rt(f,"showpopup",h=n[4][0]),rt(f,"lang",n[3]),it(u,"class","InfoCardIconWrapper "+(n[12]?"InfoCardIconMobileWrapper":"")),it(u,"part","InfoCardIconWrapper "+(n[12]?"InfoCardIconMobileWrapper":"")),it(o,"class","InfoCardHeader "+(n[12]?"InfoCardMobileHeader":"")),it(o,"part","InfoCardHeader "+(n[12]?"InfoCardMobileHeader":"")),it(g,"class","InfoCardTableRow"),it(g,"part","InfoCardTableRow"),it(y,"class","InfoCardTableWrapper"),it(y,"part","InfoCardTableWrapper"),it(b,"class","InfoCardEditButton"),it(b,"part","InfoCardEditButton"),it(_,"class","InfoCardControlArea"),it(_,"part","InfoCardControlArea"),it(m,"class","InfoCard"),it(m,"part","InfoCard"),it(r,"class","InfoCardWrapper"),it(r,"part","InfoCardWrapper"),it(i,"class","InfoCardSection"),it(i,"part","InfoCardSection")},m(t,e){q(t,i,e),X(i,r),X(r,o),X(o,a),X(a,s),X(o,l),X(o,u),X(u,c),X(u,d),X(u,f),X(r,p),X(r,m),X(m,y),X(y,g),D.m(g,null),X(m,w),X(m,_),X(_,b),X(b,x),X(_,E),k&&k.m(_,null),X(i,T),P&&P.m(i,null),C||(M=[et(c,"click",nt(n[18])),et(b,"click",n[21])],C=!0)},p(t,e){3&e[0]&&A!==(A=(t[0]?t[1]:"")+"")&&ot(s,A),16&e[0]&&h!==(h=t[4][0])&&rt(f,"showpopup",h),8&e[0]&&rt(f,"lang",t[3]),I===(I=S(t,e))&&D?D.p(t,e):(D.d(1),D=I(t),D&&(D.c(),D.m(g,null))),2048&e[0]&&L!==(L=t[11]("cardText.edit")+"")&&ot(x,L),t[5]||t[0].isModified||!t[10]?k&&(k.d(1),k=null):k?k.p(t,e):(k=Hr(t),k.c(),k.m(_,null)),t[7]?P?P.p(t,e):(P=Vr(t),P.c(),P.m(i,null)):P&&(P.d(1),P=null)},d(t){t&&J(i),D.d(),k&&k.d(),P&&P.d(),C=!1,Z(M)}}}(t);return{c(){i.c(),n=_(),this.c=z},m(t,e){i.m(t,e),q(t,n,e)},p(t,e){i.p(t,e)},i:z,o:z,d(t){i.d(t),t&&J(n)}}}function Zr(t,e,i){let o;F(t,Ai,t=>i(11,o=t));let{limitsdata:n=""}=e,{limitname:r=""}=e,{playercurrency:a=""}=e,{lang:s="en"}=e;Object.keys(Si).forEach(t=>{si(t,Si[t])});let l=new Array(5).fill(0),u=[o("cardText.daily"),o("cardText.weekly"),o("cardText.monthly")],c=!0,d=!0,f=!1,h=window.navigator.userAgent,p="PC"!==Li(h),m="",y="",g=!0,v=Ui();const w=t=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:t,name:r},window.location.href)},_=t=>{i(7,f=!0),i(6,d=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:t,removeName:r},window.location.href)},b=t=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{i(4,l[t]=!0,l)},50)},x=(t,e,n,i)=>{var r=i===o("cardText.time")?{period:n,minutes:0,currency:"",isModified:!1,expiryDate:""}:{period:n,amount:o("cardText.noLimit"),currency:"",isModified:!1,expiryDate:""};t.splice(e,0,r)},E=(t,e)=>t.period===o("cardText.weekly")&&e.period===o("cardText.daily")||t.period===o("cardText.monthly")&&e.period===o("cardText.daily")||t.period===o("cardText.monthly")&&e.period===o("cardText.weekly")?1:t.period===o("cardText.daily")&&e.period===o("cardText.weekly")||t.period===o("cardText.daily")&&e.period===o("cardText.monthly")||t.period===o("cardText.weekly")&&e.period===o("cardText.monthly")?-1:0,T=()=>{var t=s;gi.set(t),t=r===o("cardText.timeLimit")?o("cardText.timeLimitLower"):r===o("cardText.depositLimit")?o("cardText.depositLimitLower"):r===o("cardText.wageringLimit")?o("cardText.wageringLimitLower"):o("cardText.lossLimitLower"),i(8,m=o("cardText.removeLimitsText",{values:{limit:t}})),i(9,y=o("cardText.removeLimitText",{values:{limit:t}})),r===o("cardText.depositLimit")||r===o("cardText.timeLimit")?Array.isArray(n)&&(n.forEach(t=>{t.isModified&&i(10,g=!1)}),n.sort(E),(n=>{const e=u;u.forEach(e=>{n.indexOf(e),n.find(t=>t.period===e)&&(u=u.filter(t=>t!==e)),n.forEach(t=>{t.period===e&&t.amount!==o("cardText.noLimit")&&i(5,c=!1)})}),u.forEach(t=>{n.name===o("cardText.timeLimit")?x(n,e.indexOf(t),t,o("cardText.time")):x(n,e.indexOf(t),t,o("cardText.currency"))})})(n)):(n.hasOwnProperty("period")||i(0,n={period:o("cardText.daily"),amount:o("cardText.noLimit"),currency:"",isModified:!1,expiryDate:""}),i(5,c=n.amount==o("cardText.noLimit")))},C=t=>{if(t.data)switch(t.data.type){case"ClosePlayerAccountGamingLimitsPopup":i(4,l=new Array(5).fill(0));break;case"ModalClosed":i(7,f=!1),i(6,d=!1)}};return W(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)})),t.$$set=t=>{"limitsdata"in t&&i(0,n=t.limitsdata),"limitname"in t&&i(1,r=t.limitname),"playercurrency"in t&&i(2,a=t.playercurrency),"lang"in t&&i(3,s=t.lang)},t.$$.update=()=>{11&t.$$.dirty[0]&&n&&r&&s&&T()},[n,r,a,s,l,c,d,f,m,y,g,o,p,v,w,_,(t,e)=>{i(7,f=!0),i(6,d=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:t,removeName:e},window.location.href)},b,()=>b(0),t=>b(t+1),t=>b(t+1),()=>w(n),()=>_(n)]}customElements.get("player-account-gaming-limits-confirmation-modal")||customElements.define("player-account-gaming-limits-confirmation-modal",class extends H{constructor(t){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:i(this.attributes),customElement:!0},Vi,Hi,n,{modaltext:0,modalsource:6,lang:7}),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["modaltext","modalsource","lang"]}get modaltext(){return this.$$.ctx[0]}set modaltext(t){this.$set({modaltext:t}),k()}get modalsource(){return this.$$.ctx[6]}set modalsource(t){this.$set({modalsource:t}),k()}get lang(){return this.$$.ctx[7]}set lang(t){this.$set({lang:t}),k()}}),customElements.get("player-account-gaming-limits-group-edit")||customElements.define("player-account-gaming-limits-group-edit",class extends H{constructor(t){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:10px}.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:i(this.attributes),customElement:!0},Cr,Tr,n,{limitsdata:0,showsuccessnotification:1,showdeletenotification:2,limitname:3,playercurrency:4,lang:5},[-1,-1]),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["limitsdata","showsuccessnotification","showdeletenotification","limitname","playercurrency","lang"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(t){this.$set({limitsdata:t}),k()}get showsuccessnotification(){return this.$$.ctx[1]}set showsuccessnotification(t){this.$set({showsuccessnotification:t}),k()}get showdeletenotification(){return this.$$.ctx[2]}set showdeletenotification(t){this.$set({showdeletenotification:t}),k()}get limitname(){return this.$$.ctx[3]}set limitname(t){this.$set({limitname:t}),k()}get playercurrency(){return this.$$.ctx[4]}set playercurrency(t){this.$set({playercurrency:t}),k()}get lang(){return this.$$.ctx[5]}set lang(t){this.$set({lang:t}),k()}});class Xr extends H{constructor(t){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:0px 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:i(this.attributes),customElement:!0},Zr,zr,n,{limitsdata:0,limitname:1,playercurrency:2,lang:3},[-1,-1]),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["limitsdata","limitname","playercurrency","lang"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(t){this.$set({limitsdata:t}),k()}get limitname(){return this.$$.ctx[1]}set limitname(t){this.$set({limitname:t}),k()}get playercurrency(){return this.$$.ctx[2]}set playercurrency(t){this.$set({playercurrency:t}),k()}get lang(){return this.$$.ctx[3]}set lang(t){this.$set({lang:t}),k()}}return customElements.get("player-account-gaming-limits-info-card")||customElements.define("player-account-gaming-limits-info-card",Xr),Xr});
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).app=e()}(this,function(){"use strict";function z(){}const m=t=>t;function c(t){return t()}function d(){return Object.create(null)}function Z(t){t.forEach(c)}function C(t){return"function"==typeof t}function n(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function f(t,...e){if(null==t)return z;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function F(t,e,n){t.$$.on_destroy.push(f(e,n))}var t="undefined"!=typeof window;let y=t?()=>window.performance.now():()=>Date.now(),g=t?t=>requestAnimationFrame(t):z;const v=new Set;function w(e){v.forEach(t=>{t.c(e)||(v.delete(t),t.f())}),0!==v.size&&g(w)}function X(t,e){t.appendChild(e)}function q(t,e,n){t.insertBefore(e,n||null)}function J(t){t.parentNode.removeChild(t)}function T(e,n){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(n)}function K(t){return document.createElement(t)}function e(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Q(t){return document.createTextNode(t)}function tt(){return Q(" ")}function _(){return Q("")}function et(t,e,n,i){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)}function nt(e){return function(t){return t.preventDefault(),e.call(this,t)}}function it(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function rt(t,e,n){e in t?t[e]=n:it(t,e,n)}function U(t){return""===t?null:+t}function ot(t,e){t.wholeText!==(e=""+e)&&(t.data=e)}function h(t,e){t.value=null==e?"":e}function M(e,n){for(let t=0;t<e.options.length;t+=1){const i=e.options[t];if(i.__value===n)return i.selected=!0,0}}function G(t){t=t.querySelector(":checked")||t.options[0];return t&&t.__value}function i(t){const e={};for(const n of t)e[n.name]=n.value;return e}const b=new Set;let p,x=0;function E(t,e,n,i,r,o,a,s=0){var l=16.666/i;let u="{\n";for(let t=0;t<=1;t+=l){const i=e+(n-e)*o(t);u+=100*t+`%{${a(i,1-i)}}\n`}const c=u+`100% {${a(n,1-n)}}\n}`,d=`__svelte_${function(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}(c)}_${s}`,f=t.ownerDocument;b.add(f);const h=f.__svelte_stylesheet||(f.__svelte_stylesheet=f.head.appendChild(K("style")).sheet),p=f.__svelte_rules||(f.__svelte_rules={});p[d]||(p[d]=!0,h.insertRule(`@keyframes ${d} ${c}`,h.cssRules.length));s=t.style.animation||"";return t.style.animation=`${s?`${s}, `:""}${d} ${i}ms linear ${r}ms 1 both`,x+=1,d}function A(t){p=t}function W(t){!function(){if(!p)throw new Error("Function called outside component initialization");return p}().$$.on_mount.push(t)}const L=[],s=[],r=[],o=[],S=Promise.resolve();let I=!1;function D(t){r.push(t)}let a=!1;const l=new Set;function k(){if(!a){a=!0;do{for(let t=0;t<L.length;t+=1){var e=L[t];A(e),function(t){{var e;null!==t.fragment&&(t.update(),Z(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(D))}}(e.$$)}for(A(null),L.length=0;s.length;)s.pop()();for(let t=0;t<r.length;t+=1){const n=r[t];l.has(n)||(l.add(n),n())}}while(r.length=0,L.length);for(;o.length;)o.pop()();I=!1,a=!1,l.clear()}}let P;function N(t,e,n){t.dispatchEvent(function(t){const e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}(`${e?"intro":"outro"}${n}`))}const u=new Set;let O;function R(t,e){t&&t.i&&(u.delete(t),t.i(e))}function Y(t,e,n,i){t&&t.o&&(u.has(t)||(u.add(t),O.c.push(()=>{u.delete(t),i&&(n&&t.d(1),i())}),t.o(e)))}const $={duration:0};function j(s,t,e,n){let l=t(s,e),u=n?0:1,c=null,d=null,f=null;function h(){f&&function(t,e){const n=(t.style.animation||"").split(", "),i=n.filter(e?t=>t.indexOf(e)<0:t=>-1===t.indexOf("__svelte")),r=n.length-i.length;r&&(t.style.animation=i.join(", "),x-=r,x||g(()=>{x||(b.forEach(t=>{const e=t.__svelte_stylesheet;let n=e.cssRules.length;for(;n--;)e.deleteRule(n);t.__svelte_rules={}}),b.clear())}))}(s,f)}function p(t,e){var n=t.b-u;return e*=Math.abs(n),{a:u,b:t.b,d:n,duration:e,start:t.start,end:t.start+e,group:t.group}}function i(t){const{delay:e=0,duration:n=300,easing:i=m,tick:r=z,css:o}=l||$,a={start:y()+e,b:t};t||(a.group=O,O.r+=1),c||d?d=a:(o&&(h(),f=E(s,u,t,n,e,i,o)),t&&r(0,1),c=p(a,n),D(()=>N(s,t,"start")),function(e){let n;0===v.size&&g(w),new Promise(t=>{v.add(n={c:e,f:t})})}(t=>{return d&&t>d.start&&(c=p(d,n),d=null,N(s,c.b,"start"),o&&(h(),f=E(s,u,c.b,c.duration,0,i,l.css))),c&&(t>=c.end?(r(u=c.b,1-u),N(s,c.b,"end"),d||(c.b?h():--c.group.r||Z(c.group.c)),c=null):t>=c.start&&(t=t-c.start,u=c.a+c.d*i(t/c.duration),r(u,1-u))),!(!c&&!d)}))}return{run(t){C(l)?(P||(P=Promise.resolve(),P.then(()=>{P=null})),P.then(()=>{l=l(),i(t)})):i(t)},end(){h(),c=d=null}}}function B(i,t,e,n,r,o,a=[-1]){var s=p;A(i);const l=i.$$={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:t.context||[]),callbacks:d(),dirty:a,skip_bound:!1};let u=!1;if(l.ctx=e?e(i,t.props||{},(t,e,...n)=>{n=n.length?n[0]:e;return l.ctx&&r(l.ctx[t],l.ctx[t]=n)&&(!l.skip_bound&&l.bound[t]&&l.bound[t](n),u&&(n=t,-1===(t=i).$$.dirty[0]&&(L.push(t),I||(I=!0,S.then(k)),t.$$.dirty.fill(0)),t.$$.dirty[n/31|0]|=1<<n%31)),e}):[],l.update(),u=!0,Z(l.before_update),l.fragment=!!n&&n(l.ctx),t.target){if(t.hydrate){const z=(n=t.target,Array.from(n.childNodes));l.fragment&&l.fragment.l(z),z.forEach(J)}else l.fragment&&l.fragment.c();t.intro&&R(i.$$.fragment),function(e,t,n,i){const{fragment:r,on_mount:o,on_destroy:a,after_update:s}=e.$$;r&&r.m(t,n),i||D(()=>{var t=o.map(c).filter(C);a?a.push(...t):Z(t),e.$$.on_mount=[]}),s.forEach(D)}(i,t.target,t.anchor,t.customElement),k()}A(s)}let H;"function"==typeof HTMLElement&&(H=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(c).filter(C);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,n){this[t]=n}disconnectedCallback(){Z(this.$$.on_disconnect)}$destroy(){!function(t){const e=t.$$;null!==e.fragment&&(Z(e.on_destroy),e.fragment&&e.fragment.d(1),e.on_destroy=e.fragment=null,e.ctx=[])}(this),this.$destroy=z}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{var t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){this.$$set&&0!==Object.keys(t).length&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});var V,at,st="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==st&&st,lt="URLSearchParams"in st,ut="Symbol"in st&&"iterator"in Symbol,ct="FileReader"in st&&"Blob"in st&&function(){try{return new Blob,!0}catch(t){return!1}}(),dt="FormData"in st,ft="ArrayBuffer"in st;function ht(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function pt(t){return t="string"!=typeof t?String(t):t}function mt(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return ut&&(t[Symbol.iterator]=function(){return t}),t}function yt(e){this.map={},e instanceof yt?e.forEach(function(t,e){this.append(e,t)},this):Array.isArray(e)?e.forEach(function(t){this.append(t[0],t[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function gt(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function vt(n){return new Promise(function(t,e){n.onload=function(){t(n.result)},n.onerror=function(){e(n.error)}})}function wt(t){var e=new FileReader,n=vt(e);return e.readAsArrayBuffer(t),n}function _t(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function bt(){return this.bodyUsed=!1,this._initBody=function(t){this.bodyUsed=this.bodyUsed,(this._bodyInit=t)?"string"==typeof t?this._bodyText=t:ct&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:dt&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:lt&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():ft&&ct&&t&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=_t(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ft&&(ArrayBuffer.prototype.isPrototypeOf(t)||at(t))?this._bodyArrayBuffer=_t(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):lt&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ct&&(this.blob=function(){var t=gt(this);if(t)return t;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?gt(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(wt)}),this.text=function(){var t,e,n=gt(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,n=vt(e),e.readAsText(t),n;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),n=new Array(e.length),i=0;i<e.length;i++)n[i]=String.fromCharCode(e[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},dt&&(this.formData=function(){return this.text().then(Ct)}),this.json=function(){return this.text().then(JSON.parse)},this}ft&&(V=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],at=ArrayBuffer.isView||function(t){return t&&-1<V.indexOf(Object.prototype.toString.call(t))}),yt.prototype.append=function(t,e){t=ht(t),e=pt(e);var n=this.map[t];this.map[t]=n?n+", "+e:e},yt.prototype.delete=function(t){delete this.map[ht(t)]},yt.prototype.get=function(t){return t=ht(t),this.has(t)?this.map[t]:null},yt.prototype.has=function(t){return this.map.hasOwnProperty(ht(t))},yt.prototype.set=function(t,e){this.map[ht(t)]=pt(e)},yt.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},yt.prototype.keys=function(){var n=[];return this.forEach(function(t,e){n.push(e)}),mt(n)},yt.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),mt(e)},yt.prototype.entries=function(){var n=[];return this.forEach(function(t,e){n.push([e,t])}),mt(n)},ut&&(yt.prototype[Symbol.iterator]=yt.prototype.entries);var xt=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Et(t,e){if(!(this instanceof Et))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,i=(e=e||{}).body;if(t instanceof Et){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new yt(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new yt(e.headers)),this.method=(t=(n=e.method||this.method||"GET").toUpperCase(),-1<xt.indexOf(t)?t:n),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache||((e=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(e,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Ct(t){var n=new FormData;return t.trim().split("&").forEach(function(t){var e;t&&(t=(e=t.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),n.append(decodeURIComponent(t),decodeURIComponent(e)))}),n}function Tt(t,e){if(!(this instanceof Tt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e=e||{},this.type="default",this.status=void 0===e.status?200:e.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new yt(e.headers),this.url=e.url||"",this._initBody(t)}Et.prototype.clone=function(){return new Et(this,{body:this._bodyInit})},bt.call(Et.prototype),bt.call(Tt.prototype),Tt.prototype.clone=function(){return new Tt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new yt(this.headers),url:this.url})},Tt.error=function(){var t=new Tt(null,{status:0,statusText:""});return t.type="error",t};var Mt=[301,302,303,307,308];Tt.redirect=function(t,e){if(-1===Mt.indexOf(e))throw new RangeError("Invalid status code");return new Tt(null,{status:e,headers:{location:t}})};var At=st.DOMException;try{new At}catch(z){(At=function(t,e){this.message=t,this.name=e;t=Error(t);this.stack=t.stack}).prototype=Object.create(Error.prototype),At.prototype.constructor=At}function Lt(i,a){return new Promise(function(r,t){var e=new Et(i,a);if(e.signal&&e.signal.aborted)return t(new At("Aborted","AbortError"));var o=new XMLHttpRequest;function n(){o.abort()}o.onload=function(){var t,n,e={status:o.status,statusText:o.statusText,headers:(t=o.getAllResponseHeaders()||"",n=new yt,t.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t}).forEach(function(t){var e=t.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),n.append(t,e))}),n)};e.url="responseURL"in o?o.responseURL:e.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;setTimeout(function(){r(new Tt(i,e))},0)},o.onerror=function(){setTimeout(function(){t(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){t(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){t(new At("Aborted","AbortError"))},0)},o.open(e.method,function(e){try{return""===e&&st.location.href?st.location.href:e}catch(t){return e}}(e.url),!0),"include"===e.credentials?o.withCredentials=!0:"omit"===e.credentials&&(o.withCredentials=!1),"responseType"in o&&(ct?o.responseType="blob":ft&&e.headers.get("Content-Type")&&-1!==e.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof yt?e.headers.forEach(function(t,e){o.setRequestHeader(e,t)}):Object.getOwnPropertyNames(a.headers).forEach(function(t){o.setRequestHeader(t,pt(a.headers[t]))}),e.signal&&(e.signal.addEventListener("abort",n),o.onreadystatechange=function(){4===o.readyState&&e.signal.removeEventListener("abort",n)}),o.send(void 0===e._bodyInit?null:e._bodyInit)})}function Dn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Lt.polyfill=!0,st.fetch||(st.fetch=Lt,st.Headers=yt,st.Request=Et,st.Response=Tt),self.fetch.bind(self);var St=function(t,e){return(St=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function It(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}St(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function Dt(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return{value:(t=t&&i>=t.length?void 0:t)&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function kt(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(i=o.next()).done;)a.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function Pt(t,e){for(var n=0,i=e.length,r=t.length;n<i;n++,r++)t[r]=e[n];return t}function Nt(t){return"function"==typeof t}function Ot(t){t=t(function(t){Error.call(t),t.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t}var Rt=Ot(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}});function Yt(t,e){!t||0<=(e=t.indexOf(e))&&t.splice(e,1)}var Ft=(Gt.prototype.unsubscribe=function(){var t,e,n,i,r;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=Dt(o),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}else o.remove(this);o=this.initialTeardown;if(Nt(o))try{o()}catch(t){r=t instanceof Rt?t.errors:[t]}o=this._teardowns;if(o){this._teardowns=null;try{for(var l=Dt(o),u=l.next();!u.done;u=l.next()){var c=u.value;try{$t(c)}catch(t){r=null!=r?r:[],t instanceof Rt?r=Pt(Pt([],kt(r)),kt(t.errors)):r.push(t)}}}catch(t){n={error:t}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}}if(r)throw new Rt(r)}},Gt.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)$t(t);else{if(t instanceof Gt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(e=this._teardowns)&&void 0!==e?e:[]).push(t)}},Gt.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},Gt.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},Gt.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&Yt(e,t)},Gt.prototype.remove=function(t){var e=this._teardowns;e&&Yt(e,t),t instanceof Gt&&t._removeParent(this)},Gt.EMPTY=((cn=new Gt).closed=!0,cn),Gt),Ut=Ft.EMPTY;function Gt(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}function Wt(t){return t instanceof Ft||t&&"closed"in t&&Nt(t.remove)&&Nt(t.add)&&Nt(t.unsubscribe)}function $t(t){Nt(t)?t():t.unsubscribe()}var jt=void 0,Bt=!1,Ht=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return setTimeout.apply(void 0,Pt([],kt(t)))};function Vt(){}function zt(t){t()}var Zt,Xt,qt=(It(Qt,Xt=Ft),Qt.create=function(t,e,n){return new Jt(t,e,n)},Qt.prototype.next=function(t){this.isStopped||this._next(t)},Qt.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},Qt.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Qt.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Xt.prototype.unsubscribe.call(this),this.destination=null)},Qt.prototype._next=function(t){this.destination.next(t)},Qt.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},Qt.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Qt),Jt=(It(Kt,Zt=qt),Kt);function Kt(t,e,n){var i,r,o=Zt.call(this)||this;return Nt(t)?r=t:t&&(r=t.next,e=t.error,n=t.complete,o&&Bt?(i=Object.create(t)).unsubscribe=function(){return o.unsubscribe()}:i=t,r=null==r?void 0:r.bind(i),e=null==e?void 0:e.bind(i),n=null==n?void 0:n.bind(i)),o.destination={next:r?te(r):Vt,error:te(null!=e?e:ee),complete:n?te(n):Vt},o}function Qt(t){var e=Xt.call(this)||this;return e.isStopped=!1,t?Wt(e.destination=t)&&t.add(e):e.destination=ne,e}function te(i){return function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];try{i.apply(void 0,Pt([],kt(t)))}catch(t){e=t,Ht(function(){throw e})}}}function ee(t){throw t}var ne={closed:!0,next:Vt,error:ee,complete:Vt},ie="function"==typeof Symbol&&Symbol.observable||"@@observable";function re(t){return t}var oe=(ae.prototype.lift=function(t){var e=new ae;return e.source=this,e.operator=t,e},ae.prototype.subscribe=function(t,e,n){var i,r=this,o=(i=t)&&i instanceof qt||i&&Nt(i.next)&&Nt(i.error)&&Nt(i.complete)&&Wt(i)?t:new Jt(t,e,n);return zt(function(){var t=r.operator,e=r.source;o.add(t?t.call(o,e):e?r._subscribe(o):r._trySubscribe(o))}),o},ae.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},ae.prototype.forEach=function(i,t){var r=this;return new(t=se(t))(function(t,e){var n=r.subscribe(function(t){try{i(t)}catch(t){e(t),null==n||n.unsubscribe()}},e,t)})},ae.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},ae.prototype[ie]=function(){return this},ae.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?re:1===e.length?e[0]:function(t){return e.reduce(function(t,e){return e(t)},t)})(this)},ae.prototype.toPromise=function(t){var i=this;return new(t=se(t))(function(t,e){var n;i.subscribe(function(t){return n=t},function(t){return e(t)},function(){return t(n)})})},ae.create=function(t){return new ae(t)},ae);function ae(t){t&&(this._subscribe=t)}function se(t){return null!==(t=null!=t?t:jt)&&void 0!==t?t:Promise}var le,ue,ce,de=Ot(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),fe=(It(ve,ce=oe),ve.prototype.lift=function(t){var e=new he(this,this);return e.operator=t,e},ve.prototype._throwIfClosed=function(){if(this.closed)throw new de},ve.prototype.next=function(o){var a=this;zt(function(){var e,t;if(a._throwIfClosed(),!a.isStopped){var n=a.observers.slice();try{for(var i=Dt(n),r=i.next();!r.done;r=i.next())r.value.next(o)}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}}})},ve.prototype.error=function(e){var n=this;zt(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=e;for(var t=n.observers;t.length;)t.shift().error(e)}})},ve.prototype.complete=function(){var e=this;zt(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},ve.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(ve.prototype,"observed",{get:function(){var t;return 0<(null===(t=this.observers)||void 0===t?void 0:t.length)},enumerable:!1,configurable:!0}),ve.prototype._trySubscribe=function(t){return this._throwIfClosed(),ce.prototype._trySubscribe.call(this,t)},ve.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},ve.prototype._innerSubscribe=function(t){var e=this.hasError,n=this.isStopped,i=this.observers;return e||n?Ut:(i.push(t),new Ft(function(){return Yt(i,t)}))},ve.prototype._checkFinalizedStatuses=function(t){var e=this.hasError,n=this.thrownError,i=this.isStopped;e?t.error(n):i&&t.complete()},ve.prototype.asObservable=function(){var t=new oe;return t.source=this,t},ve.create=function(t,e){return new he(t,e)},ve),he=(It(ge,ue=fe),ge.prototype.next=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)},ge.prototype.error=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)},ge.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},ge.prototype._subscribe=function(t){var e;return null!==(t=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==t?t:Ut},ge),pe={now:function(){return(pe.delegate||Date).now()},delegate:void 0},me=(It(ye,le=fe),ye.prototype.next=function(t){var e=this,n=e.isStopped,i=e._buffer,r=e._infiniteTimeWindow,o=e._timestampProvider,e=e._windowTime;n||(i.push(t),r||i.push(o.now()+e)),this._trimBuffer(),le.prototype.next.call(this,t)},ye.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),n=this._infiniteTimeWindow,i=this._buffer.slice(),r=0;r<i.length&&!t.closed;r+=n?1:2)t.next(i[r]);return this._checkFinalizedStatuses(t),e},ye.prototype._trimBuffer=function(){var t=this._bufferSize,e=this._timestampProvider,n=this._buffer,i=this._infiniteTimeWindow,r=(i?1:2)*t;if(t<1/0&&r<n.length&&n.splice(0,n.length-r),!i){for(var o=e.now(),a=0,s=1;s<n.length&&n[s]<=o;s+=2)a=s;a&&n.splice(0,a+1)}},ye);function ye(t,e,n){void 0===t&&(t=1/0),void 0===e&&(e=1/0),void 0===n&&(n=pe);var i=le.call(this)||this;return i._bufferSize=t,i._windowTime=e,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=e===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,e),i}function ge(t,e){var n=ue.call(this)||this;return n.destination=t,n.source=e,n}function ve(){var t=ce.call(this)||this;return t.closed=!1,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}let we=[],_e={};const be=[];function xe(i,r=z){let o;const a=[];function s(t){if(n(i,t)&&(i=t,o)){const t=!be.length;for(let t=0;t<a.length;t+=1){const e=a[t];e[1](),be.push(e,i)}if(t){for(let t=0;t<be.length;t+=2)be[t][0](be[t+1]);be.length=0}}}return{set:s,update:function(t){s(t(i))},subscribe:function(t,e=z){const n=[t,e];return a.push(n),1===a.length&&(o=r(s)||z),t(i),()=>{var t=a.indexOf(n);-1!==t&&a.splice(t,1),0===a.length&&(o(),o=null)}}}}function Ee(t,s,e){const l=!Array.isArray(t),u=l?[t]:t,c=s.length<2;return{subscribe:xe(e,e=>{let n=!1;const i=[];let r=0,o=z;const a=()=>{var t;r||(o(),t=s(l?i[0]:i,e),c?e(t):o=C(t)?t:z)},t=u.map((t,e)=>f(t,t=>{i[e]=t,r&=~(1<<e),n&&a()},()=>{r|=1<<e}));return n=!0,a(),function(){Z(t),o()}}).subscribe}}var Ce=function(t){return!(!t||"object"!=typeof t||(e=t,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===Te));var e},Te="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Me(t,e){return!1!==e.clone&&e.isMergeableObject(t)?De(Array.isArray(t)?[]:{},t,e):t}function Ae(t,e,n){return t.concat(e).map(function(t){return Me(t,n)})}function Le(t){return Object.keys(t).concat((e=t,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]));var e}function Se(t,e){try{return e in t}catch(t){return!1}}function Ie(i,r,o){var a={};return o.isMergeableObject(i)&&Le(i).forEach(function(t){a[t]=Me(i[t],o)}),Le(r).forEach(function(e){var t,n;(!Se(t=i,n=e)||Object.hasOwnProperty.call(t,n)&&Object.propertyIsEnumerable.call(t,n))&&(Se(i,e)&&o.isMergeableObject(r[e])?a[e]=function(){if(!o.customMerge)return De;var t=o.customMerge(e);return"function"==typeof t?t:De}()(i[e],r[e],o):a[e]=Me(r[e],o))}),a}function De(t,e,n){(n=n||{}).arrayMerge=n.arrayMerge||Ae,n.isMergeableObject=n.isMergeableObject||Ce,n.cloneUnlessOtherwiseSpecified=Me;var i=Array.isArray(e);return i===Array.isArray(t)?i?n.arrayMerge(t,e,n):Ie(t,e,n):Me(e,n)}De.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,e){return De(t,e,n)},{})};var ke=De,Pe=function(t,e){return(Pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function Ne(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Pe(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Oe,Re,Ye,Fe=function(){return(Fe=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function Ue(t,e){for(var n=0,i=e.length,r=t.length;n<i;n++,r++)t[r]=e[n];return t}function Ge(t){return t.type===Re.literal}function We(t){return t.type===Re.number}function $e(t){return t.type===Re.date}function je(t){return t.type===Re.time}function Be(t){return t.type===Re.select}function He(t){return t.type===Re.plural}function Ve(t){return t.type===Re.tag}function ze(t){return t&&"object"==typeof t&&t.type===Ye.number}function Ze(t){return t&&"object"==typeof t&&t.type===Ye.dateTime}(dn=Oe=Oe||{})[dn.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",dn[dn.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",dn[dn.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",dn[dn.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",dn[dn.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",dn[dn.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",dn[dn.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",dn[dn.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",dn[dn.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",dn[dn.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",dn[dn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",dn[dn.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",dn[dn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",dn[dn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",dn[dn.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",dn[dn.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",dn[dn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",dn[dn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",dn[dn.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",dn[dn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",dn[dn.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",dn[dn.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",dn[dn.INVALID_TAG=23]="INVALID_TAG",dn[dn.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",dn[dn.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",dn[dn.UNCLOSED_TAG=27]="UNCLOSED_TAG",(fn=Re=Re||{})[fn.literal=0]="literal",fn[fn.argument=1]="argument",fn[fn.number=2]="number",fn[fn.date=3]="date",fn[fn.time=4]="time",fn[fn.select=5]="select",fn[fn.plural=6]="plural",fn[fn.pound=7]="pound",fn[fn.tag=8]="tag",(hn=Ye=Ye||{})[hn.number=0]="number",hn[hn.dateTime=1]="dateTime";var t=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Xe=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var qe,Je=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Ke=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Qe=/^(@+)?(\+|#+)?$/g,tn=/(\*)(0+)|(#+)(0+)|(0+)/g,en=/^(0+)$/;function nn(t){var i={};return t.replace(Qe,function(t,e,n){return"string"!=typeof n?(i.minimumSignificantDigits=e.length,i.maximumSignificantDigits=e.length):"+"===n?i.minimumSignificantDigits=e.length:"#"===e[0]?i.maximumSignificantDigits=e.length:(i.minimumSignificantDigits=e.length,i.maximumSignificantDigits=e.length+("string"==typeof n?n.length:0)),""}),i}function rn(t){switch(t){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 on(t){return rn(t)||{}}function an(t){for(var a={},e=0,n=t;e<n.length;e++){var i,r=n[e];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=Fe(Fe(Fe({},a),{notation:"scientific"}),r.options.reduce(function(t,e){return Fe(Fe({},t),on(e))},{}));continue;case"engineering":a=Fe(Fe(Fe({},a),{notation:"engineering"}),r.options.reduce(function(t,e){return Fe(Fe({},t),on(e))},{}));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(tn,function(t,e,n,i,r,o){if(e)a.minimumIntegerDigits=n.length;else{if(i&&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(en.test(r.stem))a.minimumIntegerDigits=r.stem.length;else if(Ke.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Ke,function(t,e,n,i,r,o){return"*"===n?a.minimumFractionDigits=e.length:i&&"#"===i[0]?a.maximumFractionDigits=i.length:r&&o?(a.minimumFractionDigits=r.length,a.maximumFractionDigits=r.length+o.length):(a.minimumFractionDigits=e.length,a.maximumFractionDigits=e.length),""}),r.options.length&&(a=Fe(Fe({},a),nn(r.options[0])))}else Qe.test(r.stem)?a=Fe(Fe({},a),nn(r.stem)):((i=rn(r.stem))&&(a=Fe(Fe({},a),i)),(i=function(t){var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var n=t.slice(0,2);if("+!"===n?(e.signDisplay="always",t=t.slice(2)):"+?"===n&&(e.signDisplay="exceptZero",t=t.slice(2)),!en.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}(r.stem))&&(a=Fe(Fe({},a),i)))}return a}var sn=new RegExp("^"+t.source+"*"),ln=new RegExp(t.source+"*$");function un(t,e){return{start:t,end:e}}var cn=!!String.prototype.startsWith,ie=!!String.fromCodePoint,fe=!!Object.fromEntries,dn=!!String.prototype.codePointAt,fn=!!String.prototype.trimStart,hn=!!String.prototype.trimEnd,pn=Number.isSafeInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},t=!0;try{t="a"===(null===(qe=En("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===qe?void 0:qe[0])}catch(z){t=!1}var mn,yn,gn=cn?function(t,e,n){return t.startsWith(e,n)}:function(t,e,n){return t.slice(n,n+e.length)===e},vn=ie?String.fromCodePoint:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n,i="",r=t.length,o=0;o<r;){if(1114111<(n=t[o++]))throw RangeError(n+" is not a valid code point");i+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return i},wn=fe?Object.fromEntries:function(t){for(var e={},n=0,i=t;n<i.length;n++){var r=i[n],o=r[0],r=r[1];e[o]=r}return e},_n=dn?function(t,e){return t.codePointAt(e)}:function(t,e){var n=t.length;if(!(e<0||n<=e)){var i,r=t.charCodeAt(e);return r<55296||56319<r||e+1===n||(i=t.charCodeAt(e+1))<56320||57343<i?r:i-56320+(r-55296<<10)+65536}},bn=fn?function(t){return t.trimStart()}:function(t){return t.replace(sn,"")},xn=hn?function(t){return t.trimEnd()}:function(t){return t.replace(ln,"")};function En(t,e){return new RegExp(t,e)}yn=t?(mn=En("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(t,e){return mn.lastIndex=e,null!==(t=mn.exec(t)[1])&&void 0!==t?t:""}):function(t,e){for(var n,i=[];;){var r=_n(t,e);if(void 0===r||An(r)||(33<=(n=r)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;i.push(r),e+=65536<=r?2:1}return vn.apply(void 0,i)};var Cn=(Tn.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Tn.prototype.parseMessage=function(t,e,n){for(var i=[];!this.isEOF();){var r,o=this.char();if(123===o){if((r=this.parseArgument(t,n)).err)return r;i.push(r.val)}else{if(125===o&&0<t)break;if(35!==o||"plural"!==e&&"selectordinal"!==e){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Oe.UNMATCHED_CLOSING_TAG,un(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Mn(this.peek()||0)){if((r=this.parseTag(t,e)).err)return r;i.push(r.val)}else{if((r=this.parseLiteral(t,e)).err)return r;i.push(r.val)}}else{o=this.clonePosition();this.bump(),i.push({type:Re.pound,location:un(o,this.clonePosition())})}}}return{val:i,err:null}},Tn.prototype.parseTag=function(t,e){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Re.literal,value:"<"+i+"/>",location:un(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(t+1,e,!0);if(r.err)return r;t=r.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Mn(this.char()))return this.error(Oe.INVALID_TAG,un(e,this.clonePosition()));r=this.clonePosition();return i!==this.parseTagName()?this.error(Oe.UNMATCHED_CLOSING_TAG,un(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Re.tag,value:i,children:t,location:un(n,this.clonePosition())},err:null}:this.error(Oe.INVALID_TAG,un(e,this.clonePosition())))}return this.error(Oe.UNCLOSED_TAG,un(n,this.clonePosition()))}return this.error(Oe.INVALID_TAG,un(n,this.clonePosition()))},Tn.prototype.parseTagName=function(){var t,e=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||48<=t&&t<=57||95===t||97<=t&&t<=122||65<=t&&t<=90||183==t||192<=t&&t<=214||216<=t&&t<=246||248<=t&&t<=893||895<=t&&t<=8191||8204<=t&&t<=8205||8255<=t&&t<=8256||8304<=t&&t<=8591||11264<=t&&t<=12271||12289<=t&&t<=55295||63744<=t&&t<=64975||65008<=t&&t<=65533||65536<=t&&t<=983039);)this.bump();return this.message.slice(e,this.offset())},Tn.prototype.parseLiteral=function(t,e){for(var n=this.clonePosition(),i="";;){var r=this.tryParseQuote(e);if(r)i+=r;else{r=this.tryParseUnquoted(t,e);if(r)i+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;i+=r}}}n=un(n,this.clonePosition());return{val:{type:Re.literal,value:i,location:n},err:null}},Tn.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Mn(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},Tn.prototype.tryParseQuote=function(t){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"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var e=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(n);this.bump()}return vn.apply(void 0,e)},Tn.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===e||"selectordinal"===e)||125===n&&0<t?null:(this.bump(),vn(n))},Tn.prototype.parseArgument=function(t,e){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Oe.EXPECT_ARGUMENT_CLOSING_BRACE,un(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Oe.EMPTY_ARGUMENT,un(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(Oe.MALFORMED_ARGUMENT,un(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Oe.EXPECT_ARGUMENT_CLOSING_BRACE,un(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Re.argument,value:i,location:un(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Oe.EXPECT_ARGUMENT_CLOSING_BRACE,un(n,this.clonePosition())):this.parseArgumentOptions(t,e,i,n);default:return this.error(Oe.MALFORMED_ARGUMENT,un(n,this.clonePosition()))}},Tn.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),n=yn(this.message,e),e=e+n.length;return this.bumpTo(e),{value:n,location:un(t,this.clonePosition())}},Tn.prototype.parseArgumentOptions=function(t,e,n,i){var r,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(Oe.EXPECT_ARGUMENT_TYPE,un(o,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((f=this.parseSimpleArgStyleIfPossible()).err)return f;if(0===(d=xn(f.val)).length)return this.error(Oe.EXPECT_ARGUMENT_STYLE,un(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:un(u,this.clonePosition())}}if((h=this.tryParseArgumentClose(i)).err)return h;var c=un(i,this.clonePosition());if(l&&gn(null==l?void 0:l.style,"::",0)){u=bn(l.style.slice(2));if("number"===a)return(f=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?f:{val:{type:Re.number,value:n,location:c,style:f.val},err:null};if(0===u.length)return this.error(Oe.EXPECT_DATE_TIME_SKELETON,c);var d={type:Ye.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},u.replace(Xe,function(t){var e=t.length;switch(t[0]){case"G":r.era=4===e?"long":5===e?"narrow":"short";break;case"y":r.year=2===e?"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"][e-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][e-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!==e&&5===e?"narrow":"short";break;case"e":if(e<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][e-4];break;case"c":if(e<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][e-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"][e-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][e-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][e-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][e-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"][e-1];break;case"s":r.second=["numeric","2-digit"][e-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=e<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?Re.date:Re.time,value:n,location:c,style:d},err:null}}return{val:{type:"number"===a?Re.number:"date"===a?Re.date:Re.time,value:n,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(Oe.EXPECT_SELECT_ARGUMENT_OPTIONS,un(l,Fe({},l)));this.bumpSpace();var f,c=this.parseIdentifierIfPossible(),l=0;if("select"!==a&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(Oe.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,un(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(f=this.tryParseDecimalInteger(Oe.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Oe.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return f;this.bumpSpace(),c=this.parseIdentifierIfPossible(),l=f.val}c=this.tryParsePluralOrSelectOptions(t,a,e,c);if(c.err)return c;if((h=this.tryParseArgumentClose(i)).err)return h;var h=un(i,this.clonePosition());return"select"===a?{val:{type:Re.select,value:n,options:wn(c.val),location:h},err:null}:{val:{type:Re.plural,value:n,options:wn(c.val),offset:l,pluralType:"plural"===a?"cardinal":"ordinal",location:h},err:null};default:return this.error(Oe.INVALID_ARGUMENT_TYPE,un(o,s))}},Tn.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(Oe.EXPECT_ARGUMENT_CLOSING_BRACE,un(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},Tn.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Oe.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,un(n,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(0<t))return{val:this.message.slice(e.offset,this.offset()),err:null};--t;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}},Tn.prototype.parseNumberSkeletonFromString=function(t,e){var n=[];try{n=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var e=[],n=0,i=t.split(Je).filter(function(t){return 0<t.length});n<i.length;n++){var r=i[n].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");e.push({stem:o,options:r})}return e}(t)}catch(t){return this.error(Oe.INVALID_NUMBER_SKELETON,e)}return{val:{type:Ye.number,tokens:n,location:e,parsedOptions:this.shouldParseSkeletons?an(n):{}},err:null}},Tn.prototype.tryParsePluralOrSelectOptions=function(t,e,n,i){for(var r=!1,o=[],a=new Set,s=i.value,l=i.location;;){if(0===s.length){var u=this.clonePosition();if("select"===e||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(Oe.EXPECT_PLURAL_ARGUMENT_SELECTOR,Oe.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=un(u,this.clonePosition()),s=this.message.slice(u.offset,this.offset())}if(a.has(s))return this.error("select"===e?Oe.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Oe.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(r=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?Oe.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Oe.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,un(this.clonePosition(),this.clonePosition()));c=this.parseMessage(t+1,e,n);if(c.err)return c;u=this.tryParseArgumentClose(d);if(u.err)return u;o.push([s,{value:c.val,location:un(d,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===o.length?this.error("select"===e?Oe.EXPECT_SELECT_ARGUMENT_SELECTOR:Oe.EXPECT_PLURAL_ARGUMENT_SELECTOR,un(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(Oe.MISSING_OTHER_CLAUSE,un(this.clonePosition(),this.clonePosition())):{val:o,err:null}},Tn.prototype.tryParseDecimalInteger=function(t,e){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-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()}i=un(i,this.clonePosition());return r?pn(o*=n)?{val:o,err:null}:this.error(e,i):this.error(t,i)},Tn.prototype.offset=function(){return this.position.offset},Tn.prototype.isEOF=function(){return this.offset()===this.message.length},Tn.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Tn.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=_n(this.message,t);if(void 0===e)throw Error("Offset "+t+" is at invalid UTF-16 code unit boundary");return e},Tn.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},Tn.prototype.bump=function(){var t;this.isEOF()||(10===(t=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2))},Tn.prototype.bumpIf=function(t){if(gn(this.message,t,this.offset())){for(var e=0;e<t.length;e++)this.bump();return!0}return!1},Tn.prototype.bumpUntil=function(t){var e=this.offset(),e=this.message.indexOf(t,e);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},Tn.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset "+t+" must be greater than or equal to the current offset "+this.offset());for(t=Math.min(t,this.message.length);;){var e=this.offset();if(e===t)break;if(t<e)throw Error("targetOffset "+t+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},Tn.prototype.bumpSpace=function(){for(;!this.isEOF()&&An(this.char());)this.bump()},Tn.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this.offset(),t=this.message.charCodeAt(e+(65536<=t?2:1));return null!=t?t:null},Tn);function Tn(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}function Mn(t){return 97<=t&&t<=122||65<=t&&t<=90}function An(t){return 9<=t&&t<=13||32===t||133===t||8206<=t&&t<=8207||8232===t||8233===t}function Ln(t,e){e=Fe({shouldParseSkeletons:!0,requiresOtherClause:!0},e=void 0===e?{}:e);var n=new Cn(t,e).parse();if(n.err){t=SyntaxError(Oe[n.err.kind]);throw t.location=n.err.location,t.originalMessage=n.err.message,t}return null!=e&&e.captureLocation||function n(t){t.forEach(function(t){if(delete t.location,Be(t)||He(t))for(var e in t.options)delete t.options[e].location,n(t.options[e].value);else We(t)&&ze(t.style)||($e(t)||je(t))&&Ze(t.style)?delete t.style.location:Ve(t)&&n(t.children)})}(n.val),n.val}function Sn(t,e){var n=e&&e.cache?e.cache:Yn,i=e&&e.serializer?e.serializer:Nn;return(e&&e.strategy?e.strategy:function(t,e){return Pn(t,this,1===t.length?In:kn,e.cache.create(),e.serializer)})(t,{cache:n,serializer:i})}function In(t,e,n,i){var r=null==i||"number"==typeof i||"boolean"==typeof i?i:n(i),n=e.get(r);return void 0===n&&(n=t.call(this,i),e.set(r,n)),n}function kn(t,e,n){var i=Array.prototype.slice.call(arguments,3),r=n(i),n=e.get(r);return void 0===n&&(n=t.apply(this,i),e.set(r,n)),n}function Pn(t,e,n,i,r){return n.bind(e,t,i,r)}var Nn=function(){return JSON.stringify(arguments)};function On(){this.cache=Object.create(null)}On.prototype.has=function(t){return t in this.cache},On.prototype.get=function(t){return this.cache[t]},On.prototype.set=function(t,e){this.cache[t]=e};var Rn,Yn={create:function(){return new On}},Fn={variadic:function(t,e){return Pn(t,this,kn,e.cache.create(),e.serializer)},monadic:function(t,e){return Pn(t,this,In,e.cache.create(),e.serializer)}};(t=Rn=Rn||{}).MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API";var Un,Gn,Wn,$n,jn,Bn=(Ne(Jn,jn=Error),Jn.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Jn),Hn=(Ne(qn,$n=Bn),qn),Vn=(Ne(Xn,Wn=Bn),Xn),zn=(Ne(Zn,Gn=Bn),Zn);function Zn(t,e){return Gn.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+e+'"',Rn.MISSING_VALUE,e)||this}function Xn(t,e,n){return Wn.call(this,'Value for "'+t+'" must be of type '+e,Rn.INVALID_VALUE,n)||this}function qn(t,e,n,i){return $n.call(this,'Invalid values for "'+t+'": "'+e+'". Options are "'+Object.keys(n).join('", "')+'"',Rn.INVALID_VALUE,i)||this}function Jn(t,e,n){t=jn.call(this,t)||this;return t.code=e,t.originalMessage=n,t}function Kn(t,e,n,i,r,o,a){if(1===t.length&&Ge(t[0]))return[{type:Un.literal,value:t[0].value}];for(var s=[],l=0,u=t;l<u.length;l++){var c=u[l];if(Ge(c))s.push({type:Un.literal,value:c.value});else if(c.type===Re.pound)"number"==typeof o&&s.push({type:Un.literal,value:n.getNumberFormat(e).format(o)});else{var d=c.value;if(!(r&&d in r))throw new zn(d,a);var f=r[d];if(c.type===Re.argument)f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),s.push({type:"string"==typeof f?Un.literal:Un.object,value:f});else if($e(c)){var h="string"==typeof c.style?i.date[c.style]:Ze(c.style)?c.style.parsedOptions:void 0;s.push({type:Un.literal,value:n.getDateTimeFormat(e,h).format(f)})}else if(je(c))h="string"==typeof c.style?i.time[c.style]:Ze(c.style)?c.style.parsedOptions:void 0,s.push({type:Un.literal,value:n.getDateTimeFormat(e,h).format(f)});else if(We(c))(h="string"==typeof c.style?i.number[c.style]:ze(c.style)?c.style.parsedOptions:void 0)&&h.scale&&(f*=h.scale||1),s.push({type:Un.literal,value:n.getNumberFormat(e,h).format(f)});else{if(Ve(c)){var p=c.children,m=c.value,d=r[m];if("function"!=typeof d)throw new Vn(m,"function",a);p=d(Kn(p,e,n,i,r,o).map(function(t){return t.value}));Array.isArray(p)||(p=[p]),s.push.apply(s,p.map(function(t){return{type:"string"==typeof t?Un.literal:Un.object,value:t}}))}if(Be(c)){if(!(y=c.options[f]||c.options.other))throw new Hn(c.value,f,Object.keys(c.options),a);s.push.apply(s,Kn(y.value,e,n,i,r))}else if(He(c)){if(!(y=c.options["="+f])){if(!Intl.PluralRules)throw new Bn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Rn.MISSING_INTL_API,a);var p=n.getPluralRules(e,{type:c.pluralType}).select(f-(c.offset||0)),y=c.options[p]||c.options.other}if(!y)throw new Hn(c.value,f,Object.keys(c.options),a);s.push.apply(s,Kn(y.value,e,n,i,r,f-(c.offset||0)))}}}}return s.length<2?s:s.reduce(function(t,e){var n=t[t.length-1];return n&&n.type===Un.literal&&e.type===Un.literal?n.value+=e.value:t.push(e),t},[])}function Qn(n){return{create:function(){return{has:function(t){return t in n},get:function(t){return n[t]},set:function(t,e){n[t]=e}}}}}(t=Un=Un||{})[t.literal=0]="literal",t[t.object=1]="object";var ti=(Object.defineProperty(ei,"defaultLocale",{get:function(){return ei.memoizedDefaultLocale||(ei.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),ei.memoizedDefaultLocale},enumerable:!1,configurable:!0}),ei.memoizedDefaultLocale=null,ei.__parse=Ln,ei.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"}}},ei);function ei(t,e,n,i){var r,o,a=this;if(void 0===e&&(e=ei.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){t=a.formatToParts(t);if(1===t.length)return t[0].value;t=t.reduce(function(t,e){return t.length&&e.type===Un.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t},[]);return t.length<=1?t[0]||"":t},this.formatToParts=function(t){return Kn(a.ast,a.locales,a.formatters,a.formats,t,void 0,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof t){if(this.message=t,!ei.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=ei.__parse(t,{ignoreTag:null==i?void 0:i.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(r=ei.formats,(o=n)?Object.keys(r).reduce(function(t,e){var n,i;return t[e]=(n=r[e],(i=o[e])?Fe(Fe(Fe({},n||{}),i||{}),Object.keys(n).reduce(function(t,e){return t[e]=Fe(Fe({},n[e]),i[e]||{}),t},{})):n),t},Fe({},r)):r),this.locales=e,this.formatters=i&&i.formatters||{getNumberFormat:Sn(function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Ue([void 0],e)))},{cache:Qn((i=void 0===(i=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:i).number),strategy:Fn.variadic}),getDateTimeFormat:Sn(function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Ue([void 0],e)))},{cache:Qn(i.dateTime),strategy:Fn.variadic}),getPluralRules:Sn(function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Ue([void 0],e)))},{cache:Qn(i.pluralRules),strategy:Fn.variadic})}}const ni={},ii=(e,n)=>{if(null!=n){if(n in ni&&e in ni[n])return ni[n][e];var i,r,o=wi(n);for(let t=0;t<o.length;t++){var a=(i=o[t],r=e,ai(i)?function(t,e){if(e in t)return t[e];const n=e.split(".");let i=t;for(let t=0;t<n.length;t++)if("object"==typeof i){if(0<t){const e=n.slice(t,n.length).join(".");if(e in i){i=i[e];break}}i=i[n[t]]}else i=void 0;return i}(function(t){return ri[t]||null}(i),r):null);if(a)return i=e,r=n,(a=a)&&(r in ni||(ni[r]={}),i in ni[r]||(ni[r][i]=a),a)}}};let ri;const oi=xe({});function ai(t){return t in ri}function si(e,...n){delete ni[e],oi.update(t=>(t[e]=ke.all([t[e]||{},...n]),t))}Ee([oi],([t])=>Object.keys(t)),oi.subscribe(t=>ri=t);const li={};function ui(t){return li[t]}function ci(t){return wi(t).some(t=>{return null===(t=ui(t))||void 0===t?void 0:t.size})}const di={};function fi(t){if(!ci(t))return t in di?di[t]:void 0;const e=wi(t).map(t=>{var e=ui(t);return[t,e?[...e]:[]]}).filter(([,t])=>0<t.length);return di[t]=Promise.all(e.map(([t,n])=>function(e){return Promise.all(n.map(t=>(function(t,e){li[t].delete(e),0===li[t].size&&delete li[t]}(e,t),t().then(t=>t.default||t)))).then(t=>si(e,...t))}(t))).then(()=>ci(t)?fi(t):void delete di[t]),di[t]}function hi(t,e){var n={};for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}const pi={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 mi=xe(!1);let yi;const gi=xe(null);function vi(t){return t.split("-").map((t,e,n)=>n.slice(0,e+1).join("-")).reverse()}function wi(t,e=pi.fallbackLocale){t=vi(t);return e?[...new Set([...t,...vi(e)])]:t}gi.subscribe(t=>{yi=t,"undefined"!=typeof window&&null!==t&&document.documentElement.setAttribute("lang",t)});const _i=gi.set;gi.set=e=>{if(function(t){if(null!=t){var e=wi(t);for(let t=0;t<e.length;t++){var n=e[t];if(ai(n))return n}}}(e)&&ci(e)){var{loadingDelay:n}=pi;let t;return"undefined"!=typeof window&&null!=yi&&n?t=window.setTimeout(()=>mi.set(!0),n):mi.set(!0),fi(e).then(()=>{_i(e)}).finally(()=>{clearTimeout(t),mi.set(!1)})}return _i(e)},gi.update=t=>_i(t(yi));const bi=n=>{const i=Object.create(null);return t=>{var e=JSON.stringify(t);return e in i?i[e]:i[e]=n(t)}},xi=(t,e)=>{var{formats:n}=pi;if(t in n&&e in n[t])return n[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Ei=bi(t=>{var{locale:e,format:n}=t,t=hi(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(t=xi("number",n)),new Intl.NumberFormat(e,t)}),Ci=bi(t=>{var{locale:e,format:n}=t,t=hi(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?t=xi("date",n):0===Object.keys(t).length&&(t=xi("date","short")),new Intl.DateTimeFormat(e,t)}),Ti=bi(t=>{var{locale:e,format:n}=t,t=hi(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?t=xi("time",n):0===Object.keys(t).length&&(t=xi("time","short")),new Intl.DateTimeFormat(e,t)}),Mi=bi((t,e=yi)=>new ti(t,e,pi.formats,{ignoreTag:pi.ignoreTag})),Ai=Ee([gi,oi],()=>(t,e={})=>{"object"==typeof t&&(t=(e=t).id);var{values:n,locale:i=yi,default:r}=e;if(null==i)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let o=ii(t,i);if(o){if("string"!=typeof o)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof o}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),o}else pi.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${t}" was not found in "${wi(i).join('", "')}".${ci(yi)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),o=r||t;if(!n)return o;let a=o;try{a=Mi(o,i).format(n)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return a});Ee([gi],()=>(t,e)=>((t={})=>{var{locale:e=yi}=t,t=hi(t,["locale"]);return Ti(Object.assign({locale:e},t))})(e).format(t)),Ee([gi],()=>(t,e)=>((t={})=>{var{locale:e=yi}=t,t=hi(t,["locale"]);return Ci(Object.assign({locale:e},t))})(e).format(t)),Ee([gi],()=>(t,e)=>((t={})=>{var{locale:e=yi}=t,t=hi(t,["locale"]);return Ei(Object.assign({locale:e},t))})(e).format(t)),Ee([gi,oi],()=>(t,e=yi)=>ii(t,e)),window.emWidgets={topic:(t,e=0)=>{return-1==we.indexOf(t)&&(e=new me(e),_e[t]=e,we.push(t)),_e[t]}};const Li=t=>t.toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",Si={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ă"}}},Ii={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ă. "}}};function Di(n){let i,r,o,a,s,l,u,c,d,f,h,p,m,y,g,v=n[3]("popupText.name")+"";function w(t){return t[0]?Pi:ki}let _=w(n),b=_(n);return{c(){i=K("section"),r=K("div"),o=K("div"),a=K("div"),a.textContent="i",s=tt(),l=K("div"),u=Q(v),c=tt(),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>',f=tt(),h=K("div"),b.c(),it(a,"class","InfoCardPopupIcon"),it(a,"part","InfoCardPopupIcon"),it(l,"class","InfoCardPopupTitle"),it(l,"part","InfoCardPopupTitle"),it(d,"class","InfoCardPopupCloseButton"),it(d,"part","InfoCardPopupCloseButton"),it(o,"class","InfoCardPopupHeader"),it(o,"part","InfoCardPopupHeader"),it(h,"class","InfoCardPopupContentArea"),it(h,"part","InfoCardPopupContentArea"),it(r,"class",p="InfoCardPopupWrapper "+(n[4]?"InfoCardPopupMobileWrapper":"")+" "+(n[0]?"InfoCardPopupLimitChanged":"")),it(r,"part",m="InfoCardPopupWrapper "+(n[4]?"InfoCardPopupMobileWrapper":"")+" "+(n[0]?"InfoCardPopupLimitChanged":"")),it(i,"class",n[4]?"InfoCardPopupMobileModal":""),it(i,"part",n[4]?"InfoCardPopupMobileModal":"")},m(t,e){q(t,i,e),X(i,r),X(r,o),X(o,a),X(o,s),X(o,l),X(l,u),X(o,c),X(o,d),X(r,f),X(r,h),b.m(h,null),y||(g=et(d,"click",nt(n[5])),y=!0)},p(t,e){8&e&&v!==(v=t[3]("popupText.name")+"")&&ot(u,v),_===(_=w(t))&&b?b.p(t,e):(b.d(1),b=_(t),b&&(b.c(),b.m(h,null))),1&e&&p!==(p="InfoCardPopupWrapper "+(t[4]?"InfoCardPopupMobileWrapper":"")+" "+(t[0]?"InfoCardPopupLimitChanged":""))&&it(r,"class",p),1&e&&m!==(m="InfoCardPopupWrapper "+(t[4]?"InfoCardPopupMobileWrapper":"")+" "+(t[0]?"InfoCardPopupLimitChanged":""))&&it(r,"part",m)},d(t){t&&J(i),b.d(),y=!1,g()}}}function ki(t){let n,i,r=t[3]("popupText.defaultText")+"";return{c(){n=K("p"),i=Q(r),it(n,"class","InfoCardPopupContent"),it(n,"part","InfoCardPopupContent")},m(t,e){q(t,n,e),X(n,i)},p(t,e){8&e&&r!==(r=t[3]("popupText.defaultText")+"")&&ot(i,r)},d(t){t&&J(n)}}}function Pi(t){let n,i,r=t[3]("popupText.amountChanged",{values:{amount:t[0],currency:t[1]}})+"";return{c(){n=K("p"),i=Q(r),it(n,"class","InfoCardPopupContent"),it(n,"part","InfoCardPopupContent")},m(t,e){q(t,n,e),X(n,i)},p(t,e){11&e&&r!==(r=t[3]("popupText.amountChanged",{values:{amount:t[0],currency:t[1]}})+"")&&ot(i,r)},d(t){t&&J(n)}}}function Ni(t){let n,i=t[2]&&Di(t);return{c(){i&&i.c(),n=_(),this.c=z},m(t,e){i&&i.m(t,e),q(t,n,e)},p(t,[e]){t[2]?i?i.p(t,e):(i=Di(t),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},i:z,o:z,d(t){i&&i.d(t),t&&J(n)}}}function Oi(e,t,n){let i;F(e,Ai,t=>n(3,i=t));let{showpopup:r=""}=t,{iteminfoamount:o=""}=t,{lang:a="en"}=t,{playercurrency:s="USD"}=t;Object.keys(Ii).forEach(t=>{si(t,Ii[t])});let l=!1,u=window.navigator.userAgent,c="PC"!==Li(u);const d=t=>{t.data&&"ClosePlayerAccountGamingLimitsPopup"==t.data.type&&n(2,l=!1)};return W(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)})),e.$$set=t=>{"showpopup"in t&&n(6,r=t.showpopup),"iteminfoamount"in t&&n(0,o=t.iteminfoamount),"lang"in t&&n(7,a=t.lang),"playercurrency"in t&&n(1,s=t.playercurrency)},e.$$.update=()=>{var t;192&e.$$.dirty&&r&&a&&(t=a,gi.set(t),o<0&&n(0,o="0"),n(2,l=r))},[o,s,l,i,c,()=>{n(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(t){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);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:0px 4px 12px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:0.3125;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%)}.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:i(this.attributes),customElement:!0},Oi,Ni,n,{showpopup:6,iteminfoamount:0,lang:7,playercurrency:1}),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["showpopup","iteminfoamount","lang","playercurrency"]}get showpopup(){return this.$$.ctx[6]}set showpopup(t){this.$set({showpopup:t}),k()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(t){this.$set({iteminfoamount:t}),k()}get lang(){return this.$$.ctx[7]}set lang(t){this.$set({lang:t}),k()}get playercurrency(){return this.$$.ctx[1]}set playercurrency(t){this.$set({playercurrency:t}),k()}});const Ri={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."}}};var Yi,Fi,Ui=(Fi=Yi={path:void 0,exports:{},require:function(t,e){return Dn(null==e&&Yi.path)}},Yi.exports,Fi.exports=function(){var t;function p(){return t.apply(null,arguments)}function a(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function s(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function h(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;for(var e in t)if(h(t,e))return;return 1}function o(t){return void 0===t}function u(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function r(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function i(t,e){for(var n=[],i=0;i<t.length;++i)n.push(e(t[i],i));return n}function c(t,e){for(var n in e)h(e,n)&&(t[n]=e[n]);return h(e,"toString")&&(t.toString=e.toString),h(e,"valueOf")&&(t.valueOf=e.valueOf),t}function d(t,e,n,i){return Se(t,e,n,i,!0).utc()}function m(t){return null==t._pf&&(t._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}),t._pf}function f(t){if(null==t._isValid){var e=m(t),n=g.call(e.parsedDateParts,function(t){return null!=t}),n=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(n=n&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return n;t._isValid=n}return t._isValid}function y(t){var e=d(NaN);return null!=t?c(m(e),t):m(e).userInvalidated=!0,e}var g=Array.prototype.some||function(t){for(var e=Object(this),n=e.length>>>0,i=0;i<n;i++)if(i in e&&t.call(this,e[i],i,e))return!0;return!1},v=p.momentProperties=[],e=!1;function w(t,e){var n,i,r;if(o(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),o(e._i)||(t._i=e._i),o(e._f)||(t._f=e._f),o(e._l)||(t._l=e._l),o(e._strict)||(t._strict=e._strict),o(e._tzm)||(t._tzm=e._tzm),o(e._isUTC)||(t._isUTC=e._isUTC),o(e._offset)||(t._offset=e._offset),o(e._pf)||(t._pf=m(e)),o(e._locale)||(t._locale=e._locale),0<v.length)for(n=0;n<v.length;n++)o(r=e[i=v[n]])||(t[i]=r);return t}function _(t){w(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===e&&(e=!0,p.updateOffset(this),e=!1)}function b(t){return t instanceof _||null!=t&&null!=t._isAMomentObject}function x(t){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function n(r,o){var a=!0;return c(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,r),a){for(var t,e,n=[],i=0;i<arguments.length;i++){if(t="","object"==typeof arguments[i]){for(e in t+="\n["+i+"] ",arguments[0])h(arguments[0],e)&&(t+=e+": "+arguments[0][e]+", ");t=t.slice(0,-2)}else t=arguments[i];n.push(t)}x(r+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),a=!1}return o.apply(this,arguments)},o)}var E={};function C(t,e){null!=p.deprecationHandler&&p.deprecationHandler(t,e),E[t]||(x(e),E[t]=!0)}function T(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function M(t,e){var n,i=c({},t);for(n in e)h(e,n)&&(s(t[n])&&s(e[n])?(i[n]={},c(i[n],t[n]),c(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)h(t,n)&&!h(e,n)&&s(t[n])&&(i[n]=c({},i[n]));return i}function A(t){null!=t&&this.set(t)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var L=Object.keys||function(t){var e,n=[];for(e in t)h(t,e)&&n.push(e);return n};function S(t,e,n){var i=""+Math.abs(t);return(0<=t?n?"+":"":"-")+Math.pow(10,Math.max(0,e-i.length)).toString().substr(1)+i}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 N(t,e,n,i){var r="string"==typeof i?function(){return this[i]()}:i;t&&(P[t]=r),e&&(P[e[0]]=function(){return S(r.apply(this,arguments),e[1],e[2])}),n&&(P[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function O(t,e){return t.isValid()?(e=R(e,t.localeData()),k[e]=k[e]||function(i){for(var t,r=i.match(I),e=0,o=r.length;e<o;e++)P[r[e]]?r[e]=P[r[e]]:r[e]=(t=r[e]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){for(var e="",n=0;n<o;n++)e+=T(r[n])?r[n].call(t,i):r[n];return e}}(e),k[e](t)):t.localeData().invalidDate()}function R(t,e){var n=5;function i(t){return e.longDateFormat(t)||t}for(D.lastIndex=0;0<=n&&D.test(t);)t=t.replace(D,i),D.lastIndex=0,--n;return t}var Y={};function F(t,e){var n=t.toLowerCase();Y[n]=Y[n+"s"]=Y[e]=t}function U(t){return"string"==typeof t?Y[t]||Y[t.toLowerCase()]:void 0}function G(t){var e,n,i={};for(n in t)h(t,n)&&(e=U(n))&&(i[e]=t[n]);return i}var W={};function $(t,e){W[t]=e}function j(t){return t%4==0&&t%100!=0||t%400==0}function B(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function H(t){var e=+t,t=0;return t=0!=e&&isFinite(e)?B(e):t}function V(e,n){return function(t){return null!=t?(Z(this,e,t),p.updateOffset(this,n),this):z(this,e)}}function z(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Z(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&j(t.year())&&1===t.month()&&29===t.date()?(n=H(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),Lt(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}var X=/\d/,q=/\d\d/,J=/\d{3}/,K=/\d{4}/,Q=/[+-]?\d{6}/,tt=/\d\d?/,et=/\d\d\d\d?/,nt=/\d\d\d\d\d\d?/,it=/\d{1,3}/,rt=/\d{1,4}/,ot=/[+-]?\d{1,6}/,at=/\d+/,st=/[+-]?\d+/,lt=/Z|[+-]\d\d:?\d\d/gi,ut=/Z|[+-]\d\d(?::?\d\d)?/gi,ct=/[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 dt(t,n,i){pt[t]=T(n)?n:function(t,e){return t&&i?i:n}}function ft(t,e){return h(pt,t)?pt[t](e._strict,e._locale):new RegExp(ht(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r})))}function ht(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var pt={},mt={};function yt(t,n){var e,i=n;for("string"==typeof t&&(t=[t]),u(n)&&(i=function(t,e){e[n]=H(t)}),e=0;e<t.length;e++)mt[t[e]]=i}function gt(t,r){yt(t,function(t,e,n,i){n._w=n._w||{},r(t,n._w,n,i)})}var vt,wt=0,_t=1,bt=2,xt=3,Et=4,Ct=5,Tt=6,Mt=7,At=8;function Lt(t,e){if(isNaN(t)||isNaN(e))return NaN;var n,n=(e%(n=12)+n)%n;return t+=(e-n)/12,1==n?j(t)?29:28:31-n%7%2}vt=Array.prototype.indexOf||function(t){for(var e=0;e<this.length;++e)if(this[e]===t)return e;return-1},N("M",["MM",2],"Mo",function(){return this.month()+1}),N("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),N("MMMM",0,0,function(t){return this.localeData().months(this,t)}),F("month","M"),$("month",8),dt("M",tt),dt("MM",tt,q),dt("MMM",function(t,e){return e.monthsShortRegex(t)}),dt("MMMM",function(t,e){return e.monthsRegex(t)}),yt(["M","MM"],function(t,e){e[_t]=H(t)-1}),yt(["MMM","MMMM"],function(t,e,n,i){i=n._locale.monthsParse(t,i,n._strict);null!=i?e[_t]=i:m(n).invalidMonth=t});var St="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),It="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Dt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,kt=ct,Pt=ct;function Nt(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=H(e);else if(!u(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),Lt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function Ot(t){return null!=t?(Nt(this,t),p.updateOffset(this,!0),this):z(this,"Month")}function Rt(){function t(t,e){return e.length-t.length}for(var e,n=[],i=[],r=[],o=0;o<12;o++)e=d([2e3,o]),n.push(this.monthsShort(e,"")),i.push(this.months(e,"")),r.push(this.months(e,"")),r.push(this.monthsShort(e,""));for(n.sort(t),i.sort(t),r.sort(t),o=0;o<12;o++)n[o]=ht(n[o]),i[o]=ht(i[o]);for(o=0;o<24;o++)r[o]=ht(r[o]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Yt(t){return j(t)?366:365}N("Y",0,0,function(){var t=this.year();return t<=9999?S(t,4):"+"+t}),N(0,["YY",2],0,function(){return this.year()%100}),N(0,["YYYY",4],0,"year"),N(0,["YYYYY",5],0,"year"),N(0,["YYYYYY",6,!0],0,"year"),F("year","y"),$("year",1),dt("Y",st),dt("YY",tt,q),dt("YYYY",rt,K),dt("YYYYY",ot,Q),dt("YYYYYY",ot,Q),yt(["YYYYY","YYYYYY"],wt),yt("YYYY",function(t,e){e[wt]=2===t.length?p.parseTwoDigitYear(t):H(t)}),yt("YY",function(t,e){e[wt]=p.parseTwoDigitYear(t)}),yt("Y",function(t,e){e[wt]=parseInt(t,10)}),p.parseTwoDigitYear=function(t){return H(t)+(68<H(t)?1900:2e3)};var Ft=V("FullYear",!0);function Ut(t,e,n,i,r,o,a){var s;return t<100&&0<=t?(s=new Date(t+400,e,n,i,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,i,r,o,a),s}function Gt(t){var e;return t<100&&0<=t?((e=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,e)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Wt(t,e,n){n=7+e-n;return-(7+Gt(t,0,n).getUTCDay()-e)%7+n-1}function $t(t,e,n,i,r){var o,r=1+7*(e-1)+(7+n-i)%7+Wt(t,i,r),r=r<=0?Yt(o=t-1)+r:r>Yt(t)?(o=t+1,r-Yt(t)):(o=t,r);return{year:o,dayOfYear:r}}function jt(t,e,n){var i,r,o=Wt(t.year(),e,n),o=Math.floor((t.dayOfYear()-o-1)/7)+1;return o<1?i=o+Bt(r=t.year()-1,e,n):o>Bt(t.year(),e,n)?(i=o-Bt(t.year(),e,n),r=t.year()+1):(r=t.year(),i=o),{week:i,year:r}}function Bt(t,e,n){var i=Wt(t,e,n),n=Wt(t+1,e,n);return(Yt(t)-i+n)/7}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),$("week",5),$("isoWeek",5),dt("w",tt),dt("ww",tt,q),dt("W",tt),dt("WW",tt,q),gt(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=H(t)});function Ht(t,e){return t.slice(e,7).concat(t.slice(0,e))}N("d",0,"do","day"),N("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),N("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),N("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),$("day",11),$("weekday",11),$("isoWeekday",11),dt("d",tt),dt("e",tt),dt("E",tt),dt("dd",function(t,e){return e.weekdaysMinRegex(t)}),dt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),dt("dddd",function(t,e){return e.weekdaysRegex(t)}),gt(["dd","ddd","dddd"],function(t,e,n,i){i=n._locale.weekdaysParse(t,i,n._strict);null!=i?e.d=i:m(n).invalidWeekday=t}),gt(["d","e","E"],function(t,e,n,i){e[i]=H(t)});var Vt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),zt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Zt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xt=ct,qt=ct,Jt=ct;function Kt(){function t(t,e){return e.length-t.length}for(var e,n,i,r=[],o=[],a=[],s=[],l=0;l<7;l++)i=d([2e3,1]).day(l),e=ht(this.weekdaysMin(i,"")),n=ht(this.weekdaysShort(i,"")),i=ht(this.weekdays(i,"")),r.push(e),o.push(n),a.push(i),s.push(e),s.push(n),s.push(i);r.sort(t),o.sort(t),a.sort(t),s.sort(t),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 Qt(){return this.hours()%12||12}function te(t,e){N(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function ee(t,e){return e._meridiemParse}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,Qt),N("k",["kk",2],0,function(){return this.hours()||24}),N("hmm",0,0,function(){return""+Qt.apply(this)+S(this.minutes(),2)}),N("hmmss",0,0,function(){return""+Qt.apply(this)+S(this.minutes(),2)+S(this.seconds(),2)}),N("Hmm",0,0,function(){return""+this.hours()+S(this.minutes(),2)}),N("Hmmss",0,0,function(){return""+this.hours()+S(this.minutes(),2)+S(this.seconds(),2)}),te("a",!0),te("A",!1),F("hour","h"),$("hour",13),dt("a",ee),dt("A",ee),dt("H",tt),dt("h",tt),dt("k",tt),dt("HH",tt,q),dt("hh",tt,q),dt("kk",tt,q),dt("hmm",et),dt("hmmss",nt),dt("Hmm",et),dt("Hmmss",nt),yt(["H","HH"],xt),yt(["k","kk"],function(t,e,n){t=H(t);e[xt]=24===t?0:t}),yt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),yt(["h","hh"],function(t,e,n){e[xt]=H(t),m(n).bigHour=!0}),yt("hmm",function(t,e,n){var i=t.length-2;e[xt]=H(t.substr(0,i)),e[Et]=H(t.substr(i)),m(n).bigHour=!0}),yt("hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[xt]=H(t.substr(0,i)),e[Et]=H(t.substr(i,2)),e[Ct]=H(t.substr(r)),m(n).bigHour=!0}),yt("Hmm",function(t,e,n){var i=t.length-2;e[xt]=H(t.substr(0,i)),e[Et]=H(t.substr(i))}),yt("Hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[xt]=H(t.substr(0,i)),e[Et]=H(t.substr(i,2)),e[Ct]=H(t.substr(r))});var ne=V("Hours",!0);var ie,re={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:St,monthsShort:It,week:{dow:0,doy:6},weekdays:Vt,weekdaysMin:Zt,weekdaysShort:zt,meridiemParse:/[ap]\.?m?\.?/i},oe={},ae={};function se(t){return t&&t.toLowerCase().replace("_","-")}function le(t){for(var e,n,i,r,o=0;o<t.length;){for(e=(r=se(t[o]).split("-")).length,n=(n=se(t[o+1]))?n.split("-"):null;0<e;){if(i=ue(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&function(t,e){for(var n=Math.min(t.length,e.length),i=0;i<n;i+=1)if(t[i]!==e[i])return i;return n}(r,n)>=e-1)break;e--}o++}return ie}function ue(e){var t;if(void 0===oe[e]&&Fi&&Fi.exports)try{t=ie._abbr,Dn(),ce(t)}catch(t){oe[e]=null}return oe[e]}function ce(t,e){return t&&((e=o(e)?fe(t):de(t,e))?ie=e:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ie._abbr}function de(t,e){if(null===e)return delete oe[t],null;var n,i=re;if(e.abbr=t,null!=oe[t])C("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."),i=oe[t]._config;else if(null!=e.parentLocale)if(null!=oe[e.parentLocale])i=oe[e.parentLocale]._config;else{if(null==(n=ue(e.parentLocale)))return ae[e.parentLocale]||(ae[e.parentLocale]=[]),ae[e.parentLocale].push({name:t,config:e}),null;i=n._config}return oe[t]=new A(M(i,e)),ae[t]&&ae[t].forEach(function(t){de(t.name,t.config)}),ce(t),oe[t]}function fe(t){var e;if(!(t=t&&t._locale&&t._locale._abbr?t._locale._abbr:t))return ie;if(!a(t)){if(e=ue(t))return e;t=[t]}return le(t)}function he(t){var e=t._a;return e&&-2===m(t).overflow&&(e=e[_t]<0||11<e[_t]?_t:e[bt]<1||e[bt]>Lt(e[wt],e[_t])?bt:e[xt]<0||24<e[xt]||24===e[xt]&&(0!==e[Et]||0!==e[Ct]||0!==e[Tt])?xt:e[Et]<0||59<e[Et]?Et:e[Ct]<0||59<e[Ct]?Ct:e[Tt]<0||999<e[Tt]?Tt:-1,m(t)._overflowDayOfYear&&(e<wt||bt<e)&&(e=bt),m(t)._overflowWeeks&&-1===e&&(e=Mt),m(t)._overflowWeekday&&-1===e&&(e=At),m(t).overflow=e),t}var pe=/^\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)?)?$/,me=/^\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)?)?$/,ye=/Z|[+-]\d\d(?::?\d\d)?/,ge=[["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]],ve=[["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/]],we=/^\/?Date\((-?\d+)/i,_e=/^(?:(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}))$/,be={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xe(t){var e,n,i,r,o,a,s=t._i,l=pe.exec(s)||me.exec(s);if(l){for(m(t).iso=!0,e=0,n=ge.length;e<n;e++)if(ge[e][1].exec(l[1])){r=ge[e][0],i=!1!==ge[e][2];break}if(null==r)return t._isValid=!1;if(l[3]){for(e=0,n=ve.length;e<n;e++)if(ve[e][1].exec(l[3])){o=(l[2]||" ")+ve[e][0];break}if(null==o)return t._isValid=!1}if(!i&&null!=o)return t._isValid=!1;if(l[4]){if(!ye.exec(l[4]))return t._isValid=!1;a="Z"}t._f=r+(o||"")+(a||""),Ae(t)}else t._isValid=!1}function Ee(t,e,n,i,r,o){r=[function(t){t=parseInt(t,10);return t<=49?2e3+t:t<=999?1900+t:t}(t),It.indexOf(e),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return o&&r.push(parseInt(o,10)),r}function Ce(t){var e,n,i,r,o=_e.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(e=Ee(o[4],o[3],o[2],o[5],o[6],o[7]),n=o[1],i=e,r=t,n&&zt.indexOf(n)!==new Date(i[0],i[1],i[2]).getDay()?(m(r).weekdayMismatch=!0,r._isValid=!1):(t._a=e,t._tzm=(r=o[8],e=o[9],o=o[10],r?be[r]:e?0:((e=parseInt(o,10))-(o=e%100))/100*60+o),t._d=Gt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),m(t).rfc2822=!0)):t._isValid=!1}function Te(t,e,n){return null!=t?t:null!=e?e:n}function Me(t){var e,n,i,r,o,a,s,l,u,c,d,f,h=[];if(!t._d){for(d=t,f=new Date(p.now()),n=d._useUTC?[f.getUTCFullYear(),f.getUTCMonth(),f.getUTCDate()]:[f.getFullYear(),f.getMonth(),f.getDate()],t._w&&null==t._a[bt]&&null==t._a[_t]&&(null!=(d=(r=t)._w).GG||null!=d.W||null!=d.E?(l=1,u=4,o=Te(d.GG,r._a[wt],jt(Ie(),1,4).year),a=Te(d.W,1),((s=Te(d.E,1))<1||7<s)&&(c=!0)):(l=r._locale._week.dow,u=r._locale._week.doy,f=jt(Ie(),l,u),o=Te(d.gg,r._a[wt],f.year),a=Te(d.w,f.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>Bt(o,l,u)?m(r)._overflowWeeks=!0:null!=c?m(r)._overflowWeekday=!0:(u=$t(o,a,s,l,u),r._a[wt]=u.year,r._dayOfYear=u.dayOfYear)),null!=t._dayOfYear&&(i=Te(t._a[wt],n[wt]),(t._dayOfYear>Yt(i)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),i=Gt(i,0,t._dayOfYear),t._a[_t]=i.getUTCMonth(),t._a[bt]=i.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=h[e]=n[e];for(;e<7;e++)t._a[e]=h[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[xt]&&0===t._a[Et]&&0===t._a[Ct]&&0===t._a[Tt]&&(t._nextDay=!0,t._a[xt]=0),t._d=(t._useUTC?Gt:Ut).apply(null,h),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[xt]=24),t._w&&void 0!==t._w.d&&t._w.d!==i&&(m(t).weekdayMismatch=!0)}}function Ae(t){if(t._f!==p.ISO_8601)if(t._f!==p.RFC_2822){t._a=[],m(t).empty=!0;for(var e,n,i=""+t._i,r=i.length,o=0,a=R(t._f,t._locale).match(I)||[],s=0;s<a.length;s++)n=a[s],(e=(i.match(ft(n,t))||[])[0])&&(0<(d=i.substr(0,i.indexOf(e))).length&&m(t).unusedInput.push(d),i=i.slice(i.indexOf(e)+e.length),o+=e.length),P[n]?(e?m(t).empty=!1:m(t).unusedTokens.push(n),c=n,f=t,null!=(d=e)&&h(mt,c)&&mt[c](d,f._a,f,c)):t._strict&&!e&&m(t).unusedTokens.push(n);m(t).charsLeftOver=r-o,0<i.length&&m(t).unusedInput.push(i),t._a[xt]<=12&&!0===m(t).bigHour&&0<t._a[xt]&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[xt]=(l=t._locale,u=t._a[xt],null==(r=t._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=m(t).era)&&(t._a[wt]=t._locale.erasConvertYear(u,t._a[wt])),Me(t),he(t)}else Ce(t);else xe(t);var l,u,c,d,f}function Le(t){var e=t._i,n=t._f;return t._locale=t._locale||fe(t._l),null===e||void 0===n&&""===e?y({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),b(e)?new _(he(e)):(r(e)?t._d=e:a(n)?function(t){var e,n,i,r,o,a,s=!1;if(0===t._f.length)return m(t).invalidFormat=!0,t._d=new Date(NaN);for(r=0;r<t._f.length;r++)o=0,a=!1,e=w({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Ae(e),f(e)&&(a=!0),o+=m(e).charsLeftOver,o+=10*m(e).unusedTokens.length,m(e).score=o,s?o<i&&(i=o,n=e):(null==i||o<i||a)&&(i=o,n=e,a&&(s=!0));c(t,n||e)}(t):n?Ae(t):o(n=(e=t)._i)?e._d=new Date(p.now()):r(n)?e._d=new Date(n.valueOf()):"string"==typeof n?function(t){var e=we.exec(t._i);null===e?(xe(t),!1===t._isValid&&(delete t._isValid,Ce(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:p.createFromInputFallback(t)))):t._d=new Date(+e[1])}(e):a(n)?(e._a=i(n.slice(0),function(t){return parseInt(t,10)}),Me(e)):s(n)?function(t){var e,n;t._d||(n=void 0===(e=G(t._i)).day?e.date:e.day,t._a=i([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),Me(t))}(e):u(n)?e._d=new Date(n):p.createFromInputFallback(e),f(t)||(t._d=null),t))}function Se(t,e,n,i,r){var o={};return!0!==e&&!1!==e||(i=e,e=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(s(t)&&l(t)||a(t)&&0===t.length)&&(t=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=n,o._i=t,o._f=e,o._strict=i,(o=new _(he(Le(o=o))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function Ie(t,e,n,i){return Se(t,e,n,i,!1)}p.createFromInputFallback=n("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(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),p.ISO_8601=function(){},p.RFC_2822=function(){};var De=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ie.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:y()}),ke=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ie.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:y()});function Pe(t,e){var n,i;if(!(e=1===e.length&&a(e[0])?e[0]:e).length)return Ie();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}var Ne=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Oe(t){var e=G(t),n=e.year||0,i=e.quarter||0,r=e.month||0,o=e.week||e.isoWeek||0,a=e.day||0,s=e.hour||0,l=e.minute||0,u=e.second||0,t=e.millisecond||0;this._isValid=function(t){var e,n,i=!1;for(e in t)if(h(t,e)&&(-1===vt.call(Ne,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<Ne.length;++n)if(t[Ne[n]]){if(i)return!1;parseFloat(t[Ne[n]])!==H(t[Ne[n]])&&(i=!0)}return!0}(e),this._milliseconds=+t+1e3*u+6e4*l+1e3*s*60*60,this._days=+a+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=fe(),this._bubble()}function Re(t){return t instanceof Oe}function Ye(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Fe(t,n){N(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+S(~~(t/60),2)+n+S(~~t%60,2)})}Fe("Z",":"),Fe("ZZ",""),dt("Z",ut),dt("ZZ",ut),yt(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Ge(ut,t)});var Ue=/([\+\-]|\d\d)/gi;function Ge(t,e){var e=(e||"").match(t);return null===e?null:0===(e=60*(t=((e[e.length-1]||[])+"").match(Ue)||["-",0,0])[1]+H(t[2]))?0:"+"===t[0]?e:-e}function We(t,e){var n;return e._isUTC?(n=e.clone(),e=(b(t)||r(t)?t:Ie(t)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+e),p.updateOffset(n,!1),n):Ie(t).local()}function $e(t){return-Math.round(t._d.getTimezoneOffset())}function je(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var Be=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,He=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ve(t,e){var n,i,r=t,o=null;return Re(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:u(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(o=Be.exec(t))?(n="-"===o[1]?-1:1,r={y:0,d:H(o[bt])*n,h:H(o[xt])*n,m:H(o[Et])*n,s:H(o[Ct])*n,ms:H(Ye(1e3*o[Tt]))*n}):(o=He.exec(t))?(n="-"===o[1]?-1:1,r={y:ze(o[2],n),M:ze(o[3],n),w:ze(o[4],n),d:ze(o[5],n),h:ze(o[6],n),m:ze(o[7],n),s:ze(o[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(o=Ie(r.from),n=Ie(r.to),i=o.isValid()&&n.isValid()?(n=We(n,o),o.isBefore(n)?i=Ze(o,n):((i=Ze(n,o)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(r={}).ms=i.milliseconds,r.M=i.months),r=new Oe(r),Re(t)&&h(t,"_locale")&&(r._locale=t._locale),Re(t)&&h(t,"_isValid")&&(r._isValid=t._isValid),r}function ze(t,e){t=t&&parseFloat(t.replace(",","."));return(isNaN(t)?0:t)*e}function Ze(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Xe(i,r){return function(t,e){var n;return null===e||isNaN(+e)||(C(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."),n=t,t=e,e=n),qe(this,Ve(t,e),i),this}}function qe(t,e,n,i){var r=e._milliseconds,o=Ye(e._days),e=Ye(e._months);t.isValid()&&(i=null==i||i,e&&Nt(t,z(t,"Month")+e*n),o&&Z(t,"Date",z(t,"Date")+o*n),r&&t._d.setTime(t._d.valueOf()+r*n),i&&p.updateOffset(t,o||e))}Ve.fn=Oe.prototype,Ve.invalid=function(){return Ve(NaN)};var Je=Xe(1,"add"),ct=Xe(-1,"subtract");function Ke(t){return"string"==typeof t||t instanceof String}function Qe(t){return b(t)||r(t)||Ke(t)||u(t)||(n=a(e=t),i=!1,n&&(i=0===e.filter(function(t){return!u(t)&&Ke(e)}).length),n&&i)||function(t){var e,n,i=s(t)&&!l(t),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(e=0;e<o.length;e+=1)n=o[e],r=r||h(t,n);return i&&r}(t)||null==t;var e,n,i}function tn(t,e){if(t.date()<e.date())return-tn(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),i=t.clone().add(n,"months");return-(n+(e-i<0?(e-i)/(i-t.clone().add(n-1,"months")):(e-i)/(t.clone().add(1+n,"months")-i)))||0}function en(t){return void 0===t?this._locale._abbr:(null!=(t=fe(t))&&(this._locale=t),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";et=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function nn(){return this._locale}var rn=126227808e5;function on(t,e){return(t%e+e)%e}function an(t,e,n){return t<100&&0<=t?new Date(t+400,e,n)-rn:new Date(t,e,n).valueOf()}function sn(t,e,n){return t<100&&0<=t?Date.UTC(t+400,e,n)-rn:Date.UTC(t,e,n)}function ln(t,e){return e.erasAbbrRegex(t)}function un(){for(var t=[],e=[],n=[],i=[],r=this.eras(),o=0,a=r.length;o<a;++o)e.push(ht(r[o].name)),t.push(ht(r[o].abbr)),n.push(ht(r[o].narrow)),i.push(ht(r[o].name)),i.push(ht(r[o].abbr)),i.push(ht(r[o].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function cn(t,e){N(0,[t,t.length],0,e)}function dn(t,e,n,i,r){var o;return null==t?jt(this,i,r).year:(e>(o=Bt(t,i,r))&&(e=o),function(t,e,n,i,r){r=$t(t,e,n,i,r),r=Gt(r.year,0,r.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}.call(this,t,e,n,i,r))}N("N",0,0,"eraAbbr"),N("NN",0,0,"eraAbbr"),N("NNN",0,0,"eraAbbr"),N("NNNN",0,0,"eraName"),N("NNNNN",0,0,"eraNarrow"),N("y",["y",1],"yo","eraYear"),N("y",["yy",2],0,"eraYear"),N("y",["yyy",3],0,"eraYear"),N("y",["yyyy",4],0,"eraYear"),dt("N",ln),dt("NN",ln),dt("NNN",ln),dt("NNNN",function(t,e){return e.erasNameRegex(t)}),dt("NNNNN",function(t,e){return e.erasNarrowRegex(t)}),yt(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,i){i=n._locale.erasParse(t,i,n._strict);i?m(n).era=i:m(n).invalidEra=t}),dt("y",at),dt("yy",at),dt("yyy",at),dt("yyyy",at),dt("yo",function(t,e){return e._eraYearOrdinalRegex||at}),yt(["y","yy","yyy","yyyy"],wt),yt(["yo"],function(t,e,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[wt]=n._locale.eraYearOrdinalParse(t,r):e[wt]=parseInt(t,10)}),N(0,["gg",2],0,function(){return this.weekYear()%100}),N(0,["GG",2],0,function(){return this.isoWeekYear()%100}),cn("gggg","weekYear"),cn("ggggg","weekYear"),cn("GGGG","isoWeekYear"),cn("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),$("weekYear",1),$("isoWeekYear",1),dt("G",st),dt("g",st),dt("GG",tt,q),dt("gg",tt,q),dt("GGGG",rt,K),dt("gggg",rt,K),dt("GGGGG",ot,Q),dt("ggggg",ot,Q),gt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=H(t)}),gt(["gg","GG"],function(t,e,n,i){e[i]=p.parseTwoDigitYear(t)}),N("Q",0,"Qo","quarter"),F("quarter","Q"),$("quarter",7),dt("Q",X),yt("Q",function(t,e){e[_t]=3*(H(t)-1)}),N("D",["DD",2],"Do","date"),F("date","D"),$("date",9),dt("D",tt),dt("DD",tt,q),dt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),yt(["D","DD"],bt),yt("Do",function(t,e){e[bt]=H(t.match(tt)[0])});nt=V("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),$("dayOfYear",4),dt("DDD",it),dt("DDDD",J),yt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=H(t)}),N("m",["mm",2],0,"minute"),F("minute","m"),$("minute",14),dt("m",tt),dt("mm",tt,q),yt(["m","mm"],Et);St=V("Minutes",!1);N("s",["ss",2],0,"second"),F("second","s"),$("second",15),dt("s",tt),dt("ss",tt,q),yt(["s","ss"],Ct);var fn,Vt=V("Seconds",!1);for(N("S",0,0,function(){return~~(this.millisecond()/100)}),N(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,function(){return 10*this.millisecond()}),N(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),N(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),N(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),N(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),N(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),$("millisecond",16),dt("S",it,X),dt("SS",it,q),dt("SSS",it,J),fn="SSSS";fn.length<=9;fn+="S")dt(fn,at);function hn(t,e){e[Tt]=H(1e3*("0."+t))}for(fn="S";fn.length<=9;fn+="S")yt(fn,hn);Zt=V("Milliseconds",!1),N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");rt=_.prototype;function pn(t){return t}rt.add=Je,rt.calendar=function(t,e){1===arguments.length&&(arguments[0]?Qe(arguments[0])?(t=arguments[0],e=void 0):function(t){for(var e=s(t)&&!l(t),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<i.length;r+=1)n=n||h(t,i[r]);return e&&n}(arguments[0])&&(e=arguments[0],t=void 0):e=t=void 0);var n=t||Ie(),t=We(n,this).startOf("day"),t=p.calendarFormat(this,t)||"sameElse",e=e&&(T(e[t])?e[t].call(this,n):e[t]);return this.format(e||this.localeData().calendar(t,this,Ie(n)))},rt.clone=function(){return new _(this)},rt.diff=function(t,e,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=We(t,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=U(e)){case"year":o=tn(this,i)/12;break;case"month":o=tn(this,i);break;case"quarter":o=tn(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:B(o)},rt.endOf=function(t){var e,n;if(void 0===(t=U(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?sn:an,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-on(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-on(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-on(e,1e3)-1}return this._d.setTime(e),p.updateOffset(this,!0),this},rt.format=function(t){return t=t||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),t=O(this,t),this.localeData().postformat(t)},rt.from=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||Ie(t).isValid())?Ve({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},rt.fromNow=function(t){return this.from(Ie(),t)},rt.to=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||Ie(t).isValid())?Ve({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},rt.toNow=function(t){return this.to(Ie(),t)},rt.get=function(t){return T(this[t=U(t)])?this[t]():this},rt.invalidAt=function(){return m(this).overflow},rt.isAfter=function(t,e){return t=b(t)?t:Ie(t),!(!this.isValid()||!t.isValid())&&("millisecond"===(e=U(e)||"millisecond")?this.valueOf()>t.valueOf():t.valueOf()<this.clone().startOf(e).valueOf())},rt.isBefore=function(t,e){return t=b(t)?t:Ie(t),!(!this.isValid()||!t.isValid())&&("millisecond"===(e=U(e)||"millisecond")?this.valueOf()<t.valueOf():this.clone().endOf(e).valueOf()<t.valueOf())},rt.isBetween=function(t,e,n,i){return t=b(t)?t:Ie(t),e=b(e)?e:Ie(e),!!(this.isValid()&&t.isValid()&&e.isValid())&&("("===(i=i||"()")[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===i[1]?this.isBefore(e,n):!this.isAfter(e,n))},rt.isSame=function(t,e){var t=b(t)?t:Ie(t);return!(!this.isValid()||!t.isValid())&&("millisecond"===(e=U(e)||"millisecond")?this.valueOf()===t.valueOf():(t=t.valueOf(),this.clone().startOf(e).valueOf()<=t&&t<=this.clone().endOf(e).valueOf()))},rt.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},rt.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},rt.isValid=function(){return f(this)},rt.lang=et,rt.locale=en,rt.localeData=nn,rt.max=ke,rt.min=De,rt.parsingFlags=function(){return c({},m(this))},rt.set=function(t,e){if("object"==typeof t)for(var n=function(t){var e,n=[];for(e in t)h(t,e)&&n.push({unit:e,priority:W[e]});return n.sort(function(t,e){return t.priority-e.priority}),n}(t=G(t)),i=0;i<n.length;i++)this[n[i].unit](t[n[i].unit]);else if(T(this[t=U(t)]))return this[t](e);return this},rt.startOf=function(t){var e,n;if(void 0===(t=U(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?sn:an,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=on(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=on(e,6e4);break;case"second":e=this._d.valueOf(),e-=on(e,1e3)}return this._d.setTime(e),p.updateOffset(this,!0),this},rt.subtract=ct,rt.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},rt.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},rt.toDate=function(){return new Date(this.valueOf())},rt.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t;return(t=e?this.clone().utc():this).year()<0||9999<t.year()?O(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",O(t,"Z")):O(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},rt.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e="moment",n="";return this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),t="["+e+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(rt[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),rt.toJSON=function(){return this.isValid()?this.toISOString():null},rt.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},rt.unix=function(){return Math.floor(this.valueOf()/1e3)},rt.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},rt.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},rt.eraName=function(){for(var t,e=this.localeData().eras(),n=0,i=e.length;n<i;++n){if(t=this.clone().startOf("day").valueOf(),e[n].since<=t&&t<=e[n].until)return e[n].name;if(e[n].until<=t&&t<=e[n].since)return e[n].name}return""},rt.eraNarrow=function(){for(var t,e=this.localeData().eras(),n=0,i=e.length;n<i;++n){if(t=this.clone().startOf("day").valueOf(),e[n].since<=t&&t<=e[n].until)return e[n].narrow;if(e[n].until<=t&&t<=e[n].since)return e[n].narrow}return""},rt.eraAbbr=function(){for(var t,e=this.localeData().eras(),n=0,i=e.length;n<i;++n){if(t=this.clone().startOf("day").valueOf(),e[n].since<=t&&t<=e[n].until)return e[n].abbr;if(e[n].until<=t&&t<=e[n].since)return e[n].abbr}return""},rt.eraYear=function(){for(var t,e,n=this.localeData().eras(),i=0,r=n.length;i<r;++i)if(t=n[i].since<=n[i].until?1:-1,e=this.clone().startOf("day").valueOf(),n[i].since<=e&&e<=n[i].until||n[i].until<=e&&e<=n[i].since)return(this.year()-p(n[i].since).year())*t+n[i].offset;return this.year()},rt.year=Ft,rt.isLeapYear=function(){return j(this.year())},rt.weekYear=function(t){return dn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},rt.isoWeekYear=function(t){return dn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},rt.quarter=rt.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},rt.month=Ot,rt.daysInMonth=function(){return Lt(this.year(),this.month())},rt.week=rt.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},rt.isoWeek=rt.isoWeeks=function(t){var e=jt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},rt.weeksInYear=function(){var t=this.localeData()._week;return Bt(this.year(),t.dow,t.doy)},rt.weeksInWeekYear=function(){var t=this.localeData()._week;return Bt(this.weekYear(),t.dow,t.doy)},rt.isoWeeksInYear=function(){return Bt(this.year(),1,4)},rt.isoWeeksInISOWeekYear=function(){return Bt(this.isoWeekYear(),1,4)},rt.date=nt,rt.day=rt.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e,n,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(e=t,n=this.localeData(),t="string"!=typeof e?e:isNaN(e)?"number"==typeof(e=n.weekdaysParse(e))?e:null:parseInt(e,10),this.add(t-i,"d")):i},rt.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},rt.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null==t)return this.day()||7;var e=(e=t,t=this.localeData(),"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e);return this.day(this.day()%7?e:e-7)},rt.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},rt.hour=rt.hours=ne,rt.minute=rt.minutes=St,rt.second=rt.seconds=Vt,rt.millisecond=rt.milliseconds=Zt,rt.utcOffset=function(t,e,n){var i,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null==t)return this._isUTC?r:$e(this);if("string"==typeof t){if(null===(t=Ge(ut,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=$e(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!e||this._changeInProgress?qe(this,Ve(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},rt.utc=function(t){return this.utcOffset(0,t)},rt.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract($e(this),"m")),this},rt.parseZone=function(){var t;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(t=Ge(lt,this._i))?this.utcOffset(t):this.utcOffset(0,!0)),this},rt.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ie(t).utcOffset():0,(this.utcOffset()-t)%60==0)},rt.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},rt.isLocal=function(){return!!this.isValid()&&!this._isUTC},rt.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},rt.isUtc=je,rt.isUTC=je,rt.zoneAbbr=function(){return this._isUTC?"UTC":""},rt.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},rt.dates=n("dates accessor is deprecated. Use date instead.",nt),rt.months=n("months accessor is deprecated. Use month instead",Ot),rt.years=n("years accessor is deprecated. Use year instead",Ft),rt.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?(this.utcOffset(t="string"!=typeof t?-t:t,e),this):-this.utcOffset()}),rt.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var t,e={};return w(e,this),(e=Le(e))._a?(t=(e._isUTC?d:Ie)(e._a),this._isDSTShifted=this.isValid()&&0<function(t,e,n){for(var i=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),o=0,a=0;a<i;a++)(n&&t[a]!==e[a]||!n&&H(t[a])!==H(e[a]))&&o++;return o+r}(e._a,t.toArray())):this._isDSTShifted=!1,this._isDSTShifted});K=A.prototype;function mn(t,e,n,i){var r=fe(),e=d().set(i,e);return r[n](e,t)}function yn(t,e,n){if(u(t)&&(e=t,t=void 0),t=t||"",null!=e)return mn(t,e,n,"month");for(var i=[],r=0;r<12;r++)i[r]=mn(t,r,n,"month");return i}function gn(t,e,n,i){e=("boolean"==typeof t||(n=e=t,t=!1),u(e)&&(n=e,e=void 0),e||"");var r,o=fe(),a=t?o._week.dow:0,s=[];if(null!=n)return mn(e,(n+a)%7,i,"day");for(r=0;r<7;r++)s[r]=mn(e,(r+a)%7,i,"day");return s}K.calendar=function(t,e,n){return T(t=this._calendar[t]||this._calendar.sameElse)?t.call(e,n):t},K.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(I).map(function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t}).join(""),this._longDateFormat[t])},K.invalidDate=function(){return this._invalidDate},K.ordinal=function(t){return this._ordinal.replace("%d",t)},K.preparse=pn,K.postformat=pn,K.relativeTime=function(t,e,n,i){var r=this._relativeTime[n];return T(r)?r(t,e,n,i):r.replace(/%d/i,t)},K.pastFuture=function(t,e){return T(t=this._relativeTime[0<t?"future":"past"])?t(e):t.replace(/%s/i,e)},K.set=function(t){var e,n;for(n in t)h(t,n)&&(T(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},K.eras=function(t,e){for(var n,i=this._eras||fe("en")._eras,r=0,o=i.length;r<o;++r)switch("string"==typeof i[r].since&&(n=p(i[r].since).startOf("day"),i[r].since=n.valueOf()),typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":n=p(i[r].until).startOf("day").valueOf(),i[r].until=n.valueOf()}return i},K.erasParse=function(t,e,n){var i,r,o,a,s,l=this.eras();for(t=t.toUpperCase(),i=0,r=l.length;i<r;++i)if(o=l[i].name.toUpperCase(),a=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(a===t)return l[i];break;case"NNNN":if(o===t)return l[i];break;case"NNNNN":if(s===t)return l[i]}else if(0<=[o,a,s].indexOf(t))return l[i]},K.erasConvertYear=function(t,e){var n=t.since<=t.until?1:-1;return void 0===e?p(t.since).year():p(t.since).year()+(e-t.offset)*n},K.erasAbbrRegex=function(t){return h(this,"_erasAbbrRegex")||un.call(this),t?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(t){return h(this,"_erasNameRegex")||un.call(this),t?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(t){return h(this,"_erasNarrowRegex")||un.call(this),t?this._erasNarrowRegex:this._erasRegex},K.months=function(t,e){return t?(a(this._months)?this._months:this._months[(this._months.isFormat||Dt).test(e)?"format":"standalone"])[t.month()]:a(this._months)?this._months:this._months.standalone},K.monthsShort=function(t,e){return t?(a(this._monthsShort)?this._monthsShort:this._monthsShort[Dt.test(e)?"format":"standalone"])[t.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(t,e,n){var i,r;if(this._monthsParseExact)return function(t,e,n){var i,r,o,t=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=d([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(r=vt.call(this._shortMonthsParse,t))?r:null:-1!==(r=vt.call(this._longMonthsParse,t))?r:null:"MMM"===e?-1!==(r=vt.call(this._shortMonthsParse,t))||-1!==(r=vt.call(this._longMonthsParse,t))?r:null:-1!==(r=vt.call(this._longMonthsParse,t))||-1!==(r=vt.call(this._shortMonthsParse,t))?r:null}.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=d([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},K.monthsRegex=function(t){return this._monthsParseExact?(h(this,"_monthsRegex")||Rt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(h(this,"_monthsRegex")||(this._monthsRegex=Pt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(t){return this._monthsParseExact?(h(this,"_monthsRegex")||Rt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(h(this,"_monthsShortRegex")||(this._monthsShortRegex=kt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(t){return jt(t,this._week.dow,this._week.doy).week},K.firstDayOfYear=function(){return this._week.doy},K.firstDayOfWeek=function(){return this._week.dow},K.weekdays=function(t,e){return e=a(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"],!0===t?Ht(e,this._week.dow):t?e[t.day()]:e},K.weekdaysMin=function(t){return!0===t?Ht(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},K.weekdaysShort=function(t){return!0===t?Ht(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},K.weekdaysParse=function(t,e,n){var i,r;if(this._weekdaysParseExact)return function(t,e,n){var i,r,o,t=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=d([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(r=vt.call(this._weekdaysParse,t))?r:null:"ddd"===e?-1!==(r=vt.call(this._shortWeekdaysParse,t))?r:null:-1!==(r=vt.call(this._minWeekdaysParse,t))?r:null:"dddd"===e?-1!==(r=vt.call(this._weekdaysParse,t))||-1!==(r=vt.call(this._shortWeekdaysParse,t))||-1!==(r=vt.call(this._minWeekdaysParse,t))?r:null:"ddd"===e?-1!==(r=vt.call(this._shortWeekdaysParse,t))||-1!==(r=vt.call(this._weekdaysParse,t))||-1!==(r=vt.call(this._minWeekdaysParse,t))?r:null:-1!==(r=vt.call(this._minWeekdaysParse,t))||-1!==(r=vt.call(this._weekdaysParse,t))||-1!==(r=vt.call(this._shortWeekdaysParse,t))?r:null}.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=d([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},K.weekdaysRegex=function(t){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(h(this,"_weekdaysRegex")||(this._weekdaysRegex=Xt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},K.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(h(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},K.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(h(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Jt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},K.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},K.meridiem=function(t,e,n){return 11<t?n?"pm":"PM":n?"am":"AM"},ce("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(t){var e=t%10;return t+(1===H(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th")}}),p.lang=n("moment.lang is deprecated. Use moment.locale instead.",ce),p.langData=n("moment.langData is deprecated. Use moment.localeData instead.",fe);var vn=Math.abs;function wn(t,e,n,i){n=Ve(e,n);return t._milliseconds+=i*n._milliseconds,t._days+=i*n._days,t._months+=i*n._months,t._bubble()}function _n(t){return t<0?Math.floor(t):Math.ceil(t)}function bn(t){return 4800*t/146097}function xn(t){return 146097*t/4800}function En(t){return function(){return this.as(t)}}ot=En("ms"),Q=En("s"),X=En("m"),q=En("h"),it=En("d"),J=En("w"),Je=En("M"),ke=En("Q"),De=En("y");function Cn(t){return function(){return this.isValid()?this._data[t]:NaN}}ct=Cn("milliseconds"),ne=Cn("seconds"),St=Cn("minutes"),Vt=Cn("hours"),Zt=Cn("days"),nt=Cn("months"),Ft=Cn("years");var Tn=Math.round,Mn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function An(t,e,n,i){var r=Ve(t).abs(),o=Tn(r.as("s")),a=Tn(r.as("m")),s=Tn(r.as("h")),l=Tn(r.as("d")),u=Tn(r.as("M")),c=Tn(r.as("w")),r=Tn(r.as("y")),l=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return(l=(l=null!=n.w?l||c<=1&&["w"]||c<n.w&&["ww",c]:l)||u<=1&&["M"]||u<n.M&&["MM",u]||r<=1&&["y"]||["yy",r])[2]=e,l[3]=0<+t,l[4]=i,function(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}.apply(null,l)}var Ln=Math.abs;function Sn(t){return(0<t)-(t<0)||+t}function In(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i,r,o,a,s=Ln(this._milliseconds)/1e3,l=Ln(this._days),u=Ln(this._months),c=this.asSeconds();return c?(t=B(s/60),e=B(t/60),s%=60,t%=60,n=B(u/12),u%=12,i=s?s.toFixed(3).replace(/\.?0+$/,""):"",r=Sn(this._months)!==Sn(c)?"-":"",o=Sn(this._days)!==Sn(c)?"-":"",a=Sn(this._milliseconds)!==Sn(c)?"-":"",(c<0?"-":"")+"P"+(n?r+n+"Y":"")+(u?r+u+"M":"")+(l?o+l+"D":"")+(e||t||s?"T":"")+(e?a+e+"H":"")+(t?a+t+"M":"")+(s?a+i+"S":"")):"P0D"}K=Oe.prototype;return K.isValid=function(){return this._isValid},K.abs=function(){var t=this._data;return this._milliseconds=vn(this._milliseconds),this._days=vn(this._days),this._months=vn(this._months),t.milliseconds=vn(t.milliseconds),t.seconds=vn(t.seconds),t.minutes=vn(t.minutes),t.hours=vn(t.hours),t.months=vn(t.months),t.years=vn(t.years),this},K.add=function(t,e){return wn(this,t,e,1)},K.subtract=function(t,e){return wn(this,t,e,-1)},K.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=U(t))||"quarter"===t||"year"===t)switch(e=this._days+i/864e5,n=this._months+bn(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(xn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},K.asMilliseconds=ot,K.asSeconds=Q,K.asMinutes=X,K.asHours=q,K.asDays=it,K.asWeeks=J,K.asMonths=Je,K.asQuarters=ke,K.asYears=De,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 t=this._milliseconds,e=this._days,n=this._months,i=this._data;return 0<=t&&0<=e&&0<=n||t<=0&&e<=0&&n<=0||(t+=864e5*_n(xn(n)+e),n=e=0),i.milliseconds=t%1e3,t=B(t/1e3),i.seconds=t%60,t=B(t/60),i.minutes=t%60,t=B(t/60),i.hours=t%24,e+=B(t/24),n+=t=B(bn(e)),e-=_n(xn(t)),t=B(n/12),n%=12,i.days=e,i.months=n,i.years=t,this},K.clone=function(){return Ve(this)},K.get=function(t){return t=U(t),this.isValid()?this[t+"s"]():NaN},K.milliseconds=ct,K.seconds=ne,K.minutes=St,K.hours=Vt,K.days=Zt,K.weeks=function(){return B(this.days()/7)},K.months=nt,K.years=Ft,K.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var n=!1,i=Mn;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(n=t),"object"==typeof e&&(i=Object.assign({},Mn,e),null!=e.s&&null==e.ss&&(i.ss=e.s-1)),i=An(this,!n,i,e=this.localeData()),n&&(i=e.pastFuture(+this,i)),e.postformat(i)},K.toISOString=In,K.toString=In,K.toJSON=In,K.locale=en,K.localeData=nn,K.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",In),K.lang=et,N("X",0,0,"unix"),N("x",0,0,"valueOf"),dt("x",st),dt("X",/[+-]?\d+(\.\d{1,3})?/),yt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t))}),yt("x",function(t,e,n){n._d=new Date(H(t))}),p.version="2.29.1",t=Ie,p.fn=rt,p.min=function(){return Pe("isBefore",[].slice.call(arguments,0))},p.max=function(){return Pe("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=d,p.unix=function(t){return Ie(1e3*t)},p.months=function(t,e){return yn(t,e,"months")},p.isDate=r,p.locale=ce,p.invalid=y,p.duration=Ve,p.isMoment=b,p.weekdays=function(t,e,n){return gn(t,e,n,"weekdays")},p.parseZone=function(){return Ie.apply(null,arguments).parseZone()},p.localeData=fe,p.isDuration=Re,p.monthsShort=function(t,e){return yn(t,e,"monthsShort")},p.weekdaysMin=function(t,e,n){return gn(t,e,n,"weekdaysMin")},p.defineLocale=de,p.updateLocale=function(t,e){var n,i;return null!=e?(i=re,null!=oe[t]&&null!=oe[t].parentLocale?oe[t].set(M(oe[t]._config,e)):(e=M(i=null!=(n=ue(t))?n._config:i,e),null==n&&(e.abbr=t),(e=new A(e)).parentLocale=oe[t],oe[t]=e),ce(t)):null!=oe[t]&&(null!=oe[t].parentLocale?(oe[t]=oe[t].parentLocale,t===ce()&&ce(t)):null!=oe[t]&&delete oe[t]),oe[t]},p.locales=function(){return L(oe)},p.weekdaysShort=function(t,e,n){return gn(t,e,n,"weekdaysShort")},p.normalizeUnits=U,p.relativeTimeRounding=function(t){return void 0===t?Tn:"function"==typeof t&&(Tn=t,!0)},p.relativeTimeThreshold=function(t,e){return void 0!==Mn[t]&&(void 0===e?Mn[t]:(Mn[t]=e,"s"===t&&(Mn.ss=e-1),!0))},p.calendarFormat=function(t,e){return(e=t.diff(e,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},p.prototype=rt,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}(),Yi.exports);function Gi(t,{delay:e=0,duration:n=400,easing:i=m}={}){const r=+getComputedStyle(t).opacity;return{delay:e,duration:n,easing:i,css:t=>"opacity: "+t*r}}function Wi(n){let i,e,r;return{c(){i=K("div"),i.innerHTML='<div class="ModalContainer" part="ModalContainer"><slot></slot></div>',it(i,"class","ModalWindow"),it(i,"part","ModalWindow"),it(i,"id","Modal")},m(t,e){q(t,i,e),n[3](i),r=!0},p(t,e){n=t},i(t){r||(D(()=>{e=e||j(i,Gi,{transitionDuration:n[1]},!0),e.run(1)}),r=!0)},o(t){e=e||j(i,Gi,{transitionDuration:n[1]},!1),e.run(0),r=!1},d(t){t&&J(i),n[3](null),t&&e&&e.end()}}}function $i(t){let n,i,r=t[0]&&Wi(t);return{c(){n=K("div"),r&&r.c(),this.c=z},m(t,e){q(t,n,e),r&&r.m(n,null),i=!0},p(t,[e]){t[0]?r?(r.p(t,e),1&e&&R(r,1)):(r=Wi(t),r.c(),R(r,1),r.m(n,null)):r&&(O={r:0,c:[],p:O},Y(r,1,1,()=>{r=null}),O.r||Z(O.c),O=O.p)},i(t){i||(R(r),i=!0)},o(t){Y(r),i=!1},d(t){t&&J(n),r&&r.d()}}}function ji(t,e,n){let i,{show:r=!1}=e,{duration:o=350}=e;const a=t=>{"ModalClosed"==t.data.type&&n(0,r=!1),"ShowLimitsConfirmationModal"===t.data.type&&(n(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href))};return W(()=>(window.addEventListener("message",a,!1),()=>{window.removeEventListener("message",a)})),t.$$set=t=>{"show"in t&&n(0,r=t.show),"duration"in t&&n(1,o=t.duration)},[r,o,void 0,function(t){s[t?"unshift":"push"](()=>{i=t,n(2,i)})}]}customElements.get("player-account-modal")||customElements.define("player-account-modal",class extends H{constructor(t){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:10;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}</style>",B(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},ji,$i,n,{show:0,duration:1}),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["show","duration"]}get show(){return this.$$.ctx[0]}set show(t){this.$set({show:t}),k()}get duration(){return this.$$.ctx[1]}set duration(t){this.$set({duration:t}),k()}});const Bi={en:{modalText:{cancel:"Cancel",confirm:"Confirm"}},ro:{modalText:{cancel:"Anulează",confirm:"Confirmă"}}};function Hi(n){let i,r,o,a,s,l,u,c,d,f,h,p,m,y,g=n[1]("modalText.cancel")+"",v=n[1]("modalText.confirm")+"",w=!n[2]&&function(n){let i,r,o;return{c(){i=K("span"),i.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>',it(i,"class","ModalCloseBtn"),it(i,"part","ModalCloseBtn"),it(i,"role","button")},m(t,e){q(t,i,e),r||(o=et(i,"click",n[3]),r=!0)},p:z,d(t){t&&J(i),r=!1,o()}}}(n);return{c(){i=K("div"),w&&w.c(),r=tt(),o=K("div"),a=K("div"),s=Q(n[0]),l=tt(),u=K("div"),c=K("button"),d=Q(g),f=tt(),h=K("button"),p=Q(v),this.c=z,it(a,"class","GamingLimitsConfirmationContent"),it(a,"part","GamingLimitsConfirmationContent"),it(c,"class","GamingLimitsCancelButton"),it(c,"part","GamingLimitsCancelButton"),it(h,"class","GamingLimitsConfirmButton"),it(h,"part","GamingLimitsConfirmButton"),it(u,"class","GamingLimitsConfirmationControlArea"),it(u,"part","GamingLimitsConfirmationControlArea"),it(o,"class","GamingLimitsConfirmationContainer "+(n[2]?"GamingLimitsConfirmationContainerMobile":"")),it(o,"part","GamingLimitsConfirmationContainer "+(n[2]?"GamingLimitsConfirmationContainerMobile":"")),it(i,"class","GamingLimitsConfirmationWrapper "+(n[2]?"GamingLimitsConfirmationMobileWrapper":"")),it(i,"part","GamingLimitsConfirmationWrapper "+(n[2]?"GamingLimitsConfirmationMobileWrapper":""))},m(t,e){q(t,i,e),w&&w.m(i,null),X(i,r),X(i,o),X(o,a),X(a,s),X(o,l),X(o,u),X(u,c),X(c,d),X(u,f),X(u,h),X(h,p),m||(y=[et(c,"click",n[5]),et(h,"click",n[4])],m=!0)},p(t,[e]){t[2]||w.p(t,e),1&e&&ot(s,t[0]),2&e&&g!==(g=t[1]("modalText.cancel")+"")&&ot(d,g),2&e&&v!==(v=t[1]("modalText.confirm")+"")&&ot(p,v)},i:z,o:z,d(t){t&&J(i),w&&w.d(),m=!1,Z(y)}}}function Vi(e,t,n){let i;F(e,Ai,t=>n(1,i=t));let{modaltext:r="Are you sure that you want to perform this action?"}=t,{modalsource:o=""}=t,{lang:a="en"}=t;Object.keys(Bi).forEach(t=>{si(t,Bi[t])});let s=window.navigator.userAgent,l="PC"!==Li(s),u={},c="";const d=t=>{t.data&&"DeleteLimitsItem"===t.data.type&&(u=t.data.removeData,t=t.data.removeName,c="Time Limit"===t?"cumulativeSessionLimits":"Deposit Limit"===t?"depositLimits":"Wagering Limit"===t?"wageringLimit":"lossLimit")};W(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)}));return e.$$set=t=>{"modaltext"in t&&n(0,r=t.modaltext),"modalsource"in t&&n(6,o=t.modalsource),"lang"in t&&n(7,a=t.lang)},e.$$.update=()=>{var t;193&e.$$.dirty&&r&&o&&a&&(t=a,gi.set(t))},[r,i,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 zi(t,e,n){const i=t.slice();return i[54]=e[n],i[55]=e,i[50]=n,i}function Zi(t,e,n){const i=t.slice();return i[48]=e[n],i}function Xi(t,e,n){const i=t.slice();return i[48]=e[n],i}function qi(t,e,n){const i=t.slice();return i[48]=e[n],i[49]=e,i[50]=n,i}function Ji(t,e,n){const i=t.slice();return i[51]=e[n],i}function Ki(t,e,n){const i=t.slice();return i[48]=e[n],i[50]=n,i}function Qi(t){let n,i,r,o=t[18]("editText.success")+"";return{c(){n=K("div"),i=K("p"),r=Q(o),it(n,"class","AccountEditLimitSuccessfulChangeContainer"),it(n,"part","AccountEditLimitSuccessfulChangeContainer")},m(t,e){q(t,n,e),X(n,i),X(i,r)},p(t,e){262144&e[0]&&o!==(o=t[18]("editText.success")+"")&&ot(r,o)},d(t){t&&J(n)}}}function tr(t){let n;function i(t){return t[11]?nr:er}let r=i(t),o=r(t);return{c(){n=K("div"),o.c(),it(n,"class","AccountEditLimitSuccessfulChangeContainer"),it(n,"part","AccountEditLimitSuccessfulChangeContainer")},m(t,e){q(t,n,e),o.m(n,null)},p(t,e){r===(r=i(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(n,null)))},d(t){t&&J(n),o.d()}}}function er(t){let n,i,r,o,a=t[18]("editText.remove")+"",s=(t[0].expiryDate?Ui(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=K("p"),i=Q(a),r=tt(),o=Q(s)},m(t,e){q(t,n,e),X(n,i),X(n,r),X(n,o)},p(t,e){262144&e[0]&&a!==(a=t[18]("editText.remove")+"")&&ot(i,a),1&e[0]&&s!==(s=(t[0].expiryDate?Ui(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(o,s)},d(t){t&&J(n)}}}function nr(e){let r,o=e[14],a=[];for(let t=0;t<o.length;t+=1)a[t]=rr(Ki(e,o,t));return{c(){for(let t=0;t<a.length;t+=1)a[t].c();r=_()},m(e,n){for(let t=0;t<a.length;t+=1)a[t].m(e,n);q(e,r,n)},p(e,n){if(409600&n[0]){let t;for(o=e[14],t=0;t<o.length;t+=1){var i=Ki(e,o,t);a[t]?a[t].p(i,n):(a[t]=rr(i),a[t].c(),a[t].m(r.parentNode,r))}for(;t<a.length;t+=1)a[t].d(1);a.length=o.length}},d(t){T(a,t),t&&J(r)}}}function ir(t){let n,i,r,o,a=t[18]("editText.remove")+"",s=(t[48].expiryDate?Ui(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=K("p"),i=Q(a),r=tt(),o=Q(s)},m(t,e){q(t,n,e),X(n,i),X(n,r),X(n,o)},p(t,e){262144&e[0]&&a!==(a=t[18]("editText.remove")+"")&&ot(i,a),16384&e[0]&&s!==(s=(t[48].expiryDate?Ui(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(o,s)},d(t){t&&J(n)}}}function rr(t){let n,i=t[48].period==t[17][t[50]].periodName&&ir(t);return{c(){i&&i.c(),n=_()},m(t,e){i&&i.m(t,e),q(t,n,e)},p(t,e){t[48].period==t[17][t[50]].periodName?i?i.p(t,e):(i=ir(t),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(t){i&&i.d(t),t&&J(n)}}}function or(t){let n;function i(t){return t[11]?sr:ar}let r=i(t),o=r(t);return{c(){n=K("div"),o.c(),it(n,"class","AccountEditContent"),it(n,"part","AccountEditContent")},m(t,e){q(t,n,e),o.m(n,null)},p(t,e){r===(r=i(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(n,null)))},d(t){t&&J(n),o.d()}}}function ar(r){let o,n,i,a,s,t,l,u,c,d=r[22],f=[];for(let t=0;t<d.length;t+=1)f[t]=lr(Xi(r,d,t));let h=r[17],p=[];for(let t=0;t<h.length;t+=1)p[t]=pr(zi(r,h,t));return{c(){o=K("div"),n=K("div"),i=K("p"),i.textContent="Limit",a=tt(),s=K("select");for(let t=0;t<f.length;t+=1)f[t].c();l=tt();for(let t=0;t<p.length;t+=1)p[t].c();it(i,"class","AccountEditLimitsTitle"),it(i,"part","AccountEditLimitsTitle"),it(s,"class","AccountEditField "+(r[19]?"TimeoutSelectMobile":"")),it(s,"part","AccountEditField "+(r[19]?"TimeoutSelectMobile":"")),s.disabled=t=!0===r[14].isModified,void 0===r[14].period&&D(()=>r[30].call(s)),it(n,"class","AccountEditLimitsSplitSection"),it(n,"part","AccountEditLimitsSplitSection"),it(o,"class","AccountEditLimitsContainer"),it(o,"part","AccountEditLimitsContainer")},m(t,e){q(t,o,e),X(o,n),X(n,i),X(n,a),X(n,s);for(let t=0;t<f.length;t+=1)f[t].m(s,null);M(s,r[14].period),X(o,l);for(let t=0;t<p.length;t+=1)p[t].m(o,null);u||(c=[et(s,"change",r[30]),et(s,"change",function(){C(r[26](r[14],0,!1,r[16]))&&r[26](r[14],0,!1,r[16]).apply(this,arguments)})],u=!0)},p(e,n){if(r=e,4194304&n[0]){let t;for(d=r[22],t=0;t<d.length;t+=1){const e=Xi(r,d,t);f[t]?f[t].p(e,n):(f[t]=lr(e),f[t].c(),f[t].m(s,null))}for(;t<f.length;t+=1)f[t].d(1);f.length=d.length}if(4210688&n[0]&&t!==(t=!0===r[14].isModified)&&(s.disabled=t),4210688&n[0]&&M(s,r[14].period),70213649&n[0]){let t;for(h=r[17],t=0;t<h.length;t+=1){var i=zi(r,h,t);p[t]?p[t].p(i,n):(p[t]=pr(i),p[t].c(),p[t].m(o,null))}for(;t<p.length;t+=1)p[t].d(1);p.length=h.length}},d(t){t&&J(o),T(f,t),T(p,t),u=!1,Z(c)}}}function sr(e){let r,o=e[14],a=[];for(let t=0;t<o.length;t+=1)a[t]=Er(qi(e,o,t));return{c(){r=K("div");for(let t=0;t<a.length;t+=1)a[t].c();it(r,"class","AccountEditLimitsContainer"),it(r,"part","AccountEditLimitsContainer")},m(t,e){q(t,r,e);for(let t=0;t<a.length;t+=1)a[t].m(r,null)},p(e,n){if(69161752&n[0]){let t;for(o=e[14],t=0;t<o.length;t+=1){var i=qi(e,o,t);a[t]?a[t].p(i,n):(a[t]=Er(i),a[t].c(),a[t].m(r,null))}for(;t<a.length;t+=1)a[t].d(1);a.length=o.length}},d(t){t&&J(r),T(a,t)}}}function lr(t){let n,i,e=t[48]+"";return{c(){n=K("option"),i=Q(e),n.__value=t[48],n.value=n.__value},m(t,e){q(t,n,e),X(n,i)},p:z,d(t){t&&J(n)}}}function ur(n){let i,r,o,a,s,l,u,c,d,f,h,p,m,y,g=n[18]("editText.amount")+"",v=n[18]("editText.noLimit")+"",w=n[21],_=[];for(let t=0;t<w.length;t+=1)_[t]=cr(Zi(n,w,t));function b(){n[31].call(s,n[55],n[50])}let x="Custom"===n[54].amount&&dr(n),E=!0===n[14].isModified&&hr(n);return{c(){i=K("div"),r=K("p"),o=Q(g),a=tt(),s=K("select"),l=K("option"),u=Q(v);for(let t=0;t<_.length;t+=1)_[t].c();d=tt(),f=K("div"),x&&x.c(),h=tt(),E&&E.c(),p=tt(),it(r,"class","AccountEditLimitsTitle"),it(r,"part","AccountEditLimitsTitle"),l.__value="",l.value=l.__value,l.disabled=!0,l.selected=!0,l.hidden=!0,it(s,"class","AccountEditField "+(n[19]?"TimeoutSelectMobile":"")),it(s,"part","AccountEditField "+(n[19]?"TimeoutSelectMobile":"")),s.disabled=c=!0===n[14].isModified,void 0===n[54].amount&&D(b),it(f,"class","AccountEditLimitsInputContainer"),it(f,"part","AccountEditLimitsInputContainer"),it(i,"class","AccountEditLimitsSplitSection"),it(i,"part","AccountEditField "+(n[19]?"TimeoutSelectMobile":""))},m(t,e){q(t,i,e),X(i,r),X(r,o),X(i,a),X(i,s),X(s,l),X(l,u);for(let t=0;t<_.length;t+=1)_[t].m(s,null);M(s,n[54].amount),X(i,d),X(i,f),x&&x.m(f,null),X(f,h),E&&E.m(f,null),X(i,p),m||(y=[et(s,"change",b),et(s,"change",function(){C(n[26](n[54],0,!1,n[16]))&&n[26](n[54],0,!1,n[16]).apply(this,arguments)})],m=!0)},p(t,e){if(n=t,262144&e[0]&&g!==(g=n[18]("editText.amount")+"")&&ot(o,g),262144&e[0]&&v!==(v=n[18]("editText.noLimit")+"")&&ot(u,v),2097168&e[0]){let t;for(w=n[21],t=0;t<w.length;t+=1){const o=Zi(n,w,t);_[t]?_[t].p(o,e):(_[t]=cr(o),_[t].c(),_[t].m(s,null))}for(;t<_.length;t+=1)_[t].d(1);_.length=w.length}4210688&e[0]&&c!==(c=!0===n[14].isModified)&&(s.disabled=c),2228224&e[0]&&M(s,n[54].amount),"Custom"===n[54].amount?x?x.p(n,e):(x=dr(n),x.c(),x.m(f,h)):x&&(x.d(1),x=null),!0===n[14].isModified?E?E.p(n,e):(E=hr(n),E.c(),E.m(f,null)):E&&(E.d(1),E=null)},d(t){t&&J(i),T(_,t),x&&x.d(),E&&E.d(),m=!1,Z(y)}}}function cr(t){let n,i,r,e=t[48]+"",o="No limit"!==t[48]&&"Custom"!==t[48]&&function(t){let n;return{c(){n=Q(t[4])},m(t,e){q(t,n,e)},p(t,e){16&e[0]&&ot(n,t[4])},d(t){t&&J(n)}}}(t);return{c(){n=K("option"),i=Q(e),r=tt(),o&&o.c(),n.__value=t[48],n.value=n.__value},m(t,e){q(t,n,e),X(n,i),X(n,r),o&&o.m(n,null)},p(t,e){"No limit"!==t[48]&&"Custom"!==t[48]&&o.p(t,e)},d(t){t&&J(n),o&&o.d()}}}function dr(n){let i,r,o,a,s,l;function u(){n[32].call(i,n[55],n[50])}let c=!0===n[13]&&fr(n);return{c(){i=K("input"),o=tt(),c&&c.c(),a=_(),it(i,"type","number"),it(i,"class","AccountEditField AccountEditFieldCustom"),it(i,"part","AccountEditField AccountEditFieldCustom"),i.disabled=r=!0===n[14].isModified},m(t,e){q(t,i,e),h(i,n[54].value),q(t,o,e),c&&c.m(t,e),q(t,a,e),s||(l=[et(i,"keyup",function(){C(n[26](n[54],0,!1,n[16]))&&n[26](n[54],0,!1,n[16]).apply(this,arguments)}),et(i,"input",u)],s=!0)},p(t,e){n=t,4210688&e[0]&&r!==(r=!0===n[14].isModified)&&(i.disabled=r),2228224&e[0]&&U(i.value)!==n[54].value&&h(i,n[54].value),!0===n[13]?c?c.p(n,e):(c=fr(n),c.c(),c.m(a.parentNode,a)):c&&(c.d(1),c=null)},d(t){t&&J(i),t&&J(o),c&&c.d(t),t&&J(a),s=!1,Z(l)}}}function fr(t){let n,i,r,o=t[18]("editText.invalidInputMessageLimit")+"";return{c(){n=K("p"),i=K("span"),r=Q(o),it(i,"class","InvalidInput InvalidSingleRow"),it(i,"part","InvalidInput InvalidSingleRow"),it(n,"class","AccountEditWarningText"),it(n,"part","AccountEditWarningText")},m(t,e){q(t,n,e),X(n,i),X(i,r)},p(t,e){262144&e[0]&&o!==(o=t[18]("editText.invalidInputMessageLimit")+"")&&ot(r,o)},d(t){t&&J(n)}}}function hr(t){let n,i,r,o,a,s,l,u,c,d,f,h,p,m,y,g,v=t[18]("editText.expirationDate")+"",w=(t[0].expiryDate?Ui(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",_=t[18]("editText.changedLimitTextBefore")+"",b=(0<t[0].updateAmount?t[0].updateAmount:0)+"",x=t[18]("editText.changedLimitTextAfter")+"";return{c(){n=K("p"),i=Q(v),r=tt(),o=K("span"),a=Q(w),s=tt(),l=K("div"),u=K("p"),c=K("span"),c.textContent="i",d=K("span"),f=Q(_),h=tt(),p=Q(b),m=tt(),y=Q(t[4]),g=Q(x),it(n,"class","AccountEditLimitsExpiryDate"),it(n,"part","AccountEditLimitsExpiryDate"),it(c,"class","AccountEditLimitChangePeriodIcon"),it(c,"part","AccountEditLimitChangePeriodIcon"),it(l,"class","AccountEditLimitsPeriodChangeContainer"),it(l,"part","AccountEditLimitsPeriodChangeContainer")},m(t,e){q(t,n,e),X(n,i),X(n,r),X(n,o),X(o,a),q(t,s,e),q(t,l,e),X(l,u),X(u,c),X(u,d),X(d,f),X(d,h),X(d,p),X(d,m),X(d,y),X(d,g)},p(t,e){262144&e[0]&&v!==(v=t[18]("editText.expirationDate")+"")&&ot(i,v),1&e[0]&&w!==(w=(t[0].expiryDate?Ui(t[0].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(a,w),262144&e[0]&&_!==(_=t[18]("editText.changedLimitTextBefore")+"")&&ot(f,_),1&e[0]&&b!==(b=(0<t[0].updateAmount?t[0].updateAmount:0)+"")&&ot(p,b),16&e[0]&&ot(y,t[4]),262144&e[0]&&x!==(x=t[18]("editText.changedLimitTextAfter")+"")&&ot(g,x)},d(t){t&&J(n),t&&J(s),t&&J(l)}}}function pr(t){let n,i=t[14].period===t[54].periodName&&ur(t);return{c(){i&&i.c(),n=_()},m(t,e){i&&i.m(t,e),q(t,n,e)},p(t,e){t[14].period===t[54].periodName?i?i.p(t,e):(i=ur(t),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(t){i&&i.d(t),t&&J(n)}}}function mr(n){let i,r,o,a,s,l,u,c,d,f,h=n[18]("editText.noLimit")+"",p=n[20][n[50]].values,m=[];for(let t=0;t<p.length;t+=1)m[t]=yr(Ji(n,p,t));function y(){n[27].call(i,n[50])}let g="Custom"===n[17][n[50]].amount&&gr(n),v=!0===n[48].isModified&&xr(n);return{c(){i=K("select"),r=K("option"),o=Q(h);for(let t=0;t<m.length;t+=1)m[t].c();s=tt(),l=K("div"),g&&g.c(),u=tt(),v&&v.c(),c=_(),r.__value="",r.value=r.__value,r.disabled=!0,r.selected=!0,r.hidden=!0,it(i,"class","AccountEditField "+(n[19]?"TimeoutSelectMobile":"")),it(i,"part","AccountEditField "+(n[19]?"TimeoutSelectMobile":"")),i.disabled=a=!0===n[48].isModified,void 0===n[17][n[50]].amount&&D(y),it(l,"class","AccountEditLimitsInputContainer"),it(l,"part","AccountEditLimitsInputContainer")},m(t,e){q(t,i,e),X(i,r),X(r,o);for(let t=0;t<m.length;t+=1)m[t].m(i,null);M(i,n[17][n[50]].amount),q(t,s,e),q(t,l,e),g&&g.m(l,null),q(t,u,e),v&&v.m(t,e),q(t,c,e),d||(f=[et(i,"change",y),et(i,"change",function(){C(n[26](n[17][n[50]],n[50],!1,n[16]))&&n[26](n[17][n[50]],n[50],!1,n[16]).apply(this,arguments)})],d=!0)},p(t,e){if(n=t,262144&e[0]&&h!==(h=n[18]("editText.noLimit")+"")&&ot(o,h),1048600&e[0]){let t;for(p=n[20][n[50]].values,t=0;t<p.length;t+=1){const o=Ji(n,p,t);m[t]?m[t].p(o,e):(m[t]=yr(o),m[t].c(),m[t].m(i,null))}for(;t<m.length;t+=1)m[t].d(1);m.length=p.length}4210688&e[0]&&a!==(a=!0===n[48].isModified)&&(i.disabled=a),2228224&e[0]&&M(i,n[17][n[50]].amount),"Custom"===n[17][n[50]].amount?g?g.p(n,e):(g=gr(n),g.c(),g.m(l,null)):g&&(g.d(1),g=null),!0===n[48].isModified?v?v.p(n,e):(v=xr(n),v.c(),v.m(c.parentNode,c)):v&&(v.d(1),v=null)},d(t){t&&J(i),T(m,t),t&&J(s),t&&J(l),g&&g.d(),t&&J(u),v&&v.d(t),t&&J(c),d=!1,Z(f)}}}function yr(t){let n,i,r,e=t[51]+"",o="No limit"!==t[51]&&"Custom"!==t[51]&&function(){let n,i=("Time Limit"!==t[3]?t[4]:" minutes")+"";return{c(){n=Q(i)},m(t,e){q(t,n,e)},p(t,e){24&e[0]&&i!==(i=("Time Limit"!==t[3]?t[4]:" minutes")+"")&&ot(n,i)},d(t){t&&J(n)}}}();return{c(){n=K("option"),i=Q(e),r=tt(),o&&o.c(),n.__value=t[51],n.value=n.__value},m(t,e){q(t,n,e),X(n,i),X(n,r),o&&o.m(n,null)},p(t,e){"No limit"!==t[51]&&"Custom"!==t[51]&&o.p(t,e)},d(t){t&&J(n),o&&o.d()}}}function gr(t){let n;function i(t){return"Deposit Limit"===t[3]?wr:vr}let r=i(t),o=r(t);return{c(){o.c(),n=_()},m(t,e){o.m(t,e),q(t,n,e)},p(t,e){r===(r=i(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(n.parentNode,n)))},d(t){o.d(t),t&&J(n)}}}function vr(n){let i,r,o,a,s,l;function u(){n[29].call(i,n[50])}let c=1==n[12][n[50]]&&_r(n);return{c(){i=K("input"),o=tt(),a=K("p"),c&&c.c(),it(i,"type","number"),it(i,"class","AccountEditField AccountEditFieldCustom"),it(i,"part","AccountEditField AccountEditFieldCustom"),i.disabled=r=!0===n[48].isModified,it(a,"class","AccountEditWarningText"),it(a,"part","AccountEditWarningText")},m(t,e){q(t,i,e),h(i,n[17][n[50]].value),q(t,o,e),q(t,a,e),c&&c.m(a,null),s||(l=[et(i,"keyup",function(){C(n[26](n[17][n[50]],n[50],!0,n[16]))&&n[26](n[17][n[50]],n[50],!0,n[16]).apply(this,arguments)}),et(i,"input",u)],s=!0)},p(t,e){n=t,4210688&e[0]&&r!==(r=!0===n[48].isModified)&&(i.disabled=r),2228224&e[0]&&U(i.value)!==n[17][n[50]].value&&h(i,n[17][n[50]].value),1==n[12][n[50]]?c?c.p(n,e):(c=_r(n),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(t){t&&J(i),t&&J(o),t&&J(a),c&&c.d(),s=!1,Z(l)}}}function wr(n){let i,r,o,a,s,l;function u(){n[28].call(i,n[50])}let c=1==n[12][n[50]]&&br(n);return{c(){i=K("input"),o=tt(),a=K("p"),c&&c.c(),it(i,"type","number"),it(i,"class","AccountEditField AccountEditFieldCustom"),it(i,"part","AccountEditField AccountEditFieldCustom"),i.disabled=r=!0===n[48].isModified,it(a,"class","AccountEditWarningText"),it(a,"part","AccountEditWarningText")},m(t,e){q(t,i,e),h(i,n[17][n[50]].value),q(t,o,e),q(t,a,e),c&&c.m(a,null),s||(l=[et(i,"keyup",function(){C(n[26](n[17][n[50]],n[50],!1,n[16]))&&n[26](n[17][n[50]],n[50],!1,n[16]).apply(this,arguments)}),et(i,"input",u)],s=!0)},p(t,e){n=t,4210688&e[0]&&r!==(r=!0===n[48].isModified)&&(i.disabled=r),2228224&e[0]&&U(i.value)!==n[17][n[50]].value&&h(i,n[17][n[50]].value),1==n[12][n[50]]?c?c.p(n,e):(c=br(n),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(t){t&&J(i),t&&J(o),t&&J(a),c&&c.d(),s=!1,Z(l)}}}function _r(t){let n,i,r=t[18]("editText.invalidInputMessageTime",{values:{minTime:t[8],maxTime:t[9]}})+"";return{c(){n=K("p"),i=Q(r),it(n,"class","InvalidInput"),it(n,"part","InvalidInput")},m(t,e){q(t,n,e),X(n,i)},p(t,e){262912&e[0]&&r!==(r=t[18]("editText.invalidInputMessageTime",{values:{minTime:t[8],maxTime:t[9]}})+"")&&ot(i,r)},d(t){t&&J(n)}}}function br(t){let n,i,r=t[18]("editText.invalidInputMessageLimit")+"";return{c(){n=K("p"),i=Q(r),it(n,"class","InvalidInput"),it(n,"part","InvalidInput")},m(t,e){q(t,n,e),X(n,i)},p(t,e){262144&e[0]&&r!==(r=t[18]("editText.invalidInputMessageLimit")+"")&&ot(i,r)},d(t){t&&J(n)}}}function xr(t){let n,i,r,o,a,s,l,u,c,d,f,h,p,m,y,g,v=t[18]("editText.expirationDate")+"",w=(t[48].expiryDate?Ui(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",_=t[18]("editText.changedLimitTextBefore")+"",b=(0<t[48].updateAmount?t[48].updateAmount:0)+"",x=(void 0!==t[48].minutes?" minutes":t[4])+"",E=t[18]("editText.changedLimitTextAfter")+"";return{c(){n=K("p"),i=Q(v),r=tt(),o=K("span"),a=Q(w),s=tt(),l=K("div"),u=K("p"),c=K("span"),c.textContent="i",d=K("span"),f=Q(_),h=tt(),p=Q(b),m=tt(),y=Q(x),g=Q(E),it(n,"class","AccountEditLimitsExpiryDate"),it(n,"part","AccountEditLimitsExpiryDate"),it(c,"class","AccountEditLimitChangePeriodIcon"),it(c,"part","AccountEditLimitChangePeriodIcon"),it(l,"class","AccountEditLimitsPeriodChangeContainer"),it(l,"part","AccountEditLimitsPeriodChangeContainer")},m(t,e){q(t,n,e),X(n,i),X(n,r),X(n,o),X(o,a),q(t,s,e),q(t,l,e),X(l,u),X(u,c),X(u,d),X(d,f),X(d,h),X(d,p),X(d,m),X(d,y),X(d,g)},p(t,e){262144&e[0]&&v!==(v=t[18]("editText.expirationDate")+"")&&ot(i,v),16384&e[0]&&w!==(w=(t[48].expiryDate?Ui(t[48].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(a,w),262144&e[0]&&_!==(_=t[18]("editText.changedLimitTextBefore")+"")&&ot(f,_),16384&e[0]&&b!==(b=(0<t[48].updateAmount?t[48].updateAmount:0)+"")&&ot(p,b),16400&e[0]&&x!==(x=(void 0!==t[48].minutes?" minutes":t[4])+"")&&ot(y,x),262144&e[0]&&E!==(E=t[18]("editText.changedLimitTextAfter")+"")&&ot(g,E)},d(t){t&&J(n),t&&J(s),t&&J(l)}}}function Er(t){let n,i,r,o,a,s=t[48].period+"",l=t[48].period==t[17][t[50]].periodName&&mr(t);return{c(){n=K("div"),i=K("p"),r=Q(s),o=tt(),l&&l.c(),a=tt(),it(i,"class","AccountEditLimitsTitle"),it(i,"part","AccountEditLimitsTitle"),it(n,"class","AccountEditLimitsBox"),it(n,"part","AccountEditLimitsBox")},m(t,e){q(t,n,e),X(n,i),X(i,r),X(n,o),l&&l.m(n,null),X(n,a)},p(t,e){16384&e[0]&&s!==(s=t[48].period+"")&&ot(r,s),t[48].period==t[17][t[50]].periodName?l?l.p(t,e):(l=mr(t),l.c(),l.m(n,a)):l&&(l.d(1),l=null)},d(t){t&&J(n),l&&l.d()}}}function Cr(n){let i,r,o,a,s,l,u,c,d,f,h,p,m,y,g,v,w,_,b,x,E,C,T,M,A,L,S,I,D,k,P,N,O,R,Y,F,U,G=n[18]("editText.back")+"",W=(n[0]?n[3]:"")+"",$=n[18]("editText.save")+"",j=n[19]&&function(n){let i,r,o,a,s,l,u,c,d,f,h,p,m,y=n[18]("editText.back")+"";return{c(){i=K("div"),r=e("svg"),o=e("defs"),a=e("style"),s=Q(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=e("g"),u=e("g"),c=e("path"),d=tt(),f=K("h2"),h=Q(y),it(c,"class","aaa"),it(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),it(c,"transform","translate(15 15) rotate(180)"),it(u,"transform","translate(20 158)"),it(l,"transform","translate(-20 -158)"),it(r,"xmlns","http://www.w3.org/2000/svg"),it(r,"width","15"),it(r,"height","15"),it(r,"viewBox","0 0 15 15"),it(f,"class","MyAccountCategoryTitleMobile"),it(f,"part","MyAccountCategoryTitleMobile"),it(i,"class","MenuReturnButton"),it(i,"part","MenuReturnButton")},m(t,e){q(t,i,e),X(i,r),X(r,o),X(o,a),X(a,s),X(r,l),X(l,u),X(u,c),X(i,d),X(i,f),X(f,h),p||(m=et(i,"click",n[24]),p=!0)},p(t,e){262144&e[0]&&y!==(y=t[18]("editText.back")+"")&&ot(h,y)},d(t){t&&J(i),p=!1,m()}}}(n),B=n[1]&&Qi(n),H=n[2]&&tr(n),V=n[7]&&or(n);return{c(){i=K("div"),j&&j.c(),r=tt(),o=K("div"),a=e("svg"),s=e("defs"),l=e("style"),u=Q(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),c=e("g"),d=e("g"),f=e("path"),h=tt(),p=K("h2"),m=Q(G),y=tt(),g=K("div"),v=K("h6"),w=Q(W),_=tt(),b=K("div"),x=K("span"),x.textContent="i",E=tt(),C=K("player-account-gaming-limits-popup"),T=tt(),B&&B.c(),M=tt(),H&&H.c(),A=tt(),V&&V.c(),L=tt(),S=K("div"),I=K("button"),D=Q($),O=tt(),R=K("player-account-modal"),Y=K("player-account-gaming-limits-confirmation-modal"),this.c=z,it(f,"class","aaa"),it(f,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),it(f,"transform","translate(15 15) rotate(180)"),it(d,"transform","translate(20 158)"),it(c,"transform","translate(-20 -158)"),it(a,"xmlns","http://www.w3.org/2000/svg"),it(a,"width","15"),it(a,"height","15"),it(a,"viewBox","0 0 15 15"),it(p,"class","MyAccountCategoryTitle "+(n[19]?"MyAccountCategoryTitleNone":"")),it(p,"part","MyAccountCategoryTitle "+(n[19]?"MyAccountCategoryTitleNone":"")),it(o,"class","MenuReturnButton "+(n[19]?"MyAccountCategoryTitleNone":"")),it(o,"part","MenuReturnButton "+(n[19]?"MyAccountCategoryTitleNone":"")),it(x,"class","AccountEditLimitsIcon"),it(x,"part","AccountEditLimitsIcon"),rt(C,"showpopup",n[6]),rt(C,"lang",n[5]),it(b,"class","AccountEditLimitsIconWrapper"),it(b,"part","AccountEditLimitsIconWrapper"),it(g,"class","AccountEditLimitsHeader"),it(g,"part","AccountEditLimitsHeader"),it(I,"class",k="AccountEditLimitsSaveButton "+(n[15]?"":"AccountEditLimitsButtonDisabled")),it(I,"part",P="AccountEditLimitsSaveButton "+(n[15]?"":"AccountEditLimitsButtonDisabled")),I.disabled=N=!n[15],it(S,"class","AccountEditLimitsControlArea"),it(S,"part","AccountEditLimitsControlArea"),it(i,"class","AccountEditLimitsWrapper "+(n[19]?"AccountEditLimitsMobileWrapper":"")),rt(Y,"modaltext",n[10]),rt(Y,"modalsource","groupEdit"),rt(Y,"lang",n[5])},m(t,e){q(t,i,e),j&&j.m(i,null),X(i,r),X(i,o),X(o,a),X(a,s),X(s,l),X(l,u),X(a,c),X(c,d),X(d,f),X(o,h),X(o,p),X(p,m),X(i,y),X(i,g),X(g,v),X(v,w),X(g,_),X(g,b),X(b,x),X(b,E),X(b,C),X(i,T),B&&B.m(i,null),X(i,M),H&&H.m(i,null),X(i,A),V&&V.m(i,null),X(i,L),X(i,S),X(S,I),X(I,D),q(t,O,e),q(t,R,e),X(R,Y),F||(U=[et(o,"click",n[24]),et(x,"click",nt(n[23])),et(I,"click",n[33])],F=!0)},p(t,e){t[19]&&j.p(t,e),262144&e[0]&&G!==(G=t[18]("editText.back")+"")&&ot(m,G),9&e[0]&&W!==(W=(t[0]?t[3]:"")+"")&&ot(w,W),64&e[0]&&rt(C,"showpopup",t[6]),32&e[0]&&rt(C,"lang",t[5]),t[1]?B?B.p(t,e):(B=Qi(t),B.c(),B.m(i,M)):B&&(B.d(1),B=null),t[2]?H?H.p(t,e):(H=tr(t),H.c(),H.m(i,A)):H&&(H.d(1),H=null),t[7]?V?V.p(t,e):(V=or(t),V.c(),V.m(i,L)):V&&(V.d(1),V=null),262144&e[0]&&$!==($=t[18]("editText.save")+"")&&ot(D,$),32768&e[0]&&k!==(k="AccountEditLimitsSaveButton "+(t[15]?"":"AccountEditLimitsButtonDisabled"))&&it(I,"class",k),32768&e[0]&&P!==(P="AccountEditLimitsSaveButton "+(t[15]?"":"AccountEditLimitsButtonDisabled"))&&it(I,"part",P),32768&e[0]&&N!==(N=!t[15])&&(I.disabled=N),1024&e[0]&&rt(Y,"modaltext",t[10]),32&e[0]&&rt(Y,"lang",t[5])},i:z,o:z,d(t){t&&J(i),j&&j.d(),B&&B.d(),H&&H.d(),V&&V.d(),t&&J(O),t&&J(R),F=!1,Z(U)}}}function Tr(t,e,o){let n;F(t,Ai,t=>o(18,n=t));let{limitsdata:i=[]}=e,{showsuccessnotification:r=!1}=e,{showdeletenotification:a=!1}=e,{limitname:s=""}=e,{playercurrency:l=""}=e,{lang:u="en"}=e;Object.keys(Ri).forEach(t=>{si(t,Ri[t])});let c=!1,d=!0,f=!1,h=0,p=0,m="",y=window.navigator.userAgent,g="PC"!==Li(y),v=!1,w=new Array(3).fill(0),_=!1,b={},x=[],E=!1,C=[];const T={amount:/^[0-9]{0,7}$/,time:/^[1-9]\d*$/};let M=[{periodName:"Daily",amount:"No limit",value:0},{periodName:"Weekly",amount:"No limit",value:0},{periodName:"Monthly",amount:"No limit",value:0}],A=[{periodName:"Daily",values:["10000","20000","50000","Custom"]},{periodName:"Weekly",values:["10000","50000","100000","Custom"]},{periodName:"Monthly",values:["50000","100000","200000","Custom"]}],L=["50000","100000","200000","Custom"],S=["5000","50000","200000","Custom"],I=[{periodName:"Daily",values:["500","1000","1430","Custom"]},{periodName:"Weekly",values:["5000","7000","10000","Custom"]},{periodName:"Monthly",values:["20000","30000","43000","Custom"]}],D=["Daily","Weekly","Monthly"];const k=()=>{window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href)},P=(n,e)=>{if(v){let t=JSON.parse(JSON.stringify(e));M.forEach(e=>{t.forEach(t=>{e.periodName==n.periodName&&("Custom"!==e.amount&&"No limit"!==e.amount?e.value=JSON.parse(e.amount):"No limit"===e.amount&&(e.value=0)),t.period===e.periodName&&(t.amount=e.value)})})}else M.forEach(t=>{t.periodName===n.periodName&&("Custom"!==t.amount&&"No limit"!==t.amount?t.value=JSON.parse(t.amount):"No limit"===t.amount&&(t.value=0))})},N=(t,e,n,i)=>{let r=i?t.values:t;e.amount&&"No limit"!==e.amount?r.includes(JSON.stringify(e.amount))?n.forEach(t=>{t.periodName===e.period&&(t.amount=JSON.stringify(e.amount),t.value=e.amount)}):n.forEach(t=>{t.periodName===e.period&&(t.amount="Custom",t.value=e.amount)}):n.forEach(t=>{t.periodName===e.period&&(t.amount=e.amount,t.value=0)})},O=e=>{x.forEach(t=>{e.period===t.periodName&&("Time Limit"===s&&(o(8,h=60),"Daily"===e.periodName?o(9,p=1440):"Weekly"==e.periodName?o(9,p=10080):o(9,p=43200)),-1<t.values.indexOf(e.amount)&&("No limit"===e.amount?e.amount=0:e.amount=JSON.parse(e.amount)))})},R=()=>{var t=u;gi.set(t),t="Time Limit"===s?"time limit":"Deposit Limit"===s?"deposit limit":"Wagering Limit"===s?"wagering limit":"loss limit",o(10,m=n("editText.changeLimitsText",{values:{limit:t}})),o(11,v=Array.isArray(i)),o(16,C=JSON.parse(JSON.stringify(i))),o(14,b=JSON.parse(JSON.stringify(i))),x="Wagering Limit"===s?L:"Loss Limit"===s?S:"Deposit Limit"===s?A:"Time Limit"===s?I:[],v?(C.forEach(t=>{O(t)}),b.forEach(e=>{x.forEach(t=>{e.period===t.periodName&&N(t,e,M,!0)})})):(O(C),N(x,b,M,!1))},Y=t=>{if(t.data)switch(t.data.type){case"ClosePlayerAccountGamingLimitsPopup":o(6,c=!1);break;case"GamingLimitsConfirmChanges":f=!0,(()=>{if(f){if(v?"Time Limit"===s?M.forEach(e=>{b.forEach(t=>{t.period===e.periodName&&(t.minutes=e.value)})}):M.forEach(e=>{b.forEach(t=>{t.period===e.periodName&&(t.amount=e.value)})}):M.forEach(t=>{b.period===t.periodName&&o(14,b.amount=t.value,b)}),v){let e={};"Deposit Limit"===s?(e={depositLimits:[]},b.forEach(t=>{e.depositLimits.push(t)})):(e={cumulativeSessionLimits:[]},b.forEach(t=>{e.cumulativeSessionLimits.push(t)})),window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:e,limitsCategory:"Time Limit"===s?"cumulativeSessionLimits":"depositLimits"},window.location.href)}else window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:b,limitsCategory:"Wagering Limit"===s?"wageringLimit":"lossLimit"},window.location.href);o(15,E=!1)}})();break;case"CancelGamingLimitsChanges":o(7,d=!1),setTimeout(()=>{o(7,d=!0)},10),R(),o(15,E=!1),f=!1}};return W(()=>(window.addEventListener("message",Y,!1),()=>{window.removeEventListener("message",Y)})),t.$$set=t=>{"limitsdata"in t&&o(0,i=t.limitsdata),"showsuccessnotification"in t&&o(1,r=t.showsuccessnotification),"showdeletenotification"in t&&o(2,a=t.showdeletenotification),"limitname"in t&&o(3,s=t.limitname),"playercurrency"in t&&o(4,l=t.playercurrency),"lang"in t&&o(5,u=t.lang)},t.$$.update=()=>{6&t.$$.dirty[0]&&r&&a&&R(),33&t.$$.dirty[0]&&i&&u&&R()},[i,r,a,s,l,u,c,d,h,p,m,v,w,_,b,E,C,M,n,g,A,S,D,()=>{o(6,c=!0)},()=>{window.postMessage({type:"PlayerAccountBackToLimitsView"},window.location.href)},k,(t,e,n,i)=>{var r;v?"Custom"===t.amount?"Time Limit"==s?(o(8,h=60),"Daily"===t.periodName?o(9,p=1440):"Weekly"==t.periodName?o(9,p=10080):o(9,p=43200),t.value&&T.time.test(t.value)&&t.value>h&&t.value<=p?(o(12,w[e]=0,w),r=i[e],t.periodName==r.period&&t.value==r.amount?(o(15,E=!1),P(t,i)):o(15,E=!0)):(o(12,w[e]=1,w),o(15,E=!1))):t.value&&T.amount.test(t.value)?(o(12,w[e]=0,w),t.periodName==i[e].period&&t.value==i[e].amount?(o(15,E=!!E),P(t,i)):o(15,E=!0),M.forEach(t=>{0==t.value&&o(15,E=!1)})):(o(12,w[e]=1,w),o(15,E=!1)):(t.periodName==i[e].period?(P(t,i),o(15,E=t.value!=i[e].amount)):o(15,E=!0),M.forEach(t=>{0==t.value&&o(15,E=!1)})):b.period!=i.period?(o(15,E=!0),"Custom"==t.amount&&(t.value&&T.amount.test(t.value)?(o(13,_=!1),b.period==i.period&&t.value==i.amount?(o(15,E=!1),P(t,i)):o(15,E=!0)):(o(13,_=!0),o(15,E=!1)))):"Custom"===t.amount?t.value&&T.amount.test(t.value)?(o(13,_=!1),b.period==i.period&&t.value==i.amount?(o(15,E=!!E),P(t,i)):o(15,E=!0)):(o(13,_=!0),o(15,E=!1)):b.period==i.period?(P(t,i),o(15,E=t.value!=i.amount)):o(15,E=!0)},function(t){M[t].amount=G(this),o(17,M),o(21,S)},function(t){M[t].value=U(this.value),o(17,M),o(21,S)},function(t){M[t].value=U(this.value),o(17,M),o(21,S)},function(){b.period=G(this),o(14,b),o(22,D)},function(t,e){t[e].amount=G(this),o(17,M),o(21,S)},function(t,e){t[e].value=U(this.value),o(17,M),o(21,S)},()=>k()]}function Mr(t,e,n){const i=t.slice();return i[33]=e[n],i[35]=n,i}function Ar(t,e,n){const i=t.slice();return i[33]=e[n],i[35]=n,i}function Lr(t){let n,i,r,o,a,s,l,u,c,d,f,h,p,m,y,g,v,w=(t[0]?t[0].period:"")+"",_=(t[0]?t[0].amount:0)+"",b=(t[0]?t[0].currency:"")+"",x=t[11]("cardText.expirationDate")+"",E=(t[0]&&t[0].expiryDate?(Ui(t[0].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):Ui(t[0].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=K("div"),i=K("div"),r=K("div"),o=Q(w),a=tt(),s=K("div"),l=Q(_),u=tt(),c=K("span"),d=Q(b),f=tt(),h=K("div"),p=K("div"),m=Q(x),y=tt(),g=K("div"),v=Q(E),it(r,"class","InfoCardRowTitle"),it(r,"part","InfoCardRowTitle"),it(c,"class","InfoCardCurrency"),it(c,"part","InfoCardCurrency"),it(s,"class","InfoCardRowValue"),it(s,"part","InfoCardRowValue"),it(i,"class","InfoCardRow InfoMainRow"),it(i,"part","InfoCardRow InfoMainRow"),it(p,"class","InfoCardRowTitle"),it(p,"part","InfoCardRowTitle"),it(g,"class","InfoCardRowValue"),it(g,"part","InfoCardRowValue"),it(h,"class","InfoCardRow"),it(h,"part","InfoCardRow"),it(n,"class","InfoCardBox"),it(n,"part","InfoCardBox")},m(t,e){q(t,n,e),X(n,i),X(i,r),X(r,o),X(i,a),X(i,s),X(s,l),X(s,u),X(s,c),X(c,d),X(n,f),X(n,h),X(h,p),X(p,m),X(h,y),X(h,g),X(g,v)},p(t,e){1&e[0]&&w!==(w=(t[0]?t[0].period:"")+"")&&ot(o,w),1&e[0]&&_!==(_=(t[0]?t[0].amount:0)+"")&&ot(l,_),1&e[0]&&b!==(b=(t[0]?t[0].currency:"")+"")&&ot(d,b),2048&e[0]&&x!==(x=t[11]("cardText.expirationDate")+"")&&ot(m,x),1&e[0]&&E!==(E=(t[0]&&t[0].expiryDate?(Ui(t[0].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):Ui(t[0].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(v,E)},d(t){t&&J(n)}}}function Sr(t){let n;function i(t){return"Time Limit"===t[1]?Dr:Ir}let r=i(t),o=r(t);return{c(){o.c(),n=_()},m(t,e){o.m(t,e),q(t,n,e)},p(t,e){r===(r=i(t))&&o?o.p(t,e):(o.d(1),o=r(t),o&&(o.c(),o.m(n.parentNode,n)))},d(t){o.d(t),t&&J(n)}}}function Ir(e){let r,o=e[0],a=[];for(let t=0;t<o.length;t+=1)a[t]=Rr(Mr(e,o,t));return{c(){for(let t=0;t<a.length;t+=1)a[t].c();r=_()},m(e,n){for(let t=0;t<a.length;t+=1)a[t].m(e,n);q(e,r,n)},p(e,n){if(210975&n[0]){let t;for(o=e[0],t=0;t<o.length;t+=1){var i=Mr(e,o,t);a[t]?a[t].p(i,n):(a[t]=Rr(i),a[t].c(),a[t].m(r.parentNode,r))}for(;t<a.length;t+=1)a[t].d(1);a.length=o.length}},d(t){T(a,t),t&&J(r)}}}function Dr(e){let r,o=e[0],a=[];for(let t=0;t<o.length;t+=1)a[t]=Br(Ar(e,o,t));return{c(){for(let t=0;t<a.length;t+=1)a[t].c();r=_()},m(e,n){for(let t=0;t<a.length;t+=1)a[t].m(e,n);q(e,r,n)},p(e,n){if(210971&n[0]){let t;for(o=e[0],t=0;t<o.length;t+=1){var i=Ar(e,o,t);a[t]?a[t].p(i,n):(a[t]=Br(i),a[t].c(),a[t].m(r.parentNode,r))}for(;t<a.length;t+=1)a[t].d(1);a.length=o.length}},d(t){T(a,t),t&&J(r)}}}function kr(t){let n,i,r=t[11]("cardText.notAvailable")+"";return{c(){n=K("div"),i=Q(r),it(n,"class","InfoCardRowValue"),it(n,"part","InfoCardRowValue")},m(t,e){q(t,n,e),X(n,i)},p(t,e){2048&e[0]&&r!==(r=t[11]("cardText.notAvailable")+"")&&ot(i,r)},d(t){t&&J(n)}}}function Pr(t){let n,i,r=(t[33]?(Ui(t[33].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):Ui(t[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=K("div"),i=Q(r),it(n,"class","InfoCardRowValue"),it(n,"part","InfoCardRowValue")},m(t,e){q(t,n,e),X(n,i)},p(t,e){1&e[0]&&r!==(r=(t[33]?(Ui(t[33].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):Ui(t[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(i,r)},d(t){t&&J(n)}}}function Nr(n){let i,r,o,a,s,l,u,c;function d(){return n[20](n[35])}return{c(){i=K("div"),r=K("span"),r.textContent="i",o=tt(),a=K("player-account-gaming-limits-popup"),it(r,"class","InfoCardIcon"),it(r,"part","InfoCardIcon"),rt(a,"showpopup",s=n[4][n[35]+1]),rt(a,"iteminfoamount",l=n[33].updateAmount),rt(a,"playercurrency",n[2]),rt(a,"lang",n[3]),it(i,"class","InfoCardIconWrapper "+(n[12]?"InfoCardIconMobileWrapper":"")),it(i,"part","InfoCardIconWrapper "+(n[12]?"InfoCardIconMobileWrapper":""))},m(t,e){q(t,i,e),X(i,r),X(i,o),X(i,a),u||(c=et(r,"click",nt(d)),u=!0)},p(t,e){n=t,16&e[0]&&s!==(s=n[4][n[35]+1])&&rt(a,"showpopup",s),1&e[0]&&l!==(l=n[33].updateAmount)&&rt(a,"iteminfoamount",l),4&e[0]&&rt(a,"playercurrency",n[2]),8&e[0]&&rt(a,"lang",n[3])},d(t){t&&J(i),u=!1,c()}}}function Or(n){let i,r,o;return{c(){i=K("div"),i.innerHTML="<span></span>",it(i,"class","InfoCardRemoveIcon"),it(i,"part","InfoCardRemoveIcon")},m(t,e){q(t,i,e),r||(o=et(i,"click",function(){C(n[16](n[33],n[1]))&&n[16](n[33],n[1]).apply(this,arguments)}),r=!0)},p(t,e){n=t},d(t){t&&J(i),r=!1,o()}}}function Rr(t){let n,i,r,o,a,s,l,u,c,d,f,h,p,m,y,g,v,w,_=(t[33]?t[33].period:"")+"",b=(t[33]?t[33].amount:0)+"",x=(t[33]?t[33].currency:"")+"",E=t[11]("cardText.expirationDate")+"";function C(t){return t[33].expiryDate?Pr:kr}let T=C(t),M=T(t);function A(t){return"No limit"==t[33].amount||t[33].isModified?"No limit"!=t[33].amount&&t[33].isModified?Nr:void 0:Or}let L=A(t),S=L&&L(t);return{c(){n=K("div"),i=K("div"),r=K("div"),o=K("div"),a=Q(_),s=tt(),l=K("div"),u=Q(b),c=tt(),d=K("span"),f=Q(x),h=tt(),p=K("div"),m=K("div"),y=Q(E),g=tt(),M.c(),v=tt(),S&&S.c(),w=tt(),it(o,"class","InfoCardRowTitle"),it(o,"part","InfoCardRowTitle"),it(d,"class","InfoCardCurrency"),it(d,"part","InfoCardCurrency"),it(l,"class","InfoCardRowValue"),it(l,"part","InfoCardRowValue"),it(r,"class","InfoCardRow InfoMainRow"),it(r,"part","InfoCardRow InfoMainRow"),it(m,"class","InfoCardRowTitle"),it(m,"part","InfoCardRowTitle"),it(p,"class","InfoCardRow"),it(p,"part","InfoCardRow"),it(i,"class","InfoCardRowContainer"),it(i,"part","InfoCardRowContainer"),it(n,"class","InfoCardBox InfoCardMultipleItems"),it(n,"part","InfoCardBox InfoCardMultipleItems")},m(t,e){q(t,n,e),X(n,i),X(i,r),X(r,o),X(o,a),X(r,s),X(r,l),X(l,u),X(l,c),X(l,d),X(d,f),X(i,h),X(i,p),X(p,m),X(m,y),X(p,g),M.m(p,null),X(n,v),S&&S.m(n,null),X(n,w)},p(t,e){1&e[0]&&_!==(_=(t[33]?t[33].period:"")+"")&&ot(a,_),1&e[0]&&b!==(b=(t[33]?t[33].amount:0)+"")&&ot(u,b),1&e[0]&&x!==(x=(t[33]?t[33].currency:"")+"")&&ot(f,x),2048&e[0]&&E!==(E=t[11]("cardText.expirationDate")+"")&&ot(y,E),T===(T=C(t))&&M?M.p(t,e):(M.d(1),M=T(t),M&&(M.c(),M.m(p,null))),L===(L=A(t))&&S?S.p(t,e):(S&&S.d(1),S=L&&L(t),S&&(S.c(),S.m(n,w)))},d(t){t&&J(n),M.d(),S&&S.d()}}}function Yr(t){let n,i,r=t[11]("cardText.noLimit")+"";return{c(){n=K("span"),i=Q(r),it(n,"class","InfoCardCurrency"),it(n,"part","InfoCardCurrency")},m(t,e){q(t,n,e),X(n,i)},p(t,e){2048&e[0]&&r!==(r=t[11]("cardText.noLimit")+"")&&ot(i,r)},d(t){t&&J(n)}}}function Fr(t){let n,i,r,o=(t[33]?t[33].amount:0)+"",a="No limit"!=t[33].amount&&Ur(t);return{c(){n=Q(o),i=tt(),a&&a.c(),r=_()},m(t,e){q(t,n,e),q(t,i,e),a&&a.m(t,e),q(t,r,e)},p(t,e){1&e[0]&&o!==(o=(t[33]?t[33].amount:0)+"")&&ot(n,o),"No limit"!=t[33].amount?a?a.p(t,e):(a=Ur(t),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(t){t&&J(n),t&&J(i),a&&a.d(t),t&&J(r)}}}function Ur(t){let n,i,r=t[11]("cardText.minutes")+"";return{c(){n=K("span"),i=Q(r),it(n,"class","InfoCardCurrency"),it(n,"part","InfoCardCurrency")},m(t,e){q(t,n,e),X(n,i)},p(t,e){2048&e[0]&&r!==(r=t[11]("cardText.minutes")+"")&&ot(i,r)},d(t){t&&J(n)}}}function Gr(t){let n,i,r=t[11]("cardText.notAvailable")+"";return{c(){n=K("div"),i=Q(r),it(n,"class","InfoCardRowValue"),it(n,"part","InfoCardRowValue")},m(t,e){q(t,n,e),X(n,i)},p(t,e){2048&e[0]&&r!==(r=t[11]("cardText.notAvailable")+"")&&ot(i,r)},d(t){t&&J(n)}}}function Wr(t){let n,i,r=(t[33]?(Ui(t[33].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):Ui(t[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=K("div"),i=Q(r),it(n,"class","InfoCardRowValue"),it(n,"part","InfoCardRowValue")},m(t,e){q(t,n,e),X(n,i)},p(t,e){1&e[0]&&r!==(r=(t[33]?(Ui(t[33].expiryDate).year()>t[13].year()+30?t[13].add(5,"years"):Ui(t[33].expiryDate)).format("D/M/YYYY - h:mm A"):"N/A")+"")&&ot(i,r)},d(t){t&&J(n)}}}function $r(n){let i,r,o,a,s,l,u,c;function d(){return n[19](n[35])}return{c(){i=K("div"),r=K("span"),r.textContent="i",o=tt(),a=K("player-account-gaming-limits-popup"),it(r,"class","InfoCardIcon"),it(r,"part","InfoCardIcon"),rt(a,"showpopup",s=n[4][n[35]+1]),rt(a,"iteminfoamount",l=n[33].updateMinutes),rt(a,"playercurrency","minutes"),rt(a,"lang",n[3]),it(i,"class","InfoCardIconWrapper "+(n[12]?"InfoCardIconMobileWrapper":"")),it(i,"part","InfoCardIconWrapper "+(n[12]?"InfoCardIconMobileWrapper":""))},m(t,e){q(t,i,e),X(i,r),X(i,o),X(i,a),u||(c=et(r,"click",nt(d)),u=!0)},p(t,e){n=t,16&e[0]&&s!==(s=n[4][n[35]+1])&&rt(a,"showpopup",s),1&e[0]&&l!==(l=n[33].updateMinutes)&&rt(a,"iteminfoamount",l),8&e[0]&&rt(a,"lang",n[3])},d(t){t&&J(i),u=!1,c()}}}function jr(n){let i,r,o;return{c(){i=K("div"),i.innerHTML="<span></span>",it(i,"class","InfoCardRemoveIcon"),it(i,"part","InfoCardRemoveIcon")},m(t,e){q(t,i,e),r||(o=et(i,"click",function(){C(n[16](n[33],n[1]))&&n[16](n[33],n[1]).apply(this,arguments)}),r=!0)},p(t,e){n=t},d(t){t&&J(i),r=!1,o()}}}function Br(t){let n,i,r,o,a,s,l,u,c,d,f,h,p,m,y=(t[33]?t[33].period:"")+"",g=t[11]("cardText.expirationDate")+"";function v(t){return 0!==t[33].amount?Fr:Yr}let w=v(t),_=w(t);function b(t){return t[33].expiryDate?Wr:Gr}let x=b(t),E=x(t);function C(t){return"No limit"==t[33].amount||t[33].isModified?"No limit"!=t[33].amount&&t[33].isModified?$r:void 0:jr}let T=C(t),M=T&&T(t);return{c(){n=K("div"),i=K("div"),r=K("div"),o=K("div"),a=Q(y),s=tt(),l=K("div"),_.c(),u=tt(),c=K("div"),d=K("div"),f=Q(g),h=tt(),E.c(),p=tt(),M&&M.c(),m=tt(),it(o,"class","InfoCardRowTitle"),it(o,"part","InfoCardRowTitle"),it(l,"class","InfoCardRowValue"),it(l,"part","InfoCardRowValue"),it(r,"class","InfoCardRow InfoMainRow"),it(r,"part","InfoCardRow InfoMainRow"),it(d,"class","InfoCardRowTitle"),it(d,"part","InfoCardRowTitle"),it(c,"class","InfoCardRow"),it(c,"part","InfoCardRow"),it(i,"class","InfoCardRowContainer"),it(i,"part","InfoCardRowContainer"),it(n,"class","InfoCardBox InfoCardMultipleItems"),it(n,"part","InfoCardBox InfoCardMultipleItems")},m(t,e){q(t,n,e),X(n,i),X(i,r),X(r,o),X(o,a),X(r,s),X(r,l),_.m(l,null),X(i,u),X(i,c),X(c,d),X(d,f),X(c,h),E.m(c,null),X(n,p),M&&M.m(n,null),X(n,m)},p(t,e){1&e[0]&&y!==(y=(t[33]?t[33].period:"")+"")&&ot(a,y),w===(w=v(t))&&_?_.p(t,e):(_.d(1),_=w(t),_&&(_.c(),_.m(l,null))),2048&e[0]&&g!==(g=t[11]("cardText.expirationDate")+"")&&ot(f,g),x===(x=b(t))&&E?E.p(t,e):(E.d(1),E=x(t),E&&(E.c(),E.m(c,null))),T===(T=C(t))&&M?M.p(t,e):(M&&M.d(1),M=T&&T(t),M&&(M.c(),M.m(n,m)))},d(t){t&&J(n),_.d(),E.d(),M&&M.d()}}}function Hr(n){let i,r,o,a,s=n[11]("cardText.removeLimits")+"";return{c(){i=K("button"),r=Q(s),it(i,"class","InfoCardRemoveButton"),it(i,"part","InfoCardRemoveButton")},m(t,e){q(t,i,e),X(i,r),o||(a=et(i,"click",n[22]),o=!0)},p(t,e){2048&e[0]&&s!==(s=t[11]("cardText.removeLimits")+"")&&ot(r,s)},d(t){t&&J(i),o=!1,a()}}}function Vr(t){let n,i,r;return{c(){n=K("player-account-modal"),i=K("player-account-gaming-limits-confirmation-modal"),rt(i,"modaltext",r=t[6]?t[8]:t[9]),rt(i,"modalsource","infoCard"),rt(i,"lang",t[3])},m(t,e){q(t,n,e),X(n,i)},p(t,e){832&e[0]&&r!==(r=t[6]?t[8]:t[9])&&rt(i,"modaltext",r),8&e[0]&&rt(i,"lang",t[3])},d(t){t&&J(n)}}}function zr(t){let n,i=function(n){let i,r,o,a,s,l,u,c,d,f,h,p,m,y,g,v,w,_,b,x,E,C,T,M,A=(n[0]?n[1]:"")+"",L=n[11]("cardText.edit")+"";function S(t,e){return(null==v||1&e[0])&&(v=!!Array.isArray(t[0])),v?Sr:Lr}let I=S(n,[-1]),D=I(n),k=!n[5]&&!n[0].isModified&&n[10]&&Hr(n),P=n[7]&&Vr(n);return{c(){i=K("div"),r=K("div"),o=K("div"),a=K("h5"),s=Q(A),l=tt(),u=K("div"),c=K("span"),c.textContent="i",d=tt(),f=K("player-account-gaming-limits-popup"),p=tt(),m=K("div"),y=K("div"),g=K("div"),D.c(),w=tt(),_=K("div"),b=K("button"),x=Q(L),E=tt(),k&&k.c(),C=tt(),P&&P.c(),it(c,"class","InfoCardIcon"),it(c,"part","InfoCardIcon"),rt(f,"showpopup",h=n[4][0]),rt(f,"lang",n[3]),it(u,"class","InfoCardIconWrapper "+(n[12]?"InfoCardIconMobileWrapper":"")),it(u,"part","InfoCardIconWrapper "+(n[12]?"InfoCardIconMobileWrapper":"")),it(o,"class","InfoCardHeader "+(n[12]?"InfoCardMobileHeader":"")),it(o,"part","InfoCardHeader "+(n[12]?"InfoCardMobileHeader":"")),it(g,"class","InfoCardTableRow"),it(g,"part","InfoCardTableRow"),it(y,"class","InfoCardTableWrapper"),it(y,"part","InfoCardTableWrapper"),it(b,"class","InfoCardEditButton"),it(b,"part","InfoCardEditButton"),it(_,"class","InfoCardControlArea"),it(_,"part","InfoCardControlArea"),it(m,"class","InfoCard"),it(m,"part","InfoCard"),it(r,"class","InfoCardWrapper"),it(r,"part","InfoCardWrapper"),it(i,"class","InfoCardSection"),it(i,"part","InfoCardSection")},m(t,e){q(t,i,e),X(i,r),X(r,o),X(o,a),X(a,s),X(o,l),X(o,u),X(u,c),X(u,d),X(u,f),X(r,p),X(r,m),X(m,y),X(y,g),D.m(g,null),X(m,w),X(m,_),X(_,b),X(b,x),X(_,E),k&&k.m(_,null),X(i,C),P&&P.m(i,null),T||(M=[et(c,"click",nt(n[18])),et(b,"click",n[21])],T=!0)},p(t,e){3&e[0]&&A!==(A=(t[0]?t[1]:"")+"")&&ot(s,A),16&e[0]&&h!==(h=t[4][0])&&rt(f,"showpopup",h),8&e[0]&&rt(f,"lang",t[3]),I===(I=S(t,e))&&D?D.p(t,e):(D.d(1),D=I(t),D&&(D.c(),D.m(g,null))),2048&e[0]&&L!==(L=t[11]("cardText.edit")+"")&&ot(x,L),t[5]||t[0].isModified||!t[10]?k&&(k.d(1),k=null):k?k.p(t,e):(k=Hr(t),k.c(),k.m(_,null)),t[7]?P?P.p(t,e):(P=Vr(t),P.c(),P.m(i,null)):P&&(P.d(1),P=null)},d(t){t&&J(i),D.d(),k&&k.d(),P&&P.d(),T=!1,Z(M)}}}(t);return{c(){i.c(),n=_(),this.c=z},m(t,e){i.m(t,e),q(t,n,e)},p(t,e){i.p(t,e)},i:z,o:z,d(t){i.d(t),t&&J(n)}}}function Zr(t,e,i){let o;F(t,Ai,t=>i(11,o=t));let{limitsdata:n=""}=e,{limitname:r=""}=e,{playercurrency:a=""}=e,{lang:s="en"}=e;Object.keys(Si).forEach(t=>{si(t,Si[t])});let l=new Array(5).fill(0),u=[o("cardText.daily"),o("cardText.weekly"),o("cardText.monthly")],c=!0,d=!0,f=!1,h=window.navigator.userAgent,p="PC"!==Li(h),m="",y="",g=!0,v=Ui();const w=t=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:t,name:r},window.location.href)},_=t=>{i(7,f=!0),i(6,d=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:t,removeName:r},window.location.href)},b=t=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{i(4,l[t]=!0,l)},50)},x=(t,e,n,i)=>{var r=i===o("cardText.time")?{period:n,minutes:0,currency:"",isModified:!1,expiryDate:""}:{period:n,amount:o("cardText.noLimit"),currency:"",isModified:!1,expiryDate:""};t.splice(e,0,r)},E=(t,e)=>t.period===o("cardText.weekly")&&e.period===o("cardText.daily")||t.period===o("cardText.monthly")&&e.period===o("cardText.daily")||t.period===o("cardText.monthly")&&e.period===o("cardText.weekly")?1:t.period===o("cardText.daily")&&e.period===o("cardText.weekly")||t.period===o("cardText.daily")&&e.period===o("cardText.monthly")||t.period===o("cardText.weekly")&&e.period===o("cardText.monthly")?-1:0,C=()=>{var t=s;gi.set(t),t=r===o("cardText.timeLimit")?o("cardText.timeLimitLower"):r===o("cardText.depositLimit")?o("cardText.depositLimitLower"):r===o("cardText.wageringLimit")?o("cardText.wageringLimitLower"):o("cardText.lossLimitLower"),i(8,m=o("cardText.removeLimitsText",{values:{limit:t}})),i(9,y=o("cardText.removeLimitText",{values:{limit:t}})),r===o("cardText.depositLimit")||r===o("cardText.timeLimit")?Array.isArray(n)&&(n.forEach(t=>{t.isModified&&i(10,g=!1)}),n.sort(E),(n=>{const e=u;u.forEach(e=>{n.indexOf(e),n.find(t=>t.period===e)&&(u=u.filter(t=>t!==e)),n.forEach(t=>{t.period===e&&t.amount!==o("cardText.noLimit")&&i(5,c=!1)})}),u.forEach(t=>{n.name===o("cardText.timeLimit")?x(n,e.indexOf(t),t,o("cardText.time")):x(n,e.indexOf(t),t,o("cardText.currency"))})})(n)):(n.hasOwnProperty("period")||i(0,n={period:o("cardText.daily"),amount:o("cardText.noLimit"),currency:"",isModified:!1,expiryDate:""}),i(5,c=n.amount==o("cardText.noLimit")))},T=t=>{if(t.data)switch(t.data.type){case"ClosePlayerAccountGamingLimitsPopup":i(4,l=new Array(5).fill(0));break;case"ModalClosed":i(7,f=!1),i(6,d=!1)}};return W(()=>(window.addEventListener("message",T,!1),()=>{window.removeEventListener("message",T)})),t.$$set=t=>{"limitsdata"in t&&i(0,n=t.limitsdata),"limitname"in t&&i(1,r=t.limitname),"playercurrency"in t&&i(2,a=t.playercurrency),"lang"in t&&i(3,s=t.lang)},t.$$.update=()=>{11&t.$$.dirty[0]&&n&&r&&s&&C()},[n,r,a,s,l,c,d,f,m,y,g,o,p,v,w,_,(t,e)=>{i(7,f=!0),i(6,d=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:t,removeName:e},window.location.href)},b,()=>b(0),t=>b(t+1),t=>b(t+1),()=>w(n),()=>_(n)]}customElements.get("player-account-gaming-limits-confirmation-modal")||customElements.define("player-account-gaming-limits-confirmation-modal",class extends H{constructor(t){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:i(this.attributes),customElement:!0},Vi,Hi,n,{modaltext:0,modalsource:6,lang:7}),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["modaltext","modalsource","lang"]}get modaltext(){return this.$$.ctx[0]}set modaltext(t){this.$set({modaltext:t}),k()}get modalsource(){return this.$$.ctx[6]}set modalsource(t){this.$set({modalsource:t}),k()}get lang(){return this.$$.ctx[7]}set lang(t){this.$set({lang:t}),k()}}),customElements.get("player-account-gaming-limits-group-edit")||customElements.define("player-account-gaming-limits-group-edit",class extends H{constructor(t){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:i(this.attributes),customElement:!0},Tr,Cr,n,{limitsdata:0,showsuccessnotification:1,showdeletenotification:2,limitname:3,playercurrency:4,lang:5},[-1,-1]),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["limitsdata","showsuccessnotification","showdeletenotification","limitname","playercurrency","lang"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(t){this.$set({limitsdata:t}),k()}get showsuccessnotification(){return this.$$.ctx[1]}set showsuccessnotification(t){this.$set({showsuccessnotification:t}),k()}get showdeletenotification(){return this.$$.ctx[2]}set showdeletenotification(t){this.$set({showdeletenotification:t}),k()}get limitname(){return this.$$.ctx[3]}set limitname(t){this.$set({limitname:t}),k()}get playercurrency(){return this.$$.ctx[4]}set playercurrency(t){this.$set({playercurrency:t}),k()}get lang(){return this.$$.ctx[5]}set lang(t){this.$set({lang:t}),k()}});class Xr extends H{constructor(t){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:0px 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:i(this.attributes),customElement:!0},Zr,zr,n,{limitsdata:0,limitname:1,playercurrency:2,lang:3},[-1,-1]),t&&(t.target&&q(t.target,this,t.anchor),t.props&&(this.$set(t.props),k()))}static get observedAttributes(){return["limitsdata","limitname","playercurrency","lang"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(t){this.$set({limitsdata:t}),k()}get limitname(){return this.$$.ctx[1]}set limitname(t){this.$set({limitname:t}),k()}get playercurrency(){return this.$$.ctx[2]}set playercurrency(t){this.$set({playercurrency:t}),k()}get lang(){return this.$$.ctx[3]}set lang(t){this.$set({lang:t}),k()}}return customElements.get("player-account-gaming-limits-info-card")||customElements.define("player-account-gaming-limits-info-card",Xr),Xr});
2
2
  //# sourceMappingURL=player-account-gaming-limits-info-card.js.map