@everymatrix/player-account-gaming-limits-group-edit 0.0.284 → 0.0.287
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function z(){}const p=e=>e;function c(e){return e()}function d(){return Object.create(null)}function q(e){e.forEach(c)}function v(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function h(e,...t){if(null==e)return z;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function I(e,t,n){e.$$.on_destroy.push(h(t,n))}var e="undefined"!=typeof window;let y=e?()=>window.performance.now():()=>Date.now(),g=e?e=>requestAnimationFrame(e):z;const _=new Set;function w(t){_.forEach(e=>{e.c(t)||(_.delete(e),e.f())}),0!==_.size&&g(w)}function Z(e,t){e.appendChild(t)}function X(e,t,n){e.insertBefore(t,n||null)}function J(e){e.parentNode.removeChild(e)}function b(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function K(e){return document.createElement(e)}function t(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Q(e){return document.createTextNode(e)}function ee(){return Q(" ")}function E(){return Q("")}function te(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function ne(t){return function(e){return e.preventDefault(),t.call(this,e)}}function ie(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function re(e,t,n){t in e?e[t]=n:ie(e,t,n)}function R(e){return""===e?null:+e}function oe(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function f(e,t){e.value=null==t?"":t}function T(t,n){for(let e=0;e<t.options.length;e+=1){const i=t.options[e];if(i.__value===n)return i.selected=!0,0}}function i(e){const t={};for(const n of e)t[n.name]=n.value;return t}const x=new Set;let m,S=0;function M(e,t,n,i,r,o,s,a=0){var u=16.666/i;let l="{\n";for(let e=0;e<=1;e+=u){const i=t+(n-t)*o(e);l+=100*e+`%{${s(i,1-i)}}\n`}const c=l+`100% {${s(n,1-n)}}\n}`,d=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(c)}_${a}`,h=e.ownerDocument;x.add(h);const f=h.__svelte_stylesheet||(h.__svelte_stylesheet=h.head.appendChild(K("style")).sheet),m=h.__svelte_rules||(h.__svelte_rules={});m[d]||(m[d]=!0,f.insertRule(`@keyframes ${d} ${c}`,f.cssRules.length));a=e.style.animation||"";return e.style.animation=`${a?`${a}, `:""}${d} ${i}ms linear ${r}ms 1 both`,S+=1,d}function C(e){m=e}function Y(e){!function(){if(!m)throw new Error("Function called outside component initialization");return m}().$$.on_mount.push(e)}const A=[],a=[],r=[],o=[],L=Promise.resolve();let D=!1;function k(e){r.push(e)}let s=!1;const u=new Set;function P(){if(!s){s=!0;do{for(let e=0;e<A.length;e+=1){var t=A[e];C(t),function(e){{var t;null!==e.fragment&&(e.update(),q(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(k))}}(t.$$)}for(C(null),A.length=0;a.length;)a.pop()();for(let e=0;e<r.length;e+=1){const n=r[e];u.has(n)||(u.add(n),n())}}while(r.length=0,A.length);for(;o.length;)o.pop()();D=!1,s=!1,u.clear()}}let O;function N(e,t,n){e.dispatchEvent(function(e){const t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}(`${t?"intro":"outro"}${n}`))}const l=new Set;let U;function F(e,t){e&&e.i&&(l.delete(e),e.i(t))}function G(e,t,n,i){e&&e.o&&(l.has(e)||(l.add(e),U.c.push(()=>{l.delete(e),i&&(n&&e.d(1),i())}),e.o(t)))}const W={duration:0};function j(a,e,t,n){let u=e(a,t),l=n?0:1,c=null,d=null,h=null;function f(){h&&function(e,t){const n=(e.style.animation||"").split(", "),i=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),r=n.length-i.length;r&&(e.style.animation=i.join(", "),S-=r,S||g(()=>{S||(x.forEach(e=>{const t=e.__svelte_stylesheet;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.__svelte_rules={}}),x.clear())}))}(a,h)}function m(e,t){var n=e.b-l;return t*=Math.abs(n),{a:l,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function i(e){const{delay:t=0,duration:n=300,easing:i=p,tick:r=z,css:o}=u||W,s={start:y()+t,b:e};e||(s.group=U,U.r+=1),c||d?d=s:(o&&(f(),h=M(a,l,e,n,t,i,o)),e&&r(0,1),c=m(s,n),k(()=>N(a,e,"start")),function(t){let n;0===_.size&&g(w),new Promise(e=>{_.add(n={c:t,f:e})})}(e=>{return d&&e>d.start&&(c=m(d,n),d=null,N(a,c.b,"start"),o&&(f(),h=M(a,l,c.b,c.duration,0,i,u.css))),c&&(e>=c.end?(r(l=c.b,1-l),N(a,c.b,"end"),d||(c.b?f():--c.group.r||q(c.group.c)),c=null):e>=c.start&&(e=e-c.start,l=c.a+c.d*i(e/c.duration),r(l,1-l))),!(!c&&!d)}))}return{run(e){v(u)?(O||(O=Promise.resolve(),O.then(()=>{O=null})),O.then(()=>{u=u(),i(e)})):i(e)},end(){f(),c=d=null}}}function $(i,e,t,n,r,o,s=[-1]){var a=m;C(i);const u=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(a?a.$$.context:e.context||[]),callbacks:d(),dirty:s,skip_bound:!1};let l=!1;if(u.ctx=t?t(i,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return u.ctx&&r(u.ctx[e],u.ctx[e]=n)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](n),l&&(n=e,-1===(e=i).$$.dirty[0]&&(A.push(e),D||(D=!0,L.then(P)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],u.update(),l=!0,q(u.before_update),u.fragment=!!n&&n(u.ctx),e.target){if(e.hydrate){const z=(n=e.target,Array.from(n.childNodes));u.fragment&&u.fragment.l(z),z.forEach(J)}else u.fragment&&u.fragment.c();e.intro&&F(i.$$.fragment),function(t,e,n,i){const{fragment:r,on_mount:o,on_destroy:s,after_update:a}=t.$$;r&&r.m(e,n),i||k(()=>{var e=o.map(c).filter(v);s?s.push(...e):q(e),t.$$.on_mount=[]}),a.forEach(k)}(i,e.target,e.anchor,e.customElement),P()}C(a)}let H;"function"==typeof HTMLElement&&(H=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(c).filter(v);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){q(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(q(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=z}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var V,B,se="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==se&&se,ae="URLSearchParams"in se,ue="Symbol"in se&&"iterator"in Symbol,le="FileReader"in se&&"Blob"in se&&function(){try{return new Blob,!0}catch(e){return!1}}(),ce="FormData"in se,de="ArrayBuffer"in se;function he(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function fe(e){return e="string"!=typeof e?String(e):e}function me(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return ue&&(e[Symbol.iterator]=function(){return e}),e}function pe(t){this.map={},t instanceof pe?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function ye(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ge(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function _e(e){var t=new FileReader,n=ge(t);return t.readAsArrayBuffer(e),n}function ve(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function we(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:le&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:ce&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ae&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():de&&le&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=ve(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):de&&(ArrayBuffer.prototype.isPrototypeOf(e)||B(e))?this._bodyArrayBuffer=ve(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):ae&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},le&&(this.blob=function(){var e=ye(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?ye(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(_e)}),this.text=function(){var e,t,n=ye(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=ge(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),i=0;i<t.length;i++)n[i]=String.fromCharCode(t[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},ce&&(this.formData=function(){return this.text().then(Te)}),this.json=function(){return this.text().then(JSON.parse)},this}de&&(V=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],B=ArrayBuffer.isView||function(e){return e&&-1<V.indexOf(Object.prototype.toString.call(e))}),pe.prototype.append=function(e,t){e=he(e),t=fe(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},pe.prototype.delete=function(e){delete this.map[he(e)]},pe.prototype.get=function(e){return e=he(e),this.has(e)?this.map[e]:null},pe.prototype.has=function(e){return this.map.hasOwnProperty(he(e))},pe.prototype.set=function(e,t){this.map[he(e)]=fe(t)},pe.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},pe.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),me(n)},pe.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),me(t)},pe.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),me(n)},ue&&(pe.prototype[Symbol.iterator]=pe.prototype.entries);var be=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Ee(e,t){if(!(this instanceof Ee))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,i=(t=t||{}).body;if(e instanceof Ee){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new pe(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new pe(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<be.indexOf(e)?e:n),this.mode=t.mode||this.mode||null,this.signal=t.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"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Te(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function xe(e,t){if(!(this instanceof xe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new pe(t.headers),this.url=t.url||"",this._initBody(e)}Ee.prototype.clone=function(){return new Ee(this,{body:this._bodyInit})},we.call(Ee.prototype),we.call(xe.prototype),xe.prototype.clone=function(){return new xe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new pe(this.headers),url:this.url})},xe.error=function(){var e=new xe(null,{status:0,statusText:""});return e.type="error",e};var Se=[301,302,303,307,308];xe.redirect=function(e,t){if(-1===Se.indexOf(t))throw new RangeError("Invalid status code");return new xe(null,{status:t,headers:{location:e}})};var Me=se.DOMException;try{new Me}catch(z){(Me=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),Me.prototype.constructor=Me}function Ce(i,s){return new Promise(function(r,e){var t=new Ee(i,s);if(t.signal&&t.signal.aborted)return e(new Me("Aborted","AbortError"));var o=new XMLHttpRequest;function n(){o.abort()}o.onload=function(){var e,n,t={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",n=new pe,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;setTimeout(function(){r(new xe(i,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){e(new Me("Aborted","AbortError"))},0)},o.open(t.method,function(t){try{return""===t&&se.location.href?se.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?o.withCredentials=!0:"omit"===t.credentials&&(o.withCredentials=!1),"responseType"in o&&(le?o.responseType="blob":de&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof pe?t.headers.forEach(function(e,t){o.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){o.setRequestHeader(e,fe(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),o.onreadystatechange=function(){4===o.readyState&&t.signal.removeEventListener("abort",n)}),o.send(void 0===t._bodyInit?null:t._bodyInit)})}function kn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Ce.polyfill=!0,se.fetch||(se.fetch=Ce,se.Headers=pe,se.Request=Ee,se.Response=xe),self.fetch.bind(self);var Ae=function(e,t){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function Le(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Ae(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function De(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&i>=e.length?void 0:e)&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ke(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(i=o.next()).done;)s.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return s}function Pe(e,t){for(var n=0,i=t.length,r=e.length;n<i;n++,r++)e[r]=t[n];return e}function Oe(e){return"function"==typeof e}function Ne(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var Ie=Ne(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Re(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var Ye=(Fe.prototype.unsubscribe=function(){var e,t,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 s=De(o),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);o=this.initialTeardown;if(Oe(o))try{o()}catch(e){r=e instanceof Ie?e.errors:[e]}o=this._teardowns;if(o){this._teardowns=null;try{for(var u=De(o),l=u.next();!l.done;l=u.next()){var c=l.value;try{We(c)}catch(e){r=null!=r?r:[],e instanceof Ie?r=Pe(Pe([],ke(r)),ke(e.errors)):r.push(e)}}}catch(e){n={error:e}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}if(r)throw new Ie(r)}},Fe.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)We(e);else{if(e instanceof Fe){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},Fe.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Fe.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Fe.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Re(t,e)},Fe.prototype.remove=function(e){var t=this._teardowns;t&&Re(t,e),e instanceof Fe&&e._removeParent(this)},Fe.EMPTY=((ln=new Fe).closed=!0,ln),Fe),Ue=Ye.EMPTY;function Fe(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function Ge(e){return e instanceof Ye||e&&"closed"in e&&Oe(e.remove)&&Oe(e.add)&&Oe(e.unsubscribe)}function We(e){Oe(e)?e():e.unsubscribe()}var je=void 0,$e=!1,He=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,Pe([],ke(e)))};function Ve(){}function Be(e){e()}var ze,qe,Ze=(Le(Ke,qe=Ye),Ke.create=function(e,t,n){return new Xe(e,t,n)},Ke.prototype.next=function(e){this.isStopped||this._next(e)},Ke.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ke.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ke.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,qe.prototype.unsubscribe.call(this),this.destination=null)},Ke.prototype._next=function(e){this.destination.next(e)},Ke.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ke.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Ke),Xe=(Le(Je,ze=Ze),Je);function Je(e,t,n){var i,r,o=ze.call(this)||this;return Oe(e)?r=e:e&&(r=e.next,t=e.error,n=e.complete,o&&$e?(i=Object.create(e)).unsubscribe=function(){return o.unsubscribe()}:i=e,r=null==r?void 0:r.bind(i),t=null==t?void 0:t.bind(i),n=null==n?void 0:n.bind(i)),o.destination={next:r?Qe(r):Ve,error:Qe(null!=t?t:et),complete:n?Qe(n):Ve},o}function Ke(e){var t=qe.call(this)||this;return t.isStopped=!1,e?Ge(t.destination=e)&&e.add(t):t.destination=tt,t}function Qe(i){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{i.apply(void 0,Pe([],ke(e)))}catch(e){t=e,He(function(){throw t})}}}function et(e){throw e}var tt={closed:!0,next:Ve,error:et,complete:Ve},nt="function"==typeof Symbol&&Symbol.observable||"@@observable";function it(e){return e}var rt=(ot.prototype.lift=function(e){var t=new ot;return t.source=this,t.operator=e,t},ot.prototype.subscribe=function(e,t,n){var i,r=this,o=(i=e)&&i instanceof Ze||i&&Oe(i.next)&&Oe(i.error)&&Oe(i.complete)&&Ge(i)?e:new Xe(e,t,n);return Be(function(){var e=r.operator,t=r.source;o.add(e?e.call(o,t):t?r._subscribe(o):r._trySubscribe(o))}),o},ot.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},ot.prototype.forEach=function(i,e){var r=this;return new(e=st(e))(function(e,t){var n=r.subscribe(function(e){try{i(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},ot.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},ot.prototype[nt]=function(){return this},ot.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?it:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},ot.prototype.toPromise=function(e){var i=this;return new(e=st(e))(function(e,t){var n;i.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},ot.create=function(e){return new ot(e)},ot);function ot(e){e&&(this._subscribe=e)}function st(e){return null!==(e=null!=e?e:je)&&void 0!==e?e:Promise}var at,ut,lt,ct=Ne(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),dt=(Le(gt,lt=rt),gt.prototype.lift=function(e){var t=new ht(this,this);return t.operator=e,t},gt.prototype._throwIfClosed=function(){if(this.closed)throw new ct},gt.prototype.next=function(o){var s=this;Be(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){var n=s.observers.slice();try{for(var i=De(n),r=i.next();!r.done;r=i.next())r.value.next(o)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}}})},gt.prototype.error=function(t){var n=this;Be(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},gt.prototype.complete=function(){var t=this;Be(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},gt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(gt.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),gt.prototype._trySubscribe=function(e){return this._throwIfClosed(),lt.prototype._trySubscribe.call(this,e)},gt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},gt.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,i=this.observers;return t||n?Ue:(i.push(e),new Ye(function(){return Re(i,e)}))},gt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,i=this.isStopped;t?e.error(n):i&&e.complete()},gt.prototype.asObservable=function(){var e=new rt;return e.source=this,e},gt.create=function(e,t){return new ht(e,t)},gt),ht=(Le(yt,ut=dt),yt.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},yt.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},yt.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},yt.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:Ue},yt),ft={now:function(){return(ft.delegate||Date).now()},delegate:void 0},mt=(Le(pt,at=dt),pt.prototype.next=function(e){var t=this,n=t.isStopped,i=t._buffer,r=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;n||(i.push(e),r||i.push(o.now()+t)),this._trimBuffer(),at.prototype.next.call(this,e)},pt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,i=this._buffer.slice(),r=0;r<i.length&&!e.closed;r+=n?1:2)e.next(i[r]);return this._checkFinalizedStatuses(e),t},pt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,i=this._infiniteTimeWindow,r=(i?1:2)*e;if(e<1/0&&r<n.length&&n.splice(0,n.length-r),!i){for(var o=t.now(),s=0,a=1;a<n.length&&n[a]<=o;a+=2)s=a;s&&n.splice(0,s+1)}},pt);function pt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=ft);var i=at.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,t),i}function yt(e,t){var n=ut.call(this)||this;return n.destination=e,n.source=t,n}function gt(){var e=lt.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let _t=[],vt={};const wt=[];function bt(i,r=z){let o;const s=[];function a(e){if(n(i,e)&&(i=e,o)){const e=!wt.length;for(let e=0;e<s.length;e+=1){const t=s[e];t[1](),wt.push(t,i)}if(e){for(let e=0;e<wt.length;e+=2)wt[e][0](wt[e+1]);wt.length=0}}}return{set:a,update:function(e){a(e(i))},subscribe:function(e,t=z){const n=[e,t];return s.push(n),1===s.length&&(o=r(a)||z),e(i),()=>{var e=s.indexOf(n);-1!==e&&s.splice(e,1),0===s.length&&(o(),o=null)}}}}function Et(e,a,t){const u=!Array.isArray(e),l=u?[e]:e,c=a.length<2;return{subscribe:bt(t,t=>{let n=!1;const i=[];let r=0,o=z;const s=()=>{var e;r||(o(),e=a(u?i[0]:i,t),c?t(e):o=v(e)?e:z)},e=l.map((e,t)=>h(e,e=>{i[t]=e,r&=~(1<<t),n&&s()},()=>{r|=1<<t}));return n=!0,s(),function(){q(e),o()}}).subscribe}}var Tt=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===xt));var t},xt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function St(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Dt(Array.isArray(e)?[]:{},e,t):e}function Mt(e,t,n){return e.concat(t).map(function(e){return St(e,n)})}function Ct(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function At(e,t){try{return t in e}catch(e){return!1}}function Lt(i,r,o){var s={};return o.isMergeableObject(i)&&Ct(i).forEach(function(e){s[e]=St(i[e],o)}),Ct(r).forEach(function(t){var e,n;(!At(e=i,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(At(i,t)&&o.isMergeableObject(r[t])?s[t]=function(){if(!o.customMerge)return Dt;var e=o.customMerge(t);return"function"==typeof e?e:Dt}()(i[t],r[t],o):s[t]=St(r[t],o))}),s}function Dt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Mt,n.isMergeableObject=n.isMergeableObject||Tt,n.cloneUnlessOtherwiseSpecified=St;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):Lt(e,t,n):St(t,n)}Dt.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return Dt(e,t,n)},{})};var kt=Dt,Pt=function(e,t){return(Pt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function Ot(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Pt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Nt,It,Rt,Yt=function(){return(Yt=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function Ut(e,t){for(var n=0,i=t.length,r=e.length;n<i;n++,r++)e[r]=t[n];return e}function Ft(e){return e.type===It.literal}function Gt(e){return e.type===It.number}function Wt(e){return e.type===It.date}function jt(e){return e.type===It.time}function $t(e){return e.type===It.select}function Ht(e){return e.type===It.plural}function Vt(e){return e.type===It.tag}function Bt(e){return e&&"object"==typeof e&&e.type===Rt.number}function zt(e){return e&&"object"==typeof e&&e.type===Rt.dateTime}(cn=Nt=Nt||{})[cn.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",cn[cn.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",cn[cn.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",cn[cn.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",cn[cn.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",cn[cn.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",cn[cn.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",cn[cn.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",cn[cn.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",cn[cn.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",cn[cn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",cn[cn.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",cn[cn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",cn[cn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",cn[cn.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",cn[cn.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",cn[cn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",cn[cn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",cn[cn.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",cn[cn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",cn[cn.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",cn[cn.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",cn[cn.INVALID_TAG=23]="INVALID_TAG",cn[cn.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",cn[cn.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",cn[cn.UNCLOSED_TAG=27]="UNCLOSED_TAG",(dn=It=It||{})[dn.literal=0]="literal",dn[dn.argument=1]="argument",dn[dn.number=2]="number",dn[dn.date=3]="date",dn[dn.time=4]="time",dn[dn.select=5]="select",dn[dn.plural=6]="plural",dn[dn.pound=7]="pound",dn[dn.tag=8]="tag",(hn=Rt=Rt||{})[hn.number=0]="number",hn[hn.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,qt=/(?:[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 Zt,Xt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Jt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Kt=/^(@+)?(\+|#+)?$/g,Qt=/(\*)(0+)|(#+)(0+)|(0+)/g,en=/^(0+)$/;function tn(e){var i={};return e.replace(Kt,function(e,t,n){return"string"!=typeof n?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===n?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),i}function nn(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function rn(e){return nn(e)||{}}function on(e){for(var s={},t=0,n=e;t<n.length;t++){var i,r=n[t];switch(r.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=r.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=Yt(Yt(Yt({},s),{notation:"scientific"}),r.options.reduce(function(e,t){return Yt(Yt({},e),rn(t))},{}));continue;case"engineering":s=Yt(Yt(Yt({},s),{notation:"engineering"}),r.options.reduce(function(e,t){return Yt(Yt({},e),rn(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.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(Qt,function(e,t,n,i,r,o){if(t)s.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))s.minimumIntegerDigits=r.stem.length;else if(Jt.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Jt,function(e,t,n,i,r,o){return"*"===n?s.minimumFractionDigits=t.length:i&&"#"===i[0]?s.maximumFractionDigits=i.length:r&&o?(s.minimumFractionDigits=r.length,s.maximumFractionDigits=r.length+o.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""}),r.options.length&&(s=Yt(Yt({},s),tn(r.options[0])))}else Kt.test(r.stem)?s=Yt(Yt({},s),tn(r.stem)):((i=nn(r.stem))&&(s=Yt(Yt({},s),i)),(i=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!en.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem))&&(s=Yt(Yt({},s),i)))}return s}var sn=new RegExp("^"+e.source+"*"),an=new RegExp(e.source+"*$");function un(e,t){return{start:e,end:t}}var ln=!!String.prototype.startsWith,nt=!!String.fromCodePoint,dt=!!Object.fromEntries,cn=!!String.prototype.codePointAt,dn=!!String.prototype.trimStart,hn=!!String.prototype.trimEnd,fn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},e=!0;try{e="a"===(null===(Zt=En("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Zt?void 0:Zt[0])}catch(z){e=!1}var mn,pn,yn=ln?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},gn=nt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,i="",r=e.length,o=0;o<r;){if(1114111<(n=e[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},_n=dt?Object.fromEntries:function(e){for(var t={},n=0,i=e;n<i.length;n++){var r=i[n],o=r[0],r=r[1];t[o]=r}return t},vn=cn?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var i,r=e.charCodeAt(t);return r<55296||56319<r||t+1===n||(i=e.charCodeAt(t+1))<56320||57343<i?r:i-56320+(r-55296<<10)+65536}},wn=dn?function(e){return e.trimStart()}:function(e){return e.replace(sn,"")},bn=hn?function(e){return e.trimEnd()}:function(e){return e.replace(an,"")};function En(e,t){return new RegExp(e,t)}pn=e?(mn=En("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return mn.lastIndex=t,null!==(e=mn.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,i=[];;){var r=vn(e,t);if(void 0===r||Mn(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),t+=65536<=r?2:1}return gn.apply(void 0,i)};var Tn=(xn.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},xn.prototype.parseMessage=function(e,t,n){for(var i=[];!this.isEOF();){var r,o=this.char();if(123===o){if((r=this.parseArgument(e,n)).err)return r;i.push(r.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Nt.UNMATCHED_CLOSING_TAG,un(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Sn(this.peek()||0)){if((r=this.parseTag(e,t)).err)return r;i.push(r.val)}else{if((r=this.parseLiteral(e,t)).err)return r;i.push(r.val)}}else{o=this.clonePosition();this.bump(),i.push({type:It.pound,location:un(o,this.clonePosition())})}}}return{val:i,err:null}},xn.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:It.literal,value:"<"+i+"/>",location:un(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,t,!0);if(r.err)return r;e=r.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Sn(this.char()))return this.error(Nt.INVALID_TAG,un(t,this.clonePosition()));r=this.clonePosition();return i!==this.parseTagName()?this.error(Nt.UNMATCHED_CLOSING_TAG,un(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:It.tag,value:i,children:e,location:un(n,this.clonePosition())},err:null}:this.error(Nt.INVALID_TAG,un(t,this.clonePosition())))}return this.error(Nt.UNCLOSED_TAG,un(n,this.clonePosition()))}return this.error(Nt.INVALID_TAG,un(n,this.clonePosition()))},xn.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},xn.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),i="";;){var r=this.tryParseQuote(t);if(r)i+=r;else{r=this.tryParseUnquoted(e,t);if(r)i+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;i+=r}}}n=un(n,this.clonePosition());return{val:{type:It.literal,value:i,location:n},err:null}},xn.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Sn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},xn.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return gn.apply(void 0,t)},xn.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),gn(n))},xn.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Nt.EXPECT_ARGUMENT_CLOSING_BRACE,un(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Nt.EMPTY_ARGUMENT,un(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(Nt.MALFORMED_ARGUMENT,un(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Nt.EXPECT_ARGUMENT_CLOSING_BRACE,un(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:It.argument,value:i,location:un(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Nt.EXPECT_ARGUMENT_CLOSING_BRACE,un(n,this.clonePosition())):this.parseArgumentOptions(e,t,i,n);default:return this.error(Nt.MALFORMED_ARGUMENT,un(n,this.clonePosition()))}},xn.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=pn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:un(e,this.clonePosition())}},xn.prototype.parseArgumentOptions=function(e,t,n,i){var r,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(Nt.EXPECT_ARGUMENT_TYPE,un(o,a));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(d=bn(h.val)).length)return this.error(Nt.EXPECT_ARGUMENT_STYLE,un(this.clonePosition(),this.clonePosition()));u={style:d,styleLocation:un(l,this.clonePosition())}}if((f=this.tryParseArgumentClose(i)).err)return f;var c=un(i,this.clonePosition());if(u&&yn(null==u?void 0:u.style,"::",0)){l=wn(u.style.slice(2));if("number"===s)return(h=this.parseNumberSkeletonFromString(l,u.styleLocation)).err?h:{val:{type:It.number,value:n,location:c,style:h.val},err:null};if(0===l.length)return this.error(Nt.EXPECT_DATE_TIME_SKELETON,c);var d={type:Rt.dateTime,pattern:l,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},l.replace(qt,function(e){var t=e.length;switch(e[0]){case"G":r.era=4===t?"long":5===t?"narrow":"short";break;case"y":r.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":r.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][t-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][t-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][t-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":r.minute=["numeric","2-digit"][t-1];break;case"s":r.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),r):{}};return{val:{type:"date"===s?It.date:It.time,value:n,location:c,style:d},err:null}}return{val:{type:"number"===s?It.number:"date"===s?It.date:It.time,value:n,location:c,style:null!==(c=null==u?void 0:u.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Nt.EXPECT_SELECT_ARGUMENT_OPTIONS,un(u,Yt({},u)));this.bumpSpace();var h,c=this.parseIdentifierIfPossible(),u=0;if("select"!==s&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(Nt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,un(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(Nt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Nt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),c=this.parseIdentifierIfPossible(),u=h.val}c=this.tryParsePluralOrSelectOptions(e,s,t,c);if(c.err)return c;if((f=this.tryParseArgumentClose(i)).err)return f;var f=un(i,this.clonePosition());return"select"===s?{val:{type:It.select,value:n,options:_n(c.val),location:f},err:null}:{val:{type:It.plural,value:n,options:_n(c.val),offset:u,pluralType:"plural"===s?"cardinal":"ordinal",location:f},err:null};default:return this.error(Nt.INVALID_ARGUMENT_TYPE,un(o,a))}},xn.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Nt.EXPECT_ARGUMENT_CLOSING_BRACE,un(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},xn.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Nt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,un(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},xn.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,i=e.split(Xt).filter(function(e){return 0<e.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),s=0,a=r;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:r})}return t}(e)}catch(e){return this.error(Nt.INVALID_NUMBER_SKELETON,t)}return{val:{type:Rt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?on(n):{}},err:null}},xn.prototype.tryParsePluralOrSelectOptions=function(e,t,n,i){for(var r=!1,o=[],s=new Set,a=i.value,u=i.location;;){if(0===a.length){var l=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(Nt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Nt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;u=un(l,this.clonePosition()),a=this.message.slice(l.offset,this.offset())}if(s.has(a))return this.error("select"===t?Nt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Nt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===a&&(r=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Nt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Nt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,un(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;l=this.tryParseArgumentClose(d);if(l.err)return l;o.push([a,{value:c.val,location:un(d,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(d=this.parseIdentifierIfPossible()).value,u=d.location}return 0===o.length?this.error("select"===t?Nt.EXPECT_SELECT_ARGUMENT_SELECTOR:Nt.EXPECT_PLURAL_ARGUMENT_SELECTOR,un(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(Nt.MISSING_OTHER_CLAUSE,un(this.clonePosition(),this.clonePosition())):{val:o,err:null}},xn.prototype.tryParseDecimalInteger=function(e,t){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var r=!1,o=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;r=!0,o=10*o+(s-48),this.bump()}i=un(i,this.clonePosition());return r?fn(o*=n)?{val:o,err:null}:this.error(t,i):this.error(e,i)},xn.prototype.offset=function(){return this.position.offset},xn.prototype.isEOF=function(){return this.offset()===this.message.length},xn.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},xn.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=vn(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},xn.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},xn.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},xn.prototype.bumpIf=function(e){if(yn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},xn.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},xn.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},xn.prototype.bumpSpace=function(){for(;!this.isEOF()&&Mn(this.char());)this.bump()},xn.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},xn);function xn(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Sn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Mn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Cn(e,t){t=Yt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new Tn(e,t).parse();if(n.err){e=SyntaxError(Nt[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,$t(e)||Ht(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Gt(e)&&Bt(e.style)||(Wt(e)||jt(e))&&zt(e.style)?delete e.style.location:Vt(e)&&n(e.children)})}(n.val),n.val}function An(e,t){var n=t&&t.cache?t.cache:Rn,i=t&&t.serializer?t.serializer:On;return(t&&t.strategy?t.strategy:function(e,t){return Pn(e,this,1===e.length?Ln:Dn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:i})}function Ln(e,t,n,i){var r=null==i||"number"==typeof i||"boolean"==typeof i?i:n(i),n=t.get(r);return void 0===n&&(n=e.call(this,i),t.set(r,n)),n}function Dn(e,t,n){var i=Array.prototype.slice.call(arguments,3),r=n(i),n=t.get(r);return void 0===n&&(n=e.apply(this,i),t.set(r,n)),n}function Pn(e,t,n,i,r){return n.bind(t,e,i,r)}var On=function(){return JSON.stringify(arguments)};function Nn(){this.cache=Object.create(null)}Nn.prototype.has=function(e){return e in this.cache},Nn.prototype.get=function(e){return this.cache[e]},Nn.prototype.set=function(e,t){this.cache[e]=t};var In,Rn={create:function(){return new Nn}},Yn={variadic:function(e,t){return Pn(e,this,Dn,t.cache.create(),t.serializer)},monadic:function(e,t){return Pn(e,this,Ln,t.cache.create(),t.serializer)}};(e=In=In||{}).MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API";var Un,Fn,Gn,Wn,jn,$n=(Ot(Xn,jn=Error),Xn.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Xn),Hn=(Ot(Zn,Wn=$n),Zn),Vn=(Ot(qn,Gn=$n),qn),Bn=(Ot(zn,Fn=$n),zn);function zn(e,t){return Fn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',In.MISSING_VALUE,t)||this}function qn(e,t,n){return Gn.call(this,'Value for "'+e+'" must be of type '+t,In.INVALID_VALUE,n)||this}function Zn(e,t,n,i){return Wn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',In.INVALID_VALUE,i)||this}function Xn(e,t,n){e=jn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Jn(e,t,n,i,r,o,s){if(1===e.length&&Ft(e[0]))return[{type:Un.literal,value:e[0].value}];for(var a=[],u=0,l=e;u<l.length;u++){var c=l[u];if(Ft(c))a.push({type:Un.literal,value:c.value});else if(c.type===It.pound)"number"==typeof o&&a.push({type:Un.literal,value:n.getNumberFormat(t).format(o)});else{var d=c.value;if(!(r&&d in r))throw new Bn(d,s);var h=r[d];if(c.type===It.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?Un.literal:Un.object,value:h});else if(Wt(c)){var f="string"==typeof c.style?i.date[c.style]:zt(c.style)?c.style.parsedOptions:void 0;a.push({type:Un.literal,value:n.getDateTimeFormat(t,f).format(h)})}else if(jt(c))f="string"==typeof c.style?i.time[c.style]:zt(c.style)?c.style.parsedOptions:void 0,a.push({type:Un.literal,value:n.getDateTimeFormat(t,f).format(h)});else if(Gt(c))(f="string"==typeof c.style?i.number[c.style]:Bt(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(h*=f.scale||1),a.push({type:Un.literal,value:n.getNumberFormat(t,f).format(h)});else{if(Vt(c)){var m=c.children,p=c.value,d=r[p];if("function"!=typeof d)throw new Vn(p,"function",s);m=d(Jn(m,t,n,i,r,o).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),a.push.apply(a,m.map(function(e){return{type:"string"==typeof e?Un.literal:Un.object,value:e}}))}if($t(c)){if(!(y=c.options[h]||c.options.other))throw new Hn(c.value,h,Object.keys(c.options),s);a.push.apply(a,Jn(y.value,t,n,i,r))}else if(Ht(c)){if(!(y=c.options["="+h])){if(!Intl.PluralRules)throw new $n('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',In.MISSING_INTL_API,s);var m=n.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0)),y=c.options[m]||c.options.other}if(!y)throw new Hn(c.value,h,Object.keys(c.options),s);a.push.apply(a,Jn(y.value,t,n,i,r,h-(c.offset||0)))}}}}return a.length<2?a:a.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===Un.literal&&t.type===Un.literal?n.value+=t.value:e.push(t),e},[])}function Kn(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=Un=Un||{})[e.literal=0]="literal",e[e.object=1]="object";var Qn=(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=Cn,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(e,t,n,i){var r,o,s=this;if(void 0===t&&(t=ei.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===Un.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Jn(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof e){if(this.message=e,!ei.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=ei.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(r=ei.formats,(o=n)?Object.keys(r).reduce(function(e,t){var n,i;return e[t]=(n=r[t],(i=o[t])?Yt(Yt(Yt({},n||{}),i||{}),Object.keys(n).reduce(function(e,t){return e[t]=Yt(Yt({},n[t]),i[t]||{}),e},{})):n),e},Yt({},r)):r),this.locales=t,this.formatters=i&&i.formatters||{getNumberFormat:An(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Ut([void 0],t)))},{cache:Kn((i=void 0===(i=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:i).number),strategy:Yn.variadic}),getDateTimeFormat:An(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Ut([void 0],t)))},{cache:Kn(i.dateTime),strategy:Yn.variadic}),getPluralRules:An(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Ut([void 0],t)))},{cache:Kn(i.pluralRules),strategy:Yn.variadic})}}const ti={},ni=(t,n)=>{if(null!=n){if(n in ti&&t in ti[n])return ti[n][t];var i,r,o=_i(n);for(let e=0;e<o.length;e++){var s=(i=o[e],r=t,oi(i)?function(e,t){if(t in e)return e[t];const n=t.split(".");let i=e;for(let e=0;e<n.length;e++)if("object"==typeof i){if(0<e){const t=n.slice(e,n.length).join(".");if(t in i){i=i[t];break}}i=i[n[e]]}else i=void 0;return i}(function(e){return ii[e]||null}(i),r):null);if(s)return i=t,r=n,(s=s)&&(r in ti||(ti[r]={}),i in ti[r]||(ti[r][i]=s),s)}}};let ii;const ri=bt({});function oi(e){return e in ii}function si(t,...n){delete ti[t],ri.update(e=>(e[t]=kt.all([e[t]||{},...n]),e))}Et([ri],([e])=>Object.keys(e)),ri.subscribe(e=>ii=e);const ai={};function ui(e){return ai[e]}function li(e){return _i(e).some(e=>{return null===(e=ui(e))||void 0===e?void 0:e.size})}const ci={};function di(e){if(!li(e))return e in ci?ci[e]:void 0;const t=_i(e).map(e=>{var t=ui(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return ci[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){ai[e].delete(t),0===ai[e].size&&delete ai[e]}(t,e),e().then(e=>e.default||e)))).then(e=>si(t,...e))}(e))).then(()=>li(e)?di(e):void delete ci[e]),ci[e]}function hi(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}const fi={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=bt(!1);let pi;const yi=bt(null);function gi(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function _i(e,t=fi.fallbackLocale){e=gi(e);return t?[...new Set([...e,...gi(t)])]:e}yi.subscribe(e=>{pi=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const vi=yi.set;yi.set=t=>{if(function(e){if(null!=e){var t=_i(e);for(let e=0;e<t.length;e++){var n=t[e];if(oi(n))return n}}}(t)&&li(t)){var{loadingDelay:n}=fi;let e;return"undefined"!=typeof window&&null!=pi&&n?e=window.setTimeout(()=>mi.set(!0),n):mi.set(!0),di(t).then(()=>{vi(t)}).finally(()=>{clearTimeout(e),mi.set(!1)})}return vi(t)},yi.update=e=>vi(e(pi));const wi=n=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=n(e)}},bi=(e,t)=>{var{formats:n}=fi;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ei=wi(e=>{var{locale:t,format:n}=e,e=hi(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=bi("number",n)),new Intl.NumberFormat(t,e)}),Ti=wi(e=>{var{locale:t,format:n}=e,e=hi(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=bi("date",n):0===Object.keys(e).length&&(e=bi("date","short")),new Intl.DateTimeFormat(t,e)}),xi=wi(e=>{var{locale:t,format:n}=e,e=hi(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=bi("time",n):0===Object.keys(e).length&&(e=bi("time","short")),new Intl.DateTimeFormat(t,e)}),Si=wi((e,t=pi)=>new Qn(e,t,fi.formats,{ignoreTag:fi.ignoreTag})),Mi=Et([yi,ri],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:i=pi,default:r}=t;if(null==i)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let o=ni(e,i);if(o){if("string"!=typeof o)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof o}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),o}else fi.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${_i(i).join('", "')}".${li(pi)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),o=r||e;if(!n)return o;let s=o;try{s=Si(o,i).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return s});Et([yi],()=>(e,t)=>((e={})=>{var{locale:t=pi}=e,e=hi(e,["locale"]);return xi(Object.assign({locale:t},e))})(t).format(e)),Et([yi],()=>(e,t)=>((e={})=>{var{locale:t=pi}=e,e=hi(e,["locale"]);return Ti(Object.assign({locale:t},e))})(t).format(e)),Et([yi],()=>(e,t)=>((e={})=>{var{locale:t=pi}=e,e=hi(e,["locale"]);return Ei(Object.assign({locale:t},e))})(t).format(e)),Et([yi,ri],()=>(e,t=pi)=>ni(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==_t.indexOf(e)&&(t=new mt(t),vt[e]=t,_t.push(e)),vt[e]}};const Ci=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",Ai={en:{editText:{back:"Back to Gaming Limits",limit:"Limit",amount:"Amount",noLimit:"No limit",changeLimitsText:"Are you sure you want to change the {limit}s?",success:"Success lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"You have requested to remove this limit. This will be applied on ",invalidInputMessageLimit:"The amount needs to be between 0 and 99,999,999.",invalidInputMessageTime:"The time amount needs to be greater than {minTime} and below {maxTime} minutes.",expirationDate:"Expiration Date:",save:"Save",changedLimitTextBefore:"Your limit has been changed or increased:",changedLimitTextAfter:"You will have to wait for the expiration date for your new limit \vto take effect"}},ro:{editText:{back:"Înapoi la limite de joc",limit:"Limită",amount:"Sumă",noLimit:"Fără Limită",changeLimitsText:"Ești sigur că vrei să modifici {limit}?",success:"Limitele tale de joc au fost configurate cu success.",remove:"Ai solicitat eliminarea acestei limite. Acest lucru va avea loc la data expirării limitei ",invalidInputMessageLimit:"Trebuie să setezi o sumă intre 0 și 99,999,999.",invalidInputMessageTime:"Trebuie să setezi o limită intre {minTime} minute și {maxTime} minute",expirationDate:"Dată Expirare:",save:"Salvează",changedLimitTextBefore:"Limita ta a fost schimbată sau a crescut:",changedLimitTextAfter:". Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare."}},es:{editText:{back:"Volver a Límites del juego",limit:"Límite",amount:"Cantidad",noLimit:"Sin limite",changeLimitsText:"Estás seguro de que quieres cambiar los {limit}s?",success:"Sus límites de juego se han establecido correctamente.",remove:"Solicitaste la eliminación de este límite. Esto se aplicará en",invalidInputMessageLimit:"El valor debe estar entre 0 y 99.999.999",invalidInputMessageTime:"La cantidad de tiempo debe ser mayor que {1} y menor que {99999999} minutos",expirationDate:"Fecha de validez",save:"Guardar",changedLimitTextBefore:"Su límite ha sido modificado o aumentado:",changedLimitTextAfter:"Tendrás que esperar a la fecha de vencimiento para que tu nuevo límite entre en vigencia."}},pt:{editText:{back:"Voltar para Limites de jogos",limit:"Limite",amount:"Montante",noLimit:"Sem limite",changeLimitsText:"Tem certeza de que deseja alterar os {limite}s?",success:"Seus limites de jogo foram definidos com sucesso.",remove:"Você solicitou a remoção deste limite. Isso será aplicado em",invalidInputMessageLimit:"O valor precisa estar entre 0 e 99.999.999",invalidInputMessageTime:"A quantidade de tempo precisa ser maior que {1} e menor que {99999999} minutos",expirationDate:"Data de Validade",save:"Guardar",changedLimitTextBefore:"Seu limite foi alterado ou aumentado:",changedLimitTextAfter:"Você terá que aguardar a data de expiração para que seu novo limite entre em vigor"}}};var Li,Di,ki=(Di=Li={path:void 0,exports:{},require:function(e,t){return kn(null==t&&Li.path)}},Li.exports,Di.exports=function(){var e;function m(){return e.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function o(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function r(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function i(e,t){for(var n=[],i=0;i<e.length;++i)n.push(t(e[i],i));return n}function c(e,t){for(var n in t)f(t,n)&&(e[n]=t[n]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,i){return Lt(e,t,n,i,!0).utc()}function p(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function h(e){if(null==e._isValid){var t=p(e),n=g.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function y(e){var t=d(NaN);return null!=e?c(p(t),e):p(t).userInvalidated=!0,t}var g=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1},_=m.momentProperties=[],t=!1;function v(e,t){var n,i,r;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=p(t)),o(t._locale)||(e._locale=t._locale),0<_.length)for(n=0;n<_.length;n++)o(r=t[i=_[n]])||(e[i]=r);return e}function w(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,m.updateOffset(this),t=!1)}function b(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function E(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(r,o){var s=!0;return c(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,r),s){for(var e,t,n=[],i=0;i<arguments.length;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}E(r+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var T={};function x(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),T[e]||(E(t),T[e]=!0)}function S(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e,t){var n,i=c({},e);for(n in t)f(t,n)&&(a(e[n])&&a(t[n])?(i[n]={},c(i[n],e[n]),c(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)f(e,n)&&!f(t,n)&&a(e[n])&&(i[n]=c({},i[n]));return i}function C(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var A=Object.keys||function(e){var t,n=[];for(t in e)f(e,t)&&n.push(t);return n};function L(e,t,n){var i=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}var D=/(\[[^\[]*\])|(\\)?([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,k=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},O={};function N(e,t,n,i){var r="string"==typeof i?function(){return this[i]()}:i;e&&(O[e]=r),t&&(O[t[0]]=function(){return L(r.apply(this,arguments),t[1],t[2])}),n&&(O[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function I(e,t){return e.isValid()?(t=R(t,e.localeData()),P[t]=P[t]||function(i){for(var e,r=i.match(D),t=0,o=r.length;t<o;t++)O[r[t]]?r[t]=O[r[t]]:r[t]=(e=r[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<o;n++)t+=S(r[n])?r[n].call(e,i):r[n];return t}}(t),P[t](e)):e.localeData().invalidDate()}function R(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(k.lastIndex=0;0<=n&&k.test(e);)e=e.replace(k,i),k.lastIndex=0,--n;return e}var Y={};function U(e,t){var n=e.toLowerCase();Y[n]=Y[n+"s"]=Y[t]=e}function F(e){return"string"==typeof e?Y[e]||Y[e.toLowerCase()]:void 0}function G(e){var t,n,i={};for(n in e)f(e,n)&&(t=F(n))&&(i[t]=e[n]);return i}var W={};function j(e,t){W[e]=t}function $(e){return e%4==0&&e%100!=0||e%400==0}function H(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function V(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?H(t):e}function B(t,n){return function(e){return null!=e?(q(this,t,e),m.updateOffset(this,n),this):z(this,t)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function q(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&$(e.year())&&1===e.month()&&29===e.date()?(n=V(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ae(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Z=/\d/,X=/\d\d/,J=/\d{3}/,K=/\d{4}/,Q=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ne=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,re=/\d{1,4}/,oe=/[+-]?\d{1,6}/,se=/\d+/,ae=/[+-]?\d+/,ue=/Z|[+-]\d\d:?\d\d/gi,le=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function de(e,n,i){me[e]=S(n)?n:function(e,t){return e&&i?i:n}}function he(e,t){return f(me,e)?me[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var me={},pe={};function ye(e,n){var t,i=n;for("string"==typeof e&&(e=[e]),l(n)&&(i=function(e,t){t[n]=V(e)}),t=0;t<e.length;t++)pe[e[t]]=i}function ge(e,r){ye(e,function(e,t,n,i){n._w=n._w||{},r(e,n._w,n,i)})}var _e,ve=0,we=1,be=2,Ee=3,Te=4,xe=5,Se=6,Me=7,Ce=8;function Ae(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?$(e)?29:28:31-n%7%2}_e=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},N("M",["MM",2],"Mo",function(){return this.month()+1}),N("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),N("MMMM",0,0,function(e){return this.localeData().months(this,e)}),U("month","M"),j("month",8),de("M",ee),de("MM",ee,X),de("MMM",function(e,t){return t.monthsShortRegex(e)}),de("MMMM",function(e,t){return t.monthsRegex(e)}),ye(["M","MM"],function(e,t){t[we]=V(e)-1}),ye(["MMM","MMMM"],function(e,t,n,i){i=n._locale.monthsParse(e,i,n._strict);null!=i?t[we]=i:p(n).invalidMonth=e});var Le="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ke=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Pe=ce,Oe=ce;function Ne(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=V(t);else if(!l(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ae(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ie(e){return null!=e?(Ne(this,e),m.updateOffset(this,!0),this):z(this,"Month")}function Re(){function e(e,t){return t.length-e.length}for(var t,n=[],i=[],r=[],o=0;o<12;o++)t=d([2e3,o]),n.push(this.monthsShort(t,"")),i.push(this.months(t,"")),r.push(this.months(t,"")),r.push(this.monthsShort(t,""));for(n.sort(e),i.sort(e),r.sort(e),o=0;o<12;o++)n[o]=fe(n[o]),i[o]=fe(i[o]);for(o=0;o<24;o++)r[o]=fe(r[o]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ye(e){return $(e)?366:365}N("Y",0,0,function(){var e=this.year();return e<=9999?L(e,4):"+"+e}),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"),U("year","y"),j("year",1),de("Y",ae),de("YY",ee,X),de("YYYY",re,K),de("YYYYY",oe,Q),de("YYYYYY",oe,Q),ye(["YYYYY","YYYYYY"],ve),ye("YYYY",function(e,t){t[ve]=2===e.length?m.parseTwoDigitYear(e):V(e)}),ye("YY",function(e,t){t[ve]=m.parseTwoDigitYear(e)}),ye("Y",function(e,t){t[ve]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return V(e)+(68<V(e)?1900:2e3)};var Ue=B("FullYear",!0);function Fe(e,t,n,i,r,o,s){var a;return e<100&&0<=e?(a=new Date(e+400,t,n,i,r,o,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,i,r,o,s),a}function Ge(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function We(e,t,n){n=7+t-n;return-(7+Ge(e,0,n).getUTCDay()-t)%7+n-1}function je(e,t,n,i,r){var o,r=1+7*(t-1)+(7+n-i)%7+We(e,i,r),r=r<=0?Ye(o=e-1)+r:r>Ye(e)?(o=e+1,r-Ye(e)):(o=e,r);return{year:o,dayOfYear:r}}function $e(e,t,n){var i,r,o=We(e.year(),t,n),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?i=o+He(r=e.year()-1,t,n):o>He(e.year(),t,n)?(i=o-He(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function He(e,t,n){var i=We(e,t,n),n=We(e+1,t,n);return(Ye(e)-i+n)/7}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),U("week","w"),U("isoWeek","W"),j("week",5),j("isoWeek",5),de("w",ee),de("ww",ee,X),de("W",ee),de("WW",ee,X),ge(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=V(e)});function Ve(e,t){return e.slice(t,7).concat(e.slice(0,t))}N("d",0,"do","day"),N("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),N("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),N("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),U("day","d"),U("weekday","e"),U("isoWeekday","E"),j("day",11),j("weekday",11),j("isoWeekday",11),de("d",ee),de("e",ee),de("E",ee),de("dd",function(e,t){return t.weekdaysMinRegex(e)}),de("ddd",function(e,t){return t.weekdaysShortRegex(e)}),de("dddd",function(e,t){return t.weekdaysRegex(e)}),ge(["dd","ddd","dddd"],function(e,t,n,i){i=n._locale.weekdaysParse(e,i,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),ge(["d","e","E"],function(e,t,n,i){t[i]=V(e)});var Be="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ze=ce,Xe=ce,Je=ce;function Ke(){function e(e,t){return t.length-e.length}for(var t,n,i,r=[],o=[],s=[],a=[],u=0;u<7;u++)i=d([2e3,1]).day(u),t=fe(this.weekdaysMin(i,"")),n=fe(this.weekdaysShort(i,"")),i=fe(this.weekdays(i,"")),r.push(t),o.push(n),s.push(i),a.push(t),a.push(n),a.push(i);r.sort(e),o.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Qe(){return this.hours()%12||12}function et(e,t){N(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,Qe),N("k",["kk",2],0,function(){return this.hours()||24}),N("hmm",0,0,function(){return""+Qe.apply(this)+L(this.minutes(),2)}),N("hmmss",0,0,function(){return""+Qe.apply(this)+L(this.minutes(),2)+L(this.seconds(),2)}),N("Hmm",0,0,function(){return""+this.hours()+L(this.minutes(),2)}),N("Hmmss",0,0,function(){return""+this.hours()+L(this.minutes(),2)+L(this.seconds(),2)}),et("a",!0),et("A",!1),U("hour","h"),j("hour",13),de("a",tt),de("A",tt),de("H",ee),de("h",ee),de("k",ee),de("HH",ee,X),de("hh",ee,X),de("kk",ee,X),de("hmm",te),de("hmmss",ne),de("Hmm",te),de("Hmmss",ne),ye(["H","HH"],Ee),ye(["k","kk"],function(e,t,n){e=V(e);t[Ee]=24===e?0:e}),ye(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ye(["h","hh"],function(e,t,n){t[Ee]=V(e),p(n).bigHour=!0}),ye("hmm",function(e,t,n){var i=e.length-2;t[Ee]=V(e.substr(0,i)),t[Te]=V(e.substr(i)),p(n).bigHour=!0}),ye("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[Ee]=V(e.substr(0,i)),t[Te]=V(e.substr(i,2)),t[xe]=V(e.substr(r)),p(n).bigHour=!0}),ye("Hmm",function(e,t,n){var i=e.length-2;t[Ee]=V(e.substr(0,i)),t[Te]=V(e.substr(i))}),ye("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[Ee]=V(e.substr(0,i)),t[Te]=V(e.substr(i,2)),t[xe]=V(e.substr(r))});var nt=B("Hours",!0);var it,rt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Le,monthsShort:De,week:{dow:0,doy:6},weekdays:Be,weekdaysMin:qe,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},ot={},st={};function at(e){return e&&e.toLowerCase().replace("_","-")}function ut(e){for(var t,n,i,r,o=0;o<e.length;){for(t=(r=at(e[o]).split("-")).length,n=(n=at(e[o+1]))?n.split("-"):null;0<t;){if(i=lt(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}(r,n)>=t-1)break;t--}o++}return it}function lt(t){var e;if(void 0===ot[t]&&Di&&Di.exports)try{e=it._abbr,kn(),ct(e)}catch(e){ot[t]=null}return ot[t]}function ct(e,t){return e&&((t=o(t)?ht(e):dt(e,t))?it=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),it._abbr}function dt(e,t){if(null===t)return delete ot[e],null;var n,i=rt;if(t.abbr=e,null!=ot[e])x("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=ot[e]._config;else if(null!=t.parentLocale)if(null!=ot[t.parentLocale])i=ot[t.parentLocale]._config;else{if(null==(n=lt(t.parentLocale)))return st[t.parentLocale]||(st[t.parentLocale]=[]),st[t.parentLocale].push({name:e,config:t}),null;i=n._config}return ot[e]=new C(M(i,t)),st[e]&&st[e].forEach(function(e){dt(e.name,e.config)}),ct(e),ot[e]}function ht(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return it;if(!s(e)){if(t=lt(e))return t;e=[e]}return ut(e)}function ft(e){var t=e._a;return t&&-2===p(e).overflow&&(t=t[we]<0||11<t[we]?we:t[be]<1||t[be]>Ae(t[ve],t[we])?be:t[Ee]<0||24<t[Ee]||24===t[Ee]&&(0!==t[Te]||0!==t[xe]||0!==t[Se])?Ee:t[Te]<0||59<t[Te]?Te:t[xe]<0||59<t[xe]?xe:t[Se]<0||999<t[Se]?Se:-1,p(e)._overflowDayOfYear&&(t<ve||be<t)&&(t=be),p(e)._overflowWeeks&&-1===t&&(t=Me),p(e)._overflowWeekday&&-1===t&&(t=Ce),p(e).overflow=t),e}var mt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/Z|[+-]\d\d(?::?\d\d)?/,gt=[["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]],_t=[["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/]],vt=/^\/?Date\((-?\d+)/i,wt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,bt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Et(e){var t,n,i,r,o,s,a=e._i,u=mt.exec(a)||pt.exec(a);if(u){for(p(e).iso=!0,t=0,n=gt.length;t<n;t++)if(gt[t][1].exec(u[1])){r=gt[t][0],i=!1!==gt[t][2];break}if(null==r)return e._isValid=!1;if(u[3]){for(t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(u[3])){o=(u[2]||" ")+_t[t][0];break}if(null==o)return e._isValid=!1}if(!i&&null!=o)return e._isValid=!1;if(u[4]){if(!yt.exec(u[4]))return e._isValid=!1;s="Z"}e._f=r+(o||"")+(s||""),Ct(e)}else e._isValid=!1}function Tt(e,t,n,i,r,o){r=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),De.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return o&&r.push(parseInt(o,10)),r}function xt(e){var t,n,i,r,o=wt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=Tt(o[4],o[3],o[2],o[5],o[6],o[7]),n=o[1],i=t,r=e,n&&ze.indexOf(n)!==new Date(i[0],i[1],i[2]).getDay()?(p(r).weekdayMismatch=!0,r._isValid=!1):(e._a=t,e._tzm=(r=o[8],t=o[9],o=o[10],r?bt[r]:t?0:((t=parseInt(o,10))-(o=t%100))/100*60+o),e._d=Ge.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0)):e._isValid=!1}function St(e,t,n){return null!=e?e:null!=t?t:n}function Mt(e){var t,n,i,r,o,s,a,u,l,c,d,h,f=[];if(!e._d){for(d=e,h=new Date(m.now()),n=d._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[be]&&null==e._a[we]&&(null!=(d=(r=e)._w).GG||null!=d.W||null!=d.E?(u=1,l=4,o=St(d.GG,r._a[ve],$e(Dt(),1,4).year),s=St(d.W,1),((a=St(d.E,1))<1||7<a)&&(c=!0)):(u=r._locale._week.dow,l=r._locale._week.doy,h=$e(Dt(),u,l),o=St(d.gg,r._a[ve],h.year),s=St(d.w,h.week),null!=d.d?((a=d.d)<0||6<a)&&(c=!0):null!=d.e?(a=d.e+u,(d.e<0||6<d.e)&&(c=!0)):a=u),s<1||s>He(o,u,l)?p(r)._overflowWeeks=!0:null!=c?p(r)._overflowWeekday=!0:(l=je(o,s,a,u,l),r._a[ve]=l.year,r._dayOfYear=l.dayOfYear)),null!=e._dayOfYear&&(i=St(e._a[ve],n[ve]),(e._dayOfYear>Ye(i)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),i=Ge(i,0,e._dayOfYear),e._a[we]=i.getUTCMonth(),e._a[be]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=f[t]=n[t];for(;t<7;t++)e._a[t]=f[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ee]&&0===e._a[Te]&&0===e._a[xe]&&0===e._a[Se]&&(e._nextDay=!0,e._a[Ee]=0),e._d=(e._useUTC?Ge:Fe).apply(null,f),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ee]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(p(e).weekdayMismatch=!0)}}function Ct(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],p(e).empty=!0;for(var t,n,i=""+e._i,r=i.length,o=0,s=R(e._f,e._locale).match(D)||[],a=0;a<s.length;a++)n=s[a],(t=(i.match(he(n,e))||[])[0])&&(0<(d=i.substr(0,i.indexOf(t))).length&&p(e).unusedInput.push(d),i=i.slice(i.indexOf(t)+t.length),o+=t.length),O[n]?(t?p(e).empty=!1:p(e).unusedTokens.push(n),c=n,h=e,null!=(d=t)&&f(pe,c)&&pe[c](d,h._a,h,c)):e._strict&&!t&&p(e).unusedTokens.push(n);p(e).charsLeftOver=r-o,0<i.length&&p(e).unusedInput.push(i),e._a[Ee]<=12&&!0===p(e).bigHour&&0<e._a[Ee]&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[Ee]=(u=e._locale,l=e._a[Ee],null==(r=e._meridiem)?l:null!=u.meridiemHour?u.meridiemHour(l,r):null!=u.isPM?((r=u.isPM(r))&&l<12&&(l+=12),l=r||12!==l?l:0):l),null!==(l=p(e).era)&&(e._a[ve]=e._locale.erasConvertYear(l,e._a[ve])),Mt(e),ft(e)}else xt(e);else Et(e);var u,l,c,d,h}function At(e){var t=e._i,n=e._f;return e._locale=e._locale||ht(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),b(t)?new w(ft(t)):(r(t)?e._d=t:s(n)?function(e){var t,n,i,r,o,s,a=!1;if(0===e._f.length)return p(e).invalidFormat=!0,e._d=new Date(NaN);for(r=0;r<e._f.length;r++)o=0,s=!1,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Ct(t),h(t)&&(s=!0),o+=p(t).charsLeftOver,o+=10*p(t).unusedTokens.length,p(t).score=o,a?o<i&&(i=o,n=t):(null==i||o<i||s)&&(i=o,n=t,s&&(a=!0));c(e,n||t)}(e):n?Ct(e):o(n=(t=e)._i)?t._d=new Date(m.now()):r(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=vt.exec(e._i);null===t?(Et(e),!1===e._isValid&&(delete e._isValid,xt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:m.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):s(n)?(t._a=i(n.slice(0),function(e){return parseInt(e,10)}),Mt(t)):a(n)?function(e){var t,n;e._d||(n=void 0===(t=G(e._i)).day?t.date:t.day,e._a=i([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Mt(e))}(t):l(n)?t._d=new Date(n):m.createFromInputFallback(t),h(e)||(e._d=null),e))}function Lt(e,t,n,i,r){var o={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(a(e)&&u(e)||s(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=n,o._i=e,o._f=t,o._strict=i,(o=new w(ft(At(o=o))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function Dt(e,t,n,i){return Lt(e,t,n,i,!1)}m.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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};var kt=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Dt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()}),Pt=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Dt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:y()});function Ot(e,t){var n,i;if(!(t=1===t.length&&s(t[0])?t[0]:t).length)return Dt();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Nt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function It(e){var t=G(e),n=t.year||0,i=t.quarter||0,r=t.month||0,o=t.week||t.isoWeek||0,s=t.day||0,a=t.hour||0,u=t.minute||0,l=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,n,i=!1;for(t in e)if(f(e,t)&&(-1===_e.call(Nt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Nt.length;++n)if(e[Nt[n]]){if(i)return!1;parseFloat(e[Nt[n]])!==V(e[Nt[n]])&&(i=!0)}return!0}(t),this._milliseconds=+e+1e3*l+6e4*u+1e3*a*60*60,this._days=+s+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=ht(),this._bubble()}function Rt(e){return e instanceof It}function Yt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ut(e,n){N(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+L(~~(e/60),2)+n+L(~~e%60,2)})}Ut("Z",":"),Ut("ZZ",""),de("Z",le),de("ZZ",le),ye(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Gt(le,e)});var Ft=/([\+\-]|\d\d)/gi;function Gt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Ft)||["-",0,0])[1]+V(e[2]))?0:"+"===e[0]?t:-t}function Wt(e,t){var n;return t._isUTC?(n=t.clone(),t=(b(e)||r(e)?e:Dt(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+t),m.updateOffset(n,!1),n):Dt(e).local()}function jt(e){return-Math.round(e._d.getTimezoneOffset())}function $t(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Ht=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Vt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Bt(e,t){var n,i,r=e,o=null;return Rt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:l(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(o=Ht.exec(e))?(n="-"===o[1]?-1:1,r={y:0,d:V(o[be])*n,h:V(o[Ee])*n,m:V(o[Te])*n,s:V(o[xe])*n,ms:V(Yt(1e3*o[Se]))*n}):(o=Vt.exec(e))?(n="-"===o[1]?-1:1,r={y:zt(o[2],n),M:zt(o[3],n),w:zt(o[4],n),d:zt(o[5],n),h:zt(o[6],n),m:zt(o[7],n),s:zt(o[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(o=Dt(r.from),n=Dt(r.to),i=o.isValid()&&n.isValid()?(n=Wt(n,o),o.isBefore(n)?i=qt(o,n):((i=qt(n,o)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(r={}).ms=i.milliseconds,r.M=i.months),r=new It(r),Rt(e)&&f(e,"_locale")&&(r._locale=e._locale),Rt(e)&&f(e,"_isValid")&&(r._isValid=e._isValid),r}function zt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function qt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Zt(i,r){return function(e,t){var n;return null===t||isNaN(+t)||(x(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=e,e=t,t=n),Xt(this,Bt(e,t),i),this}}function Xt(e,t,n,i){var r=t._milliseconds,o=Yt(t._days),t=Yt(t._months);e.isValid()&&(i=null==i||i,t&&Ne(e,z(e,"Month")+t*n),o&&q(e,"Date",z(e,"Date")+o*n),r&&e._d.setTime(e._d.valueOf()+r*n),i&&m.updateOffset(e,o||t))}Bt.fn=It.prototype,Bt.invalid=function(){return Bt(NaN)};var Jt=Zt(1,"add"),ce=Zt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Qt(e){return b(e)||r(e)||Kt(e)||l(e)||(n=s(t=e),i=!1,n&&(i=0===t.filter(function(e){return!l(e)&&Kt(t)}).length),n&&i)||function(e){var t,n,i=a(e)&&!u(e),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<o.length;t+=1)n=o[t],r=r||f(e,n);return i&&r}(e)||null==e;var t,n,i}function en(e,t){if(e.date()<t.date())return-en(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(1+n,"months")-i)))||0}function tn(e){return void 0===e?this._locale._abbr:(null!=(e=ht(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function nn(){return this._locale}var rn=126227808e5;function on(e,t){return(e%t+t)%t}function sn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-rn:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-rn:Date.UTC(e,t,n)}function un(e,t){return t.erasAbbrRegex(e)}function ln(){for(var e=[],t=[],n=[],i=[],r=this.eras(),o=0,s=r.length;o<s;++o)t.push(fe(r[o].name)),e.push(fe(r[o].abbr)),n.push(fe(r[o].narrow)),i.push(fe(r[o].name)),i.push(fe(r[o].abbr)),i.push(fe(r[o].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function cn(e,t){N(0,[e,e.length],0,t)}function dn(e,t,n,i,r){var o;return null==e?$e(this,i,r).year:(t>(o=He(e,i,r))&&(t=o),function(e,t,n,i,r){r=je(e,t,n,i,r),r=Ge(r.year,0,r.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}.call(this,e,t,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"),de("N",un),de("NN",un),de("NNN",un),de("NNNN",function(e,t){return t.erasNameRegex(e)}),de("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ye(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){i=n._locale.erasParse(e,i,n._strict);i?p(n).era=i:p(n).invalidEra=e}),de("y",se),de("yy",se),de("yyy",se),de("yyyy",se),de("yo",function(e,t){return t._eraYearOrdinalRegex||se}),ye(["y","yy","yyy","yyyy"],ve),ye(["yo"],function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ve]=n._locale.eraYearOrdinalParse(e,r):t[ve]=parseInt(e,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"),U("weekYear","gg"),U("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),de("G",ae),de("g",ae),de("GG",ee,X),de("gg",ee,X),de("GGGG",re,K),de("gggg",re,K),de("GGGGG",oe,Q),de("ggggg",oe,Q),ge(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=V(e)}),ge(["gg","GG"],function(e,t,n,i){t[i]=m.parseTwoDigitYear(e)}),N("Q",0,"Qo","quarter"),U("quarter","Q"),j("quarter",7),de("Q",Z),ye("Q",function(e,t){t[we]=3*(V(e)-1)}),N("D",["DD",2],"Do","date"),U("date","D"),j("date",9),de("D",ee),de("DD",ee,X),de("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ye(["D","DD"],be),ye("Do",function(e,t){t[be]=V(e.match(ee)[0])});ne=B("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),U("dayOfYear","DDD"),j("dayOfYear",4),de("DDD",ie),de("DDDD",J),ye(["DDD","DDDD"],function(e,t,n){n._dayOfYear=V(e)}),N("m",["mm",2],0,"minute"),U("minute","m"),j("minute",14),de("m",ee),de("mm",ee,X),ye(["m","mm"],Te);Le=B("Minutes",!1);N("s",["ss",2],0,"second"),U("second","s"),j("second",15),de("s",ee),de("ss",ee,X),ye(["s","ss"],xe);var hn,Be=B("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()}),U("millisecond","ms"),j("millisecond",16),de("S",ie,Z),de("SS",ie,X),de("SSS",ie,J),hn="SSSS";hn.length<=9;hn+="S")de(hn,se);function fn(e,t){t[Se]=V(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")ye(hn,fn);qe=B("Milliseconds",!1),N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");re=w.prototype;function mn(e){return e}re.add=Jt,re.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=a(e)&&!u(e),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<i.length;r+=1)n=n||f(e,i[r]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||Dt(),e=Wt(n,this).startOf("day"),e=m.calendarFormat(this,e)||"sameElse",t=t&&(S(t[e])?t[e].call(this,n):t[e]);return this.format(t||this.localeData().calendar(e,this,Dt(n)))},re.clone=function(){return new w(this)},re.diff=function(e,t,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=Wt(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=F(t)){case"year":o=en(this,i)/12;break;case"month":o=en(this,i);break;case"quarter":o=en(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:H(o)},re.endOf=function(e){var t,n;if(void 0===(e=F(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:sn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-on(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-on(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-on(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},re.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=I(this,e),this.localeData().postformat(e)},re.from=function(e,t){return this.isValid()&&(b(e)&&e.isValid()||Dt(e).isValid())?Bt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},re.fromNow=function(e){return this.from(Dt(),e)},re.to=function(e,t){return this.isValid()&&(b(e)&&e.isValid()||Dt(e).isValid())?Bt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},re.toNow=function(e){return this.to(Dt(),e)},re.get=function(e){return S(this[e=F(e)])?this[e]():this},re.invalidAt=function(){return p(this).overflow},re.isAfter=function(e,t){return e=b(e)?e:Dt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},re.isBefore=function(e,t){return e=b(e)?e:Dt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},re.isBetween=function(e,t,n,i){return e=b(e)?e:Dt(e),t=b(t)?t:Dt(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(i=i||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n))},re.isSame=function(e,t){var e=b(e)?e:Dt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},re.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},re.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},re.isValid=function(){return h(this)},re.lang=te,re.locale=tn,re.localeData=nn,re.max=Pt,re.min=kt,re.parsingFlags=function(){return c({},p(this))},re.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)f(e,t)&&n.push({unit:t,priority:W[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=G(e)),i=0;i<n.length;i++)this[n[i].unit](e[n[i].unit]);else if(S(this[e=F(e)]))return this[e](t);return this},re.startOf=function(e){var t,n;if(void 0===(e=F(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:sn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=on(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=on(t,6e4);break;case"second":t=this._d.valueOf(),t-=on(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},re.subtract=ce,re.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},re.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},re.toDate=function(){return new Date(this.valueOf())},re.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?I(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):S(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",I(e,"Z")):I(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},re.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(re[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),re.toJSON=function(){return this.isValid()?this.toISOString():null},re.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},re.unix=function(){return Math.floor(this.valueOf()/1e3)},re.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},re.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},re.eraName=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},re.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},re.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},re.eraYear=function(){for(var e,t,n=this.localeData().eras(),i=0,r=n.length;i<r;++i)if(e=n[i].since<=n[i].until?1:-1,t=this.clone().startOf("day").valueOf(),n[i].since<=t&&t<=n[i].until||n[i].until<=t&&t<=n[i].since)return(this.year()-m(n[i].since).year())*e+n[i].offset;return this.year()},re.year=Ue,re.isLeapYear=function(){return $(this.year())},re.weekYear=function(e){return dn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},re.isoWeekYear=function(e){return dn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},re.quarter=re.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},re.month=Ie,re.daysInMonth=function(){return Ae(this.year(),this.month())},re.week=re.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},re.isoWeek=re.isoWeeks=function(e){var t=$e(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},re.weeksInYear=function(){var e=this.localeData()._week;return He(this.year(),e.dow,e.doy)},re.weeksInWeekYear=function(){var e=this.localeData()._week;return He(this.weekYear(),e.dow,e.doy)},re.isoWeeksInYear=function(){return He(this.year(),1,4)},re.isoWeeksInISOWeekYear=function(){return He(this.isoWeekYear(),1,4)},re.date=ne,re.day=re.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-i,"d")):i},re.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},re.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},re.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},re.hour=re.hours=nt,re.minute=re.minutes=Le,re.second=re.seconds=Be,re.millisecond=re.milliseconds=qe,re.utcOffset=function(e,t,n){var i,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?r:jt(this);if("string"==typeof e){if(null===(e=Gt(le,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=jt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?Xt(this,Bt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},re.utc=function(e){return this.utcOffset(0,e)},re.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(jt(this),"m")),this},re.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Gt(ue,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},re.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Dt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},re.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},re.isLocal=function(){return!!this.isValid()&&!this._isUTC},re.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},re.isUtc=$t,re.isUTC=$t,re.zoneAbbr=function(){return this._isUTC?"UTC":""},re.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},re.dates=n("dates accessor is deprecated. Use date instead.",ne),re.months=n("months accessor is deprecated. Use month instead",Ie),re.years=n("years accessor is deprecated. Use year instead",Ue),re.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),re.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=At(t))._a?(e=(t._isUTC?d:Dt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),o=0,s=0;s<i;s++)(n&&e[s]!==t[s]||!n&&V(e[s])!==V(t[s]))&&o++;return o+r}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});K=C.prototype;function pn(e,t,n,i){var r=ht(),t=d().set(i,t);return r[n](t,e)}function yn(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return pn(e,t,n,"month");for(var i=[],r=0;r<12;r++)i[r]=pn(e,r,n,"month");return i}function gn(e,t,n,i){t=("boolean"==typeof e||(n=t=e,e=!1),l(t)&&(n=t,t=void 0),t||"");var r,o=ht(),s=e?o._week.dow:0,a=[];if(null!=n)return pn(t,(n+s)%7,i,"day");for(r=0;r<7;r++)a[r]=pn(t,(r+s)%7,i,"day");return a}K.calendar=function(e,t,n){return S(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},K.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(D).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},K.invalidDate=function(){return this._invalidDate},K.ordinal=function(e){return this._ordinal.replace("%d",e)},K.preparse=mn,K.postformat=mn,K.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return S(r)?r(e,t,n,i):r.replace(/%d/i,e)},K.pastFuture=function(e,t){return S(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},K.set=function(e){var t,n;for(n in e)f(e,n)&&(S(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},K.eras=function(e,t){for(var n,i=this._eras||ht("en")._eras,r=0,o=i.length;r<o;++r)switch("string"==typeof i[r].since&&(n=m(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=m(i[r].until).startOf("day").valueOf(),i[r].until=n.valueOf()}return i},K.erasParse=function(e,t,n){var i,r,o,s,a,u=this.eras();for(e=e.toUpperCase(),i=0,r=u.length;i<r;++i)if(o=u[i].name.toUpperCase(),s=u[i].abbr.toUpperCase(),a=u[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return u[i];break;case"NNNN":if(o===e)return u[i];break;case"NNNNN":if(a===e)return u[i]}else if(0<=[o,s,a].indexOf(e))return u[i]},K.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*n},K.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||ln.call(this),e?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(e){return f(this,"_erasNameRegex")||ln.call(this),e?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||ln.call(this),e?this._erasNarrowRegex:this._erasRegex},K.months=function(e,t){return e?(s(this._months)?this._months:this._months[(this._months.isFormat||ke).test(t)?"format":"standalone"])[e.month()]:s(this._months)?this._months:this._months.standalone},K.monthsShort=function(e,t){return e?(s(this._monthsShort)?this._monthsShort:this._monthsShort[ke.test(t)?"format":"standalone"])[e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(e,t,n){var i,r;if(this._monthsParseExact)return function(e,t,n){var i,r,o,e=e.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"===t?-1!==(r=_e.call(this._shortMonthsParse,e))?r:null:-1!==(r=_e.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=_e.call(this._shortMonthsParse,e))||-1!==(r=_e.call(this._longMonthsParse,e))?r:null:-1!==(r=_e.call(this._longMonthsParse,e))||-1!==(r=_e.call(this._shortMonthsParse,e))?r:null}.call(this,e,t,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"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},K.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Re.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Oe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Re.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Pe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(e){return $e(e,this._week.dow,this._week.doy).week},K.firstDayOfYear=function(){return this._week.doy},K.firstDayOfWeek=function(){return this._week.dow},K.weekdays=function(e,t){return t=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Ve(t,this._week.dow):e?t[e.day()]:t},K.weekdaysMin=function(e){return!0===e?Ve(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},K.weekdaysShort=function(e){return!0===e?Ve(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},K.weekdaysParse=function(e,t,n){var i,r;if(this._weekdaysParseExact)return function(e,t,n){var i,r,o,e=e.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"===t?-1!==(r=_e.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=_e.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=_e.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=_e.call(this._weekdaysParse,e))||-1!==(r=_e.call(this._shortWeekdaysParse,e))||-1!==(r=_e.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=_e.call(this._shortWeekdaysParse,e))||-1!==(r=_e.call(this._weekdaysParse,e))||-1!==(r=_e.call(this._minWeekdaysParse,e))?r:null:-1!==(r=_e.call(this._minWeekdaysParse,e))||-1!==(r=_e.call(this._weekdaysParse,e))||-1!==(r=_e.call(this._shortWeekdaysParse,e))?r:null}.call(this,e,t,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"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},K.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Ze),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},K.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Xe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},K.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},K.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},K.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ct("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===V(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=n("moment.lang is deprecated. Use moment.locale instead.",ct),m.langData=n("moment.langData is deprecated. Use moment.localeData instead.",ht);var _n=Math.abs;function vn(e,t,n,i){n=Bt(t,n);return e._milliseconds+=i*n._milliseconds,e._days+=i*n._days,e._months+=i*n._months,e._bubble()}function wn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function En(e){return 146097*e/4800}function Tn(e){return function(){return this.as(e)}}oe=Tn("ms"),Q=Tn("s"),Z=Tn("m"),X=Tn("h"),ie=Tn("d"),J=Tn("w"),Jt=Tn("M"),Pt=Tn("Q"),kt=Tn("y");function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}ce=xn("milliseconds"),nt=xn("seconds"),Le=xn("minutes"),Be=xn("hours"),qe=xn("days"),ne=xn("months"),Ue=xn("years");var Sn=Math.round,Mn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Cn(e,t,n,i){var r=Bt(e).abs(),o=Sn(r.as("s")),s=Sn(r.as("m")),a=Sn(r.as("h")),u=Sn(r.as("d")),l=Sn(r.as("M")),c=Sn(r.as("w")),r=Sn(r.as("y")),u=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||u<=1&&["d"]||u<n.d&&["dd",u];return(u=(u=null!=n.w?u||c<=1&&["w"]||c<n.w&&["ww",c]:u)||l<=1&&["M"]||l<n.M&&["MM",l]||r<=1&&["y"]||["yy",r])[2]=t,u[3]=0<+e,u[4]=i,function(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}.apply(null,u)}var An=Math.abs;function Ln(e){return(0<e)-(e<0)||+e}function Dn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,o,s,a=An(this._milliseconds)/1e3,u=An(this._days),l=An(this._months),c=this.asSeconds();return c?(e=H(a/60),t=H(e/60),a%=60,e%=60,n=H(l/12),l%=12,i=a?a.toFixed(3).replace(/\.?0+$/,""):"",r=Ln(this._months)!==Ln(c)?"-":"",o=Ln(this._days)!==Ln(c)?"-":"",s=Ln(this._milliseconds)!==Ln(c)?"-":"",(c<0?"-":"")+"P"+(n?r+n+"Y":"")+(l?r+l+"M":"")+(u?o+u+"D":"")+(t||e||a?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(a?s+i+"S":"")):"P0D"}K=It.prototype;return K.isValid=function(){return this._isValid},K.abs=function(){var e=this._data;return this._milliseconds=_n(this._milliseconds),this._days=_n(this._days),this._months=_n(this._months),e.milliseconds=_n(e.milliseconds),e.seconds=_n(e.seconds),e.minutes=_n(e.minutes),e.hours=_n(e.hours),e.months=_n(e.months),e.years=_n(e.years),this},K.add=function(e,t){return vn(this,e,t,1)},K.subtract=function(e,t){return vn(this,e,t,-1)},K.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=F(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(En(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},K.asMilliseconds=oe,K.asSeconds=Q,K.asMinutes=Z,K.asHours=X,K.asDays=ie,K.asWeeks=J,K.asMonths=Jt,K.asQuarters=Pt,K.asYears=kt,K.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*V(this._months/12):NaN},K._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,i=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*wn(En(n)+t),n=t=0),i.milliseconds=e%1e3,e=H(e/1e3),i.seconds=e%60,e=H(e/60),i.minutes=e%60,e=H(e/60),i.hours=e%24,t+=H(e/24),n+=e=H(bn(t)),t-=wn(En(e)),e=H(n/12),n%=12,i.days=t,i.months=n,i.years=e,this},K.clone=function(){return Bt(this)},K.get=function(e){return e=F(e),this.isValid()?this[e+"s"]():NaN},K.milliseconds=ce,K.seconds=nt,K.minutes=Le,K.hours=Be,K.days=qe,K.weeks=function(){return H(this.days()/7)},K.months=ne,K.years=Ue,K.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,i=Mn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(i=Object.assign({},Mn,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),i=Cn(this,!n,i,t=this.localeData()),n&&(i=t.pastFuture(+this,i)),t.postformat(i)},K.toISOString=Dn,K.toString=Dn,K.toJSON=Dn,K.locale=tn,K.localeData=nn,K.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dn),K.lang=te,N("X",0,0,"unix"),N("x",0,0,"valueOf"),de("x",ae),de("X",/[+-]?\d+(\.\d{1,3})?/),ye("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ye("x",function(e,t,n){n._d=new Date(V(e))}),m.version="2.29.1",e=Dt,m.fn=re,m.min=function(){return Ot("isBefore",[].slice.call(arguments,0))},m.max=function(){return Ot("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=d,m.unix=function(e){return Dt(1e3*e)},m.months=function(e,t){return yn(e,t,"months")},m.isDate=r,m.locale=ct,m.invalid=y,m.duration=Bt,m.isMoment=b,m.weekdays=function(e,t,n){return gn(e,t,n,"weekdays")},m.parseZone=function(){return Dt.apply(null,arguments).parseZone()},m.localeData=ht,m.isDuration=Rt,m.monthsShort=function(e,t){return yn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return gn(e,t,n,"weekdaysMin")},m.defineLocale=dt,m.updateLocale=function(e,t){var n,i;return null!=t?(i=rt,null!=ot[e]&&null!=ot[e].parentLocale?ot[e].set(M(ot[e]._config,t)):(t=M(i=null!=(n=lt(e))?n._config:i,t),null==n&&(t.abbr=e),(t=new C(t)).parentLocale=ot[e],ot[e]=t),ct(e)):null!=ot[e]&&(null!=ot[e].parentLocale?(ot[e]=ot[e].parentLocale,e===ct()&&ct(e)):null!=ot[e]&&delete ot[e]),ot[e]},m.locales=function(){return A(ot)},m.weekdaysShort=function(e,t,n){return gn(e,t,n,"weekdaysShort")},m.normalizeUnits=F,m.relativeTimeRounding=function(e){return void 0===e?Sn:"function"==typeof e&&(Sn=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Mn[e]&&(void 0===t?Mn[e]:(Mn[e]=t,"s"===e&&(Mn.ss=t-1),!0))},m.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},m.prototype=re,m.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"},m}(),Li.exports);const Pi={en:{popupText:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",defaultText:"Nulla ornare pulvinar dui. Nullam viverra, lacus vel consectetur euismod, ante lorem aliquam nisi, non faucibus nulla lacus sed sapien. Sed imperdiet tristique tincidunt."}},ro:{popupText:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare.",defaultText:"Când stabilești o limită de joc, efectele se produc începând din momentul în care o activezi și durează până la finalul perioadei selectate. Așadar, dacă stabilești o limită zilnică la 14:00, perioada de 24 de ore este de la activare până la 00:00 GMT. Ulterior, limita va fi valabilă la fiecare 24 de ore. Poți micșora limita oricând, cu efect imediat. Totuși, majorarea sau eliminarea unei limite va fi aplicată în momentul în care limita curentă expiră. "}},es:{popupText:{name:"Información",amountChanged:"Su límite ha cambiado o aumentado: {cantidad} {moneda}. Tendrás que esperar a la fecha de vencimiento para que tu nuevo límite entre en vigencia:",defaultText:"Cuando establece un límite de juego, entra en vigencia desde el momento en que lo activa y dura hasta el final del período seleccionado. Por tanto, si estableces un límite diario a las 14:00, el periodo de 24 horas que cuenta es desde su activación hasta las 00:00 GMT. Entonces el límite es válido cada 24 horas. Puede reducir un límite en cualquier momento con efecto inmediato. Sin embargo, el aumento o la eliminación de un límite solo se aplicará cuando expire el límite actual."}},pt:{popupText:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",defaultText:"Quando você define um limite de jogo, ele entra em vigor a partir do momento em que você o ativa e dura até o final do período selecionado. Portanto, se você definir um limite diário às 14h00, o período de 24 horas que conta é desde sua ativação até às 00h00 GMT. Então o limite é válido a cada 24 horas. Você pode diminuir um limite a qualquer momento com efeito imediato. No entanto, aumentar ou remover um limite será aplicado somente quando o limite atual expirar."}}};function Oi(n){let i,r,o,s,a,u,l,c,d,h,f,m,p,y,g,_=n[3]("popupText.name")+"";function v(e){return e[0]?Ii:Ni}let w=v(n),b=w(n);return{c(){i=K("section"),r=K("div"),o=K("div"),s=K("div"),s.textContent="i",a=ee(),u=K("div"),l=Q(_),c=ee(),d=K("div"),d.innerHTML='<svg class="w-6 h-6" part="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',h=ee(),f=K("div"),b.c(),ie(s,"class","InfoCardPopupIcon"),ie(s,"part","InfoCardPopupIcon"),ie(u,"class","InfoCardPopupTitle"),ie(u,"part","InfoCardPopupTitle"),ie(d,"class","InfoCardPopupCloseButton"),ie(d,"part","InfoCardPopupCloseButton"),ie(o,"class","InfoCardPopupHeader"),ie(o,"part","InfoCardPopupHeader"),ie(f,"class","InfoCardPopupContentArea"),ie(f,"part","InfoCardPopupContentArea"),ie(r,"class",m="InfoCardPopupWrapper "+(n[4]?"InfoCardPopupMobileWrapper":"")+" "+(n[0]?"InfoCardPopupLimitChanged":"")),ie(r,"part",p="InfoCardPopupWrapper "+(n[4]?"InfoCardPopupMobileWrapper":"")+" "+(n[0]?"InfoCardPopupLimitChanged":"")),ie(i,"class",n[4]?"InfoCardPopupMobileModal":""),ie(i,"part",n[4]?"InfoCardPopupMobileModal":"")},m(e,t){X(e,i,t),Z(i,r),Z(r,o),Z(o,s),Z(o,a),Z(o,u),Z(u,l),Z(o,c),Z(o,d),Z(r,h),Z(r,f),b.m(f,null),y||(g=te(d,"click",ne(n[5])),y=!0)},p(e,t){8&t&&_!==(_=e[3]("popupText.name")+"")&&oe(l,_),w===(w=v(e))&&b?b.p(e,t):(b.d(1),b=w(e),b&&(b.c(),b.m(f,null))),1&t&&m!==(m="InfoCardPopupWrapper "+(e[4]?"InfoCardPopupMobileWrapper":"")+" "+(e[0]?"InfoCardPopupLimitChanged":""))&&ie(r,"class",m),1&t&&p!==(p="InfoCardPopupWrapper "+(e[4]?"InfoCardPopupMobileWrapper":"")+" "+(e[0]?"InfoCardPopupLimitChanged":""))&&ie(r,"part",p)},d(e){e&&J(i),b.d(),y=!1,g()}}}function Ni(e){let n,i,r=e[3]("popupText.defaultText")+"";return{c(){n=K("p"),i=Q(r),ie(n,"class","InfoCardPopupContent"),ie(n,"part","InfoCardPopupContent")},m(e,t){X(e,n,t),Z(n,i)},p(e,t){8&t&&r!==(r=e[3]("popupText.defaultText")+"")&&oe(i,r)},d(e){e&&J(n)}}}function Ii(e){let n,i,r=e[3]("popupText.amountChanged",{values:{amount:e[0],currency:e[1]}})+"";return{c(){n=K("p"),i=Q(r),ie(n,"class","InfoCardPopupContent"),ie(n,"part","InfoCardPopupContent")},m(e,t){X(e,n,t),Z(n,i)},p(e,t){11&t&&r!==(r=e[3]("popupText.amountChanged",{values:{amount:e[0],currency:e[1]}})+"")&&oe(i,r)},d(e){e&&J(n)}}}function Ri(e){let n,i=e[2]&&Oi(e);return{c(){i&&i.c(),n=E(),this.c=z},m(e,t){i&&i.m(e,t),X(e,n,t)},p(e,[t]){e[2]?i?i.p(e,t):(i=Oi(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},i:z,o:z,d(e){i&&i.d(e),e&&J(n)}}}function Yi(t,e,n){let i;I(t,Mi,e=>n(3,i=e));let{showpopup:r=""}=e,{iteminfoamount:o=""}=e,{lang:s="en"}=e,{playercurrency:a="USD"}=e;Object.keys(Pi).forEach(e=>{si(e,Pi[e])});let u=!1,l=window.navigator.userAgent,c="PC"!==Ci(l);const d=e=>{e.data&&"ClosePlayerAccountGamingLimitsPopup"==e.data.type&&n(2,u=!1)};return Y(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)})),t.$$set=e=>{"showpopup"in e&&n(6,r=e.showpopup),"iteminfoamount"in e&&n(0,o=e.iteminfoamount),"lang"in e&&n(7,s=e.lang),"playercurrency"in e&&n(1,a=e.playercurrency)},t.$$.update=()=>{var e;192&t.$$.dirty&&r&&s&&(e=s,yi.set(e),o<0&&n(0,o="0"),n(2,u=r))},[o,a,u,i,c,()=>{n(2,u=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},r,s]}function Ui(e,{delay:t=0,duration:n=400,easing:i=p}={}){const r=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:i,css:e=>"opacity: "+e*r}}function Fi(n){let i,t,r;return{c(){i=K("div"),i.innerHTML='<div class="ModalContainer" part="ModalContainer"><slot></slot></div>',ie(i,"class","ModalWindow"),ie(i,"part","ModalWindow"),ie(i,"id","Modal")},m(e,t){X(e,i,t),n[3](i),r=!0},p(e,t){n=e},i(e){r||(k(()=>{t=t||j(i,Ui,{transitionDuration:n[1]},!0),t.run(1)}),r=!0)},o(e){t=t||j(i,Ui,{transitionDuration:n[1]},!1),t.run(0),r=!1},d(e){e&&J(i),n[3](null),e&&t&&t.end()}}}function Gi(e){let n,i,r=e[0]&&Fi(e);return{c(){n=K("div"),r&&r.c(),this.c=z},m(e,t){X(e,n,t),r&&r.m(n,null),i=!0},p(e,[t]){e[0]?r?(r.p(e,t),1&t&&F(r,1)):(r=Fi(e),r.c(),F(r,1),r.m(n,null)):r&&(U={r:0,c:[],p:U},G(r,1,1,()=>{r=null}),U.r||q(U.c),U=U.p)},i(e){i||(F(r),i=!0)},o(e){G(r),i=!1},d(e){e&&J(n),r&&r.d()}}}function Wi(e,t,n){let i,{show:r=!1}=t,{duration:o=350}=t;const s=e=>{"ModalClosed"==e.data.type&&n(0,r=!1),"ShowLimitsConfirmationModal"===e.data.type&&(n(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href))};return Y(()=>(window.addEventListener("message",s,!1),()=>{window.removeEventListener("message",s)})),e.$$set=e=>{"show"in e&&n(0,r=e.show),"duration"in e&&n(1,o=e.duration)},[r,o,void 0,function(e){a[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}customElements.get("player-account-gaming-limits-popup")||customElements.define("player-account-gaming-limits-popup",class extends H{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:''}.InfoCardPopupLimitChanged{background:var(--emfe-w-color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emfe-w-color-black, #000000);background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 4px 12px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:\"\";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emfe-w-color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:102}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emfe-w-color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emfe-w-color-secondary, #FD2839);fill:var(--emfe-w-color-secondary, #FD2839)}</style>",$(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Yi,Ri,n,{showpopup:6,iteminfoamount:0,lang:7,playercurrency:1}),e&&(e.target&&X(e.target,this,e.anchor),e.props&&(this.$set(e.props),P()))}static get observedAttributes(){return["showpopup","iteminfoamount","lang","playercurrency"]}get showpopup(){return this.$$.ctx[6]}set showpopup(e){this.$set({showpopup:e}),P()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(e){this.$set({iteminfoamount:e}),P()}get lang(){return this.$$.ctx[7]}set lang(e){this.$set({lang:e}),P()}get playercurrency(){return this.$$.ctx[1]}set playercurrency(e){this.$set({playercurrency:e}),P()}}),customElements.get("player-account-modal")||customElements.define("player-account-modal",class extends H{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}</style>",$(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Wi,Gi,n,{show:0,duration:1}),e&&(e.target&&X(e.target,this,e.anchor),e.props&&(this.$set(e.props),P()))}static get observedAttributes(){return["show","duration"]}get show(){return this.$$.ctx[0]}set show(e){this.$set({show:e}),P()}get duration(){return this.$$.ctx[1]}set duration(e){this.$set({duration:e}),P()}});const ji={en:{modalText:{cancel:"Cancel",confirm:"Confirm"}},ro:{modalText:{cancel:"Anulează",confirm:"Confirmă"}},es:{modalText:{cancel:"Cancelar",confirm:"Confirmar"}},pt:{modalText:{cancel:"Cancelar",confirm:"Confirmar"}}};function $i(n){let i,r,o,s,a,u,l,c,d,h,f,m,p,y,g=n[1]("modalText.cancel")+"",_=n[1]("modalText.confirm")+"",v=!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>',ie(i,"class","ModalCloseBtn"),ie(i,"part","ModalCloseBtn"),ie(i,"role","button")},m(e,t){X(e,i,t),r||(o=te(i,"click",n[3]),r=!0)},p:z,d(e){e&&J(i),r=!1,o()}}}(n);return{c(){i=K("div"),v&&v.c(),r=ee(),o=K("div"),s=K("div"),a=Q(n[0]),u=ee(),l=K("div"),c=K("button"),d=Q(g),h=ee(),f=K("button"),m=Q(_),this.c=z,ie(s,"class","GamingLimitsConfirmationContent"),ie(s,"part","GamingLimitsConfirmationContent"),ie(c,"class","GamingLimitsCancelButton"),ie(c,"part","GamingLimitsCancelButton"),ie(f,"class","GamingLimitsConfirmButton"),ie(f,"part","GamingLimitsConfirmButton"),ie(l,"class","GamingLimitsConfirmationControlArea"),ie(l,"part","GamingLimitsConfirmationControlArea"),ie(o,"class","GamingLimitsConfirmationContainer "+(n[2]?"GamingLimitsConfirmationContainerMobile":"")),ie(o,"part","GamingLimitsConfirmationContainer "+(n[2]?"GamingLimitsConfirmationContainerMobile":"")),ie(i,"class","GamingLimitsConfirmationWrapper "+(n[2]?"GamingLimitsConfirmationMobileWrapper":"")),ie(i,"part","GamingLimitsConfirmationWrapper "+(n[2]?"GamingLimitsConfirmationMobileWrapper":""))},m(e,t){X(e,i,t),v&&v.m(i,null),Z(i,r),Z(i,o),Z(o,s),Z(s,a),Z(o,u),Z(o,l),Z(l,c),Z(c,d),Z(l,h),Z(l,f),Z(f,m),p||(y=[te(c,"click",n[5]),te(f,"click",n[4])],p=!0)},p(e,[t]){e[2]||v.p(e,t),1&t&&oe(a,e[0]),2&t&&g!==(g=e[1]("modalText.cancel")+"")&&oe(d,g),2&t&&_!==(_=e[1]("modalText.confirm")+"")&&oe(m,_)},i:z,o:z,d(e){e&&J(i),v&&v.d(),p=!1,q(y)}}}function Hi(t,e,n){let i;I(t,Mi,e=>n(1,i=e));let{modaltext:r="Are you sure that you want to perform this action?"}=e,{modalsource:o=""}=e,{lang:s="en"}=e;Object.keys(ji).forEach(e=>{si(e,ji[e])});let a=window.navigator.userAgent,u="PC"!==Ci(a),l={},c="";const d=e=>{e.data&&"DeleteLimitsItem"===e.data.type&&(l=e.data.removeData,e=e.data.removeName,c="Time Limit"===e?"cumulativeSessionLimits":"Deposit Limit"===e?"depositLimits":"Wagering Limit"===e?"wageringLimit":"lossLimit")};Y(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)}));return t.$$set=e=>{"modaltext"in e&&n(0,r=e.modaltext),"modalsource"in e&&n(6,o=e.modalsource),"lang"in e&&n(7,s=e.lang)},t.$$.update=()=>{var e;193&t.$$.dirty&&r&&o&&s&&(e=s,yi.set(e))},[r,i,u,()=>{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:l,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,s]}function Vi(e,t,n){const i=e.slice();return i[44]=t[n],i[45]=t,i[46]=n,i}function Bi(e,t,n){const i=e.slice();return i[47]=t[n],i}function zi(e,t,n){const i=e.slice();return i[44]=t[n],i[46]=n,i}function qi(e){let n,i,r,o=e[16]("editText.success")+"";return{c(){n=K("div"),i=K("p"),r=Q(o),ie(n,"class","AccountEditLimitSuccessfulChangeContainer"),ie(n,"part","AccountEditLimitSuccessfulChangeContainer")},m(e,t){X(e,n,t),Z(n,i),Z(i,r)},p(e,t){65536&t[0]&&o!==(o=e[16]("editText.success")+"")&&oe(r,o)},d(e){e&&J(n)}}}function Zi(t){let r,o=t[12],s=[];for(let e=0;e<o.length;e+=1)s[e]=Ji(zi(t,o,e));return{c(){r=K("div");for(let e=0;e<s.length;e+=1)s[e].c();ie(r,"class","AccountEditLimitSuccessfulChangeContainer"),ie(r,"part","AccountEditLimitSuccessfulChangeContainer")},m(e,t){X(e,r,t);for(let e=0;e<s.length;e+=1)s[e].m(r,null)},p(t,n){if(102400&n[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){var i=zi(t,o,e);s[e]?s[e].p(i,n):(s[e]=Ji(i),s[e].c(),s[e].m(r,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){e&&J(r),b(s,e)}}}function Xi(e){let n,i,r,o,s=e[16]("editText.remove")+"",a=(e[44].expiryDate?ki(e[44].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=K("p"),i=Q(s),r=ee(),o=Q(a)},m(e,t){X(e,n,t),Z(n,i),Z(n,r),Z(n,o)},p(e,t){65536&t[0]&&s!==(s=e[16]("editText.remove")+"")&&oe(i,s),4096&t[0]&&a!==(a=(e[44].expiryDate?ki(e[44].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&oe(o,a)},d(e){e&&J(n)}}}function Ji(e){let n,i=e[44].period==e[15][e[46]].periodName&&Xi(e);return{c(){i&&i.c(),n=E()},m(e,t){i&&i.m(e,t),X(e,n,t)},p(e,t){e[44].period==e[15][e[46]].periodName?i?i.p(e,t):(i=Xi(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&J(n)}}}function Ki(t){let n,r,o=t[12],s=[];for(let e=0;e<o.length;e+=1)s[e]=ar(Vi(t,o,e));return{c(){n=K("div"),r=K("div");for(let e=0;e<s.length;e+=1)s[e].c();ie(r,"class","AccountEditLimitsContainer"),ie(r,"part","AccountEditLimitsContainer"),ie(n,"class","AccountEditContent"),ie(n,"part","AccountEditContent")},m(e,t){X(e,n,t),Z(n,r);for(let e=0;e<s.length;e+=1)s[e].m(r,null)},p(t,n){if(4709144&n[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){var i=Vi(t,o,e);s[e]?s[e].p(i,n):(s[e]=ar(i),s[e].c(),s[e].m(r,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){e&&J(n),b(s,e)}}}function Qi(n){let i,r,o,s,a,u,l,c,d,h,f=n[16]("editText.noLimit")+"",m=n[18][n[46]].values,p=[];for(let e=0;e<m.length;e+=1)p[e]=er(Bi(n,m,e));function y(){n[23].call(i,n[46])}let g="Custom"===n[15][n[46]].amount&&tr(n),_=!0===n[44].isModified&&sr(n);return{c(){i=K("select"),r=K("option"),o=Q(f);for(let e=0;e<p.length;e+=1)p[e].c();a=ee(),u=K("div"),g&&g.c(),l=ee(),_&&_.c(),c=E(),r.__value="",r.value=r.__value,r.disabled=!0,r.selected=!0,r.hidden=!0,ie(i,"class","AccountEditField "+(n[17]?"TimeoutSelectMobile":"")),ie(i,"part","AccountEditField "+(n[17]?"TimeoutSelectMobile":"")),i.disabled=s=!0===n[44].isModified,void 0===n[15][n[46]].amount&&k(y),ie(u,"class","AccountEditLimitsInputContainer"),ie(u,"part","AccountEditLimitsInputContainer")},m(e,t){X(e,i,t),Z(i,r),Z(r,o);for(let e=0;e<p.length;e+=1)p[e].m(i,null);T(i,n[15][n[46]].amount),X(e,a,t),X(e,u,t),g&&g.m(u,null),X(e,l,t),_&&_.m(e,t),X(e,c,t),d||(h=[te(i,"change",y),te(i,"change",function(){v(n[22](n[15][n[46]],n[46],!1,n[14]))&&n[22](n[15][n[46]],n[46],!1,n[14]).apply(this,arguments)})],d=!0)},p(e,t){if(n=e,65536&t[0]&&f!==(f=n[16]("editText.noLimit")+"")&&oe(o,f),262168&t[0]){let e;for(m=n[18][n[46]].values,e=0;e<m.length;e+=1){const o=Bi(n,m,e);p[e]?p[e].p(o,t):(p[e]=er(o),p[e].c(),p[e].m(i,null))}for(;e<p.length;e+=1)p[e].d(1);p.length=m.length}4096&t[0]&&s!==(s=!0===n[44].isModified)&&(i.disabled=s),294912&t[0]&&T(i,n[15][n[46]].amount),"Custom"===n[15][n[46]].amount?g?g.p(n,t):(g=tr(n),g.c(),g.m(u,null)):g&&(g.d(1),g=null),!0===n[44].isModified?_?_.p(n,t):(_=sr(n),_.c(),_.m(c.parentNode,c)):_&&(_.d(1),_=null)},d(e){e&&J(i),b(p,e),e&&J(a),e&&J(u),g&&g.d(),e&&J(l),_&&_.d(e),e&&J(c),d=!1,q(h)}}}function er(e){let n,i,r,t=e[47]+"",o="No limit"!==e[47]&&"Custom"!==e[47]&&function(){let n,i=("Time Limit"!==e[3]?e[4]:" minutes")+"";return{c(){n=Q(i)},m(e,t){X(e,n,t)},p(e,t){24&t[0]&&i!==(i=("Time Limit"!==e[3]?e[4]:" minutes")+"")&&oe(n,i)},d(e){e&&J(n)}}}();return{c(){n=K("option"),i=Q(t),r=ee(),o&&o.c(),n.__value=e[47],n.value=n.__value},m(e,t){X(e,n,t),Z(n,i),Z(n,r),o&&o.m(n,null)},p(e,t){"No limit"!==e[47]&&"Custom"!==e[47]&&o.p(e,t)},d(e){e&&J(n),o&&o.d()}}}function tr(e){let n;function i(e){return"Deposit Limit"===e[3]?ir:nr}let r=i(e),o=r(e);return{c(){o.c(),n=E()},m(e,t){o.m(e,t),X(e,n,t)},p(e,t){r===(r=i(e))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&J(n)}}}function nr(n){let i,r,o,s,a,u;function l(){n[25].call(i,n[46])}let c=1==n[11][n[46]]&&rr(n);return{c(){i=K("input"),o=ee(),s=K("p"),c&&c.c(),ie(i,"type","number"),ie(i,"class","AccountEditField AccountEditFieldCustom"),ie(i,"part","AccountEditField AccountEditFieldCustom"),i.disabled=r=!0===n[44].isModified,ie(s,"class","AccountEditWarningText"),ie(s,"part","AccountEditWarningText")},m(e,t){X(e,i,t),f(i,n[15][n[46]].value),X(e,o,t),X(e,s,t),c&&c.m(s,null),a||(u=[te(i,"keyup",function(){v(n[22](n[15][n[46]],n[46],!0,n[14]))&&n[22](n[15][n[46]],n[46],!0,n[14]).apply(this,arguments)}),te(i,"input",l)],a=!0)},p(e,t){n=e,4096&t[0]&&r!==(r=!0===n[44].isModified)&&(i.disabled=r),294912&t[0]&&R(i.value)!==n[15][n[46]].value&&f(i,n[15][n[46]].value),1==n[11][n[46]]?c?c.p(n,t):(c=rr(n),c.c(),c.m(s,null)):c&&(c.d(1),c=null)},d(e){e&&J(i),e&&J(o),e&&J(s),c&&c.d(),a=!1,q(u)}}}function ir(n){let i,r,o,s,a,u;function l(){n[24].call(i,n[46])}let c=1==n[11][n[46]]&&or(n);return{c(){i=K("input"),o=ee(),s=K("p"),c&&c.c(),ie(i,"type","number"),ie(i,"class","AccountEditField AccountEditFieldCustom"),ie(i,"part","AccountEditField AccountEditFieldCustom"),i.disabled=r=!0===n[44].isModified,ie(s,"class","AccountEditWarningText"),ie(s,"part","AccountEditWarningText")},m(e,t){X(e,i,t),f(i,n[15][n[46]].value),X(e,o,t),X(e,s,t),c&&c.m(s,null),a||(u=[te(i,"keyup",function(){v(n[22](n[15][n[46]],n[46],!1,n[14]))&&n[22](n[15][n[46]],n[46],!1,n[14]).apply(this,arguments)}),te(i,"input",l)],a=!0)},p(e,t){n=e,4096&t[0]&&r!==(r=!0===n[44].isModified)&&(i.disabled=r),294912&t[0]&&R(i.value)!==n[15][n[46]].value&&f(i,n[15][n[46]].value),1==n[11][n[46]]?c?c.p(n,t):(c=or(n),c.c(),c.m(s,null)):c&&(c.d(1),c=null)},d(e){e&&J(i),e&&J(o),e&&J(s),c&&c.d(),a=!1,q(u)}}}function rr(e){let n,i,r=e[16]("editText.invalidInputMessageTime",{values:{minTime:e[8],maxTime:e[9]}})+"";return{c(){n=K("p"),i=Q(r),ie(n,"class","InvalidInput"),ie(n,"part","InvalidInput")},m(e,t){X(e,n,t),Z(n,i)},p(e,t){66304&t[0]&&r!==(r=e[16]("editText.invalidInputMessageTime",{values:{minTime:e[8],maxTime:e[9]}})+"")&&oe(i,r)},d(e){e&&J(n)}}}function or(e){let n,i,r=e[16]("editText.invalidInputMessageLimit")+"";return{c(){n=K("p"),i=Q(r),ie(n,"class","InvalidInput"),ie(n,"part","InvalidInput")},m(e,t){X(e,n,t),Z(n,i)},p(e,t){65536&t[0]&&r!==(r=e[16]("editText.invalidInputMessageLimit")+"")&&oe(i,r)},d(e){e&&J(n)}}}function sr(e){let n,i,r,o,s,a,u,l,c,d,h,f,m,p,y,g,_=e[16]("editText.expirationDate")+"",v=(e[44].expiryDate?ki(e[44].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",w=e[16]("editText.changedLimitTextBefore")+"",b=(0<e[44].updateAmount?e[44].updateAmount:0)+"",E=(void 0!==e[44].minutes?" minutes":e[4])+"",T=e[16]("editText.changedLimitTextAfter")+"";return{c(){n=K("p"),i=Q(_),r=ee(),o=K("span"),s=Q(v),a=ee(),u=K("div"),l=K("p"),c=K("span"),c.textContent="i",d=K("span"),h=Q(w),f=ee(),m=Q(b),p=ee(),y=Q(E),g=Q(T),ie(n,"class","AccountEditLimitsExpiryDate"),ie(n,"part","AccountEditLimitsExpiryDate"),ie(c,"class","AccountEditLimitChangePeriodIcon"),ie(c,"part","AccountEditLimitChangePeriodIcon"),ie(u,"class","AccountEditLimitsPeriodChangeContainer"),ie(u,"part","AccountEditLimitsPeriodChangeContainer")},m(e,t){X(e,n,t),Z(n,i),Z(n,r),Z(n,o),Z(o,s),X(e,a,t),X(e,u,t),Z(u,l),Z(l,c),Z(l,d),Z(d,h),Z(d,f),Z(d,m),Z(d,p),Z(d,y),Z(d,g)},p(e,t){65536&t[0]&&_!==(_=e[16]("editText.expirationDate")+"")&&oe(i,_),4096&t[0]&&v!==(v=(e[44].expiryDate?ki(e[44].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&oe(s,v),65536&t[0]&&w!==(w=e[16]("editText.changedLimitTextBefore")+"")&&oe(h,w),4096&t[0]&&b!==(b=(0<e[44].updateAmount?e[44].updateAmount:0)+"")&&oe(m,b),4112&t[0]&&E!==(E=(void 0!==e[44].minutes?" minutes":e[4])+"")&&oe(y,E),65536&t[0]&&T!==(T=e[16]("editText.changedLimitTextAfter")+"")&&oe(g,T)},d(e){e&&J(n),e&&J(a),e&&J(u)}}}function ar(e){let n,i,r,o,s,a=e[44].period+"",u=e[44].period==e[15][e[46]].periodName&&Qi(e);return{c(){n=K("div"),i=K("p"),r=Q(a),o=ee(),u&&u.c(),s=ee(),ie(i,"class","AccountEditLimitsTitle"),ie(i,"part","AccountEditLimitsTitle"),ie(n,"class","AccountEditLimitsBox"),ie(n,"part","AccountEditLimitsBox")},m(e,t){X(e,n,t),Z(n,i),Z(i,r),Z(n,o),u&&u.m(n,null),Z(n,s)},p(e,t){4096&t[0]&&a!==(a=e[44].period+"")&&oe(r,a),e[44].period==e[15][e[46]].periodName?u?u.p(e,t):(u=Qi(e),u.c(),u.m(n,s)):u&&(u.d(1),u=null)},d(e){e&&J(n),u&&u.d()}}}function ur(n){let i,r,o,s,a,u,l,c,d,h,f,m,p,y,g,_,v,w,b,E,T,x,S,M,C,A,L,D,k,P,O,N,I,R,Y,U,F,G=n[16]("editText.back")+"",W=(n[0]?n[3]:"")+"",j=n[16]("editText.save")+"",$=n[17]&&function(n){let i,r,o,s,a,u,l,c,d,h,f,m,p,y=n[16]("editText.back")+"";return{c(){i=K("div"),r=t("svg"),o=t("defs"),s=t("style"),a=Q(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),u=t("g"),l=t("g"),c=t("path"),d=ee(),h=K("h2"),f=Q(y),ie(c,"class","aaa"),ie(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),ie(c,"transform","translate(15 15) rotate(180)"),ie(l,"transform","translate(20 158)"),ie(u,"transform","translate(-20 -158)"),ie(r,"xmlns","http://www.w3.org/2000/svg"),ie(r,"width","15"),ie(r,"height","15"),ie(r,"viewBox","0 0 15 15"),ie(h,"class","MyAccountCategoryTitleMobile"),ie(h,"part","MyAccountCategoryTitleMobile"),ie(i,"class","MenuReturnButton"),ie(i,"part","MenuReturnButton")},m(e,t){X(e,i,t),Z(i,r),Z(r,o),Z(o,s),Z(s,a),Z(r,u),Z(u,l),Z(l,c),Z(i,d),Z(i,h),Z(h,f),m||(p=te(i,"click",n[20]),m=!0)},p(e,t){65536&t[0]&&y!==(y=e[16]("editText.back")+"")&&oe(f,y)},d(e){e&&J(i),m=!1,p()}}}(n),H=n[1]&&qi(n),V=n[2]&&Zi(n),B=n[7]&&Ki(n);return{c(){i=K("div"),$&&$.c(),r=ee(),o=K("div"),s=t("svg"),a=t("defs"),u=t("style"),l=Q(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),c=t("g"),d=t("g"),h=t("path"),f=ee(),m=K("h2"),p=Q(G),y=ee(),g=K("div"),_=K("h6"),v=Q(W),w=ee(),b=K("div"),E=K("span"),E.textContent="i",T=ee(),x=K("player-account-gaming-limits-popup"),S=ee(),H&&H.c(),M=ee(),V&&V.c(),C=ee(),B&&B.c(),A=ee(),L=K("div"),D=K("button"),k=Q(j),I=ee(),R=K("player-account-modal"),Y=K("player-account-gaming-limits-confirmation-modal"),this.c=z,ie(h,"class","aaa"),ie(h,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),ie(h,"transform","translate(15 15) rotate(180)"),ie(d,"transform","translate(20 158)"),ie(c,"transform","translate(-20 -158)"),ie(s,"xmlns","http://www.w3.org/2000/svg"),ie(s,"width","15"),ie(s,"height","15"),ie(s,"viewBox","0 0 15 15"),ie(m,"class","MyAccountCategoryTitle "+(n[17]?"MyAccountCategoryTitleNone":"")),ie(m,"part","MyAccountCategoryTitle "+(n[17]?"MyAccountCategoryTitleNone":"")),ie(o,"class","MenuReturnButton "+(n[17]?"MyAccountCategoryTitleNone":"")),ie(o,"part","MenuReturnButton "+(n[17]?"MyAccountCategoryTitleNone":"")),ie(E,"class","AccountEditLimitsIcon"),ie(E,"part","AccountEditLimitsIcon"),re(x,"showpopup",n[6]),re(x,"lang",n[5]),ie(b,"class","AccountEditLimitsIconWrapper"),ie(b,"part","AccountEditLimitsIconWrapper"),ie(g,"class","AccountEditLimitsHeader"),ie(g,"part","AccountEditLimitsHeader"),ie(D,"class",P="AccountEditLimitsSaveButton "+(n[13]?"":"AccountEditLimitsButtonDisabled")),ie(D,"part",O="AccountEditLimitsSaveButton "+(n[13]?"":"AccountEditLimitsButtonDisabled")),D.disabled=N=!n[13],ie(L,"class","AccountEditLimitsControlArea"),ie(L,"part","AccountEditLimitsControlArea"),ie(i,"class","AccountEditLimitsWrapper "+(n[17]?"AccountEditLimitsMobileWrapper":"")),re(Y,"modaltext",n[10]),re(Y,"modalsource","groupEdit"),re(Y,"lang",n[5])},m(e,t){X(e,i,t),$&&$.m(i,null),Z(i,r),Z(i,o),Z(o,s),Z(s,a),Z(a,u),Z(u,l),Z(s,c),Z(c,d),Z(d,h),Z(o,f),Z(o,m),Z(m,p),Z(i,y),Z(i,g),Z(g,_),Z(_,v),Z(g,w),Z(g,b),Z(b,E),Z(b,T),Z(b,x),Z(i,S),H&&H.m(i,null),Z(i,M),V&&V.m(i,null),Z(i,C),B&&B.m(i,null),Z(i,A),Z(i,L),Z(L,D),Z(D,k),X(e,I,t),X(e,R,t),Z(R,Y),U||(F=[te(o,"click",n[20]),te(E,"click",ne(n[19])),te(D,"click",n[26])],U=!0)},p(e,t){e[17]&&$.p(e,t),65536&t[0]&&G!==(G=e[16]("editText.back")+"")&&oe(p,G),9&t[0]&&W!==(W=(e[0]?e[3]:"")+"")&&oe(v,W),64&t[0]&&re(x,"showpopup",e[6]),32&t[0]&&re(x,"lang",e[5]),e[1]?H?H.p(e,t):(H=qi(e),H.c(),H.m(i,M)):H&&(H.d(1),H=null),e[2]?V?V.p(e,t):(V=Zi(e),V.c(),V.m(i,C)):V&&(V.d(1),V=null),e[7]?B?B.p(e,t):(B=Ki(e),B.c(),B.m(i,A)):B&&(B.d(1),B=null),65536&t[0]&&j!==(j=e[16]("editText.save")+"")&&oe(k,j),8192&t[0]&&P!==(P="AccountEditLimitsSaveButton "+(e[13]?"":"AccountEditLimitsButtonDisabled"))&&ie(D,"class",P),8192&t[0]&&O!==(O="AccountEditLimitsSaveButton "+(e[13]?"":"AccountEditLimitsButtonDisabled"))&&ie(D,"part",O),8192&t[0]&&N!==(N=!e[13])&&(D.disabled=N),1024&t[0]&&re(Y,"modaltext",e[10]),32&t[0]&&re(Y,"lang",e[5])},i:z,o:z,d(e){e&&J(i),$&&$.d(),H&&H.d(),V&&V.d(),B&&B.d(),e&&J(I),e&&J(R),U=!1,q(F)}}}function lr(e,t,o){let n;I(e,Mi,e=>o(16,n=e));let{limitsdata:i=[]}=t,{showsuccessnotification:r=!1}=t,{showdeletenotification:s=!1}=t,{limitname:a=""}=t,{playercurrency:u=""}=t,{lang:l="en"}=t;Object.keys(Ai).forEach(e=>{si(e,Ai[e])});let c=!1,d=!0,h=!1,f=0,m=0,p="",y=window.navigator.userAgent,g="PC"!==Ci(y),_=new Array(3).fill(0),v={},w=[],b=!1,E=[];const T={amount:/^[0-9]{0,7}$/,time:/^[1-9]\d*$/};let x=[{periodName:"Daily",amount:"No limit",value:0},{periodName:"Weekly",amount:"No limit",value:0},{periodName:"Monthly",amount:"No limit",value:0}],S=[{periodName:"Daily",values:["10000","20000","50000","Custom"]},{periodName:"Weekly",values:["10000","50000","100000","Custom"]},{periodName:"Monthly",values:["50000","100000","200000","Custom"]}],M=[{periodName:"Daily",values:["10000","20000","50000","Custom"]},{periodName:"Weekly",values:["10000","50000","100000","Custom"]},{periodName:"Monthly",values:["50000","100000","200000","Custom"]}],C=[{periodName:"Daily",values:["10000","20000","50000","Custom"]},{periodName:"Weekly",values:["10000","50000","100000","Custom"]},{periodName:"Monthly",values:["50000","100000","200000","Custom"]}],A=[{periodName:"Daily",values:["500","1000","1430","Custom"]},{periodName:"Weekly",values:["5000","7000","10000","Custom"]},{periodName:"Monthly",values:["20000","30000","43000","Custom"]}];const L=new Map([["Deposit Limit","depositLimits"],["Time Limit","cumulativeSessionLimits"],["Wagering Limit","wageringLimits"],["Loss Limit","lossLimits"]]),D=()=>{window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href)},k=(n,e)=>{let i=JSON.parse(JSON.stringify(e));x.forEach(t=>{i.forEach(e=>{t.periodName==n.periodName&&("Custom"!==t.amount&&"No limit"!==t.amount?t.value=JSON.parse(t.amount):"No limit"===t.amount&&(t.value=0)),e.period===t.periodName&&(e.amount=t.value)})})},P=()=>{E.forEach(e=>{var t=e;w.forEach(e=>{t.period===e.periodName&&("Time Limit"===a&&(o(8,f=60),"Daily"===t.periodName?o(9,m=1440):"Weekly"==t.periodName?o(9,m=10080):o(9,m=43200)),-1<e.values.indexOf(t.amount)&&("No limit"===t.amount?t.amount=0:t.amount=JSON.parse(t.amount)))})}),v.forEach(t=>{w.forEach(e=>{t.period===e.periodName&&((e,t,n)=>{let i=e.values;t.amount&&"No limit"!==t.amount?i.includes(JSON.stringify(t.amount))?n.forEach(e=>{e.periodName===t.period&&(e.amount=JSON.stringify(t.amount),e.value=t.amount)}):n.forEach(e=>{e.periodName===t.period&&(e.amount="Custom",e.value=t.amount)}):n.forEach(e=>{e.periodName===t.period&&(e.amount=t.amount,e.value=0)})})(e,t,x)})})},O=()=>{var e=l;yi.set(e),e="Time Limit"===a?"time limit":"Deposit Limit"===a?"deposit limit":"Wagering Limit"===a?"wagering limit":"loss limit",o(10,p=n("editText.changeLimitsText",{values:{limit:e}})),o(14,E=JSON.parse(JSON.stringify(i))),o(12,v=JSON.parse(JSON.stringify(i))),w="Wagering Limit"===a?M:"Loss Limit"===a?C:"Deposit Limit"===a?S:"Time Limit"===a?A:[],P()},N=e=>{if(e.data)switch(e.data.type){case"ClosePlayerAccountGamingLimitsPopup":o(6,c=!1);break;case"GamingLimitsConfirmChanges":h=!0,h&&("Time Limit"===a?x.forEach(t=>{v.forEach(e=>{e.period===t.periodName&&(e.minutes=t.value)})}):x.forEach(t=>{v.forEach(e=>{e.period===t.periodName&&(e.amount=t.value,e.currency=u)})}),t={},t={[L.get(a)]:[...v]},window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:t,limitsCategory:L.get(a)},window.location.href),o(13,b=!1));break;case"CancelGamingLimitsChanges":o(7,d=!1),setTimeout(()=>{o(7,d=!0)},10),O(),o(13,b=!1),h=!1}var t};return Y(()=>(window.addEventListener("message",N,!1),()=>{window.removeEventListener("message",N)})),e.$$set=e=>{"limitsdata"in e&&o(0,i=e.limitsdata),"showsuccessnotification"in e&&o(1,r=e.showsuccessnotification),"showdeletenotification"in e&&o(2,s=e.showdeletenotification),"limitname"in e&&o(3,a=e.limitname),"playercurrency"in e&&o(4,u=e.playercurrency),"lang"in e&&o(5,l=e.lang)},e.$$.update=()=>{6&e.$$.dirty[0]&&r&&s&&O(),33&e.$$.dirty[0]&&i&&l&&O()},[i,r,s,a,u,l,c,d,f,m,p,_,v,b,E,x,n,g,S,()=>{o(6,c=!0)},()=>{window.postMessage({type:"PlayerAccountBackToLimitsView"},window.location.href)},D,(e,t,n,i)=>{var r;"Custom"===e.amount?"Time Limit"==a?(o(8,f=60),"Daily"===e.periodName?o(9,m=1440):"Weekly"==e.periodName?o(9,m=10080):o(9,m=43200),e.value&&T.time.test(e.value)&&e.value>f&&e.value<=m?(o(11,_[t]=0,_),r=i[t],e.periodName==r.period&&e.value==r.amount?(o(13,b=!1),k(e,i)):o(13,b=!0)):(o(11,_[t]=1,_),o(13,b=!1))):e.value&&T.amount.test(e.value)?(o(11,_[t]=0,_),e.periodName==i[t].period&&e.value==i[t].amount?(o(13,b=!!b),k(e,i)):o(13,b=!0),x.forEach(e=>{0==e.value&&o(13,b=!1)})):(o(11,_[t]=1,_),o(13,b=!1)):(e.periodName==i[t].period?(k(e,i),o(13,b=e.value!=i[t].amount)):o(13,b=!0),x.forEach(e=>{0==e.value&&o(13,b=!1)}))},function(e){x[e].amount=function(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}(this),o(15,x),o(18,S)},function(e){x[e].value=R(this.value),o(15,x),o(18,S)},function(e){x[e].value=R(this.value),o(15,x),o(18,S)},()=>D()]}customElements.get("player-account-gaming-limits-confirmation-modal")||customElements.define("player-account-gaming-limits-confirmation-modal",class extends H{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:relative;background:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;border-top:5px solid var(--emfe-w-color-secondary, #FD2839);margin:0 20px}.GamingLimitsConfirmationContainer{background:var(--emfe-w-color-gray-50, #F9F8F8);color:var(--emfe-w-color-black, #000000);padding:60px 30px 30px 30px;text-align:center}.GamingLimitsConfirmationContainerMobile{padding:30px}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{width:100%;font-size:18px;line-height:48px;border-radius:5px;color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B);background-color:transparent;text-transform:uppercase;cursor:pointer}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-primary, #D0046C)}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:40px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}</style>",$(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Hi,$i,n,{modaltext:0,modalsource:6,lang:7}),e&&(e.target&&X(e.target,this,e.anchor),e.props&&(this.$set(e.props),P()))}static get observedAttributes(){return["modaltext","modalsource","lang"]}get modaltext(){return this.$$.ctx[0]}set modaltext(e){this.$set({modaltext:e}),P()}get modalsource(){return this.$$.ctx[6]}set modalsource(e){this.$set({modalsource:e}),P()}get lang(){return this.$$.ctx[7]}set lang(e){this.$set({lang:e}),P()}});class cr extends H{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.MenuReturnButton{color:var(--emfe-w-color-primary, #D0046C);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px;cursor:pointer}.MenuReturnButton svg{fill:var(--emfe-w-color-primary, #D0046C)}.MyAccountCategoryTitle{font-size:26px;color:var(--emfe-w-color-primary, #D0046C);font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:var(--emfe-w-color-primary, #D0046C)}.MyAccountCategoryTitleNone{display:none !important}.AccountEditLimitsWrapper{padding:50px;max-width:760px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper{padding:20px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea{grid-template-columns:1fr}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea .AccountEditLimitsSaveButton{width:100%}.AccountEditLimitsHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:5px;color:var(--emfe-w-color-primary, #D0046C)}.AccountEditLimitsHeader h6{margin:0;font-weight:normal;font-size:16px;line-height:20px}.AccountEditLimitsHeader .AccountEditLimitsIcon{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emfe-w-color-primary, #D0046C);align-items:center;justify-content:center;border-radius:30px;cursor:pointer}.AccountEditLimitChangePeriodIcon{display:flex;width:20px;height:20px;color:var(--emfe-w-color-gray-300, #58586B);background:transparent;border:1px solid var(--emfe-w-color-gray-300, #58586B);align-items:center;justify-content:center;border-radius:30px;cursor:pointer;margin-right:10px}.AccountEditLimitSuccessfulChangeContainer{background:var(--emfe-w-color-primary-50, #FBECF4);border:1px solid var(--emfe-w-color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;padding:10px}.AccountEditLimitSuccessfulChangeContainer p{margin:0}.AccountEditLimitsIconWrapper{position:relative}.AccountEditLimitsTitle{font-size:16px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);margin:0;padding:10px 0 10px}.AccountEditLimitsExpiryDate{font-size:12px;font-weight:300;color:var(--emfe-w-color-black, #000000)}.AccountEditLimitsContainer{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;direction:ltr}@media only screen and (max-width: 1024px){.AccountEditLimitsContainer{grid-template-columns:1fr;grid-gap:20px}}.AccountEditField{width:100%;font-size:14px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);padding:10px;line-height:16px;background:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;outline:none;transition-duration:0.3s}.AccountEditField:focus,.AccountEditField :focus-within,.AccountEditField :focus-visible,.AccountEditField :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.AccountEditFieldCustom{padding:3%}.AccountEditLimitsPeriodChangeContainer{background:var(--emfe-w-color-gray-50, #F9F8F8);border-radius:5px}.AccountEditLimitsPeriodChangeContainer p{max-width:290px;display:-webkit-box;padding:10px 35px 15px 10px;color:var(--emfe-w-color-gray-300, #58586B);font-size:12px;font-weight:300}.AccountEditLimitsPeriodChangeContainer p .AccountEditLimitChangePeriodIcon{font-size:14px;font-weight:400}.AccountEditLimitsControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;margin-top:35px}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton{padding:12px;cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--emfe-w-color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton.AccountEditLimitsButtonDisabled{background:var(--emfe-w-color-primary, #D0046C);cursor:not-allowed;opacity:0.6}.AccountEditLimitsBox{position:relative}.AccountEditWarningText{position:relative;margin:0}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;position:absolute;top:6px;margin:0;line-height:10px}.AccountEditLimitsInputContainer{position:relative;padding-top:10px;width:94%}</style>",$(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},lr,ur,n,{limitsdata:0,showsuccessnotification:1,showdeletenotification:2,limitname:3,playercurrency:4,lang:5},[-1,-1]),e&&(e.target&&X(e.target,this,e.anchor),e.props&&(this.$set(e.props),P()))}static get observedAttributes(){return["limitsdata","showsuccessnotification","showdeletenotification","limitname","playercurrency","lang"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(e){this.$set({limitsdata:e}),P()}get showsuccessnotification(){return this.$$.ctx[1]}set showsuccessnotification(e){this.$set({showsuccessnotification:e}),P()}get showdeletenotification(){return this.$$.ctx[2]}set showdeletenotification(e){this.$set({showdeletenotification:e}),P()}get limitname(){return this.$$.ctx[3]}set limitname(e){this.$set({limitname:e}),P()}get playercurrency(){return this.$$.ctx[4]}set playercurrency(e){this.$set({playercurrency:e}),P()}get lang(){return this.$$.ctx[5]}set lang(e){this.$set({lang:e}),P()}}return customElements.get("player-account-gaming-limits-group-edit")||customElements.define("player-account-gaming-limits-group-edit",cr),cr});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function z(){}const p=e=>e;function c(e){return e()}function d(){return Object.create(null)}function q(e){e.forEach(c)}function _(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function h(e,...t){if(null==e)return z;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function I(e,t,n){e.$$.on_destroy.push(h(t,n))}var e="undefined"!=typeof window;let y=e?()=>window.performance.now():()=>Date.now(),g=e?e=>requestAnimationFrame(e):z;const v=new Set;function w(t){v.forEach(e=>{e.c(t)||(v.delete(e),e.f())}),0!==v.size&&g(w)}function Z(e,t){e.appendChild(t)}function X(e,t,n){e.insertBefore(t,n||null)}function J(e){e.parentNode.removeChild(e)}function b(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}function K(e){return document.createElement(e)}function t(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Q(e){return document.createTextNode(e)}function ee(){return Q(" ")}function E(){return Q("")}function te(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function ne(t){return function(e){return e.preventDefault(),t.call(this,e)}}function ie(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function re(e,t,n){t in e?e[t]=n:ie(e,t,n)}function R(e){return""===e?null:+e}function oe(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function f(e,t){e.value=null==t?"":t}function T(t,n){for(let e=0;e<t.options.length;e+=1){const i=t.options[e];if(i.__value===n)return i.selected=!0,0}}function i(e){const t={};for(const n of e)t[n.name]=n.value;return t}const x=new Set;let m,S=0;function M(e,t,n,i,r,o,s,a=0){var u=16.666/i;let l="{\n";for(let e=0;e<=1;e+=u){const i=t+(n-t)*o(e);l+=100*e+`%{${s(i,1-i)}}\n`}const c=l+`100% {${s(n,1-n)}}\n}`,d=`__svelte_${function(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}(c)}_${a}`,h=e.ownerDocument;x.add(h);const f=h.__svelte_stylesheet||(h.__svelte_stylesheet=h.head.appendChild(K("style")).sheet),m=h.__svelte_rules||(h.__svelte_rules={});m[d]||(m[d]=!0,f.insertRule(`@keyframes ${d} ${c}`,f.cssRules.length));a=e.style.animation||"";return e.style.animation=`${a?`${a}, `:""}${d} ${i}ms linear ${r}ms 1 both`,S+=1,d}function C(e){m=e}function Y(e){!function(){if(!m)throw new Error("Function called outside component initialization");return m}().$$.on_mount.push(e)}const A=[],a=[],r=[],o=[],L=Promise.resolve();let D=!1;function k(e){r.push(e)}let s=!1;const u=new Set;function P(){if(!s){s=!0;do{for(let e=0;e<A.length;e+=1){var t=A[e];C(t),function(e){{var t;null!==e.fragment&&(e.update(),q(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(k))}}(t.$$)}for(C(null),A.length=0;a.length;)a.pop()();for(let e=0;e<r.length;e+=1){const n=r[e];u.has(n)||(u.add(n),n())}}while(r.length=0,A.length);for(;o.length;)o.pop()();D=!1,s=!1,u.clear()}}let O;function N(e,t,n){e.dispatchEvent(function(e){const t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}(`${t?"intro":"outro"}${n}`))}const l=new Set;let U;function F(e,t){e&&e.i&&(l.delete(e),e.i(t))}function G(e,t,n,i){e&&e.o&&(l.has(e)||(l.add(e),U.c.push(()=>{l.delete(e),i&&(n&&e.d(1),i())}),e.o(t)))}const j={duration:0};function W(a,e,t,n){let u=e(a,t),l=n?0:1,c=null,d=null,h=null;function f(){h&&function(e,t){const n=(e.style.animation||"").split(", "),i=n.filter(t?e=>e.indexOf(t)<0:e=>-1===e.indexOf("__svelte")),r=n.length-i.length;r&&(e.style.animation=i.join(", "),S-=r,S||g(()=>{S||(x.forEach(e=>{const t=e.__svelte_stylesheet;let n=t.cssRules.length;for(;n--;)t.deleteRule(n);e.__svelte_rules={}}),x.clear())}))}(a,h)}function m(e,t){var n=e.b-l;return t*=Math.abs(n),{a:l,b:e.b,d:n,duration:t,start:e.start,end:e.start+t,group:e.group}}function i(e){const{delay:t=0,duration:n=300,easing:i=p,tick:r=z,css:o}=u||j,s={start:y()+t,b:e};e||(s.group=U,U.r+=1),c||d?d=s:(o&&(f(),h=M(a,l,e,n,t,i,o)),e&&r(0,1),c=m(s,n),k(()=>N(a,e,"start")),function(t){let n;0===v.size&&g(w),new Promise(e=>{v.add(n={c:t,f:e})})}(e=>{return d&&e>d.start&&(c=m(d,n),d=null,N(a,c.b,"start"),o&&(f(),h=M(a,l,c.b,c.duration,0,i,u.css))),c&&(e>=c.end?(r(l=c.b,1-l),N(a,c.b,"end"),d||(c.b?f():--c.group.r||q(c.group.c)),c=null):e>=c.start&&(e=e-c.start,l=c.a+c.d*i(e/c.duration),r(l,1-l))),!(!c&&!d)}))}return{run(e){_(u)?(O||(O=Promise.resolve(),O.then(()=>{O=null})),O.then(()=>{u=u(),i(e)})):i(e)},end(){f(),c=d=null}}}function $(i,e,t,n,r,o,s=[-1]){var a=m;C(i);const u=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(a?a.$$.context:e.context||[]),callbacks:d(),dirty:s,skip_bound:!1};let l=!1;if(u.ctx=t?t(i,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return u.ctx&&r(u.ctx[e],u.ctx[e]=n)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](n),l&&(n=e,-1===(e=i).$$.dirty[0]&&(A.push(e),D||(D=!0,L.then(P)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],u.update(),l=!0,q(u.before_update),u.fragment=!!n&&n(u.ctx),e.target){if(e.hydrate){const z=(n=e.target,Array.from(n.childNodes));u.fragment&&u.fragment.l(z),z.forEach(J)}else u.fragment&&u.fragment.c();e.intro&&F(i.$$.fragment),function(t,e,n,i){const{fragment:r,on_mount:o,on_destroy:s,after_update:a}=t.$$;r&&r.m(e,n),i||k(()=>{var e=o.map(c).filter(_);s?s.push(...e):q(e),t.$$.on_mount=[]}),a.forEach(k)}(i,e.target,e.anchor,e.customElement),P()}C(a)}let V;"function"==typeof HTMLElement&&(V=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(c).filter(_);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){q(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(q(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=z}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var H,B,se="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==se&&se,ae="URLSearchParams"in se,ue="Symbol"in se&&"iterator"in Symbol,le="FileReader"in se&&"Blob"in se&&function(){try{return new Blob,!0}catch(e){return!1}}(),ce="FormData"in se,de="ArrayBuffer"in se;function he(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function fe(e){return e="string"!=typeof e?String(e):e}function me(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return ue&&(e[Symbol.iterator]=function(){return e}),e}function pe(t){this.map={},t instanceof pe?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function ye(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ge(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function ve(e){var t=new FileReader,n=ge(t);return t.readAsArrayBuffer(e),n}function _e(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function we(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:le&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:ce&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ae&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():de&&le&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=_e(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):de&&(ArrayBuffer.prototype.isPrototypeOf(e)||B(e))?this._bodyArrayBuffer=_e(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):ae&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},le&&(this.blob=function(){var e=ye(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?ye(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(ve)}),this.text=function(){var e,t,n=ye(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=ge(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),i=0;i<t.length;i++)n[i]=String.fromCharCode(t[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},ce&&(this.formData=function(){return this.text().then(Te)}),this.json=function(){return this.text().then(JSON.parse)},this}de&&(H=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],B=ArrayBuffer.isView||function(e){return e&&-1<H.indexOf(Object.prototype.toString.call(e))}),pe.prototype.append=function(e,t){e=he(e),t=fe(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},pe.prototype.delete=function(e){delete this.map[he(e)]},pe.prototype.get=function(e){return e=he(e),this.has(e)?this.map[e]:null},pe.prototype.has=function(e){return this.map.hasOwnProperty(he(e))},pe.prototype.set=function(e,t){this.map[he(e)]=fe(t)},pe.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},pe.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),me(n)},pe.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),me(t)},pe.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),me(n)},ue&&(pe.prototype[Symbol.iterator]=pe.prototype.entries);var be=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Ee(e,t){if(!(this instanceof Ee))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,i=(t=t||{}).body;if(e instanceof Ee){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new pe(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new pe(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<be.indexOf(e)?e:n),this.mode=t.mode||this.mode||null,this.signal=t.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"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Te(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function xe(e,t){if(!(this instanceof xe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new pe(t.headers),this.url=t.url||"",this._initBody(e)}Ee.prototype.clone=function(){return new Ee(this,{body:this._bodyInit})},we.call(Ee.prototype),we.call(xe.prototype),xe.prototype.clone=function(){return new xe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new pe(this.headers),url:this.url})},xe.error=function(){var e=new xe(null,{status:0,statusText:""});return e.type="error",e};var Se=[301,302,303,307,308];xe.redirect=function(e,t){if(-1===Se.indexOf(t))throw new RangeError("Invalid status code");return new xe(null,{status:t,headers:{location:e}})};var Me=se.DOMException;try{new Me}catch(z){(Me=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),Me.prototype.constructor=Me}function Ce(i,s){return new Promise(function(r,e){var t=new Ee(i,s);if(t.signal&&t.signal.aborted)return e(new Me("Aborted","AbortError"));var o=new XMLHttpRequest;function n(){o.abort()}o.onload=function(){var e,n,t={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",n=new pe,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;setTimeout(function(){r(new xe(i,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){e(new Me("Aborted","AbortError"))},0)},o.open(t.method,function(t){try{return""===t&&se.location.href?se.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?o.withCredentials=!0:"omit"===t.credentials&&(o.withCredentials=!1),"responseType"in o&&(le?o.responseType="blob":de&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof pe?t.headers.forEach(function(e,t){o.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){o.setRequestHeader(e,fe(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),o.onreadystatechange=function(){4===o.readyState&&t.signal.removeEventListener("abort",n)}),o.send(void 0===t._bodyInit?null:t._bodyInit)})}function kn(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}Ce.polyfill=!0,se.fetch||(se.fetch=Ce,se.Headers=pe,se.Request=Ee,se.Response=xe),self.fetch.bind(self);var Ae=function(e,t){return(Ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function Le(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Ae(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function De(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&i>=e.length?void 0:e)&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ke(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(i=o.next()).done;)s.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return s}function Pe(e,t){for(var n=0,i=t.length,r=e.length;n<i;n++,r++)e[r]=t[n];return e}function Oe(e){return"function"==typeof e}function Ne(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var Ie=Ne(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function Re(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var Ye=(Fe.prototype.unsubscribe=function(){var e,t,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 s=De(o),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);o=this.initialTeardown;if(Oe(o))try{o()}catch(e){r=e instanceof Ie?e.errors:[e]}o=this._teardowns;if(o){this._teardowns=null;try{for(var u=De(o),l=u.next();!l.done;l=u.next()){var c=l.value;try{je(c)}catch(e){r=null!=r?r:[],e instanceof Ie?r=Pe(Pe([],ke(r)),ke(e.errors)):r.push(e)}}}catch(e){n={error:e}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}if(r)throw new Ie(r)}},Fe.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)je(e);else{if(e instanceof Fe){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},Fe.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},Fe.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},Fe.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Re(t,e)},Fe.prototype.remove=function(e){var t=this._teardowns;t&&Re(t,e),e instanceof Fe&&e._removeParent(this)},Fe.EMPTY=((ln=new Fe).closed=!0,ln),Fe),Ue=Ye.EMPTY;function Fe(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function Ge(e){return e instanceof Ye||e&&"closed"in e&&Oe(e.remove)&&Oe(e.add)&&Oe(e.unsubscribe)}function je(e){Oe(e)?e():e.unsubscribe()}var We=void 0,$e=!1,Ve=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,Pe([],ke(e)))};function He(){}function Be(e){e()}var ze,qe,Ze=(Le(Ke,qe=Ye),Ke.create=function(e,t,n){return new Xe(e,t,n)},Ke.prototype.next=function(e){this.isStopped||this._next(e)},Ke.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ke.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ke.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,qe.prototype.unsubscribe.call(this),this.destination=null)},Ke.prototype._next=function(e){this.destination.next(e)},Ke.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ke.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Ke),Xe=(Le(Je,ze=Ze),Je);function Je(e,t,n){var i,r,o=ze.call(this)||this;return Oe(e)?r=e:e&&(r=e.next,t=e.error,n=e.complete,o&&$e?(i=Object.create(e)).unsubscribe=function(){return o.unsubscribe()}:i=e,r=null==r?void 0:r.bind(i),t=null==t?void 0:t.bind(i),n=null==n?void 0:n.bind(i)),o.destination={next:r?Qe(r):He,error:Qe(null!=t?t:et),complete:n?Qe(n):He},o}function Ke(e){var t=qe.call(this)||this;return t.isStopped=!1,e?Ge(t.destination=e)&&e.add(t):t.destination=tt,t}function Qe(i){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{i.apply(void 0,Pe([],ke(e)))}catch(e){t=e,Ve(function(){throw t})}}}function et(e){throw e}var tt={closed:!0,next:He,error:et,complete:He},nt="function"==typeof Symbol&&Symbol.observable||"@@observable";function it(e){return e}var rt=(ot.prototype.lift=function(e){var t=new ot;return t.source=this,t.operator=e,t},ot.prototype.subscribe=function(e,t,n){var i,r=this,o=(i=e)&&i instanceof Ze||i&&Oe(i.next)&&Oe(i.error)&&Oe(i.complete)&&Ge(i)?e:new Xe(e,t,n);return Be(function(){var e=r.operator,t=r.source;o.add(e?e.call(o,t):t?r._subscribe(o):r._trySubscribe(o))}),o},ot.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},ot.prototype.forEach=function(i,e){var r=this;return new(e=st(e))(function(e,t){var n=r.subscribe(function(e){try{i(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},ot.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},ot.prototype[nt]=function(){return this},ot.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?it:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},ot.prototype.toPromise=function(e){var i=this;return new(e=st(e))(function(e,t){var n;i.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},ot.create=function(e){return new ot(e)},ot);function ot(e){e&&(this._subscribe=e)}function st(e){return null!==(e=null!=e?e:We)&&void 0!==e?e:Promise}var at,ut,lt,ct=Ne(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),dt=(Le(gt,lt=rt),gt.prototype.lift=function(e){var t=new ht(this,this);return t.operator=e,t},gt.prototype._throwIfClosed=function(){if(this.closed)throw new ct},gt.prototype.next=function(o){var s=this;Be(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){var n=s.observers.slice();try{for(var i=De(n),r=i.next();!r.done;r=i.next())r.value.next(o)}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}}})},gt.prototype.error=function(t){var n=this;Be(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},gt.prototype.complete=function(){var t=this;Be(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},gt.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(gt.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),gt.prototype._trySubscribe=function(e){return this._throwIfClosed(),lt.prototype._trySubscribe.call(this,e)},gt.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},gt.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,i=this.observers;return t||n?Ue:(i.push(e),new Ye(function(){return Re(i,e)}))},gt.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,i=this.isStopped;t?e.error(n):i&&e.complete()},gt.prototype.asObservable=function(){var e=new rt;return e.source=this,e},gt.create=function(e,t){return new ht(e,t)},gt),ht=(Le(yt,ut=dt),yt.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},yt.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},yt.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},yt.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:Ue},yt),ft={now:function(){return(ft.delegate||Date).now()},delegate:void 0},mt=(Le(pt,at=dt),pt.prototype.next=function(e){var t=this,n=t.isStopped,i=t._buffer,r=t._infiniteTimeWindow,o=t._timestampProvider,t=t._windowTime;n||(i.push(e),r||i.push(o.now()+t)),this._trimBuffer(),at.prototype.next.call(this,e)},pt.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,i=this._buffer.slice(),r=0;r<i.length&&!e.closed;r+=n?1:2)e.next(i[r]);return this._checkFinalizedStatuses(e),t},pt.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,i=this._infiniteTimeWindow,r=(i?1:2)*e;if(e<1/0&&r<n.length&&n.splice(0,n.length-r),!i){for(var o=t.now(),s=0,a=1;a<n.length&&n[a]<=o;a+=2)s=a;s&&n.splice(0,s+1)}},pt);function pt(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=ft);var i=at.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,t),i}function yt(e,t){var n=ut.call(this)||this;return n.destination=e,n.source=t,n}function gt(){var e=lt.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let vt=[],_t={};const wt=[];function bt(i,r=z){let o;const s=[];function a(e){if(n(i,e)&&(i=e,o)){const e=!wt.length;for(let e=0;e<s.length;e+=1){const t=s[e];t[1](),wt.push(t,i)}if(e){for(let e=0;e<wt.length;e+=2)wt[e][0](wt[e+1]);wt.length=0}}}return{set:a,update:function(e){a(e(i))},subscribe:function(e,t=z){const n=[e,t];return s.push(n),1===s.length&&(o=r(a)||z),e(i),()=>{var e=s.indexOf(n);-1!==e&&s.splice(e,1),0===s.length&&(o(),o=null)}}}}function Et(e,a,t){const u=!Array.isArray(e),l=u?[e]:e,c=a.length<2;return{subscribe:bt(t,t=>{let n=!1;const i=[];let r=0,o=z;const s=()=>{var e;r||(o(),e=a(u?i[0]:i,t),c?t(e):o=_(e)?e:z)},e=l.map((e,t)=>h(e,e=>{i[t]=e,r&=~(1<<t),n&&s()},()=>{r|=1<<t}));return n=!0,s(),function(){q(e),o()}}).subscribe}}var Tt=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===xt));var t},xt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function St(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Dt(Array.isArray(e)?[]:{},e,t):e}function Mt(e,t,n){return e.concat(t).map(function(e){return St(e,n)})}function Ct(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function At(e,t){try{return t in e}catch(e){return!1}}function Lt(i,r,o){var s={};return o.isMergeableObject(i)&&Ct(i).forEach(function(e){s[e]=St(i[e],o)}),Ct(r).forEach(function(t){var e,n;(!At(e=i,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(At(i,t)&&o.isMergeableObject(r[t])?s[t]=function(){if(!o.customMerge)return Dt;var e=o.customMerge(t);return"function"==typeof e?e:Dt}()(i[t],r[t],o):s[t]=St(r[t],o))}),s}function Dt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Mt,n.isMergeableObject=n.isMergeableObject||Tt,n.cloneUnlessOtherwiseSpecified=St;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):Lt(e,t,n):St(t,n)}Dt.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return Dt(e,t,n)},{})};var kt=Dt,Pt=function(e,t){return(Pt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function Ot(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Pt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Nt,It,Rt,Yt=function(){return(Yt=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function Ut(e,t){for(var n=0,i=t.length,r=e.length;n<i;n++,r++)e[r]=t[n];return e}function Ft(e){return e.type===It.literal}function Gt(e){return e.type===It.number}function jt(e){return e.type===It.date}function Wt(e){return e.type===It.time}function $t(e){return e.type===It.select}function Vt(e){return e.type===It.plural}function Ht(e){return e.type===It.tag}function Bt(e){return e&&"object"==typeof e&&e.type===Rt.number}function zt(e){return e&&"object"==typeof e&&e.type===Rt.dateTime}(cn=Nt=Nt||{})[cn.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",cn[cn.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",cn[cn.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",cn[cn.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",cn[cn.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",cn[cn.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",cn[cn.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",cn[cn.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",cn[cn.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",cn[cn.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",cn[cn.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",cn[cn.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",cn[cn.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",cn[cn.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",cn[cn.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",cn[cn.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",cn[cn.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",cn[cn.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",cn[cn.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",cn[cn.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",cn[cn.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",cn[cn.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",cn[cn.INVALID_TAG=23]="INVALID_TAG",cn[cn.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",cn[cn.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",cn[cn.UNCLOSED_TAG=27]="UNCLOSED_TAG",(dn=It=It||{})[dn.literal=0]="literal",dn[dn.argument=1]="argument",dn[dn.number=2]="number",dn[dn.date=3]="date",dn[dn.time=4]="time",dn[dn.select=5]="select",dn[dn.plural=6]="plural",dn[dn.pound=7]="pound",dn[dn.tag=8]="tag",(hn=Rt=Rt||{})[hn.number=0]="number",hn[hn.dateTime=1]="dateTime";var e=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,qt=/(?:[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 Zt,Xt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Jt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Kt=/^(@+)?(\+|#+)?$/g,Qt=/(\*)(0+)|(#+)(0+)|(0+)/g,en=/^(0+)$/;function tn(e){var i={};return e.replace(Kt,function(e,t,n){return"string"!=typeof n?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===n?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),i}function nn(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function rn(e){return nn(e)||{}}function on(e){for(var s={},t=0,n=e;t<n.length;t++){var i,r=n[t];switch(r.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=r.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=Yt(Yt(Yt({},s),{notation:"scientific"}),r.options.reduce(function(e,t){return Yt(Yt({},e),rn(t))},{}));continue;case"engineering":s=Yt(Yt(Yt({},s),{notation:"engineering"}),r.options.reduce(function(e,t){return Yt(Yt({},e),rn(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.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(Qt,function(e,t,n,i,r,o){if(t)s.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))s.minimumIntegerDigits=r.stem.length;else if(Jt.test(r.stem)){if(1<r.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Jt,function(e,t,n,i,r,o){return"*"===n?s.minimumFractionDigits=t.length:i&&"#"===i[0]?s.maximumFractionDigits=i.length:r&&o?(s.minimumFractionDigits=r.length,s.maximumFractionDigits=r.length+o.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""}),r.options.length&&(s=Yt(Yt({},s),tn(r.options[0])))}else Kt.test(r.stem)?s=Yt(Yt({},s),tn(r.stem)):((i=nn(r.stem))&&(s=Yt(Yt({},s),i)),(i=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!en.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem))&&(s=Yt(Yt({},s),i)))}return s}var sn=new RegExp("^"+e.source+"*"),an=new RegExp(e.source+"*$");function un(e,t){return{start:e,end:t}}var ln=!!String.prototype.startsWith,nt=!!String.fromCodePoint,dt=!!Object.fromEntries,cn=!!String.prototype.codePointAt,dn=!!String.prototype.trimStart,hn=!!String.prototype.trimEnd,fn=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},e=!0;try{e="a"===(null===(Zt=En("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Zt?void 0:Zt[0])}catch(z){e=!1}var mn,pn,yn=ln?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},gn=nt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,i="",r=e.length,o=0;o<r;){if(1114111<(n=e[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},vn=dt?Object.fromEntries:function(e){for(var t={},n=0,i=e;n<i.length;n++){var r=i[n],o=r[0],r=r[1];t[o]=r}return t},_n=cn?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var i,r=e.charCodeAt(t);return r<55296||56319<r||t+1===n||(i=e.charCodeAt(t+1))<56320||57343<i?r:i-56320+(r-55296<<10)+65536}},wn=dn?function(e){return e.trimStart()}:function(e){return e.replace(sn,"")},bn=hn?function(e){return e.trimEnd()}:function(e){return e.replace(an,"")};function En(e,t){return new RegExp(e,t)}pn=e?(mn=En("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return mn.lastIndex=t,null!==(e=mn.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,i=[];;){var r=_n(e,t);if(void 0===r||Mn(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),t+=65536<=r?2:1}return gn.apply(void 0,i)};var Tn=(xn.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},xn.prototype.parseMessage=function(e,t,n){for(var i=[];!this.isEOF();){var r,o=this.char();if(123===o){if((r=this.parseArgument(e,n)).err)return r;i.push(r.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Nt.UNMATCHED_CLOSING_TAG,un(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Sn(this.peek()||0)){if((r=this.parseTag(e,t)).err)return r;i.push(r.val)}else{if((r=this.parseLiteral(e,t)).err)return r;i.push(r.val)}}else{o=this.clonePosition();this.bump(),i.push({type:It.pound,location:un(o,this.clonePosition())})}}}return{val:i,err:null}},xn.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:It.literal,value:"<"+i+"/>",location:un(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,t,!0);if(r.err)return r;e=r.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Sn(this.char()))return this.error(Nt.INVALID_TAG,un(t,this.clonePosition()));r=this.clonePosition();return i!==this.parseTagName()?this.error(Nt.UNMATCHED_CLOSING_TAG,un(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:It.tag,value:i,children:e,location:un(n,this.clonePosition())},err:null}:this.error(Nt.INVALID_TAG,un(t,this.clonePosition())))}return this.error(Nt.UNCLOSED_TAG,un(n,this.clonePosition()))}return this.error(Nt.INVALID_TAG,un(n,this.clonePosition()))},xn.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},xn.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),i="";;){var r=this.tryParseQuote(t);if(r)i+=r;else{r=this.tryParseUnquoted(e,t);if(r)i+=r;else{r=this.tryParseLeftAngleBracket();if(!r)break;i+=r}}}n=un(n,this.clonePosition());return{val:{type:It.literal,value:i,location:n},err:null}},xn.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Sn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},xn.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return gn.apply(void 0,t)},xn.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),gn(n))},xn.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Nt.EXPECT_ARGUMENT_CLOSING_BRACE,un(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Nt.EMPTY_ARGUMENT,un(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(Nt.MALFORMED_ARGUMENT,un(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Nt.EXPECT_ARGUMENT_CLOSING_BRACE,un(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:It.argument,value:i,location:un(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Nt.EXPECT_ARGUMENT_CLOSING_BRACE,un(n,this.clonePosition())):this.parseArgumentOptions(e,t,i,n);default:return this.error(Nt.MALFORMED_ARGUMENT,un(n,this.clonePosition()))}},xn.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=pn(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:un(e,this.clonePosition())}},xn.prototype.parseArgumentOptions=function(e,t,n,i){var r,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(Nt.EXPECT_ARGUMENT_TYPE,un(o,a));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(d=bn(h.val)).length)return this.error(Nt.EXPECT_ARGUMENT_STYLE,un(this.clonePosition(),this.clonePosition()));u={style:d,styleLocation:un(l,this.clonePosition())}}if((f=this.tryParseArgumentClose(i)).err)return f;var c=un(i,this.clonePosition());if(u&&yn(null==u?void 0:u.style,"::",0)){l=wn(u.style.slice(2));if("number"===s)return(h=this.parseNumberSkeletonFromString(l,u.styleLocation)).err?h:{val:{type:It.number,value:n,location:c,style:h.val},err:null};if(0===l.length)return this.error(Nt.EXPECT_DATE_TIME_SKELETON,c);var d={type:Rt.dateTime,pattern:l,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},l.replace(qt,function(e){var t=e.length;switch(e[0]){case"G":r.era=4===t?"long":5===t?"narrow":"short";break;case"y":r.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":r.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][t-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][t-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][t-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":r.minute=["numeric","2-digit"][t-1];break;case"s":r.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),r):{}};return{val:{type:"date"===s?It.date:It.time,value:n,location:c,style:d},err:null}}return{val:{type:"number"===s?It.number:"date"===s?It.date:It.time,value:n,location:c,style:null!==(c=null==u?void 0:u.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Nt.EXPECT_SELECT_ARGUMENT_OPTIONS,un(u,Yt({},u)));this.bumpSpace();var h,c=this.parseIdentifierIfPossible(),u=0;if("select"!==s&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(Nt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,un(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(Nt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Nt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),c=this.parseIdentifierIfPossible(),u=h.val}c=this.tryParsePluralOrSelectOptions(e,s,t,c);if(c.err)return c;if((f=this.tryParseArgumentClose(i)).err)return f;var f=un(i,this.clonePosition());return"select"===s?{val:{type:It.select,value:n,options:vn(c.val),location:f},err:null}:{val:{type:It.plural,value:n,options:vn(c.val),offset:u,pluralType:"plural"===s?"cardinal":"ordinal",location:f},err:null};default:return this.error(Nt.INVALID_ARGUMENT_TYPE,un(o,a))}},xn.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Nt.EXPECT_ARGUMENT_CLOSING_BRACE,un(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},xn.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Nt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,un(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},xn.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,i=e.split(Xt).filter(function(e){return 0<e.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),s=0,a=r;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:r})}return t}(e)}catch(e){return this.error(Nt.INVALID_NUMBER_SKELETON,t)}return{val:{type:Rt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?on(n):{}},err:null}},xn.prototype.tryParsePluralOrSelectOptions=function(e,t,n,i){for(var r=!1,o=[],s=new Set,a=i.value,u=i.location;;){if(0===a.length){var l=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(Nt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Nt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;u=un(l,this.clonePosition()),a=this.message.slice(l.offset,this.offset())}if(s.has(a))return this.error("select"===t?Nt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Nt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===a&&(r=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Nt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Nt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,un(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;l=this.tryParseArgumentClose(d);if(l.err)return l;o.push([a,{value:c.val,location:un(d,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(d=this.parseIdentifierIfPossible()).value,u=d.location}return 0===o.length?this.error("select"===t?Nt.EXPECT_SELECT_ARGUMENT_SELECTOR:Nt.EXPECT_PLURAL_ARGUMENT_SELECTOR,un(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(Nt.MISSING_OTHER_CLAUSE,un(this.clonePosition(),this.clonePosition())):{val:o,err:null}},xn.prototype.tryParseDecimalInteger=function(e,t){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var r=!1,o=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;r=!0,o=10*o+(s-48),this.bump()}i=un(i,this.clonePosition());return r?fn(o*=n)?{val:o,err:null}:this.error(t,i):this.error(e,i)},xn.prototype.offset=function(){return this.position.offset},xn.prototype.isEOF=function(){return this.offset()===this.message.length},xn.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},xn.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=_n(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},xn.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},xn.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},xn.prototype.bumpIf=function(e){if(yn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},xn.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},xn.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},xn.prototype.bumpSpace=function(){for(;!this.isEOF()&&Mn(this.char());)this.bump()},xn.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},xn);function xn(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Sn(e){return 97<=e&&e<=122||65<=e&&e<=90}function Mn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Cn(e,t){t=Yt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new Tn(e,t).parse();if(n.err){e=SyntaxError(Nt[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,$t(e)||Vt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Gt(e)&&Bt(e.style)||(jt(e)||Wt(e))&&zt(e.style)?delete e.style.location:Ht(e)&&n(e.children)})}(n.val),n.val}function An(e,t){var n=t&&t.cache?t.cache:Rn,i=t&&t.serializer?t.serializer:On;return(t&&t.strategy?t.strategy:function(e,t){return Pn(e,this,1===e.length?Ln:Dn,t.cache.create(),t.serializer)})(e,{cache:n,serializer:i})}function Ln(e,t,n,i){var r=null==i||"number"==typeof i||"boolean"==typeof i?i:n(i),n=t.get(r);return void 0===n&&(n=e.call(this,i),t.set(r,n)),n}function Dn(e,t,n){var i=Array.prototype.slice.call(arguments,3),r=n(i),n=t.get(r);return void 0===n&&(n=e.apply(this,i),t.set(r,n)),n}function Pn(e,t,n,i,r){return n.bind(t,e,i,r)}var On=function(){return JSON.stringify(arguments)};function Nn(){this.cache=Object.create(null)}Nn.prototype.has=function(e){return e in this.cache},Nn.prototype.get=function(e){return this.cache[e]},Nn.prototype.set=function(e,t){this.cache[e]=t};var In,Rn={create:function(){return new Nn}},Yn={variadic:function(e,t){return Pn(e,this,Dn,t.cache.create(),t.serializer)},monadic:function(e,t){return Pn(e,this,Ln,t.cache.create(),t.serializer)}};(e=In=In||{}).MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API";var Un,Fn,Gn,jn,Wn,$n=(Ot(Xn,Wn=Error),Xn.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Xn),Vn=(Ot(Zn,jn=$n),Zn),Hn=(Ot(qn,Gn=$n),qn),Bn=(Ot(zn,Fn=$n),zn);function zn(e,t){return Fn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',In.MISSING_VALUE,t)||this}function qn(e,t,n){return Gn.call(this,'Value for "'+e+'" must be of type '+t,In.INVALID_VALUE,n)||this}function Zn(e,t,n,i){return jn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',In.INVALID_VALUE,i)||this}function Xn(e,t,n){e=Wn.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Jn(e,t,n,i,r,o,s){if(1===e.length&&Ft(e[0]))return[{type:Un.literal,value:e[0].value}];for(var a=[],u=0,l=e;u<l.length;u++){var c=l[u];if(Ft(c))a.push({type:Un.literal,value:c.value});else if(c.type===It.pound)"number"==typeof o&&a.push({type:Un.literal,value:n.getNumberFormat(t).format(o)});else{var d=c.value;if(!(r&&d in r))throw new Bn(d,s);var h=r[d];if(c.type===It.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?Un.literal:Un.object,value:h});else if(jt(c)){var f="string"==typeof c.style?i.date[c.style]:zt(c.style)?c.style.parsedOptions:void 0;a.push({type:Un.literal,value:n.getDateTimeFormat(t,f).format(h)})}else if(Wt(c))f="string"==typeof c.style?i.time[c.style]:zt(c.style)?c.style.parsedOptions:void 0,a.push({type:Un.literal,value:n.getDateTimeFormat(t,f).format(h)});else if(Gt(c))(f="string"==typeof c.style?i.number[c.style]:Bt(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(h*=f.scale||1),a.push({type:Un.literal,value:n.getNumberFormat(t,f).format(h)});else{if(Ht(c)){var m=c.children,p=c.value,d=r[p];if("function"!=typeof d)throw new Hn(p,"function",s);m=d(Jn(m,t,n,i,r,o).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),a.push.apply(a,m.map(function(e){return{type:"string"==typeof e?Un.literal:Un.object,value:e}}))}if($t(c)){if(!(y=c.options[h]||c.options.other))throw new Vn(c.value,h,Object.keys(c.options),s);a.push.apply(a,Jn(y.value,t,n,i,r))}else if(Vt(c)){if(!(y=c.options["="+h])){if(!Intl.PluralRules)throw new $n('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',In.MISSING_INTL_API,s);var m=n.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0)),y=c.options[m]||c.options.other}if(!y)throw new Vn(c.value,h,Object.keys(c.options),s);a.push.apply(a,Jn(y.value,t,n,i,r,h-(c.offset||0)))}}}}return a.length<2?a:a.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===Un.literal&&t.type===Un.literal?n.value+=t.value:e.push(t),e},[])}function Kn(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(e=Un=Un||{})[e.literal=0]="literal",e[e.object=1]="object";var Qn=(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=Cn,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(e,t,n,i){var r,o,s=this;if(void 0===t&&(t=ei.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===Un.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Jn(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof e){if(this.message=e,!ei.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=ei.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(r=ei.formats,(o=n)?Object.keys(r).reduce(function(e,t){var n,i;return e[t]=(n=r[t],(i=o[t])?Yt(Yt(Yt({},n||{}),i||{}),Object.keys(n).reduce(function(e,t){return e[t]=Yt(Yt({},n[t]),i[t]||{}),e},{})):n),e},Yt({},r)):r),this.locales=t,this.formatters=i&&i.formatters||{getNumberFormat:An(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,Ut([void 0],t)))},{cache:Kn((i=void 0===(i=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:i).number),strategy:Yn.variadic}),getDateTimeFormat:An(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,Ut([void 0],t)))},{cache:Kn(i.dateTime),strategy:Yn.variadic}),getPluralRules:An(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,Ut([void 0],t)))},{cache:Kn(i.pluralRules),strategy:Yn.variadic})}}const ti={},ni=(t,n)=>{if(null!=n){if(n in ti&&t in ti[n])return ti[n][t];var i,r,o=vi(n);for(let e=0;e<o.length;e++){var s=(i=o[e],r=t,oi(i)?function(e,t){if(t in e)return e[t];const n=t.split(".");let i=e;for(let e=0;e<n.length;e++)if("object"==typeof i){if(0<e){const t=n.slice(e,n.length).join(".");if(t in i){i=i[t];break}}i=i[n[e]]}else i=void 0;return i}(function(e){return ii[e]||null}(i),r):null);if(s)return i=t,r=n,(s=s)&&(r in ti||(ti[r]={}),i in ti[r]||(ti[r][i]=s),s)}}};let ii;const ri=bt({});function oi(e){return e in ii}function si(t,...n){delete ti[t],ri.update(e=>(e[t]=kt.all([e[t]||{},...n]),e))}Et([ri],([e])=>Object.keys(e)),ri.subscribe(e=>ii=e);const ai={};function ui(e){return ai[e]}function li(e){return vi(e).some(e=>{return null===(e=ui(e))||void 0===e?void 0:e.size})}const ci={};function di(e){if(!li(e))return e in ci?ci[e]:void 0;const t=vi(e).map(e=>{var t=ui(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return ci[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){ai[e].delete(t),0===ai[e].size&&delete ai[e]}(t,e),e().then(e=>e.default||e)))).then(e=>si(t,...e))}(e))).then(()=>li(e)?di(e):void delete ci[e]),ci[e]}function hi(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}const fi={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=bt(!1);let pi;const yi=bt(null);function gi(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function vi(e,t=fi.fallbackLocale){e=gi(e);return t?[...new Set([...e,...gi(t)])]:e}yi.subscribe(e=>{pi=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const _i=yi.set;yi.set=t=>{if(function(e){if(null!=e){var t=vi(e);for(let e=0;e<t.length;e++){var n=t[e];if(oi(n))return n}}}(t)&&li(t)){var{loadingDelay:n}=fi;let e;return"undefined"!=typeof window&&null!=pi&&n?e=window.setTimeout(()=>mi.set(!0),n):mi.set(!0),di(t).then(()=>{_i(t)}).finally(()=>{clearTimeout(e),mi.set(!1)})}return _i(t)},yi.update=e=>_i(e(pi));const wi=n=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=n(e)}},bi=(e,t)=>{var{formats:n}=fi;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ei=wi(e=>{var{locale:t,format:n}=e,e=hi(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=bi("number",n)),new Intl.NumberFormat(t,e)}),Ti=wi(e=>{var{locale:t,format:n}=e,e=hi(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=bi("date",n):0===Object.keys(e).length&&(e=bi("date","short")),new Intl.DateTimeFormat(t,e)}),xi=wi(e=>{var{locale:t,format:n}=e,e=hi(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=bi("time",n):0===Object.keys(e).length&&(e=bi("time","short")),new Intl.DateTimeFormat(t,e)}),Si=wi((e,t=pi)=>new Qn(e,t,fi.formats,{ignoreTag:fi.ignoreTag})),Mi=Et([yi,ri],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:i=pi,default:r}=t;if(null==i)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let o=ni(e,i);if(o){if("string"!=typeof o)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof o}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),o}else fi.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${vi(i).join('", "')}".${li(pi)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),o=r||e;if(!n)return o;let s=o;try{s=Si(o,i).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return s});Et([yi],()=>(e,t)=>((e={})=>{var{locale:t=pi}=e,e=hi(e,["locale"]);return xi(Object.assign({locale:t},e))})(t).format(e)),Et([yi],()=>(e,t)=>((e={})=>{var{locale:t=pi}=e,e=hi(e,["locale"]);return Ti(Object.assign({locale:t},e))})(t).format(e)),Et([yi],()=>(e,t)=>((e={})=>{var{locale:t=pi}=e,e=hi(e,["locale"]);return Ei(Object.assign({locale:t},e))})(t).format(e)),Et([yi,ri],()=>(e,t=pi)=>ni(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==vt.indexOf(e)&&(t=new mt(t),_t[e]=t,vt.push(e)),_t[e]}};const Ci=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",Ai={en:{editText:{back:"Back to Gaming Limits",limit:"Limit",amount:"Amount",noLimit:"No limit",changeLimitsText:"Are you sure you want to change the {limit}s?",success:"Success lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"You have requested to remove this limit. This will be applied on ",invalidInputMessageLimit:"The amount needs to be between 0 and 99,999,999.",invalidInputMessageTime:"The time amount needs to be greater than {minTime} and below {maxTime} minutes.",expirationDate:"Expiration Date:",save:"Save",changedLimitTextBefore:"Your limit has been changed or increased:",changedLimitTextAfter:"You will have to wait for the expiration date for your new limit to take effect"}},fr:{editText:{back:"Retour aux limites de jeu",limit:"Limite",amount:"Montant",noLimit:"Aucune limite",changeLimitsText:"Etes-vous sûr de vouloir changer les {limit}s??",success:"Vos limites de jeu ont été respectées.",remove:"Vous avez demandé à ce que cette limite soit supprimée,elle sera appliquée ",invalidInputMessageLimit:"Le montant doit être compris entre 0 et 99,999,999.",invalidInputMessageTime:"La durée doit être supérieure au {minTime} et inférieur au {maxTime} minutes .",expirationDate:"Date d'expiration:",save:"Sauvez",changedLimitTextBefore:"Votre limit a été modifiée ou augmentée:",changedLimitTextAfter:"Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet"}},ro:{editText:{back:"Înapoi la limite de joc",limit:"Limită",amount:"Sumă",noLimit:"Fără Limită",changeLimitsText:"Ești sigur că vrei să modifici {limit}?",success:"Limitele tale de joc au fost configurate cu success.",remove:"Ai solicitat eliminarea acestei limite. Acest lucru va avea loc la data expirării limitei ",invalidInputMessageLimit:"Trebuie să setezi o sumă intre 0 și 99,999,999.",invalidInputMessageTime:"Trebuie să setezi o limită intre {minTime} minute și {maxTime} minute",expirationDate:"Dată Expirare:",save:"Salvează",changedLimitTextBefore:"Limita ta a fost schimbată sau a crescut:",changedLimitTextAfter:". Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare."}},es:{editText:{back:"Volver a Límites del juego",limit:"Límite",amount:"Cantidad",noLimit:"Sin limite",changeLimitsText:"Estás seguro de que quieres cambiar los {limit}s?",success:"Sus límites de juego se han establecido correctamente.",remove:"Solicitaste la eliminación de este límite. Esto se aplicará en",invalidInputMessageLimit:"El valor debe estar entre 0 y 99.999.999",invalidInputMessageTime:"La cantidad de tiempo debe ser mayor que {1} y menor que {99999999} minutos",expirationDate:"Fecha de validez",save:"Guardar",changedLimitTextBefore:"Su límite ha sido modificado o aumentado:",changedLimitTextAfter:"Tendrás que esperar a la fecha de vencimiento para que tu nuevo límite entre en vigencia."}},pt:{editText:{back:"Voltar para Limites de jogos",limit:"Limite",amount:"Montante",noLimit:"Sem limite",changeLimitsText:"Tem certeza de que deseja alterar os {limite}s?",success:"Seus limites de jogo foram definidos com sucesso.",remove:"Você solicitou a remoção deste limite. Isso será aplicado em",invalidInputMessageLimit:"O valor precisa estar entre 0 e 99.999.999",invalidInputMessageTime:"A quantidade de tempo precisa ser maior que {1} e menor que {99999999} minutos",expirationDate:"Data de Validade",save:"Guardar",changedLimitTextBefore:"Seu limite foi alterado ou aumentado:",changedLimitTextAfter:"Você terá que aguardar a data de expiração para que seu novo limite entre em vigor"}}};var Li,Di,ki=(Di=Li={path:void 0,exports:{},require:function(e,t){return kn(null==t&&Li.path)}},Li.exports,Di.exports=function(){var e;function m(){return e.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function o(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function r(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function i(e,t){for(var n=[],i=0;i<e.length;++i)n.push(t(e[i],i));return n}function c(e,t){for(var n in t)f(t,n)&&(e[n]=t[n]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,i){return Lt(e,t,n,i,!0).utc()}function p(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function h(e){if(null==e._isValid){var t=p(e),n=g.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function y(e){var t=d(NaN);return null!=e?c(p(t),e):p(t).userInvalidated=!0,t}var g=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1},v=m.momentProperties=[],t=!1;function _(e,t){var n,i,r;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=p(t)),o(t._locale)||(e._locale=t._locale),0<v.length)for(n=0;n<v.length;n++)o(r=t[i=v[n]])||(e[i]=r);return e}function w(e){_(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,m.updateOffset(this),t=!1)}function b(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function E(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(r,o){var s=!0;return c(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,r),s){for(var e,t,n=[],i=0;i<arguments.length;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}E(r+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return o.apply(this,arguments)},o)}var T={};function x(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),T[e]||(E(t),T[e]=!0)}function S(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e,t){var n,i=c({},e);for(n in t)f(t,n)&&(a(e[n])&&a(t[n])?(i[n]={},c(i[n],e[n]),c(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)f(e,n)&&!f(t,n)&&a(e[n])&&(i[n]=c({},i[n]));return i}function C(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var A=Object.keys||function(e){var t,n=[];for(t in e)f(e,t)&&n.push(t);return n};function L(e,t,n){var i=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}var D=/(\[[^\[]*\])|(\\)?([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,k=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},O={};function N(e,t,n,i){var r="string"==typeof i?function(){return this[i]()}:i;e&&(O[e]=r),t&&(O[t[0]]=function(){return L(r.apply(this,arguments),t[1],t[2])}),n&&(O[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function I(e,t){return e.isValid()?(t=R(t,e.localeData()),P[t]=P[t]||function(i){for(var e,r=i.match(D),t=0,o=r.length;t<o;t++)O[r[t]]?r[t]=O[r[t]]:r[t]=(e=r[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<o;n++)t+=S(r[n])?r[n].call(e,i):r[n];return t}}(t),P[t](e)):e.localeData().invalidDate()}function R(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(k.lastIndex=0;0<=n&&k.test(e);)e=e.replace(k,i),k.lastIndex=0,--n;return e}var Y={};function U(e,t){var n=e.toLowerCase();Y[n]=Y[n+"s"]=Y[t]=e}function F(e){return"string"==typeof e?Y[e]||Y[e.toLowerCase()]:void 0}function G(e){var t,n,i={};for(n in e)f(e,n)&&(t=F(n))&&(i[t]=e[n]);return i}var j={};function W(e,t){j[e]=t}function $(e){return e%4==0&&e%100!=0||e%400==0}function V(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function H(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?V(t):e}function B(t,n){return function(e){return null!=e?(q(this,t,e),m.updateOffset(this,n),this):z(this,t)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function q(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&$(e.year())&&1===e.month()&&29===e.date()?(n=H(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ae(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Z=/\d/,X=/\d\d/,J=/\d{3}/,K=/\d{4}/,Q=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,ne=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,re=/\d{1,4}/,oe=/[+-]?\d{1,6}/,se=/\d+/,ae=/[+-]?\d+/,ue=/Z|[+-]\d\d:?\d\d/gi,le=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function de(e,n,i){me[e]=S(n)?n:function(e,t){return e&&i?i:n}}function he(e,t){return f(me,e)?me[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var me={},pe={};function ye(e,n){var t,i=n;for("string"==typeof e&&(e=[e]),l(n)&&(i=function(e,t){t[n]=H(e)}),t=0;t<e.length;t++)pe[e[t]]=i}function ge(e,r){ye(e,function(e,t,n,i){n._w=n._w||{},r(e,n._w,n,i)})}var ve,_e=0,we=1,be=2,Ee=3,Te=4,xe=5,Se=6,Me=7,Ce=8;function Ae(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,n=(t%(n=12)+n)%n;return e+=(t-n)/12,1==n?$(e)?29:28:31-n%7%2}ve=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},N("M",["MM",2],"Mo",function(){return this.month()+1}),N("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),N("MMMM",0,0,function(e){return this.localeData().months(this,e)}),U("month","M"),W("month",8),de("M",ee),de("MM",ee,X),de("MMM",function(e,t){return t.monthsShortRegex(e)}),de("MMMM",function(e,t){return t.monthsRegex(e)}),ye(["M","MM"],function(e,t){t[we]=H(e)-1}),ye(["MMM","MMMM"],function(e,t,n,i){i=n._locale.monthsParse(e,i,n._strict);null!=i?t[we]=i:p(n).invalidMonth=e});var Le="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ke=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Pe=ce,Oe=ce;function Ne(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=H(t);else if(!l(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ae(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ie(e){return null!=e?(Ne(this,e),m.updateOffset(this,!0),this):z(this,"Month")}function Re(){function e(e,t){return t.length-e.length}for(var t,n=[],i=[],r=[],o=0;o<12;o++)t=d([2e3,o]),n.push(this.monthsShort(t,"")),i.push(this.months(t,"")),r.push(this.months(t,"")),r.push(this.monthsShort(t,""));for(n.sort(e),i.sort(e),r.sort(e),o=0;o<12;o++)n[o]=fe(n[o]),i[o]=fe(i[o]);for(o=0;o<24;o++)r[o]=fe(r[o]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ye(e){return $(e)?366:365}N("Y",0,0,function(){var e=this.year();return e<=9999?L(e,4):"+"+e}),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"),U("year","y"),W("year",1),de("Y",ae),de("YY",ee,X),de("YYYY",re,K),de("YYYYY",oe,Q),de("YYYYYY",oe,Q),ye(["YYYYY","YYYYYY"],_e),ye("YYYY",function(e,t){t[_e]=2===e.length?m.parseTwoDigitYear(e):H(e)}),ye("YY",function(e,t){t[_e]=m.parseTwoDigitYear(e)}),ye("Y",function(e,t){t[_e]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return H(e)+(68<H(e)?1900:2e3)};var Ue=B("FullYear",!0);function Fe(e,t,n,i,r,o,s){var a;return e<100&&0<=e?(a=new Date(e+400,t,n,i,r,o,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,i,r,o,s),a}function Ge(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function je(e,t,n){n=7+t-n;return-(7+Ge(e,0,n).getUTCDay()-t)%7+n-1}function We(e,t,n,i,r){var o,r=1+7*(t-1)+(7+n-i)%7+je(e,i,r),r=r<=0?Ye(o=e-1)+r:r>Ye(e)?(o=e+1,r-Ye(e)):(o=e,r);return{year:o,dayOfYear:r}}function $e(e,t,n){var i,r,o=je(e.year(),t,n),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?i=o+Ve(r=e.year()-1,t,n):o>Ve(e.year(),t,n)?(i=o-Ve(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function Ve(e,t,n){var i=je(e,t,n),n=je(e+1,t,n);return(Ye(e)-i+n)/7}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),U("week","w"),U("isoWeek","W"),W("week",5),W("isoWeek",5),de("w",ee),de("ww",ee,X),de("W",ee),de("WW",ee,X),ge(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=H(e)});function He(e,t){return e.slice(t,7).concat(e.slice(0,t))}N("d",0,"do","day"),N("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),N("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),N("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),U("day","d"),U("weekday","e"),U("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),de("d",ee),de("e",ee),de("E",ee),de("dd",function(e,t){return t.weekdaysMinRegex(e)}),de("ddd",function(e,t){return t.weekdaysShortRegex(e)}),de("dddd",function(e,t){return t.weekdaysRegex(e)}),ge(["dd","ddd","dddd"],function(e,t,n,i){i=n._locale.weekdaysParse(e,i,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),ge(["d","e","E"],function(e,t,n,i){t[i]=H(e)});var Be="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ze=ce,Xe=ce,Je=ce;function Ke(){function e(e,t){return t.length-e.length}for(var t,n,i,r=[],o=[],s=[],a=[],u=0;u<7;u++)i=d([2e3,1]).day(u),t=fe(this.weekdaysMin(i,"")),n=fe(this.weekdaysShort(i,"")),i=fe(this.weekdays(i,"")),r.push(t),o.push(n),s.push(i),a.push(t),a.push(n),a.push(i);r.sort(e),o.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Qe(){return this.hours()%12||12}function et(e,t){N(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,Qe),N("k",["kk",2],0,function(){return this.hours()||24}),N("hmm",0,0,function(){return""+Qe.apply(this)+L(this.minutes(),2)}),N("hmmss",0,0,function(){return""+Qe.apply(this)+L(this.minutes(),2)+L(this.seconds(),2)}),N("Hmm",0,0,function(){return""+this.hours()+L(this.minutes(),2)}),N("Hmmss",0,0,function(){return""+this.hours()+L(this.minutes(),2)+L(this.seconds(),2)}),et("a",!0),et("A",!1),U("hour","h"),W("hour",13),de("a",tt),de("A",tt),de("H",ee),de("h",ee),de("k",ee),de("HH",ee,X),de("hh",ee,X),de("kk",ee,X),de("hmm",te),de("hmmss",ne),de("Hmm",te),de("Hmmss",ne),ye(["H","HH"],Ee),ye(["k","kk"],function(e,t,n){e=H(e);t[Ee]=24===e?0:e}),ye(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ye(["h","hh"],function(e,t,n){t[Ee]=H(e),p(n).bigHour=!0}),ye("hmm",function(e,t,n){var i=e.length-2;t[Ee]=H(e.substr(0,i)),t[Te]=H(e.substr(i)),p(n).bigHour=!0}),ye("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[Ee]=H(e.substr(0,i)),t[Te]=H(e.substr(i,2)),t[xe]=H(e.substr(r)),p(n).bigHour=!0}),ye("Hmm",function(e,t,n){var i=e.length-2;t[Ee]=H(e.substr(0,i)),t[Te]=H(e.substr(i))}),ye("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[Ee]=H(e.substr(0,i)),t[Te]=H(e.substr(i,2)),t[xe]=H(e.substr(r))});var nt=B("Hours",!0);var it,rt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Le,monthsShort:De,week:{dow:0,doy:6},weekdays:Be,weekdaysMin:qe,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},ot={},st={};function at(e){return e&&e.toLowerCase().replace("_","-")}function ut(e){for(var t,n,i,r,o=0;o<e.length;){for(t=(r=at(e[o]).split("-")).length,n=(n=at(e[o+1]))?n.split("-"):null;0<t;){if(i=lt(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}(r,n)>=t-1)break;t--}o++}return it}function lt(t){var e;if(void 0===ot[t]&&Di&&Di.exports)try{e=it._abbr,kn(),ct(e)}catch(e){ot[t]=null}return ot[t]}function ct(e,t){return e&&((t=o(t)?ht(e):dt(e,t))?it=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),it._abbr}function dt(e,t){if(null===t)return delete ot[e],null;var n,i=rt;if(t.abbr=e,null!=ot[e])x("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=ot[e]._config;else if(null!=t.parentLocale)if(null!=ot[t.parentLocale])i=ot[t.parentLocale]._config;else{if(null==(n=lt(t.parentLocale)))return st[t.parentLocale]||(st[t.parentLocale]=[]),st[t.parentLocale].push({name:e,config:t}),null;i=n._config}return ot[e]=new C(M(i,t)),st[e]&&st[e].forEach(function(e){dt(e.name,e.config)}),ct(e),ot[e]}function ht(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return it;if(!s(e)){if(t=lt(e))return t;e=[e]}return ut(e)}function ft(e){var t=e._a;return t&&-2===p(e).overflow&&(t=t[we]<0||11<t[we]?we:t[be]<1||t[be]>Ae(t[_e],t[we])?be:t[Ee]<0||24<t[Ee]||24===t[Ee]&&(0!==t[Te]||0!==t[xe]||0!==t[Se])?Ee:t[Te]<0||59<t[Te]?Te:t[xe]<0||59<t[xe]?xe:t[Se]<0||999<t[Se]?Se:-1,p(e)._overflowDayOfYear&&(t<_e||be<t)&&(t=be),p(e)._overflowWeeks&&-1===t&&(t=Me),p(e)._overflowWeekday&&-1===t&&(t=Ce),p(e).overflow=t),e}var mt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/Z|[+-]\d\d(?::?\d\d)?/,gt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],vt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],_t=/^\/?Date\((-?\d+)/i,wt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,bt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Et(e){var t,n,i,r,o,s,a=e._i,u=mt.exec(a)||pt.exec(a);if(u){for(p(e).iso=!0,t=0,n=gt.length;t<n;t++)if(gt[t][1].exec(u[1])){r=gt[t][0],i=!1!==gt[t][2];break}if(null==r)return e._isValid=!1;if(u[3]){for(t=0,n=vt.length;t<n;t++)if(vt[t][1].exec(u[3])){o=(u[2]||" ")+vt[t][0];break}if(null==o)return e._isValid=!1}if(!i&&null!=o)return e._isValid=!1;if(u[4]){if(!yt.exec(u[4]))return e._isValid=!1;s="Z"}e._f=r+(o||"")+(s||""),Ct(e)}else e._isValid=!1}function Tt(e,t,n,i,r,o){r=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),De.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return o&&r.push(parseInt(o,10)),r}function xt(e){var t,n,i,r,o=wt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));o?(t=Tt(o[4],o[3],o[2],o[5],o[6],o[7]),n=o[1],i=t,r=e,n&&ze.indexOf(n)!==new Date(i[0],i[1],i[2]).getDay()?(p(r).weekdayMismatch=!0,r._isValid=!1):(e._a=t,e._tzm=(r=o[8],t=o[9],o=o[10],r?bt[r]:t?0:((t=parseInt(o,10))-(o=t%100))/100*60+o),e._d=Ge.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0)):e._isValid=!1}function St(e,t,n){return null!=e?e:null!=t?t:n}function Mt(e){var t,n,i,r,o,s,a,u,l,c,d,h,f=[];if(!e._d){for(d=e,h=new Date(m.now()),n=d._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()],e._w&&null==e._a[be]&&null==e._a[we]&&(null!=(d=(r=e)._w).GG||null!=d.W||null!=d.E?(u=1,l=4,o=St(d.GG,r._a[_e],$e(Dt(),1,4).year),s=St(d.W,1),((a=St(d.E,1))<1||7<a)&&(c=!0)):(u=r._locale._week.dow,l=r._locale._week.doy,h=$e(Dt(),u,l),o=St(d.gg,r._a[_e],h.year),s=St(d.w,h.week),null!=d.d?((a=d.d)<0||6<a)&&(c=!0):null!=d.e?(a=d.e+u,(d.e<0||6<d.e)&&(c=!0)):a=u),s<1||s>Ve(o,u,l)?p(r)._overflowWeeks=!0:null!=c?p(r)._overflowWeekday=!0:(l=We(o,s,a,u,l),r._a[_e]=l.year,r._dayOfYear=l.dayOfYear)),null!=e._dayOfYear&&(i=St(e._a[_e],n[_e]),(e._dayOfYear>Ye(i)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),i=Ge(i,0,e._dayOfYear),e._a[we]=i.getUTCMonth(),e._a[be]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=f[t]=n[t];for(;t<7;t++)e._a[t]=f[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ee]&&0===e._a[Te]&&0===e._a[xe]&&0===e._a[Se]&&(e._nextDay=!0,e._a[Ee]=0),e._d=(e._useUTC?Ge:Fe).apply(null,f),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ee]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(p(e).weekdayMismatch=!0)}}function Ct(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],p(e).empty=!0;for(var t,n,i=""+e._i,r=i.length,o=0,s=R(e._f,e._locale).match(D)||[],a=0;a<s.length;a++)n=s[a],(t=(i.match(he(n,e))||[])[0])&&(0<(d=i.substr(0,i.indexOf(t))).length&&p(e).unusedInput.push(d),i=i.slice(i.indexOf(t)+t.length),o+=t.length),O[n]?(t?p(e).empty=!1:p(e).unusedTokens.push(n),c=n,h=e,null!=(d=t)&&f(pe,c)&&pe[c](d,h._a,h,c)):e._strict&&!t&&p(e).unusedTokens.push(n);p(e).charsLeftOver=r-o,0<i.length&&p(e).unusedInput.push(i),e._a[Ee]<=12&&!0===p(e).bigHour&&0<e._a[Ee]&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[Ee]=(u=e._locale,l=e._a[Ee],null==(r=e._meridiem)?l:null!=u.meridiemHour?u.meridiemHour(l,r):null!=u.isPM?((r=u.isPM(r))&&l<12&&(l+=12),l=r||12!==l?l:0):l),null!==(l=p(e).era)&&(e._a[_e]=e._locale.erasConvertYear(l,e._a[_e])),Mt(e),ft(e)}else xt(e);else Et(e);var u,l,c,d,h}function At(e){var t=e._i,n=e._f;return e._locale=e._locale||ht(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),b(t)?new w(ft(t)):(r(t)?e._d=t:s(n)?function(e){var t,n,i,r,o,s,a=!1;if(0===e._f.length)return p(e).invalidFormat=!0,e._d=new Date(NaN);for(r=0;r<e._f.length;r++)o=0,s=!1,t=_({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Ct(t),h(t)&&(s=!0),o+=p(t).charsLeftOver,o+=10*p(t).unusedTokens.length,p(t).score=o,a?o<i&&(i=o,n=t):(null==i||o<i||s)&&(i=o,n=t,s&&(a=!0));c(e,n||t)}(e):n?Ct(e):o(n=(t=e)._i)?t._d=new Date(m.now()):r(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(e){var t=_t.exec(e._i);null===t?(Et(e),!1===e._isValid&&(delete e._isValid,xt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:m.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):s(n)?(t._a=i(n.slice(0),function(e){return parseInt(e,10)}),Mt(t)):a(n)?function(e){var t,n;e._d||(n=void 0===(t=G(e._i)).day?t.date:t.day,e._a=i([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Mt(e))}(t):l(n)?t._d=new Date(n):m.createFromInputFallback(t),h(e)||(e._d=null),e))}function Lt(e,t,n,i,r){var o={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(a(e)&&u(e)||s(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=n,o._i=e,o._f=t,o._strict=i,(o=new w(ft(At(o=o))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function Dt(e,t,n,i){return Lt(e,t,n,i,!1)}m.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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};var kt=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Dt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()}),Pt=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Dt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:y()});function Ot(e,t){var n,i;if(!(t=1===t.length&&s(t[0])?t[0]:t).length)return Dt();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Nt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function It(e){var t=G(e),n=t.year||0,i=t.quarter||0,r=t.month||0,o=t.week||t.isoWeek||0,s=t.day||0,a=t.hour||0,u=t.minute||0,l=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,n,i=!1;for(t in e)if(f(e,t)&&(-1===ve.call(Nt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Nt.length;++n)if(e[Nt[n]]){if(i)return!1;parseFloat(e[Nt[n]])!==H(e[Nt[n]])&&(i=!0)}return!0}(t),this._milliseconds=+e+1e3*l+6e4*u+1e3*a*60*60,this._days=+s+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=ht(),this._bubble()}function Rt(e){return e instanceof It}function Yt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ut(e,n){N(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+L(~~(e/60),2)+n+L(~~e%60,2)})}Ut("Z",":"),Ut("ZZ",""),de("Z",le),de("ZZ",le),ye(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Gt(le,e)});var Ft=/([\+\-]|\d\d)/gi;function Gt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Ft)||["-",0,0])[1]+H(e[2]))?0:"+"===e[0]?t:-t}function jt(e,t){var n;return t._isUTC?(n=t.clone(),t=(b(e)||r(e)?e:Dt(e)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+t),m.updateOffset(n,!1),n):Dt(e).local()}function Wt(e){return-Math.round(e._d.getTimezoneOffset())}function $t(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Vt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ht=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Bt(e,t){var n,i,r=e,o=null;return Rt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:l(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(o=Vt.exec(e))?(n="-"===o[1]?-1:1,r={y:0,d:H(o[be])*n,h:H(o[Ee])*n,m:H(o[Te])*n,s:H(o[xe])*n,ms:H(Yt(1e3*o[Se]))*n}):(o=Ht.exec(e))?(n="-"===o[1]?-1:1,r={y:zt(o[2],n),M:zt(o[3],n),w:zt(o[4],n),d:zt(o[5],n),h:zt(o[6],n),m:zt(o[7],n),s:zt(o[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(o=Dt(r.from),n=Dt(r.to),i=o.isValid()&&n.isValid()?(n=jt(n,o),o.isBefore(n)?i=qt(o,n):((i=qt(n,o)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(r={}).ms=i.milliseconds,r.M=i.months),r=new It(r),Rt(e)&&f(e,"_locale")&&(r._locale=e._locale),Rt(e)&&f(e,"_isValid")&&(r._isValid=e._isValid),r}function zt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function qt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Zt(i,r){return function(e,t){var n;return null===t||isNaN(+t)||(x(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=e,e=t,t=n),Xt(this,Bt(e,t),i),this}}function Xt(e,t,n,i){var r=t._milliseconds,o=Yt(t._days),t=Yt(t._months);e.isValid()&&(i=null==i||i,t&&Ne(e,z(e,"Month")+t*n),o&&q(e,"Date",z(e,"Date")+o*n),r&&e._d.setTime(e._d.valueOf()+r*n),i&&m.updateOffset(e,o||t))}Bt.fn=It.prototype,Bt.invalid=function(){return Bt(NaN)};var Jt=Zt(1,"add"),ce=Zt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function Qt(e){return b(e)||r(e)||Kt(e)||l(e)||(n=s(t=e),i=!1,n&&(i=0===t.filter(function(e){return!l(e)&&Kt(t)}).length),n&&i)||function(e){var t,n,i=a(e)&&!u(e),r=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<o.length;t+=1)n=o[t],r=r||f(e,n);return i&&r}(e)||null==e;var t,n,i}function en(e,t){if(e.date()<t.date())return-en(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(1+n,"months")-i)))||0}function tn(e){return void 0===e?this._locale._abbr:(null!=(e=ht(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function nn(){return this._locale}var rn=126227808e5;function on(e,t){return(e%t+t)%t}function sn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-rn:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-rn:Date.UTC(e,t,n)}function un(e,t){return t.erasAbbrRegex(e)}function ln(){for(var e=[],t=[],n=[],i=[],r=this.eras(),o=0,s=r.length;o<s;++o)t.push(fe(r[o].name)),e.push(fe(r[o].abbr)),n.push(fe(r[o].narrow)),i.push(fe(r[o].name)),i.push(fe(r[o].abbr)),i.push(fe(r[o].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function cn(e,t){N(0,[e,e.length],0,t)}function dn(e,t,n,i,r){var o;return null==e?$e(this,i,r).year:(t>(o=Ve(e,i,r))&&(t=o),function(e,t,n,i,r){r=We(e,t,n,i,r),r=Ge(r.year,0,r.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}.call(this,e,t,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"),de("N",un),de("NN",un),de("NNN",un),de("NNNN",function(e,t){return t.erasNameRegex(e)}),de("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ye(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){i=n._locale.erasParse(e,i,n._strict);i?p(n).era=i:p(n).invalidEra=e}),de("y",se),de("yy",se),de("yyy",se),de("yyyy",se),de("yo",function(e,t){return t._eraYearOrdinalRegex||se}),ye(["y","yy","yyy","yyyy"],_e),ye(["yo"],function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[_e]=n._locale.eraYearOrdinalParse(e,r):t[_e]=parseInt(e,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"),U("weekYear","gg"),U("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),de("G",ae),de("g",ae),de("GG",ee,X),de("gg",ee,X),de("GGGG",re,K),de("gggg",re,K),de("GGGGG",oe,Q),de("ggggg",oe,Q),ge(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=H(e)}),ge(["gg","GG"],function(e,t,n,i){t[i]=m.parseTwoDigitYear(e)}),N("Q",0,"Qo","quarter"),U("quarter","Q"),W("quarter",7),de("Q",Z),ye("Q",function(e,t){t[we]=3*(H(e)-1)}),N("D",["DD",2],"Do","date"),U("date","D"),W("date",9),de("D",ee),de("DD",ee,X),de("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ye(["D","DD"],be),ye("Do",function(e,t){t[be]=H(e.match(ee)[0])});ne=B("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),U("dayOfYear","DDD"),W("dayOfYear",4),de("DDD",ie),de("DDDD",J),ye(["DDD","DDDD"],function(e,t,n){n._dayOfYear=H(e)}),N("m",["mm",2],0,"minute"),U("minute","m"),W("minute",14),de("m",ee),de("mm",ee,X),ye(["m","mm"],Te);Le=B("Minutes",!1);N("s",["ss",2],0,"second"),U("second","s"),W("second",15),de("s",ee),de("ss",ee,X),ye(["s","ss"],xe);var hn,Be=B("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()}),U("millisecond","ms"),W("millisecond",16),de("S",ie,Z),de("SS",ie,X),de("SSS",ie,J),hn="SSSS";hn.length<=9;hn+="S")de(hn,se);function fn(e,t){t[Se]=H(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")ye(hn,fn);qe=B("Milliseconds",!1),N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");re=w.prototype;function mn(e){return e}re.add=Jt,re.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=a(e)&&!u(e),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r=0;r<i.length;r+=1)n=n||f(e,i[r]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var n=e||Dt(),e=jt(n,this).startOf("day"),e=m.calendarFormat(this,e)||"sameElse",t=t&&(S(t[e])?t[e].call(this,n):t[e]);return this.format(t||this.localeData().calendar(e,this,Dt(n)))},re.clone=function(){return new w(this)},re.diff=function(e,t,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=jt(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=F(t)){case"year":o=en(this,i)/12;break;case"month":o=en(this,i);break;case"quarter":o=en(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:V(o)},re.endOf=function(e){var t,n;if(void 0===(e=F(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:sn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-on(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-on(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-on(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},re.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=I(this,e),this.localeData().postformat(e)},re.from=function(e,t){return this.isValid()&&(b(e)&&e.isValid()||Dt(e).isValid())?Bt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},re.fromNow=function(e){return this.from(Dt(),e)},re.to=function(e,t){return this.isValid()&&(b(e)&&e.isValid()||Dt(e).isValid())?Bt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},re.toNow=function(e){return this.to(Dt(),e)},re.get=function(e){return S(this[e=F(e)])?this[e]():this},re.invalidAt=function(){return p(this).overflow},re.isAfter=function(e,t){return e=b(e)?e:Dt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},re.isBefore=function(e,t){return e=b(e)?e:Dt(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},re.isBetween=function(e,t,n,i){return e=b(e)?e:Dt(e),t=b(t)?t:Dt(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(i=i||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n))},re.isSame=function(e,t){var e=b(e)?e:Dt(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=F(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},re.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},re.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},re.isValid=function(){return h(this)},re.lang=te,re.locale=tn,re.localeData=nn,re.max=Pt,re.min=kt,re.parsingFlags=function(){return c({},p(this))},re.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)f(e,t)&&n.push({unit:t,priority:j[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=G(e)),i=0;i<n.length;i++)this[n[i].unit](e[n[i].unit]);else if(S(this[e=F(e)]))return this[e](t);return this},re.startOf=function(e){var t,n;if(void 0===(e=F(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:sn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=on(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=on(t,6e4);break;case"second":t=this._d.valueOf(),t-=on(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},re.subtract=ce,re.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},re.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},re.toDate=function(){return new Date(this.valueOf())},re.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?I(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):S(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",I(e,"Z")):I(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},re.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",n="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(n+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(re[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),re.toJSON=function(){return this.isValid()?this.toISOString():null},re.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},re.unix=function(){return Math.floor(this.valueOf()/1e3)},re.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},re.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},re.eraName=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},re.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},re.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,i=t.length;n<i;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},re.eraYear=function(){for(var e,t,n=this.localeData().eras(),i=0,r=n.length;i<r;++i)if(e=n[i].since<=n[i].until?1:-1,t=this.clone().startOf("day").valueOf(),n[i].since<=t&&t<=n[i].until||n[i].until<=t&&t<=n[i].since)return(this.year()-m(n[i].since).year())*e+n[i].offset;return this.year()},re.year=Ue,re.isLeapYear=function(){return $(this.year())},re.weekYear=function(e){return dn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},re.isoWeekYear=function(e){return dn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},re.quarter=re.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},re.month=Ie,re.daysInMonth=function(){return Ae(this.year(),this.month())},re.week=re.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},re.isoWeek=re.isoWeeks=function(e){var t=$e(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},re.weeksInYear=function(){var e=this.localeData()._week;return Ve(this.year(),e.dow,e.doy)},re.weeksInWeekYear=function(){var e=this.localeData()._week;return Ve(this.weekYear(),e.dow,e.doy)},re.isoWeeksInYear=function(){return Ve(this.year(),1,4)},re.isoWeeksInISOWeekYear=function(){return Ve(this.isoWeekYear(),1,4)},re.date=ne,re.day=re.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,i=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-i,"d")):i},re.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},re.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},re.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},re.hour=re.hours=nt,re.minute=re.minutes=Le,re.second=re.seconds=Be,re.millisecond=re.milliseconds=qe,re.utcOffset=function(e,t,n){var i,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?r:Wt(this);if("string"==typeof e){if(null===(e=Gt(le,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Wt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?Xt(this,Bt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},re.utc=function(e){return this.utcOffset(0,e)},re.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Wt(this),"m")),this},re.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Gt(ue,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},re.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Dt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},re.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},re.isLocal=function(){return!!this.isValid()&&!this._isUTC},re.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},re.isUtc=$t,re.isUTC=$t,re.zoneAbbr=function(){return this._isUTC?"UTC":""},re.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},re.dates=n("dates accessor is deprecated. Use date instead.",ne),re.months=n("months accessor is deprecated. Use month instead",Ie),re.years=n("years accessor is deprecated. Use year instead",Ue),re.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),re.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return _(t,this),(t=At(t))._a?(e=(t._isUTC?d:Dt)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),o=0,s=0;s<i;s++)(n&&e[s]!==t[s]||!n&&H(e[s])!==H(t[s]))&&o++;return o+r}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});K=C.prototype;function pn(e,t,n,i){var r=ht(),t=d().set(i,t);return r[n](t,e)}function yn(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return pn(e,t,n,"month");for(var i=[],r=0;r<12;r++)i[r]=pn(e,r,n,"month");return i}function gn(e,t,n,i){t=("boolean"==typeof e||(n=t=e,e=!1),l(t)&&(n=t,t=void 0),t||"");var r,o=ht(),s=e?o._week.dow:0,a=[];if(null!=n)return pn(t,(n+s)%7,i,"day");for(r=0;r<7;r++)a[r]=pn(t,(r+s)%7,i,"day");return a}K.calendar=function(e,t,n){return S(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},K.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(D).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},K.invalidDate=function(){return this._invalidDate},K.ordinal=function(e){return this._ordinal.replace("%d",e)},K.preparse=mn,K.postformat=mn,K.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return S(r)?r(e,t,n,i):r.replace(/%d/i,e)},K.pastFuture=function(e,t){return S(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},K.set=function(e){var t,n;for(n in e)f(e,n)&&(S(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},K.eras=function(e,t){for(var n,i=this._eras||ht("en")._eras,r=0,o=i.length;r<o;++r)switch("string"==typeof i[r].since&&(n=m(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=m(i[r].until).startOf("day").valueOf(),i[r].until=n.valueOf()}return i},K.erasParse=function(e,t,n){var i,r,o,s,a,u=this.eras();for(e=e.toUpperCase(),i=0,r=u.length;i<r;++i)if(o=u[i].name.toUpperCase(),s=u[i].abbr.toUpperCase(),a=u[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return u[i];break;case"NNNN":if(o===e)return u[i];break;case"NNNNN":if(a===e)return u[i]}else if(0<=[o,s,a].indexOf(e))return u[i]},K.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*n},K.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||ln.call(this),e?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(e){return f(this,"_erasNameRegex")||ln.call(this),e?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||ln.call(this),e?this._erasNarrowRegex:this._erasRegex},K.months=function(e,t){return e?(s(this._months)?this._months:this._months[(this._months.isFormat||ke).test(t)?"format":"standalone"])[e.month()]:s(this._months)?this._months:this._months.standalone},K.monthsShort=function(e,t){return e?(s(this._monthsShort)?this._monthsShort:this._monthsShort[ke.test(t)?"format":"standalone"])[e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(e,t,n){var i,r;if(this._monthsParseExact)return function(e,t,n){var i,r,o,e=e.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"===t?-1!==(r=ve.call(this._shortMonthsParse,e))?r:null:-1!==(r=ve.call(this._longMonthsParse,e))?r:null:"MMM"===t?-1!==(r=ve.call(this._shortMonthsParse,e))||-1!==(r=ve.call(this._longMonthsParse,e))?r:null:-1!==(r=ve.call(this._longMonthsParse,e))||-1!==(r=ve.call(this._shortMonthsParse,e))?r:null}.call(this,e,t,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"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},K.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Re.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Oe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Re.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Pe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(e){return $e(e,this._week.dow,this._week.doy).week},K.firstDayOfYear=function(){return this._week.doy},K.firstDayOfWeek=function(){return this._week.dow},K.weekdays=function(e,t){return t=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?He(t,this._week.dow):e?t[e.day()]:t},K.weekdaysMin=function(e){return!0===e?He(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},K.weekdaysShort=function(e){return!0===e?He(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},K.weekdaysParse=function(e,t,n){var i,r;if(this._weekdaysParseExact)return function(e,t,n){var i,r,o,e=e.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"===t?-1!==(r=ve.call(this._weekdaysParse,e))?r:null:"ddd"===t?-1!==(r=ve.call(this._shortWeekdaysParse,e))?r:null:-1!==(r=ve.call(this._minWeekdaysParse,e))?r:null:"dddd"===t?-1!==(r=ve.call(this._weekdaysParse,e))||-1!==(r=ve.call(this._shortWeekdaysParse,e))||-1!==(r=ve.call(this._minWeekdaysParse,e))?r:null:"ddd"===t?-1!==(r=ve.call(this._shortWeekdaysParse,e))||-1!==(r=ve.call(this._weekdaysParse,e))||-1!==(r=ve.call(this._minWeekdaysParse,e))?r:null:-1!==(r=ve.call(this._minWeekdaysParse,e))||-1!==(r=ve.call(this._weekdaysParse,e))||-1!==(r=ve.call(this._shortWeekdaysParse,e))?r:null}.call(this,e,t,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"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},K.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Ze),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},K.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Xe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},K.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Je),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},K.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},K.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ct("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===H(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=n("moment.lang is deprecated. Use moment.locale instead.",ct),m.langData=n("moment.langData is deprecated. Use moment.localeData instead.",ht);var vn=Math.abs;function _n(e,t,n,i){n=Bt(t,n);return e._milliseconds+=i*n._milliseconds,e._days+=i*n._days,e._months+=i*n._months,e._bubble()}function wn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function En(e){return 146097*e/4800}function Tn(e){return function(){return this.as(e)}}oe=Tn("ms"),Q=Tn("s"),Z=Tn("m"),X=Tn("h"),ie=Tn("d"),J=Tn("w"),Jt=Tn("M"),Pt=Tn("Q"),kt=Tn("y");function xn(e){return function(){return this.isValid()?this._data[e]:NaN}}ce=xn("milliseconds"),nt=xn("seconds"),Le=xn("minutes"),Be=xn("hours"),qe=xn("days"),ne=xn("months"),Ue=xn("years");var Sn=Math.round,Mn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Cn(e,t,n,i){var r=Bt(e).abs(),o=Sn(r.as("s")),s=Sn(r.as("m")),a=Sn(r.as("h")),u=Sn(r.as("d")),l=Sn(r.as("M")),c=Sn(r.as("w")),r=Sn(r.as("y")),u=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||u<=1&&["d"]||u<n.d&&["dd",u];return(u=(u=null!=n.w?u||c<=1&&["w"]||c<n.w&&["ww",c]:u)||l<=1&&["M"]||l<n.M&&["MM",l]||r<=1&&["y"]||["yy",r])[2]=t,u[3]=0<+e,u[4]=i,function(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}.apply(null,u)}var An=Math.abs;function Ln(e){return(0<e)-(e<0)||+e}function Dn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,o,s,a=An(this._milliseconds)/1e3,u=An(this._days),l=An(this._months),c=this.asSeconds();return c?(e=V(a/60),t=V(e/60),a%=60,e%=60,n=V(l/12),l%=12,i=a?a.toFixed(3).replace(/\.?0+$/,""):"",r=Ln(this._months)!==Ln(c)?"-":"",o=Ln(this._days)!==Ln(c)?"-":"",s=Ln(this._milliseconds)!==Ln(c)?"-":"",(c<0?"-":"")+"P"+(n?r+n+"Y":"")+(l?r+l+"M":"")+(u?o+u+"D":"")+(t||e||a?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(a?s+i+"S":"")):"P0D"}K=It.prototype;return K.isValid=function(){return this._isValid},K.abs=function(){var e=this._data;return this._milliseconds=vn(this._milliseconds),this._days=vn(this._days),this._months=vn(this._months),e.milliseconds=vn(e.milliseconds),e.seconds=vn(e.seconds),e.minutes=vn(e.minutes),e.hours=vn(e.hours),e.months=vn(e.months),e.years=vn(e.years),this},K.add=function(e,t){return _n(this,e,t,1)},K.subtract=function(e,t){return _n(this,e,t,-1)},K.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=F(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(En(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},K.asMilliseconds=oe,K.asSeconds=Q,K.asMinutes=Z,K.asHours=X,K.asDays=ie,K.asWeeks=J,K.asMonths=Jt,K.asQuarters=Pt,K.asYears=kt,K.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*H(this._months/12):NaN},K._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,i=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*wn(En(n)+t),n=t=0),i.milliseconds=e%1e3,e=V(e/1e3),i.seconds=e%60,e=V(e/60),i.minutes=e%60,e=V(e/60),i.hours=e%24,t+=V(e/24),n+=e=V(bn(t)),t-=wn(En(e)),e=V(n/12),n%=12,i.days=t,i.months=n,i.years=e,this},K.clone=function(){return Bt(this)},K.get=function(e){return e=F(e),this.isValid()?this[e+"s"]():NaN},K.milliseconds=ce,K.seconds=nt,K.minutes=Le,K.hours=Be,K.days=qe,K.weeks=function(){return V(this.days()/7)},K.months=ne,K.years=Ue,K.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,i=Mn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(i=Object.assign({},Mn,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),i=Cn(this,!n,i,t=this.localeData()),n&&(i=t.pastFuture(+this,i)),t.postformat(i)},K.toISOString=Dn,K.toString=Dn,K.toJSON=Dn,K.locale=tn,K.localeData=nn,K.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dn),K.lang=te,N("X",0,0,"unix"),N("x",0,0,"valueOf"),de("x",ae),de("X",/[+-]?\d+(\.\d{1,3})?/),ye("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ye("x",function(e,t,n){n._d=new Date(H(e))}),m.version="2.29.1",e=Dt,m.fn=re,m.min=function(){return Ot("isBefore",[].slice.call(arguments,0))},m.max=function(){return Ot("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=d,m.unix=function(e){return Dt(1e3*e)},m.months=function(e,t){return yn(e,t,"months")},m.isDate=r,m.locale=ct,m.invalid=y,m.duration=Bt,m.isMoment=b,m.weekdays=function(e,t,n){return gn(e,t,n,"weekdays")},m.parseZone=function(){return Dt.apply(null,arguments).parseZone()},m.localeData=ht,m.isDuration=Rt,m.monthsShort=function(e,t){return yn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return gn(e,t,n,"weekdaysMin")},m.defineLocale=dt,m.updateLocale=function(e,t){var n,i;return null!=t?(i=rt,null!=ot[e]&&null!=ot[e].parentLocale?ot[e].set(M(ot[e]._config,t)):(t=M(i=null!=(n=lt(e))?n._config:i,t),null==n&&(t.abbr=e),(t=new C(t)).parentLocale=ot[e],ot[e]=t),ct(e)):null!=ot[e]&&(null!=ot[e].parentLocale?(ot[e]=ot[e].parentLocale,e===ct()&&ct(e)):null!=ot[e]&&delete ot[e]),ot[e]},m.locales=function(){return A(ot)},m.weekdaysShort=function(e,t,n){return gn(e,t,n,"weekdaysShort")},m.normalizeUnits=F,m.relativeTimeRounding=function(e){return void 0===e?Sn:"function"==typeof e&&(Sn=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Mn[e]&&(void 0===t?Mn[e]:(Mn[e]=t,"s"===e&&(Mn.ss=t-1),!0))},m.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},m.prototype=re,m.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"},m}(),Li.exports);const Pi={en:{popupText:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",defaultText:"Nulla ornare pulvinar dui. Nullam viverra, lacus vel consectetur euismod, ante lorem aliquam nisi, non faucibus nulla lacus sed sapien. Sed imperdiet tristique tincidunt."}},fr:{popupText:{name:"Info",amountChanged:"Votre limit a été modifiée ou augmentée: {amount} {currency}. Vous devez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",defaultText:"\"Lorsque vous définissez une limite de jeu, elle prend effet à partir du moment ou vous l'activez et dure jusqu'à la fin de la période séléctionnée. Par conséquent, si vous fixez une limite quotidienne à 14.00, la période de 24 heures qui compte est celle allant de son activation jusqu'à 00:00 GMT.la limite est alors valable 24 jours. vous pouvez abaisser une limite à tout moment avec un effet immédiat. cependant, l'augmentation ou la suppression d'une limite ne s'appliquera que lorsque la limite actuelle expira."}},ro:{popupText:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare.",defaultText:"Când stabilești o limită de joc, efectele se produc începând din momentul în care o activezi și durează până la finalul perioadei selectate. Așadar, dacă stabilești o limită zilnică la 14:00, perioada de 24 de ore este de la activare până la 00:00 GMT. Ulterior, limita va fi valabilă la fiecare 24 de ore. Poți micșora limita oricând, cu efect imediat. Totuși, majorarea sau eliminarea unei limite va fi aplicată în momentul în care limita curentă expiră. "}},es:{popupText:{name:"Información",amountChanged:"Su límite ha cambiado o aumentado: {cantidad} {moneda}. Tendrás que esperar a la fecha de vencimiento para que tu nuevo límite entre en vigencia:",defaultText:"Cuando establece un límite de juego, entra en vigencia desde el momento en que lo activa y dura hasta el final del período seleccionado. Por tanto, si estableces un límite diario a las 14:00, el periodo de 24 horas que cuenta es desde su activación hasta las 00:00 GMT. Entonces el límite es válido cada 24 horas. Puede reducir un límite en cualquier momento con efecto inmediato. Sin embargo, el aumento o la eliminación de un límite solo se aplicará cuando expire el límite actual."}},pt:{popupText:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",defaultText:"Quando você define um limite de jogo, ele entra em vigor a partir do momento em que você o ativa e dura até o final do período selecionado. Portanto, se você definir um limite diário às 14h00, o período de 24 horas que conta é desde sua ativação até às 00h00 GMT. Então o limite é válido a cada 24 horas. Você pode diminuir um limite a qualquer momento com efeito imediato. No entanto, aumentar ou remover um limite será aplicado somente quando o limite atual expirar."}}};function Oi(n){let i,r,o,s,a,u,l,c,d,h,f,m,p,y,g,v=n[3]("popupText.name")+"";function _(e){return e[0]?Ii:Ni}let w=_(n),b=w(n);return{c(){i=K("section"),r=K("div"),o=K("div"),s=K("div"),s.textContent="i",a=ee(),u=K("div"),l=Q(v),c=ee(),d=K("div"),d.innerHTML='<svg class="w-6 h-6" part="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',h=ee(),f=K("div"),b.c(),ie(s,"class","InfoCardPopupIcon"),ie(s,"part","InfoCardPopupIcon"),ie(u,"class","InfoCardPopupTitle"),ie(u,"part","InfoCardPopupTitle"),ie(d,"class","InfoCardPopupCloseButton"),ie(d,"part","InfoCardPopupCloseButton"),ie(o,"class","InfoCardPopupHeader"),ie(o,"part","InfoCardPopupHeader"),ie(f,"class","InfoCardPopupContentArea"),ie(f,"part","InfoCardPopupContentArea"),ie(r,"class",m="InfoCardPopupWrapper "+(n[4]?"InfoCardPopupMobileWrapper":"")+" "+(n[0]?"InfoCardPopupLimitChanged":"")),ie(r,"part",p="InfoCardPopupWrapper "+(n[4]?"InfoCardPopupMobileWrapper":"")+" "+(n[0]?"InfoCardPopupLimitChanged":"")),ie(i,"class",n[4]?"InfoCardPopupMobileModal":""),ie(i,"part",n[4]?"InfoCardPopupMobileModal":"")},m(e,t){X(e,i,t),Z(i,r),Z(r,o),Z(o,s),Z(o,a),Z(o,u),Z(u,l),Z(o,c),Z(o,d),Z(r,h),Z(r,f),b.m(f,null),y||(g=te(d,"click",ne(n[5])),y=!0)},p(e,t){8&t&&v!==(v=e[3]("popupText.name")+"")&&oe(l,v),w===(w=_(e))&&b?b.p(e,t):(b.d(1),b=w(e),b&&(b.c(),b.m(f,null))),1&t&&m!==(m="InfoCardPopupWrapper "+(e[4]?"InfoCardPopupMobileWrapper":"")+" "+(e[0]?"InfoCardPopupLimitChanged":""))&&ie(r,"class",m),1&t&&p!==(p="InfoCardPopupWrapper "+(e[4]?"InfoCardPopupMobileWrapper":"")+" "+(e[0]?"InfoCardPopupLimitChanged":""))&&ie(r,"part",p)},d(e){e&&J(i),b.d(),y=!1,g()}}}function Ni(e){let n,i,r=e[3]("popupText.defaultText")+"";return{c(){n=K("p"),i=Q(r),ie(n,"class","InfoCardPopupContent"),ie(n,"part","InfoCardPopupContent")},m(e,t){X(e,n,t),Z(n,i)},p(e,t){8&t&&r!==(r=e[3]("popupText.defaultText")+"")&&oe(i,r)},d(e){e&&J(n)}}}function Ii(e){let n,i,r=e[3]("popupText.amountChanged",{values:{amount:e[0],currency:e[1]}})+"";return{c(){n=K("p"),i=Q(r),ie(n,"class","InfoCardPopupContent"),ie(n,"part","InfoCardPopupContent")},m(e,t){X(e,n,t),Z(n,i)},p(e,t){11&t&&r!==(r=e[3]("popupText.amountChanged",{values:{amount:e[0],currency:e[1]}})+"")&&oe(i,r)},d(e){e&&J(n)}}}function Ri(e){let n,i=e[2]&&Oi(e);return{c(){i&&i.c(),n=E(),this.c=z},m(e,t){i&&i.m(e,t),X(e,n,t)},p(e,[t]){e[2]?i?i.p(e,t):(i=Oi(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},i:z,o:z,d(e){i&&i.d(e),e&&J(n)}}}function Yi(t,e,n){let i;I(t,Mi,e=>n(3,i=e));let{showpopup:r=""}=e,{iteminfoamount:o=""}=e,{lang:s="en"}=e,{playercurrency:a="USD"}=e;Object.keys(Pi).forEach(e=>{si(e,Pi[e])});let u=!1,l=window.navigator.userAgent,c="PC"!==Ci(l);const d=e=>{e.data&&"ClosePlayerAccountGamingLimitsPopup"==e.data.type&&n(2,u=!1)};return Y(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)})),t.$$set=e=>{"showpopup"in e&&n(6,r=e.showpopup),"iteminfoamount"in e&&n(0,o=e.iteminfoamount),"lang"in e&&n(7,s=e.lang),"playercurrency"in e&&n(1,a=e.playercurrency)},t.$$.update=()=>{var e;192&t.$$.dirty&&r&&s&&(e=s,yi.set(e),o<0&&n(0,o="0"),n(2,u=r))},[o,a,u,i,c,()=>{n(2,u=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},r,s]}function Ui(e,{delay:t=0,duration:n=400,easing:i=p}={}){const r=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:i,css:e=>"opacity: "+e*r}}function Fi(n){let i,t,r;return{c(){i=K("div"),i.innerHTML='<div class="ModalContainer" part="ModalContainer"><slot></slot></div>',ie(i,"class","ModalWindow"),ie(i,"part","ModalWindow"),ie(i,"id","Modal")},m(e,t){X(e,i,t),n[3](i),r=!0},p(e,t){n=e},i(e){r||(k(()=>{t=t||W(i,Ui,{transitionDuration:n[1]},!0),t.run(1)}),r=!0)},o(e){t=t||W(i,Ui,{transitionDuration:n[1]},!1),t.run(0),r=!1},d(e){e&&J(i),n[3](null),e&&t&&t.end()}}}function Gi(e){let n,i,r=e[0]&&Fi(e);return{c(){n=K("div"),r&&r.c(),this.c=z},m(e,t){X(e,n,t),r&&r.m(n,null),i=!0},p(e,[t]){e[0]?r?(r.p(e,t),1&t&&F(r,1)):(r=Fi(e),r.c(),F(r,1),r.m(n,null)):r&&(U={r:0,c:[],p:U},G(r,1,1,()=>{r=null}),U.r||q(U.c),U=U.p)},i(e){i||(F(r),i=!0)},o(e){G(r),i=!1},d(e){e&&J(n),r&&r.d()}}}function ji(e,t,n){let i,{show:r=!1}=t,{duration:o=350}=t;const s=e=>{"ModalClosed"==e.data.type&&n(0,r=!1),"ShowLimitsConfirmationModal"===e.data.type&&(n(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href))};return Y(()=>(window.addEventListener("message",s,!1),()=>{window.removeEventListener("message",s)})),e.$$set=e=>{"show"in e&&n(0,r=e.show),"duration"in e&&n(1,o=e.duration)},[r,o,void 0,function(e){a[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}customElements.get("player-account-gaming-limits-popup")||customElements.define("player-account-gaming-limits-popup",class extends V{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:''}.InfoCardPopupLimitChanged{background:var(--emfe-w-color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emfe-w-color-black, #000000);background:var(--emfe-w-color-white, #FFFFFF);box-shadow:0 4px 12px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:\"\";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emfe-w-color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:102}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emfe-w-color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emfe-w-color-secondary, #FD2839);fill:var(--emfe-w-color-secondary, #FD2839)}</style>",$(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Yi,Ri,n,{showpopup:6,iteminfoamount:0,lang:7,playercurrency:1}),e&&(e.target&&X(e.target,this,e.anchor),e.props&&(this.$set(e.props),P()))}static get observedAttributes(){return["showpopup","iteminfoamount","lang","playercurrency"]}get showpopup(){return this.$$.ctx[6]}set showpopup(e){this.$set({showpopup:e}),P()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(e){this.$set({iteminfoamount:e}),P()}get lang(){return this.$$.ctx[7]}set lang(e){this.$set({lang:e}),P()}get playercurrency(){return this.$$.ctx[1]}set playercurrency(e){this.$set({playercurrency:e}),P()}}),customElements.get("player-account-modal")||customElements.define("player-account-modal",class extends V{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}</style>",$(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},ji,Gi,n,{show:0,duration:1}),e&&(e.target&&X(e.target,this,e.anchor),e.props&&(this.$set(e.props),P()))}static get observedAttributes(){return["show","duration"]}get show(){return this.$$.ctx[0]}set show(e){this.$set({show:e}),P()}get duration(){return this.$$.ctx[1]}set duration(e){this.$set({duration:e}),P()}});const Wi={en:{modalText:{cancel:"Cancel",confirm:"Confirm"}},fr:{modalText:{cancel:"Annuler",confirm:"Confirmer"}},ro:{modalText:{cancel:"Anulează",confirm:"Confirmă"}},es:{modalText:{cancel:"Cancelar",confirm:"Confirmar"}},pt:{modalText:{cancel:"Cancelar",confirm:"Confirmar"}}};function $i(n){let i,r,o,s,a,u,l,c,d,h,f,m,p,y,g=n[1]("modalText.cancel")+"",v=n[1]("modalText.confirm")+"",_=!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>',ie(i,"class","ModalCloseBtn"),ie(i,"part","ModalCloseBtn"),ie(i,"role","button")},m(e,t){X(e,i,t),r||(o=te(i,"click",n[3]),r=!0)},p:z,d(e){e&&J(i),r=!1,o()}}}(n);return{c(){i=K("div"),_&&_.c(),r=ee(),o=K("div"),s=K("div"),a=Q(n[0]),u=ee(),l=K("div"),c=K("button"),d=Q(g),h=ee(),f=K("button"),m=Q(v),this.c=z,ie(s,"class","GamingLimitsConfirmationContent"),ie(s,"part","GamingLimitsConfirmationContent"),ie(c,"class","GamingLimitsCancelButton"),ie(c,"part","GamingLimitsCancelButton"),ie(f,"class","GamingLimitsConfirmButton"),ie(f,"part","GamingLimitsConfirmButton"),ie(l,"class","GamingLimitsConfirmationControlArea"),ie(l,"part","GamingLimitsConfirmationControlArea"),ie(o,"class","GamingLimitsConfirmationContainer "+(n[2]?"GamingLimitsConfirmationContainerMobile":"")),ie(o,"part","GamingLimitsConfirmationContainer "+(n[2]?"GamingLimitsConfirmationContainerMobile":"")),ie(i,"class","GamingLimitsConfirmationWrapper "+(n[2]?"GamingLimitsConfirmationMobileWrapper":"")),ie(i,"part","GamingLimitsConfirmationWrapper "+(n[2]?"GamingLimitsConfirmationMobileWrapper":""))},m(e,t){X(e,i,t),_&&_.m(i,null),Z(i,r),Z(i,o),Z(o,s),Z(s,a),Z(o,u),Z(o,l),Z(l,c),Z(c,d),Z(l,h),Z(l,f),Z(f,m),p||(y=[te(c,"click",n[5]),te(f,"click",n[4])],p=!0)},p(e,[t]){e[2]||_.p(e,t),1&t&&oe(a,e[0]),2&t&&g!==(g=e[1]("modalText.cancel")+"")&&oe(d,g),2&t&&v!==(v=e[1]("modalText.confirm")+"")&&oe(m,v)},i:z,o:z,d(e){e&&J(i),_&&_.d(),p=!1,q(y)}}}function Vi(t,e,n){let i;I(t,Mi,e=>n(1,i=e));let{modaltext:r="Are you sure that you want to perform this action?"}=e,{modalsource:o=""}=e,{lang:s="en"}=e;Object.keys(Wi).forEach(e=>{si(e,Wi[e])});let a=window.navigator.userAgent,u="PC"!==Ci(a),l={},c="";const d=e=>{e.data&&"DeleteLimitsItem"===e.data.type&&(l=e.data.removeData,e=e.data.removeName,c="Time Limit"===e?"cumulativeSessionLimits":"Deposit Limit"===e?"depositLimits":"Wagering Limit"===e?"wageringLimit":"lossLimit")};Y(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)}));return t.$$set=e=>{"modaltext"in e&&n(0,r=e.modaltext),"modalsource"in e&&n(6,o=e.modalsource),"lang"in e&&n(7,s=e.lang)},t.$$.update=()=>{var e;193&t.$$.dirty&&r&&o&&s&&(e=s,yi.set(e))},[r,i,u,()=>{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:l,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,s]}function Hi(e,t,n){const i=e.slice();return i[44]=t[n],i[45]=t,i[46]=n,i}function Bi(e,t,n){const i=e.slice();return i[47]=t[n],i}function zi(e,t,n){const i=e.slice();return i[44]=t[n],i[46]=n,i}function qi(e){let n,i,r,o=e[16]("editText.success")+"";return{c(){n=K("div"),i=K("p"),r=Q(o),ie(n,"class","AccountEditLimitSuccessfulChangeContainer"),ie(n,"part","AccountEditLimitSuccessfulChangeContainer")},m(e,t){X(e,n,t),Z(n,i),Z(i,r)},p(e,t){65536&t[0]&&o!==(o=e[16]("editText.success")+"")&&oe(r,o)},d(e){e&&J(n)}}}function Zi(t){let r,o=t[12],s=[];for(let e=0;e<o.length;e+=1)s[e]=Ji(zi(t,o,e));return{c(){r=K("div");for(let e=0;e<s.length;e+=1)s[e].c();ie(r,"class","AccountEditLimitSuccessfulChangeContainer"),ie(r,"part","AccountEditLimitSuccessfulChangeContainer")},m(e,t){X(e,r,t);for(let e=0;e<s.length;e+=1)s[e].m(r,null)},p(t,n){if(102400&n[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){var i=zi(t,o,e);s[e]?s[e].p(i,n):(s[e]=Ji(i),s[e].c(),s[e].m(r,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){e&&J(r),b(s,e)}}}function Xi(e){let n,i,r,o,s=e[16]("editText.remove")+"",a=(e[44].expiryDate?ki(e[44].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"";return{c(){n=K("p"),i=Q(s),r=ee(),o=Q(a)},m(e,t){X(e,n,t),Z(n,i),Z(n,r),Z(n,o)},p(e,t){65536&t[0]&&s!==(s=e[16]("editText.remove")+"")&&oe(i,s),4096&t[0]&&a!==(a=(e[44].expiryDate?ki(e[44].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&oe(o,a)},d(e){e&&J(n)}}}function Ji(e){let n,i=e[44].period==e[15][e[46]].periodName&&Xi(e);return{c(){i&&i.c(),n=E()},m(e,t){i&&i.m(e,t),X(e,n,t)},p(e,t){e[44].period==e[15][e[46]].periodName?i?i.p(e,t):(i=Xi(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&J(n)}}}function Ki(t){let n,r,o=t[12],s=[];for(let e=0;e<o.length;e+=1)s[e]=ar(Hi(t,o,e));return{c(){n=K("div"),r=K("div");for(let e=0;e<s.length;e+=1)s[e].c();ie(r,"class","AccountEditLimitsContainer"),ie(r,"part","AccountEditLimitsContainer"),ie(n,"class","AccountEditContent"),ie(n,"part","AccountEditContent")},m(e,t){X(e,n,t),Z(n,r);for(let e=0;e<s.length;e+=1)s[e].m(r,null)},p(t,n){if(4709144&n[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){var i=Hi(t,o,e);s[e]?s[e].p(i,n):(s[e]=ar(i),s[e].c(),s[e].m(r,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){e&&J(n),b(s,e)}}}function Qi(n){let i,r,o,s,a,u,l,c,d,h,f=n[16]("editText.noLimit")+"",m=n[18][n[46]].values,p=[];for(let e=0;e<m.length;e+=1)p[e]=er(Bi(n,m,e));function y(){n[23].call(i,n[46])}let g="Custom"===n[15][n[46]].amount&&tr(n),v=!0===n[44].isModified&&sr(n);return{c(){i=K("select"),r=K("option"),o=Q(f);for(let e=0;e<p.length;e+=1)p[e].c();a=ee(),u=K("div"),g&&g.c(),l=ee(),v&&v.c(),c=E(),r.__value="",r.value=r.__value,r.disabled=!0,r.selected=!0,r.hidden=!0,ie(i,"class","AccountEditField "+(n[17]?"TimeoutSelectMobile":"")),ie(i,"part","AccountEditField "+(n[17]?"TimeoutSelectMobile":"")),i.disabled=s=!0===n[44].isModified,void 0===n[15][n[46]].amount&&k(y),ie(u,"class","AccountEditLimitsInputContainer"),ie(u,"part","AccountEditLimitsInputContainer")},m(e,t){X(e,i,t),Z(i,r),Z(r,o);for(let e=0;e<p.length;e+=1)p[e].m(i,null);T(i,n[15][n[46]].amount),X(e,a,t),X(e,u,t),g&&g.m(u,null),X(e,l,t),v&&v.m(e,t),X(e,c,t),d||(h=[te(i,"change",y),te(i,"change",function(){_(n[22](n[15][n[46]],n[46],!1,n[14]))&&n[22](n[15][n[46]],n[46],!1,n[14]).apply(this,arguments)})],d=!0)},p(e,t){if(n=e,65536&t[0]&&f!==(f=n[16]("editText.noLimit")+"")&&oe(o,f),262168&t[0]){let e;for(m=n[18][n[46]].values,e=0;e<m.length;e+=1){const o=Bi(n,m,e);p[e]?p[e].p(o,t):(p[e]=er(o),p[e].c(),p[e].m(i,null))}for(;e<p.length;e+=1)p[e].d(1);p.length=m.length}4096&t[0]&&s!==(s=!0===n[44].isModified)&&(i.disabled=s),294912&t[0]&&T(i,n[15][n[46]].amount),"Custom"===n[15][n[46]].amount?g?g.p(n,t):(g=tr(n),g.c(),g.m(u,null)):g&&(g.d(1),g=null),!0===n[44].isModified?v?v.p(n,t):(v=sr(n),v.c(),v.m(c.parentNode,c)):v&&(v.d(1),v=null)},d(e){e&&J(i),b(p,e),e&&J(a),e&&J(u),g&&g.d(),e&&J(l),v&&v.d(e),e&&J(c),d=!1,q(h)}}}function er(e){let n,i,r,t=e[47]+"",o="No limit"!==e[47]&&"Custom"!==e[47]&&function(){let n,i=("Time Limit"!==e[3]?e[4]:" minutes")+"";return{c(){n=Q(i)},m(e,t){X(e,n,t)},p(e,t){24&t[0]&&i!==(i=("Time Limit"!==e[3]?e[4]:" minutes")+"")&&oe(n,i)},d(e){e&&J(n)}}}();return{c(){n=K("option"),i=Q(t),r=ee(),o&&o.c(),n.__value=e[47],n.value=n.__value},m(e,t){X(e,n,t),Z(n,i),Z(n,r),o&&o.m(n,null)},p(e,t){"No limit"!==e[47]&&"Custom"!==e[47]&&o.p(e,t)},d(e){e&&J(n),o&&o.d()}}}function tr(e){let n;function i(e){return"Deposit Limit"===e[3]?ir:nr}let r=i(e),o=r(e);return{c(){o.c(),n=E()},m(e,t){o.m(e,t),X(e,n,t)},p(e,t){r===(r=i(e))&&o?o.p(e,t):(o.d(1),o=r(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){o.d(e),e&&J(n)}}}function nr(n){let i,r,o,s,a,u;function l(){n[25].call(i,n[46])}let c=1==n[11][n[46]]&&rr(n);return{c(){i=K("input"),o=ee(),s=K("p"),c&&c.c(),ie(i,"type","number"),ie(i,"class","AccountEditField AccountEditFieldCustom"),ie(i,"part","AccountEditField AccountEditFieldCustom"),i.disabled=r=!0===n[44].isModified,ie(s,"class","AccountEditWarningText"),ie(s,"part","AccountEditWarningText")},m(e,t){X(e,i,t),f(i,n[15][n[46]].value),X(e,o,t),X(e,s,t),c&&c.m(s,null),a||(u=[te(i,"keyup",function(){_(n[22](n[15][n[46]],n[46],!0,n[14]))&&n[22](n[15][n[46]],n[46],!0,n[14]).apply(this,arguments)}),te(i,"input",l)],a=!0)},p(e,t){n=e,4096&t[0]&&r!==(r=!0===n[44].isModified)&&(i.disabled=r),294912&t[0]&&R(i.value)!==n[15][n[46]].value&&f(i,n[15][n[46]].value),1==n[11][n[46]]?c?c.p(n,t):(c=rr(n),c.c(),c.m(s,null)):c&&(c.d(1),c=null)},d(e){e&&J(i),e&&J(o),e&&J(s),c&&c.d(),a=!1,q(u)}}}function ir(n){let i,r,o,s,a,u;function l(){n[24].call(i,n[46])}let c=1==n[11][n[46]]&&or(n);return{c(){i=K("input"),o=ee(),s=K("p"),c&&c.c(),ie(i,"type","number"),ie(i,"class","AccountEditField AccountEditFieldCustom"),ie(i,"part","AccountEditField AccountEditFieldCustom"),i.disabled=r=!0===n[44].isModified,ie(s,"class","AccountEditWarningText"),ie(s,"part","AccountEditWarningText")},m(e,t){X(e,i,t),f(i,n[15][n[46]].value),X(e,o,t),X(e,s,t),c&&c.m(s,null),a||(u=[te(i,"keyup",function(){_(n[22](n[15][n[46]],n[46],!1,n[14]))&&n[22](n[15][n[46]],n[46],!1,n[14]).apply(this,arguments)}),te(i,"input",l)],a=!0)},p(e,t){n=e,4096&t[0]&&r!==(r=!0===n[44].isModified)&&(i.disabled=r),294912&t[0]&&R(i.value)!==n[15][n[46]].value&&f(i,n[15][n[46]].value),1==n[11][n[46]]?c?c.p(n,t):(c=or(n),c.c(),c.m(s,null)):c&&(c.d(1),c=null)},d(e){e&&J(i),e&&J(o),e&&J(s),c&&c.d(),a=!1,q(u)}}}function rr(e){let n,i,r=e[16]("editText.invalidInputMessageTime",{values:{minTime:e[8],maxTime:e[9]}})+"";return{c(){n=K("p"),i=Q(r),ie(n,"class","InvalidInput"),ie(n,"part","InvalidInput")},m(e,t){X(e,n,t),Z(n,i)},p(e,t){66304&t[0]&&r!==(r=e[16]("editText.invalidInputMessageTime",{values:{minTime:e[8],maxTime:e[9]}})+"")&&oe(i,r)},d(e){e&&J(n)}}}function or(e){let n,i,r=e[16]("editText.invalidInputMessageLimit")+"";return{c(){n=K("p"),i=Q(r),ie(n,"class","InvalidInput"),ie(n,"part","InvalidInput")},m(e,t){X(e,n,t),Z(n,i)},p(e,t){65536&t[0]&&r!==(r=e[16]("editText.invalidInputMessageLimit")+"")&&oe(i,r)},d(e){e&&J(n)}}}function sr(e){let n,i,r,o,s,a,u,l,c,d,h,f,m,p,y,g,v=e[16]("editText.expirationDate")+"",_=(e[44].expiryDate?ki(e[44].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",w=e[16]("editText.changedLimitTextBefore")+"",b=(0<e[44].updateAmount?e[44].updateAmount:0)+"",E=(void 0!==e[44].minutes?" minutes":e[4])+"",T=e[16]("editText.changedLimitTextAfter")+"";return{c(){n=K("p"),i=Q(v),r=ee(),o=K("span"),s=Q(_),a=ee(),u=K("div"),l=K("p"),c=K("span"),c.textContent="i",d=K("span"),h=Q(w),f=ee(),m=Q(b),p=ee(),y=Q(E),g=Q(T),ie(n,"class","AccountEditLimitsExpiryDate"),ie(n,"part","AccountEditLimitsExpiryDate"),ie(c,"class","AccountEditLimitChangePeriodIcon"),ie(c,"part","AccountEditLimitChangePeriodIcon"),ie(u,"class","AccountEditLimitsPeriodChangeContainer"),ie(u,"part","AccountEditLimitsPeriodChangeContainer")},m(e,t){X(e,n,t),Z(n,i),Z(n,r),Z(n,o),Z(o,s),X(e,a,t),X(e,u,t),Z(u,l),Z(l,c),Z(l,d),Z(d,h),Z(d,f),Z(d,m),Z(d,p),Z(d,y),Z(d,g)},p(e,t){65536&t[0]&&v!==(v=e[16]("editText.expirationDate")+"")&&oe(i,v),4096&t[0]&&_!==(_=(e[44].expiryDate?ki(e[44].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&oe(s,_),65536&t[0]&&w!==(w=e[16]("editText.changedLimitTextBefore")+"")&&oe(h,w),4096&t[0]&&b!==(b=(0<e[44].updateAmount?e[44].updateAmount:0)+"")&&oe(m,b),4112&t[0]&&E!==(E=(void 0!==e[44].minutes?" minutes":e[4])+"")&&oe(y,E),65536&t[0]&&T!==(T=e[16]("editText.changedLimitTextAfter")+"")&&oe(g,T)},d(e){e&&J(n),e&&J(a),e&&J(u)}}}function ar(e){let n,i,r,o,s,a=e[44].period+"",u=e[44].period==e[15][e[46]].periodName&&Qi(e);return{c(){n=K("div"),i=K("p"),r=Q(a),o=ee(),u&&u.c(),s=ee(),ie(i,"class","AccountEditLimitsTitle"),ie(i,"part","AccountEditLimitsTitle"),ie(n,"class","AccountEditLimitsBox"),ie(n,"part","AccountEditLimitsBox")},m(e,t){X(e,n,t),Z(n,i),Z(i,r),Z(n,o),u&&u.m(n,null),Z(n,s)},p(e,t){4096&t[0]&&a!==(a=e[44].period+"")&&oe(r,a),e[44].period==e[15][e[46]].periodName?u?u.p(e,t):(u=Qi(e),u.c(),u.m(n,s)):u&&(u.d(1),u=null)},d(e){e&&J(n),u&&u.d()}}}function ur(n){let i,r,o,s,a,u,l,c,d,h,f,m,p,y,g,v,_,w,b,E,T,x,S,M,C,A,L,D,k,P,O,N,I,R,Y,U,F,G=n[16]("editText.back")+"",j=(n[0]?n[3]:"")+"",W=n[16]("editText.save")+"",$=n[17]&&function(n){let i,r,o,s,a,u,l,c,d,h,f,m,p,y=n[16]("editText.back")+"";return{c(){i=K("div"),r=t("svg"),o=t("defs"),s=t("style"),a=Q(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),u=t("g"),l=t("g"),c=t("path"),d=ee(),h=K("h2"),f=Q(y),ie(c,"class","aaa"),ie(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),ie(c,"transform","translate(15 15) rotate(180)"),ie(l,"transform","translate(20 158)"),ie(u,"transform","translate(-20 -158)"),ie(r,"xmlns","http://www.w3.org/2000/svg"),ie(r,"width","15"),ie(r,"height","15"),ie(r,"viewBox","0 0 15 15"),ie(h,"class","MyAccountCategoryTitleMobile"),ie(h,"part","MyAccountCategoryTitleMobile"),ie(i,"class","MenuReturnButton"),ie(i,"part","MenuReturnButton")},m(e,t){X(e,i,t),Z(i,r),Z(r,o),Z(o,s),Z(s,a),Z(r,u),Z(u,l),Z(l,c),Z(i,d),Z(i,h),Z(h,f),m||(p=te(i,"click",n[20]),m=!0)},p(e,t){65536&t[0]&&y!==(y=e[16]("editText.back")+"")&&oe(f,y)},d(e){e&&J(i),m=!1,p()}}}(n),V=n[1]&&qi(n),H=n[2]&&Zi(n),B=n[7]&&Ki(n);return{c(){i=K("div"),$&&$.c(),r=ee(),o=K("div"),s=t("svg"),a=t("defs"),u=t("style"),l=Q(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),c=t("g"),d=t("g"),h=t("path"),f=ee(),m=K("h2"),p=Q(G),y=ee(),g=K("div"),v=K("h6"),_=Q(j),w=ee(),b=K("div"),E=K("span"),E.textContent="i",T=ee(),x=K("player-account-gaming-limits-popup"),S=ee(),V&&V.c(),M=ee(),H&&H.c(),C=ee(),B&&B.c(),A=ee(),L=K("div"),D=K("button"),k=Q(W),I=ee(),R=K("player-account-modal"),Y=K("player-account-gaming-limits-confirmation-modal"),this.c=z,ie(h,"class","aaa"),ie(h,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),ie(h,"transform","translate(15 15) rotate(180)"),ie(d,"transform","translate(20 158)"),ie(c,"transform","translate(-20 -158)"),ie(s,"xmlns","http://www.w3.org/2000/svg"),ie(s,"width","15"),ie(s,"height","15"),ie(s,"viewBox","0 0 15 15"),ie(m,"class","MyAccountCategoryTitle "+(n[17]?"MyAccountCategoryTitleNone":"")),ie(m,"part","MyAccountCategoryTitle "+(n[17]?"MyAccountCategoryTitleNone":"")),ie(o,"class","MenuReturnButton "+(n[17]?"MyAccountCategoryTitleNone":"")),ie(o,"part","MenuReturnButton "+(n[17]?"MyAccountCategoryTitleNone":"")),ie(E,"class","AccountEditLimitsIcon"),ie(E,"part","AccountEditLimitsIcon"),re(x,"showpopup",n[6]),re(x,"lang",n[5]),ie(b,"class","AccountEditLimitsIconWrapper"),ie(b,"part","AccountEditLimitsIconWrapper"),ie(g,"class","AccountEditLimitsHeader"),ie(g,"part","AccountEditLimitsHeader"),ie(D,"class",P="AccountEditLimitsSaveButton "+(n[13]?"":"AccountEditLimitsButtonDisabled")),ie(D,"part",O="AccountEditLimitsSaveButton "+(n[13]?"":"AccountEditLimitsButtonDisabled")),D.disabled=N=!n[13],ie(L,"class","AccountEditLimitsControlArea"),ie(L,"part","AccountEditLimitsControlArea"),ie(i,"class","AccountEditLimitsWrapper "+(n[17]?"AccountEditLimitsMobileWrapper":"")),re(Y,"modaltext",n[10]),re(Y,"modalsource","groupEdit"),re(Y,"lang",n[5])},m(e,t){X(e,i,t),$&&$.m(i,null),Z(i,r),Z(i,o),Z(o,s),Z(s,a),Z(a,u),Z(u,l),Z(s,c),Z(c,d),Z(d,h),Z(o,f),Z(o,m),Z(m,p),Z(i,y),Z(i,g),Z(g,v),Z(v,_),Z(g,w),Z(g,b),Z(b,E),Z(b,T),Z(b,x),Z(i,S),V&&V.m(i,null),Z(i,M),H&&H.m(i,null),Z(i,C),B&&B.m(i,null),Z(i,A),Z(i,L),Z(L,D),Z(D,k),X(e,I,t),X(e,R,t),Z(R,Y),U||(F=[te(o,"click",n[20]),te(E,"click",ne(n[19])),te(D,"click",n[26])],U=!0)},p(e,t){e[17]&&$.p(e,t),65536&t[0]&&G!==(G=e[16]("editText.back")+"")&&oe(p,G),9&t[0]&&j!==(j=(e[0]?e[3]:"")+"")&&oe(_,j),64&t[0]&&re(x,"showpopup",e[6]),32&t[0]&&re(x,"lang",e[5]),e[1]?V?V.p(e,t):(V=qi(e),V.c(),V.m(i,M)):V&&(V.d(1),V=null),e[2]?H?H.p(e,t):(H=Zi(e),H.c(),H.m(i,C)):H&&(H.d(1),H=null),e[7]?B?B.p(e,t):(B=Ki(e),B.c(),B.m(i,A)):B&&(B.d(1),B=null),65536&t[0]&&W!==(W=e[16]("editText.save")+"")&&oe(k,W),8192&t[0]&&P!==(P="AccountEditLimitsSaveButton "+(e[13]?"":"AccountEditLimitsButtonDisabled"))&&ie(D,"class",P),8192&t[0]&&O!==(O="AccountEditLimitsSaveButton "+(e[13]?"":"AccountEditLimitsButtonDisabled"))&&ie(D,"part",O),8192&t[0]&&N!==(N=!e[13])&&(D.disabled=N),1024&t[0]&&re(Y,"modaltext",e[10]),32&t[0]&&re(Y,"lang",e[5])},i:z,o:z,d(e){e&&J(i),$&&$.d(),V&&V.d(),H&&H.d(),B&&B.d(),e&&J(I),e&&J(R),U=!1,q(F)}}}function lr(e,t,o){let n;I(e,Mi,e=>o(16,n=e));let{limitsdata:i=[]}=t,{showsuccessnotification:r=!1}=t,{showdeletenotification:s=!1}=t,{limitname:a=""}=t,{playercurrency:u=""}=t,{lang:l="en"}=t;Object.keys(Ai).forEach(e=>{si(e,Ai[e])});let c=!1,d=!0,h=!1,f=0,m=0,p="",y=window.navigator.userAgent,g="PC"!==Ci(y),v=new Array(3).fill(0),_={},w=[],b=!1,E=[];const T={amount:/^[0-9]{0,7}$/,time:/^[1-9]\d*$/};let x=[{periodName:"Daily",amount:"No limit",value:0},{periodName:"Weekly",amount:"No limit",value:0},{periodName:"Monthly",amount:"No limit",value:0}],S=[{periodName:"Daily",values:["10000","20000","50000","Custom"]},{periodName:"Weekly",values:["10000","50000","100000","Custom"]},{periodName:"Monthly",values:["50000","100000","200000","Custom"]}],M=[{periodName:"Daily",values:["10000","20000","50000","Custom"]},{periodName:"Weekly",values:["10000","50000","100000","Custom"]},{periodName:"Monthly",values:["50000","100000","200000","Custom"]}],C=[{periodName:"Daily",values:["10000","20000","50000","Custom"]},{periodName:"Weekly",values:["10000","50000","100000","Custom"]},{periodName:"Monthly",values:["50000","100000","200000","Custom"]}],A=[{periodName:"Daily",values:["500","1000","1430","Custom"]},{periodName:"Weekly",values:["5000","7000","10000","Custom"]},{periodName:"Monthly",values:["20000","30000","43000","Custom"]}];const L=new Map([["Deposit Limit","depositLimits"],["Time Limit","cumulativeSessionLimits"],["Wagering Limit","wageringLimits"],["Loss Limit","lossLimits"]]),D=()=>{window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href)},k=(n,e)=>{let i=JSON.parse(JSON.stringify(e));x.forEach(t=>{i.forEach(e=>{t.periodName==n.periodName&&("Custom"!==t.amount&&"No limit"!==t.amount?t.value=JSON.parse(t.amount):"No limit"===t.amount&&(t.value=0)),e.period===t.periodName&&(e.amount=t.value)})})},P=()=>{E.forEach(e=>{var t=e;w.forEach(e=>{t.period===e.periodName&&("Time Limit"===a&&(o(8,f=60),"Daily"===t.periodName?o(9,m=1440):"Weekly"==t.periodName?o(9,m=10080):o(9,m=43200)),-1<e.values.indexOf(t.amount)&&("No limit"===t.amount?t.amount=0:t.amount=JSON.parse(t.amount)))})}),_.forEach(t=>{w.forEach(e=>{t.period===e.periodName&&((e,t,n)=>{let i=e.values;t.amount&&"No limit"!==t.amount?i.includes(JSON.stringify(t.amount))?n.forEach(e=>{e.periodName===t.period&&(e.amount=JSON.stringify(t.amount),e.value=t.amount)}):n.forEach(e=>{e.periodName===t.period&&(e.amount="Custom",e.value=t.amount)}):n.forEach(e=>{e.periodName===t.period&&(e.amount=t.amount,e.value=0)})})(e,t,x)})})},O=()=>{var e=l;yi.set(e),e="Time Limit"===a?"time limit":"Deposit Limit"===a?"deposit limit":"Wagering Limit"===a?"wagering limit":"loss limit",o(10,p=n("editText.changeLimitsText",{values:{limit:e}})),o(14,E=JSON.parse(JSON.stringify(i))),o(12,_=JSON.parse(JSON.stringify(i))),w="Wagering Limit"===a?M:"Loss Limit"===a?C:"Deposit Limit"===a?S:"Time Limit"===a?A:[],P()},N=e=>{if(e.data)switch(e.data.type){case"ClosePlayerAccountGamingLimitsPopup":o(6,c=!1);break;case"GamingLimitsConfirmChanges":h=!0,h&&("Time Limit"===a?x.forEach(t=>{_.forEach(e=>{e.period===t.periodName&&(e.minutes=t.value)})}):x.forEach(t=>{_.forEach(e=>{e.period===t.periodName&&(e.amount=t.value,e.currency=u)})}),t={},t={[L.get(a)]:[..._]},window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:t,limitsCategory:L.get(a)},window.location.href),o(13,b=!1));break;case"CancelGamingLimitsChanges":o(7,d=!1),setTimeout(()=>{o(7,d=!0)},10),O(),o(13,b=!1),h=!1}var t};return Y(()=>(window.addEventListener("message",N,!1),()=>{window.removeEventListener("message",N)})),e.$$set=e=>{"limitsdata"in e&&o(0,i=e.limitsdata),"showsuccessnotification"in e&&o(1,r=e.showsuccessnotification),"showdeletenotification"in e&&o(2,s=e.showdeletenotification),"limitname"in e&&o(3,a=e.limitname),"playercurrency"in e&&o(4,u=e.playercurrency),"lang"in e&&o(5,l=e.lang)},e.$$.update=()=>{6&e.$$.dirty[0]&&r&&s&&O(),33&e.$$.dirty[0]&&i&&l&&O()},[i,r,s,a,u,l,c,d,f,m,p,v,_,b,E,x,n,g,S,()=>{o(6,c=!0)},()=>{window.postMessage({type:"PlayerAccountBackToLimitsView"},window.location.href)},D,(e,t,n,i)=>{var r;"Custom"===e.amount?"Time Limit"==a?(o(8,f=60),"Daily"===e.periodName?o(9,m=1440):"Weekly"==e.periodName?o(9,m=10080):o(9,m=43200),e.value&&T.time.test(e.value)&&e.value>f&&e.value<=m?(o(11,v[t]=0,v),r=i[t],e.periodName==r.period&&e.value==r.amount?(o(13,b=!1),k(e,i)):o(13,b=!0)):(o(11,v[t]=1,v),o(13,b=!1))):e.value&&T.amount.test(e.value)?(o(11,v[t]=0,v),e.periodName==i[t].period&&e.value==i[t].amount?(o(13,b=!!b),k(e,i)):o(13,b=!0),x.forEach(e=>{0==e.value&&o(13,b=!1)})):(o(11,v[t]=1,v),o(13,b=!1)):(e.periodName==i[t].period?(k(e,i),o(13,b=e.value!=i[t].amount)):o(13,b=!0),x.forEach(e=>{0==e.value&&o(13,b=!1)}))},function(e){x[e].amount=function(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}(this),o(15,x),o(18,S)},function(e){x[e].value=R(this.value),o(15,x),o(18,S)},function(e){x[e].value=R(this.value),o(15,x),o(18,S)},()=>D()]}customElements.get("player-account-gaming-limits-confirmation-modal")||customElements.define("player-account-gaming-limits-confirmation-modal",class extends V{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:relative;background:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;border-top:5px solid var(--emfe-w-color-secondary, #FD2839);margin:0 20px}.GamingLimitsConfirmationContainer{background:var(--emfe-w-color-gray-50, #F9F8F8);color:var(--emfe-w-color-black, #000000);padding:60px 30px 30px 30px;text-align:center}.GamingLimitsConfirmationContainerMobile{padding:30px}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{width:100%;font-size:18px;line-height:48px;border-radius:5px;color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B);background-color:transparent;text-transform:uppercase;cursor:pointer}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-primary, #D0046C)}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:40px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}</style>",$(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Vi,$i,n,{modaltext:0,modalsource:6,lang:7}),e&&(e.target&&X(e.target,this,e.anchor),e.props&&(this.$set(e.props),P()))}static get observedAttributes(){return["modaltext","modalsource","lang"]}get modaltext(){return this.$$.ctx[0]}set modaltext(e){this.$set({modaltext:e}),P()}get modalsource(){return this.$$.ctx[6]}set modalsource(e){this.$set({modalsource:e}),P()}get lang(){return this.$$.ctx[7]}set lang(e){this.$set({lang:e}),P()}});class cr extends V{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.MenuReturnButton{color:var(--emfe-w-color-primary, #D0046C);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px;cursor:pointer}.MenuReturnButton svg{fill:var(--emfe-w-color-primary, #D0046C)}.MyAccountCategoryTitle{font-size:26px;color:var(--emfe-w-color-primary, #D0046C);font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:var(--emfe-w-color-primary, #D0046C)}.MyAccountCategoryTitleNone{display:none !important}.AccountEditLimitsWrapper{padding:50px;max-width:760px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper{padding:20px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea{grid-template-columns:1fr}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea .AccountEditLimitsSaveButton{width:100%}.AccountEditLimitsHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:5px;color:var(--emfe-w-color-primary, #D0046C)}.AccountEditLimitsHeader h6{margin:0;font-weight:normal;font-size:16px;line-height:20px}.AccountEditLimitsHeader .AccountEditLimitsIcon{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emfe-w-color-primary, #D0046C);align-items:center;justify-content:center;border-radius:30px;cursor:pointer}.AccountEditLimitChangePeriodIcon{display:flex;width:20px;height:20px;color:var(--emfe-w-color-gray-300, #58586B);background:transparent;border:1px solid var(--emfe-w-color-gray-300, #58586B);align-items:center;justify-content:center;border-radius:30px;cursor:pointer;margin-right:10px}.AccountEditLimitSuccessfulChangeContainer{background:var(--emfe-w-color-primary-50, #FBECF4);border:1px solid var(--emfe-w-color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;padding:10px}.AccountEditLimitSuccessfulChangeContainer p{margin:0}.AccountEditLimitsIconWrapper{position:relative}.AccountEditLimitsTitle{font-size:16px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);margin:0;padding:10px 0 10px}.AccountEditLimitsExpiryDate{font-size:12px;font-weight:300;color:var(--emfe-w-color-black, #000000)}.AccountEditLimitsContainer{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;direction:ltr}@media only screen and (max-width: 1024px){.AccountEditLimitsContainer{grid-template-columns:1fr;grid-gap:20px}}.AccountEditField{width:100%;font-size:14px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);padding:10px;line-height:16px;background:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;outline:none;transition-duration:0.3s}.AccountEditField:focus,.AccountEditField :focus-within,.AccountEditField :focus-visible,.AccountEditField :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.AccountEditFieldCustom{padding:3%}.AccountEditLimitsPeriodChangeContainer{background:var(--emfe-w-color-gray-50, #F9F8F8);border-radius:5px}.AccountEditLimitsPeriodChangeContainer p{max-width:290px;display:-webkit-box;padding:10px 35px 15px 10px;color:var(--emfe-w-color-gray-300, #58586B);font-size:12px;font-weight:300}.AccountEditLimitsPeriodChangeContainer p .AccountEditLimitChangePeriodIcon{font-size:14px;font-weight:400}.AccountEditLimitsControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;margin-top:35px}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton{padding:12px;cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--emfe-w-color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton.AccountEditLimitsButtonDisabled{background:var(--emfe-w-color-primary, #D0046C);cursor:not-allowed;opacity:0.6}.AccountEditLimitsBox{position:relative}.AccountEditWarningText{position:relative;margin:0}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;position:absolute;top:6px;margin:0;line-height:10px}.AccountEditLimitsInputContainer{position:relative;padding-top:10px;width:94%}</style>",$(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},lr,ur,n,{limitsdata:0,showsuccessnotification:1,showdeletenotification:2,limitname:3,playercurrency:4,lang:5},[-1,-1]),e&&(e.target&&X(e.target,this,e.anchor),e.props&&(this.$set(e.props),P()))}static get observedAttributes(){return["limitsdata","showsuccessnotification","showdeletenotification","limitname","playercurrency","lang"]}get limitsdata(){return this.$$.ctx[0]}set limitsdata(e){this.$set({limitsdata:e}),P()}get showsuccessnotification(){return this.$$.ctx[1]}set showsuccessnotification(e){this.$set({showsuccessnotification:e}),P()}get showdeletenotification(){return this.$$.ctx[2]}set showdeletenotification(e){this.$set({showdeletenotification:e}),P()}get limitname(){return this.$$.ctx[3]}set limitname(e){this.$set({limitname:e}),P()}get playercurrency(){return this.$$.ctx[4]}set playercurrency(e){this.$set({playercurrency:e}),P()}get lang(){return this.$$.ctx[5]}set lang(e){this.$set({lang:e}),P()}}return customElements.get("player-account-gaming-limits-group-edit")||customElements.define("player-account-gaming-limits-group-edit",cr),cr});
|
|
2
2
|
//# sourceMappingURL=player-account-gaming-limits-group-edit.js.map
|