@everymatrix/general-player-register-form 1.26.0 → 1.27.2
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(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(m){"use strict";(k=m)&&"object"==typeof k&&0 in k;function ht(){}function w(e){return e()}function _(){return Object.create(null)}function ft(e){e.forEach(w)}function E(e){return"function"==typeof e}function S(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let C;function x(e,t){return(C=C||document.createElement("a")).href=t,e===C.href}function T(e,...t){if(null==e)return ht;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function le(e,t,r){e.$$.on_destroy.push(T(t,r))}var k="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function mt(e,t){e.appendChild(t)}function pt(e,t,r){e.insertBefore(t,r||null)}function gt(e){e.parentNode&&e.parentNode.removeChild(e)}function rt(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function yt(e){return document.createElement(e)}function t(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function vt(e){return document.createTextNode(e)}function bt(){return vt(" ")}function it(){return vt("")}function wt(e,t,r,i){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)}function _t(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function n(e,t,r){t in e?e[t]="boolean"==typeof e[t]&&""===r||r:_t(e,t,r)}function Et(e,t){e.data!==(t=""+t)&&(e.data=t)}function St(e,t){e.value=null==t?"":t}function et(t,r,e){for(let e=0;e<t.options.length;e+=1){var i=t.options[e];if(i.__value===r)return i.selected=!0}e&&void 0===r||(t.selectedIndex=-1)}function K(e){e=e.querySelector(":checked");return e&&e.__value}function M(e){var t={};for(const r of e)t[r.name]=r.value;return t}let P;function O(e){P=e}function ce(e){!function(){if(P)return P;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const D=[],oe=[];let B=[];const A=[],N=Promise.resolve();let H=!1;function tt(e){B.push(e)}const R=new Set;let L=0;function h(){if(0===L){const i=P;do{try{for(;L<D.length;){const i=D[L];L++,O(i),e=t=void 0;var e,t=i.$$;null!==t.fragment&&(t.update(),ft(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(tt))}}catch(i){throw D.length=0,L=0,i}for(O(null),D.length=0,L=0;oe.length;)oe.pop()();for(let e=0;e<B.length;e+=1){var r=B[e];R.has(r)||(R.add(r),r())}}while(B.length=0,D.length);for(;A.length;)A.pop()();H=!1,R.clear(),O(i)}}const $=new Set;function F(i,e,t,r,n,s,o,a=[-1]){var l=P;O(i);const c=i.$$={fragment:null,ctx:[],props:s,update:ht,not_equal:n,bound:_(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:_(),dirty:a,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let u=!1;if(c.ctx=t?t(i,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return c.ctx&&n(c.ctx[e],c.ctx[e]=r)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](r),u)&&(r=e,-1===(e=i).$$.dirty[0]&&(D.push(e),H||(H=!0,N.then(h)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31),t}):[],c.update(),u=!0,ft(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){s=e.target;const i=Array.from(s.childNodes);c.fragment&&c.fragment.l(i),i.forEach(gt)}else c.fragment&&c.fragment.c();e.intro&&(a=i.$$.fragment)&&a.i&&($.delete(a),a.i(void 0));var d=i,o=e.target,t=e.anchor,r=e.customElement,{fragment:s,after_update:a}=d.$$;s&&s.m(o,t),r||tt(()=>{var e=d.$$.on_mount.map(w).filter(E);d.$$.on_destroy?d.$$.on_destroy.push(...e):ft(e),d.$$.on_mount=[]}),a.forEach(tt),h()}O(l)}let I;"function"==typeof HTMLElement&&(I=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(w).filter(E);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){ft(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var r=e.after_update;const i=[],n=[];B.forEach(e=>(-1===r.indexOf(e)?i:n).push(e)),n.forEach(e=>e()),B=i}ft(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=ht}$on(e,t){if(!E(t))return ht;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var U,Y,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},j="URLSearchParams"in l,G="Symbol"in l&&"iterator"in Symbol,z="FileReader"in l&&"Blob"in l&&function(){try{return new Blob,!0}catch(e){return!1}}(),V="FormData"in l,W="ArrayBuffer"in l;function Z(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 Q(e){return e="string"!=typeof e?String(e):e}function q(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return G&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function X(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function J(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function ee(e){var t=new FileReader,r=J(t);return t.readAsArrayBuffer(e),r}function te(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function re(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:z&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:V&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:j&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():W&&z&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=te(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):W&&(ArrayBuffer.prototype.isPrototypeOf(e)||Y(e))?this._bodyArrayBuffer=te(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):j&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},z&&(this.blob=function(){var e=X(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return X(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(z)return this.blob().then(ee);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,r,i=X(this);if(i)return i;if(this._bodyBlob)return i=this._bodyBlob,t=J(e=new FileReader),r=(r=/charset=([A-Za-z0-9_-]+)/.exec(i.type))?r[1]:"utf-8",e.readAsText(i,r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),i=0;i<t.length;i++)r[i]=String.fromCharCode(t[i]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},V&&(this.formData=function(){return this.text().then(se)}),this.json=function(){return this.text().then(JSON.parse)},this}W&&(U=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Y=ArrayBuffer.isView||function(e){return e&&-1<U.indexOf(Object.prototype.toString.call(e))}),c.prototype.append=function(e,t){e=Z(e),t=Q(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},c.prototype.delete=function(e){delete this.map[Z(e)]},c.prototype.get=function(e){return e=Z(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(Z(e))},c.prototype.set=function(e,t){this.map[Z(e)]=Q(t)},c.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},c.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),q(r)},c.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),q(t)},c.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),q(r)},G&&(c.prototype[Symbol.iterator]=c.prototype.entries);var ie=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function ne(e,t){if(!(this instanceof ne))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,i=(t=t||{}).body;if(e instanceof ne){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new c(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 c(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<ie.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in l)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function se(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function u(e,t){if(!(this instanceof u))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}ne.prototype.clone=function(){return new ne(this,{body:this._bodyInit})},re.call(ne.prototype),re.call(u.prototype),u.prototype.clone=function(){return new u(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},u.error=function(){var e=new u(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var ue=[301,302,303,307,308],de=(u.redirect=function(e,t){if(-1===ue.indexOf(t))throw new RangeError("Invalid status code");return new u(null,{status:t,headers:{location:e}})},l.DOMException);try{new de}catch(m){(de=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),de.prototype.constructor=de}function he(i,a){return new Promise(function(n,e){var s=new ne(i,a);if(s.signal&&s.signal.aborted)return e(new de("Aborted","AbortError"));var r,o=new XMLHttpRequest;function t(){o.abort()}o.onload=function(){var e,i,t={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",i=new c,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(":"),r=t.shift().trim();if(r){t=t.join(":").trim();try{i.append(r,t)}catch(e){console.warn("Response "+e.message)}}}),i)},r=(s.url.startsWith("file://")&&(o.status<200||599<o.status)?t.status=200:t.status=o.status,t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL"),"response"in o?o.response:o.responseText);setTimeout(function(){n(new u(r,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},o.onabort=function(){setTimeout(function(){e(new de("Aborted","AbortError"))},0)},o.open(s.method,function(t){try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}}(s.url),!0),"include"===s.credentials?o.withCredentials=!0:"omit"===s.credentials&&(o.withCredentials=!1),"responseType"in o&&(z?o.responseType="blob":W&&(o.responseType="arraybuffer")),a&&"object"==typeof a.headers&&!(a.headers instanceof c||l.Headers&&a.headers instanceof l.Headers)?(r=[],Object.getOwnPropertyNames(a.headers).forEach(function(e){r.push(Z(e)),o.setRequestHeader(e,Q(a.headers[e]))}),s.headers.forEach(function(e,t){-1===r.indexOf(t)&&o.setRequestHeader(t,e)})):s.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),s.signal&&(s.signal.addEventListener("abort",t),o.onreadystatechange=function(){4===o.readyState&&s.signal.removeEventListener("abort",t)}),o.send(void 0===s._bodyInit?null:s._bodyInit)})}function Or(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}he.polyfill=!0,l.fetch||(l.fetch=he,l.Headers=c,l.Request=ne,l.Response=u),self.fetch.bind(self);var fe=function(e,t){return(fe=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)};function me(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}fe(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function pe(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.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 ge(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,n,s=r.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(i=s.next()).done;)o.push(i.value)}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return o}function ye(e,t,r){if(r||2===arguments.length)for(var i,n=0,s=t.length;n<s;n++)!i&&n in t||((i=i||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function d(e){return"function"==typeof e}function ve(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 be=ve(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 we(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}r.prototype.unsubscribe=function(){var e,t,r,i,n;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var o=pe(s),a=o.next();!a.done;a=o.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else s.remove(this);s=this.initialTeardown;if(d(s))try{s()}catch(e){n=e instanceof be?e.errors:[e]}s=this._finalizers;if(s){this._finalizers=null;try{for(var l=pe(s),c=l.next();!c.done;c=l.next()){var u=c.value;try{Ce(u)}catch(e){n=null!=n?n:[],e instanceof be?n=ye(ye([],ge(n)),ge(e.errors)):n.push(e)}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}}if(n)throw new be(n)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Ce(e);else{if(e instanceof r){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},r.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},r.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},r.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&we(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&we(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=((i=new r).closed=!0,i);var _e=r,Ee=_e.EMPTY;function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Se(e){return e instanceof _e||e&&"closed"in e&&d(e.remove)&&d(e.add)&&d(e.unsubscribe)}function Ce(e){d(e)?e():e.unsubscribe()}var xe=void 0,Te=!1,ke=!1,Me={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var n=Me.delegate;return null!=n&&n.setTimeout?n.setTimeout.apply(n,ye([e,t],ge(r))):setTimeout.apply(void 0,ye([e,t],ge(r)))},clearTimeout:function(e){var t=Me.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Pe(){}var Oe=null;function De(e){if(Te){var t=!Oe;if(t&&(Oe={errorThrown:!1,error:null}),e(),t){var t=Oe,r=t.errorThrown,t=t.error;if(Oe=null,r)throw t}}else e()}me(e,Be=_e),e.create=function(e,t,r){return new $e(e,t,r)},e.prototype.next=function(e){this.isStopped||this._next(e)},e.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Be.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(e){this.destination.next(e)},e.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Be,Ae=e,Ne=Function.prototype.bind;function e(e){var t=Be.call(this)||this;return t.isStopped=!1,e?Se(t.destination=e)&&e.add(t):t.destination=Ye,t}function He(e,t){return Ne.call(e,t)}Ie.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Ue(e)}},Ie.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ue(e)}else Ue(e)},Ie.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ue(e)}};var Re,Le=Ie,$e=(me(Fe,Re=Ae),Fe);function Fe(e,t,r){var i=Re.call(this)||this,r=d(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:i&&ke?((t=Object.create(e)).unsubscribe=function(){return i.unsubscribe()},{next:e.next&&He(e.next,t),error:e.error&&He(e.error,t),complete:e.complete&&He(e.complete,t)}):e;return i.destination=new Le(r),i}function Ie(e){this.partialObserver=e}function Ue(e){var t=e;Me.setTimeout(function(){throw t})}var Ye={closed:!0,next:Pe,error:function(e){throw e},complete:Pe},i="function"==typeof Symbol&&Symbol.observable||"@@observable";s.prototype.lift=function(e){var t=new s;return t.source=this,t.operator=e,t},s.prototype.subscribe=function(e,t,r){var i,n=this,s=(i=e)&&i instanceof Ae||i&&d(i.next)&&d(i.error)&&d(i.complete)&&Se(i)?e:new $e(e,t,r);return De(function(){var e=n.operator,t=n.source;s.add(e?e.call(s,t):t?n._subscribe(s):n._trySubscribe(s))}),s},s.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},s.prototype.forEach=function(i,e){var n=this;return new(e=Ge(e))(function(e,t){var r=new $e({next:function(e){try{i(e)}catch(e){t(e),r.unsubscribe()}},error:t,complete:e});n.subscribe(r)})},s.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},s.prototype[i]=function(){return this},s.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},s.prototype.toPromise=function(e){var i=this;return new(e=Ge(e))(function(e,t){var r;i.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},s.create=function(e){return new s(e)};var je=s;function s(e){e&&(this._subscribe=e)}function Ge(e){return null!=(e=null!=e?e:xe)?e:Promise}var ze,Ve,We,Ze=ve(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),i=(me(o,We=je),o.prototype.lift=function(e){var t=new Qe(this,this);return t.operator=e,t},o.prototype._throwIfClosed=function(){if(this.closed)throw new Ze},o.prototype.next=function(n){var s=this;De(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){s.currentObservers||(s.currentObservers=Array.from(s.observers));try{for(var r=pe(s.currentObservers),i=r.next();!i.done;i=r.next())i.value.next(n)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},o.prototype.error=function(t){var r=this;De(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.observers;e.length;)e.shift().error(t)}})},o.prototype.complete=function(){var t=this;De(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},o.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(o.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),o.prototype._trySubscribe=function(e){return this._throwIfClosed(),We.prototype._trySubscribe.call(this,e)},o.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},o.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,i=this.isStopped,n=this.observers;return r||i?Ee:(this.currentObservers=null,n.push(e),new _e(function(){t.currentObservers=null,we(n,e)}))},o.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,i=this.isStopped;t?e.error(r):i&&e.complete()},o.prototype.asObservable=function(){var e=new je;return e.source=this,e},o.create=function(e,t){return new Qe(e,t)},o),Qe=(me(Je,Ve=i),Je.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},Je.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},Je.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Je.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Ee},Je),qe={now:function(){return(qe.delegate||Date).now()},delegate:void 0},Xe=(me(Ke,ze=i),Ke.prototype.next=function(e){var t=this,r=t.isStopped,i=t._buffer,n=t._infiniteTimeWindow,s=t._timestampProvider,t=t._windowTime;r||(i.push(e),n)||i.push(s.now()+t),this._trimBuffer(),ze.prototype.next.call(this,e)},Ke.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,i=this._buffer.slice(),n=0;n<i.length&&!e.closed;n+=r?1:2)e.next(i[n]);return this._checkFinalizedStatuses(e),t},Ke.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,i=this._infiniteTimeWindow,n=(i?1:2)*e;if(e<1/0&&n<r.length&&r.splice(0,r.length-n),!i){for(var s=t.now(),o=0,a=1;a<r.length&&r[a]<=s;a+=2)o=a;o&&r.splice(0,o+1)}},Ke);function Ke(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=qe);var i=ze.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,t),i}function Je(e,t){var r=Ve.call(this)||this;return r.destination=e,r.source=t,r}function o(){var e=We.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let nt=[],st={};const ot=[];function at(i,n=ht){let s;const o=new Set;function a(e){if(S(i,e)&&(i=e,s)){const e=!ot.length;for(const e of o)e[1](),ot.push(e,i);if(e){for(let e=0;e<ot.length;e+=2)ot[e][0](ot[e+1]);ot.length=0}}}return{set:a,update:function(e){a(e(i))},subscribe:function(e,t=ht){const r=[e,t];return o.add(r),1===o.size&&(s=n(a)||ht),e(i),()=>{o.delete(r),0===o.size&&s&&(s(),s=null)}}}}function lt(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,u=a.length<2;return{subscribe:at(t,t=>{let r=!1;const i=[];let n=0,s=ht;const o=()=>{var e;n||(s(),e=a(l?i[0]:i,t),u?t(e):s=E(e)?e:ht)},e=c.map((e,t)=>T(e,e=>{i[t]=e,n&=~(1<<t),r&&o()},()=>{n|=1<<t}));return r=!0,o(),function(){ft(e),s(),r=!1}}).subscribe}}function ct(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===ut);var t}var ut="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function dt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Mt(Array.isArray(e)?[]:{},e,t):e}function Ct(e,t,r){return e.concat(t).map(function(e){return dt(e,r)})}function xt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function Tt(e,t){try{return t in e}catch(e){return!1}}function kt(i,n,s){var o={};return s.isMergeableObject(i)&&xt(i).forEach(function(e){o[e]=dt(i[e],s)}),xt(n).forEach(function(e){var t,r;(!Tt(t=i,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(Tt(i,e)&&s.isMergeableObject(n[e])?o[e]=((t=s).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Mt)(i[e],n[e],s):o[e]=dt(n[e],s))}),o}function Mt(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||Ct,r.isMergeableObject=r.isMergeableObject||ct,r.cloneUnlessOtherwiseSpecified=dt;var i=Array.isArray(t);return i===Array.isArray(e)?i?r.arrayMerge(e,t,r):kt(e,t,r):dt(t,r)}Mt.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return Mt(e,t,r)},{});throw new Error("first argument should be an array")};var Pt=Mt,Ot=function(e,t){return(Ot=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)};function Dt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}Ot(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var p,y,Bt,g=function(){return(g=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function At(e,t,r){if(r||2===arguments.length)for(var i,n=0,s=t.length;n<s;n++)!i&&n in t||((i=i||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function Nt(e){return e.type===y.literal}function Ht(e){return e.type===y.number}function Rt(e){return e.type===y.date}function Lt(e){return e.type===y.time}function $t(e){return e.type===y.select}function Ft(e){return e.type===y.plural}function It(e){return e.type===y.tag}function Ut(e){return e&&"object"==typeof e&&e.type===Bt.number}function Yt(e){return e&&"object"==typeof e&&e.type===Bt.dateTime}(i=p=p||{})[i.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",i[i.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",i[i.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",i[i.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",i[i.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",i[i.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",i[i.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",i[i.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",i[i.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",i[i.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",i[i.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",i[i.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",i[i.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",i[i.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",i[i.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",i[i.INVALID_TAG=23]="INVALID_TAG",i[i.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",i[i.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",i[i.UNCLOSED_TAG=27]="UNCLOSED_TAG",(i=y=y||{})[i.literal=0]="literal",i[i.argument=1]="argument",i[i.number=2]="number",i[i.date=3]="date",i[i.time=4]="time",i[i.select=5]="select",i[i.plural=6]="plural",i[i.pound=7]="pound",i[i.tag=8]="tag",(i=Bt=Bt||{})[i.number=0]="number",i[i.dateTime=1]="dateTime";var i=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,jt=/(?:[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 Gt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,zt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Vt=/^(@+)?(\+|#+)?[rs]?$/g,Wt=/(\*)(0+)|(#+)(0+)|(0+)/g,Zt=/^(0+)$/;function Qt(e){var i={};return"r"===e[e.length-1]?i.roundingPriority="morePrecision":"s"===e[e.length-1]&&(i.roundingPriority="lessPrecision"),e.replace(Vt,function(e,t,r){return"string"!=typeof r?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===r?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),i}function qt(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 Xt(e){return qt(e)||{}}function Kt(e){for(var o={},t=0,r=e;t<r.length;t++){var i,n=r[t];switch(n.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=n.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=g(g(g({},o),{notation:"scientific"}),n.options.reduce(function(e,t){return g(g({},e),Xt(t))},{}));continue;case"engineering":o=g(g(g({},o),{notation:"engineering"}),n.options.reduce(function(e,t){return g(g({},e),Xt(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(n.options[0]);continue;case"integer-width":if(1<n.options.length)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(Wt,function(e,t,r,i,n,s){if(t)o.minimumIntegerDigits=r.length;else{if(i&&n)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Zt.test(n.stem))o.minimumIntegerDigits=n.stem.length;else if(zt.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(zt,function(e,t,r,i,n,s){return"*"===r?o.minimumFractionDigits=t.length:i&&"#"===i[0]?o.maximumFractionDigits=i.length:n&&s?(o.minimumFractionDigits=n.length,o.maximumFractionDigits=n.length+s.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var s=n.options[0];"w"===s?o=g(g({},o),{trailingZeroDisplay:"stripIfInteger"}):s&&(o=g(g({},o),Qt(s)))}else Vt.test(n.stem)?o=g(g({},o),Qt(n.stem)):((s=qt(n.stem))&&(o=g(g({},o),s)),(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 r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Zt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem))&&(o=g(g({},o),i)))}return o}var Jt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var er=new RegExp("^".concat(i.source,"*")),tr=new RegExp("".concat(i.source,"*$"));function v(e,t){return{start:e,end:t}}var i=!!String.prototype.startsWith,rr=!!String.fromCodePoint,ir=!!Object.fromEntries,nr=!!String.prototype.codePointAt,sr=!!String.prototype.trimStart,or=!!String.prototype.trimEnd,ar=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},lr=!0;try{lr="a"===(null==(Pr=yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Pr[0])}catch(m){lr=!1}var cr,ur,dr=i?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},hr=rr?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,i="",n=e.length,s=0;s<n;){if(1114111<(r=e[s++]))throw RangeError(r+" is not a valid code point");i+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return i},fr=ir?Object.fromEntries:function(e){for(var t={},r=0,i=e;r<i.length;r++){var n=i[r],s=n[0],n=n[1];t[s]=n}return t},mr=nr?function(e,t){return e.codePointAt(t)}:function(e,t){var r,i=e.length;if(!(t<0||i<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===i||(i=e.charCodeAt(t+1))<56320||57343<i?r:i-56320+(r-55296<<10)+65536},pr=sr?function(e){return e.trimStart()}:function(e){return e.replace(er,"")},gr=or?function(e){return e.trimEnd()}:function(e){return e.replace(tr,"")};function yr(e,t){return new RegExp(e,t)}ur=lr?(cr=yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return cr.lastIndex=t,null!=(t=cr.exec(e)[1])?t:""}):function(e,t){for(var r,i=[];;){var n=mr(e,t);if(void 0===n||wr(n)||33<=(r=n)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094)break;i.push(n),t+=65536<=n?2:1}return hr.apply(void 0,i)};a.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},a.prototype.parseMessage=function(e,t,r){for(var i=[];!this.isEOF();){var n,s=this.char();if(123===s){if((n=this.parseArgument(e,r)).err)return n;i.push(n.val)}else{if(125===s&&0<e)break;if(35!==s||"plural"!==t&&"selectordinal"!==t){if(60===s&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(p.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&br(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n}else if((n=this.parseLiteral(e,t)).err)return n;i.push(n.val)}else{s=this.clonePosition();this.bump(),i.push({type:y.pound,location:v(s,this.clonePosition())})}}}return{val:i,err:null}},a.prototype.parseTag=function(e,t){var r,i=this.clonePosition(),n=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(n,"/>"),location:v(i,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!br(this.char())?this.error(p.INVALID_TAG,v(e,this.clonePosition())):(r=this.clonePosition(),n!==this.parseTagName()?this.error(p.UNMATCHED_CLOSING_TAG,v(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:n,children:t,location:v(i,this.clonePosition())},err:null}:this.error(p.INVALID_TAG,v(e,this.clonePosition())))):this.error(p.UNCLOSED_TAG,v(i,this.clonePosition()))):this.error(p.INVALID_TAG,v(i,this.clonePosition()))},a.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())},a.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),i="";;){var n=this.tryParseQuote(t);if(n)i+=n;else{n=this.tryParseUnquoted(e,t);if(n)i+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;i+=n}}}r=v(r,this.clonePosition());return{val:{type:y.literal,value:i,location:r},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(br(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},a.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return hr.apply(void 0,t)},a.prototype.tryParseUnquoted=function(e,t){var r;return this.isEOF()||60===(r=this.char())||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),hr(r))},a.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(p.EMPTY_ARGUMENT,v(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(p.MALFORMED_ARGUMENT,v(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:i,location:v(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition())):this.parseArgumentOptions(e,t,i,r);default:return this.error(p.MALFORMED_ARGUMENT,v(r,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=ur(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:v(e,this.clonePosition())}},a.prototype.parseArgumentOptions=function(e,t,r,i){var n,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(o){case"":return this.error(p.EXPECT_ARGUMENT_TYPE,v(s,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(h=gr(d.val)).length)return this.error(p.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:v(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(i)).err?c:(f=v(i,this.clonePosition()),l&&dr(null==l?void 0:l.style,"::",0)?(m=pr(l.style.slice(2)),"number"===o?(d=this.parseNumberSkeletonFromString(m,l.styleLocation)).err?d:{val:{type:y.number,value:r,location:f,style:d.val},err:null}:0===m.length?this.error(p.EXPECT_DATE_TIME_SKELETON,f):(u=m,this.locale&&(u=function(e,t){for(var r="",i=0;i<e.length;i++){var n=e.charAt(i);if("j"===n){for(var s=0;i+1<e.length&&e.charAt(i+1)===n;)s++,i++;var o=1+(1&s),a=s<2?1:3+(s>>1),l=function(e){var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(Jt[t||""]||Jt[r||""]||Jt["".concat(r,"-001")]||Jt["001"])[0]}(t);for("H"!=l&&"k"!=l||(a=0);0<a--;)r+="a";for(;0<o--;)r=l+r}else r+="J"===n?"H":n}return r}(m,this.locale)),h={type:Bt.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},u.replace(jt,function(e){var t=e.length;switch(e[0]){case"G":n.era=4===t?"long":5===t?"narrow":"short";break;case"y":n.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":n.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":n.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":n.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][t-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][t-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][t-1];break;case"k":n.hourCycle="h24",n.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":n.minute=["numeric","2-digit"][t-1];break;case"s":n.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":n.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""}),n):{}},{val:{type:"date"===o?y.date:y.time,value:r,location:f,style:h},err:null})):{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:r,location:f,style:null!=(m=null==l?void 0:l.style)?m:null},err:null});case"plural":case"selectordinal":case"select":var u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,v(u,g({},u)));this.bumpSpace();var d,h=this.parseIdentifierIfPossible(),f=0;if("select"!==o&&"offset"===h.value){if(!this.bumpIf(":"))return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),h=this.parseIdentifierIfPossible(),f=d.val}var m,l=this.tryParsePluralOrSelectOptions(e,o,t,h);return l.err?l:(c=this.tryParseArgumentClose(i)).err?c:(m=v(i,this.clonePosition()),"select"===o?{val:{type:y.select,value:r,options:fr(l.val),location:m},err:null}:{val:{type:y.plural,value:r,options:fr(l.val),offset:f,pluralType:"plural"===o?"cardinal":"ordinal",location:m},err:null});default:return this.error(p.INVALID_ARGUMENT_TYPE,v(s,a))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(r,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}},a.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,i=e.split(Gt).filter(function(e){return 0<e.length});r<i.length;r++){var n=i[r].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var s=n[0],n=n.slice(1),o=0,a=n;o<a.length;o++)if(0===a[o].length)throw new Error("Invalid number skeleton");t.push({stem:s,options:n})}return t}(e)}catch(e){return this.error(p.INVALID_NUMBER_SKELETON,t)}return{val:{type:Bt.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Kt(r):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,r,i){for(var n=!1,s=[],o=new Set,a=i.value,l=i.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR,p.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=v(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(o.has(a))return this.error("select"===t?p.DUPLICATE_SELECT_ARGUMENT_SELECTOR:p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(n=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;var d=this.tryParseArgumentClose(u);if(d.err)return d;s.push([a,{value:c.val,location:v(u,this.clonePosition())}]),o.add(a),this.bumpSpace(),a=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===s.length?this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR:p.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(p.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:s,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,s=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;n=!0,s=10*s+(o-48),this.bump()}i=v(i,this.clonePosition());return n?ar(s*=r)?{val:s,err:null}:this.error(t,i):this.error(e,i)},a.prototype.offset=function(){return this.position.offset},a.prototype.isEOF=function(){return this.offset()===this.message.length},a.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},a.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=mr(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},a.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},a.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))},a.prototype.bumpIf=function(e){if(dr(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},a.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},a.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},a.prototype.bumpSpace=function(){for(;!this.isEOF()&&wr(this.char());)this.bump()},a.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var vr=a;function a(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function br(e){return 97<=e&&e<=122||65<=e&&e<=90}function wr(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function _r(e,t){t=g({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new vr(e,t).parse();if(e.err)throw(r=SyntaxError(p[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,$t(e)||Ft(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else Ht(e)&&Ut(e.style)||(Rt(e)||Lt(e))&&Yt(e.style)?delete e.style.location:It(e)&&r(e.children)})}(e.val),e.val}function Er(e,t){var r=t&&t.cache?t.cache:Dr,i=t&&t.serializer?t.serializer:Tr;return(t&&t.strategy?t.strategy:function(e,t){return xr(e,this,1===e.length?Sr:Cr,t.cache.create(),t.serializer)})(e,{cache:r,serializer:i})}function Sr(e,t,r,i){var r=null==i||"number"==typeof i||"boolean"==typeof i?i:r(i),n=t.get(r);return void 0===n&&(n=e.call(this,i),t.set(r,n)),n}function Cr(e,t,r){var i=Array.prototype.slice.call(arguments,3),r=r(i),n=t.get(r);return void 0===n&&(n=e.apply(this,i),t.set(r,n)),n}function xr(e,t,r,i,n){return r.bind(t,e,i,n)}var Tr=function(){return JSON.stringify(arguments)};function kr(){this.cache=Object.create(null)}kr.prototype.get=function(e){return this.cache[e]},kr.prototype.set=function(e,t){this.cache[e]=t};var Mr,Pr,Dr={create:function(){return new kr}},Br={variadic:function(e,t){return xr(e,this,Cr,t.cache.create(),t.serializer)},monadic:function(e,t){return xr(e,this,Sr,t.cache.create(),t.serializer)}};(Pr=Mr=Mr||{}).MISSING_VALUE="MISSING_VALUE",Pr.INVALID_VALUE="INVALID_VALUE",Pr.MISSING_INTL_API="MISSING_INTL_API";Dt(Gr,Rr=Error),Gr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var b,Ar,Nr,Hr,Rr,Lr=Gr,$r=(Dt(jr,Hr=Lr),jr),Fr=(Dt(Yr,Nr=Lr),Yr),Ir=(Dt(Ur,Ar=Lr),Ur);function Ur(e,t){return Ar.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Mr.MISSING_VALUE,t)||this}function Yr(e,t,r){return Nr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Mr.INVALID_VALUE,r)||this}function jr(e,t,r,i){return Hr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Mr.INVALID_VALUE,i)||this}function Gr(e,t,r){e=Rr.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function zr(e,t,r,i,n,s,o){if(1===e.length&&Nt(e[0]))return[{type:b.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Nt(u))a.push({type:b.literal,value:u.value});else if(u.type===y.pound)"number"==typeof s&&a.push({type:b.literal,value:r.getNumberFormat(t).format(s)});else{var d=u.value;if(!(n&&d in n))throw new Ir(d,o);d=n[d];if(u.type===y.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),a.push({type:"string"==typeof d?b.literal:b.object,value:d});else if(Rt(u)){var h="string"==typeof u.style?i.date[u.style]:Yt(u.style)?u.style.parsedOptions:void 0;a.push({type:b.literal,value:r.getDateTimeFormat(t,h).format(d)})}else if(Lt(u))h="string"==typeof u.style?i.time[u.style]:Yt(u.style)?u.style.parsedOptions:i.time.medium,a.push({type:b.literal,value:r.getDateTimeFormat(t,h).format(d)});else if(Ht(u))(h="string"==typeof u.style?i.number[u.style]:Ut(u.style)?u.style.parsedOptions:void 0)&&h.scale&&(d*=h.scale||1),a.push({type:b.literal,value:r.getNumberFormat(t,h).format(d)});else{if(It(u)){var f=u.children,m=u.value,p=n[m];if("function"!=typeof p)throw new Fr(m,"function",o);m=p(zr(f,t,r,i,n,s).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),a.push.apply(a,m.map(function(e){return{type:"string"==typeof e?b.literal:b.object,value:e}}))}if($t(u)){if(!(g=u.options[d]||u.options.other))throw new $r(u.value,d,Object.keys(u.options),o);a.push.apply(a,zr(g.value,t,r,i,n))}else if(Ft(u)){if(!(g=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new Lr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Mr.MISSING_INTL_API,o);var p=r.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0)),g=u.options[p]||u.options.other}if(!g)throw new $r(u.value,d,Object.keys(u.options),o);a.push.apply(a,zr(g.value,t,r,i,n,d-(u.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===b.literal&&t.type===b.literal?r.value+=t.value:e.push(t),e},[])}function Vr(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(i=b=b||{})[i.literal=0]="literal",i[i.object=1]="object";Object.defineProperty(f,"defaultLocale",{get:function(){return f.memoizedDefaultLocale||(f.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),f.memoizedDefaultLocale},enumerable:!1,configurable:!0}),f.memoizedDefaultLocale=null,f.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},f.__parse=_r,f.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"}}};var Wr=f;function f(e,t,r,i){var n,s,o=this;if(void 0===t&&(t=f.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=o.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===b.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return zr(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=f.resolveLocale(t),"string"==typeof e){if(this.message=e,!f.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=f.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(n=f.formats,(s=r)?Object.keys(n).reduce(function(e,t){var r,i;return e[t]=(r=n[t],(i=s[t])?g(g(g({},r||{}),i||{}),Object.keys(r).reduce(function(e,t){return e[t]=g(g({},r[t]),i[t]||{}),e},{})):r),e},g({},n)):n),this.formatters=i&&i.formatters||{getNumberFormat:Er(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,At([void 0],t,!1)))},{cache:Vr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Br.variadic}),getDateTimeFormat:Er(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,At([void 0],t,!1)))},{cache:Vr(t.dateTime),strategy:Br.variadic}),getPluralRules:Er(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,At([void 0],t,!1)))},{cache:Vr(t.pluralRules),strategy:Br.variadic})}}const Zr={},Qr=(e,t,r)=>r&&(t in Zr||(Zr[t]={}),e in Zr[t]||(Zr[t][e]=r),r),qr=(t,r)=>{if(null!=r){if(r in Zr&&t in Zr[r])return Zr[r][t];var i=gi(r);for(let e=0;e<i.length;e++){var n=function(e,t){if(!Jr(e))return null;e=function(e){return Xr[e]||null}(e);{var r=t;if(null!=r){if(r in e)return e[r];var i=r.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const r=i.slice(e,i.length).join(".");if(r in t){t=t[r];break}}t=t[i[e]]}else t=void 0;return t}}}(i[e],t);if(n)return Qr(t,r,n)}}};let Xr;const Kr=at({});function Jr(e){return e in Xr}function ei(t,...r){delete Zr[t],Kr.update(e=>(e[t]=Pt.all([e[t]||{},...r]),e))}lt([Kr],([e])=>Object.keys(e)),Kr.subscribe(e=>Xr=e);const ti={};function ri(e){return ti[e]}function ii(e){return null!=e&&gi(e).some(e=>{return null==(e=ri(e))?void 0:e.size})}function ni(i,e){return Promise.all(e.map(e=>{return t=i,r=e,ti[t].delete(r),0===ti[t].size&&delete ti[t],e().then(e=>e.default||e);var t,r})).then(e=>ei(i,...e))}const si={};const oi={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const ai=at(!1);var li=Object.defineProperty,rr=Object.defineProperties,ir=Object.getOwnPropertyDescriptors,ci=Object.getOwnPropertySymbols,ui=Object.prototype.hasOwnProperty,di=Object.prototype.propertyIsEnumerable,hi=(e,t,r)=>t in e?li(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let fi;const mi=at(null);function pi(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function gi(e,t=oi.fallbackLocale){e=pi(e);return t?[...new Set([...e,...pi(t)])]:e}function yi(){return null!=fi?fi:void 0}mi.subscribe(e=>{fi=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const ae=rr(((e,t)=>{for(var r in t=t||{})ui.call(t,r)&&hi(e,r,t[r]);if(ci)for(var r of ci(t))di.call(t,r)&&hi(e,r,t[r]);return e})({},mi),ir({set:t=>{if(t&&function(e){if(null!=e){var t=gi(e);for(let e=0;e<t.length;e++){var r=t[e];if(Jr(r))return r}}}(t)&&ii(t)){var r=oi["loadingDelay"];let e;return"undefined"!=typeof window&&null!=yi()&&r?e=window.setTimeout(()=>ai.set(!0),r):ai.set(!0),function e(t){var r;return ii(t)?(r=gi(t).map(e=>{var t=ri(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),si[t]=Promise.all(r.map(([e,t])=>ni(e,t))).then(()=>{if(ii(t))return e(t);delete si[t]}),si[t]):t in si?si[t]:Promise.resolve()}(t).then(()=>{mi.set(t)}).finally(()=>{clearTimeout(e),ai.set(!1)})}return mi.set(t)}}));var nr=r=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=r(e)}},vi=Object.defineProperty,bi=Object.getOwnPropertySymbols,wi=Object.prototype.hasOwnProperty,_i=Object.prototype.propertyIsEnumerable,Ei=(e,t,r)=>t in e?vi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Si=(e,t)=>{for(var r in t=t||{})wi.call(t,r)&&Ei(e,r,t[r]);if(bi)for(var r of bi(t))_i.call(t,r)&&Ei(e,r,t[r]);return e},Ci=(e,t)=>{var r={};for(i in e)wi.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(null!=e&&bi)for(var i of bi(e))t.indexOf(i)<0&&_i.call(e,i)&&(r[i]=e[i]);return r};const xi=(e,t)=>{var r=oi["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ti=nr(e=>{var{locale:t,format:r}=e,e=Ci(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=xi("number",r)),new Intl.NumberFormat(t,e)}),ki=nr(e=>{var{locale:t,format:r}=e,e=Ci(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=xi("date",r):0===Object.keys(e).length&&(e=xi("date","short")),new Intl.DateTimeFormat(t,e)}),Mi=nr(e=>{var{locale:t,format:r}=e,e=Ci(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=xi("time",r):0===Object.keys(e).length&&(e=xi("time","short")),new Intl.DateTimeFormat(t,e)}),Pi=nr((e,t=yi())=>new Wr(e,t,oi.formats,{ignoreTag:oi.ignoreTag})),Oi=lt([ae,Kr],()=>(e,t={})=>{var r,i;let n=t;"object"==typeof e&&(e=(n=e).id);var{values:s,locale:o=yi(),default:a}=n;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=qr(e,o);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(i=null!=(r=null==(r=(i=oi).handleMissingMessage)?void 0:r.call(i,{locale:o,id:e,defaultValue:a}))?r:a)?i:e;if(!s)return l;let c=l;try{c=Pi(l,o).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),Di=(lt([ae],()=>(e,t)=>((e={})=>{var{locale:t=yi()}=e,e=Ci(e,["locale"]);return Mi(Si({locale:t},e))})(t).format(e)),lt([ae],()=>(e,t)=>((e={})=>{var{locale:t=yi()}=e,e=Ci(e,["locale"]);return ki(Si({locale:t},e))})(t).format(e)),lt([ae],()=>(e,t)=>((e={})=>{var{locale:t=yi()}=e,e=Ci(e,["locale"]);return Ti(Si({locale:t},e))})(t).format(e)),lt([ae,Kr],()=>(e,t=yi())=>qr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==nt.indexOf(e)&&(t=new Xe(t),st[e]=t,nt.push(e)),st[e]}},e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC");function Bi(e,t){ei(e,t)}const Ai={en:{goToLoginButton:"Go To Login",error:"We encountered an issue. Please go to Login to receive your SMS code."},zhs:{goToLoginButton:"去登錄",error:"我们遇到了一个问题。请转到登录以接收您的短信代码"},fr:{goToLoginButton:"Aller à la connexion",error:"Nous avons rencontré un problème. Veuillez vous connecter pour recevoir votre code SMS."},tr:{goToLoginButton:"Giriş Yap",error:"Bir sorunla karşılaştık. SMS kodunuzu almak için lütfen Giriş'e gidin."},ro:{goToLoginButton:"Catre Autentificare",error:"Am întâmpinat o problemă. Vă rugăm să accesați Login pentru a primi codul SMS."},es:{goToLoginButton:"Ir a Inicio de Sesión",error:"Encontramos un problema. Vaya a Iniciar sesión para recibir su código SMS."},pt:{goToLoginButton:"Ir para o Login",error:"Encontramos um problema. Vá para Login para receber seu código SMS."},hr:{goToLoginButton:"Idi na Prijava",error:"Naišli smo problem. Idite na Prijava kako biste primili svoj SMS kod."}};function Ni(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var r,i=window.cstmNativeBridge.EVENTS[e];if(i){if("function"==typeof t)return r=window.cstmNativeBridge.eventListeners[i],window.cstmNativeBridge.eventListeners[i]=function(){delete window.cstmNativeBridge.eventListeners[i],r&&r.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,r=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof r?(t=Array.prototype.slice.call(arguments,1),r.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var Hi=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},Ri=function(e,...t){try{return Ni(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}},Li=function(e,t){try{return Ni(),window.cstmNativeBridge.registerEventListener(e,t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function $i(e,t){ei(e,t)}const Fi={en:{registerTitle:"Create your account",registerSubtitle:"Already have an account?",registerSubtitleLogin:"Login",registerEmail:"Email",registerEmailError:"Email should contain '@' and a 2-3 letter long domain.",registerUsername:"Username",registerUsernameError:"Name must be at least 4-20 characters long and contain no special characters.",registerPassword:"Password",registerPasswordError:"Password must be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",registerSimplePasswordError:"Password must be 8-20 characters long.",registerConfirmPassword:"Confirm Password",registerConfirmPasswordError:'It doesn"t match the password.',registerPromoCode:"Promotional Code (Facultative)",promoCodeError:"",registerSecurityQuestion:"Security Question",registerSecurityQuestion2:"Document Type (DNI, Foreign ID Card, Passport)",registerSecurityQuestionError:"Security question must be at least 1 character long and maximum 120 characters.",registerSecurityQuestionError2:"Only letters and numbers are accepted.",registerSecurityAnswer:"Security Answer",registerSecurityAnswer2:"Document Number",registerSecurityAnswerError:"Security answer must be at least 1 character long and maximum 120 characters.",registerSecurityAnswerError2:"Only letters and numbers are accepted.",registerNext:"Next"},"zh-hk":{registerTitle:"創建您的帳戶",registerSubtitle:"已經有一個帳戶?",registerSubtitleLogin:"登錄",registerEmail:"電子郵件",registerEmailError:"電子郵件應包含“@”和 2-3 個字母長的域。",registerUsername:"用戶名",registerUsernameError:"名稱的長度必須至少為 2 個字符且不包含特殊字符。",registerPassword:"密碼",registerPasswordError:"密碼長度必須為 8-20 個字符,並且至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",registerSimplePasswordError:"密码长度必须为 8-20 个字符。",registerConfirmPassword:"確認密碼",registerConfirmPasswordError:"它與密碼不匹配。",registerPromoCode:"促销代码",promoCodeError:"",registerSecurityQuestion:"安全問題",registerSecurityQuestionError:"安全問題的長度必須至少為 1 個字符,最多 120 個字符。",registerSecurityAnswer:"安全答案",registerSecurityAnswerError:"安全答案的長度必須至少為 1 個字符,最多為 120 個字符。",registerNext:"下一個"},fr:{registerTitle:"Créez votre compte",registerSubtitle:"Vous avez déjà un compte?",registerSubtitleLogin:"Connexion ",registerEmail:"Email",registerEmailError:"L'adresse mail doit comporter un '@' et un nom de domaine de 2 à 3 lettres.",registerUsername:'Nom d"utilisateur ',registerUsernameError:"Le nom doit être composé d'au moins 2 caractères et ne doitpas contenir de caractères spéciaux.",registerPassword:"Mot de passe",registerPasswordError:"Le mot de passe doit comporter de 8 à 20 charactères et contenir au moins une lettre majuscule, un chiffre et un caractère spécial.",registerSimplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères.",registerConfirmPassword:"Confirmer le mot de passe",registerConfirmPasswordError:"ça ne correspond pas au mot de passe.",registerPromoCode:"Code Promotionnel (Facultatif)",promoCodeError:"",registerSecurityQuestion:"Questions de sécurité",registerSecurityQuestionError:"La question de sécurité doit comporter au moins un caractère et au maximum 120 caractères.",registerSecurityAnswer:"Réponse de sécurité",registerSecurityAnswerError:"La réponse de sécurité doit comporter au moins un caractère et au maximum 120 caractères.",registerNext:"Suivant"},tr:{registerTitle:"Hesabını oluştur",registerSubtitle:"Zaten hesabınız var mı?",registerSubtitleLogin:"Giriş yapmak",registerEmail:"E-posta",registerEmailError:"E-posta '@' ve 2-3 harf uzunluğunda bir etki alanı içermelidir.",registerUsername:"Kullanıcı adı",registerUsernameError:"Ad en az 4-20 karakter uzunluğunda olmalı ve özel karakter içermemelidir.",registerPassword:"Parola",registerPasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",registerSimplePasswordError:"Şifre 8-20 karakter uzunluğunda olmalıdır.",registerConfirmPassword:"Şifreyi Onayla",registerConfirmPasswordError:"Şifreyle eşleşmiyor.",registerSecurityQuestion:"Güvenlik Sorusu",registerSecurityQuestionError:"Güvenlik sorusu en az 1, en fazla 120 karakter uzunluğunda olmalıdır.",registerSecurityAnswer:"Güvenlik cevabı",registerSecurityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",registerNext:"Sonraki"},ro:{registerTitle:"Creaza cont",registerSubtitle:"Ai deja cont?",registerSubtitleLogin:"Autentifica-te",registerEmail:"Email",registerEmailError:"Email-ul ar trebui sa contina '@' si 2-3 litere.",registerUsername:"Utilizator",registerUsernameError:"Utilizatorul trebuie sa fie cuprins intre 4-20 litere si sa nu contina caractere speciale.",registerPassword:"Parola",registerPasswordError:"Parola trebuie sa fie cuprinsa intre 8 si 20 de caractere, cel putin o litera mare, cel putin un numar si cel putin un caracter special.",registerSimplePasswordError:"Parola trebuie să aibă 8-20 de caractere.",registerConfirmPassword:"Confirma Parola",registerConfirmPasswordError:"Confirmarea parolei trebuie sa fie la fel cu parola",registerSecurityQuestion:"Intrebare de Securitate",registerSecurityQuestionError:"Intrebarea de securitate trebuie sa fie cuprinsa intre 1 si 120 de litere.",registerSecurityAnswer:"Raspuns de Securitate",registerSecurityAnswerError:"Raspunsul de securitate trebuie sa fie cuprins intre 1 si 120 de litere",registerNext:"Urmatorul"},es:{registerTitle:"Crea tu cuenta",registerSubtitle:"Ya tiene cuenta?",registerSubtitleLogin:"Iniciar sesión",registerEmail:"Email",registerEmailError:"Email debe contener '@' y un dominio de 2 a 3 letras.",registerUsername:"Usuario",registerUsernameError:"El nombre de Usuario debe tener mínimo 4 y máximo 20 caracteres y no contener caracteres especiales.",registerPassword:"Contraseña",registerPasswordError:"La contraseña debe tener de 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",registerSimplePasswordError:"La contraseña debe tener entre 8 y 20 caracteres.",registerConfirmPassword:"Confirmar Contraseña",registerConfirmPasswordError:"La contraseña no coincide.",registerSecurityQuestion:"Pregunta de seguridad",registerSecurityQuestion2:"Tipo de Documento (DNI, CE o Pasaporte)",registerSecurityQuestionError:"La Pregunta de seguridad debe tener un mínimo de 1 carácter y un máximo de 120 caracteres",registerSecurityQuestionError2:"Solo se aceptan letras y números.",registerSecurityAnswer:"Respuesta de seguridad",registerSecurityAnswer2:"Número de Documento",registerSecurityAnswerError:"La Respuesta de seguridad debe tener un mínimo de 1 carácter y un máximo de 120 caracteres",registerSecurityAnswerError2:"Solo se aceptan letras y números.",registerNext:"Siguiente"},pt:{registerTitle:"Crie a sua conta",registerSubtitle:"Já tem uma conta?",registerSubtitleLogin:"Entrar",registerEmail:"E-mail",registerEmailError:"O e-mail deve conter '@' e um domínio de 2 a 3 letras.",registerUsername:"Nome do usuário",registerUsernameError:"O nome deve ter pelo menos 2 caracteres e não conter caracteres especiais.",registerPassword:"Senha",registerPasswordError:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",registerSimplePasswordError:"A senha deve ter de 8 a 20 caracteres.",registerConfirmPassword:"Confirme a sua senha",registerConfirmPasswordError:"Não corresponde à senha.",registerSecurityQuestion:"Pergunta de segurança",registerSecurityQuestionError:"A pergunta de segurança deve ter no mínimo 1 caractere e no máximo 120 caracteres.",registerSecurityAnswer:"Resposta de segurança",registerSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",registerNext:"Próximo"},hr:{registerTitle:"Kreiraj svoj račun",registerSubtitle:"Već imate račun?",registerSubtitleLogin:"Prijava","registerE-mail":"E-mail","registerE-mailError":"E-mail treba sadržavati '@' i domenu od 2-3 slova.",registerUsername:"Korisničko ime",registerUsernameError:"Ime mora imati najmanje 4-20 znakova i ne smije sadržavati posebne znakove.",registerPassword:"Lozinka",registerPasswordError:"Lozinka mora imati 8-20 znakova",registerSimplePasswordError:"Lozinka mora imati 8-20 znakova",registerConfirmPassword:"Potvrdi lozinku",registerConfirmPasswordError:"Ne odgovara lozinci.",registerPromoCode:"Promotivni kod (fakultativno)",promoCodeError:"promoCodeError",registerSecurityQuestion:"Sigurnosno pitanje",registerSecurityQuestion2:"Vrsta dokumenta",registerSecurityQuestionError:"Sigurnosno pitanje mora imati najmanje 1 znak i najviše 120 znakova.",registerSecurityQuestionError2:"Prihvaćaju se samo slova i brojke.",registerSecurityAnswer:"Sigurnosni Odgovor",registerSecurityAnswer2:"Broj dokumenta",registerSecurityAnswerError:"Sigurnosni odgovor mora imati najmanje 1 znak i najviše 120 znakova.",registerSecurityAnswerError2:"Prihvaćaju se samo slova i brojke.",registerNext:"Sljedeće"}};function Ii(e){let r,i,n=e[31]("registerEmailError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){1&t[1]&&n!==(n=e[31]("registerEmailError")+"")&&Et(i,n)},d(e){e&>(r)}}}function Ui(e){let r,i,n=e[31]("registerUsernameError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){1&t[1]&&n!==(n=e[31]("registerUsernameError")+"")&&Et(i,n)},d(e){e&>(r)}}}function Yi(r){let i,n,s,o,a,l,c,u,d;return{c(){i=t("svg"),n=t("defs"),s=t("style"),o=vt(".a{fill:var(--emfe-w-registration-typography, var(--emfe-w-color-background, #07072A));}"),a=t("g"),l=t("path"),c=t("circle"),_t(l,"class","a"),_t(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),_t(l,"transform","translate(0)"),_t(c,"class","a"),_t(c,"cx","2.779"),_t(c,"cy","2.779"),_t(c,"r","2.779"),_t(c,"transform","translate(20.827 30.303)"),_t(a,"transform","translate(-14.185 -27.832)"),_t(i,"class","TogglePasswordVisibility"),_t(i,"xmlns","http://www.w3.org/2000/svg"),_t(i,"width","18.843"),_t(i,"height","10.5"),_t(i,"viewBox","0 0 18.843 10.5")},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(s,o),mt(i,a),mt(a,l),mt(a,c),u||(d=wt(i,"click",r[63]),u=!0)},p:ht,d(e){e&>(i),u=!1,d()}}}function ji(r){let i,n,s,o,a,l,c,u,d,h,f,m,p,g,y;return{c(){i=t("svg"),n=t("defs"),s=t("style"),o=vt(".a{fill:var(--emfe-w-registration-typography, var(--emfe-w-color-background, #07072A));}"),a=t("g"),l=t("circle"),c=t("g"),u=t("path"),d=t("path"),h=t("g"),f=t("path"),m=t("path"),p=t("rect"),_t(l,"class","a"),_t(l,"cx","0.05"),_t(l,"cy","0.05"),_t(l,"r","0.05"),_t(l,"transform","translate(121.017 31.148)"),_t(u,"class","a"),_t(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),_t(u,"transform","translate(-142.164 -39.123)"),_t(d,"class","a"),_t(d,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),_t(d,"transform","translate(-136.413 -42.068)"),_t(c,"transform","translate(117.499 27.37)"),_t(f,"class","a"),_t(f,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),_t(f,"transform","translate(-110.856 -33.157)"),_t(m,"class","a"),_t(m,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),_t(m,"transform","translate(-130.743 -29.617)"),_t(h,"transform","translate(110.856 24.899)"),_t(p,"class","a"),_t(p,"width","0.972"),_t(p,"height","15.861"),_t(p,"rx","0.486"),_t(p,"transform","translate(114.827 23.858) rotate(-39.315)"),_t(a,"transform","translate(-110.856 -23.242)"),_t(i,"class","TogglePasswordVisibility"),_t(i,"xmlns","http://www.w3.org/2000/svg"),_t(i,"width","18.844"),_t(i,"height","12.887"),_t(i,"viewBox","0 0 18.844 12.887")},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(s,o),mt(i,a),mt(a,l),mt(a,c),mt(c,u),mt(c,d),mt(a,h),mt(h,f),mt(h,m),mt(a,p),g||(y=wt(i,"click",r[62]),g=!0)},p:ht,d(e){e&>(i),g=!1,y()}}}function Gi(e){let r,i,n=e[31]("registerPasswordError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){1&t[1]&&n!==(n=e[31]("registerPasswordError")+"")&&Et(i,n)},d(e){e&>(r)}}}function zi(e){let r,i,n=e[31]("registerSimplePasswordError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){1&t[1]&&n!==(n=e[31]("registerSimplePasswordError")+"")&&Et(i,n)},d(e){e&>(r)}}}function Vi(r){let i,n,s,o,a,l,c,u,d;return{c(){i=t("svg"),n=t("defs"),s=t("style"),o=vt(".a{fill:var(--emfe-w-registration-typography, var(--emfe-w-color-background, #07072A));}"),a=t("g"),l=t("path"),c=t("circle"),_t(l,"class","a"),_t(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),_t(l,"transform","translate(0)"),_t(c,"class","a"),_t(c,"cx","2.779"),_t(c,"cy","2.779"),_t(c,"r","2.779"),_t(c,"transform","translate(20.827 30.303)"),_t(a,"transform","translate(-14.185 -27.832)"),_t(i,"class","ToggleConfirmPasswordVisibility"),_t(i,"xmlns","http://www.w3.org/2000/svg"),_t(i,"width","18.843"),_t(i,"height","10.5"),_t(i,"viewBox","0 0 18.843 10.5")},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(s,o),mt(i,a),mt(a,l),mt(a,c),u||(d=wt(i,"click",r[69]),u=!0)},p:ht,d(e){e&>(i),u=!1,d()}}}function Wi(r){let i,n,s,o,a,l,c,u,d,h,f,m,p,g,y;return{c(){i=t("svg"),n=t("defs"),s=t("style"),o=vt(".a{fill:var(--emfe-w-registration-typography, var(--emfe-w-color-background, #07072A));}"),a=t("g"),l=t("circle"),c=t("g"),u=t("path"),d=t("path"),h=t("g"),f=t("path"),m=t("path"),p=t("rect"),_t(l,"class","a"),_t(l,"cx","0.05"),_t(l,"cy","0.05"),_t(l,"r","0.05"),_t(l,"transform","translate(121.017 31.148)"),_t(u,"class","a"),_t(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),_t(u,"transform","translate(-142.164 -39.123)"),_t(d,"class","a"),_t(d,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),_t(d,"transform","translate(-136.413 -42.068)"),_t(c,"transform","translate(117.499 27.37)"),_t(f,"class","a"),_t(f,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),_t(f,"transform","translate(-110.856 -33.157)"),_t(m,"class","a"),_t(m,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),_t(m,"transform","translate(-130.743 -29.617)"),_t(h,"transform","translate(110.856 24.899)"),_t(p,"class","a"),_t(p,"width","0.972"),_t(p,"height","15.861"),_t(p,"rx","0.486"),_t(p,"transform","translate(114.827 23.858) rotate(-39.315)"),_t(a,"transform","translate(-110.856 -23.242)"),_t(i,"class","ToggleConfirmPasswordVisibility"),_t(i,"xmlns","http://www.w3.org/2000/svg"),_t(i,"width","18.844"),_t(i,"height","12.887"),_t(i,"viewBox","0 0 18.844 12.887")},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(s,o),mt(i,a),mt(a,l),mt(a,c),mt(c,u),mt(c,d),mt(a,h),mt(h,f),mt(h,m),mt(a,p),g||(y=wt(i,"click",r[68]),g=!0)},p:ht,d(e){e&>(i),g=!1,y()}}}function Zi(e){let r,i,n=e[31]("registerConfirmPasswordError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){1&t[1]&&n!==(n=e[31]("registerConfirmPasswordError")+"")&&Et(i,n)},d(e){e&>(r)}}}function Qi(e){let r,i,n=e[31]("promoCodeError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){1&t[1]&&n!==(n=e[31]("promoCodeError")+"")&&Et(i,n)},d(e){e&>(r)}}}function qi(e){let r,i,n=("true"==e[2]?e[31]("registerSecurityQuestionError2"):e[31]("registerSecurityQuestionError"))+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){4&t[0]|1&t[1]&&n!==(n=("true"==e[2]?e[31]("registerSecurityQuestionError2"):e[31]("registerSecurityQuestionError"))+"")&&Et(i,n)},d(e){e&>(r)}}}function Xi(e){let r,i,n=("true"==e[2]?e[31]("registerSecurityAnswerError2"):e[31]("registerSecurityAnswerError"))+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){4&t[0]|1&t[1]&&n!==(n=("true"==e[2]?e[31]("registerSecurityAnswerError2"):e[31]("registerSecurityAnswerError"))+"")&&Et(i,n)},d(e){e&>(r)}}}function Ki(r){let i,n,$,F,I,s,U,Y,j,G,z,o,a,l,V,W,Z,Q,c,q,X,K,u,d,J,ee,te,re,h,ie,ne,se,oe,f,m,ae,le,ce,ue,p,de,he,fe,me,pe,ge,ye,g,y,ve,be,we,_e,v,Ee,Se,Ce,xe,b,Te,ke,Me,Pe,w,Oe,De,Be,_,E,Ae,Ne,He,Re,S,Le,$e,Fe,C,x,Ie,Ue,Ye,je,T,Ge,ze,Ve,k,We,Ze,Qe,qe,Xe=r[31]("registerTitle")+"",Ke=r[31]("registerSubtitle")+"",Je=r[31]("registerSubtitleLogin")+"",et=r[31]("registerEmail")+"",tt=r[31]("registerUsername")+"",rt=r[31]("registerPassword")+"",it=r[31]("registerConfirmPassword")+"",nt=r[31]("registerPromoCode")+"",st=("true"==r[2]?r[31]("registerSecurityQuestion2"):r[31]("registerSecurityQuestion"))+"",ot=("true"==r[2]?r[31]("registerSecurityAnswer2"):r[31]("registerSecurityAnswer"))+"",at=r[31]("registerNext")+"",M=r[4]&&Ii(r),P=r[5]&&Ui(r);function lt(e){return e[26]?ji:Yi}let ct=lt(r),O=ct(r),D=r[6]&&"true"!==r[0]&&Gi(r),B=r[6]&&"true"===r[0]&&zi(r);function ut(e){return e[27]?Wi:Vi}let dt=ut(r),A=dt(r),N=r[7]&&Zi(r),H=r[10]&&Qi(r),R=r[8]&&qi(r),L=r[9]&&Xi(r);return{c(){i=yt("div"),n=yt("div"),$=yt("h2"),F=vt(Xe),I=bt(),s=yt("p"),U=vt(Ke),Y=bt(),j=yt("span"),G=vt(Je),z=bt(),o=yt("form"),a=yt("div"),l=yt("label"),V=vt(et),W=vt(":"),(Z=yt("span")).textContent="*",Q=bt(),c=yt("input"),q=bt(),M&&M.c(),K=bt(),u=yt("div"),d=yt("label"),J=vt(tt),ee=vt(":"),(te=yt("span")).textContent="*",re=bt(),h=yt("input"),ne=bt(),P&&P.c(),oe=bt(),f=yt("div"),m=yt("label"),ae=vt(rt),le=vt(":"),(ce=yt("span")).textContent="*",ue=bt(),p=yt("input"),he=bt(),O.c(),fe=bt(),D&&D.c(),me=bt(),B&&B.c(),ye=bt(),g=yt("div"),y=yt("label"),ve=vt(it),be=vt(":"),(we=yt("span")).textContent="*",_e=bt(),v=yt("input"),Ee=bt(),A.c(),Se=bt(),N&&N.c(),xe=bt(),b=yt("div"),Te=yt("label"),ke=vt(nt),Me=vt(":"),Pe=bt(),w=yt("input"),Oe=bt(),H&&H.c(),Be=bt(),_=yt("div"),E=yt("label"),Ae=vt(st),Ne=vt(":"),(He=yt("span")).textContent="*",Re=bt(),S=yt("input"),Le=bt(),R&&R.c(),Fe=bt(),C=yt("div"),x=yt("label"),Ie=vt(ot),Ue=vt(":"),(Ye=yt("span")).textContent="*",je=bt(),T=yt("input"),Ge=bt(),L&&L.c(),Ve=bt(),k=yt("button"),We=vt(at),this.c=ht,_t($,"class","RegisterFormTitle"),_t(j,"class","FormLoginCallToAction"),_t(s,"class","RegisterFormSubtitle"),_t(n,"class","RegisterFormHeader"),_t(Z,"class","FormRequired"),_t(l,"for","Email"),_t(c,"type","text"),_t(c,"id","Email"),_t(a,"class",X="EmailContainer "+(r[4]&&!r[11]?"InvalidField":"")+(0<=r[18]?.indexOf("email")?"Hidden":"")),_t(te,"class","FormRequired"),_t(d,"for","UserName"),_t(h,"type","text"),_t(h,"id","UserName"),_t(h,"autocomplete",ie=r[1]?"username":"off"),_t(u,"class",se="UserContainer "+(r[5]&&!r[12]?"InvalidField":"")+(0<=r[18]?.indexOf("username")?"Hidden":"")),_t(ce,"class","FormRequired"),_t(m,"for","Password"),_t(p,"name","new-password"),_t(p,"type","password"),_t(p,"id","new-password"),_t(p,"autocomplete",de=r[1]?"new-password":"off"),_t(p,"aria-describedby","password-constraints"),_t(f,"class",pe="PasswordContainer "+(r[6]&&!r[13]?"InvalidField":"")+(0<=r[18]?.indexOf("password")?"Hidden":"")),f.hidden=ge=0<=r[18]?.indexOf("password"),_t(we,"class","FormRequired"),_t(y,"for","ConfirmPassword"),_t(v,"type","password"),_t(v,"id","ConfirmPassword"),_t(g,"class",Ce="ConfirmPasswordContainer "+(r[7]&&!r[14]?"InvalidField":"")+(0<=r[18]?.indexOf("confirmPassword")?"Hidden":"")),_t(Te,"for","PromoCode"),_t(w,"type","text"),_t(w,"id","PromoCode"),_t(b,"class",De="PromoCodeContainer "+(0<=r[18]?.indexOf("promoCode")?"Hidden":"")),_t(He,"class","FormRequired"),_t(E,"for","SecurityQuestion"),_t(S,"type","text"),_t(S,"id","SecurityQuestion"),_t(_,"class",$e="SecurityQuestionContainer "+(r[8]&&!r[15]?"InvalidField":"")+(0<=r[18]?.indexOf("securityQuestion")?"Hidden":"")),_t(Ye,"class","FormRequired"),_t(x,"for","SecurityAnswer"),_t(T,"type","text"),_t(T,"id","SecurityAnswer"),_t(C,"class",ze="SecurityAnswerContainer "+(r[9]&&!r[16]?"InvalidField":"")+(0<=r[18]?.indexOf("securityAnswer")?"Hidden":"")),_t(k,"class","RegisterStepNext"),k.disabled=Ze=!r[30],_t(o,"class","RegisterFormContent")},m(e,t){pt(e,i,t),mt(i,n),mt(n,$),mt($,F),mt(n,I),mt(n,s),mt(s,U),mt(s,Y),mt(s,j),mt(j,G),mt(i,z),mt(i,o),mt(o,a),mt(a,l),mt(l,V),mt(l,W),mt(l,Z),mt(a,Q),mt(a,c),St(c,r[20]),mt(a,q),M&&M.m(a,null),mt(o,K),mt(o,u),mt(u,d),mt(d,J),mt(d,ee),mt(d,te),mt(u,re),mt(u,h),St(h,r[19]),mt(u,ne),P&&P.m(u,null),mt(o,oe),mt(o,f),mt(f,m),mt(m,ae),mt(m,le),mt(m,ce),mt(f,ue),mt(f,p),St(p,r[21]),r[61](p),mt(f,he),O.m(f,null),mt(f,fe),D&&D.m(f,null),mt(f,me),B&&B.m(f,null),mt(o,ye),mt(o,g),mt(g,y),mt(y,ve),mt(y,be),mt(y,we),mt(g,_e),mt(g,v),St(v,r[22]),r[67](v),mt(g,Ee),A.m(g,null),mt(g,Se),N&&N.m(g,null),mt(o,xe),mt(o,b),mt(b,Te),mt(Te,ke),mt(Te,Me),mt(b,Pe),mt(b,w),St(w,r[25]),mt(b,Oe),H&&H.m(b,null),mt(o,Be),mt(o,_),mt(_,E),mt(E,Ae),mt(E,Ne),mt(E,He),mt(_,Re),mt(_,S),St(S,r[23]),mt(_,Le),R&&R.m(_,null),mt(o,Fe),mt(o,C),mt(C,x),mt(x,Ie),mt(x,Ue),mt(x,Ye),mt(C,je),mt(C,T),St(T,r[24]),mt(C,Ge),L&&L.m(C,null),mt(o,Ve),mt(o,k),mt(k,We),r[80](i),Qe||(qe=[wt(j,"click",r[51]),wt(c,"input",r[52]),wt(c,"keyup",r[33]),wt(c,"focus",r[53]),wt(c,"blur",r[54]),wt(h,"input",r[55]),wt(h,"keyup",r[34]),wt(h,"focus",r[56]),wt(h,"blur",r[57]),wt(p,"input",r[58]),wt(p,"keyup",r[39]),wt(p,"focus",r[59]),wt(p,"blur",r[60]),wt(v,"input",r[64]),wt(v,"keyup",r[40]),wt(v,"focus",r[65]),wt(v,"blur",r[66]),wt(w,"input",r[70]),wt(w,"keyup",r[41]),wt(w,"focus",r[71]),wt(w,"blur",r[72]),wt(S,"input",r[73]),wt(S,"keyup",r[42]),wt(S,"focus",r[74]),wt(S,"blur",r[75]),wt(T,"input",r[76]),wt(T,"keyup",r[43]),wt(T,"focus",r[77]),wt(T,"blur",r[78]),wt(k,"click",r[79])],Qe=!0)},p(e,t){1&t[1]&&Xe!==(Xe=e[31]("registerTitle")+"")&&Et(F,Xe),1&t[1]&&Ke!==(Ke=e[31]("registerSubtitle")+"")&&Et(U,Ke),1&t[1]&&Je!==(Je=e[31]("registerSubtitleLogin")+"")&&Et(G,Je),1&t[1]&&et!==(et=e[31]("registerEmail")+"")&&Et(V,et),1048576&t[0]&&c.value!==e[20]&&St(c,e[20]),e[4]?M?M.p(e,t):((M=Ii(e)).c(),M.m(a,null)):M&&(M.d(1),M=null),264208&t[0]&&X!==(X="EmailContainer "+(e[4]&&!e[11]?"InvalidField":"")+(0<=e[18]?.indexOf("email")?"Hidden":""))&&_t(a,"class",X),1&t[1]&&tt!==(tt=e[31]("registerUsername")+"")&&Et(J,tt),2&t[0]&&ie!==(ie=e[1]?"username":"off")&&_t(h,"autocomplete",ie),524288&t[0]&&h.value!==e[19]&&St(h,e[19]),e[5]?P?P.p(e,t):((P=Ui(e)).c(),P.m(u,null)):P&&(P.d(1),P=null),266272&t[0]&&se!==(se="UserContainer "+(e[5]&&!e[12]?"InvalidField":"")+(0<=e[18]?.indexOf("username")?"Hidden":""))&&_t(u,"class",se),1&t[1]&&rt!==(rt=e[31]("registerPassword")+"")&&Et(ae,rt),2&t[0]&&de!==(de=e[1]?"new-password":"off")&&_t(p,"autocomplete",de),2097152&t[0]&&p.value!==e[21]&&St(p,e[21]),ct===(ct=lt(e))&&O?O.p(e,t):(O.d(1),(O=ct(e))&&(O.c(),O.m(f,fe))),e[6]&&"true"!==e[0]?D?D.p(e,t):((D=Gi(e)).c(),D.m(f,me)):D&&(D.d(1),D=null),e[6]&&"true"===e[0]?B?B.p(e,t):((B=zi(e)).c(),B.m(f,null)):B&&(B.d(1),B=null),270400&t[0]&&pe!==(pe="PasswordContainer "+(e[6]&&!e[13]?"InvalidField":"")+(0<=e[18]?.indexOf("password")?"Hidden":""))&&_t(f,"class",pe),262144&t[0]&&ge!==(ge=0<=e[18]?.indexOf("password"))&&(f.hidden=ge),1&t[1]&&it!==(it=e[31]("registerConfirmPassword")+"")&&Et(ve,it),4194304&t[0]&&v.value!==e[22]&&St(v,e[22]),dt===(dt=ut(e))&&A?A.p(e,t):(A.d(1),(A=dt(e))&&(A.c(),A.m(g,Se))),e[7]?N?N.p(e,t):((N=Zi(e)).c(),N.m(g,null)):N&&(N.d(1),N=null),278656&t[0]&&Ce!==(Ce="ConfirmPasswordContainer "+(e[7]&&!e[14]?"InvalidField":"")+(0<=e[18]?.indexOf("confirmPassword")?"Hidden":""))&&_t(g,"class",Ce),1&t[1]&&nt!==(nt=e[31]("registerPromoCode")+"")&&Et(ke,nt),33554432&t[0]&&w.value!==e[25]&&St(w,e[25]),e[10]?H?H.p(e,t):((H=Qi(e)).c(),H.m(b,null)):H&&(H.d(1),H=null),262144&t[0]&&De!==(De="PromoCodeContainer "+(0<=e[18]?.indexOf("promoCode")?"Hidden":""))&&_t(b,"class",De),4&t[0]|1&t[1]&&st!==(st=("true"==e[2]?e[31]("registerSecurityQuestion2"):e[31]("registerSecurityQuestion"))+"")&&Et(Ae,st),8388608&t[0]&&S.value!==e[23]&&St(S,e[23]),e[8]?R?R.p(e,t):((R=qi(e)).c(),R.m(_,null)):R&&(R.d(1),R=null),295168&t[0]&&$e!==($e="SecurityQuestionContainer "+(e[8]&&!e[15]?"InvalidField":"")+(0<=e[18]?.indexOf("securityQuestion")?"Hidden":""))&&_t(_,"class",$e),4&t[0]|1&t[1]&&ot!==(ot=("true"==e[2]?e[31]("registerSecurityAnswer2"):e[31]("registerSecurityAnswer"))+"")&&Et(Ie,ot),16777216&t[0]&&T.value!==e[24]&&St(T,e[24]),e[9]?L?L.p(e,t):((L=Xi(e)).c(),L.m(C,null)):L&&(L.d(1),L=null),328192&t[0]&&ze!==(ze="SecurityAnswerContainer "+(e[9]&&!e[16]?"InvalidField":"")+(0<=e[18]?.indexOf("securityAnswer")?"Hidden":""))&&_t(C,"class",ze),1&t[1]&&at!==(at=e[31]("registerNext")+"")&&Et(We,at),1073741824&t[0]&&Ze!==(Ze=!e[30])&&(k.disabled=Ze)},i:ht,o:ht,d(e){e&>(i),M&&M.d(),P&&P.d(),r[61](null),O.d(),D&&D.d(),B&&B.d(),r[67](null),A.d(),N&&N.d(),H&&H.d(),R&&R.d(),L&&L.d(),r[80](null),Qe=!1,ft(qe)}}}function Ji(t,e,r){let R;le(t,Oi,e=>r(31,R=e));let i,n,s,o,{lang:a=""}=e,{disabledfields:l=""}=e,{defaultoptions:L=""}=e,{simplepasswordvalidation:c="false"}=e,{clientstyling:u=""}=e,{clientstylingurl:d=""}=e,{translationurl:h=""}=e,{savecredentials:$=""}=e,{custominputtextswitch:f="false"}=e,m=!1,p=!1,g=!1,y=!1,v=!1,b=!1,w=!1,_=!1,E=!1,S=!1,C=!1,F=!1,I=!1,U=!1,x="",T="",k="",M="",P="",O="",D="",B=!1,A=!1,Y=!1,N={user:/^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,email:/^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/,document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/};Object.keys(Fi).forEach(e=>{$i(e,Fi[e])});const H=()=>{r(30,Y=!(m||p||g||y||v||b||w)),(x.length<=0||T.length<=0||k.length<=0||M.length<=0||P.length<=0||O.length<=0)&&r(30,Y=!1)},j=()=>{window.postMessage({type:"ToLogin"},window.location.href)},G=()=>{r(26,B=!0),Z()},z=()=>{r(27,A=!0),Q()},V=()=>{r(26,B=!1),Z()},W=()=>{r(27,A=!1),Q()},Z=()=>{r(28,n.type=B?"text":"password",n)},Q=()=>{r(29,s.type=A?"text":"password",s)},q=e=>{e.preventDefault();e={userEmail:T,userValue:x,userPassword:k,confirmUserPassword:M,securityQuestion:P,securityAnswer:O,promoCode:D};window.postMessage({type:"RegisterStepOne",registerStepOneData:e},window.location.href)},X=e=>{e.data&&"StepOneDataBackup"===e.data.type&&(r(20,T=e.data.userData.email),r(19,x=e.data.userData.username),r(21,k=e.data.userData.password),r(22,M=e.data.userData.password),r(23,P=e.data.userData.securityQuestion),r(24,O=e.data.userData.securityAnswer),r(25,D=e.data.userData.promoCode),H())};return ce(()=>(window.addEventListener("message",X,!1),()=>{window.removeEventListener("message",X)})),t.$$set=e=>{"lang"in e&&r(45,a=e.lang),"disabledfields"in e&&r(46,l=e.disabledfields),"defaultoptions"in e&&r(47,L=e.defaultoptions),"simplepasswordvalidation"in e&&r(0,c=e.simplepasswordvalidation),"clientstyling"in e&&r(48,u=e.clientstyling),"clientstylingurl"in e&&r(49,d=e.clientstylingurl),"translationurl"in e&&r(50,h=e.translationurl),"savecredentials"in e&&r(1,$=e.savecredentials),"custominputtextswitch"in e&&r(2,f=e.custominputtextswitch)},t.$$.update=()=>{if(16384&t.$$.dirty[1]&&a&&(e=a,ae.set(e)),32768&t.$$.dirty[1]&&l&&(r(18,i=l.split(",")),0<=i.indexOf("email")&&(r(20,T="dummy@dummy.com"),r(4,m=!1)),0<=i.indexOf("username")&&(r(19,x="dummy username"),r(5,p=!1)),0<=i.indexOf("password")&&(r(21,k="dummy password"),r(6,g=!1)),0<=i.indexOf("confirmPassword")&&(r(22,M="dummy password"),r(7,y=!1)),0<=i.indexOf("securityQuestion")&&(r(23,P="dummy question"),r(8,v=!1)),0<=i.indexOf("securityAnswer")&&(r(24,O="dummy answer"),r(9,b=!1)),0<=i.indexOf("promoCode"))&&r(10,w=!1),1&t.$$.dirty[0]&&c&&"true"==c&&(N.password=/^(?!.* ).{8,20}$/),8&t.$$.dirty[0]|131072&t.$$.dirty[1]&&u&&o&&((e=document.createElement("style")).innerHTML=u,o.appendChild(e)),8&t.$$.dirty[0]|262144&t.$$.dirty[1]&&d&&o){let e=new URL(d),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{},500)})}var e;524288&t.$$.dirty[1]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{$i(e,t[e])})}).catch(e=>{console.log(e)})},[c,$,f,o,m,p,g,y,v,b,w,_,E,S,C,F,I,U,i,x,T,k,M,P,O,D,B,A,n,s,Y,R,j,()=>{var e;r(4,(e=T,m=!(N.email.test(e)&&e.length<=100))),H()},()=>{var e;r(5,(e=x,p=!(N.user.test(e)&&e.length<=20))),H()},G,z,V,W,()=>{var e;r(6,(e=k,g=!N.password.test(e))),k!==M&&0<M.length?r(7,y=!0):r(7,y=!1),H()},()=>{r(7,y=!(k===M)),H()},()=>{r(10,w=!1),H()},()=>{r(8,v=!(()=>{if(P)switch(f){case"true":if(N.document.test(P)&&P.length<=50)return!0;break;case"false":if(P&&P.length<=120)return!0}return!1})()),H()},()=>{r(9,b=!(()=>{if(O)switch(f){case"true":if(N.document.test(O)&&O.length<=50)return!0;break;case"false":if(O&&O.length<=120)return!0}return!1})()),H()},q,a,l,L,u,d,h,()=>j(),function(){T=this.value,r(20,T)},()=>r(11,_=!0),()=>r(11,_=!1),function(){x=this.value,r(19,x)},()=>r(12,E=!0),()=>r(12,E=!1),function(){k=this.value,r(21,k)},()=>r(13,S=!0),()=>r(13,S=!1),function(e){oe[e?"unshift":"push"](()=>{n=e,r(28,n)})},()=>V(),()=>G(),function(){M=this.value,r(22,M)},()=>r(14,C=!0),()=>r(14,C=!1),function(e){oe[e?"unshift":"push"](()=>{s=e,r(29,s)})},()=>W(),()=>z(),function(){D=this.value,r(25,D)},()=>r(17,U=!0),()=>r(17,U=!1),function(){P=this.value,r(23,P)},()=>r(15,F=!0),()=>r(15,F=!1),function(){O=this.value,r(24,O)},()=>r(16,I=!0),()=>r(16,I=!1),e=>q(e),function(e){oe[e?"unshift":"push"](()=>{o=e,r(3,o)})}]}customElements.get("general-player-register-form-step1")||customElements.define("general-player-register-form-step1",class extends I{constructor(e){super();var t=document.createElement("style");t.textContent=".RegisterFormTitle{font-size:20px;text-transform:uppercase;font-weight:300;margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:14px;margin:0;padding-bottom:20px}.FormLoginCallToAction{color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.PromoCodeContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:40px;position:relative}.EmailContainer label,.UserContainer label,.PasswordContainer label,.ConfirmPasswordContainer label,.PromoCodeContainer label,.SecurityQuestionContainer label,.SecurityAnswerContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.PromoCodeContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.EmailContainer.InvalidField input,.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.ConfirmPasswordContainer.InvalidField input,.SecurityQuestionContainer.InvalidField input,.SecurityAnswerContainer.InvalidField input{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));background:var(--emfe-w-color-pale, #FBECF4);color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.EmailContainer.Hidden,.UserContainer.Hidden,.PasswordContainer.Hidden,.ConfirmPasswordContainer.Hidden,.PromoCodeContainer.Hidden,.SecurityQuestionContainer.Hidden,.SecurityAnswerContainer.Hidden{display:none}.PasswordContainer,.ConfirmPasswordContainer{position:relative}.PasswordContainer input,.ConfirmPasswordContainer input{padding:5px 30px 5px 15px}.FormRequired{color:var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839))}.TogglePasswordVisibility,.ToggleConfirmPasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect,.ToggleConfirmPasswordVisibility path,.ToggleConfirmPasswordVisibility circle,.ToggleConfirmPasswordVisibility rect{fill:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B))}.InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));font-size:10px;position:absolute;padding-top:5px;top:55px;line-height:10px}.RegisterStepNext{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);cursor:not-allowed}input::-ms-reveal,input::-ms-clear{display:none}",this.shadowRoot.appendChild(t),F(this,{target:this.shadowRoot,props:M(this.attributes),customElement:!0},Ji,Ki,S,{lang:45,disabledfields:46,defaultoptions:47,simplepasswordvalidation:0,clientstyling:48,clientstylingurl:49,translationurl:50,savecredentials:1,custominputtextswitch:2},null,[-1,-1,-1,-1]),e&&(e.target&&pt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["lang","disabledfields","defaultoptions","simplepasswordvalidation","clientstyling","clientstylingurl","translationurl","savecredentials","custominputtextswitch"]}get lang(){return this.$$.ctx[45]}set lang(e){this.$$set({lang:e}),h()}get disabledfields(){return this.$$.ctx[46]}set disabledfields(e){this.$$set({disabledfields:e}),h()}get defaultoptions(){return this.$$.ctx[47]}set defaultoptions(e){this.$$set({defaultoptions:e}),h()}get simplepasswordvalidation(){return this.$$.ctx[0]}set simplepasswordvalidation(e){this.$$set({simplepasswordvalidation:e}),h()}get clientstyling(){return this.$$.ctx[48]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[49]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[50]}set translationurl(e){this.$$set({translationurl:e}),h()}get savecredentials(){return this.$$.ctx[1]}set savecredentials(e){this.$$set({savecredentials:e}),h()}get custominputtextswitch(){return this.$$.ctx[2]}set custominputtextswitch(e){this.$$set({custominputtextswitch:e}),h()}});tn=en={path:void 0,exports:{},require:function(e,t){return Or(null==t&&en.path)}},en.exports,tn.exports=function(){var R;function m(){return R.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function L(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function $(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(p(e,t))return;return 1}function a(e){return void 0===e}function F(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function I(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function U(e,t){for(var r=[],i=e.length,n=0;n<i;++n)r.push(t(e[n],n));return r}function Y(e,t){for(var r in t)p(t,r)&&(e[r]=t[r]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,r,i){return Dt(e,t,r,i,!0).utc()}function g(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 j(e){if(null==e._isValid){var t=g(e),r=z.call(t.parsedDateParts,function(e){return null!=e}),r=!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&&r);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function G(e){var t=c(NaN);return null!=e?Y(g(t),e):g(t).userInvalidated=!0,t}var z=Array.prototype.some||function(e){for(var t=Object(this),r=t.length>>>0,i=0;i<r;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1},V=m.momentProperties=[],W=!1;function Z(e,t){var r,i,n,s=V.length;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=g(t)),a(t._locale)||(e._locale=t._locale),0<s)for(r=0;r<s;r++)a(n=t[i=V[r]])||(e[i]=n);return e}function Q(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===W&&(W=!0,m.updateOffset(this),W=!1)}function l(e){return e instanceof Q||null!=e&&null!=e._isAMomentObject}function q(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(s,o){var a=!0;return Y(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,s),a){for(var e,t,r=[],i=arguments.length,n=0;n<i;n++){if(e="","object"==typeof arguments[n]){for(t in e+="\n["+n+"] ",arguments[0])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[n];r.push(e)}q(s+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),a=!1}return o.apply(this,arguments)},o)}var X={};function K(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),X[e]||(q(t),X[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function J(e,t){var r,i=Y({},e);for(r in t)p(t,r)&&(L(e[r])&&L(t[r])?(i[r]={},Y(i[r],e[r]),Y(i[r],t[r])):null!=t[r]?i[r]=t[r]:delete i[r]);for(r in e)p(e,r)&&!p(t,r)&&L(e[r])&&(i[r]=Y({},i[r]));return i}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,r=[];for(t in e)p(e,t)&&r.push(t);return r};function s(e,t,r){var i=""+Math.abs(e);return(0<=e?r?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}var re=/(\[[^\[]*\])|(\\)?([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,ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ne={},se={};function i(e,t,r,i){var n="string"==typeof i?function(){return this[i]()}:i;e&&(se[e]=n),t&&(se[t[0]]=function(){return s(n.apply(this,arguments),t[1],t[2])}),r&&(se[r]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=ae(t,e.localeData()),ne[t]=ne[t]||function(i){for(var e,n=i.match(re),t=0,s=n.length;t<s;t++)se[n[t]]?n[t]=se[n[t]]:n[t]=(e=n[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",r=0;r<s;r++)t+=u(n[r])?n[r].call(e,i):n[r];return t}}(t),ne[t](e)):e.localeData().invalidDate()}function ae(e,t){var r=5;function i(e){return t.longDateFormat(e)||e}for(ie.lastIndex=0;0<=r&&ie.test(e);)e=e.replace(ie,i),ie.lastIndex=0,--r;return e}var le={};function t(e,t){var r=e.toLowerCase();le[r]=le[r+"s"]=le[t]=e}function d(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,r,i={};for(r in e)p(e,r)&&(t=d(r))&&(i[t]=e[r]);return i}var ue={};function r(e,t){ue[e]=t}function de(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 f(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?h(e):t}function he(t,r){return function(e){return null!=e?(me(this,t,e),m.updateOffset(this,r),this):fe(this,t)}}function fe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,r){e.isValid()&&!isNaN(r)&&("FullYear"===t&&de(e.year())&&1===e.month()&&29===e.date()?(r=f(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),Ne(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}var n=/\d/,y=/\d\d/,pe=/\d{3}/,ge=/\d{4}/,ye=/[+-]?\d{6}/,v=/\d\d?/,ve=/\d\d\d\d?/,be=/\d\d\d\d\d\d?/,we=/\d{1,3}/,_e=/\d{1,4}/,Ee=/[+-]?\d{1,6}/,Se=/\d+/,Ce=/[+-]?\d+/,xe=/Z|[+-]\d\d:?\d\d/gi,Te=/Z|[+-]\d\d(?::?\d\d)?/gi,b=/[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 w(e,r,i){Me[e]=u(r)?r:function(e,t){return e&&i?i:r}}function ke(e,t){return p(Me,e)?Me[e](t._strict,t._locale):new RegExp(_(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,r,i,n){return t||r||i||n})))}function _(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Me={},Pe={};function E(e,r){var t,i,n=r;for("string"==typeof e&&(e=[e]),F(r)&&(n=function(e,t){t[r]=f(e)}),i=e.length,t=0;t<i;t++)Pe[e[t]]=n}function Oe(e,n){E(e,function(e,t,r,i){r._w=r._w||{},n(e,r._w,r,i)})}var S,C=0,x=1,T=2,k=3,M=4,P=5,De=6,Be=7,Ae=8;function Ne(e,t){var r;return isNaN(e)||isNaN(t)?NaN:(r=(t%(r=12)+r)%r,e+=(t-r)/12,1==r?de(e)?29:28:31-r%7%2)}S=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},i("M",["MM",2],"Mo",function(){return this.month()+1}),i("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),i("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),r("month",8),w("M",v),w("MM",v,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),E(["M","MM"],function(e,t){t[x]=f(e)-1}),E(["MMM","MMMM"],function(e,t,r,i){i=r._locale.monthsParse(e,i,r._strict);null!=i?t[x]=i:g(r).invalidMonth=e});var He="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Le=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,$e=b,Fe=b;function Ie(e,t){var r;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=f(t);else if(!F(t=e.localeData().monthsParse(t)))return;r=Math.min(e.date(),Ne(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r)}}function Ue(e){return null!=e?(Ie(this,e),m.updateOffset(this,!0),this):fe(this,"Month")}function Ye(){function e(e,t){return t.length-e.length}for(var t,r=[],i=[],n=[],s=0;s<12;s++)t=c([2e3,s]),r.push(this.monthsShort(t,"")),i.push(this.months(t,"")),n.push(this.months(t,"")),n.push(this.monthsShort(t,""));for(r.sort(e),i.sort(e),n.sort(e),s=0;s<12;s++)r[s]=_(r[s]),i[s]=_(i[s]);for(s=0;s<24;s++)n[s]=_(n[s]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function je(e){return de(e)?366:365}i("Y",0,0,function(){var e=this.year();return e<=9999?s(e,4):"+"+e}),i(0,["YY",2],0,function(){return this.year()%100}),i(0,["YYYY",4],0,"year"),i(0,["YYYYY",5],0,"year"),i(0,["YYYYYY",6,!0],0,"year"),t("year","y"),r("year",1),w("Y",Ce),w("YY",v,y),w("YYYY",_e,ge),w("YYYYY",Ee,ye),w("YYYYYY",Ee,ye),E(["YYYYY","YYYYYY"],C),E("YYYY",function(e,t){t[C]=2===e.length?m.parseTwoDigitYear(e):f(e)}),E("YY",function(e,t){t[C]=m.parseTwoDigitYear(e)}),E("Y",function(e,t){t[C]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return f(e)+(68<f(e)?1900:2e3)};var Ge=he("FullYear",!0);function ze(e,t,r,i,n,s,o){var a;return e<100&&0<=e?(a=new Date(e+400,t,r,i,n,s,o),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,r,i,n,s,o),a}function Ve(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,r){r=7+t-r;return-(7+Ve(e,0,r).getUTCDay()-t)%7+r-1}function Ze(e,t,r,i,n){var s,t=1+7*(t-1)+(7+r-i)%7+We(e,i,n),r=t<=0?je(s=e-1)+t:t>je(e)?(s=e+1,t-je(e)):(s=e,t);return{year:s,dayOfYear:r}}function Qe(e,t,r){var i,n,s=We(e.year(),t,r),s=Math.floor((e.dayOfYear()-s-1)/7)+1;return s<1?i=s+O(n=e.year()-1,t,r):s>O(e.year(),t,r)?(i=s-O(e.year(),t,r),n=e.year()+1):(n=e.year(),i=s),{week:i,year:n}}function O(e,t,r){var i=We(e,t,r),t=We(e+1,t,r);return(je(e)-i+t)/7}i("w",["ww",2],"wo","week"),i("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),r("week",5),r("isoWeek",5),w("w",v),w("ww",v,y),w("W",v),w("WW",v,y),Oe(["w","ww","W","WW"],function(e,t,r,i){t[i.substr(0,1)]=f(e)});function qe(e,t){return e.slice(t,7).concat(e.slice(0,t))}i("d",0,"do","day"),i("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),i("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),i("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),i("e",0,0,"weekday"),i("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),r("day",11),r("weekday",11),r("isoWeekday",11),w("d",v),w("e",v),w("E",v),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),Oe(["dd","ddd","dddd"],function(e,t,r,i){i=r._locale.weekdaysParse(e,i,r._strict);null!=i?t.d=i:g(r).invalidWeekday=e}),Oe(["d","e","E"],function(e,t,r,i){t[i]=f(e)});var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ke="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Je="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=b,tt=b,rt=b;function it(){function e(e,t){return t.length-e.length}for(var t,r,i,n=[],s=[],o=[],a=[],l=0;l<7;l++)i=c([2e3,1]).day(l),t=_(this.weekdaysMin(i,"")),r=_(this.weekdaysShort(i,"")),i=_(this.weekdays(i,"")),n.push(t),s.push(r),o.push(i),a.push(t),a.push(r),a.push(i);n.sort(e),s.sort(e),o.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+n.join("|")+")","i")}function nt(){return this.hours()%12||12}function st(e,t){i(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}i("H",["HH",2],0,"hour"),i("h",["hh",2],0,nt),i("k",["kk",2],0,function(){return this.hours()||24}),i("hmm",0,0,function(){return""+nt.apply(this)+s(this.minutes(),2)}),i("hmmss",0,0,function(){return""+nt.apply(this)+s(this.minutes(),2)+s(this.seconds(),2)}),i("Hmm",0,0,function(){return""+this.hours()+s(this.minutes(),2)}),i("Hmmss",0,0,function(){return""+this.hours()+s(this.minutes(),2)+s(this.seconds(),2)}),st("a",!0),st("A",!1),t("hour","h"),r("hour",13),w("a",ot),w("A",ot),w("H",v),w("h",v),w("k",v),w("HH",v,y),w("hh",v,y),w("kk",v,y),w("hmm",ve),w("hmmss",be),w("Hmm",ve),w("Hmmss",be),E(["H","HH"],k),E(["k","kk"],function(e,t,r){e=f(e);t[k]=24===e?0:e}),E(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),E(["h","hh"],function(e,t,r){t[k]=f(e),g(r).bigHour=!0}),E("hmm",function(e,t,r){var i=e.length-2;t[k]=f(e.substr(0,i)),t[M]=f(e.substr(i)),g(r).bigHour=!0}),E("hmmss",function(e,t,r){var i=e.length-4,n=e.length-2;t[k]=f(e.substr(0,i)),t[M]=f(e.substr(i,2)),t[P]=f(e.substr(n)),g(r).bigHour=!0}),E("Hmm",function(e,t,r){var i=e.length-2;t[k]=f(e.substr(0,i)),t[M]=f(e.substr(i))}),E("Hmmss",function(e,t,r){var i=e.length-4,n=e.length-2;t[k]=f(e.substr(0,i)),t[M]=f(e.substr(i,2)),t[P]=f(e.substr(n))});b=he("Hours",!0);var at,lt={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:He,monthsShort:Re,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:Je,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},D={},ct={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function dt(e){for(var t,r,i,n,s=0;s<e.length;){for(t=(n=ut(e[s]).split("-")).length,r=(r=ut(e[s+1]))?r.split("-"):null;0<t;){if(i=ht(n.slice(0,t).join("-")))return i;if(r&&r.length>=t&&function(e,t){for(var r=Math.min(e.length,t.length),i=0;i<r;i+=1)if(e[i]!==t[i])return i;return r}(n,r)>=t-1)break;t--}s++}return at}function ht(t){var e;if(void 0===D[t]&&tn&&tn.exports&&null!=t.match("^[^/\\\\]*$"))try{e=at._abbr,Or(),ft(e)}catch(e){D[t]=null}return D[t]}function ft(e,t){return e&&((t=a(t)?B(e):mt(e,t))?at=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),at._abbr}function mt(e,t){if(null===t)return delete D[e],null;var r,i=lt;if(t.abbr=e,null!=D[e])K("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=D[e]._config;else if(null!=t.parentLocale)if(null!=D[t.parentLocale])i=D[t.parentLocale]._config;else{if(null==(r=ht(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;i=r._config}return D[e]=new ee(J(i,t)),ct[e]&&ct[e].forEach(function(e){mt(e.name,e.config)}),ft(e),D[e]}function B(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return at;if(!o(e)){if(t=ht(e))return t;e=[e]}return dt(e)}function pt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[x]<0||11<t[x]?x:t[T]<1||t[T]>Ne(t[C],t[x])?T:t[k]<0||24<t[k]||24===t[k]&&(0!==t[M]||0!==t[P]||0!==t[De])?k:t[M]<0||59<t[M]?M:t[P]<0||59<t[P]?P:t[De]<0||999<t[De]?De:-1,g(e)._overflowDayOfYear&&(t<C||T<t)&&(t=T),g(e)._overflowWeeks&&-1===t&&(t=Be),g(e)._overflowWeekday&&-1===t&&(t=Ae),g(e).overflow=t),e}var gt=/^\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=/^\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)?)?$/,vt=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["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]],wt=[["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,Et=/^(?:(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}))$/,St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ct(e){var t,r,i,n,s,o,a=e._i,l=gt.exec(a)||yt.exec(a),a=bt.length,c=wt.length;if(l){for(g(e).iso=!0,t=0,r=a;t<r;t++)if(bt[t][1].exec(l[1])){n=bt[t][0],i=!1!==bt[t][2];break}if(null==n)return e._isValid=!1;if(l[3]){for(t=0,r=c;t<r;t++)if(wt[t][1].exec(l[3])){s=(l[2]||" ")+wt[t][0];break}if(null==s)return e._isValid=!1}if(!i&&null!=s)return e._isValid=!1;if(l[4]){if(!vt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=n+(s||"")+(o||""),Pt(e)}else e._isValid=!1}function xt(e,t,r,i,n,s){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Re.indexOf(t),parseInt(r,10),parseInt(i,10),parseInt(n,10)];return s&&e.push(parseInt(s,10)),e}function Tt(e){var t,r,i,n,s=Et.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));s?(t=xt(s[4],s[3],s[2],s[5],s[6],s[7]),r=s[1],i=t,n=e,r&&Ke.indexOf(r)!==new Date(i[0],i[1],i[2]).getDay()?(g(n).weekdayMismatch=!0,n._isValid=!1):(e._a=t,e._tzm=(r=s[8],i=s[9],n=s[10],r?St[r]:i?0:((r=parseInt(n,10))-(i=r%100))/100*60+i),e._d=Ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function kt(e,t,r){return null!=e?e:null!=t?t:r}function Mt(e){var t,r,i,n,s,o,a,l,c,u,d,h=[];if(!e._d){for(u=e,d=new Date(m.now()),r=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[T]&&null==e._a[x]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(o=1,a=4,i=kt(d.GG,u._a[C],Qe(A(),1,4).year),n=kt(d.W,1),((s=kt(d.E,1))<1||7<s)&&(l=!0)):(o=u._locale._week.dow,a=u._locale._week.doy,c=Qe(A(),o,a),i=kt(d.gg,u._a[C],c.year),n=kt(d.w,c.week),null!=d.d?((s=d.d)<0||6<s)&&(l=!0):null!=d.e?(s=d.e+o,(d.e<0||6<d.e)&&(l=!0)):s=o),n<1||n>O(i,o,a)?g(u)._overflowWeeks=!0:null!=l?g(u)._overflowWeekday=!0:(c=Ze(i,n,s,o,a),u._a[C]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(d=kt(e._a[C],r[C]),(e._dayOfYear>je(d)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=Ve(d,0,e._dayOfYear),e._a[x]=l.getUTCMonth(),e._a[T]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=h[t]=r[t];for(;t<7;t++)e._a[t]=h[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[k]&&0===e._a[M]&&0===e._a[P]&&0===e._a[De]&&(e._nextDay=!0,e._a[k]=0),e._d=(e._useUTC?Ve:ze).apply(null,h),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[k]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function Pt(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],g(e).empty=!0;for(var t,r,i,n=""+e._i,s=n.length,o=0,a=(r=ae(e._f,e._locale).match(re)||[]).length,l=0;l<a;l++)i=r[l],(t=(n.match(ke(i,e))||[])[0])&&(0<(d=n.substr(0,n.indexOf(t))).length&&g(e).unusedInput.push(d),n=n.slice(n.indexOf(t)+t.length),o+=t.length),se[i]?(t?g(e).empty=!1:g(e).unusedTokens.push(i),d=i,f=e,null!=(h=t)&&p(Pe,d)&&Pe[d](h,f._a,f,d)):e._strict&&!t&&g(e).unusedTokens.push(i);g(e).charsLeftOver=s-o,0<n.length&&g(e).unusedInput.push(n),e._a[k]<=12&&!0===g(e).bigHour&&0<e._a[k]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[k]=(s=e._locale,c=e._a[k],null==(u=e._meridiem)?c:null!=s.meridiemHour?s.meridiemHour(c,u):null!=s.isPM?((s=s.isPM(u))&&c<12&&(c+=12),c=s||12!==c?c:0):c),null!==(u=g(e).era)&&(e._a[C]=e._locale.erasConvertYear(u,e._a[C])),Mt(e),pt(e)}else Tt(e);else Ct(e);var c,u,d,h,f}function Ot(e){var t,r=e._i,i=e._f;{var n,s;return(e._locale=e._locale||B(e._l),null===r||void 0===i&&""===r)?G({nullInput:!0}):("string"==typeof r&&(e._i=r=e._locale.preparse(r)),l(r)?new Q(pt(r)):(I(r)?e._d=r:o(i)?function(e){var t,r,i,n,s,o,a=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(n=0;n<l;n++)s=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[n],Pt(t),j(t)&&(o=!0),s=(s+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=s,a?s<i&&(i=s,r=t):(null==i||s<i||o)&&(i=s,r=t,o)&&(a=!0);Y(e,r||t)}(e):i?Pt(e):a(i=(r=e)._i)?r._d=new Date(m.now()):I(i)?r._d=new Date(i.valueOf()):"string"==typeof i?(n=r,null===(s=_t.exec(n._i))?(Ct(n),!1===n._isValid&&(delete n._isValid,Tt(n),!1===n._isValid)&&(delete n._isValid,n._strict?n._isValid=!1:m.createFromInputFallback(n))):n._d=new Date(+s[1])):o(i)?(r._a=U(i.slice(0),function(e){return parseInt(e,10)}),Mt(r)):L(i)?(n=r)._d||(t=void 0===(s=ce(n._i)).day?s.date:s.day,n._a=U([s.year,s.month,t,s.hour,s.minute,s.second,s.millisecond],function(e){return e&&parseInt(e,10)}),Mt(n)):F(i)?r._d=new Date(i):m.createFromInputFallback(r),j(e)||(e._d=null),e))}}function Dt(e,t,r,i,n){var s={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==r&&!1!==r||(i=r,r=void 0),(L(e)&&$(e)||o(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=n,s._l=r,s._i=e,s._f=t,s._strict=i,(n=new Q(pt(Ot(n=s))))._nextDay&&(n.add(1,"d"),n._nextDay=void 0),n}function A(e,t,r,i){return Dt(e,t,r,i,!1)}m.createFromInputFallback=e("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(){};ve=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=A.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:G()}),be=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=A.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:G()});function Bt(e,t){var r,i;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return A();for(r=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](r)||(r=t[i]);return r}var At=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Nt(e){var e=ce(e),t=e.year||0,r=e.quarter||0,i=e.month||0,n=e.week||e.isoWeek||0,s=e.day||0,o=e.hour||0,a=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,r,i=!1,n=At.length;for(t in e)if(p(e,t)&&(-1===S.call(At,t)||null!=e[t]&&isNaN(e[t])))return!1;for(r=0;r<n;++r)if(e[At[r]]){if(i)return!1;parseFloat(e[At[r]])!==f(e[At[r]])&&(i=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*a+1e3*o*60*60,this._days=+s+7*n,this._months=+i+3*r+12*t,this._data={},this._locale=B(),this._bubble()}function Ht(e){return e instanceof Nt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Lt(e,r){i(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+s(~~(e/60),2)+r+s(~~e%60,2)})}Lt("Z",":"),Lt("ZZ",""),w("Z",Te),w("ZZ",Te),E(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Ft(Te,e)});var $t=/([\+\-]|\d\d)/gi;function Ft(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match($t)||["-",0,0])[1]+f(e[2]))?0:"+"===e[0]?t:-t}function It(e,t){var r;return t._isUTC?(t=t.clone(),r=(l(e)||I(e)?e:A(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+r),m.updateOffset(t,!1),t):A(e).local()}function Ut(e){return-Math.round(e._d.getTimezoneOffset())}function Yt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var jt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Gt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function N(e,t){var r,i,n=e;return Ht(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:F(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(t=jt.exec(e))?(r="-"===t[1]?-1:1,n={y:0,d:f(t[T])*r,h:f(t[k])*r,m:f(t[M])*r,s:f(t[P])*r,ms:f(Rt(1e3*t[De]))*r}):(t=Gt.exec(e))?(r="-"===t[1]?-1:1,n={y:zt(t[2],r),M:zt(t[3],r),w:zt(t[4],r),d:zt(t[5],r),h:zt(t[6],r),m:zt(t[7],r),s:zt(t[8],r)}):null==n?n={}:"object"==typeof n&&("from"in n||"to"in n)&&(t=A(n.from),r=A(n.to),t=t.isValid()&&r.isValid()?(r=It(r,t),t.isBefore(r)?i=Vt(t,r):((i=Vt(r,t)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(n={}).ms=t.milliseconds,n.M=t.months),i=new Nt(n),Ht(e)&&p(e,"_locale")&&(i._locale=e._locale),Ht(e)&&p(e,"_isValid")&&(i._isValid=e._isValid),i}function zt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Vt(e,t){var r={};return r.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Wt(i,n){return function(e,t){var r;return null===t||isNaN(+t)||(K(n,"moment()."+n+"(period, number) is deprecated. Please use moment()."+n+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=e,e=t,t=r),Zt(this,N(e,t),i),this}}function Zt(e,t,r,i){var n=t._milliseconds,s=Rt(t._days),t=Rt(t._months);e.isValid()&&(i=null==i||i,t&&Ie(e,fe(e,"Month")+t*r),s&&me(e,"Date",fe(e,"Date")+s*r),n&&e._d.setTime(e._d.valueOf()+n*r),i)&&m.updateOffset(e,s||t)}N.fn=Nt.prototype,N.invalid=function(){return N(NaN)};He=Wt(1,"add"),Xe=Wt(-1,"subtract");function Qt(e){return"string"==typeof e||e instanceof String}function qt(e){return l(e)||I(e)||Qt(e)||F(e)||(r=o(t=e),i=!1,r&&(i=0===t.filter(function(e){return!F(e)&&Qt(t)}).length),r&&i)||function(e){var t,r,i=L(e)&&!$(e),n=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=s.length;for(t=0;t<o;t+=1)r=s[t],n=n||p(e,r);return i&&n}(e)||null==e;var t,r,i}function Xt(e,t){var r,i;return e.date()<t.date()?-Xt(t,e):-((r=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(i=e.clone().add(r,"months"))<0?(t-i)/(i-e.clone().add(r-1,"months")):(t-i)/(e.clone().add(1+r,"months")-i)))||0}function Kt(e){return void 0===e?this._locale._abbr:(null!=(e=B(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Je=e("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 Jt(){return this._locale}var er=126227808e5;function tr(e,t){return(e%t+t)%t}function rr(e,t,r){return e<100&&0<=e?new Date(e+400,t,r)-er:new Date(e,t,r).valueOf()}function ir(e,t,r){return e<100&&0<=e?Date.UTC(e+400,t,r)-er:Date.UTC(e,t,r)}function nr(e,t){return t.erasAbbrRegex(e)}function sr(){for(var e=[],t=[],r=[],i=[],n=this.eras(),s=0,o=n.length;s<o;++s)t.push(_(n[s].name)),e.push(_(n[s].abbr)),r.push(_(n[s].narrow)),i.push(_(n[s].name)),i.push(_(n[s].abbr)),i.push(_(n[s].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("^("+r.join("|")+")","i")}function or(e,t){i(0,[e,e.length],0,t)}function ar(e,t,r,i,n){var s;return null==e?Qe(this,i,n).year:(t>(s=O(e,i,n))&&(t=s),function(e,t,r,i,n){e=Ze(e,t,r,i,n),t=Ve(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,r,i,n))}i("N",0,0,"eraAbbr"),i("NN",0,0,"eraAbbr"),i("NNN",0,0,"eraAbbr"),i("NNNN",0,0,"eraName"),i("NNNNN",0,0,"eraNarrow"),i("y",["y",1],"yo","eraYear"),i("y",["yy",2],0,"eraYear"),i("y",["yyy",3],0,"eraYear"),i("y",["yyyy",4],0,"eraYear"),w("N",nr),w("NN",nr),w("NNN",nr),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),E(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,i){i=r._locale.erasParse(e,i,r._strict);i?g(r).era=i:g(r).invalidEra=e}),w("y",Se),w("yy",Se),w("yyy",Se),w("yyyy",Se),w("yo",function(e,t){return t._eraYearOrdinalRegex||Se}),E(["y","yy","yyy","yyyy"],C),E(["yo"],function(e,t,r,i){var n;r._locale._eraYearOrdinalRegex&&(n=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[C]=r._locale.eraYearOrdinalParse(e,n):t[C]=parseInt(e,10)}),i(0,["gg",2],0,function(){return this.weekYear()%100}),i(0,["GG",2],0,function(){return this.isoWeekYear()%100}),or("gggg","weekYear"),or("ggggg","weekYear"),or("GGGG","isoWeekYear"),or("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),r("weekYear",1),r("isoWeekYear",1),w("G",Ce),w("g",Ce),w("GG",v,y),w("gg",v,y),w("GGGG",_e,ge),w("gggg",_e,ge),w("GGGGG",Ee,ye),w("ggggg",Ee,ye),Oe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,i){t[i.substr(0,2)]=f(e)}),Oe(["gg","GG"],function(e,t,r,i){t[i]=m.parseTwoDigitYear(e)}),i("Q",0,"Qo","quarter"),t("quarter","Q"),r("quarter",7),w("Q",n),E("Q",function(e,t){t[x]=3*(f(e)-1)}),i("D",["DD",2],"Do","date"),t("date","D"),r("date",9),w("D",v),w("DD",v,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),E(["D","DD"],T),E("Do",function(e,t){t[T]=f(e.match(v)[0])});_e=he("Date",!0);i("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),r("dayOfYear",4),w("DDD",we),w("DDDD",pe),E(["DDD","DDDD"],function(e,t,r){r._dayOfYear=f(e)}),i("m",["mm",2],0,"minute"),t("minute","m"),r("minute",14),w("m",v),w("mm",v,y),E(["m","mm"],M);ge=he("Minutes",!1);i("s",["ss",2],0,"second"),t("second","s"),r("second",15),w("s",v),w("ss",v,y),E(["s","ss"],P);var lr,Ee=he("Seconds",!1);for(i("S",0,0,function(){return~~(this.millisecond()/100)}),i(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),i(0,["SSS",3],0,"millisecond"),i(0,["SSSS",4],0,function(){return 10*this.millisecond()}),i(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),i(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),i(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),i(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),i(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),r("millisecond",16),w("S",we,n),w("SS",we,y),w("SSS",we,pe),lr="SSSS";lr.length<=9;lr+="S")w(lr,Se);function cr(e,t){t[De]=f(1e3*("0."+e))}for(lr="S";lr.length<=9;lr+="S")E(lr,cr);ye=he("Milliseconds",!1),i("z",0,0,"zoneAbbr"),i("zz",0,0,"zoneName");n=Q.prototype;function ur(e){return e}n.add=He,n.calendar=function(e,t){1===arguments.length&&(arguments[0]?qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=L(e)&&!$(e),r=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n=0;n<i.length;n+=1)r=r||p(e,i[n]);return t&&r}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||A(),r=It(e,this).startOf("day"),r=m.calendarFormat(this,r)||"sameElse",t=t&&(u(t[r])?t[r].call(this,e):t[r]);return this.format(t||this.localeData().calendar(r,this,A(e)))},n.clone=function(){return new Q(this)},n.diff=function(e,t,r){var i,n,s;if(!this.isValid())return NaN;if(!(i=It(e,this)).isValid())return NaN;switch(n=6e4*(i.utcOffset()-this.utcOffset()),t=d(t)){case"year":s=Xt(this,i)/12;break;case"month":s=Xt(this,i);break;case"quarter":s=Xt(this,i)/3;break;case"second":s=(this-i)/1e3;break;case"minute":s=(this-i)/6e4;break;case"hour":s=(this-i)/36e5;break;case"day":s=(this-i-n)/864e5;break;case"week":s=(this-i-n)/6048e5;break;default:s=this-i}return r?s:h(s)},n.endOf=function(e){var t,r;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(r=this._isUTC?ir:rr,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tr(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tr(t,1e3)-1}this._d.setTime(t),m.updateOffset(this,!0)}return this},n.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},n.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||A(e).isValid())?N({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},n.fromNow=function(e){return this.from(A(),e)},n.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||A(e).isValid())?N({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},n.toNow=function(e){return this.to(A(),e)},n.get=function(e){return u(this[e=d(e)])?this[e]():this},n.invalidAt=function(){return g(this).overflow},n.isAfter=function(e,t){return e=l(e)?e:A(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},n.isBefore=function(e,t){return e=l(e)?e:A(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},n.isBetween=function(e,t,r,i){return e=l(e)?e:A(e),t=l(t)?t:A(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(i=i||"()")[0]?this.isAfter(e,r):!this.isBefore(e,r))&&(")"===i[1]?this.isBefore(t,r):!this.isAfter(t,r))},n.isSame=function(e,t){var e=l(e)?e:A(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},n.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},n.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},n.isValid=function(){return j(this)},n.lang=Je,n.locale=Kt,n.localeData=Jt,n.max=be,n.min=ve,n.parsingFlags=function(){return Y({},g(this))},n.set=function(e,t){if("object"==typeof e)for(var r=function(e){var t,r=[];for(t in e)p(e,t)&&r.push({unit:t,priority:ue[t]});return r.sort(function(e,t){return e.priority-t.priority}),r}(e=ce(e)),i=r.length,n=0;n<i;n++)this[r[n].unit](e[r[n].unit]);else if(u(this[e=d(e)]))return this[e](t);return this},n.startOf=function(e){var t,r;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(r=this._isUTC?ir:rr,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tr(t,6e4);break;case"second":t=this._d.valueOf(),t-=tr(t,1e3)}this._d.setTime(t),m.updateOffset(this,!0)}return this},n.subtract=Xe,n.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},n.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()}},n.toDate=function(){return new Date(this.valueOf())},n.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},n.inspect=function(){var e,t,r;return this.isValid()?(t="moment",r="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(r+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(n[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},n.eraName=function(){for(var e,t=this.localeData().eras(),r=0,i=t.length;r<i;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].name;if(t[r].until<=e&&e<=t[r].since)return t[r].name}return""},n.eraNarrow=function(){for(var e,t=this.localeData().eras(),r=0,i=t.length;r<i;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].narrow;if(t[r].until<=e&&e<=t[r].since)return t[r].narrow}return""},n.eraAbbr=function(){for(var e,t=this.localeData().eras(),r=0,i=t.length;r<i;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].abbr;if(t[r].until<=e&&e<=t[r].since)return t[r].abbr}return""},n.eraYear=function(){for(var e,t,r=this.localeData().eras(),i=0,n=r.length;i<n;++i)if(e=r[i].since<=r[i].until?1:-1,t=this.clone().startOf("day").valueOf(),r[i].since<=t&&t<=r[i].until||r[i].until<=t&&t<=r[i].since)return(this.year()-m(r[i].since).year())*e+r[i].offset;return this.year()},n.year=Ge,n.isLeapYear=function(){return de(this.year())},n.weekYear=function(e){return ar.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},n.isoWeekYear=function(e){return ar.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},n.quarter=n.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},n.month=Ue,n.daysInMonth=function(){return Ne(this.year(),this.month())},n.week=n.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},n.isoWeek=n.isoWeeks=function(e){var t=Qe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},n.weeksInYear=function(){var e=this.localeData()._week;return O(this.year(),e.dow,e.doy)},n.weeksInWeekYear=function(){var e=this.localeData()._week;return O(this.weekYear(),e.dow,e.doy)},n.isoWeeksInYear=function(){return O(this.year(),1,4)},n.isoWeeksInISOWeekYear=function(){return O(this.isoWeekYear(),1,4)},n.date=_e,n.day=n.days=function(e){var t,r,i;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(r=e,i=this.localeData(),e="string"!=typeof r?r:isNaN(r)?"number"==typeof(r=i.weekdaysParse(r))?r:null:parseInt(r,10),this.add(e-t,"d")):t):null!=e?this:NaN},n.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},n.isoWeekday=function(e){var t,r;return this.isValid()?null!=e?(t=e,r=this.localeData(),r="string"==typeof t?r.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?r:r-7)):this.day()||7:null!=e?this:NaN},n.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")},n.hour=n.hours=b,n.minute=n.minutes=ge,n.second=n.seconds=Ee,n.millisecond=n.milliseconds=ye,n.utcOffset=function(e,t,r){var i,n=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?n:Ut(this);if("string"==typeof e){if(null===(e=Ft(Te,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(i=Ut(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),n!==e&&(!t||this._changeInProgress?Zt(this,N(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},n.utc=function(e){return this.utcOffset(0,e)},n.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Ut(this),"m"),this},n.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ft(xe,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},n.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?A(e).utcOffset():0,(this.utcOffset()-e)%60==0)},n.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},n.isLocal=function(){return!!this.isValid()&&!this._isUTC},n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},n.isUtc=Yt,n.isUTC=Yt,n.zoneAbbr=function(){return this._isUTC?"UTC":""},n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},n.dates=e("dates accessor is deprecated. Use date instead.",_e),n.months=e("months accessor is deprecated. Use month instead",Ue),n.years=e("years accessor is deprecated. Use year instead",Ge),n.zone=e("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()}),n.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return a(this._isDSTShifted)&&(Z(t={},this),(t=Ot(t))._a?(e=(t._isUTC?c:A)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,r){for(var i=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),s=0,o=0;o<i;o++)(r&&e[o]!==t[o]||!r&&f(e[o])!==f(t[o]))&&s++;return s+n}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function dr(e,t,r,i){var n=B(),i=c().set(i,t);return n[r](i,e)}function hr(e,t,r){if(F(e)&&(t=e,e=void 0),e=e||"",null!=t)return dr(e,t,r,"month");for(var i=[],n=0;n<12;n++)i[n]=dr(e,n,r,"month");return i}function fr(e,t,r,i){t=("boolean"==typeof e||(r=t=e,e=!1),F(t)&&(r=t,t=void 0),t||"");var n,s=B(),o=e?s._week.dow:0,a=[];if(null!=r)return dr(t,(r+o)%7,i,"day");for(n=0;n<7;n++)a[n]=dr(t,(n+o)%7,i,"day");return a}y.calendar=function(e,t,r){return u(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,r):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(re).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=ur,y.postformat=ur,y.relativeTime=function(e,t,r,i){var n=this._relativeTime[r];return u(n)?n(e,t,r,i):n.replace(/%d/i,e)},y.pastFuture=function(e,t){return u(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,r;for(r in e)p(e,r)&&(u(t=e[r])?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.eras=function(e,t){for(var r,i=this._eras||B("en")._eras,n=0,s=i.length;n<s;++n)switch("string"==typeof i[n].since&&(r=m(i[n].since).startOf("day"),i[n].since=r.valueOf()),typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":r=m(i[n].until).startOf("day").valueOf(),i[n].until=r.valueOf()}return i},y.erasParse=function(e,t,r){var i,n,s,o,a,l=this.eras();for(e=e.toUpperCase(),i=0,n=l.length;i<n;++i)if(s=l[i].name.toUpperCase(),o=l[i].abbr.toUpperCase(),a=l[i].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[i];break;case"NNNN":if(s===e)return l[i];break;case"NNNNN":if(a===e)return l[i]}else if(0<=[s,o,a].indexOf(e))return l[i]},y.erasConvertYear=function(e,t){var r=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*r},y.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||sr.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return p(this,"_erasNameRegex")||sr.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||sr.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||Le).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[Le.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,r){var i,n;if(this._monthsParseExact)return function(e,t,r){var i,n,s,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)s=c([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(s,"").toLocaleLowerCase();return r?"MMM"===t?-1!==(n=S.call(this._shortMonthsParse,e))?n:null:-1!==(n=S.call(this._longMonthsParse,e))?n:null:"MMM"===t?-1!==(n=S.call(this._shortMonthsParse,e))||-1!==(n=S.call(this._longMonthsParse,e))?n:null:-1!==(n=S.call(this._longMonthsParse,e))||-1!==(n=S.call(this._shortMonthsParse,e))?n:null}.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(n=c([2e3,i]),r&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),r||this._monthsParse[i]||(n="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[i]=new RegExp(n.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(r&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!r&&this._monthsParse[i].test(e))return i}},y.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Ye.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Fe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Ye.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=$e),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Qe(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?qe(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?qe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?qe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,r){var i,n;if(this._weekdaysParseExact)return function(e,t,r){var i,n,s,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=c([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase();return r?"dddd"===t?-1!==(n=S.call(this._weekdaysParse,e))?n:null:"ddd"===t?-1!==(n=S.call(this._shortWeekdaysParse,e))?n:null:-1!==(n=S.call(this._minWeekdaysParse,e))?n:null:"dddd"===t?-1!==(n=S.call(this._weekdaysParse,e))||-1!==(n=S.call(this._shortWeekdaysParse,e))||-1!==(n=S.call(this._minWeekdaysParse,e))?n:null:"ddd"===t?-1!==(n=S.call(this._shortWeekdaysParse,e))||-1!==(n=S.call(this._weekdaysParse,e))||-1!==(n=S.call(this._minWeekdaysParse,e))?n:null:-1!==(n=S.call(this._minWeekdaysParse,e))||-1!==(n=S.call(this._weekdaysParse,e))||-1!==(n=S.call(this._shortWeekdaysParse,e))?n:null}.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(n=c([2e3,1]).day(i),r&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(n="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[i]=new RegExp(n.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(r&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(r&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!r&&this._weekdaysParse[i].test(e))return i}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=rt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,r){return 11<e?r?"pm":"PM":r?"am":"AM"},ft("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===f(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=e("moment.lang is deprecated. Use moment.locale instead.",ft),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",B);var mr=Math.abs;function pr(e,t,r,i){t=N(t,r);return e._milliseconds+=i*t._milliseconds,e._days+=i*t._days,e._months+=i*t._months,e._bubble()}function gr(e){return e<0?Math.floor(e):Math.ceil(e)}function yr(e){return 4800*e/146097}function vr(e){return 146097*e/4800}function br(e){return function(){return this.as(e)}}we=br("ms"),pe=br("s"),He=br("m"),be=br("h"),ve=br("d"),Xe=br("w"),b=br("M"),ge=br("Q"),Ee=br("y");function wr(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=wr("milliseconds"),_e=wr("seconds"),Ge=wr("minutes"),y=wr("hours"),_r=wr("days"),Er=wr("months"),Sr=wr("years");var Cr=Math.round,xr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Tr(e,t,r,i){var n=N(e).abs(),s=Cr(n.as("s")),o=Cr(n.as("m")),a=Cr(n.as("h")),l=Cr(n.as("d")),c=Cr(n.as("M")),u=Cr(n.as("w")),n=Cr(n.as("y")),s=(s<=r.ss?["s",s]:s<r.s&&["ss",s])||(o<=1?["m"]:o<r.m&&["mm",o])||(a<=1?["h"]:a<r.h&&["hh",a])||(l<=1?["d"]:l<r.d&&["dd",l]);return(s=(s=null!=r.w?s||(u<=1?["w"]:u<r.w&&["ww",u]):s)||(c<=1?["M"]:c<r.M&&["MM",c])||(n<=1?["y"]:["yy",n]))[2]=t,s[3]=0<+e,s[4]=i,function(e,t,r,i,n){return n.relativeTime(t||1,!!r,e,i)}.apply(null,s)}var kr=Math.abs;function Mr(e){return(0<e)-(e<0)||+e}function Pr(){var e,t,r,i,n,s,o,a,l,c,u;return this.isValid()?(a=kr(this._milliseconds)/1e3,l=kr(this._days),c=kr(this._months),(u=this.asSeconds())?(e=h(a/60),t=h(e/60),a%=60,e%=60,r=h(c/12),c%=12,i=a?a.toFixed(3).replace(/\.?0+$/,""):"",n=Mr(this._months)!==Mr(u)?"-":"",s=Mr(this._days)!==Mr(u)?"-":"",o=Mr(this._milliseconds)!==Mr(u)?"-":"",(u<0?"-":"")+"P"+(r?n+r+"Y":"")+(c?n+c+"M":"")+(l?s+l+"D":"")+(t||e||a?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(a?o+i+"S":"")):"P0D"):this.localeData().invalidDate()}var H=Nt.prototype;return H.isValid=function(){return this._isValid},H.abs=function(){var e=this._data;return this._milliseconds=mr(this._milliseconds),this._days=mr(this._days),this._months=mr(this._months),e.milliseconds=mr(e.milliseconds),e.seconds=mr(e.seconds),e.minutes=mr(e.minutes),e.hours=mr(e.hours),e.months=mr(e.months),e.years=mr(e.years),this},H.add=function(e,t){return pr(this,e,t,1)},H.subtract=function(e,t){return pr(this,e,t,-1)},H.as=function(e){if(!this.isValid())return NaN;var t,r,i=this._milliseconds;if("month"===(e=d(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,r=this._months+yr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(vr(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)}},H.asMilliseconds=we,H.asSeconds=pe,H.asMinutes=He,H.asHours=be,H.asDays=ve,H.asWeeks=Xe,H.asMonths=b,H.asQuarters=ge,H.asYears=Ee,H.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*f(this._months/12):NaN},H._bubble=function(){var e=this._milliseconds,t=this._days,r=this._months,i=this._data;return 0<=e&&0<=t&&0<=r||e<=0&&t<=0&&r<=0||(e+=864e5*gr(vr(r)+t),r=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),r+=e=h(yr(t)),t-=gr(vr(e)),e=h(r/12),r%=12,i.days=t,i.months=r,i.years=e,this},H.clone=function(){return N(this)},H.get=function(e){return e=d(e),this.isValid()?this[e+"s"]():NaN},H.milliseconds=ye,H.seconds=_e,H.minutes=Ge,H.hours=y,H.days=_r,H.weeks=function(){return h(this.days()/7)},H.months=Er,H.years=Sr,H.humanize=function(e,t){var r,i;return this.isValid()?(r=!1,i=xr,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(i=Object.assign({},xr,t),null!=t.s)&&null==t.ss&&(i.ss=t.s-1),t=Tr(this,!r,i,e=this.localeData()),r&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},H.toISOString=Pr,H.toString=Pr,H.toJSON=Pr,H.locale=Kt,H.localeData=Jt,H.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Pr),H.lang=Je,i("X",0,0,"unix"),i("x",0,0,"valueOf"),w("x",Ce),w("X",/[+-]?\d+(\.\d{1,3})?/),E("X",function(e,t,r){r._d=new Date(1e3*parseFloat(e))}),E("x",function(e,t,r){r._d=new Date(f(e))}),m.version="2.29.4",R=A,m.fn=n,m.min=function(){return Bt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Bt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=c,m.unix=function(e){return A(1e3*e)},m.months=function(e,t){return hr(e,t,"months")},m.isDate=I,m.locale=ft,m.invalid=G,m.duration=N,m.isMoment=l,m.weekdays=function(e,t,r){return fr(e,t,r,"weekdays")},m.parseZone=function(){return A.apply(null,arguments).parseZone()},m.localeData=B,m.isDuration=Ht,m.monthsShort=function(e,t){return hr(e,t,"monthsShort")},m.weekdaysMin=function(e,t,r){return fr(e,t,r,"weekdaysMin")},m.defineLocale=mt,m.updateLocale=function(e,t){var r,i;return null!=t?(i=lt,null!=D[e]&&null!=D[e].parentLocale?D[e].set(J(D[e]._config,t)):(t=J(i=null!=(r=ht(e))?r._config:i,t),null==r&&(t.abbr=e),(i=new ee(t)).parentLocale=D[e],D[e]=i),ft(e)):null!=D[e]&&(null!=D[e].parentLocale?(D[e]=D[e].parentLocale,e===ft()&&ft(e)):null!=D[e]&&delete D[e]),D[e]},m.locales=function(){return te(D)},m.weekdaysShort=function(e,t,r){return fr(e,t,r,"weekdaysShort")},m.normalizeUnits=d,m.relativeTimeRounding=function(e){return void 0===e?Cr:"function"==typeof e&&(Cr=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==xr[e]&&(void 0===t?xr[e]:(xr[e]=t,"s"===e&&(xr.ss=t-1),!0))},m.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},m.prototype=n,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}();var en,tn,rn=en.exports;function nn(e,t){ei(e,t)}const sn={en:{registerBackButton:"Back",registerUserTitle:"Title",registerUserTitleSelect:"Select Title",registerUserTitleSelectMr:"Mr.",registerUserTitleSelectMrs:"Mrs.",registerUserTitleSelectMs:"Ms.",registerFirstName:"First Name",registerFirstNameError:"First name must be 2-50 characters long.",registerLastName:"Last Name",registerLastNameError:"Last name must be 2-50 characters.",registerDateOfBirth:"Date of Birth",registerBirthDay:"Day",registerBirthMonth:"Month",registerBirthYear:"Year",registerBirthDateError:"The minimum registratione age is {licenseyears} years.",registerBirthPlace:"Birth Place",registerBirthPlaceError:"Birth place must be at least 1 character long.",registerCurrency:"Currency",registerNext:"Next"},"zh-hk":{registerBackButton:"後退",registerUserTitle:"標題",registerUserTitleSelect:"选择标题",registerUserTitleSelectMr:"先生.",registerUserTitleSelectMrs:"太太.",registerUserTitleSelectMs:"小姐.",registerFirstName:"名",registerFirstNameError:"名字的長度必須至少為 2 個字符,並且不包含特殊字符。",registerLastName:"姓",registerLastNameError:"姓氏必須至少有 2 個字符長並且不包含特殊字符。",registerDateOfBirth:"出生日期",registerBirthDay:"天",registerBirthMonth:"月",registerBirthYear:"年",registerBirthDateError:"最低注册年龄为 {licenseyears} 年。",registerBirthPlace:"出生地",registerBirthPlaceError:"出生地必須至少有 1 個字符長。",registerCurrency:"貨幣",registerNext:"下一個"},fr:{registerBackButton:"Retour",registerUserTitle:"Titre",registerUserTitleSelect:"Sélectionnez le titre",registerUserTitleSelectMr:"Monsieur",registerUserTitleSelectMrs:"Madame",registerUserTitleSelectMs:"Mademoiselle",registerFirstName:"Prénom",registerFirstNameError:"Le prénom doit être composé d'au moins 2 caractères et ne doit pas contenir des caracères spéciaux",registerLastName:"Nom de famille",registerLastNameError:"Le nom de famille doit être composé d'au moins 2 caractères et ne doit pas contenir des caracères spéciaux",registerDateOfBirth:"Date de naissance",registerBirthDay:"Jour",registerBirthMonth:"Mois",registerBirthYear:"An",registerBirthDateError:"L'âge minimum d'enregistrement est de {licenseyears} ans.",registerBirthPlace:"Lieu de naissance",registerBirthPlaceError:"Le lieu de naissance doit comporter au moins un caractère.",registerCurrency:"Monnaie",registerNext:"Suivant"},tr:{registerBackButton:"Geri",registerUserTitle:"Başlık",registerUserTitleSelect:"Başlık Seç",registerUserTitleSelectMr:"Bay.",registerUserTitleSelectMrs:"Bayan.",registerUserTitleSelectMs:"Hanım.",registerFirstName:"İlk adı",registerFirstNameError:"Ad 2-50 karakter uzunluğunda olmalıdır.",registerLastName:"Soyadı",registerLastNameError:"Soyadı 2-50 karakter uzunluğunda olmalıdır.",registerDateOfBirth:"Doğum tarihi",registerBirthDay:"Gün",registerBirthMonth:"Ay",registerBirthYear:"Yıl",registerBirthDateError:"Minimum kayıt yaşı {licenseyears} yıllar.",registerBirthPlace:"Doğum yeri",registerBirthPlaceError:"Doğum yeri en az 1 karakter uzunluğunda olmalıdır.",registerCurrency:"Para birimi",registerNext:"Sonraki"},ro:{registerBackButton:"Inapoi",registerUserTitle:"Titlu",registerUserTitleSelect:"Selecteaza Titlu",registerUserTitleSelectMr:"Dl.",registerUserTitleSelectMrs:"Dna.",registerUserTitleSelectMs:"Dra.",registerFirstName:"Prenume",registerFirstNameError:"Prenumele trebuie sa fie de 2-50 litere lungime.",registerLastName:"Nume",registerLastNameError:"Numele trebuie sa fie de 2-50 litere lungime.",registerDateOfBirth:"Data Nasterii",registerBirthDay:"Zi",registerBirthMonth:"Luna",registerBirthYear:"An",registerBirthDateError:"Varsta minima pentru inregistrare este de {licenseyears} ani.",registerBirthPlace:"Locule nasterii",registerBirthPlaceError:"Locul nasterii trebuie sa contina minim o litera",registerCurrency:"Moneda",registerNext:"Urmatorul"},es:{registerBackButton:"Anterior",registerUserTitle:"Título",registerUserTitleSelect:"Seleccionar Título",registerUserTitleSelectMr:"Sr.",registerUserTitleSelectMrs:"Sra.",registerUserTitleSelectMs:"Srta.",registerFirstName:"Nombre",registerFirstNameError:"El nombre debe tener al menos 2 caracteres y no contener caracteres especiales.",registerLastName:"Apellido",registerLastNameError:"Apellido debe tener entre 2 a 50 caracteres.",registerDateOfBirth:"Fecha de nacimiento",registerBirthDay:"Día",registerBirthMonth:"Mes",registerBirthYear:"Año",registerBirthDateError:"La edad mínima para registrarse es {licenseyears} años",registerBirthPlace:"Lugar de Nacimiento",registerBirthPlaceError:"Lugar de Nacimiento debe tener al menos 1 carácter.",registerCurrency:"Moneda",registerNext:"Siguiente"},pt:{registerBackButton:"Voltar",registerUserTitle:"Título",registerUserTitleSelect:"Select Title",registerUserTitleSelectMr:"Mr.",registerUserTitleSelectMrs:"Mrs.",registerUserTitleSelectMs:"Ms.",registerFirstName:"Primeiro nome",registerFirstNameError:"O nome deve ter pelo menos 2 caracteres e não conter caracteres especiais.",registerLastName:"Último nome",registerLastNameError:"O sobrenome deve ter pelo menos 2 caracteres e não conter caracteres especiais.",registerDateOfBirth:"Data de nascimento",registerBirthDay:"Day",registerBirthMonth:"Month",registerBirthYear:"Year",registerBirthDateError:"The minimum registratione age is {licenseyears} years.",registerBirthPlace:"Local de Nascimento",registerBirthPlaceError:"Birth place must be at least 1 character long.",registerCurrency:"Moeda",registerNext:"Próximo"},hr:{registerBackButton:"Prethodno",registerUserTitle:"Titula",registerUserTitleSelect:"Odaberite titulu",registerUserTitleSelectMr:"Gosp.",registerUserTitleSelectMrs:"Gđa",registerUserTitleSelectMs:"Gđica",registerFirstName:"Ime",registerFirstNameError:"Ime mora imati 2-50 znakova.",registerLastName:"Prezime",registerLastNameError:"Prezime mora imati 2-50 znakova.",registerDateOfBirth:"Datum rođenja",registerBirthDay:"Dan",registerBirthMonth:"Mjesec",registerBirthYear:"Godina",registerBirthDateError:"Za registraciju morate imati najmanje 18 godina.",registerBirthPlace:"Mjesto rođenja",registerBirthPlaceError:"Mjesto rođenja mora imati najmanje 1 znak.",registerCurrency:"Valuta",registerNext:"Slijedeće"}};function on(e,t,r){e=e.slice();return e[70]=t[r],e}function an(e,t,r){e=e.slice();return e[73]=t[r],e}function ln(e,t,r){e=e.slice();return e[76]=t[r],e}function cn(e,t,r){e=e.slice();return e[79]=t[r],e}function un(r){let i,n,s,o,a,l,c,u,d,h,f,m,p,g,y,v,b,w=r[21]("registerUserTitle")+"",_=r[21]("registerUserTitleSelect")+"",E=r[21]("registerUserTitleSelectMr")+"",S=r[21]("registerUserTitleSelectMrs")+"",C=r[21]("registerUserTitleSelectMs")+"";return{c(){i=yt("div"),n=yt("label"),s=vt(w),o=vt(":"),(a=yt("span")).textContent="*",l=bt(),c=yt("select"),u=yt("option"),d=vt(_),h=yt("option"),f=vt(E),m=yt("option"),p=vt(S),g=yt("option"),y=vt(C),_t(a,"class","FormRequired"),_t(n,"for","Title"),u.__value="",u.value=u.__value,u.disabled=!0,u.selected=!0,h.__value="Mr.",h.value=h.__value,m.__value="Mrs.",m.value=m.__value,g.__value="Ms.",g.value=g.__value,_t(c,"id","Title"),void 0===r[10]&&tt(()=>r[39].call(c)),_t(i,"class","UserTitleContainer")},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(n,o),mt(n,a),mt(i,l),mt(i,c),mt(c,u),mt(u,d),mt(c,h),mt(h,f),mt(c,m),mt(m,p),mt(c,g),mt(g,y),et(c,r[10],!0),v||(b=[wt(c,"change",r[39]),wt(c,"change",r[26])],v=!0)},p(e,t){2097152&t[0]&&w!==(w=e[21]("registerUserTitle")+"")&&Et(s,w),2097152&t[0]&&_!==(_=e[21]("registerUserTitleSelect")+"")&&Et(d,_),2097152&t[0]&&E!==(E=e[21]("registerUserTitleSelectMr")+"")&&Et(f,E),2097152&t[0]&&S!==(S=e[21]("registerUserTitleSelectMrs")+"")&&Et(p,S),2097152&t[0]&&C!==(C=e[21]("registerUserTitleSelectMs")+"")&&Et(y,C),1024&t[0]&&et(c,e[10])},d(e){e&>(i),v=!1,ft(b)}}}function dn(r){let i,n,s,o,a,l,c,u,d,h,f,m=r[21]("registerFirstName")+"",p=r[2]&&hn(r);return{c(){i=yt("div"),n=yt("label"),s=vt(m),o=vt(":"),(a=yt("span")).textContent="*",l=bt(),c=yt("input"),u=bt(),p&&p.c(),_t(a,"class","FormRequired"),_t(n,"for","FirstName"),_t(c,"type","text"),_t(c,"id","FirstName"),_t(i,"class",d="FirstNameContainer "+(r[2]&&!r[6]?"InvalidField":""))},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(n,o),mt(n,a),mt(i,l),mt(i,c),St(c,r[11]),mt(i,u),p&&p.m(i,null),h||(f=[wt(c,"input",r[40]),wt(c,"keyup",r[27]),wt(c,"focus",r[41]),wt(c,"keyup",r[42])],h=!0)},p(e,t){2097152&t[0]&&m!==(m=e[21]("registerFirstName")+"")&&Et(s,m),2048&t[0]&&c.value!==e[11]&&St(c,e[11]),e[2]?p?p.p(e,t):((p=hn(e)).c(),p.m(i,null)):p&&(p.d(1),p=null),68&t[0]&&d!==(d="FirstNameContainer "+(e[2]&&!e[6]?"InvalidField":""))&&_t(i,"class",d)},d(e){e&>(i),p&&p.d(),h=!1,ft(f)}}}function hn(e){let r,i,n=e[21]("registerFirstNameError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){2097152&t[0]&&n!==(n=e[21]("registerFirstNameError")+"")&&Et(i,n)},d(e){e&>(r)}}}function fn(r){let i,n,s,o,a,l,c,u,d,h,f,m=r[21]("registerLastName")+"",p=r[3]&&mn(r);return{c(){i=yt("div"),n=yt("label"),s=vt(m),o=vt(":"),(a=yt("span")).textContent="*",l=bt(),c=yt("input"),u=bt(),p&&p.c(),_t(a,"class","FormRequired"),_t(n,"for","LastName"),_t(c,"type","text"),_t(c,"id","LastName"),_t(i,"class",d="LastNameContainer "+(r[3]&&!r[7]?"InvalidField":""))},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(n,o),mt(n,a),mt(i,l),mt(i,c),St(c,r[12]),mt(i,u),p&&p.m(i,null),h||(f=[wt(c,"input",r[43]),wt(c,"keyup",r[28]),wt(c,"focus",r[44]),wt(c,"blur",r[45])],h=!0)},p(e,t){2097152&t[0]&&m!==(m=e[21]("registerLastName")+"")&&Et(s,m),4096&t[0]&&c.value!==e[12]&&St(c,e[12]),e[3]?p?p.p(e,t):((p=mn(e)).c(),p.m(i,null)):p&&(p.d(1),p=null),136&t[0]&&d!==(d="LastNameContainer "+(e[3]&&!e[7]?"InvalidField":""))&&_t(i,"class",d)},d(e){e&>(i),p&&p.d(),h=!1,ft(f)}}}function mn(e){let r,i,n=e[21]("registerLastNameError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){2097152&t[0]&&n!==(n=e[21]("registerLastNameError")+"")&&Et(i,n)},d(e){e&>(r)}}}function pn(r){let i,n,s,o,a,l,c,u,d,h,f,m,p,g,y,v,b,w,_,E,S,e=r[21]("registerDateOfBirth")+"",C=r[21]("registerBirthDay")+"",x=r[21]("registerBirthMonth")+"",T=r[21]("registerBirthYear")+"",k=r[22],M=[];for(let e=0;e<k.length;e+=1)M[e]=gn(cn(r,k,e));let P=r[23],O=[];for(let e=0;e<P.length;e+=1)O[e]=yn(ln(r,P,e));let D=!r[20]&&vn(r),B=r[4]&&wn(r);return{c(){i=yt("div"),n=yt("label"),s=vt(e),o=vt(":"),(a=yt("span")).textContent="*",l=bt(),c=yt("div"),u=yt("select"),d=yt("option"),h=vt(C);for(let e=0;e<M.length;e+=1)M[e].c();f=bt(),m=yt("select"),p=yt("option"),g=vt(x);for(let e=0;e<O.length;e+=1)O[e].c();y=bt(),v=yt("select"),b=yt("option"),w=vt(T),D&&D.c(),_=bt(),B&&B.c(),_t(a,"class","FormRequired"),d.__value="",d.value=d.__value,d.disabled=!0,d.selected=!0,_t(u,"class","BirthDaySelected"),void 0===r[13]&&tt(()=>r[46].call(u)),p.__value="",p.value=p.__value,p.disabled=!0,p.selected=!0,_t(m,"class","BirthMonthSelected"),void 0===r[14]&&tt(()=>r[47].call(m)),b.__value="",b.value=b.__value,b.disabled=!0,b.selected=!0,_t(v,"class","BirthYearSelected"),void 0===r[15]&&tt(()=>r[48].call(v)),_t(c,"class","BirthDateOptions"),_t(i,"class","BirthDateContainer")},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(n,o),mt(n,a),mt(i,l),mt(i,c),mt(c,u),mt(u,d),mt(d,h);for(let e=0;e<M.length;e+=1)M[e]&&M[e].m(u,null);et(u,r[13],!0),mt(c,f),mt(c,m),mt(m,p),mt(p,g);for(let e=0;e<O.length;e+=1)O[e]&&O[e].m(m,null);et(m,r[14],!0),mt(c,y),mt(c,v),mt(v,b),mt(b,w),D&&D.m(v,null),et(v,r[15],!0),mt(c,_),B&&B.m(c,null),E||(S=[wt(u,"change",r[46]),wt(u,"change",r[25]),wt(m,"change",r[47]),wt(m,"change",r[25]),wt(v,"change",r[48]),wt(v,"change",r[25])],E=!0)},p(t,r){if(2097152&r[0]&&e!==(e=t[21]("registerDateOfBirth")+"")&&Et(s,e),2097152&r[0]&&C!==(C=t[21]("registerBirthDay")+"")&&Et(h,C),4194304&r[0]){let e;for(k=t[22],e=0;e<k.length;e+=1){const s=cn(t,k,e);M[e]?M[e].p(s,r):(M[e]=gn(s),M[e].c(),M[e].m(u,null))}for(;e<M.length;e+=1)M[e].d(1);M.length=k.length}if(4202496&r[0]&&et(u,t[13]),2097152&r[0]&&x!==(x=t[21]("registerBirthMonth")+"")&&Et(g,x),8388608&r[0]){let e;for(P=t[23],e=0;e<P.length;e+=1){const s=ln(t,P,e);O[e]?O[e].p(s,r):(O[e]=yn(s),O[e].c(),O[e].m(m,null))}for(;e<O.length;e+=1)O[e].d(1);O.length=P.length}8404992&r[0]&&et(m,t[14]),2097152&r[0]&&T!==(T=t[21]("registerBirthYear")+"")&&Et(w,T),t[20]?D&&(D.d(1),D=null):D?D.p(t,r):((D=vn(t)).c(),D.m(v,null)),16809984&r[0]&&et(v,t[15]),t[4]?B?B.p(t,r):((B=wn(t)).c(),B.m(c,null)):B&&(B.d(1),B=null)},d(e){e&>(i),rt(M,e),rt(O,e),D&&D.d(),B&&B.d(),E=!1,ft(S)}}}function gn(e){let r,i,t=e[79]+"";return{c(){r=yt("option"),i=vt(t),r.__value=e[79],r.value=r.__value},m(e,t){pt(e,r,t),mt(r,i)},p:ht,d(e){e&>(r)}}}function yn(e){let r,i,t=e[76]+"";return{c(){r=yt("option"),i=vt(t),r.__value=e[76],r.value=r.__value},m(e,t){pt(e,r,t),mt(r,i)},p:ht,d(e){e&>(r)}}}function vn(t){let n,s=t[24],o=[];for(let e=0;e<s.length;e+=1)o[e]=bn(an(t,s,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();n=it()},m(t,r){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,r);pt(t,n,r)},p(t,r){if(16777216&r[0]){let e;for(s=t[24],e=0;e<s.length;e+=1){var i=an(t,s,e);o[e]?o[e].p(i,r):(o[e]=bn(i),o[e].c(),o[e].m(n.parentNode,n))}for(;e<o.length;e+=1)o[e].d(1);o.length=s.length}},d(e){rt(o,e),e&>(n)}}}function bn(e){let r,i,t=e[73]+"";return{c(){r=yt("option"),i=vt(t),r.__value=e[73],r.value=r.__value},m(e,t){pt(e,r,t),mt(r,i)},p:ht,d(e){e&>(r)}}}function wn(e){let r,i,n=e[21]("registerBirthDateError",{values:{licenseyears:e[0]}})+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){2097153&t[0]&&n!==(n=e[21]("registerBirthDateError",{values:{licenseyears:e[0]}})+"")&&Et(i,n)},d(e){e&>(r)}}}function _n(r){let i,n,s,o,a,l,c,u,d,h,f,m=r[21]("registerBirthPlace")+"",p=r[5]&&En(r);return{c(){i=yt("div"),n=yt("label"),s=vt(m),o=vt(":"),(a=yt("span")).textContent="*",l=bt(),c=yt("input"),u=bt(),p&&p.c(),_t(a,"class","FormRequired"),_t(n,"for","BirthPlace"),_t(c,"type","text"),_t(c,"id","BirthPlace"),_t(i,"class",d="BirthPlaceContainer "+(r[5]&&!r[8]?"InvalidField":""))},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(n,o),mt(n,a),mt(i,l),mt(i,c),St(c,r[16]),mt(i,u),p&&p.m(i,null),h||(f=[wt(c,"input",r[49]),wt(c,"keyup",r[29]),wt(c,"focus",r[50]),wt(c,"blur",r[51])],h=!0)},p(e,t){2097152&t[0]&&m!==(m=e[21]("registerBirthPlace")+"")&&Et(s,m),65536&t[0]&&c.value!==e[16]&&St(c,e[16]),e[5]?p?p.p(e,t):((p=En(e)).c(),p.m(i,null)):p&&(p.d(1),p=null),288&t[0]&&d!==(d="BirthPlaceContainer "+(e[5]&&!e[8]?"InvalidField":""))&&_t(i,"class",d)},d(e){e&>(i),p&&p.d(),h=!1,ft(f)}}}function En(e){let r,i,n=e[21]("registerBirthPlaceError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){2097152&t[0]&&n!==(n=e[21]("registerBirthPlaceError")+"")&&Et(i,n)},d(e){e&>(r)}}}function Sn(r){let i,n,s,o,a,l,c,e,u,d,h=r[21]("registerCurrency")+"",f=r[17],m=[];for(let e=0;e<f.length;e+=1)m[e]=Cn(on(r,f,e));return{c(){i=yt("div"),n=yt("label"),s=vt(h),o=vt(":"),(a=yt("span")).textContent="*",l=bt(),c=yt("select");for(let e=0;e<m.length;e+=1)m[e].c();_t(a,"class","FormRequired"),_t(n,"for","Currency"),_t(c,"id","Currency"),void 0===r[18]&&tt(()=>r[52].call(c)),_t(i,"class",e="CurrencyContainer "+(0<=r[9]?.indexOf("currency")?"Hidden":""))},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(n,o),mt(n,a),mt(i,l),mt(i,c);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(c,null);et(c,r[18],!0),u||(d=wt(c,"change",r[52]),u=!0)},p(t,r){if(2097152&r[0]&&h!==(h=t[21]("registerCurrency")+"")&&Et(s,h),131072&r[0]){let e;for(f=t[17],e=0;e<f.length;e+=1){const s=on(t,f,e);m[e]?m[e].p(s,r):(m[e]=Cn(s),m[e].c(),m[e].m(c,null))}for(;e<m.length;e+=1)m[e].d(1);m.length=f.length}393216&r[0]&&et(c,t[18]),512&r[0]&&e!==(e="CurrencyContainer "+(0<=t[9]?.indexOf("currency")?"Hidden":""))&&_t(i,"class",e)},d(e){e&>(i),rt(m,e),u=!1,d()}}}function Cn(e){let r,i,n,s=e[70]+"";return{c(){r=yt("option"),i=vt(s),r.__value=n=e[70],r.value=r.__value},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){131072&t[0]&&s!==(s=e[70]+"")&&Et(i,s),131072&t[0]&&n!==(n=e[70])&&(r.__value=n,r.value=r.__value)},d(e){e&>(r)}}}function xn(r){let i,n,s,o,a,l,c,u,d,h,$,f,m,p,g,y,v,b,w,_,E,S,F,C=r[21]("registerBackButton")+"",x=!(0<=r[9]?.indexOf("title")),T=!(0<=r[9]?.indexOf("firstName")),k=!(0<=r[9]?.indexOf("lastName")),M=!(0<=r[9]?.indexOf("birthDate")),P=!(0<=r[9]?.indexOf("birthPlace")),O=!(0<=r[9]?.indexOf("currency")),D=r[21]("registerNext")+"",B=x&&un(r),A=T&&dn(r),N=k&&fn(r),H=M&&pn(r),R=P&&_n(r),L=O&&Sn(r);return{c(){i=yt("div"),n=yt("div"),s=yt("button"),o=t("svg"),a=t("defs"),l=t("style"),c=vt(".a{fill:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));}"),u=t("path"),d=bt(),h=vt(C),$=bt(),f=yt("form"),B&&B.c(),m=bt(),A&&A.c(),p=bt(),N&&N.c(),g=bt(),H&&H.c(),y=bt(),R&&R.c(),v=bt(),L&&L.c(),b=bt(),w=yt("button"),_=vt(D),this.c=ht,_t(u,"class","a"),_t(u,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),_t(u,"transform","translate(24 24) rotate(180)"),_t(o,"xmlns","http://www.w3.org/2000/svg"),_t(o,"viewBox","0 0 24 24"),_t(s,"class","BackButton"),_t(n,"class","RegisterFormHeader"),_t(w,"class","RegisterStepNext"),w.disabled=E=!r[19],_t(f,"class","RegisterFormContent")},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(s,o),mt(o,a),mt(a,l),mt(l,c),mt(o,u),mt(s,d),mt(s,h),mt(i,$),mt(i,f),B&&B.m(f,null),mt(f,m),A&&A.m(f,null),mt(f,p),N&&N.m(f,null),mt(f,g),H&&H.m(f,null),mt(f,y),R&&R.m(f,null),mt(f,v),L&&L.m(f,null),mt(f,b),mt(f,w),mt(w,_),r[54](i),S||(F=[wt(s,"click",r[31]),wt(w,"click",r[53])],S=!0)},p(e,t){2097152&t[0]&&C!==(C=e[21]("registerBackButton")+"")&&Et(h,C),(x=512&t[0]?!(0<=e[9]?.indexOf("title")):x)?B?B.p(e,t):((B=un(e)).c(),B.m(f,m)):B&&(B.d(1),B=null),(T=512&t[0]?!(0<=e[9]?.indexOf("firstName")):T)?A?A.p(e,t):((A=dn(e)).c(),A.m(f,p)):A&&(A.d(1),A=null),(k=512&t[0]?!(0<=e[9]?.indexOf("lastName")):k)?N?N.p(e,t):((N=fn(e)).c(),N.m(f,g)):N&&(N.d(1),N=null),(M=512&t[0]?!(0<=e[9]?.indexOf("birthDate")):M)?H?H.p(e,t):((H=pn(e)).c(),H.m(f,y)):H&&(H.d(1),H=null),(P=512&t[0]?!(0<=e[9]?.indexOf("birthPlace")):P)?R?R.p(e,t):((R=_n(e)).c(),R.m(f,v)):R&&(R.d(1),R=null),(O=512&t[0]?!(0<=e[9]?.indexOf("currency")):O)?L?L.p(e,t):((L=Sn(e)).c(),L.m(f,b)):L&&(L.d(1),L=null),2097152&t[0]&&D!==(D=e[21]("registerNext")+"")&&Et(_,D),524288&t[0]&&E!==(E=!e[19])&&(w.disabled=E)},i:ht,o:ht,d(e){e&>(i),B&&B.d(),A&&A.d(),N&&N.d(),H&&H.d(),R&&R.d(),L&&L.d(),r[54](null),S=!1,ft(F)}}}function Tn(t,e,r){let i;le(t,Oi,e=>r(21,i=e));let n,s,o,a,l,c,u,d,{endpoint:h=""}=e,{lang:f=""}=e,{licenseyears:m=""}=e,{disabledfields:p=""}=e,{defaultoptions:R=""}=e,{clientstyling:g=""}=e,{clientstylingurl:y=""}=e,{translationurl:v=""}=e,b=!1,w=!1,_=!1,E=!1,S=!1,C=!1,x=!1,T="",k="",M="",L=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31],$=[1,2,3,4,5,6,7,8,9,10,11,12],P=[],O="",D=[],B="",A=new Date,N=!1,F=!0;Object.keys(sn).forEach(e=>{nn(e,sn[e])});const H=()=>{r(19,N=!(b||w||_||E)),!(k.length<=0||M.length<=0||O.length<=0)&&T&&s&&o&&a||r(19,N=!1)},I=e=>!!(e&&2<=e.length&&e.length<=50),U=e=>{e.preventDefault();e={userTitleSelected:T,userFirstName:k,userLastName:M,birthDaySelected:s,birthMonthSelected:o,birthYearSelected:a,birthPlace:O,currencySelected:B};window.postMessage({type:"RegisterStepTwo",registerStepTwoData:e},window.location.href)},Y=e=>{e.data&&"StepTwoDataBackup"===e.data.type&&(r(10,T=e.data.userData.title),r(11,k=e.data.userData.firstname),r(12,M=e.data.userData.lastname),r(13,s=e.data.userData.birth.day),r(14,o=e.data.userData.birth.month),r(15,a=e.data.userData.birth.year),r(16,O=e.data.userData.birthPlace),r(18,B=e.data.userData.currency),H())};return ce(()=>(window.addEventListener("message",Y,!1),()=>{window.removeEventListener("message",Y)})),t.$$set=e=>{"endpoint"in e&&r(32,h=e.endpoint),"lang"in e&&r(33,f=e.lang),"licenseyears"in e&&r(0,m=e.licenseyears),"disabledfields"in e&&r(34,p=e.disabledfields),"defaultoptions"in e&&r(35,R=e.defaultoptions),"clientstyling"in e&&r(36,g=e.clientstyling),"clientstylingurl"in e&&r(37,y=e.clientstylingurl),"translationurl"in e&&r(38,v=e.translationurl)},t.$$.update=()=>{if(2&t.$$.dirty[1]&&h&&fetch(h+"/v1/player/operatorSupportedCurrencies").then(e=>e.json()).then(e=>{r(17,D=e.currencies),B||r(18,B=D[0])}),4&t.$$.dirty[1]&&f&&(e=f,ae.set(e)),1&t.$$.dirty[0]&&m){c=parseInt(rn(A.setDate(A.getDate())).subtract(parseInt(m,10),"y").format("YYYY")),l=parseInt(rn(A.setDate(A.getDate())).subtract(100+parseInt(m,10),"y").format("YYYY"));for(let e=c;e>=l;e--)P.push(e);r(20,F=!1)}if(8&t.$$.dirty[1]&&p&&(r(9,n=p.split(",")),0<=n.indexOf("firstName")&&(r(11,k="dummy first name"),r(2,b=!1)),0<=n.indexOf("lastName")&&(r(12,M="dummy last name"),r(3,w=!1)),0<=n.indexOf("birthPlace")&&(r(16,O="dummy birth place"),r(5,E=!1)),0<=n.indexOf("birthDate")&&r(4,_=!1),0<=n.indexOf("title")&&r(10,T="Mr."),0<=n.indexOf("currency"))&&r(18,B="CDF"),2&t.$$.dirty[0]|32&t.$$.dirty[1]&&g&&d&&((e=document.createElement("style")).innerHTML=g,d.appendChild(e)),2&t.$$.dirty[0]|64&t.$$.dirty[1]&&y&&d){let e=new URL(y),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{d.appendChild(t)},1),setTimeout(()=>{},500)})}var e;128&t.$$.dirty[1]&&v&&fetch(v).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{nn(e,t[e])})}).catch(e=>{console.log(e)})},[m,d,b,w,_,E,S,C,x,n,T,k,M,s,o,a,O,D,B,N,F,i,L,$,P,()=>{a&&o&&s&&(u=rn(A.setDate(A.getDate())).diff(rn(`${a}-${o}-`+s,"YYYY-MM-DD"),"years").toString(),r(4,_=u<m)),H()},H,()=>{r(2,b=!I(k)),H()},()=>{r(3,w=!I(M)),H()},()=>{r(5,E=!(O&&O.length<=120)),H()},U,()=>{var e={userTitleSelected:T,userFirstName:k,userLastName:M,birthDaySelected:s,birthMonthSelected:o,birthYearSelected:a,birthPlace:O,currencySelected:B};window.postMessage({type:"GoBackStepTwo",registerStepTwoData:e},window.location.href)},h,f,p,R,g,y,v,function(){T=K(this),r(10,T)},function(){k=this.value,r(11,k)},()=>r(6,S=!0),()=>r(6,S=!1),function(){M=this.value,r(12,M)},()=>r(7,C=!0),()=>r(7,C=!1),function(){s=K(this),r(13,s),r(22,L)},function(){o=K(this),r(14,o),r(23,$)},function(){a=K(this),r(15,a),r(24,P)},function(){O=this.value,r(16,O)},()=>r(8,x=!0),()=>r(8,x=!1),function(){B=K(this),r(18,B),r(17,D)},e=>U(e),function(e){oe[e?"unshift":"push"](()=>{d=e,r(1,d)})}]}function kn(e,t){ei(e,t)}customElements.get("general-player-register-form-step2")||customElements.define("general-player-register-form-step2",class extends I{constructor(e){super();var t=document.createElement("style");t.textContent=".BackButton{display:inline-flex;color:var(--emfe-w-registration-typography, var(--emfe-w-color-contrast, #07072A));height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer;margin-bottom:30px}.BackButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.UserTitleContainer label,.CurrencyContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserTitleContainer select,.CurrencyContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.UserTitleContainer select:focus,.UserTitleContainer select :focus-within,.UserTitleContainer select :focus-visible,.UserTitleContainer select :visited,.CurrencyContainer select:focus,.CurrencyContainer select :focus-within,.CurrencyContainer select :focus-visible,.CurrencyContainer select :visited{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.UserTitleContainer,.FirstNameContainer,.LastNameContainer,.BirthDateContainer,.BirthPlaceContainer,.CurrencyContainer{color:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.UserTitleContainer label,.FirstNameContainer label,.LastNameContainer label,.BirthDateContainer label,.BirthPlaceContainer label,.CurrencyContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserTitleContainer select,.FirstNameContainer input,.LastNameContainer input,.BirthDateContainer select,.BirthPlaceContainer input,.CurrencyContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.FirstNameContainer.InvalidField input,.LastNameContainer.InvalidField input,.BirthPlaceContainer.InvalidField input{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));background:var(--emfe-w-color-pale, #FBECF4);color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.CurrencyContainer.Hidden{display:none}.BirthDateOptions{display:flex;gap:10px}.BirthDateOptions .BirthDaySelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.BirthDateOptions .BirthDaySelected:focus,.BirthDateOptions .BirthDaySelected :focus-within,.BirthDateOptions .BirthDaySelected :focus-visible,.BirthDateOptions .BirthDaySelected :visited{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.BirthDateOptions .BirthMonthSelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.BirthDateOptions .BirthMonthSelected:focus,.BirthDateOptions .BirthMonthSelected :focus-within,.BirthDateOptions .BirthMonthSelected :focus-visible,.BirthDateOptions .BirthMonthSelected :visited{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.BirthDateOptions .BirthYearSelected{width:40%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.BirthDateOptions .BirthYearSelected:focus,.BirthDateOptions .BirthYearSelected :focus-within,.BirthDateOptions .BirthYearSelected :focus-visible,.BirthDateOptions .BirthYearSelected :visited{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.FormRequired{color:var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839))}.InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));font-size:10px;position:absolute;bottom:-3px;line-height:10px}.RegisterStepNext{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);cursor:not-allowed}",this.shadowRoot.appendChild(t),F(this,{target:this.shadowRoot,props:M(this.attributes),customElement:!0},Tn,xn,S,{endpoint:32,lang:33,licenseyears:0,disabledfields:34,defaultoptions:35,clientstyling:36,clientstylingurl:37,translationurl:38},null,[-1,-1,-1]),e&&(e.target&&pt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","lang","licenseyears","disabledfields","defaultoptions","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[32]}set endpoint(e){this.$$set({endpoint:e}),h()}get lang(){return this.$$.ctx[33]}set lang(e){this.$$set({lang:e}),h()}get licenseyears(){return this.$$.ctx[0]}set licenseyears(e){this.$$set({licenseyears:e}),h()}get disabledfields(){return this.$$.ctx[34]}set disabledfields(e){this.$$set({disabledfields:e}),h()}get defaultoptions(){return this.$$.ctx[35]}set defaultoptions(e){this.$$set({defaultoptions:e}),h()}get clientstyling(){return this.$$.ctx[36]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[37]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[38]}set translationurl(e){this.$$set({translationurl:e}),h()}});const Mn={en:{registerBackButton:"Back",registerAddress:"Address",registerAddressError:"Address must be at least 1 character long and 100 characters maximum.",registerPostalCode:"Postal Code",registerPostalCodeError:"Postal Code must be at least 1 character long and 20 characters maximum.",registerCity:"City",registerCityError:"City must be at least 1 character long and 50 characters maximum.",registerCountry:"Country",registerNationality:"Nationality",registerMobile:"Mobile",registerMobileError:"Mobile must be at least 5 character long and 12 characters maximum.",registerUserConsents:"I want to receive exclusive offers and bonuses. I am aware that I can unsubscribe whenever I want to.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"I am at least 18 years old and I have read and accepted the Terms of Conditions.",registerTermsConditionsError:"Please accept the Terms and Conditions before proceeding.",registerOpenAccount:"Open Account"},"zh-hk":{registerBackButton:"後退",registerAddress:"地址",registerAddressError:"地址必須至少 1 個字符長,最多 100 個字符。",registerPostalCode:"郵政編碼",registerPostalCodeError:"郵政編碼必須至少 1 個字符長,最多 20 個字符。",registerCity:"城市",registerCityError:"城市必須至少 1 個字符長,最多 50 個字符。",registerCountry:"國家",registerNationality:"國籍",registerMobile:"移動的",registerMobileError:"移動設備的長度必須至少為 5 個字符,最多 12 個字符。",registerUserConsents:"我想收到獨家優惠和獎金。 我知道我可以隨時取消訂閱。",registerUserConsentsSMS:"短信",registerUserConsentsEmail:"電子郵件",registerTermsConditions:"我至少 18 歲,並且我已閱讀並接受條件條款。",registerTermsConditionsError:"請在繼續之前接受條款和條件。",registerOpenAccount:"開戶口"},fr:{registerBackButton:"Retour",registerAddress:"Adresse",registerAddressError:"L'adresse doit comporter au moins un caractère et 100 caractères au maximum.",registerPostalCode:"Code postal",registerPostalCodeError:"Le code postal doit comporter au moins un caractère et 20 caractères au maximum.",registerCity:"Ville",registerCityError:"La ville doit comporter au moins un caractère et 50 caractères au maximum.",registerCountry:"Pays",registerNationality:"Nationalité",registerMobile:"Téléphone",registerMobileError:"Le téléphone doit comporter au moins 5 caractère et 12 caractères au maximum.",registerUserConsents:"Je veux recevoir des offres exclusives et des bonus , je sais que je peux me désinscrire quand je le veux.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"J'ai au moins 18 ans et j'ai lu et accepté les conditions d'utilisation.",registerTermsConditionsError:"Veuillez accepter les termes et conditions avant de poursuivre.",registerOpenAccount:"Ouvrir un compte"},tr:{registerBackButton:"Geri",registerAddress:"Adres",registerAddressError:"Adres en az 1 karakter uzunluğunda ve en fazla 100 karakter olmalıdır.",registerPostalCode:"Posta kodu",registerPostalCodeError:"Posta Kodu en az 1 karakter uzunluğunda ve en fazla 20 karakter olmalıdır.",registerCity:"Şehir",registerCityError:"Şehir en az 1 karakter uzunluğunda ve en fazla 50 karakter olmalıdır.",registerCountry:"Ülke",registerNationality:"Milliyet",registerMobile:"Mobil",registerMobileError:"Mobil en az 5 karakter uzunluğunda ve en fazla 12 karakter olmalıdır.",registerUserConsents:"Özel teklifler ve bonuslar almak istiyorum. İstediğim zaman abonelikten çıkabileceğimin farkındayım.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"E-posta",registerTermsConditions:"En az 18 yaşındayım ve Koşullar'ı okudum ve kabul ediyorum.",registerTermsConditionsError:"Lütfen devam etmeden önce Şartlar ve Koşulları kabul edin.",registerOpenAccount:"Hesap Aç"},ro:{registerBackButton:"Inapoi",registerAddress:"Adresa",registerAddressError:"Adresa trebuie sa fie cuprinsa in 1 si 100 de litere.",registerPostalCode:"Cod Postal",registerPostalCodeError:"Codul postal trebuie sa fie cuprins intre 1 si 20 de caractere.",registerCity:"Oras",registerCityError:"Orasul trebuie sa fie cuprins intre 1 si 50 de litere.",registerCountry:"Tara",registerNationality:"Nationalitatea",registerMobile:"Telefon",registerMobileError:"Telefonul trebuie sa fie cuprins intre 5 si 12 de cifre.",registerUserConsents:"Vreau sa primesc oferte si bonusuri exclusive. Sunt constient ca pot sa dau unsubscribe oricand.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"Am minim 18 ani si am citit si acceptat Termenii si Conditiile",registerTermsConditionsError:"Te rog accepta Termenii si Conditiile",registerOpenAccount:"Inregistrare"},es:{registerBackButton:"Anterior",registerAddress:"Dirección",registerAddressError:"La dirección debe tener al menos 1 carácter y un máximo de 100 caracteres.",registerPostalCode:"Código Postal",registerPostalCodeError:"El código postal debe tener al menos 1 carácter y un máximo de 20 caracteres.",registerCity:"Ciudad",registerCityError:"La ciudad debe tener al menos 1 carácter y un máximo de 50 caracteres.",registerCountry:"País",registerNationality:"Nacionalidad",registerMobile:"Celular",registerMobileError:"Número celular debe tener al menos 5 caracteres y un máximo de 12 caracteres",registerUserConsents:"Quiero recibir ofertas Exclusivas y Bonos. Soy consciente que puedo desuscribirme en cualquier momento.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"Tengo al menos 18 años de edad, y he leido y aceptado los Términos y Condiciones.",registerTermsConditionsError:"Por favor acepta los Términos y Condiciones antes de avanzar.",registerOpenAccount:"Abrir cuenta"},pt:{registerBackButton:"Voltar",registerAddress:"Endereço",registerAddressError:"O endereço deve ter pelo menos 1 caractere e no máximo 100 caracteres.",registerPostalCode:"CEP",registerPostalCodeError:"O CEP deve ter pelo menos 1 caractere e no máximo 20 caracteres.",registerCity:"Cidade",registerCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres.",registerCountry:"País",registerNationality:"Nacionalidade",registerMobile:"Celular",registerMobileError:"O celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres.",registerUserConsents:"Quero receber ofertas e bônus exclusivos. Estou ciente de que posso cancelar a inscrição quando quiser.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"E-mail",registerTermsConditions:"Tenho pelo menos 18 anos e li e aceito os Termos de Condições.",registerTermsConditionsError:"Por favor, aceite os Termos e Condições antes de prosseguir.",registerOpenAccount:"Abrir conta"},hr:{registerBackButton:"Prethodno",registerAddress:"Adresa",registerAddressError:"Adresa mora imati najmanje 1 znak i najviše 100 znakova.",registerPostalCode:"Poštanski broj",registerPostalCodeError:"Poštanski broj mora imati najmanje 1 znak i najviše 20 znakova.",registerCity:"Grad",registerCityError:"Grad mora imati najmanje 1 znak i najviše 50 znakova.",registerCountry:"Zemlja",registerNationality:"Nacionalnost",registerMobile:"Broj mobitela",registerMobileError:"Broj mobitela mora imati najmanje 5 znakova i najviše 12 znakova.",registerUserConsents:"Želim primati ekskluzivne ponude i bonuse. Svjestan sam da se mogu odjaviti kad god to želim.",registerUserConsentsSMS:"SMS","registerUserConsentsE-mail":"E-mail",registerTermsConditions:"Imam najmanje 18 godina i pročitao sam i prihvatio Uvjete.",registerTermsConditionsError:"Prije nastavka prihvatite Uvjete i odredbe.",registerOpenAccount:"registerOpenAccount"}},Pn=k["document"];function On(e,t,r){e=e.slice();return e[88]=t[r],e}function Dn(e,t,r){e=e.slice();return e[91]=t[r],e}function Bn(e,t,r){e=e.slice();return e[94]=t[r],e}function An(e){let r,i;return{c(){x((r=yt("script")).src,i="//www.google.com/recaptcha/api.js?render="+e[4])||_t(r,"src",i),r.async=!0,r.defer=!0},m(e,t){pt(e,r,t)},p(e,t){16&t[0]&&!x(r.src,i="//www.google.com/recaptcha/api.js?render="+e[4])&&_t(r,"src",i)},d(e){e&>(r)}}}function Nn(e){let r,i,n=e[32]("registerAddressError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){2&t[1]&&n!==(n=e[32]("registerAddressError")+"")&&Et(i,n)},d(e){e&>(r)}}}function Hn(e){let r,i,n=e[32]("registerPostalCodeError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){2&t[1]&&n!==(n=e[32]("registerPostalCodeError")+"")&&Et(i,n)},d(e){e&>(r)}}}function Rn(e){let r,i,n=e[32]("registerCityError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){2&t[1]&&n!==(n=e[32]("registerCityError")+"")&&Et(i,n)},d(e){e&>(r)}}}function Ln(e){let r,i,n,s=e[94].Name+"";return{c(){r=yt("option"),i=vt(s),r.__value=n=e[94].Alpha2Code,r.value=r.__value},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){1048576&t[0]&&s!==(s=e[94].Name+"")&&Et(i,s),1048576&t[0]&&n!==(n=e[94].Alpha2Code)&&(r.__value=n,r.value=r.__value)},d(e){e&>(r)}}}function $n(e){let r,i,n,s=e[91].Name+"";return{c(){r=yt("option"),i=vt(s),r.__value=n=e[91].Alpha2Code,r.value=r.__value},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){4194304&t[0]&&s!==(s=e[91].Name+"")&&Et(i,s),4194304&t[0]&&n!==(n=e[91].Alpha2Code)&&(r.__value=n,r.value=r.__value)},d(e){e&>(r)}}}function Fn(e){let r,i,n,s=e[88].Prefix+"";return{c(){r=yt("option"),i=vt(s),r.__value=n=e[88].Prefix,r.value=r.__value},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){33554432&t[0]&&s!==(s=e[88].Prefix+"")&&Et(i,s),33554432&t[0]&&n!==(n=e[88].Prefix)&&(r.__value=n,r.value=r.__value)},d(e){e&>(r)}}}function In(e){let r,i,n=e[32]("registerMobileError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){2&t[1]&&n!==(n=e[32]("registerMobileError")+"")&&Et(i,n)},d(e){e&>(r)}}}function Un(e){let r,i,n=("true"===e[2]||"true"===e[3])&&Yn(e),s="true"===e[1]&&zn(e);return{c(){n&&n.c(),r=bt(),s&&s.c(),i=it()},m(e,t){n&&n.m(e,t),pt(e,r,t),s&&s.m(e,t),pt(e,i,t)},p(e,t){"true"===e[2]||"true"===e[3]?n?n.p(e,t):((n=Yn(e)).c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null),"true"===e[1]?s?s.p(e,t):((s=zn(e)).c(),s.m(i.parentNode,i)):s&&(s.d(1),s=null)},d(e){n&&n.d(e),e&>(r),s&&s.d(e),e&>(i)}}}function Yn(r){let i,n,s,o,a,l,c,u,d,h,f,m,p=r[32]("registerUserConsents")+"",g="true"===r[2]&&jn(r),y="true"===r[3]&&Gn(r);return{c(){i=yt("div"),n=yt("label"),s=vt(p),o=bt(),a=yt("input"),l=bt(),c=yt("span"),u=bt(),d=yt("div"),g&&g.c(),h=bt(),y&&y.c(),_t(a,"type","Checkbox"),a.checked=r[27],_t(c,"class","Checkmark"),_t(n,"class","Offers"),_t(d,"class","OffersMethodsWrapper"),_t(i,"class","OffersContainer")},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(n,o),mt(n,a),mt(n,l),mt(n,c),mt(i,u),mt(i,d),g&&g.m(d,null),mt(d,h),y&&y.m(d,null),f||(m=wt(a,"click",r[63]),f=!0)},p(e,t){2&t[1]&&p!==(p=e[32]("registerUserConsents")+"")&&Et(s,p),134217728&t[0]&&(a.checked=e[27]),"true"===e[2]?g?g.p(e,t):((g=jn(e)).c(),g.m(d,h)):g&&(g.d(1),g=null),"true"===e[3]?y?y.p(e,t):((y=Gn(e)).c(),y.m(d,null)):y&&(y.d(1),y=null)},d(e){e&>(i),g&&g.d(),y&&y.d(),f=!1,m()}}}function jn(r){let i,n,s,o,a,l,c,u,d=r[32]("registerUserConsentsSMS")+"";return{c(){i=yt("label"),n=vt(d),s=bt(),o=yt("input"),a=bt(),l=yt("span"),_t(o,"type","Checkbox"),o.checked=r[28],_t(l,"class","Checkmark"),_t(i,"class","OffersMethod")},m(e,t){pt(e,i,t),mt(i,n),mt(i,s),mt(i,o),mt(i,a),mt(i,l),c||(u=wt(o,"click",r[64]),c=!0)},p(e,t){2&t[1]&&d!==(d=e[32]("registerUserConsentsSMS")+"")&&Et(n,d),268435456&t[0]&&(o.checked=e[28])},d(e){e&>(i),c=!1,u()}}}function Gn(r){let i,n,s,o,a,l,c,u,d=r[32]("registerUserConsentsEmail")+"";return{c(){i=yt("label"),n=vt(d),s=bt(),o=yt("input"),a=bt(),l=yt("span"),_t(o,"type","Checkbox"),o.checked=r[29],_t(l,"class","Checkmark"),_t(i,"class","OffersMethod")},m(e,t){pt(e,i,t),mt(i,n),mt(i,s),mt(i,o),mt(i,a),mt(i,l),c||(u=wt(o,"click",r[65]),c=!0)},p(e,t){2&t[1]&&d!==(d=e[32]("registerUserConsentsEmail")+"")&&Et(n,d),536870912&t[0]&&(o.checked=e[29])},d(e){e&>(i),c=!1,u()}}}function zn(r){let i,n,s,o,a,l,c,u,d,h,f,m=r[32]("registerTermsConditions")+"",p=!r[30]&&Vn(r);return{c(){i=yt("div"),n=yt("label"),s=vt(m),o=bt(),a=yt("input"),l=bt(),c=yt("span"),u=bt(),p&&p.c(),d=it(),_t(a,"type","Checkbox"),a.checked=r[30],_t(c,"class","Checkmark"),_t(n,"class","AgeConsent"),_t(i,"class","AgeContainer")},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(n,o),mt(n,a),mt(n,l),mt(n,c),pt(e,u,t),p&&p.m(e,t),pt(e,d,t),h||(f=wt(a,"click",r[66]),h=!0)},p(e,t){2&t[1]&&m!==(m=e[32]("registerTermsConditions")+"")&&Et(s,m),1073741824&t[0]&&(a.checked=e[30]),e[30]?p&&(p.d(1),p=null):p?p.p(e,t):((p=Vn(e)).c(),p.m(d.parentNode,d))},d(e){e&>(i),e&>(u),p&&p.d(e),e&>(d),h=!1,f()}}}function Vn(e){let r,i,n,s=e[32]("registerTermsConditionsError")+"";return{c(){r=yt("div"),i=yt("p"),n=vt(s),_t(r,"class","NotificationContainer")},m(e,t){pt(e,r,t),mt(r,i),mt(i,n)},p(e,t){2&t[1]&&s!==(s=e[32]("registerTermsConditionsError")+"")&&Et(n,s)},d(e){e&>(r)}}}function Wn(e){let r,i,n;return{c(){r=yt("div"),i=yt("p"),n=vt(e[16]),_t(i,"class","RegisterError")},m(e,t){pt(e,r,t),mt(r,i),mt(i,n)},p(e,t){65536&t[0]&&Et(n,e[16])},d(e){e&>(r)}}}function Zn(r){let $,F,o,I,a,U,i,n,Y,j,G,z,V,W,Z,l,s,c,u,Q,q,X,K,d,J,e,ee,h,f,te,re,ie,ne,m,se,oe,ae,p,g,le,ce,ue,de,y,he,fe,me,v,b,pe,ge,ye,ve,w,be,we,_,E,_e,Ee,Se,Ce,S,xe,Te,C,ke,Me,Pe,Oe,De,Be,x,Ae,T,Ne,He,Re,Le,k,$e,Fe,Ie,Ue,Ye,je=r[32]("registerBackButton")+"",Ge=r[32]("registerAddress")+"",ze=r[32]("registerPostalCode")+"",Ve=r[32]("registerCity")+"",We=r[32]("registerCountry")+"",Ze=r[32]("registerNationality")+"",Qe=r[32]("registerMobile")+"",qe=r[32]("registerOpenAccount")+"",M=r[4]&&An(r),P=r[6]&&Nn(r),O=r[7]&&Hn(r),D=r[9]&&Rn(r),Xe=r[20],B=[];for(let e=0;e<Xe.length;e+=1)B[e]=Ln(Bn(r,Xe,e));let Ke=r[22],A=[];for(let e=0;e<Ke.length;e+=1)A[e]=$n(Dn(r,Ke,e));let Je=r[25],N=[];for(let e=0;e<Je.length;e+=1)N[e]=Fn(On(r,Je,e));let H=r[8]&&In(r),R="true"===r[0]&&Un(r),L=r[15]&&Wn(r);return{c(){M&&M.c(),$=it(),F=bt(),o=yt("div"),I=bt(),a=yt("div"),U=yt("div"),i=yt("button"),n=t("svg"),Y=t("defs"),j=t("style"),G=vt(".a{fill:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));}"),z=t("path"),V=bt(),W=vt(je),Z=bt(),l=yt("form"),s=yt("div"),c=yt("div"),u=yt("label"),Q=vt(Ge),q=vt(":"),(X=yt("span")).textContent="*",K=bt(),d=yt("input"),J=bt(),P&&P.c(),ee=bt(),h=yt("div"),f=yt("label"),te=vt(ze),re=vt(":"),(ie=yt("span")).textContent="*",ne=bt(),m=yt("input"),se=bt(),O&&O.c(),ae=bt(),p=yt("div"),g=yt("label"),le=vt(Ve),ce=vt(":"),(ue=yt("span")).textContent="*",de=bt(),y=yt("input"),he=bt(),D&&D.c(),me=bt(),v=yt("div"),b=yt("label"),pe=vt(We),ge=vt(":"),(ye=yt("span")).textContent="*",ve=bt(),w=yt("select");for(let e=0;e<B.length;e+=1)B[e].c();we=bt(),_=yt("div"),E=yt("label"),_e=vt(Ze),Ee=vt(":"),(Se=yt("span")).textContent="*",Ce=bt(),S=yt("select");for(let e=0;e<A.length;e+=1)A[e].c();Te=bt(),C=yt("div"),ke=yt("label"),Me=vt(Qe),Pe=vt(":"),(Oe=yt("span")).textContent="*",De=bt(),Be=yt("div"),x=yt("select");for(let e=0;e<N.length;e+=1)N[e].c();Ae=bt(),T=yt("input"),Ne=bt(),H&&H.c(),Re=bt(),R&&R.c(),Le=bt(),k=yt("button"),$e=vt(qe),Ie=bt(),L&&L.c(),this.c=ht,_t(o,"class","g-recaptcha"),_t(o,"data-sitekey",r[4]),_t(z,"class","a"),_t(z,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),_t(z,"transform","translate(24 24) rotate(180)"),_t(n,"xmlns","http://www.w3.org/2000/svg"),_t(n,"viewBox","0 0 24 24"),_t(i,"class","BackButton"),_t(U,"class","RegisterFormHeader"),_t(X,"class","FormRequired"),_t(u,"for","Address"),_t(d,"type","text"),_t(d,"id","Address"),_t(c,"class",e="AddressContainer "+(r[6]&&!r[10]?"InvalidField":"")+(0<=r[14]?.indexOf("address")?"Hidden":"")),_t(ie,"class","FormRequired"),_t(f,"for","PostalCode"),_t(m,"type","text"),_t(m,"id","PostalCode"),_t(h,"class",oe="PostalCodeContainer "+(r[7]&&!r[11]?"InvalidField":"")+(0<=r[14]?.indexOf("postalCode")?"Hidden":"")),_t(s,"class","AddressPostalCodeContainer"),_t(ue,"class","FormRequired"),_t(g,"for","City"),_t(y,"type","text"),_t(y,"id","City"),_t(p,"class",fe="CityContainer "+(r[9]&&r[13]?"InvalidField":"")+(0<=r[14]?.indexOf("city")?"Hidden":"")),_t(ye,"class","FormRequired"),_t(b,"for","Country"),_t(w,"id","Country"),void 0===r[21]&&tt(()=>r[57].call(w)),_t(v,"class",be="CountryContainer "+(0<=r[14]?.indexOf("country")?"Hidden":"")),_t(Se,"class","FormRequired"),_t(E,"for","Nationality"),_t(S,"id","Nationality"),void 0===r[23]&&tt(()=>r[58].call(S)),_t(_,"class",xe="NationalityContainer "+(0<=r[14]?.indexOf("nationality")?"Hidden":"")),_t(Oe,"class","FormRequired"),_t(ke,"for","Mobile"),_t(x,"class","MobilePrefixSelected"),void 0===r[26]&&tt(()=>r[59].call(x)),_t(T,"type","text"),_t(T,"oninput","this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"),_t(T,"id","Mobile"),_t(T,"class","MobileInput"),_t(Be,"class","MobileWrapper"),_t(C,"class",He="MobileContainer "+(r[8]&&!r[12]?"InvalidField":"")+(0<=r[14]?.indexOf("mobile")?"Hidden":"")),_t(k,"class","RegisterStepNext"),k.disabled=Fe=!r[31],_t(l,"class","RegisterFormContent")},m(e,t){M&&M.m(Pn.head,null),mt(Pn.head,$),pt(e,F,t),pt(e,o,t),pt(e,I,t),pt(e,a,t),mt(a,U),mt(U,i),mt(i,n),mt(n,Y),mt(Y,j),mt(j,G),mt(n,z),mt(i,V),mt(i,W),mt(a,Z),mt(a,l),mt(l,s),mt(s,c),mt(c,u),mt(u,Q),mt(u,q),mt(u,X),mt(c,K),mt(c,d),St(d,r[17]),mt(c,J),P&&P.m(c,null),mt(s,ee),mt(s,h),mt(h,f),mt(f,te),mt(f,re),mt(f,ie),mt(h,ne),mt(h,m),St(m,r[18]),mt(h,se),O&&O.m(h,null),mt(l,ae),mt(l,p),mt(p,g),mt(g,le),mt(g,ce),mt(g,ue),mt(p,de),mt(p,y),St(y,r[19]),mt(p,he),D&&D.m(p,null),mt(l,me),mt(l,v),mt(v,b),mt(b,pe),mt(b,ge),mt(b,ye),mt(v,ve),mt(v,w);for(let e=0;e<B.length;e+=1)B[e]&&B[e].m(w,null);et(w,r[21],!0),mt(l,we),mt(l,_),mt(_,E),mt(E,_e),mt(E,Ee),mt(E,Se),mt(_,Ce),mt(_,S);for(let e=0;e<A.length;e+=1)A[e]&&A[e].m(S,null);et(S,r[23],!0),mt(l,Te),mt(l,C),mt(C,ke),mt(ke,Me),mt(ke,Pe),mt(ke,Oe),mt(C,De),mt(C,Be),mt(Be,x);for(let e=0;e<N.length;e+=1)N[e]&&N[e].m(x,null);et(x,r[26],!0),mt(Be,Ae),mt(Be,T),St(T,r[24]),mt(C,Ne),H&&H.m(C,null),mt(l,Re),R&&R.m(l,null),mt(l,Le),mt(l,k),mt(k,$e),mt(a,Ie),L&&L.m(a,null),r[68](a),Ue||(Ye=[wt(i,"click",r[40]),wt(d,"input",r[48]),wt(d,"keyup",r[33]),wt(d,"focus",r[49]),wt(d,"blur",r[50]),wt(m,"input",r[51]),wt(m,"keyup",r[34]),wt(m,"focus",r[52]),wt(m,"blur",r[53]),wt(y,"input",r[54]),wt(y,"keyup",r[35]),wt(y,"focus",r[55]),wt(y,"blur",r[56]),wt(w,"change",r[57]),wt(S,"change",r[58]),wt(x,"change",r[59]),wt(T,"input",r[60]),wt(T,"keyup",r[36]),wt(T,"focus",r[61]),wt(T,"blur",r[62]),wt(k,"click",r[67])],Ue=!0)},p(t,r){if(t[4]?M?M.p(t,r):((M=An(t)).c(),M.m($.parentNode,$)):M&&(M.d(1),M=null),16&r[0]&&_t(o,"data-sitekey",t[4]),2&r[1]&&je!==(je=t[32]("registerBackButton")+"")&&Et(W,je),2&r[1]&&Ge!==(Ge=t[32]("registerAddress")+"")&&Et(Q,Ge),131072&r[0]&&d.value!==t[17]&&St(d,t[17]),t[6]?P?P.p(t,r):((P=Nn(t)).c(),P.m(c,null)):P&&(P.d(1),P=null),17472&r[0]&&e!==(e="AddressContainer "+(t[6]&&!t[10]?"InvalidField":"")+(0<=t[14]?.indexOf("address")?"Hidden":""))&&_t(c,"class",e),2&r[1]&&ze!==(ze=t[32]("registerPostalCode")+"")&&Et(te,ze),262144&r[0]&&m.value!==t[18]&&St(m,t[18]),t[7]?O?O.p(t,r):((O=Hn(t)).c(),O.m(h,null)):O&&(O.d(1),O=null),18560&r[0]&&oe!==(oe="PostalCodeContainer "+(t[7]&&!t[11]?"InvalidField":"")+(0<=t[14]?.indexOf("postalCode")?"Hidden":""))&&_t(h,"class",oe),2&r[1]&&Ve!==(Ve=t[32]("registerCity")+"")&&Et(le,Ve),524288&r[0]&&y.value!==t[19]&&St(y,t[19]),t[9]?D?D.p(t,r):((D=Rn(t)).c(),D.m(p,null)):D&&(D.d(1),D=null),25088&r[0]&&fe!==(fe="CityContainer "+(t[9]&&t[13]?"InvalidField":"")+(0<=t[14]?.indexOf("city")?"Hidden":""))&&_t(p,"class",fe),2&r[1]&&We!==(We=t[32]("registerCountry")+"")&&Et(pe,We),1048576&r[0]){let e;for(Xe=t[20],e=0;e<Xe.length;e+=1){var i=Bn(t,Xe,e);B[e]?B[e].p(i,r):(B[e]=Ln(i),B[e].c(),B[e].m(w,null))}for(;e<B.length;e+=1)B[e].d(1);B.length=Xe.length}if(3145728&r[0]&&et(w,t[21]),16384&r[0]&&be!==(be="CountryContainer "+(0<=t[14]?.indexOf("country")?"Hidden":""))&&_t(v,"class",be),2&r[1]&&Ze!==(Ze=t[32]("registerNationality")+"")&&Et(_e,Ze),4194304&r[0]){let e;for(Ke=t[22],e=0;e<Ke.length;e+=1){var n=Dn(t,Ke,e);A[e]?A[e].p(n,r):(A[e]=$n(n),A[e].c(),A[e].m(S,null))}for(;e<A.length;e+=1)A[e].d(1);A.length=Ke.length}if(12582912&r[0]&&et(S,t[23]),16384&r[0]&&xe!==(xe="NationalityContainer "+(0<=t[14]?.indexOf("nationality")?"Hidden":""))&&_t(_,"class",xe),2&r[1]&&Qe!==(Qe=t[32]("registerMobile")+"")&&Et(Me,Qe),33554432&r[0]){let e;for(Je=t[25],e=0;e<Je.length;e+=1){var s=On(t,Je,e);N[e]?N[e].p(s,r):(N[e]=Fn(s),N[e].c(),N[e].m(x,null))}for(;e<N.length;e+=1)N[e].d(1);N.length=Je.length}100663296&r[0]&&et(x,t[26]),16777216&r[0]&&T.value!==t[24]&&St(T,t[24]),t[8]?H?H.p(t,r):((H=In(t)).c(),H.m(C,null)):H&&(H.d(1),H=null),20736&r[0]&&He!==(He="MobileContainer "+(t[8]&&!t[12]?"InvalidField":"")+(0<=t[14]?.indexOf("mobile")?"Hidden":""))&&_t(C,"class",He),"true"===t[0]?R?R.p(t,r):((R=Un(t)).c(),R.m(l,Le)):R&&(R.d(1),R=null),2&r[1]&&qe!==(qe=t[32]("registerOpenAccount")+"")&&Et($e,qe),1&r[1]&&Fe!==(Fe=!t[31])&&(k.disabled=Fe),t[15]?L?L.p(t,r):((L=Wn(t)).c(),L.m(a,null)):L&&(L.d(1),L=null)},i:ht,o:ht,d(e){M&&M.d(e),gt($),e&>(F),e&>(o),e&>(I),e&>(a),P&&P.d(),O&&O.d(),D&&D.d(),rt(B,e),rt(A,e),rt(N,e),H&&H.d(),R&&R.d(),L&&L.d(),r[68](null),Ue=!1,ft(Ye)}}}function Qn(t,e,r){let R;le(t,Oi,e=>r(32,R=e));let i,n,s,o,a,l,c,{userconsentsexist:u="false"}=e,{termsconditions:d="false"}=e,{smsoffers:L="false"}=e,{emailmarketing:$="false"}=e,{endpoint:h=""}=e,{captchakey:f=""}=e,{lang:m=""}=e,{disabledfields:p=""}=e,{defaultoptions:g=""}=e,{clientstyling:y=""}=e,{clientstylingurl:v=""}=e,{translationurl:b=""}=e,F=!1,I=!1,U=!1,Y=!1,j=!1,G="",w="",_="",E="",S=[],C="",x=[],T="",k="",M=[],P="",O=!1,D=!1,B=!1,A=!1,z=!1;var V,W;({withLocale:V,translations:W}={withLocale:"en",translations:{}}),ae.subscribe(e=>{null==e&&(Kr.set(W),ae.set(V))}),Object.keys(Mn).forEach(e=>{kn(e,Mn[e])});const N=()=>{r(31,z=!(i||n||o||s||j||"true"===u&&"true"===d&&!A)),(w.length<=0||_.length<=0||E.length<=0||k.length<=0)&&r(31,z=!1)},H=e=>{switch(e){case"GeneralOffers":!1===O?(r(27,O=!0),r(28,D=!0),r(29,B=!0)):(r(27,O=!1),r(28,D=!1),r(29,B=!1));break;case"SmsOffers":!1===D?(r(28,D=!0),r(27,O=!0)):r(28,D=!1),Z();break;case"EmailOffers":!1===B?(r(29,B=!0),r(27,O=!0)):r(29,B=!1),Z()}},Z=()=>{D||B||r(27,O=!1)},Q=()=>{r(30,A=!1===A),N()},q=e=>{e.preventDefault();let t;new Promise((t,e)=>{grecaptcha.ready(()=>{grecaptcha.execute(f,{action:"submit"}).then(e=>{t(e)})})}).then(e=>{t={address:w,postalCode:_,city:E,countrySelected:C,nationalitySelected:T,mobilePrefixSelected:P,mobile:k,consentOffersSms:D,consentOffersEmail:B,consentTerms:A,consentOffers:O,token:e},window.postMessage({type:"RegisterStepThree",registerStepThreeData:t},window.location.href)})},X=e=>{if(e.data)switch(e.data.type){case"StepThreeDataBackup":r(17,w=e.data.userData.address1),r(18,_=e.data.userData.postalCode),r(19,E=e.data.userData.city),r(21,C=e.data.userData.country),r(23,T=e.data.userData.nationality),r(26,P=e.data.userData.mobile.prefix),r(24,k=e.data.userData.mobile.number),r(28,D=e.data.userData.userConsents.sms),r(29,B=e.data.userData.userConsents.emailmarketing),r(30,A=e.data.userData.userConsents.termsandconditions),N();break;case"ShowRegistrationError":r(15,j=e.data.showError),r(16,G=e.data.error)}};return ce(()=>(window.addEventListener("message",X,!1),()=>{window.removeEventListener("message",X)})),t.$$set=e=>{"userconsentsexist"in e&&r(0,u=e.userconsentsexist),"termsconditions"in e&&r(1,d=e.termsconditions),"smsoffers"in e&&r(2,L=e.smsoffers),"emailmarketing"in e&&r(3,$=e.emailmarketing),"endpoint"in e&&r(41,h=e.endpoint),"captchakey"in e&&r(4,f=e.captchakey),"lang"in e&&r(42,m=e.lang),"disabledfields"in e&&r(43,p=e.disabledfields),"defaultoptions"in e&&r(44,g=e.defaultoptions),"clientstyling"in e&&r(45,y=e.clientstyling),"clientstylingurl"in e&&r(46,v=e.clientstylingurl),"translationurl"in e&&r(47,b=e.translationurl)},t.$$.update=()=>{if(1024&t.$$.dirty[1]&&h&&fetch(h+"/v1/player/countries").then(e=>e.json()).then(e=>{fetch(h+"/v1/player/operatorSupportedCountries").then(e=>300<=e.status?new Error("Error while fetching the supported countries"):e.json()).then(t=>{r(20,S=e.countries.filter(e=>0<=t.countries.indexOf(e.Alpha2Code))),C||r(21,C=S[0].Alpha2Code),r(22,x=e.countries),T||r(23,T=x.filter(e=>0<=t.countries.indexOf(e.Alpha2Code))[0].Alpha2Code)})}),1024&t.$$.dirty[1]&&h&&fetch(h+"/v1/player/phonecodes").then(e=>e.json()).then(e=>{r(25,M=e.phoneCodes),P||r(26,P=M[0].Prefix)}),2048&t.$$.dirty[1]&&m&&(e=m,ae.set(e)),4096&t.$$.dirty[1]&&p&&(r(14,a=p.split(",")),0<=a.indexOf("address")&&(r(6,i=!1),r(17,w="dummy address")),0<=a.indexOf("postalCode")&&(r(7,n=!1),r(18,_="000000")),0<=a.indexOf("mobile")&&(r(8,s=!1),r(24,k="1234123412"),r(26,P="000")),0<=a.indexOf("city")&&(r(9,o=!1),r(19,E="dummy city")),0<=a.indexOf("country")&&r(21,C="dummy country"),0<=a.indexOf("nationality"))&&r(23,T="dummy nationality"),8192&t.$$.dirty[1]&&g&&(0<=(l=g.split(",")).indexOf("consentsTerms")&&r(30,A=!0),0<=l.indexOf("consentsOffers")&&(r(27,O=!0),r(28,D=!0),r(29,B=!0)),l.forEach(e=>{e.includes("phonePrefix")&&r(26,P=e.split(":")[1].toString())})),32&t.$$.dirty[0]|16384&t.$$.dirty[1]&&y&&c&&((e=document.createElement("style")).innerHTML=y,c.appendChild(e)),32&t.$$.dirty[0]|32768&t.$$.dirty[1]&&v&&c){let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{c.appendChild(t)},1),setTimeout(()=>{},500)})}var e;65536&t.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{kn(e,t[e])})}).catch(e=>{console.log(e)})},[u,d,L,$,f,c,i,n,s,o,F,I,U,Y,a,j,G,w,_,E,S,C,x,T,k,M,P,O,D,B,A,z,R,()=>{r(6,i=!(w&&w.length<=100)),N()},()=>{r(7,n=!(_&&_.length<=20)),N()},()=>{r(9,o=!(E&&E.length<=50)),N()},()=>{r(8,s=!(k&&5<=k.length&&k.length<=12)),N()},H,Q,q,()=>{var e={address:w,postalCode:_,city:E,countrySelected:C,nationalitySelected:T,mobilePrefixSelected:P,mobile:k,consentOffersSms:D,consentOffersEmail:B,consentTerms:A,consentOffers:O};window.postMessage({type:"GoBackStepThree",registerStepThreeData:e},window.location.href)},h,m,p,g,y,v,b,function(){w=this.value,r(17,w)},()=>r(10,F=!0),()=>r(10,F=!1),function(){_=this.value,r(18,_)},()=>r(11,I=!0),()=>r(11,I=!1),function(){E=this.value,r(19,E)},()=>r(13,Y=!0),()=>r(13,Y=!1),function(){C=K(this),r(21,C),r(20,S)},function(){T=K(this),r(23,T),r(22,x)},function(){P=K(this),r(26,P),r(25,M)},function(){k=this.value,r(24,k)},()=>r(12,U=!0),()=>r(12,U=!1),()=>H("GeneralOffers"),()=>H("SmsOffers"),()=>H("EmailOffers"),()=>Q(),e=>q(e),function(e){oe[e?"unshift":"push"](()=>{c=e,r(5,c)})}]}function qn(e,t){ei(e,t)}customElements.get("general-player-register-form-step3")||customElements.define("general-player-register-form-step3",class extends I{constructor(e){super();var t=document.createElement("style");t.textContent=".BackButton{display:inline-flex;color:var(--emfe-w-registration-typography, var(--emfe-w-color-contrast, #07072A));height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer;margin-bottom:30px}.BackButton svg{width:20px;height:20px;margin-right:20px;fill:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.AddressPostalCodeContainer{display:flex;gap:16px}.CountryContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.CountryContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.CountryContainer select:focus,.CountryContainer select :focus-within,.CountryContainer select :focus-visible,.CountryContainer select :visited{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.AddressContainer,.PostalCodeContainer,.CityContainer,.CountryContainer,.NationalityContainer,.MobileContainer{color:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.AddressContainer label,.PostalCodeContainer label,.CityContainer label,.CountryContainer label,.NationalityContainer label,.MobileContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.AddressContainer input,.PostalCodeContainer input,.CityContainer input,.CountryContainer select,.NationalityContainer select,.MobileContainer input,.MobileContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.AddressContainer.InvalidField input,.PostalCodeContainer.InvalidField input,.CityContainer.InvalidField input,.MobileContainer.InvalidField input{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));background:var(--emfe-w-color-pale, #FBECF4);color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.AddressContainer.Hidden,.PostalCodeContainer.Hidden,.CityContainer.Hidden,.CountryContainer.Hidden,.NationalityContainer.Hidden,.MobileContainer.Hidden{display:none}.AddressContainer{width:65%}.PostalCodeContainer{width:35%}.MobileWrapper{display:flex;gap:16px}.MobileWrapper .MobilePrefixSelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.MobileWrapper .MobilePrefixSelected:focus,.MobileWrapper .MobilePrefixSelected :focus-within,.MobileWrapper .MobilePrefixSelected :focus-visible,.MobileWrapper .MobilePrefixSelected :visited{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.MobileWrapper .MobileInput{width:70%}.FormRequired{color:var(--emfe-w-color-secondary, #FD2839)}.InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));font-size:10px;line-height:10px}.OffersMethodsWrapper{padding-left:32px}.Offers,.OffersMethod,.AgeConsent{display:block;position:relative;padding:5px 0 0 35px;margin-bottom:16px;font-size:16px;user-select:none;line-height:18px}.Offers input,.OffersMethod input,.AgeConsent input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.Offers .Checkmark,.OffersMethod .Checkmark,.AgeConsent .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:50%}.Offers input:checked~.Checkmark,.OffersMethod input:checked~.Checkmark,.AgeConsent input:checked~.Checkmark{background-color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.Offers .Checkmark:after,.OffersMethod .Checkmark:after,.AgeConsent .Checkmark:after{content:\"\";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 3px 3px 0;transform:rotate(45deg)}.Offers input:checked~.Checkmark:after,.OffersMethod input:checked~.Checkmark:after,.AgeConsent input:checked~.Checkmark:after{display:block}.NotificationContainer{margin-top:32px}.NotificationContainer p{color:var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839));font-size:14px}.RegisterError{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));font-size:16px;line-height:18px}.RegisterStepNext{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);cursor:not-allowed}",this.shadowRoot.appendChild(t),F(this,{target:this.shadowRoot,props:M(this.attributes),customElement:!0},Qn,Zn,S,{userconsentsexist:0,termsconditions:1,smsoffers:2,emailmarketing:3,endpoint:41,captchakey:4,lang:42,disabledfields:43,defaultoptions:44,clientstyling:45,clientstylingurl:46,translationurl:47},null,[-1,-1,-1,-1]),e&&(e.target&&pt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["userconsentsexist","termsconditions","smsoffers","emailmarketing","endpoint","captchakey","lang","disabledfields","defaultoptions","clientstyling","clientstylingurl","translationurl"]}get userconsentsexist(){return this.$$.ctx[0]}set userconsentsexist(e){this.$$set({userconsentsexist:e}),h()}get termsconditions(){return this.$$.ctx[1]}set termsconditions(e){this.$$set({termsconditions:e}),h()}get smsoffers(){return this.$$.ctx[2]}set smsoffers(e){this.$$set({smsoffers:e}),h()}get emailmarketing(){return this.$$.ctx[3]}set emailmarketing(e){this.$$set({emailmarketing:e}),h()}get endpoint(){return this.$$.ctx[41]}set endpoint(e){this.$$set({endpoint:e}),h()}get captchakey(){return this.$$.ctx[4]}set captchakey(e){this.$$set({captchakey:e}),h()}get lang(){return this.$$.ctx[42]}set lang(e){this.$$set({lang:e}),h()}get disabledfields(){return this.$$.ctx[43]}set disabledfields(e){this.$$set({disabledfields:e}),h()}get defaultoptions(){return this.$$.ctx[44]}set defaultoptions(e){this.$$set({defaultoptions:e}),h()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),h()}});const Xn={en:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"A new verification code has been sent to your phone number.",activate:"Activate Account",resend:"Resend",loginSMSHint:"A new verification code has been sent to your phone number"},"zh-hk":{title:"请输入您在号码上收到的验证码",errorTitle:"您的代码无效,您可以重新发送代码并重试",code:"短信代码",smsCodeError:"短信验证码无效,请重新发送验证码",resendMessage:"新的验证码已发送至您的手机号码",activate:"激活账户",resend:"重发"},fr:{title:"Veuillez entrer le code de vérification que vous avez reçu sur votre numéro",errorTitle:"Votre code n'était pas valide, vous pouvez renvoyer le code et réessayer",code:"Code SMS",smsCodeError:"Code sms invalide, vous pouvez renvoyer le code",resendMessage:"Un nouveau code de vérification a été envoyé à votre numéro de téléphone.",activate:"Activer le compte",resend:"Renvoyer"},tr:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"Telefon numaranıza yeni bir doğrulama kodu gönderildi.",activate:"Activate Account",resend:"Resend"},ro:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"Un nou cod de verificare a fost trimis catre numarul dumneavoastra.",activate:"Activate Account",resend:"Resend"},es:{title:"Por favor ingrese su código de verificación enviado por mensaje de texto a su número de telefono",errorTitle:"Su código es invalido",code:"Código SMS",smsCodeError:"Código SMS invalido",resendMessage:"Un nuevo codigo de verificación ha sido enviado a tu número celular.",activate:"Activar Cuenta",resend:"Reenviar"},pt:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"Um novo código de verificação foi enviado para o seu número de telefone.",activate:"Activate Account",resend:"Resend"},hr:{title:"Unesite verifikacijski kod koji ste primili na svoj broj telefona",errorTitle:"Vaš kod je nevažeći",code:"Sms kod",smsCodeError:"Nevažeći sms kod",resendMessage:"Novi verifkacijski kod poslan je na vaš broj telefona.",activate:"Aktiviraj račun",resend:"Ponovno pošalji",loginSMSHint:"Novi verifkacijski kod poslan je na vaš broj telefona"}};function Kn(e){let r,i=e[5]("errorTitle")+"";return{c(){r=vt(i)},m(e,t){pt(e,r,t)},p(e,t){32&t&&i!==(i=e[5]("errorTitle")+"")&&Et(r,i)},d(e){e&>(r)}}}function Jn(e){let r,i=e[5]("title")+"";return{c(){r=vt(i)},m(e,t){pt(e,r,t)},p(e,t){32&t&&i!==(i=e[5]("title")+"")&&Et(r,i)},d(e){e&>(r)}}}function es(e){let r,i,n=e[5]("smsCodeError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){32&t&&n!==(n=e[5]("smsCodeError")+"")&&Et(i,n)},d(e){e&>(r)}}}function ts(e){let r,i,n=e[5]("resendMessage")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","SmsVerificationResendMessage")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){32&t&&n!==(n=e[5]("resendMessage")+"")&&Et(i,n)},d(e){e&>(r)}}}function rs(e){let r,i,n,s,o,a=e[4]<10?"0":"";return{c(){r=yt("span"),i=vt("(0:"),n=vt(a),s=vt(e[4]),o=vt(")"),_t(r,"class","SmsVerificationResendTimer")},m(e,t){pt(e,r,t),mt(r,i),mt(r,n),mt(r,s),mt(r,o)},p(e,t){16&t&&a!==(a=e[4]<10?"0":"")&&Et(n,a),16&t&&Et(s,e[4])},d(e){e&>(r)}}}function is(r){let i,n,s,o,a,l,c,u,d,h,f,m,p,g,y,v,b,w,_,E,S,C,x=r[5]("code")+"",T=r[5]("activate")+"",k=r[5]("resend")+"";function M(e){return e[2]?Jn:Kn}let P=M(r),O=P(r),D=!r[2]&&es(r),B=r[3]&&ts(r),A=r[3]&&rs(r);return{c(){i=yt("div"),n=yt("h3"),O.c(),s=bt(),o=yt("div"),a=yt("label"),l=vt(x),c=vt(":"),(u=yt("span")).textContent="*",d=bt(),h=yt("input"),f=bt(),D&&D.c(),p=bt(),B&&B.c(),g=bt(),y=yt("button"),v=vt(T),b=bt(),w=yt("button"),_=vt(k),E=bt(),A&&A.c(),this.c=ht,_t(n,"class","Title"),_t(u,"class","FormRequired"),_t(a,"for","SmsCode"),_t(h,"type","text"),_t(h,"id","SmsCode"),_t(h,"inputmode","numeric"),_t(h,"pattern","[0-9]*"),_t(h,"maxlength","6"),_t(o,"class",m="Field SmsVerificationField "+(r[2]?"":"InvalidField")),_t(y,"class","Button SmsVerificationValidate"),_t(w,"class","Button SmsVerificationResend"),w.disabled=r[3],_t(i,"class","Container SmsVerificationContainer")},m(e,t){pt(e,i,t),mt(i,n),O.m(n,null),mt(i,s),mt(i,o),mt(o,a),mt(a,l),mt(a,c),mt(a,u),mt(o,d),mt(o,h),St(h,r[1]),mt(o,f),D&&D.m(o,null),mt(i,p),B&&B.m(i,null),mt(i,g),mt(i,y),mt(y,v),mt(i,b),mt(i,w),mt(w,_),mt(w,E),A&&A.m(w,null),r[19](i),S||(C=[wt(h,"input",r[17]),wt(h,"keydown",r[18]),wt(y,"click",r[6]),wt(w,"click",r[7])],S=!0)},p(e,[t]){P===(P=M(e))&&O?O.p(e,t):(O.d(1),(O=P(e))&&(O.c(),O.m(n,null))),32&t&&x!==(x=e[5]("code")+"")&&Et(l,x),2&t&&h.value!==e[1]&&St(h,e[1]),e[2]?D&&(D.d(1),D=null):D?D.p(e,t):((D=es(e)).c(),D.m(o,null)),4&t&&m!==(m="Field SmsVerificationField "+(e[2]?"":"InvalidField"))&&_t(o,"class",m),e[3]?B?B.p(e,t):((B=ts(e)).c(),B.m(i,g)):B&&(B.d(1),B=null),32&t&&T!==(T=e[5]("activate")+"")&&Et(v,T),32&t&&k!==(k=e[5]("resend")+"")&&Et(_,k),e[3]?A?A.p(e,t):((A=rs(e)).c(),A.m(w,null)):A&&(A.d(1),A=null),8&t&&(w.disabled=e[3])},i:ht,o:ht,d(e){e&>(i),O.d(),D&&D.d(),B&&B.d(),A&&A.d(),r[19](null),S=!1,ft(C)}}}function ns(t,e,r){let i;le(t,Oi,e=>r(5,i=e));let n,s,o,{endpoint:a=""}=e,{tokenid:l=""}=e,{playerid:c=""}=e,{smstemplate:u="Please use this code {0} to activate your accout"}=e,{number:d=""}=e,{clientstyling:h=""}=e,{clientstylingurl:f=""}=e,{translationurl:m=""}=e,p=!0,g=!1,y=+localStorage.getItem("smsTimer")||0,v=Date.now()/1e3-y,b=60-Math.floor(v);const w={numeric:/^[0-9]{0,6}$/};var _,E;({withLocale:_,translations:E}={withLocale:"en",translations:{}}),ae.subscribe(e=>{null==e&&(Kr.set(E),ae.set(_))}),Object.keys(Xn).forEach(e=>{qn(e,Xn[e])});const S=()=>{0<b?r(4,b--,b):(clearInterval(s),r(3,s=!1),r(4,b=60))},C=()=>{v<60&&r(3,s=setInterval(()=>{S()},1e3))},x=e=>{w.numeric.test(e.key)||8===e.keyCode||9===e.keyCode||46===e.keyCode||e.preventDefault()};return ce(()=>{var e;c&&d||(e=JSON.parse(localStorage.getItem("playerData")),r(10,c=e.playerid),r(11,d=e.number)),C()}),t.$$set=e=>{"endpoint"in e&&r(12,a=e.endpoint),"tokenid"in e&&r(9,l=e.tokenid),"playerid"in e&&r(10,c=e.playerid),"smstemplate"in e&&r(13,u=e.smstemplate),"number"in e&&r(11,d=e.number),"clientstyling"in e&&r(14,h=e.clientstyling),"clientstylingurl"in e&&r(15,f=e.clientstylingurl),"translationurl"in e&&r(16,m=e.translationurl)},t.$$.update=()=>{if(t.$$.dirty,16385&t.$$.dirty&&h&&o&&((e=document.createElement("style")).innerHTML=h,o.appendChild(e)),32769&t.$$.dirty&&f&&o){let e=new URL(f),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{},500)})}var e;65536&t.$$.dirty&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{qn(e,t[e])})}).catch(e=>{console.log(e)})},[o,n,p,s,b,i,async()=>{try{if(!(await fetch(`${a}/v1/player/${c}/activateSMS?tokenId=${l}&validationCode=`+n,{headers:{"Content-Type":"application/json",accept:"application/json"}})).ok)throw window.postMessage({type:"WidgetNotification",data:{type:"error",message:"Could not activate user"}},window.location.href),r(2,p=!1),new Error("Could not activate user");r(2,p=!0),window.postMessage({type:"SmsHasBeenValidated"},window.location.href)}catch(e){console.log(e)}},async()=>{localStorage.setItem("smsTimer",JSON.stringify(Math.floor(Date.now()/1e3))),C();try{var e=await fetch(a+"/v1/player/sms/token",{method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify({userId:c,messageTemplate:u,destination:d})}),t=await e.json();if(!e.ok)throw g=!0,new Error("Failed to fetch");r(9,l=t.id),g=!1,S()}catch(e){g=!0,console.error(e)}},x,l,c,d,a,u,h,f,m,function(){n=this.value,r(1,n)},e=>x(e),function(e){oe[e?"unshift":"push"](()=>{o=e,r(0,o)})}]}function ss(r){let i,n,s,o,a,l,c,u,d;return{c(){i=yt("div"),n=yt("div"),o=bt(),a=yt("div"),c=bt(),u=yt("div"),_t(n,"class",s="RegisterFirstStepDash "+(r[17]||!r[17]&&r[18]||!r[17]&&!r[18]&&r[19]?"RegisterStepDashColor":"")),_t(a,"class",l="RegisterSecondStepDash "+(r[18]||!r[17]&&!r[18]&&r[19]?"RegisterStepDashColor":"")),_t(u,"class",d="RegisterThirdStepDash "+(r[19]?"RegisterStepDashColor":"")),_t(i,"class","RegisterSteps")},m(e,t){pt(e,i,t),mt(i,n),mt(i,o),mt(i,a),mt(i,c),mt(i,u),r[40](i)},p(e,t){917504&t[0]&&s!==(s="RegisterFirstStepDash "+(e[17]||!e[17]&&e[18]||!e[17]&&!e[18]&&e[19]?"RegisterStepDashColor":""))&&_t(n,"class",s),917504&t[0]&&l!==(l="RegisterSecondStepDash "+(e[18]||!e[17]&&!e[18]&&e[19]?"RegisterStepDashColor":""))&&_t(a,"class",l),524288&t[0]&&d!==(d="RegisterThirdStepDash "+(e[19]?"RegisterStepDashColor":""))&&_t(u,"class",d)},d(e){e&>(i),r[40](null)}}}function os(e){let r,i;return{c(){r=yt("div"),n(i=yt("general-player-register-form-step1"),"lang",e[3]),n(i,"disabledfields",e[5]),n(i,"defaultoptions",e[6]),n(i,"dummydata",e[7]),n(i,"custominputtextswitch",e[14]),n(i,"simplepasswordvalidation",e[9]),n(i,"clientstyling",e[10]),n(i,"clientstylingurl",e[11]),n(i,"savecredentials",e[13]),n(i,"translationurl",e[12]),_t(r,"class","RegisterFormStep1")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){8&t[0]&&n(i,"lang",e[3]),32&t[0]&&n(i,"disabledfields",e[5]),64&t[0]&&n(i,"defaultoptions",e[6]),128&t[0]&&n(i,"dummydata",e[7]),16384&t[0]&&n(i,"custominputtextswitch",e[14]),512&t[0]&&n(i,"simplepasswordvalidation",e[9]),1024&t[0]&&n(i,"clientstyling",e[10]),2048&t[0]&&n(i,"clientstylingurl",e[11]),8192&t[0]&&n(i,"savecredentials",e[13]),4096&t[0]&&n(i,"translationurl",e[12])},d(e){e&>(r)}}}function as(e){let r,i;return{c(){r=yt("div"),n(i=yt("general-player-register-form-step2"),"endpoint",e[0]),n(i,"lang",e[3]),n(i,"licenseyears",e[4]),n(i,"disabledfields",e[5]),n(i,"defaultoptions",e[6]),n(i,"dummydata",e[7]),n(i,"clientstyling",e[10]),n(i,"clientstylingurl",e[11]),n(i,"translationurl",e[12]),_t(r,"class","RegisterFormStep2")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){1&t[0]&&n(i,"endpoint",e[0]),8&t[0]&&n(i,"lang",e[3]),16&t[0]&&n(i,"licenseyears",e[4]),32&t[0]&&n(i,"disabledfields",e[5]),64&t[0]&&n(i,"defaultoptions",e[6]),128&t[0]&&n(i,"dummydata",e[7]),1024&t[0]&&n(i,"clientstyling",e[10]),2048&t[0]&&n(i,"clientstylingurl",e[11]),4096&t[0]&&n(i,"translationurl",e[12])},d(e){e&>(r)}}}function ls(e){let r,i;return{c(){r=yt("div"),n(i=yt("general-player-register-form-step3"),"userconsentsexist",e[25]),n(i,"termsconditions",e[26]),n(i,"smsoffers",e[27]),n(i,"emailmarketing",e[28]),n(i,"endpoint",e[0]),n(i,"captchakey",e[2]),n(i,"lang",e[3]),n(i,"defaultoptions",e[6]),n(i,"disabledfields",e[5]),n(i,"dummydata",e[7]),n(i,"clientstyling",e[10]),n(i,"clientstylingurl",e[11]),n(i,"translationurl",e[12]),_t(r,"class","RegisterFormStep3")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){33554432&t[0]&&n(i,"userconsentsexist",e[25]),67108864&t[0]&&n(i,"termsconditions",e[26]),134217728&t[0]&&n(i,"smsoffers",e[27]),268435456&t[0]&&n(i,"emailmarketing",e[28]),1&t[0]&&n(i,"endpoint",e[0]),4&t[0]&&n(i,"captchakey",e[2]),8&t[0]&&n(i,"lang",e[3]),64&t[0]&&n(i,"defaultoptions",e[6]),32&t[0]&&n(i,"disabledfields",e[5]),128&t[0]&&n(i,"dummydata",e[7]),1024&t[0]&&n(i,"clientstyling",e[10]),2048&t[0]&&n(i,"clientstylingurl",e[11]),4096&t[0]&&n(i,"translationurl",e[12])},d(e){e&>(r)}}}function cs(e){let r,i,n=e[33]("error")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","SMSErrorText")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){4&t[1]&&n!==(n=e[33]("error")+"")&&Et(i,n)},d(e){e&>(r)}}}function us(e){let r;function i(e){return e[30]?ds:hs}let n=i(e),s=n(e);return{c(){s.c(),r=it()},m(e,t){s.m(e,t),pt(e,r,t)},p(e,t){n===(n=i(e))&&s?s.p(e,t):(s.d(1),(s=n(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){s.d(e),e&>(r)}}}function ds(e){let r,i,n=e[33]("error")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","SMSErrorText")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){4&t[1]&&n!==(n=e[33]("error")+"")&&Et(i,n)},d(e){e&>(r)}}}function hs(e){let r;return{c(){n(r=yt("general-player-sms-verification-form"),"endpoint",e[0]),n(r,"session",e[1]),n(r,"number",e[31]),n(r,"playerid",e[16]),n(r,"tokenid",e[29]),n(r,"clientstyling",e[10]),n(r,"clientstylingurl",e[11])},m(e,t){pt(e,r,t)},p(e,t){1&t[0]&&n(r,"endpoint",e[0]),2&t[0]&&n(r,"session",e[1]),1&t[1]&&n(r,"number",e[31]),65536&t[0]&&n(r,"playerid",e[16]),536870912&t[0]&&n(r,"tokenid",e[29]),1024&t[0]&&n(r,"clientstyling",e[10]),2048&t[0]&&n(r,"clientstylingurl",e[11])},d(e){e&>(r)}}}function fs(r){let i,n,s,o,a,l,c,u,d,h,f,m,p,g,y,v,b,w,_,E,S=r[33]("goToLoginButton")+"";return{c(){i=yt("div"),n=t("svg"),s=t("defs"),o=t("style"),a=vt(".a{fill:#var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));}"),l=t("path"),c=bt(),u=yt("h2"),d=vt(r[22]),h=bt(),f=yt("p"),m=vt(r[23]),p=bt(),g=yt("p"),y=vt(r[24]),v=bt(),b=yt("button"),w=vt(S),_t(l,"class","a"),_t(l,"d","M29.325,51,0,21.675l5.95-5.95,23.375,22.95L68,0l5.95,5.95Z"),_t(n,"xmlns","http://www.w3.org/2000/svg"),_t(n,"viewBox","0 0 73.95 51"),_t(u,"class","RegisterConfirmationTitle"),_t(f,"class","RegisterConfirmationSubtitle"),_t(g,"class","RegisterConfirmationNote"),_t(b,"class","RegisterConfirmationGoToLogin"),_t(i,"class","RegisterConfirmation")},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(s,o),mt(o,a),mt(n,l),mt(i,c),mt(i,u),mt(u,d),mt(i,h),mt(i,f),mt(f,m),mt(i,p),mt(i,g),mt(g,y),mt(i,v),mt(i,b),mt(b,w),_||(E=wt(b,"click",r[35]),_=!0)},p(e,t){4194304&t[0]&&Et(d,e[22]),8388608&t[0]&&Et(m,e[23]),16777216&t[0]&&Et(y,e[24]),4&t[1]&&S!==(S=e[33]("goToLoginButton")+"")&&Et(w,S)},d(e){e&>(i),_=!1,E()}}}function ms(r){let i,n=function(e){let r,i,n,s,o,a,l,c=(e[17]||e[18]||e[19])&&ss(e),u=e[17]&&os(e),d=e[18]&&as(e),h=e[19]&&ls(e);function f(e){return e[8]&&e[20]?us:e[30]?cs:void 0}let m=f(e),p=m&&m(e),g=e[21]&&fs(e);return{c(){r=yt("div"),i=yt("div"),c&&c.c(),n=bt(),u&&u.c(),s=bt(),d&&d.c(),o=bt(),h&&h.c(),a=bt(),p&&p.c(),l=bt(),g&&g.c(),_t(i,"class","RegisterFormContainer "+(e[34]?"RegisterFormContainerMobile":"")),_t(r,"class","RegisterFormWrapper")},m(e,t){pt(e,r,t),mt(r,i),c&&c.m(i,null),mt(i,n),u&&u.m(i,null),mt(i,s),d&&d.m(i,null),mt(i,o),h&&h.m(i,null),mt(i,a),p&&p.m(i,null),mt(i,l),g&&g.m(i,null)},p(e,t){e[17]||e[18]||e[19]?c?c.p(e,t):((c=ss(e)).c(),c.m(i,n)):c&&(c.d(1),c=null),e[17]?u?u.p(e,t):((u=os(e)).c(),u.m(i,s)):u&&(u.d(1),u=null),e[18]?d?d.p(e,t):((d=as(e)).c(),d.m(i,o)):d&&(d.d(1),d=null),e[19]?h?h.p(e,t):((h=ls(e)).c(),h.m(i,a)):h&&(h.d(1),h=null),m===(m=f(e))&&p?p.p(e,t):(p&&p.d(1),(p=m&&m(e))&&(p.c(),p.m(i,l))),e[21]?g?g.p(e,t):((g=fs(e)).c(),g.m(i,null)):g&&(g.d(1),g=null)},d(e){e&>(r),c&&c.d(),u&&u.d(),d&&d.d(),h&&h.d(),p&&p.d(),g&&g.d()}}}(r);return{c(){i=yt("div"),n.c(),this.c=ht},m(e,t){pt(e,i,t),n.m(i,null),r[41](i)},p(e,t){n.p(e,t)},i:ht,o:ht,d(e){e&>(i),n.d(),r[41](null)}}}function ps(r,e,o){let t;le(r,Oi,e=>o(33,t=e));let i,n,R,s,a,{endpoint:l=""}=e,{cmsendpoint:c=""}=e,{env:u=""}=e,{session:d=""}=e,{trackedanalyticsdata:h=""}=e,{captchakey:f=""}=e,{lang:m="en"}=e,{licenseyears:p=""}=e,{disabledfields:g=""}=e,{defaultoptions:y=""}=e,{dummydata:L=""}=e,{smsverification:v="false"}=e,{simplepasswordvalidation:$="false"}=e,{userroles:b=""}=e,{clientstyling:w=""}=e,{clientstylingurl:_=""}=e,{translationurl:E=""}=e,{savecredentials:F=""}=e,{custominputtextswitch:I="false"}=e,S=[],U=[],Y="",C=!0,x=!1,T=!1,k=!1,M=!1,j=!1,G="",z="",V="",P=window.navigator.userAgent,W="PC"!==Di(P),O={},Z=!1,Q=!1,D="false",q="false",X="false",K="false",J="",B=!1,ee=!1,te={username:"",password:""};var re,ie;({withLocale:re,translations:ie}={withLocale:"en",translations:{}}),ae.subscribe(e=>{null==e&&(Kr.set(ie),ae.set(re))}),Object.keys(Ai).forEach(e=>{Bi(e,Ai[e])});const A=()=>{a.scrollIntoView()},N=t=>{let r;return U.forEach(e=>{e.includes(t)&&(r=e.split(":")[1].toString())}),r},H=(e,t)=>{var r;U=y.split(","),"RegisterStepOne"===e&&(O.email=0<=S.indexOf("email")?null!=(r=N("email"))?r:"dummy@dummy.com":t.userEmail,O.username=0<=S.indexOf("username")?null!=(r=N("username"))?r:"dummyUsername":t.userValue,O.password=0<=S.indexOf("password")?null!=(r=N("password"))?r:"dummyPassword01!":t.userPassword,O.securityQuestion=0<=S.indexOf("securityQuestion")?null!=(r=N("securityQuestion"))?r:"dummy question":t.securityQuestion,O.securityAnswer=0<=S.indexOf("securityAnswer")?null!=(r=N("securityAnswer"))?r:"dummy answer":t.securityAnswer,O.promoCode=0<=S.indexOf("promoCode")?null!=(r=N("promoCode"))?r:"":t.promoCode),"RegisterStepTwo"===e&&(O.title=t.userTitleSelected,O.firstname=0<=S.indexOf("firstName")?null!=(r=N("firstName"))?r:"dummy first name":t.userFirstName,O.lastname=0<=S.indexOf("lastName")?null!=(r=N("lastName"))?r:"dummy last name":t.userLastName,0<=S.indexOf("birthDate")?O.birth={day:1,month:1,year:2e3}:(O.birth={},O.birth.day=t.birthDaySelected,O.birth.month=t.birthMonthSelected,O.birth.year=t.birthYearSelected),O.birthPlace=0<=S.indexOf("birthPlace")?null!=(r=N("birthPlace"))?r:"ngenge":t.birthPlace,O.currency=null!=(r=N("currency"))?r:t.currencySelected),"RegisterStepThree"===e&&(O.address1=0<=S.indexOf("address")?null!=(r=N("address"))?r:"dummy address":t.address,O.postalCode=0<=S.indexOf("postalCode")?null!=(e=N("postalCode"))?e:"000000":t.postalCode,O.city=0<=S.indexOf("city")?null!=(r=N("city"))?r:"dummy city":t.city,O.country=0<=S.indexOf("country")?null!=(e=N("country"))?e:"dummy country":t.countrySelected,O.nationality=0<=S.indexOf("nationality")?null!=(r=N("nationality"))?r:"dummy nationality":t.nationalitySelected,0<=S.indexOf("mobile")?O.mobile={prefix:null!=(e=N("phonePrefix"))?e:"0040",number:"1234123412"}:(O.mobile={},O.mobile.prefix=null!=(r=N("phonePrefix"))?r:t.mobilePrefixSelected,O.mobile.number=t.mobile,o(31,s=""+t.mobilePrefixSelected+t.mobile)),O.userConsents={},O.affiliateMarker=O.promoCode||(null!=h?h:""),"true"==D&&(O.userConsents.sms=t.consentOffersSms,O.userConsents.emailmarketing=t.consentOffersEmail,O.userConsents.termsandconditions=t.consentTerms),O.token=t.token)},ne=e=>{if(e.data)switch(e.data.type){case"RegisterStepOne":H("RegisterStepOne",e.data.registerStepOneData),A(),o(17,C=!1),o(18,x=!0),0==Z?Z=!0:window.postMessage({type:"StepTwoDataBackup",userData:O},window.location.href);break;case"RegisterStepTwo":H("RegisterStepTwo",e.data.registerStepTwoData),A(),o(18,x=!1),o(19,T=!0),0==Q?Q=!0:window.postMessage({type:"StepThreeDataBackup",userData:O},window.location.href);break;case"RegisterStepThree":H("RegisterStepThree",e.data.registerStepThreeData),(async e=>{let t={method:"PUT",headers:{"g-recaptcha-response":e.token,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)},r=await fetch(`${l}/v1/player/register`,t),i=await r.json();var n,s;r.ok?(o(19,T=!1),"false"===v?o(21,M=!0):(o(16,Y=i.id),se(e,i.id)),te={username:e.username,password:e.password},ee&&(Li("BIOMETRICS_ENABLED",()=>{}),{username:n,password:s}=te,Ri("ENABLE_BIOMETRICS",{username:n,password:s})),"function"==typeof gtag&>ag("event","Register",{context:"GeneralPlayerRegisterForm"})):(J=i.error.substring(i.error.indexOf("errorMessage")+13,i.error.length),j=!0,window.postMessage({type:"ShowRegistrationError",showError:j,error:J},window.location.href))})(O);break;case"SmsHasBeenValidated":o(21,M=!0),o(20,k=!1);break;case"GoBackStepTwo":H("RegisterStepTwo",e.data.registerStepTwoData),A(),o(17,C=!0),o(18,x=!1),window.postMessage({type:"StepOneDataBackup",userData:O},window.location.href);break;case"GoBackStepThree":H("RegisterStepThree",e.data.registerStepThreeData),A(),o(18,x=!0),o(19,T=!1),window.postMessage({type:"StepTwoDataBackup",userData:O},window.location.href)}},se=async(e,t)=>{localStorage.setItem("smsTimer",JSON.stringify(Math.floor(Date.now()/1e3)));try{var r=await fetch(l+"/v1/player/sms/token",{method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify({userId:t,messageTemplate:"Please use this code {0} to activate your account",destination:""+e.mobile.prefix+e.mobile.number})}),i=await r.json();if(!r.ok)throw o(30,B=!0),new Error("Failed to fetch");o(29,R=i.id),i.maxValidationAttempts,o(20,k=!0),o(30,B=!1)}catch(e){o(30,B=!0),console.error(e)}};return ce(()=>(window.addEventListener("message",ne,!1),ee=!!Hi(P),()=>{window.removeEventListener("message",ne)})),r.$$set=e=>{"endpoint"in e&&o(0,l=e.endpoint),"cmsendpoint"in e&&o(36,c=e.cmsendpoint),"env"in e&&o(37,u=e.env),"session"in e&&o(1,d=e.session),"trackedanalyticsdata"in e&&o(38,h=e.trackedanalyticsdata),"captchakey"in e&&o(2,f=e.captchakey),"lang"in e&&o(3,m=e.lang),"licenseyears"in e&&o(4,p=e.licenseyears),"disabledfields"in e&&o(5,g=e.disabledfields),"defaultoptions"in e&&o(6,y=e.defaultoptions),"dummydata"in e&&o(7,L=e.dummydata),"smsverification"in e&&o(8,v=e.smsverification),"simplepasswordvalidation"in e&&o(9,$=e.simplepasswordvalidation),"userroles"in e&&o(39,b=e.userroles),"clientstyling"in e&&o(10,w=e.clientstyling),"clientstylingurl"in e&&o(11,_=e.clientstylingurl),"translationurl"in e&&o(12,E=e.translationurl),"savecredentials"in e&&o(13,F=e.savecredentials),"custominputtextswitch"in e&&o(14,I=e.custominputtextswitch)},r.$$.update=()=>{if(1&r.$$.dirty[0]&&l&&fetch(l+"/v1/player/consentRequirements").then(e=>e.json()).then(e=>{0<e.items.length?(o(25,D="true"),e.items.forEach(e=>{switch(e.tagCode){case"termsandconditions":o(26,q="true");break;case"sms":o(27,X="true");break;case"emailmarketing":o(28,K="true")}})):o(25,D="false")}),8&r.$$.dirty[0]|352&r.$$.dirty[1]&&c&&m&&u&&b&&(e=new URL(`${c}/${m}/login-register-content?env=`+u),(t=Di(P))&&("PC"===t?e.searchParams.append("device","dk"):e.searchParams.append("device","mtWeb")),fetch(e.href).then(e=>e.json()).then(e=>{n=e.registerData,o(22,G=n.title),o(23,z=n.subtitle),o(24,V=n.content)}).catch(e=>{console.error(e)})),r.$$.dirty[0],8&r.$$.dirty[0]&&m&&(t=m,ae.set(t)),32&r.$$.dirty[0]&&g&&(S=g.split(",")),33792&r.$$.dirty[0]&&w&&i&&((e=document.createElement("style")).innerHTML=w,i.appendChild(e)),34816&r.$$.dirty[0]&&_&&i){let e=new URL(_),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{},500)})}var e,t;4096&r.$$.dirty[0]&&E&&fetch(E).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Bi(e,t[e])})}).catch(e=>{console.log(e)})},[l,d,f,m,p,g,y,L,v,$,w,_,E,F,I,i,Y,C,x,T,k,M,G,z,V,D,q,X,K,void 0,B,s,a,t,W,()=>{window.postMessage({type:"ToLogin"},window.location.href)},c,u,h,b,function(e){oe[e?"unshift":"push"](()=>{a=e,o(32,a)})},function(e){oe[e?"unshift":"push"](()=>{i=e,o(15,i)})}]}customElements.get("general-player-sms-verification-form")||customElements.define("general-player-sms-verification-form",class extends I{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Title{font-size:14px;margin:0;padding-bottom:20px}.Field{color:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.Field label{font-size:14px;font-weight:300;padding-bottom:5px}.Field input{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.Field.InvalidField input{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));background:var(--emfe-w-color-pale, #FBECF4);color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));font-size:10px;line-height:10px}.Button{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.Button[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);cursor:not-allowed}.Button.SmsVerificationResend{background:var(--emfe-w-registration-color-bg, var(--emfe-w-color-gray-50, #F9F8F8));color:var(--emfe-w-registration-typography, var(--emfe-w-color-contrast, #07072A))}",this.shadowRoot.appendChild(t),F(this,{target:this.shadowRoot,props:M(this.attributes),customElement:!0},ns,is,S,{endpoint:12,tokenid:9,playerid:10,smstemplate:13,number:11,clientstyling:14,clientstylingurl:15,translationurl:16},null),e&&(e.target&&pt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","tokenid","playerid","smstemplate","number","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),h()}get tokenid(){return this.$$.ctx[9]}set tokenid(e){this.$$set({tokenid:e}),h()}get playerid(){return this.$$.ctx[10]}set playerid(e){this.$$set({playerid:e}),h()}get smstemplate(){return this.$$.ctx[13]}set smstemplate(e){this.$$set({smstemplate:e}),h()}get number(){return this.$$.ctx[11]}set number(e){this.$$set({number:e}),h()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),h()}});class gs extends I{constructor(e){super();var t=document.createElement("style");t.textContent=".RegisterFormWrapper{background:var(--emfe-w-registration-color-bg, var(--emfe-w-color-gray-50, #F9F8F8))}.RegisterFormContainer{padding:25px;height:404px;overflow-y:auto;scrollbar-color:var(--emfe-w-color-gray-100, #E6E6E6) var(--emfe-w-color-gray-50, #F9F8F8);scrollbar-width:thin}.RegisterFormContainer.RegisterFormContainerMobile{padding:40px 20px;height:65vh;overflow-y:scroll}.RegisterFormContainer::-webkit-scrollbar{width:6px}.RegisterFormContainer::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-50, #F9F8F8)}.RegisterFormContainer::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-100, #E6E6E6)}.RegisterSteps{display:flex;gap:10px;padding:20px 0 30px}.RegisterFirstStepDash,.RegisterSecondStepDash,.RegisterThirdStepDash{width:50px;height:2px;background-color:var(--emfe-w-color-gray-100, #E6E6E6)}.RegisterStepDashColor{background-color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.SMSErrorText{height:80%;display:flex;align-items:center}.RegisterConfirmation{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin-top:60px}.RegisterConfirmation svg{width:74px}.RegisterConfirmation .RegisterConfirmationTitle{color:var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));font-size:24px;font-weight:400;text-transform:uppercase;margin-bottom:0}.RegisterConfirmation .RegisterConfirmationSubtitle{color:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B));font-size:16px;line-height:19px;margin-bottom:24px}.RegisterConfirmation .RegisterConfirmationNote{color:var(--emfe-w-registration-typography, var(--emfe-w-color-contrast, #07072A));font-size:18px;line-height:22px}.RegisterConfirmationGoToLogin{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}",this.shadowRoot.appendChild(t),F(this,{target:this.shadowRoot,props:M(this.attributes),customElement:!0},ps,ms,S,{endpoint:0,cmsendpoint:36,env:37,session:1,trackedanalyticsdata:38,captchakey:2,lang:3,licenseyears:4,disabledfields:5,defaultoptions:6,dummydata:7,smsverification:8,simplepasswordvalidation:9,userroles:39,clientstyling:10,clientstylingurl:11,translationurl:12,savecredentials:13,custominputtextswitch:14},null,[-1,-1,-1]),e&&(e.target&&pt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","cmsendpoint","env","session","trackedanalyticsdata","captchakey","lang","licenseyears","disabledfields","defaultoptions","dummydata","smsverification","simplepasswordvalidation","userroles","clientstyling","clientstylingurl","translationurl","savecredentials","custominputtextswitch"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),h()}get cmsendpoint(){return this.$$.ctx[36]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),h()}get env(){return this.$$.ctx[37]}set env(e){this.$$set({env:e}),h()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),h()}get trackedanalyticsdata(){return this.$$.ctx[38]}set trackedanalyticsdata(e){this.$$set({trackedanalyticsdata:e}),h()}get captchakey(){return this.$$.ctx[2]}set captchakey(e){this.$$set({captchakey:e}),h()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),h()}get licenseyears(){return this.$$.ctx[4]}set licenseyears(e){this.$$set({licenseyears:e}),h()}get disabledfields(){return this.$$.ctx[5]}set disabledfields(e){this.$$set({disabledfields:e}),h()}get defaultoptions(){return this.$$.ctx[6]}set defaultoptions(e){this.$$set({defaultoptions:e}),h()}get dummydata(){return this.$$.ctx[7]}set dummydata(e){this.$$set({dummydata:e}),h()}get smsverification(){return this.$$.ctx[8]}set smsverification(e){this.$$set({smsverification:e}),h()}get simplepasswordvalidation(){return this.$$.ctx[9]}set simplepasswordvalidation(e){this.$$set({simplepasswordvalidation:e}),h()}get userroles(){return this.$$.ctx[39]}set userroles(e){this.$$set({userroles:e}),h()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),h()}get savecredentials(){return this.$$.ctx[13]}set savecredentials(e){this.$$set({savecredentials:e}),h()}get custominputtextswitch(){return this.$$.ctx[14]}set custominputtextswitch(e){this.$$set({custominputtextswitch:e}),h()}}return customElements.get("general-player-register-form")||customElements.define("general-player-register-form",gs),gs});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,function(m){"use strict";(k=m)&&"object"==typeof k&&0 in k;function ht(){}function w(e){return e()}function _(){return Object.create(null)}function ft(e){e.forEach(w)}function E(e){return"function"==typeof e}function C(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let S;function x(e,t){return(S=S||document.createElement("a")).href=t,e===S.href}function T(e,...t){if(null==e)return ht;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function le(e,t,r){e.$$.on_destroy.push(T(t,r))}var k="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function mt(e,t){e.appendChild(t)}function pt(e,t,r){e.insertBefore(t,r||null)}function gt(e){e.parentNode&&e.parentNode.removeChild(e)}function rt(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function yt(e){return document.createElement(e)}function t(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function vt(e){return document.createTextNode(e)}function bt(){return vt(" ")}function it(){return vt("")}function wt(e,t,r,i){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)}function _t(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function n(e,t,r){t in e?e[t]="boolean"==typeof e[t]&&""===r||r:_t(e,t,r)}function Et(e,t){e.data!==(t=""+t)&&(e.data=t)}function Ct(e,t){e.value=null==t?"":t}function et(t,r,e){for(let e=0;e<t.options.length;e+=1){var i=t.options[e];if(i.__value===r)return i.selected=!0}e&&void 0===r||(t.selectedIndex=-1)}function K(e){e=e.querySelector(":checked");return e&&e.__value}function P(e){var t={};for(const r of e)t[r.name]=r.value;return t}let M;function O(e){M=e}function ce(e){!function(){if(M)return M;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e)}const D=[],oe=[];let B=[];const A=[],N=Promise.resolve();let I=!1;function tt(e){B.push(e)}const L=new Set;let H=0;function h(){if(0===H){const i=M;do{try{for(;H<D.length;){const i=D[H];H++,O(i),e=t=void 0;var e,t=i.$$;null!==t.fragment&&(t.update(),ft(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(tt))}}catch(i){throw D.length=0,H=0,i}for(O(null),D.length=0,H=0;oe.length;)oe.pop()();for(let e=0;e<B.length;e+=1){var r=B[e];L.has(r)||(L.add(r),r())}}while(B.length=0,D.length);for(;A.length;)A.pop()();I=!1,L.clear(),O(i)}}const R=new Set;function $(i,e,t,r,n,s,o,a=[-1]){var l=M;O(i);const c=i.$$={fragment:null,ctx:[],props:s,update:ht,not_equal:n,bound:_(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:_(),dirty:a,skip_bound:!1,root:e.target||l.$$.root};o&&o(c.root);let u=!1;if(c.ctx=t?t(i,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return c.ctx&&n(c.ctx[e],c.ctx[e]=r)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](r),u)&&(r=e,-1===(e=i).$$.dirty[0]&&(D.push(e),I||(I=!0,N.then(h)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31),t}):[],c.update(),u=!0,ft(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){s=e.target;const i=Array.from(s.childNodes);c.fragment&&c.fragment.l(i),i.forEach(gt)}else c.fragment&&c.fragment.c();e.intro&&(a=i.$$.fragment)&&a.i&&(R.delete(a),a.i(void 0));var d=i,o=e.target,t=e.anchor,r=e.customElement,{fragment:s,after_update:a}=d.$$;s&&s.m(o,t),r||tt(()=>{var e=d.$$.on_mount.map(w).filter(E);d.$$.on_destroy?d.$$.on_destroy.push(...e):ft(e),d.$$.on_mount=[]}),a.forEach(tt),h()}O(l)}let F;"function"==typeof HTMLElement&&(F=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(w).filter(E);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){ft(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var r=e.after_update;const i=[],n=[];B.forEach(e=>(-1===r.indexOf(e)?i:n).push(e)),n.forEach(e=>e()),B=i}ft(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=ht}$on(e,t){if(!E(t))return ht;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var U,Y,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},j="URLSearchParams"in l,G="Symbol"in l&&"iterator"in Symbol,z="FileReader"in l&&"Blob"in l&&function(){try{return new Blob,!0}catch(e){return!1}}(),V="FormData"in l,W="ArrayBuffer"in l;function Z(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 q(e){return e="string"!=typeof e?String(e):e}function Q(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return G&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function X(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function J(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function ee(e){var t=new FileReader,r=J(t);return t.readAsArrayBuffer(e),r}function te(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function re(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:z&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:V&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:j&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():W&&z&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=te(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):W&&(ArrayBuffer.prototype.isPrototypeOf(e)||Y(e))?this._bodyArrayBuffer=te(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):j&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},z&&(this.blob=function(){var e=X(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return X(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(z)return this.blob().then(ee);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,r,i=X(this);if(i)return i;if(this._bodyBlob)return i=this._bodyBlob,t=J(e=new FileReader),r=(r=/charset=([A-Za-z0-9_-]+)/.exec(i.type))?r[1]:"utf-8",e.readAsText(i,r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),i=0;i<t.length;i++)r[i]=String.fromCharCode(t[i]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},V&&(this.formData=function(){return this.text().then(se)}),this.json=function(){return this.text().then(JSON.parse)},this}W&&(U=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Y=ArrayBuffer.isView||function(e){return e&&-1<U.indexOf(Object.prototype.toString.call(e))}),c.prototype.append=function(e,t){e=Z(e),t=q(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},c.prototype.delete=function(e){delete this.map[Z(e)]},c.prototype.get=function(e){return e=Z(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(Z(e))},c.prototype.set=function(e,t){this.map[Z(e)]=q(t)},c.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},c.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),Q(r)},c.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Q(t)},c.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),Q(r)},G&&(c.prototype[Symbol.iterator]=c.prototype.entries);var ie=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function ne(e,t){if(!(this instanceof ne))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,i=(t=t||{}).body;if(e instanceof ne){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new c(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 c(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<ie.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in l)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function se(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function u(e,t){if(!(this instanceof u))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}ne.prototype.clone=function(){return new ne(this,{body:this._bodyInit})},re.call(ne.prototype),re.call(u.prototype),u.prototype.clone=function(){return new u(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},u.error=function(){var e=new u(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var ue=[301,302,303,307,308],de=(u.redirect=function(e,t){if(-1===ue.indexOf(t))throw new RangeError("Invalid status code");return new u(null,{status:t,headers:{location:e}})},l.DOMException);try{new de}catch(m){(de=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),de.prototype.constructor=de}function he(i,a){return new Promise(function(n,e){var s=new ne(i,a);if(s.signal&&s.signal.aborted)return e(new de("Aborted","AbortError"));var r,o=new XMLHttpRequest;function t(){o.abort()}o.onload=function(){var e,i,t={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",i=new c,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(":"),r=t.shift().trim();if(r){t=t.join(":").trim();try{i.append(r,t)}catch(e){console.warn("Response "+e.message)}}}),i)},r=(s.url.startsWith("file://")&&(o.status<200||599<o.status)?t.status=200:t.status=o.status,t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL"),"response"in o?o.response:o.responseText);setTimeout(function(){n(new u(r,t))},0)},o.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},o.onabort=function(){setTimeout(function(){e(new de("Aborted","AbortError"))},0)},o.open(s.method,function(t){try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}}(s.url),!0),"include"===s.credentials?o.withCredentials=!0:"omit"===s.credentials&&(o.withCredentials=!1),"responseType"in o&&(z?o.responseType="blob":W&&(o.responseType="arraybuffer")),a&&"object"==typeof a.headers&&!(a.headers instanceof c||l.Headers&&a.headers instanceof l.Headers)?(r=[],Object.getOwnPropertyNames(a.headers).forEach(function(e){r.push(Z(e)),o.setRequestHeader(e,q(a.headers[e]))}),s.headers.forEach(function(e,t){-1===r.indexOf(t)&&o.setRequestHeader(t,e)})):s.headers.forEach(function(e,t){o.setRequestHeader(t,e)}),s.signal&&(s.signal.addEventListener("abort",t),o.onreadystatechange=function(){4===o.readyState&&s.signal.removeEventListener("abort",t)}),o.send(void 0===s._bodyInit?null:s._bodyInit)})}function Or(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}he.polyfill=!0,l.fetch||(l.fetch=he,l.Headers=c,l.Request=ne,l.Response=u),self.fetch.bind(self);var fe=function(e,t){return(fe=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)};function me(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}fe(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function pe(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.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 ge(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,n,s=r.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(i=s.next()).done;)o.push(i.value)}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return o}function ye(e,t,r){if(r||2===arguments.length)for(var i,n=0,s=t.length;n<s;n++)!i&&n in t||((i=i||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function d(e){return"function"==typeof e}function ve(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 be=ve(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 we(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}r.prototype.unsubscribe=function(){var e,t,r,i,n;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var o=pe(s),a=o.next();!a.done;a=o.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else s.remove(this);s=this.initialTeardown;if(d(s))try{s()}catch(e){n=e instanceof be?e.errors:[e]}s=this._finalizers;if(s){this._finalizers=null;try{for(var l=pe(s),c=l.next();!c.done;c=l.next()){var u=c.value;try{Se(u)}catch(e){n=null!=n?n:[],e instanceof be?n=ye(ye([],ge(n)),ge(e.errors)):n.push(e)}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}}if(n)throw new be(n)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Se(e);else{if(e instanceof r){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},r.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},r.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},r.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&we(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&we(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=((i=new r).closed=!0,i);var _e=r,Ee=_e.EMPTY;function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Ce(e){return e instanceof _e||e&&"closed"in e&&d(e.remove)&&d(e.add)&&d(e.unsubscribe)}function Se(e){d(e)?e():e.unsubscribe()}var xe=void 0,Te=!1,ke=!1,Pe={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var n=Pe.delegate;return null!=n&&n.setTimeout?n.setTimeout.apply(n,ye([e,t],ge(r))):setTimeout.apply(void 0,ye([e,t],ge(r)))},clearTimeout:function(e){var t=Pe.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Me(){}var Oe=null;function De(e){if(Te){var t=!Oe;if(t&&(Oe={errorThrown:!1,error:null}),e(),t){var t=Oe,r=t.errorThrown,t=t.error;if(Oe=null,r)throw t}}else e()}me(e,Be=_e),e.create=function(e,t,r){return new Re(e,t,r)},e.prototype.next=function(e){this.isStopped||this._next(e)},e.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Be.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(e){this.destination.next(e)},e.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Be,Ae=e,Ne=Function.prototype.bind;function e(e){var t=Be.call(this)||this;return t.isStopped=!1,e?Ce(t.destination=e)&&e.add(t):t.destination=Ye,t}function Ie(e,t){return Ne.call(e,t)}Fe.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Ue(e)}},Fe.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ue(e)}else Ue(e)},Fe.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ue(e)}};var Le,He=Fe,Re=(me($e,Le=Ae),$e);function $e(e,t,r){var i=Le.call(this)||this,r=d(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:i&&ke?((t=Object.create(e)).unsubscribe=function(){return i.unsubscribe()},{next:e.next&&Ie(e.next,t),error:e.error&&Ie(e.error,t),complete:e.complete&&Ie(e.complete,t)}):e;return i.destination=new He(r),i}function Fe(e){this.partialObserver=e}function Ue(e){var t=e;Pe.setTimeout(function(){throw t})}var Ye={closed:!0,next:Me,error:function(e){throw e},complete:Me},i="function"==typeof Symbol&&Symbol.observable||"@@observable";s.prototype.lift=function(e){var t=new s;return t.source=this,t.operator=e,t},s.prototype.subscribe=function(e,t,r){var i,n=this,s=(i=e)&&i instanceof Ae||i&&d(i.next)&&d(i.error)&&d(i.complete)&&Ce(i)?e:new Re(e,t,r);return De(function(){var e=n.operator,t=n.source;s.add(e?e.call(s,t):t?n._subscribe(s):n._trySubscribe(s))}),s},s.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},s.prototype.forEach=function(i,e){var n=this;return new(e=Ge(e))(function(e,t){var r=new Re({next:function(e){try{i(e)}catch(e){t(e),r.unsubscribe()}},error:t,complete:e});n.subscribe(r)})},s.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},s.prototype[i]=function(){return this},s.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?function(e){return e}:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},s.prototype.toPromise=function(e){var i=this;return new(e=Ge(e))(function(e,t){var r;i.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},s.create=function(e){return new s(e)};var je=s;function s(e){e&&(this._subscribe=e)}function Ge(e){return null!=(e=null!=e?e:xe)?e:Promise}var ze,Ve,We,Ze=ve(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),i=(me(o,We=je),o.prototype.lift=function(e){var t=new qe(this,this);return t.operator=e,t},o.prototype._throwIfClosed=function(){if(this.closed)throw new Ze},o.prototype.next=function(n){var s=this;De(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){s.currentObservers||(s.currentObservers=Array.from(s.observers));try{for(var r=pe(s.currentObservers),i=r.next();!i.done;i=r.next())i.value.next(n)}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},o.prototype.error=function(t){var r=this;De(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.observers;e.length;)e.shift().error(t)}})},o.prototype.complete=function(){var t=this;De(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},o.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(o.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),o.prototype._trySubscribe=function(e){return this._throwIfClosed(),We.prototype._trySubscribe.call(this,e)},o.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},o.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,i=this.isStopped,n=this.observers;return r||i?Ee:(this.currentObservers=null,n.push(e),new _e(function(){t.currentObservers=null,we(n,e)}))},o.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,i=this.isStopped;t?e.error(r):i&&e.complete()},o.prototype.asObservable=function(){var e=new je;return e.source=this,e},o.create=function(e,t){return new qe(e,t)},o),qe=(me(Je,Ve=i),Je.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},Je.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},Je.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},Je.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Ee},Je),Qe={now:function(){return(Qe.delegate||Date).now()},delegate:void 0},Xe=(me(Ke,ze=i),Ke.prototype.next=function(e){var t=this,r=t.isStopped,i=t._buffer,n=t._infiniteTimeWindow,s=t._timestampProvider,t=t._windowTime;r||(i.push(e),n)||i.push(s.now()+t),this._trimBuffer(),ze.prototype.next.call(this,e)},Ke.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,i=this._buffer.slice(),n=0;n<i.length&&!e.closed;n+=r?1:2)e.next(i[n]);return this._checkFinalizedStatuses(e),t},Ke.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,i=this._infiniteTimeWindow,n=(i?1:2)*e;if(e<1/0&&n<r.length&&r.splice(0,r.length-n),!i){for(var s=t.now(),o=0,a=1;a<r.length&&r[a]<=s;a+=2)o=a;o&&r.splice(0,o+1)}},Ke);function Ke(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=Qe);var i=ze.call(this)||this;return i._bufferSize=e,i._windowTime=t,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=t===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,t),i}function Je(e,t){var r=Ve.call(this)||this;return r.destination=e,r.source=t,r}function o(){var e=We.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let nt=[],st={};const ot=[];function at(i,n=ht){let s;const o=new Set;function a(e){if(C(i,e)&&(i=e,s)){const e=!ot.length;for(const e of o)e[1](),ot.push(e,i);if(e){for(let e=0;e<ot.length;e+=2)ot[e][0](ot[e+1]);ot.length=0}}}return{set:a,update:function(e){a(e(i))},subscribe:function(e,t=ht){const r=[e,t];return o.add(r),1===o.size&&(s=n(a)||ht),e(i),()=>{o.delete(r),0===o.size&&s&&(s(),s=null)}}}}function lt(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,u=a.length<2;return{subscribe:at(t,t=>{let r=!1;const i=[];let n=0,s=ht;const o=()=>{var e;n||(s(),e=a(l?i[0]:i,t),u?t(e):s=E(e)?e:ht)},e=c.map((e,t)=>T(e,e=>{i[t]=e,n&=~(1<<t),r&&o()},()=>{n|=1<<t}));return r=!0,o(),function(){ft(e),s(),r=!1}}).subscribe}}function ct(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===ut);var t}var ut="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function dt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Pt(Array.isArray(e)?[]:{},e,t):e}function St(e,t,r){return e.concat(t).map(function(e){return dt(e,r)})}function xt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function Tt(e,t){try{return t in e}catch(e){return!1}}function kt(i,n,s){var o={};return s.isMergeableObject(i)&&xt(i).forEach(function(e){o[e]=dt(i[e],s)}),xt(n).forEach(function(e){var t,r;(!Tt(t=i,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(Tt(i,e)&&s.isMergeableObject(n[e])?o[e]=((t=s).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Pt)(i[e],n[e],s):o[e]=dt(n[e],s))}),o}function Pt(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||St,r.isMergeableObject=r.isMergeableObject||ct,r.cloneUnlessOtherwiseSpecified=dt;var i=Array.isArray(t);return i===Array.isArray(e)?i?r.arrayMerge(e,t,r):kt(e,t,r):dt(t,r)}Pt.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return Pt(e,t,r)},{});throw new Error("first argument should be an array")};var Mt=Pt,Ot=function(e,t){return(Ot=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)};function Dt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}Ot(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var p,y,Bt,g=function(){return(g=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function At(e,t,r){if(r||2===arguments.length)for(var i,n=0,s=t.length;n<s;n++)!i&&n in t||((i=i||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function Nt(e){return e.type===y.literal}function It(e){return e.type===y.number}function Lt(e){return e.type===y.date}function Ht(e){return e.type===y.time}function Rt(e){return e.type===y.select}function $t(e){return e.type===y.plural}function Ft(e){return e.type===y.tag}function Ut(e){return e&&"object"==typeof e&&e.type===Bt.number}function Yt(e){return e&&"object"==typeof e&&e.type===Bt.dateTime}(i=p=p||{})[i.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",i[i.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",i[i.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",i[i.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",i[i.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",i[i.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",i[i.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",i[i.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",i[i.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",i[i.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",i[i.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",i[i.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",i[i.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",i[i.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",i[i.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",i[i.INVALID_TAG=23]="INVALID_TAG",i[i.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",i[i.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",i[i.UNCLOSED_TAG=27]="UNCLOSED_TAG",(i=y=y||{})[i.literal=0]="literal",i[i.argument=1]="argument",i[i.number=2]="number",i[i.date=3]="date",i[i.time=4]="time",i[i.select=5]="select",i[i.plural=6]="plural",i[i.pound=7]="pound",i[i.tag=8]="tag",(i=Bt=Bt||{})[i.number=0]="number",i[i.dateTime=1]="dateTime";var i=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,jt=/(?:[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 Gt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,zt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Vt=/^(@+)?(\+|#+)?[rs]?$/g,Wt=/(\*)(0+)|(#+)(0+)|(0+)/g,Zt=/^(0+)$/;function qt(e){var i={};return"r"===e[e.length-1]?i.roundingPriority="morePrecision":"s"===e[e.length-1]&&(i.roundingPriority="lessPrecision"),e.replace(Vt,function(e,t,r){return"string"!=typeof r?(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length):"+"===r?i.minimumSignificantDigits=t.length:"#"===t[0]?i.maximumSignificantDigits=t.length:(i.minimumSignificantDigits=t.length,i.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),i}function Qt(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 Xt(e){return Qt(e)||{}}function Kt(e){for(var o={},t=0,r=e;t<r.length;t++){var i,n=r[t];switch(n.stem){case"percent":case"%":o.style="percent";continue;case"%x100":o.style="percent",o.scale=100;continue;case"currency":o.style="currency",o.currency=n.options[0];continue;case"group-off":case",_":o.useGrouping=!1;continue;case"precision-integer":case".":o.maximumFractionDigits=0;continue;case"measure-unit":case"unit":o.style="unit",o.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":o.notation="compact",o.compactDisplay="short";continue;case"compact-long":case"KK":o.notation="compact",o.compactDisplay="long";continue;case"scientific":o=g(g(g({},o),{notation:"scientific"}),n.options.reduce(function(e,t){return g(g({},e),Xt(t))},{}));continue;case"engineering":o=g(g(g({},o),{notation:"engineering"}),n.options.reduce(function(e,t){return g(g({},e),Xt(t))},{}));continue;case"notation-simple":o.notation="standard";continue;case"unit-width-narrow":o.currencyDisplay="narrowSymbol",o.unitDisplay="narrow";continue;case"unit-width-short":o.currencyDisplay="code",o.unitDisplay="short";continue;case"unit-width-full-name":o.currencyDisplay="name",o.unitDisplay="long";continue;case"unit-width-iso-code":o.currencyDisplay="symbol";continue;case"scale":o.scale=parseFloat(n.options[0]);continue;case"integer-width":if(1<n.options.length)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(Wt,function(e,t,r,i,n,s){if(t)o.minimumIntegerDigits=r.length;else{if(i&&n)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Zt.test(n.stem))o.minimumIntegerDigits=n.stem.length;else if(zt.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(zt,function(e,t,r,i,n,s){return"*"===r?o.minimumFractionDigits=t.length:i&&"#"===i[0]?o.maximumFractionDigits=i.length:n&&s?(o.minimumFractionDigits=n.length,o.maximumFractionDigits=n.length+s.length):(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length),""});var s=n.options[0];"w"===s?o=g(g({},o),{trailingZeroDisplay:"stripIfInteger"}):s&&(o=g(g({},o),qt(s)))}else Vt.test(n.stem)?o=g(g({},o),qt(n.stem)):((s=Qt(n.stem))&&(o=g(g({},o),s)),(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 r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Zt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem))&&(o=g(g({},o),i)))}return o}var Jt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var er=new RegExp("^".concat(i.source,"*")),tr=new RegExp("".concat(i.source,"*$"));function v(e,t){return{start:e,end:t}}var i=!!String.prototype.startsWith,rr=!!String.fromCodePoint,ir=!!Object.fromEntries,nr=!!String.prototype.codePointAt,sr=!!String.prototype.trimStart,or=!!String.prototype.trimEnd,ar=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},lr=!0;try{lr="a"===(null==(Mr=yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Mr[0])}catch(m){lr=!1}var cr,ur,dr=i?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},hr=rr?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,i="",n=e.length,s=0;s<n;){if(1114111<(r=e[s++]))throw RangeError(r+" is not a valid code point");i+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return i},fr=ir?Object.fromEntries:function(e){for(var t={},r=0,i=e;r<i.length;r++){var n=i[r],s=n[0],n=n[1];t[s]=n}return t},mr=nr?function(e,t){return e.codePointAt(t)}:function(e,t){var r,i=e.length;if(!(t<0||i<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===i||(i=e.charCodeAt(t+1))<56320||57343<i?r:i-56320+(r-55296<<10)+65536},pr=sr?function(e){return e.trimStart()}:function(e){return e.replace(er,"")},gr=or?function(e){return e.trimEnd()}:function(e){return e.replace(tr,"")};function yr(e,t){return new RegExp(e,t)}ur=lr?(cr=yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return cr.lastIndex=t,null!=(t=cr.exec(e)[1])?t:""}):function(e,t){for(var r,i=[];;){var n=mr(e,t);if(void 0===n||wr(n)||33<=(r=n)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094)break;i.push(n),t+=65536<=n?2:1}return hr.apply(void 0,i)};a.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},a.prototype.parseMessage=function(e,t,r){for(var i=[];!this.isEOF();){var n,s=this.char();if(123===s){if((n=this.parseArgument(e,r)).err)return n;i.push(n.val)}else{if(125===s&&0<e)break;if(35!==s||"plural"!==t&&"selectordinal"!==t){if(60===s&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(p.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&br(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n}else if((n=this.parseLiteral(e,t)).err)return n;i.push(n.val)}else{s=this.clonePosition();this.bump(),i.push({type:y.pound,location:v(s,this.clonePosition())})}}}return{val:i,err:null}},a.prototype.parseTag=function(e,t){var r,i=this.clonePosition(),n=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(n,"/>"),location:v(i,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!br(this.char())?this.error(p.INVALID_TAG,v(e,this.clonePosition())):(r=this.clonePosition(),n!==this.parseTagName()?this.error(p.UNMATCHED_CLOSING_TAG,v(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:n,children:t,location:v(i,this.clonePosition())},err:null}:this.error(p.INVALID_TAG,v(e,this.clonePosition())))):this.error(p.UNCLOSED_TAG,v(i,this.clonePosition()))):this.error(p.INVALID_TAG,v(i,this.clonePosition()))},a.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())},a.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),i="";;){var n=this.tryParseQuote(t);if(n)i+=n;else{n=this.tryParseUnquoted(e,t);if(n)i+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;i+=n}}}r=v(r,this.clonePosition());return{val:{type:y.literal,value:i,location:r},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(br(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},a.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return hr.apply(void 0,t)},a.prototype.tryParseUnquoted=function(e,t){var r;return this.isEOF()||60===(r=this.char())||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),hr(r))},a.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(p.EMPTY_ARGUMENT,v(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(p.MALFORMED_ARGUMENT,v(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:i,location:v(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition())):this.parseArgumentOptions(e,t,i,r);default:return this.error(p.MALFORMED_ARGUMENT,v(r,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=ur(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:v(e,this.clonePosition())}},a.prototype.parseArgumentOptions=function(e,t,r,i){var n,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(o){case"":return this.error(p.EXPECT_ARGUMENT_TYPE,v(s,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(h=gr(d.val)).length)return this.error(p.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:v(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(i)).err?c:(f=v(i,this.clonePosition()),l&&dr(null==l?void 0:l.style,"::",0)?(m=pr(l.style.slice(2)),"number"===o?(d=this.parseNumberSkeletonFromString(m,l.styleLocation)).err?d:{val:{type:y.number,value:r,location:f,style:d.val},err:null}:0===m.length?this.error(p.EXPECT_DATE_TIME_SKELETON,f):(u=m,this.locale&&(u=function(e,t){for(var r="",i=0;i<e.length;i++){var n=e.charAt(i);if("j"===n){for(var s=0;i+1<e.length&&e.charAt(i+1)===n;)s++,i++;var o=1+(1&s),a=s<2?1:3+(s>>1),l=function(e){var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(Jt[t||""]||Jt[r||""]||Jt["".concat(r,"-001")]||Jt["001"])[0]}(t);for("H"!=l&&"k"!=l||(a=0);0<a--;)r+="a";for(;0<o--;)r=l+r}else r+="J"===n?"H":n}return r}(m,this.locale)),h={type:Bt.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},u.replace(jt,function(e){var t=e.length;switch(e[0]){case"G":n.era=4===t?"long":5===t?"narrow":"short";break;case"y":n.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":n.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":n.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":n.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][t-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][t-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][t-1];break;case"k":n.hourCycle="h24",n.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":n.minute=["numeric","2-digit"][t-1];break;case"s":n.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":n.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""}),n):{}},{val:{type:"date"===o?y.date:y.time,value:r,location:f,style:h},err:null})):{val:{type:"number"===o?y.number:"date"===o?y.date:y.time,value:r,location:f,style:null!=(m=null==l?void 0:l.style)?m:null},err:null});case"plural":case"selectordinal":case"select":var u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,v(u,g({},u)));this.bumpSpace();var d,h=this.parseIdentifierIfPossible(),f=0;if("select"!==o&&"offset"===h.value){if(!this.bumpIf(":"))return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),h=this.parseIdentifierIfPossible(),f=d.val}var m,l=this.tryParsePluralOrSelectOptions(e,o,t,h);return l.err?l:(c=this.tryParseArgumentClose(i)).err?c:(m=v(i,this.clonePosition()),"select"===o?{val:{type:y.select,value:r,options:fr(l.val),location:m},err:null}:{val:{type:y.plural,value:r,options:fr(l.val),offset:f,pluralType:"plural"===o?"cardinal":"ordinal",location:m},err:null});default:return this.error(p.INVALID_ARGUMENT_TYPE,v(s,a))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(r,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}},a.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,i=e.split(Gt).filter(function(e){return 0<e.length});r<i.length;r++){var n=i[r].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var s=n[0],n=n.slice(1),o=0,a=n;o<a.length;o++)if(0===a[o].length)throw new Error("Invalid number skeleton");t.push({stem:s,options:n})}return t}(e)}catch(e){return this.error(p.INVALID_NUMBER_SKELETON,t)}return{val:{type:Bt.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Kt(r):{}},err:null}},a.prototype.tryParsePluralOrSelectOptions=function(e,t,r,i){for(var n=!1,s=[],o=new Set,a=i.value,l=i.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR,p.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=v(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(o.has(a))return this.error("select"===t?p.DUPLICATE_SELECT_ARGUMENT_SELECTOR:p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(n=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;var d=this.tryParseArgumentClose(u);if(d.err)return d;s.push([a,{value:c.val,location:v(u,this.clonePosition())}]),o.add(a),this.bumpSpace(),a=(d=this.parseIdentifierIfPossible()).value,l=d.location}return 0===s.length?this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR:p.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(p.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:s,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,s=0;!this.isEOF();){var o=this.char();if(!(48<=o&&o<=57))break;n=!0,s=10*s+(o-48),this.bump()}i=v(i,this.clonePosition());return n?ar(s*=r)?{val:s,err:null}:this.error(t,i):this.error(e,i)},a.prototype.offset=function(){return this.position.offset},a.prototype.isEOF=function(){return this.offset()===this.message.length},a.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},a.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=mr(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},a.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},a.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))},a.prototype.bumpIf=function(e){if(dr(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},a.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},a.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},a.prototype.bumpSpace=function(){for(;!this.isEOF()&&wr(this.char());)this.bump()},a.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var vr=a;function a(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function br(e){return 97<=e&&e<=122||65<=e&&e<=90}function wr(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function _r(e,t){t=g({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new vr(e,t).parse();if(e.err)throw(r=SyntaxError(p[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,Rt(e)||$t(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else It(e)&&Ut(e.style)||(Lt(e)||Ht(e))&&Yt(e.style)?delete e.style.location:Ft(e)&&r(e.children)})}(e.val),e.val}function Er(e,t){var r=t&&t.cache?t.cache:Dr,i=t&&t.serializer?t.serializer:Tr;return(t&&t.strategy?t.strategy:function(e,t){return xr(e,this,1===e.length?Cr:Sr,t.cache.create(),t.serializer)})(e,{cache:r,serializer:i})}function Cr(e,t,r,i){var r=null==i||"number"==typeof i||"boolean"==typeof i?i:r(i),n=t.get(r);return void 0===n&&(n=e.call(this,i),t.set(r,n)),n}function Sr(e,t,r){var i=Array.prototype.slice.call(arguments,3),r=r(i),n=t.get(r);return void 0===n&&(n=e.apply(this,i),t.set(r,n)),n}function xr(e,t,r,i,n){return r.bind(t,e,i,n)}var Tr=function(){return JSON.stringify(arguments)};function kr(){this.cache=Object.create(null)}kr.prototype.get=function(e){return this.cache[e]},kr.prototype.set=function(e,t){this.cache[e]=t};var Pr,Mr,Dr={create:function(){return new kr}},Br={variadic:function(e,t){return xr(e,this,Sr,t.cache.create(),t.serializer)},monadic:function(e,t){return xr(e,this,Cr,t.cache.create(),t.serializer)}};(Mr=Pr=Pr||{}).MISSING_VALUE="MISSING_VALUE",Mr.INVALID_VALUE="INVALID_VALUE",Mr.MISSING_INTL_API="MISSING_INTL_API";Dt(Gr,Lr=Error),Gr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var b,Ar,Nr,Ir,Lr,Hr=Gr,Rr=(Dt(jr,Ir=Hr),jr),$r=(Dt(Yr,Nr=Hr),Yr),Fr=(Dt(Ur,Ar=Hr),Ur);function Ur(e,t){return Ar.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Pr.MISSING_VALUE,t)||this}function Yr(e,t,r){return Nr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Pr.INVALID_VALUE,r)||this}function jr(e,t,r,i){return Ir.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Pr.INVALID_VALUE,i)||this}function Gr(e,t,r){e=Lr.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function zr(e,t,r,i,n,s,o){if(1===e.length&&Nt(e[0]))return[{type:b.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Nt(u))a.push({type:b.literal,value:u.value});else if(u.type===y.pound)"number"==typeof s&&a.push({type:b.literal,value:r.getNumberFormat(t).format(s)});else{var d=u.value;if(!(n&&d in n))throw new Fr(d,o);d=n[d];if(u.type===y.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),a.push({type:"string"==typeof d?b.literal:b.object,value:d});else if(Lt(u)){var h="string"==typeof u.style?i.date[u.style]:Yt(u.style)?u.style.parsedOptions:void 0;a.push({type:b.literal,value:r.getDateTimeFormat(t,h).format(d)})}else if(Ht(u))h="string"==typeof u.style?i.time[u.style]:Yt(u.style)?u.style.parsedOptions:i.time.medium,a.push({type:b.literal,value:r.getDateTimeFormat(t,h).format(d)});else if(It(u))(h="string"==typeof u.style?i.number[u.style]:Ut(u.style)?u.style.parsedOptions:void 0)&&h.scale&&(d*=h.scale||1),a.push({type:b.literal,value:r.getNumberFormat(t,h).format(d)});else{if(Ft(u)){var f=u.children,m=u.value,p=n[m];if("function"!=typeof p)throw new $r(m,"function",o);m=p(zr(f,t,r,i,n,s).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),a.push.apply(a,m.map(function(e){return{type:"string"==typeof e?b.literal:b.object,value:e}}))}if(Rt(u)){if(!(g=u.options[d]||u.options.other))throw new Rr(u.value,d,Object.keys(u.options),o);a.push.apply(a,zr(g.value,t,r,i,n))}else if($t(u)){if(!(g=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new Hr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Pr.MISSING_INTL_API,o);var p=r.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0)),g=u.options[p]||u.options.other}if(!g)throw new Rr(u.value,d,Object.keys(u.options),o);a.push.apply(a,zr(g.value,t,r,i,n,d-(u.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===b.literal&&t.type===b.literal?r.value+=t.value:e.push(t),e},[])}function Vr(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(i=b=b||{})[i.literal=0]="literal",i[i.object=1]="object";Object.defineProperty(f,"defaultLocale",{get:function(){return f.memoizedDefaultLocale||(f.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),f.memoizedDefaultLocale},enumerable:!1,configurable:!0}),f.memoizedDefaultLocale=null,f.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},f.__parse=_r,f.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"}}};var Wr=f;function f(e,t,r,i){var n,s,o=this;if(void 0===t&&(t=f.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=o.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===b.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return zr(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=f.resolveLocale(t),"string"==typeof e){if(this.message=e,!f.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=f.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(n=f.formats,(s=r)?Object.keys(n).reduce(function(e,t){var r,i;return e[t]=(r=n[t],(i=s[t])?g(g(g({},r||{}),i||{}),Object.keys(r).reduce(function(e,t){return e[t]=g(g({},r[t]),i[t]||{}),e},{})):r),e},g({},n)):n),this.formatters=i&&i.formatters||{getNumberFormat:Er(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,At([void 0],t,!1)))},{cache:Vr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Br.variadic}),getDateTimeFormat:Er(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,At([void 0],t,!1)))},{cache:Vr(t.dateTime),strategy:Br.variadic}),getPluralRules:Er(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,At([void 0],t,!1)))},{cache:Vr(t.pluralRules),strategy:Br.variadic})}}const Zr={},qr=(e,t,r)=>r&&(t in Zr||(Zr[t]={}),e in Zr[t]||(Zr[t][e]=r),r),Qr=(t,r)=>{if(null!=r){if(r in Zr&&t in Zr[r])return Zr[r][t];var i=gi(r);for(let e=0;e<i.length;e++){var n=function(e,t){if(!Jr(e))return null;e=function(e){return Xr[e]||null}(e);{var r=t;if(null!=r){if(r in e)return e[r];var i=r.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const r=i.slice(e,i.length).join(".");if(r in t){t=t[r];break}}t=t[i[e]]}else t=void 0;return t}}}(i[e],t);if(n)return qr(t,r,n)}}};let Xr;const Kr=at({});function Jr(e){return e in Xr}function ei(t,...r){delete Zr[t],Kr.update(e=>(e[t]=Mt.all([e[t]||{},...r]),e))}lt([Kr],([e])=>Object.keys(e)),Kr.subscribe(e=>Xr=e);const ti={};function ri(e){return ti[e]}function ii(e){return null!=e&&gi(e).some(e=>{return null==(e=ri(e))?void 0:e.size})}function ni(i,e){return Promise.all(e.map(e=>{return t=i,r=e,ti[t].delete(r),0===ti[t].size&&delete ti[t],e().then(e=>e.default||e);var t,r})).then(e=>ei(i,...e))}const si={};const oi={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const ai=at(!1);var li=Object.defineProperty,rr=Object.defineProperties,ir=Object.getOwnPropertyDescriptors,ci=Object.getOwnPropertySymbols,ui=Object.prototype.hasOwnProperty,di=Object.prototype.propertyIsEnumerable,hi=(e,t,r)=>t in e?li(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let fi;const mi=at(null);function pi(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function gi(e,t=oi.fallbackLocale){e=pi(e);return t?[...new Set([...e,...pi(t)])]:e}function yi(){return null!=fi?fi:void 0}mi.subscribe(e=>{fi=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const ae=rr(((e,t)=>{for(var r in t=t||{})ui.call(t,r)&&hi(e,r,t[r]);if(ci)for(var r of ci(t))di.call(t,r)&&hi(e,r,t[r]);return e})({},mi),ir({set:t=>{if(t&&function(e){if(null!=e){var t=gi(e);for(let e=0;e<t.length;e++){var r=t[e];if(Jr(r))return r}}}(t)&&ii(t)){var r=oi["loadingDelay"];let e;return"undefined"!=typeof window&&null!=yi()&&r?e=window.setTimeout(()=>ai.set(!0),r):ai.set(!0),function e(t){var r;return ii(t)?(r=gi(t).map(e=>{var t=ri(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),si[t]=Promise.all(r.map(([e,t])=>ni(e,t))).then(()=>{if(ii(t))return e(t);delete si[t]}),si[t]):t in si?si[t]:Promise.resolve()}(t).then(()=>{mi.set(t)}).finally(()=>{clearTimeout(e),ai.set(!1)})}return mi.set(t)}}));var nr=r=>{const i=Object.create(null);return e=>{var t=JSON.stringify(e);return t in i?i[t]:i[t]=r(e)}},vi=Object.defineProperty,bi=Object.getOwnPropertySymbols,wi=Object.prototype.hasOwnProperty,_i=Object.prototype.propertyIsEnumerable,Ei=(e,t,r)=>t in e?vi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ci=(e,t)=>{for(var r in t=t||{})wi.call(t,r)&&Ei(e,r,t[r]);if(bi)for(var r of bi(t))_i.call(t,r)&&Ei(e,r,t[r]);return e},Si=(e,t)=>{var r={};for(i in e)wi.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(null!=e&&bi)for(var i of bi(e))t.indexOf(i)<0&&_i.call(e,i)&&(r[i]=e[i]);return r};const xi=(e,t)=>{var r=oi["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ti=nr(e=>{var{locale:t,format:r}=e,e=Si(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=xi("number",r)),new Intl.NumberFormat(t,e)}),ki=nr(e=>{var{locale:t,format:r}=e,e=Si(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=xi("date",r):0===Object.keys(e).length&&(e=xi("date","short")),new Intl.DateTimeFormat(t,e)}),Pi=nr(e=>{var{locale:t,format:r}=e,e=Si(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=xi("time",r):0===Object.keys(e).length&&(e=xi("time","short")),new Intl.DateTimeFormat(t,e)}),Mi=nr((e,t=yi())=>new Wr(e,t,oi.formats,{ignoreTag:oi.ignoreTag})),Oi=lt([ae,Kr],()=>(e,t={})=>{var r,i;let n=t;"object"==typeof e&&(e=(n=e).id);var{values:s,locale:o=yi(),default:a}=n;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Qr(e,o);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(i=null!=(r=null==(r=(i=oi).handleMissingMessage)?void 0:r.call(i,{locale:o,id:e,defaultValue:a}))?r:a)?i:e;if(!s)return l;let c=l;try{c=Mi(l,o).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),Di=(lt([ae],()=>(e,t)=>((e={})=>{var{locale:t=yi()}=e,e=Si(e,["locale"]);return Pi(Ci({locale:t},e))})(t).format(e)),lt([ae],()=>(e,t)=>((e={})=>{var{locale:t=yi()}=e,e=Si(e,["locale"]);return ki(Ci({locale:t},e))})(t).format(e)),lt([ae],()=>(e,t)=>((e={})=>{var{locale:t=yi()}=e,e=Si(e,["locale"]);return Ti(Ci({locale:t},e))})(t).format(e)),lt([ae,Kr],()=>(e,t=yi())=>Qr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==nt.indexOf(e)&&(t=new Xe(t),st[e]=t,nt.push(e)),st[e]}},e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC");function Bi(e,t){ei(e,t)}const Ai={en:{goToLoginButton:"Go To Login",error:"We encountered an issue. Please go to Login to receive your SMS code."},zhs:{goToLoginButton:"去登錄",error:"我们遇到了一个问题。请转到登录以接收您的短信代码"},fr:{goToLoginButton:"Aller à la connexion",error:"Nous avons rencontré un problème. Veuillez vous connecter pour recevoir votre code SMS."},tr:{goToLoginButton:"Giriş Yap",error:"Bir sorunla karşılaştık. SMS kodunuzu almak için lütfen Giriş'e gidin."},ro:{goToLoginButton:"Catre Autentificare",error:"Am întâmpinat o problemă. Vă rugăm să accesați Login pentru a primi codul SMS."},es:{goToLoginButton:"Ir a Inicio de Sesión",error:"Encontramos un problema. Vaya a Iniciar sesión para recibir su código SMS."},pt:{goToLoginButton:"Ir para o Login",error:"Encontramos um problema. Vá para Login para receber seu código SMS."},hr:{goToLoginButton:"Idi na Prijava",error:"Naišli smo problem. Idite na Prijava kako biste primili svoj SMS kod."}};function Ni(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var r,i=window.cstmNativeBridge.EVENTS[e];if(i){if("function"==typeof t)return r=window.cstmNativeBridge.eventListeners[i],window.cstmNativeBridge.eventListeners[i]=function(){delete window.cstmNativeBridge.eventListeners[i],r&&r.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,r=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof r?(t=Array.prototype.slice.call(arguments,1),r.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var Ii=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},Li=function(e,...t){try{return Ni(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}},Hi=function(e,t){try{return Ni(),window.cstmNativeBridge.registerEventListener(e,t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function Ri(e,t){ei(e,t)}const $i={en:{registerTitle:"Create your account",registerSubtitle:"Already have an account?",registerSubtitleLogin:"Login",registerEmail:"Email",registerEmailError:"Email should contain '@' and a 2-3 letter long domain.",registerUsername:"Username",registerUsernameError:"Name must be at least 4-20 characters long and contain no special characters.",registerPassword:"Password",registerPasswordError:"Password must be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",registerSimplePasswordError:"Password must be 8-20 characters long.",registerConfirmPassword:"Confirm Password",registerConfirmPasswordError:'It doesn"t match the password.',registerPromoCode:"Promotional Code (Facultative)",promoCodeError:"",registerSecurityQuestion:"Security Question",registerSecurityQuestion2:"Document Type (DNI, Foreign ID Card, Passport)",registerSecurityQuestionError:"Security question must be at least 1 character long and maximum 120 characters.",registerSecurityQuestionError2:"Only letters and numbers are accepted.",registerSecurityAnswer:"Security Answer",registerSecurityAnswer2:"Document Number",registerSecurityAnswerError:"Security answer must be at least 1 character long and maximum 120 characters.",registerSecurityAnswerError2:"Only letters and numbers are accepted.",registerNext:"Next"},"zh-hk":{registerTitle:"創建您的帳戶",registerSubtitle:"已經有一個帳戶?",registerSubtitleLogin:"登錄",registerEmail:"電子郵件",registerEmailError:"電子郵件應包含“@”和 2-3 個字母長的域。",registerUsername:"用戶名",registerUsernameError:"名稱的長度必須至少為 2 個字符且不包含特殊字符。",registerPassword:"密碼",registerPasswordError:"密碼長度必須為 8-20 個字符,並且至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",registerSimplePasswordError:"密码长度必须为 8-20 个字符。",registerConfirmPassword:"確認密碼",registerConfirmPasswordError:"它與密碼不匹配。",registerPromoCode:"促销代码",promoCodeError:"",registerSecurityQuestion:"安全問題",registerSecurityQuestionError:"安全問題的長度必須至少為 1 個字符,最多 120 個字符。",registerSecurityAnswer:"安全答案",registerSecurityAnswerError:"安全答案的長度必須至少為 1 個字符,最多為 120 個字符。",registerNext:"下一個"},fr:{registerTitle:"Créez votre compte",registerSubtitle:"Vous avez déjà un compte?",registerSubtitleLogin:"Connexion ",registerEmail:"Email",registerEmailError:"L'adresse mail doit comporter un '@' et un nom de domaine de 2 à 3 lettres.",registerUsername:'Nom d"utilisateur ',registerUsernameError:"Le nom doit être composé d'au moins 2 caractères et ne doitpas contenir de caractères spéciaux.",registerPassword:"Mot de passe",registerPasswordError:"Le mot de passe doit comporter de 8 à 20 charactères et contenir au moins une lettre majuscule, un chiffre et un caractère spécial.",registerSimplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères.",registerConfirmPassword:"Confirmer le mot de passe",registerConfirmPasswordError:"ça ne correspond pas au mot de passe.",registerPromoCode:"Code Promotionnel (Facultatif)",promoCodeError:"",registerSecurityQuestion:"Questions de sécurité",registerSecurityQuestionError:"La question de sécurité doit comporter au moins un caractère et au maximum 120 caractères.",registerSecurityAnswer:"Réponse de sécurité",registerSecurityAnswerError:"La réponse de sécurité doit comporter au moins un caractère et au maximum 120 caractères.",registerNext:"Suivant"},tr:{registerTitle:"Hesabını oluştur",registerSubtitle:"Zaten hesabınız var mı?",registerSubtitleLogin:"Giriş yapmak",registerEmail:"E-posta",registerEmailError:"E-posta '@' ve 2-3 harf uzunluğunda bir etki alanı içermelidir.",registerUsername:"Kullanıcı adı",registerUsernameError:"Ad en az 4-20 karakter uzunluğunda olmalı ve özel karakter içermemelidir.",registerPassword:"Parola",registerPasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",registerSimplePasswordError:"Şifre 8-20 karakter uzunluğunda olmalıdır.",registerConfirmPassword:"Şifreyi Onayla",registerConfirmPasswordError:"Şifreyle eşleşmiyor.",registerSecurityQuestion:"Güvenlik Sorusu",registerSecurityQuestionError:"Güvenlik sorusu en az 1, en fazla 120 karakter uzunluğunda olmalıdır.",registerSecurityAnswer:"Güvenlik cevabı",registerSecurityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",registerNext:"Sonraki"},ro:{registerTitle:"Creaza cont",registerSubtitle:"Ai deja cont?",registerSubtitleLogin:"Autentifica-te",registerEmail:"Email",registerEmailError:"Email-ul ar trebui sa contina '@' si 2-3 litere.",registerUsername:"Utilizator",registerUsernameError:"Utilizatorul trebuie sa fie cuprins intre 4-20 litere si sa nu contina caractere speciale.",registerPassword:"Parola",registerPasswordError:"Parola trebuie sa fie cuprinsa intre 8 si 20 de caractere, cel putin o litera mare, cel putin un numar si cel putin un caracter special.",registerSimplePasswordError:"Parola trebuie să aibă 8-20 de caractere.",registerConfirmPassword:"Confirma Parola",registerConfirmPasswordError:"Confirmarea parolei trebuie sa fie la fel cu parola",registerSecurityQuestion:"Intrebare de Securitate",registerSecurityQuestionError:"Intrebarea de securitate trebuie sa fie cuprinsa intre 1 si 120 de litere.",registerSecurityAnswer:"Raspuns de Securitate",registerSecurityAnswerError:"Raspunsul de securitate trebuie sa fie cuprins intre 1 si 120 de litere",registerNext:"Urmatorul"},es:{registerTitle:"Crea tu cuenta",registerSubtitle:"Ya tiene cuenta?",registerSubtitleLogin:"Iniciar sesión",registerEmail:"Email",registerEmailError:"Email debe contener '@' y un dominio de 2 a 3 letras.",registerUsername:"Usuario",registerUsernameError:"El nombre de Usuario debe tener mínimo 4 y máximo 20 caracteres y no contener caracteres especiales.",registerPassword:"Contraseña",registerPasswordError:"La contraseña debe tener de 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",registerSimplePasswordError:"La contraseña debe tener entre 8 y 20 caracteres.",registerConfirmPassword:"Confirmar Contraseña",registerConfirmPasswordError:"La contraseña no coincide.",registerSecurityQuestion:"Pregunta de seguridad",registerSecurityQuestion2:"Tipo de Documento (DNI, CE o Pasaporte)",registerSecurityQuestionError:"La Pregunta de seguridad debe tener un mínimo de 1 carácter y un máximo de 120 caracteres",registerSecurityQuestionError2:"Solo se aceptan letras y números.",registerSecurityAnswer:"Respuesta de seguridad",registerSecurityAnswer2:"Número de Documento",registerSecurityAnswerError:"La Respuesta de seguridad debe tener un mínimo de 1 carácter y un máximo de 120 caracteres",registerSecurityAnswerError2:"Solo se aceptan letras y números.",registerNext:"Siguiente"},pt:{registerTitle:"Crie a sua conta",registerSubtitle:"Já tem uma conta?",registerSubtitleLogin:"Entrar",registerEmail:"E-mail",registerEmailError:"O e-mail deve conter '@' e um domínio de 2 a 3 letras.",registerUsername:"Nome do usuário",registerUsernameError:"O nome deve ter pelo menos 2 caracteres e não conter caracteres especiais.",registerPassword:"Senha",registerPasswordError:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",registerSimplePasswordError:"A senha deve ter de 8 a 20 caracteres.",registerConfirmPassword:"Confirme a sua senha",registerConfirmPasswordError:"Não corresponde à senha.",registerSecurityQuestion:"Pergunta de segurança",registerSecurityQuestionError:"A pergunta de segurança deve ter no mínimo 1 caractere e no máximo 120 caracteres.",registerSecurityAnswer:"Resposta de segurança",registerSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",registerNext:"Próximo"},hr:{registerTitle:"Kreiraj svoj račun",registerSubtitle:"Već imate račun?",registerSubtitleLogin:"Prijava","registerE-mail":"E-mail","registerE-mailError":"E-mail treba sadržavati '@' i domenu od 2-3 slova.",registerUsername:"Korisničko ime",registerUsernameError:"Ime mora imati najmanje 4-20 znakova i ne smije sadržavati posebne znakove.",registerPassword:"Lozinka",registerPasswordError:"Lozinka mora imati 8-20 znakova",registerSimplePasswordError:"Lozinka mora imati 8-20 znakova",registerConfirmPassword:"Potvrdi lozinku",registerConfirmPasswordError:"Ne odgovara lozinci.",registerPromoCode:"Promotivni kod (fakultativno)",promoCodeError:"promoCodeError",registerSecurityQuestion:"Sigurnosno pitanje",registerSecurityQuestion2:"Vrsta dokumenta",registerSecurityQuestionError:"Sigurnosno pitanje mora imati najmanje 1 znak i najviše 120 znakova.",registerSecurityQuestionError2:"Prihvaćaju se samo slova i brojke.",registerSecurityAnswer:"Sigurnosni Odgovor",registerSecurityAnswer2:"Broj dokumenta",registerSecurityAnswerError:"Sigurnosni odgovor mora imati najmanje 1 znak i najviše 120 znakova.",registerSecurityAnswerError2:"Prihvaćaju se samo slova i brojke.",registerNext:"Sljedeće"}};function Fi(e){let r,i,n=e[31]("registerEmailError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){1&t[1]&&n!==(n=e[31]("registerEmailError")+"")&&Et(i,n)},d(e){e&>(r)}}}function Ui(e){let r,i,n=e[31]("registerUsernameError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){1&t[1]&&n!==(n=e[31]("registerUsernameError")+"")&&Et(i,n)},d(e){e&>(r)}}}function Yi(r){let i,n,s,o,a,l,c,u,d;return{c(){i=t("svg"),n=t("defs"),s=t("style"),o=vt(".a{fill:var(--emfe-w-registration-typography, var(--emfe-w-color-background, #07072A));}"),a=t("g"),l=t("path"),c=t("circle"),_t(l,"class","a"),_t(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),_t(l,"transform","translate(0)"),_t(c,"class","a"),_t(c,"cx","2.779"),_t(c,"cy","2.779"),_t(c,"r","2.779"),_t(c,"transform","translate(20.827 30.303)"),_t(a,"transform","translate(-14.185 -27.832)"),_t(i,"class","TogglePasswordVisibility"),_t(i,"xmlns","http://www.w3.org/2000/svg"),_t(i,"width","18.843"),_t(i,"height","10.5"),_t(i,"viewBox","0 0 18.843 10.5")},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(s,o),mt(i,a),mt(a,l),mt(a,c),u||(d=wt(i,"click",r[63]),u=!0)},p:ht,d(e){e&>(i),u=!1,d()}}}function ji(r){let i,n,s,o,a,l,c,u,d,h,f,m,p,g,y;return{c(){i=t("svg"),n=t("defs"),s=t("style"),o=vt(".a{fill:var(--emfe-w-registration-typography, var(--emfe-w-color-background, #07072A));}"),a=t("g"),l=t("circle"),c=t("g"),u=t("path"),d=t("path"),h=t("g"),f=t("path"),m=t("path"),p=t("rect"),_t(l,"class","a"),_t(l,"cx","0.05"),_t(l,"cy","0.05"),_t(l,"r","0.05"),_t(l,"transform","translate(121.017 31.148)"),_t(u,"class","a"),_t(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),_t(u,"transform","translate(-142.164 -39.123)"),_t(d,"class","a"),_t(d,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),_t(d,"transform","translate(-136.413 -42.068)"),_t(c,"transform","translate(117.499 27.37)"),_t(f,"class","a"),_t(f,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),_t(f,"transform","translate(-110.856 -33.157)"),_t(m,"class","a"),_t(m,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),_t(m,"transform","translate(-130.743 -29.617)"),_t(h,"transform","translate(110.856 24.899)"),_t(p,"class","a"),_t(p,"width","0.972"),_t(p,"height","15.861"),_t(p,"rx","0.486"),_t(p,"transform","translate(114.827 23.858) rotate(-39.315)"),_t(a,"transform","translate(-110.856 -23.242)"),_t(i,"class","TogglePasswordVisibility"),_t(i,"xmlns","http://www.w3.org/2000/svg"),_t(i,"width","18.844"),_t(i,"height","12.887"),_t(i,"viewBox","0 0 18.844 12.887")},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(s,o),mt(i,a),mt(a,l),mt(a,c),mt(c,u),mt(c,d),mt(a,h),mt(h,f),mt(h,m),mt(a,p),g||(y=wt(i,"click",r[62]),g=!0)},p:ht,d(e){e&>(i),g=!1,y()}}}function Gi(e){let r,i,n=e[31]("registerPasswordError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){1&t[1]&&n!==(n=e[31]("registerPasswordError")+"")&&Et(i,n)},d(e){e&>(r)}}}function zi(e){let r,i,n=e[31]("registerSimplePasswordError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){1&t[1]&&n!==(n=e[31]("registerSimplePasswordError")+"")&&Et(i,n)},d(e){e&>(r)}}}function Vi(r){let i,n,s,o,a,l,c,u,d;return{c(){i=t("svg"),n=t("defs"),s=t("style"),o=vt(".a{fill:var(--emfe-w-registration-typography, var(--emfe-w-color-background, #07072A));}"),a=t("g"),l=t("path"),c=t("circle"),_t(l,"class","a"),_t(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),_t(l,"transform","translate(0)"),_t(c,"class","a"),_t(c,"cx","2.779"),_t(c,"cy","2.779"),_t(c,"r","2.779"),_t(c,"transform","translate(20.827 30.303)"),_t(a,"transform","translate(-14.185 -27.832)"),_t(i,"class","ToggleConfirmPasswordVisibility"),_t(i,"xmlns","http://www.w3.org/2000/svg"),_t(i,"width","18.843"),_t(i,"height","10.5"),_t(i,"viewBox","0 0 18.843 10.5")},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(s,o),mt(i,a),mt(a,l),mt(a,c),u||(d=wt(i,"click",r[69]),u=!0)},p:ht,d(e){e&>(i),u=!1,d()}}}function Wi(r){let i,n,s,o,a,l,c,u,d,h,f,m,p,g,y;return{c(){i=t("svg"),n=t("defs"),s=t("style"),o=vt(".a{fill:var(--emfe-w-registration-typography, var(--emfe-w-color-background, #07072A));}"),a=t("g"),l=t("circle"),c=t("g"),u=t("path"),d=t("path"),h=t("g"),f=t("path"),m=t("path"),p=t("rect"),_t(l,"class","a"),_t(l,"cx","0.05"),_t(l,"cy","0.05"),_t(l,"r","0.05"),_t(l,"transform","translate(121.017 31.148)"),_t(u,"class","a"),_t(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),_t(u,"transform","translate(-142.164 -39.123)"),_t(d,"class","a"),_t(d,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),_t(d,"transform","translate(-136.413 -42.068)"),_t(c,"transform","translate(117.499 27.37)"),_t(f,"class","a"),_t(f,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),_t(f,"transform","translate(-110.856 -33.157)"),_t(m,"class","a"),_t(m,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),_t(m,"transform","translate(-130.743 -29.617)"),_t(h,"transform","translate(110.856 24.899)"),_t(p,"class","a"),_t(p,"width","0.972"),_t(p,"height","15.861"),_t(p,"rx","0.486"),_t(p,"transform","translate(114.827 23.858) rotate(-39.315)"),_t(a,"transform","translate(-110.856 -23.242)"),_t(i,"class","ToggleConfirmPasswordVisibility"),_t(i,"xmlns","http://www.w3.org/2000/svg"),_t(i,"width","18.844"),_t(i,"height","12.887"),_t(i,"viewBox","0 0 18.844 12.887")},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(s,o),mt(i,a),mt(a,l),mt(a,c),mt(c,u),mt(c,d),mt(a,h),mt(h,f),mt(h,m),mt(a,p),g||(y=wt(i,"click",r[68]),g=!0)},p:ht,d(e){e&>(i),g=!1,y()}}}function Zi(e){let r,i,n=e[31]("registerConfirmPasswordError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){1&t[1]&&n!==(n=e[31]("registerConfirmPasswordError")+"")&&Et(i,n)},d(e){e&>(r)}}}function qi(e){let r,i,n=e[31]("promoCodeError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){1&t[1]&&n!==(n=e[31]("promoCodeError")+"")&&Et(i,n)},d(e){e&>(r)}}}function Qi(e){let r,i,n=("true"==e[2]?e[31]("registerSecurityQuestionError2"):e[31]("registerSecurityQuestionError"))+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){4&t[0]|1&t[1]&&n!==(n=("true"==e[2]?e[31]("registerSecurityQuestionError2"):e[31]("registerSecurityQuestionError"))+"")&&Et(i,n)},d(e){e&>(r)}}}function Xi(e){let r,i,n=("true"==e[2]?e[31]("registerSecurityAnswerError2"):e[31]("registerSecurityAnswerError"))+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){4&t[0]|1&t[1]&&n!==(n=("true"==e[2]?e[31]("registerSecurityAnswerError2"):e[31]("registerSecurityAnswerError"))+"")&&Et(i,n)},d(e){e&>(r)}}}function Ki(r){let i,n,R,$,F,s,U,Y,j,G,z,o,a,l,V,W,Z,q,c,Q,X,K,u,d,J,ee,te,re,h,ie,ne,se,oe,f,m,ae,le,ce,ue,p,de,he,fe,me,pe,ge,ye,g,y,ve,be,we,_e,v,Ee,Ce,Se,xe,b,Te,ke,Pe,Me,w,Oe,De,Be,_,E,Ae,Ne,Ie,Le,C,He,Re,$e,S,x,Fe,Ue,Ye,je,T,Ge,ze,Ve,k,We,Ze,qe,Qe,Xe=r[31]("registerTitle")+"",Ke=r[31]("registerSubtitle")+"",Je=r[31]("registerSubtitleLogin")+"",et=r[31]("registerEmail")+"",tt=r[31]("registerUsername")+"",rt=r[31]("registerPassword")+"",it=r[31]("registerConfirmPassword")+"",nt=r[31]("registerPromoCode")+"",st=("true"==r[2]?r[31]("registerSecurityQuestion2"):r[31]("registerSecurityQuestion"))+"",ot=("true"==r[2]?r[31]("registerSecurityAnswer2"):r[31]("registerSecurityAnswer"))+"",at=r[31]("registerNext")+"",P=r[4]&&Fi(r),M=r[5]&&Ui(r);function lt(e){return e[26]?ji:Yi}let ct=lt(r),O=ct(r),D=r[6]&&"true"!==r[0]&&Gi(r),B=r[6]&&"true"===r[0]&&zi(r);function ut(e){return e[27]?Wi:Vi}let dt=ut(r),A=dt(r),N=r[7]&&Zi(r),I=r[10]&&qi(r),L=r[8]&&Qi(r),H=r[9]&&Xi(r);return{c(){i=yt("div"),n=yt("div"),R=yt("h2"),$=vt(Xe),F=bt(),s=yt("p"),U=vt(Ke),Y=bt(),j=yt("span"),G=vt(Je),z=bt(),o=yt("form"),a=yt("div"),l=yt("label"),V=vt(et),W=vt(":"),(Z=yt("span")).textContent="*",q=bt(),c=yt("input"),Q=bt(),P&&P.c(),K=bt(),u=yt("div"),d=yt("label"),J=vt(tt),ee=vt(":"),(te=yt("span")).textContent="*",re=bt(),h=yt("input"),ne=bt(),M&&M.c(),oe=bt(),f=yt("div"),m=yt("label"),ae=vt(rt),le=vt(":"),(ce=yt("span")).textContent="*",ue=bt(),p=yt("input"),he=bt(),O.c(),fe=bt(),D&&D.c(),me=bt(),B&&B.c(),ye=bt(),g=yt("div"),y=yt("label"),ve=vt(it),be=vt(":"),(we=yt("span")).textContent="*",_e=bt(),v=yt("input"),Ee=bt(),A.c(),Ce=bt(),N&&N.c(),xe=bt(),b=yt("div"),Te=yt("label"),ke=vt(nt),Pe=vt(":"),Me=bt(),w=yt("input"),Oe=bt(),I&&I.c(),Be=bt(),_=yt("div"),E=yt("label"),Ae=vt(st),Ne=vt(":"),(Ie=yt("span")).textContent="*",Le=bt(),C=yt("input"),He=bt(),L&&L.c(),$e=bt(),S=yt("div"),x=yt("label"),Fe=vt(ot),Ue=vt(":"),(Ye=yt("span")).textContent="*",je=bt(),T=yt("input"),Ge=bt(),H&&H.c(),Ve=bt(),k=yt("button"),We=vt(at),this.c=ht,_t(R,"class","RegisterFormTitle"),_t(j,"class","FormLoginCallToAction"),_t(s,"class","RegisterFormSubtitle"),_t(n,"class","RegisterFormHeader"),_t(Z,"class","FormRequired"),_t(l,"for","Email"),_t(c,"type","text"),_t(c,"id","Email"),_t(a,"class",X="EmailContainer "+(r[4]&&!r[11]?"InvalidField":"")+(0<=r[18]?.indexOf("email")?"Hidden":"")),_t(te,"class","FormRequired"),_t(d,"for","UserName"),_t(h,"type","text"),_t(h,"id","UserName"),_t(h,"autocomplete",ie=r[1]?"username":"off"),_t(u,"class",se="UserContainer "+(r[5]&&!r[12]?"InvalidField":"")+(0<=r[18]?.indexOf("username")?"Hidden":"")),_t(ce,"class","FormRequired"),_t(m,"for","Password"),_t(p,"name","new-password"),_t(p,"type","password"),_t(p,"id","new-password"),_t(p,"autocomplete",de=r[1]?"new-password":"off"),_t(p,"aria-describedby","password-constraints"),_t(f,"class",pe="PasswordContainer "+(r[6]&&!r[13]?"InvalidField":"")+(0<=r[18]?.indexOf("password")?"Hidden":"")),f.hidden=ge=0<=r[18]?.indexOf("password"),_t(we,"class","FormRequired"),_t(y,"for","ConfirmPassword"),_t(v,"type","password"),_t(v,"id","ConfirmPassword"),_t(g,"class",Se="ConfirmPasswordContainer "+(r[7]&&!r[14]?"InvalidField":"")+(0<=r[18]?.indexOf("confirmPassword")?"Hidden":"")),_t(Te,"for","PromoCode"),_t(w,"type","text"),_t(w,"id","PromoCode"),_t(b,"class",De="PromoCodeContainer "+(0<=r[18]?.indexOf("promoCode")?"Hidden":"")),_t(Ie,"class","FormRequired"),_t(E,"for","SecurityQuestion"),_t(C,"type","text"),_t(C,"id","SecurityQuestion"),_t(_,"class",Re="SecurityQuestionContainer "+(r[8]&&!r[15]?"InvalidField":"")+(0<=r[18]?.indexOf("securityQuestion")?"Hidden":"")),_t(Ye,"class","FormRequired"),_t(x,"for","SecurityAnswer"),_t(T,"type","text"),_t(T,"id","SecurityAnswer"),_t(S,"class",ze="SecurityAnswerContainer "+(r[9]&&!r[16]?"InvalidField":"")+(0<=r[18]?.indexOf("securityAnswer")?"Hidden":"")),_t(k,"class","RegisterStepNext"),k.disabled=Ze=!r[30],_t(o,"class","RegisterFormContent")},m(e,t){pt(e,i,t),mt(i,n),mt(n,R),mt(R,$),mt(n,F),mt(n,s),mt(s,U),mt(s,Y),mt(s,j),mt(j,G),mt(i,z),mt(i,o),mt(o,a),mt(a,l),mt(l,V),mt(l,W),mt(l,Z),mt(a,q),mt(a,c),Ct(c,r[20]),mt(a,Q),P&&P.m(a,null),mt(o,K),mt(o,u),mt(u,d),mt(d,J),mt(d,ee),mt(d,te),mt(u,re),mt(u,h),Ct(h,r[19]),mt(u,ne),M&&M.m(u,null),mt(o,oe),mt(o,f),mt(f,m),mt(m,ae),mt(m,le),mt(m,ce),mt(f,ue),mt(f,p),Ct(p,r[21]),r[61](p),mt(f,he),O.m(f,null),mt(f,fe),D&&D.m(f,null),mt(f,me),B&&B.m(f,null),mt(o,ye),mt(o,g),mt(g,y),mt(y,ve),mt(y,be),mt(y,we),mt(g,_e),mt(g,v),Ct(v,r[22]),r[67](v),mt(g,Ee),A.m(g,null),mt(g,Ce),N&&N.m(g,null),mt(o,xe),mt(o,b),mt(b,Te),mt(Te,ke),mt(Te,Pe),mt(b,Me),mt(b,w),Ct(w,r[25]),mt(b,Oe),I&&I.m(b,null),mt(o,Be),mt(o,_),mt(_,E),mt(E,Ae),mt(E,Ne),mt(E,Ie),mt(_,Le),mt(_,C),Ct(C,r[23]),mt(_,He),L&&L.m(_,null),mt(o,$e),mt(o,S),mt(S,x),mt(x,Fe),mt(x,Ue),mt(x,Ye),mt(S,je),mt(S,T),Ct(T,r[24]),mt(S,Ge),H&&H.m(S,null),mt(o,Ve),mt(o,k),mt(k,We),r[80](i),qe||(Qe=[wt(j,"click",r[51]),wt(c,"input",r[52]),wt(c,"keyup",r[33]),wt(c,"focus",r[53]),wt(c,"blur",r[54]),wt(h,"input",r[55]),wt(h,"keyup",r[34]),wt(h,"focus",r[56]),wt(h,"blur",r[57]),wt(p,"input",r[58]),wt(p,"keyup",r[39]),wt(p,"focus",r[59]),wt(p,"blur",r[60]),wt(v,"input",r[64]),wt(v,"keyup",r[40]),wt(v,"focus",r[65]),wt(v,"blur",r[66]),wt(w,"input",r[70]),wt(w,"keyup",r[41]),wt(w,"focus",r[71]),wt(w,"blur",r[72]),wt(C,"input",r[73]),wt(C,"keyup",r[42]),wt(C,"focus",r[74]),wt(C,"blur",r[75]),wt(T,"input",r[76]),wt(T,"keyup",r[43]),wt(T,"focus",r[77]),wt(T,"blur",r[78]),wt(k,"click",r[79])],qe=!0)},p(e,t){1&t[1]&&Xe!==(Xe=e[31]("registerTitle")+"")&&Et($,Xe),1&t[1]&&Ke!==(Ke=e[31]("registerSubtitle")+"")&&Et(U,Ke),1&t[1]&&Je!==(Je=e[31]("registerSubtitleLogin")+"")&&Et(G,Je),1&t[1]&&et!==(et=e[31]("registerEmail")+"")&&Et(V,et),1048576&t[0]&&c.value!==e[20]&&Ct(c,e[20]),e[4]?P?P.p(e,t):((P=Fi(e)).c(),P.m(a,null)):P&&(P.d(1),P=null),264208&t[0]&&X!==(X="EmailContainer "+(e[4]&&!e[11]?"InvalidField":"")+(0<=e[18]?.indexOf("email")?"Hidden":""))&&_t(a,"class",X),1&t[1]&&tt!==(tt=e[31]("registerUsername")+"")&&Et(J,tt),2&t[0]&&ie!==(ie=e[1]?"username":"off")&&_t(h,"autocomplete",ie),524288&t[0]&&h.value!==e[19]&&Ct(h,e[19]),e[5]?M?M.p(e,t):((M=Ui(e)).c(),M.m(u,null)):M&&(M.d(1),M=null),266272&t[0]&&se!==(se="UserContainer "+(e[5]&&!e[12]?"InvalidField":"")+(0<=e[18]?.indexOf("username")?"Hidden":""))&&_t(u,"class",se),1&t[1]&&rt!==(rt=e[31]("registerPassword")+"")&&Et(ae,rt),2&t[0]&&de!==(de=e[1]?"new-password":"off")&&_t(p,"autocomplete",de),2097152&t[0]&&p.value!==e[21]&&Ct(p,e[21]),ct===(ct=lt(e))&&O?O.p(e,t):(O.d(1),(O=ct(e))&&(O.c(),O.m(f,fe))),e[6]&&"true"!==e[0]?D?D.p(e,t):((D=Gi(e)).c(),D.m(f,me)):D&&(D.d(1),D=null),e[6]&&"true"===e[0]?B?B.p(e,t):((B=zi(e)).c(),B.m(f,null)):B&&(B.d(1),B=null),270400&t[0]&&pe!==(pe="PasswordContainer "+(e[6]&&!e[13]?"InvalidField":"")+(0<=e[18]?.indexOf("password")?"Hidden":""))&&_t(f,"class",pe),262144&t[0]&&ge!==(ge=0<=e[18]?.indexOf("password"))&&(f.hidden=ge),1&t[1]&&it!==(it=e[31]("registerConfirmPassword")+"")&&Et(ve,it),4194304&t[0]&&v.value!==e[22]&&Ct(v,e[22]),dt===(dt=ut(e))&&A?A.p(e,t):(A.d(1),(A=dt(e))&&(A.c(),A.m(g,Ce))),e[7]?N?N.p(e,t):((N=Zi(e)).c(),N.m(g,null)):N&&(N.d(1),N=null),278656&t[0]&&Se!==(Se="ConfirmPasswordContainer "+(e[7]&&!e[14]?"InvalidField":"")+(0<=e[18]?.indexOf("confirmPassword")?"Hidden":""))&&_t(g,"class",Se),1&t[1]&&nt!==(nt=e[31]("registerPromoCode")+"")&&Et(ke,nt),33554432&t[0]&&w.value!==e[25]&&Ct(w,e[25]),e[10]?I?I.p(e,t):((I=qi(e)).c(),I.m(b,null)):I&&(I.d(1),I=null),262144&t[0]&&De!==(De="PromoCodeContainer "+(0<=e[18]?.indexOf("promoCode")?"Hidden":""))&&_t(b,"class",De),4&t[0]|1&t[1]&&st!==(st=("true"==e[2]?e[31]("registerSecurityQuestion2"):e[31]("registerSecurityQuestion"))+"")&&Et(Ae,st),8388608&t[0]&&C.value!==e[23]&&Ct(C,e[23]),e[8]?L?L.p(e,t):((L=Qi(e)).c(),L.m(_,null)):L&&(L.d(1),L=null),295168&t[0]&&Re!==(Re="SecurityQuestionContainer "+(e[8]&&!e[15]?"InvalidField":"")+(0<=e[18]?.indexOf("securityQuestion")?"Hidden":""))&&_t(_,"class",Re),4&t[0]|1&t[1]&&ot!==(ot=("true"==e[2]?e[31]("registerSecurityAnswer2"):e[31]("registerSecurityAnswer"))+"")&&Et(Fe,ot),16777216&t[0]&&T.value!==e[24]&&Ct(T,e[24]),e[9]?H?H.p(e,t):((H=Xi(e)).c(),H.m(S,null)):H&&(H.d(1),H=null),328192&t[0]&&ze!==(ze="SecurityAnswerContainer "+(e[9]&&!e[16]?"InvalidField":"")+(0<=e[18]?.indexOf("securityAnswer")?"Hidden":""))&&_t(S,"class",ze),1&t[1]&&at!==(at=e[31]("registerNext")+"")&&Et(We,at),1073741824&t[0]&&Ze!==(Ze=!e[30])&&(k.disabled=Ze)},i:ht,o:ht,d(e){e&>(i),P&&P.d(),M&&M.d(),r[61](null),O.d(),D&&D.d(),B&&B.d(),r[67](null),A.d(),N&&N.d(),I&&I.d(),L&&L.d(),H&&H.d(),r[80](null),qe=!1,ft(Qe)}}}function Ji(t,e,r){let L;le(t,Oi,e=>r(31,L=e));let i,n,s,o,{lang:a=""}=e,{disabledfields:l=""}=e,{defaultoptions:H=""}=e,{simplepasswordvalidation:c="false"}=e,{clientstyling:u=""}=e,{clientstylingurl:d=""}=e,{translationurl:h=""}=e,{savecredentials:R=""}=e,{custominputtextswitch:f="false"}=e,m=!1,p=!1,g=!1,y=!1,v=!1,b=!1,w=!1,_=!1,E=!1,C=!1,S=!1,$=!1,F=!1,U=!1,x="",T="",k="",P="",M="",O="",D="",B=!1,A=!1,Y=!1,N={user:/^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,email:/^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/,document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/};Object.keys($i).forEach(e=>{Ri(e,$i[e])});const I=()=>{r(30,Y=!(m||p||g||y||v||b||w)),(x.length<=0||T.length<=0||k.length<=0||P.length<=0||M.length<=0||O.length<=0)&&r(30,Y=!1)},j=()=>{window.postMessage({type:"ToLogin"},window.location.href)},G=()=>{r(26,B=!0),Z()},z=()=>{r(27,A=!0),q()},V=()=>{r(26,B=!1),Z()},W=()=>{r(27,A=!1),q()},Z=()=>{r(28,n.type=B?"text":"password",n)},q=()=>{r(29,s.type=A?"text":"password",s)},Q=e=>{e.preventDefault();e={userEmail:T,userValue:x,userPassword:k,confirmUserPassword:P,securityQuestion:M,securityAnswer:O,promoCode:D};window.postMessage({type:"RegisterStepOne",registerStepOneData:e},window.location.href)},X=e=>{e.data&&"StepOneDataBackup"===e.data.type&&(r(20,T=e.data.userData.email),r(19,x=e.data.userData.username),r(21,k=e.data.userData.password),r(22,P=e.data.userData.password),r(23,M=e.data.userData.securityQuestion),r(24,O=e.data.userData.securityAnswer),r(25,D=e.data.userData.promoCode),I())};return ce(()=>(window.addEventListener("message",X,!1),()=>{window.removeEventListener("message",X)})),t.$$set=e=>{"lang"in e&&r(45,a=e.lang),"disabledfields"in e&&r(46,l=e.disabledfields),"defaultoptions"in e&&r(47,H=e.defaultoptions),"simplepasswordvalidation"in e&&r(0,c=e.simplepasswordvalidation),"clientstyling"in e&&r(48,u=e.clientstyling),"clientstylingurl"in e&&r(49,d=e.clientstylingurl),"translationurl"in e&&r(50,h=e.translationurl),"savecredentials"in e&&r(1,R=e.savecredentials),"custominputtextswitch"in e&&r(2,f=e.custominputtextswitch)},t.$$.update=()=>{if(16384&t.$$.dirty[1]&&a&&(e=a,ae.set(e)),32768&t.$$.dirty[1]&&l&&(r(18,i=l.split(",")),0<=i.indexOf("email")&&(r(20,T="dummy@dummy.com"),r(4,m=!1)),0<=i.indexOf("username")&&(r(19,x="dummy username"),r(5,p=!1)),0<=i.indexOf("password")&&(r(21,k="dummy password"),r(6,g=!1)),0<=i.indexOf("confirmPassword")&&(r(22,P="dummy password"),r(7,y=!1)),0<=i.indexOf("securityQuestion")&&(r(23,M="dummy question"),r(8,v=!1)),0<=i.indexOf("securityAnswer")&&(r(24,O="dummy answer"),r(9,b=!1)),0<=i.indexOf("promoCode"))&&r(10,w=!1),1&t.$$.dirty[0]&&c&&"true"==c&&(N.password=/^(?!.* ).{8,20}$/),8&t.$$.dirty[0]|131072&t.$$.dirty[1]&&u&&o&&((e=document.createElement("style")).innerHTML=u,o.appendChild(e)),8&t.$$.dirty[0]|262144&t.$$.dirty[1]&&d&&o){let e=new URL(d),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{},500)})}var e;524288&t.$$.dirty[1]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ri(e,t[e])})}).catch(e=>{console.log(e)})},[c,R,f,o,m,p,g,y,v,b,w,_,E,C,S,$,F,U,i,x,T,k,P,M,O,D,B,A,n,s,Y,L,j,()=>{var e;r(4,(e=T,m=!(N.email.test(e)&&e.length<=100))),I()},()=>{var e;r(5,(e=x,p=!(N.user.test(e)&&e.length<=20))),I()},G,z,V,W,()=>{var e;r(6,(e=k,g=!N.password.test(e))),k!==P&&0<P.length?r(7,y=!0):r(7,y=!1),I()},()=>{r(7,y=!(k===P)),I()},()=>{r(10,w=!1),I()},()=>{r(8,v=!(()=>{if(M)switch(f){case"true":if(N.document.test(M)&&M.length<=50)return!0;break;case"false":if(M&&M.length<=120)return!0}return!1})()),I()},()=>{r(9,b=!(()=>{if(O)switch(f){case"true":if(N.document.test(O)&&O.length<=50)return!0;break;case"false":if(O&&O.length<=120)return!0}return!1})()),I()},Q,a,l,H,u,d,h,()=>j(),function(){T=this.value,r(20,T)},()=>r(11,_=!0),()=>r(11,_=!1),function(){x=this.value,r(19,x)},()=>r(12,E=!0),()=>r(12,E=!1),function(){k=this.value,r(21,k)},()=>r(13,C=!0),()=>r(13,C=!1),function(e){oe[e?"unshift":"push"](()=>{n=e,r(28,n)})},()=>V(),()=>G(),function(){P=this.value,r(22,P)},()=>r(14,S=!0),()=>r(14,S=!1),function(e){oe[e?"unshift":"push"](()=>{s=e,r(29,s)})},()=>W(),()=>z(),function(){D=this.value,r(25,D)},()=>r(17,U=!0),()=>r(17,U=!1),function(){M=this.value,r(23,M)},()=>r(15,$=!0),()=>r(15,$=!1),function(){O=this.value,r(24,O)},()=>r(16,F=!0),()=>r(16,F=!1),e=>Q(e),function(e){oe[e?"unshift":"push"](()=>{o=e,r(3,o)})}]}customElements.get("general-player-register-form-step1")||customElements.define("general-player-register-form-step1",class extends F{constructor(e){super();var t=document.createElement("style");t.textContent=".RegisterFormTitle{font-size:20px;text-transform:uppercase;font-weight:300;margin:0;padding-bottom:8px}.RegisterFormSubtitle{font-size:14px;margin:0;padding-bottom:20px}.FormLoginCallToAction{color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.EmailContainer,.UserContainer,.PasswordContainer,.ConfirmPasswordContainer,.PromoCodeContainer,.SecurityQuestionContainer,.SecurityAnswerContainer{color:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:40px;position:relative}.EmailContainer label,.UserContainer label,.PasswordContainer label,.ConfirmPasswordContainer label,.PromoCodeContainer label,.SecurityQuestionContainer label,.SecurityAnswerContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.EmailContainer input,.UserContainer input,.PasswordContainer input,.ConfirmPasswordContainer input,.PromoCodeContainer input,.SecurityQuestionContainer input,.SecurityAnswerContainer input{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.EmailContainer.InvalidField input,.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.ConfirmPasswordContainer.InvalidField input,.SecurityQuestionContainer.InvalidField input,.SecurityAnswerContainer.InvalidField input{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));background:var(--emfe-w-color-pale, #FBECF4);color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.EmailContainer.Hidden,.UserContainer.Hidden,.PasswordContainer.Hidden,.ConfirmPasswordContainer.Hidden,.PromoCodeContainer.Hidden,.SecurityQuestionContainer.Hidden,.SecurityAnswerContainer.Hidden{display:none}.PasswordContainer,.ConfirmPasswordContainer{position:relative}.PasswordContainer input,.ConfirmPasswordContainer input{padding:5px 30px 5px 15px}.FormRequired{color:var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839))}.TogglePasswordVisibility,.ToggleConfirmPasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect,.ToggleConfirmPasswordVisibility path,.ToggleConfirmPasswordVisibility circle,.ToggleConfirmPasswordVisibility rect{fill:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B))}.InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));font-size:10px;position:absolute;padding-top:5px;top:55px;line-height:10px}.RegisterStepNext{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);cursor:not-allowed}input::-ms-reveal,input::-ms-clear{display:none}",this.shadowRoot.appendChild(t),$(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ji,Ki,C,{lang:45,disabledfields:46,defaultoptions:47,simplepasswordvalidation:0,clientstyling:48,clientstylingurl:49,translationurl:50,savecredentials:1,custominputtextswitch:2},null,[-1,-1,-1,-1]),e&&(e.target&&pt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["lang","disabledfields","defaultoptions","simplepasswordvalidation","clientstyling","clientstylingurl","translationurl","savecredentials","custominputtextswitch"]}get lang(){return this.$$.ctx[45]}set lang(e){this.$$set({lang:e}),h()}get disabledfields(){return this.$$.ctx[46]}set disabledfields(e){this.$$set({disabledfields:e}),h()}get defaultoptions(){return this.$$.ctx[47]}set defaultoptions(e){this.$$set({defaultoptions:e}),h()}get simplepasswordvalidation(){return this.$$.ctx[0]}set simplepasswordvalidation(e){this.$$set({simplepasswordvalidation:e}),h()}get clientstyling(){return this.$$.ctx[48]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[49]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[50]}set translationurl(e){this.$$set({translationurl:e}),h()}get savecredentials(){return this.$$.ctx[1]}set savecredentials(e){this.$$set({savecredentials:e}),h()}get custominputtextswitch(){return this.$$.ctx[2]}set custominputtextswitch(e){this.$$set({custominputtextswitch:e}),h()}});tn=en={path:void 0,exports:{},require:function(e,t){return Or(null==t&&en.path)}},en.exports,tn.exports=function(){var L;function m(){return L.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function H(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function R(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(p(e,t))return;return 1}function a(e){return void 0===e}function $(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function F(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function U(e,t){for(var r=[],i=e.length,n=0;n<i;++n)r.push(t(e[n],n));return r}function Y(e,t){for(var r in t)p(t,r)&&(e[r]=t[r]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function c(e,t,r,i){return Dt(e,t,r,i,!0).utc()}function g(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 j(e){if(null==e._isValid){var t=g(e),r=z.call(t.parsedDateParts,function(e){return null!=e}),r=!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&&r);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function G(e){var t=c(NaN);return null!=e?Y(g(t),e):g(t).userInvalidated=!0,t}var z=Array.prototype.some||function(e){for(var t=Object(this),r=t.length>>>0,i=0;i<r;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1},V=m.momentProperties=[],W=!1;function Z(e,t){var r,i,n,s=V.length;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=g(t)),a(t._locale)||(e._locale=t._locale),0<s)for(r=0;r<s;r++)a(n=t[i=V[r]])||(e[i]=n);return e}function q(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===W&&(W=!0,m.updateOffset(this),W=!1)}function l(e){return e instanceof q||null!=e&&null!=e._isAMomentObject}function Q(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(s,o){var a=!0;return Y(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,s),a){for(var e,t,r=[],i=arguments.length,n=0;n<i;n++){if(e="","object"==typeof arguments[n]){for(t in e+="\n["+n+"] ",arguments[0])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[n];r.push(e)}Q(s+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),a=!1}return o.apply(this,arguments)},o)}var X={};function K(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),X[e]||(Q(t),X[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function J(e,t){var r,i=Y({},e);for(r in t)p(t,r)&&(H(e[r])&&H(t[r])?(i[r]={},Y(i[r],e[r]),Y(i[r],t[r])):null!=t[r]?i[r]=t[r]:delete i[r]);for(r in e)p(e,r)&&!p(t,r)&&H(e[r])&&(i[r]=Y({},i[r]));return i}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,r=[];for(t in e)p(e,t)&&r.push(t);return r};function s(e,t,r){var i=""+Math.abs(e);return(0<=e?r?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}var re=/(\[[^\[]*\])|(\\)?([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,ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ne={},se={};function i(e,t,r,i){var n="string"==typeof i?function(){return this[i]()}:i;e&&(se[e]=n),t&&(se[t[0]]=function(){return s(n.apply(this,arguments),t[1],t[2])}),r&&(se[r]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=ae(t,e.localeData()),ne[t]=ne[t]||function(i){for(var e,n=i.match(re),t=0,s=n.length;t<s;t++)se[n[t]]?n[t]=se[n[t]]:n[t]=(e=n[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",r=0;r<s;r++)t+=u(n[r])?n[r].call(e,i):n[r];return t}}(t),ne[t](e)):e.localeData().invalidDate()}function ae(e,t){var r=5;function i(e){return t.longDateFormat(e)||e}for(ie.lastIndex=0;0<=r&&ie.test(e);)e=e.replace(ie,i),ie.lastIndex=0,--r;return e}var le={};function t(e,t){var r=e.toLowerCase();le[r]=le[r+"s"]=le[t]=e}function d(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function ce(e){var t,r,i={};for(r in e)p(e,r)&&(t=d(r))&&(i[t]=e[r]);return i}var ue={};function r(e,t){ue[e]=t}function de(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 f(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?h(e):t}function he(t,r){return function(e){return null!=e?(me(this,t,e),m.updateOffset(this,r),this):fe(this,t)}}function fe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,r){e.isValid()&&!isNaN(r)&&("FullYear"===t&&de(e.year())&&1===e.month()&&29===e.date()?(r=f(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),Ne(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}var n=/\d/,y=/\d\d/,pe=/\d{3}/,ge=/\d{4}/,ye=/[+-]?\d{6}/,v=/\d\d?/,ve=/\d\d\d\d?/,be=/\d\d\d\d\d\d?/,we=/\d{1,3}/,_e=/\d{1,4}/,Ee=/[+-]?\d{1,6}/,Ce=/\d+/,Se=/[+-]?\d+/,xe=/Z|[+-]\d\d:?\d\d/gi,Te=/Z|[+-]\d\d(?::?\d\d)?/gi,b=/[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 w(e,r,i){Pe[e]=u(r)?r:function(e,t){return e&&i?i:r}}function ke(e,t){return p(Pe,e)?Pe[e](t._strict,t._locale):new RegExp(_(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,r,i,n){return t||r||i||n})))}function _(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Pe={},Me={};function E(e,r){var t,i,n=r;for("string"==typeof e&&(e=[e]),$(r)&&(n=function(e,t){t[r]=f(e)}),i=e.length,t=0;t<i;t++)Me[e[t]]=n}function Oe(e,n){E(e,function(e,t,r,i){r._w=r._w||{},n(e,r._w,r,i)})}var C,S=0,x=1,T=2,k=3,P=4,M=5,De=6,Be=7,Ae=8;function Ne(e,t){var r;return isNaN(e)||isNaN(t)?NaN:(r=(t%(r=12)+r)%r,e+=(t-r)/12,1==r?de(e)?29:28:31-r%7%2)}C=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},i("M",["MM",2],"Mo",function(){return this.month()+1}),i("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),i("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),r("month",8),w("M",v),w("MM",v,y),w("MMM",function(e,t){return t.monthsShortRegex(e)}),w("MMMM",function(e,t){return t.monthsRegex(e)}),E(["M","MM"],function(e,t){t[x]=f(e)-1}),E(["MMM","MMMM"],function(e,t,r,i){i=r._locale.monthsParse(e,i,r._strict);null!=i?t[x]=i:g(r).invalidMonth=e});var Ie="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Le="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),He=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Re=b,$e=b;function Fe(e,t){var r;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=f(t);else if(!$(t=e.localeData().monthsParse(t)))return;r=Math.min(e.date(),Ne(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r)}}function Ue(e){return null!=e?(Fe(this,e),m.updateOffset(this,!0),this):fe(this,"Month")}function Ye(){function e(e,t){return t.length-e.length}for(var t,r=[],i=[],n=[],s=0;s<12;s++)t=c([2e3,s]),r.push(this.monthsShort(t,"")),i.push(this.months(t,"")),n.push(this.months(t,"")),n.push(this.monthsShort(t,""));for(r.sort(e),i.sort(e),n.sort(e),s=0;s<12;s++)r[s]=_(r[s]),i[s]=_(i[s]);for(s=0;s<24;s++)n[s]=_(n[s]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function je(e){return de(e)?366:365}i("Y",0,0,function(){var e=this.year();return e<=9999?s(e,4):"+"+e}),i(0,["YY",2],0,function(){return this.year()%100}),i(0,["YYYY",4],0,"year"),i(0,["YYYYY",5],0,"year"),i(0,["YYYYYY",6,!0],0,"year"),t("year","y"),r("year",1),w("Y",Se),w("YY",v,y),w("YYYY",_e,ge),w("YYYYY",Ee,ye),w("YYYYYY",Ee,ye),E(["YYYYY","YYYYYY"],S),E("YYYY",function(e,t){t[S]=2===e.length?m.parseTwoDigitYear(e):f(e)}),E("YY",function(e,t){t[S]=m.parseTwoDigitYear(e)}),E("Y",function(e,t){t[S]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return f(e)+(68<f(e)?1900:2e3)};var Ge=he("FullYear",!0);function ze(e,t,r,i,n,s,o){var a;return e<100&&0<=e?(a=new Date(e+400,t,r,i,n,s,o),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,r,i,n,s,o),a}function Ve(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,r){r=7+t-r;return-(7+Ve(e,0,r).getUTCDay()-t)%7+r-1}function Ze(e,t,r,i,n){var s,t=1+7*(t-1)+(7+r-i)%7+We(e,i,n),r=t<=0?je(s=e-1)+t:t>je(e)?(s=e+1,t-je(e)):(s=e,t);return{year:s,dayOfYear:r}}function qe(e,t,r){var i,n,s=We(e.year(),t,r),s=Math.floor((e.dayOfYear()-s-1)/7)+1;return s<1?i=s+O(n=e.year()-1,t,r):s>O(e.year(),t,r)?(i=s-O(e.year(),t,r),n=e.year()+1):(n=e.year(),i=s),{week:i,year:n}}function O(e,t,r){var i=We(e,t,r),t=We(e+1,t,r);return(je(e)-i+t)/7}i("w",["ww",2],"wo","week"),i("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),r("week",5),r("isoWeek",5),w("w",v),w("ww",v,y),w("W",v),w("WW",v,y),Oe(["w","ww","W","WW"],function(e,t,r,i){t[i.substr(0,1)]=f(e)});function Qe(e,t){return e.slice(t,7).concat(e.slice(0,t))}i("d",0,"do","day"),i("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),i("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),i("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),i("e",0,0,"weekday"),i("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),r("day",11),r("weekday",11),r("isoWeekday",11),w("d",v),w("e",v),w("E",v),w("dd",function(e,t){return t.weekdaysMinRegex(e)}),w("ddd",function(e,t){return t.weekdaysShortRegex(e)}),w("dddd",function(e,t){return t.weekdaysRegex(e)}),Oe(["dd","ddd","dddd"],function(e,t,r,i){i=r._locale.weekdaysParse(e,i,r._strict);null!=i?t.d=i:g(r).invalidWeekday=e}),Oe(["d","e","E"],function(e,t,r,i){t[i]=f(e)});var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ke="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Je="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=b,tt=b,rt=b;function it(){function e(e,t){return t.length-e.length}for(var t,r,i,n=[],s=[],o=[],a=[],l=0;l<7;l++)i=c([2e3,1]).day(l),t=_(this.weekdaysMin(i,"")),r=_(this.weekdaysShort(i,"")),i=_(this.weekdays(i,"")),n.push(t),s.push(r),o.push(i),a.push(t),a.push(r),a.push(i);n.sort(e),s.sort(e),o.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+n.join("|")+")","i")}function nt(){return this.hours()%12||12}function st(e,t){i(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}i("H",["HH",2],0,"hour"),i("h",["hh",2],0,nt),i("k",["kk",2],0,function(){return this.hours()||24}),i("hmm",0,0,function(){return""+nt.apply(this)+s(this.minutes(),2)}),i("hmmss",0,0,function(){return""+nt.apply(this)+s(this.minutes(),2)+s(this.seconds(),2)}),i("Hmm",0,0,function(){return""+this.hours()+s(this.minutes(),2)}),i("Hmmss",0,0,function(){return""+this.hours()+s(this.minutes(),2)+s(this.seconds(),2)}),st("a",!0),st("A",!1),t("hour","h"),r("hour",13),w("a",ot),w("A",ot),w("H",v),w("h",v),w("k",v),w("HH",v,y),w("hh",v,y),w("kk",v,y),w("hmm",ve),w("hmmss",be),w("Hmm",ve),w("Hmmss",be),E(["H","HH"],k),E(["k","kk"],function(e,t,r){e=f(e);t[k]=24===e?0:e}),E(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),E(["h","hh"],function(e,t,r){t[k]=f(e),g(r).bigHour=!0}),E("hmm",function(e,t,r){var i=e.length-2;t[k]=f(e.substr(0,i)),t[P]=f(e.substr(i)),g(r).bigHour=!0}),E("hmmss",function(e,t,r){var i=e.length-4,n=e.length-2;t[k]=f(e.substr(0,i)),t[P]=f(e.substr(i,2)),t[M]=f(e.substr(n)),g(r).bigHour=!0}),E("Hmm",function(e,t,r){var i=e.length-2;t[k]=f(e.substr(0,i)),t[P]=f(e.substr(i))}),E("Hmmss",function(e,t,r){var i=e.length-4,n=e.length-2;t[k]=f(e.substr(0,i)),t[P]=f(e.substr(i,2)),t[M]=f(e.substr(n))});b=he("Hours",!0);var at,lt={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:Ie,monthsShort:Le,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:Je,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},D={},ct={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function dt(e){for(var t,r,i,n,s=0;s<e.length;){for(t=(n=ut(e[s]).split("-")).length,r=(r=ut(e[s+1]))?r.split("-"):null;0<t;){if(i=ht(n.slice(0,t).join("-")))return i;if(r&&r.length>=t&&function(e,t){for(var r=Math.min(e.length,t.length),i=0;i<r;i+=1)if(e[i]!==t[i])return i;return r}(n,r)>=t-1)break;t--}s++}return at}function ht(t){var e;if(void 0===D[t]&&tn&&tn.exports&&null!=t.match("^[^/\\\\]*$"))try{e=at._abbr,Or(),ft(e)}catch(e){D[t]=null}return D[t]}function ft(e,t){return e&&((t=a(t)?B(e):mt(e,t))?at=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),at._abbr}function mt(e,t){if(null===t)return delete D[e],null;var r,i=lt;if(t.abbr=e,null!=D[e])K("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=D[e]._config;else if(null!=t.parentLocale)if(null!=D[t.parentLocale])i=D[t.parentLocale]._config;else{if(null==(r=ht(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;i=r._config}return D[e]=new ee(J(i,t)),ct[e]&&ct[e].forEach(function(e){mt(e.name,e.config)}),ft(e),D[e]}function B(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return at;if(!o(e)){if(t=ht(e))return t;e=[e]}return dt(e)}function pt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[x]<0||11<t[x]?x:t[T]<1||t[T]>Ne(t[S],t[x])?T:t[k]<0||24<t[k]||24===t[k]&&(0!==t[P]||0!==t[M]||0!==t[De])?k:t[P]<0||59<t[P]?P:t[M]<0||59<t[M]?M:t[De]<0||999<t[De]?De:-1,g(e)._overflowDayOfYear&&(t<S||T<t)&&(t=T),g(e)._overflowWeeks&&-1===t&&(t=Be),g(e)._overflowWeekday&&-1===t&&(t=Ae),g(e).overflow=t),e}var gt=/^\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=/^\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)?)?$/,vt=/Z|[+-]\d\d(?::?\d\d)?/,bt=[["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]],wt=[["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,Et=/^(?:(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}))$/,Ct={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function St(e){var t,r,i,n,s,o,a=e._i,l=gt.exec(a)||yt.exec(a),a=bt.length,c=wt.length;if(l){for(g(e).iso=!0,t=0,r=a;t<r;t++)if(bt[t][1].exec(l[1])){n=bt[t][0],i=!1!==bt[t][2];break}if(null==n)return e._isValid=!1;if(l[3]){for(t=0,r=c;t<r;t++)if(wt[t][1].exec(l[3])){s=(l[2]||" ")+wt[t][0];break}if(null==s)return e._isValid=!1}if(!i&&null!=s)return e._isValid=!1;if(l[4]){if(!vt.exec(l[4]))return e._isValid=!1;o="Z"}e._f=n+(s||"")+(o||""),Mt(e)}else e._isValid=!1}function xt(e,t,r,i,n,s){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Le.indexOf(t),parseInt(r,10),parseInt(i,10),parseInt(n,10)];return s&&e.push(parseInt(s,10)),e}function Tt(e){var t,r,i,n,s=Et.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));s?(t=xt(s[4],s[3],s[2],s[5],s[6],s[7]),r=s[1],i=t,n=e,r&&Ke.indexOf(r)!==new Date(i[0],i[1],i[2]).getDay()?(g(n).weekdayMismatch=!0,n._isValid=!1):(e._a=t,e._tzm=(r=s[8],i=s[9],n=s[10],r?Ct[r]:i?0:((r=parseInt(n,10))-(i=r%100))/100*60+i),e._d=Ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function kt(e,t,r){return null!=e?e:null!=t?t:r}function Pt(e){var t,r,i,n,s,o,a,l,c,u,d,h=[];if(!e._d){for(u=e,d=new Date(m.now()),r=u._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[T]&&null==e._a[x]&&(null!=(d=(u=e)._w).GG||null!=d.W||null!=d.E?(o=1,a=4,i=kt(d.GG,u._a[S],qe(A(),1,4).year),n=kt(d.W,1),((s=kt(d.E,1))<1||7<s)&&(l=!0)):(o=u._locale._week.dow,a=u._locale._week.doy,c=qe(A(),o,a),i=kt(d.gg,u._a[S],c.year),n=kt(d.w,c.week),null!=d.d?((s=d.d)<0||6<s)&&(l=!0):null!=d.e?(s=d.e+o,(d.e<0||6<d.e)&&(l=!0)):s=o),n<1||n>O(i,o,a)?g(u)._overflowWeeks=!0:null!=l?g(u)._overflowWeekday=!0:(c=Ze(i,n,s,o,a),u._a[S]=c.year,u._dayOfYear=c.dayOfYear)),null!=e._dayOfYear&&(d=kt(e._a[S],r[S]),(e._dayOfYear>je(d)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=Ve(d,0,e._dayOfYear),e._a[x]=l.getUTCMonth(),e._a[T]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=h[t]=r[t];for(;t<7;t++)e._a[t]=h[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[k]&&0===e._a[P]&&0===e._a[M]&&0===e._a[De]&&(e._nextDay=!0,e._a[k]=0),e._d=(e._useUTC?Ve:ze).apply(null,h),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[k]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function Mt(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],g(e).empty=!0;for(var t,r,i,n=""+e._i,s=n.length,o=0,a=(r=ae(e._f,e._locale).match(re)||[]).length,l=0;l<a;l++)i=r[l],(t=(n.match(ke(i,e))||[])[0])&&(0<(d=n.substr(0,n.indexOf(t))).length&&g(e).unusedInput.push(d),n=n.slice(n.indexOf(t)+t.length),o+=t.length),se[i]?(t?g(e).empty=!1:g(e).unusedTokens.push(i),d=i,f=e,null!=(h=t)&&p(Me,d)&&Me[d](h,f._a,f,d)):e._strict&&!t&&g(e).unusedTokens.push(i);g(e).charsLeftOver=s-o,0<n.length&&g(e).unusedInput.push(n),e._a[k]<=12&&!0===g(e).bigHour&&0<e._a[k]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[k]=(s=e._locale,c=e._a[k],null==(u=e._meridiem)?c:null!=s.meridiemHour?s.meridiemHour(c,u):null!=s.isPM?((s=s.isPM(u))&&c<12&&(c+=12),c=s||12!==c?c:0):c),null!==(u=g(e).era)&&(e._a[S]=e._locale.erasConvertYear(u,e._a[S])),Pt(e),pt(e)}else Tt(e);else St(e);var c,u,d,h,f}function Ot(e){var t,r=e._i,i=e._f;{var n,s;return(e._locale=e._locale||B(e._l),null===r||void 0===i&&""===r)?G({nullInput:!0}):("string"==typeof r&&(e._i=r=e._locale.preparse(r)),l(r)?new q(pt(r)):(F(r)?e._d=r:o(i)?function(e){var t,r,i,n,s,o,a=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(n=0;n<l;n++)s=0,o=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[n],Mt(t),j(t)&&(o=!0),s=(s+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(t).score=s,a?s<i&&(i=s,r=t):(null==i||s<i||o)&&(i=s,r=t,o)&&(a=!0);Y(e,r||t)}(e):i?Mt(e):a(i=(r=e)._i)?r._d=new Date(m.now()):F(i)?r._d=new Date(i.valueOf()):"string"==typeof i?(n=r,null===(s=_t.exec(n._i))?(St(n),!1===n._isValid&&(delete n._isValid,Tt(n),!1===n._isValid)&&(delete n._isValid,n._strict?n._isValid=!1:m.createFromInputFallback(n))):n._d=new Date(+s[1])):o(i)?(r._a=U(i.slice(0),function(e){return parseInt(e,10)}),Pt(r)):H(i)?(n=r)._d||(t=void 0===(s=ce(n._i)).day?s.date:s.day,n._a=U([s.year,s.month,t,s.hour,s.minute,s.second,s.millisecond],function(e){return e&&parseInt(e,10)}),Pt(n)):$(i)?r._d=new Date(i):m.createFromInputFallback(r),j(e)||(e._d=null),e))}}function Dt(e,t,r,i,n){var s={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==r&&!1!==r||(i=r,r=void 0),(H(e)&&R(e)||o(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=n,s._l=r,s._i=e,s._f=t,s._strict=i,(n=new q(pt(Ot(n=s))))._nextDay&&(n.add(1,"d"),n._nextDay=void 0),n}function A(e,t,r,i){return Dt(e,t,r,i,!1)}m.createFromInputFallback=e("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(){};ve=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=A.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:G()}),be=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=A.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:G()});function Bt(e,t){var r,i;if(!(t=1===t.length&&o(t[0])?t[0]:t).length)return A();for(r=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](r)||(r=t[i]);return r}var At=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Nt(e){var e=ce(e),t=e.year||0,r=e.quarter||0,i=e.month||0,n=e.week||e.isoWeek||0,s=e.day||0,o=e.hour||0,a=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(e){var t,r,i=!1,n=At.length;for(t in e)if(p(e,t)&&(-1===C.call(At,t)||null!=e[t]&&isNaN(e[t])))return!1;for(r=0;r<n;++r)if(e[At[r]]){if(i)return!1;parseFloat(e[At[r]])!==f(e[At[r]])&&(i=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*a+1e3*o*60*60,this._days=+s+7*n,this._months=+i+3*r+12*t,this._data={},this._locale=B(),this._bubble()}function It(e){return e instanceof Nt}function Lt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ht(e,r){i(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+s(~~(e/60),2)+r+s(~~e%60,2)})}Ht("Z",":"),Ht("ZZ",""),w("Z",Te),w("ZZ",Te),E(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=$t(Te,e)});var Rt=/([\+\-]|\d\d)/gi;function $t(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Rt)||["-",0,0])[1]+f(e[2]))?0:"+"===e[0]?t:-t}function Ft(e,t){var r;return t._isUTC?(t=t.clone(),r=(l(e)||F(e)?e:A(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+r),m.updateOffset(t,!1),t):A(e).local()}function Ut(e){return-Math.round(e._d.getTimezoneOffset())}function Yt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var jt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Gt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function N(e,t){var r,i,n=e;return It(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:$(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(t=jt.exec(e))?(r="-"===t[1]?-1:1,n={y:0,d:f(t[T])*r,h:f(t[k])*r,m:f(t[P])*r,s:f(t[M])*r,ms:f(Lt(1e3*t[De]))*r}):(t=Gt.exec(e))?(r="-"===t[1]?-1:1,n={y:zt(t[2],r),M:zt(t[3],r),w:zt(t[4],r),d:zt(t[5],r),h:zt(t[6],r),m:zt(t[7],r),s:zt(t[8],r)}):null==n?n={}:"object"==typeof n&&("from"in n||"to"in n)&&(t=A(n.from),r=A(n.to),t=t.isValid()&&r.isValid()?(r=Ft(r,t),t.isBefore(r)?i=Vt(t,r):((i=Vt(r,t)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0},(n={}).ms=t.milliseconds,n.M=t.months),i=new Nt(n),It(e)&&p(e,"_locale")&&(i._locale=e._locale),It(e)&&p(e,"_isValid")&&(i._isValid=e._isValid),i}function zt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Vt(e,t){var r={};return r.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Wt(i,n){return function(e,t){var r;return null===t||isNaN(+t)||(K(n,"moment()."+n+"(period, number) is deprecated. Please use moment()."+n+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=e,e=t,t=r),Zt(this,N(e,t),i),this}}function Zt(e,t,r,i){var n=t._milliseconds,s=Lt(t._days),t=Lt(t._months);e.isValid()&&(i=null==i||i,t&&Fe(e,fe(e,"Month")+t*r),s&&me(e,"Date",fe(e,"Date")+s*r),n&&e._d.setTime(e._d.valueOf()+n*r),i)&&m.updateOffset(e,s||t)}N.fn=Nt.prototype,N.invalid=function(){return N(NaN)};Ie=Wt(1,"add"),Xe=Wt(-1,"subtract");function qt(e){return"string"==typeof e||e instanceof String}function Qt(e){return l(e)||F(e)||qt(e)||$(e)||(r=o(t=e),i=!1,r&&(i=0===t.filter(function(e){return!$(e)&&qt(t)}).length),r&&i)||function(e){var t,r,i=H(e)&&!R(e),n=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=s.length;for(t=0;t<o;t+=1)r=s[t],n=n||p(e,r);return i&&n}(e)||null==e;var t,r,i}function Xt(e,t){var r,i;return e.date()<t.date()?-Xt(t,e):-((r=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(i=e.clone().add(r,"months"))<0?(t-i)/(i-e.clone().add(r-1,"months")):(t-i)/(e.clone().add(1+r,"months")-i)))||0}function Kt(e){return void 0===e?this._locale._abbr:(null!=(e=B(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Je=e("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 Jt(){return this._locale}var er=126227808e5;function tr(e,t){return(e%t+t)%t}function rr(e,t,r){return e<100&&0<=e?new Date(e+400,t,r)-er:new Date(e,t,r).valueOf()}function ir(e,t,r){return e<100&&0<=e?Date.UTC(e+400,t,r)-er:Date.UTC(e,t,r)}function nr(e,t){return t.erasAbbrRegex(e)}function sr(){for(var e=[],t=[],r=[],i=[],n=this.eras(),s=0,o=n.length;s<o;++s)t.push(_(n[s].name)),e.push(_(n[s].abbr)),r.push(_(n[s].narrow)),i.push(_(n[s].name)),i.push(_(n[s].abbr)),i.push(_(n[s].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("^("+r.join("|")+")","i")}function or(e,t){i(0,[e,e.length],0,t)}function ar(e,t,r,i,n){var s;return null==e?qe(this,i,n).year:(t>(s=O(e,i,n))&&(t=s),function(e,t,r,i,n){e=Ze(e,t,r,i,n),t=Ve(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,r,i,n))}i("N",0,0,"eraAbbr"),i("NN",0,0,"eraAbbr"),i("NNN",0,0,"eraAbbr"),i("NNNN",0,0,"eraName"),i("NNNNN",0,0,"eraNarrow"),i("y",["y",1],"yo","eraYear"),i("y",["yy",2],0,"eraYear"),i("y",["yyy",3],0,"eraYear"),i("y",["yyyy",4],0,"eraYear"),w("N",nr),w("NN",nr),w("NNN",nr),w("NNNN",function(e,t){return t.erasNameRegex(e)}),w("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),E(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,i){i=r._locale.erasParse(e,i,r._strict);i?g(r).era=i:g(r).invalidEra=e}),w("y",Ce),w("yy",Ce),w("yyy",Ce),w("yyyy",Ce),w("yo",function(e,t){return t._eraYearOrdinalRegex||Ce}),E(["y","yy","yyy","yyyy"],S),E(["yo"],function(e,t,r,i){var n;r._locale._eraYearOrdinalRegex&&(n=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[S]=r._locale.eraYearOrdinalParse(e,n):t[S]=parseInt(e,10)}),i(0,["gg",2],0,function(){return this.weekYear()%100}),i(0,["GG",2],0,function(){return this.isoWeekYear()%100}),or("gggg","weekYear"),or("ggggg","weekYear"),or("GGGG","isoWeekYear"),or("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),r("weekYear",1),r("isoWeekYear",1),w("G",Se),w("g",Se),w("GG",v,y),w("gg",v,y),w("GGGG",_e,ge),w("gggg",_e,ge),w("GGGGG",Ee,ye),w("ggggg",Ee,ye),Oe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,i){t[i.substr(0,2)]=f(e)}),Oe(["gg","GG"],function(e,t,r,i){t[i]=m.parseTwoDigitYear(e)}),i("Q",0,"Qo","quarter"),t("quarter","Q"),r("quarter",7),w("Q",n),E("Q",function(e,t){t[x]=3*(f(e)-1)}),i("D",["DD",2],"Do","date"),t("date","D"),r("date",9),w("D",v),w("DD",v,y),w("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),E(["D","DD"],T),E("Do",function(e,t){t[T]=f(e.match(v)[0])});_e=he("Date",!0);i("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),r("dayOfYear",4),w("DDD",we),w("DDDD",pe),E(["DDD","DDDD"],function(e,t,r){r._dayOfYear=f(e)}),i("m",["mm",2],0,"minute"),t("minute","m"),r("minute",14),w("m",v),w("mm",v,y),E(["m","mm"],P);ge=he("Minutes",!1);i("s",["ss",2],0,"second"),t("second","s"),r("second",15),w("s",v),w("ss",v,y),E(["s","ss"],M);var lr,Ee=he("Seconds",!1);for(i("S",0,0,function(){return~~(this.millisecond()/100)}),i(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),i(0,["SSS",3],0,"millisecond"),i(0,["SSSS",4],0,function(){return 10*this.millisecond()}),i(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),i(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),i(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),i(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),i(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),r("millisecond",16),w("S",we,n),w("SS",we,y),w("SSS",we,pe),lr="SSSS";lr.length<=9;lr+="S")w(lr,Ce);function cr(e,t){t[De]=f(1e3*("0."+e))}for(lr="S";lr.length<=9;lr+="S")E(lr,cr);ye=he("Milliseconds",!1),i("z",0,0,"zoneAbbr"),i("zz",0,0,"zoneName");n=q.prototype;function ur(e){return e}n.add=Ie,n.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=H(e)&&!R(e),r=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n=0;n<i.length;n+=1)r=r||p(e,i[n]);return t&&r}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||A(),r=Ft(e,this).startOf("day"),r=m.calendarFormat(this,r)||"sameElse",t=t&&(u(t[r])?t[r].call(this,e):t[r]);return this.format(t||this.localeData().calendar(r,this,A(e)))},n.clone=function(){return new q(this)},n.diff=function(e,t,r){var i,n,s;if(!this.isValid())return NaN;if(!(i=Ft(e,this)).isValid())return NaN;switch(n=6e4*(i.utcOffset()-this.utcOffset()),t=d(t)){case"year":s=Xt(this,i)/12;break;case"month":s=Xt(this,i);break;case"quarter":s=Xt(this,i)/3;break;case"second":s=(this-i)/1e3;break;case"minute":s=(this-i)/6e4;break;case"hour":s=(this-i)/36e5;break;case"day":s=(this-i-n)/864e5;break;case"week":s=(this-i-n)/6048e5;break;default:s=this-i}return r?s:h(s)},n.endOf=function(e){var t,r;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(r=this._isUTC?ir:rr,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tr(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tr(t,1e3)-1}this._d.setTime(t),m.updateOffset(this,!0)}return this},n.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},n.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||A(e).isValid())?N({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},n.fromNow=function(e){return this.from(A(),e)},n.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||A(e).isValid())?N({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},n.toNow=function(e){return this.to(A(),e)},n.get=function(e){return u(this[e=d(e)])?this[e]():this},n.invalidAt=function(){return g(this).overflow},n.isAfter=function(e,t){return e=l(e)?e:A(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},n.isBefore=function(e,t){return e=l(e)?e:A(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},n.isBetween=function(e,t,r,i){return e=l(e)?e:A(e),t=l(t)?t:A(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(i=i||"()")[0]?this.isAfter(e,r):!this.isBefore(e,r))&&(")"===i[1]?this.isBefore(t,r):!this.isAfter(t,r))},n.isSame=function(e,t){var e=l(e)?e:A(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},n.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},n.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},n.isValid=function(){return j(this)},n.lang=Je,n.locale=Kt,n.localeData=Jt,n.max=be,n.min=ve,n.parsingFlags=function(){return Y({},g(this))},n.set=function(e,t){if("object"==typeof e)for(var r=function(e){var t,r=[];for(t in e)p(e,t)&&r.push({unit:t,priority:ue[t]});return r.sort(function(e,t){return e.priority-t.priority}),r}(e=ce(e)),i=r.length,n=0;n<i;n++)this[r[n].unit](e[r[n].unit]);else if(u(this[e=d(e)]))return this[e](t);return this},n.startOf=function(e){var t,r;if(void 0!==(e=d(e))&&"millisecond"!==e&&this.isValid()){switch(r=this._isUTC?ir:rr,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tr(t,6e4);break;case"second":t=this._d.valueOf(),t-=tr(t,1e3)}this._d.setTime(t),m.updateOffset(this,!0)}return this},n.subtract=Xe,n.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},n.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()}},n.toDate=function(){return new Date(this.valueOf())},n.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},n.inspect=function(){var e,t,r;return this.isValid()?(t="moment",r="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(r+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(n[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},n.eraName=function(){for(var e,t=this.localeData().eras(),r=0,i=t.length;r<i;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].name;if(t[r].until<=e&&e<=t[r].since)return t[r].name}return""},n.eraNarrow=function(){for(var e,t=this.localeData().eras(),r=0,i=t.length;r<i;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].narrow;if(t[r].until<=e&&e<=t[r].since)return t[r].narrow}return""},n.eraAbbr=function(){for(var e,t=this.localeData().eras(),r=0,i=t.length;r<i;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].abbr;if(t[r].until<=e&&e<=t[r].since)return t[r].abbr}return""},n.eraYear=function(){for(var e,t,r=this.localeData().eras(),i=0,n=r.length;i<n;++i)if(e=r[i].since<=r[i].until?1:-1,t=this.clone().startOf("day").valueOf(),r[i].since<=t&&t<=r[i].until||r[i].until<=t&&t<=r[i].since)return(this.year()-m(r[i].since).year())*e+r[i].offset;return this.year()},n.year=Ge,n.isLeapYear=function(){return de(this.year())},n.weekYear=function(e){return ar.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},n.isoWeekYear=function(e){return ar.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},n.quarter=n.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},n.month=Ue,n.daysInMonth=function(){return Ne(this.year(),this.month())},n.week=n.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},n.isoWeek=n.isoWeeks=function(e){var t=qe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},n.weeksInYear=function(){var e=this.localeData()._week;return O(this.year(),e.dow,e.doy)},n.weeksInWeekYear=function(){var e=this.localeData()._week;return O(this.weekYear(),e.dow,e.doy)},n.isoWeeksInYear=function(){return O(this.year(),1,4)},n.isoWeeksInISOWeekYear=function(){return O(this.isoWeekYear(),1,4)},n.date=_e,n.day=n.days=function(e){var t,r,i;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(r=e,i=this.localeData(),e="string"!=typeof r?r:isNaN(r)?"number"==typeof(r=i.weekdaysParse(r))?r:null:parseInt(r,10),this.add(e-t,"d")):t):null!=e?this:NaN},n.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},n.isoWeekday=function(e){var t,r;return this.isValid()?null!=e?(t=e,r=this.localeData(),r="string"==typeof t?r.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?r:r-7)):this.day()||7:null!=e?this:NaN},n.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")},n.hour=n.hours=b,n.minute=n.minutes=ge,n.second=n.seconds=Ee,n.millisecond=n.milliseconds=ye,n.utcOffset=function(e,t,r){var i,n=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?n:Ut(this);if("string"==typeof e){if(null===(e=$t(Te,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(i=Ut(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),n!==e&&(!t||this._changeInProgress?Zt(this,N(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},n.utc=function(e){return this.utcOffset(0,e)},n.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Ut(this),"m"),this},n.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=$t(xe,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},n.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?A(e).utcOffset():0,(this.utcOffset()-e)%60==0)},n.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},n.isLocal=function(){return!!this.isValid()&&!this._isUTC},n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},n.isUtc=Yt,n.isUTC=Yt,n.zoneAbbr=function(){return this._isUTC?"UTC":""},n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},n.dates=e("dates accessor is deprecated. Use date instead.",_e),n.months=e("months accessor is deprecated. Use month instead",Ue),n.years=e("years accessor is deprecated. Use year instead",Ge),n.zone=e("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()}),n.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return a(this._isDSTShifted)&&(Z(t={},this),(t=Ot(t))._a?(e=(t._isUTC?c:A)(t._a),this._isDSTShifted=this.isValid()&&0<function(e,t,r){for(var i=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),s=0,o=0;o<i;o++)(r&&e[o]!==t[o]||!r&&f(e[o])!==f(t[o]))&&s++;return s+n}(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=ee.prototype;function dr(e,t,r,i){var n=B(),i=c().set(i,t);return n[r](i,e)}function hr(e,t,r){if($(e)&&(t=e,e=void 0),e=e||"",null!=t)return dr(e,t,r,"month");for(var i=[],n=0;n<12;n++)i[n]=dr(e,n,r,"month");return i}function fr(e,t,r,i){t=("boolean"==typeof e||(r=t=e,e=!1),$(t)&&(r=t,t=void 0),t||"");var n,s=B(),o=e?s._week.dow:0,a=[];if(null!=r)return dr(t,(r+o)%7,i,"day");for(n=0;n<7;n++)a[n]=dr(t,(n+o)%7,i,"day");return a}y.calendar=function(e,t,r){return u(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,r):e},y.longDateFormat=function(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(re).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=ur,y.postformat=ur,y.relativeTime=function(e,t,r,i){var n=this._relativeTime[r];return u(n)?n(e,t,r,i):n.replace(/%d/i,e)},y.pastFuture=function(e,t){return u(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,r;for(r in e)p(e,r)&&(u(t=e[r])?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},y.eras=function(e,t){for(var r,i=this._eras||B("en")._eras,n=0,s=i.length;n<s;++n)switch("string"==typeof i[n].since&&(r=m(i[n].since).startOf("day"),i[n].since=r.valueOf()),typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":r=m(i[n].until).startOf("day").valueOf(),i[n].until=r.valueOf()}return i},y.erasParse=function(e,t,r){var i,n,s,o,a,l=this.eras();for(e=e.toUpperCase(),i=0,n=l.length;i<n;++i)if(s=l[i].name.toUpperCase(),o=l[i].abbr.toUpperCase(),a=l[i].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[i];break;case"NNNN":if(s===e)return l[i];break;case"NNNNN":if(a===e)return l[i]}else if(0<=[s,o,a].indexOf(e))return l[i]},y.erasConvertYear=function(e,t){var r=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*r},y.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||sr.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return p(this,"_erasNameRegex")||sr.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||sr.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(o(this._months)?this._months:this._months[(this._months.isFormat||He).test(t)?"format":"standalone"])[e.month()]:o(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(o(this._monthsShort)?this._monthsShort:this._monthsShort[He.test(t)?"format":"standalone"])[e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.monthsParse=function(e,t,r){var i,n;if(this._monthsParseExact)return function(e,t,r){var i,n,s,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)s=c([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(s,"").toLocaleLowerCase();return r?"MMM"===t?-1!==(n=C.call(this._shortMonthsParse,e))?n:null:-1!==(n=C.call(this._longMonthsParse,e))?n:null:"MMM"===t?-1!==(n=C.call(this._shortMonthsParse,e))||-1!==(n=C.call(this._longMonthsParse,e))?n:null:-1!==(n=C.call(this._longMonthsParse,e))||-1!==(n=C.call(this._shortMonthsParse,e))?n:null}.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(n=c([2e3,i]),r&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),r||this._monthsParse[i]||(n="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[i]=new RegExp(n.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(r&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!r&&this._monthsParse[i].test(e))return i}},y.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Ye.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=$e),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Ye.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Re),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return qe(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(e,t){return t=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Qe(t,this._week.dow):e?t[e.day()]:t},y.weekdaysMin=function(e){return!0===e?Qe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?Qe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.weekdaysParse=function(e,t,r){var i,n;if(this._weekdaysParseExact)return function(e,t,r){var i,n,s,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=c([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase();return r?"dddd"===t?-1!==(n=C.call(this._weekdaysParse,e))?n:null:"ddd"===t?-1!==(n=C.call(this._shortWeekdaysParse,e))?n:null:-1!==(n=C.call(this._minWeekdaysParse,e))?n:null:"dddd"===t?-1!==(n=C.call(this._weekdaysParse,e))||-1!==(n=C.call(this._shortWeekdaysParse,e))||-1!==(n=C.call(this._minWeekdaysParse,e))?n:null:"ddd"===t?-1!==(n=C.call(this._shortWeekdaysParse,e))||-1!==(n=C.call(this._weekdaysParse,e))||-1!==(n=C.call(this._minWeekdaysParse,e))?n:null:-1!==(n=C.call(this._minWeekdaysParse,e))||-1!==(n=C.call(this._weekdaysParse,e))||-1!==(n=C.call(this._shortWeekdaysParse,e))?n:null}.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(n=c([2e3,1]).day(i),r&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(n="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[i]=new RegExp(n.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(r&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(r&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!r&&this._weekdaysParse[i].test(e))return i}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=rt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,r){return 11<e?r?"pm":"PM":r?"am":"AM"},ft("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===f(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=e("moment.lang is deprecated. Use moment.locale instead.",ft),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",B);var mr=Math.abs;function pr(e,t,r,i){t=N(t,r);return e._milliseconds+=i*t._milliseconds,e._days+=i*t._days,e._months+=i*t._months,e._bubble()}function gr(e){return e<0?Math.floor(e):Math.ceil(e)}function yr(e){return 4800*e/146097}function vr(e){return 146097*e/4800}function br(e){return function(){return this.as(e)}}we=br("ms"),pe=br("s"),Ie=br("m"),be=br("h"),ve=br("d"),Xe=br("w"),b=br("M"),ge=br("Q"),Ee=br("y");function wr(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=wr("milliseconds"),_e=wr("seconds"),Ge=wr("minutes"),y=wr("hours"),_r=wr("days"),Er=wr("months"),Cr=wr("years");var Sr=Math.round,xr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Tr(e,t,r,i){var n=N(e).abs(),s=Sr(n.as("s")),o=Sr(n.as("m")),a=Sr(n.as("h")),l=Sr(n.as("d")),c=Sr(n.as("M")),u=Sr(n.as("w")),n=Sr(n.as("y")),s=(s<=r.ss?["s",s]:s<r.s&&["ss",s])||(o<=1?["m"]:o<r.m&&["mm",o])||(a<=1?["h"]:a<r.h&&["hh",a])||(l<=1?["d"]:l<r.d&&["dd",l]);return(s=(s=null!=r.w?s||(u<=1?["w"]:u<r.w&&["ww",u]):s)||(c<=1?["M"]:c<r.M&&["MM",c])||(n<=1?["y"]:["yy",n]))[2]=t,s[3]=0<+e,s[4]=i,function(e,t,r,i,n){return n.relativeTime(t||1,!!r,e,i)}.apply(null,s)}var kr=Math.abs;function Pr(e){return(0<e)-(e<0)||+e}function Mr(){var e,t,r,i,n,s,o,a,l,c,u;return this.isValid()?(a=kr(this._milliseconds)/1e3,l=kr(this._days),c=kr(this._months),(u=this.asSeconds())?(e=h(a/60),t=h(e/60),a%=60,e%=60,r=h(c/12),c%=12,i=a?a.toFixed(3).replace(/\.?0+$/,""):"",n=Pr(this._months)!==Pr(u)?"-":"",s=Pr(this._days)!==Pr(u)?"-":"",o=Pr(this._milliseconds)!==Pr(u)?"-":"",(u<0?"-":"")+"P"+(r?n+r+"Y":"")+(c?n+c+"M":"")+(l?s+l+"D":"")+(t||e||a?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(a?o+i+"S":"")):"P0D"):this.localeData().invalidDate()}var I=Nt.prototype;return I.isValid=function(){return this._isValid},I.abs=function(){var e=this._data;return this._milliseconds=mr(this._milliseconds),this._days=mr(this._days),this._months=mr(this._months),e.milliseconds=mr(e.milliseconds),e.seconds=mr(e.seconds),e.minutes=mr(e.minutes),e.hours=mr(e.hours),e.months=mr(e.months),e.years=mr(e.years),this},I.add=function(e,t){return pr(this,e,t,1)},I.subtract=function(e,t){return pr(this,e,t,-1)},I.as=function(e){if(!this.isValid())return NaN;var t,r,i=this._milliseconds;if("month"===(e=d(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,r=this._months+yr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(vr(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)}},I.asMilliseconds=we,I.asSeconds=pe,I.asMinutes=Ie,I.asHours=be,I.asDays=ve,I.asWeeks=Xe,I.asMonths=b,I.asQuarters=ge,I.asYears=Ee,I.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*f(this._months/12):NaN},I._bubble=function(){var e=this._milliseconds,t=this._days,r=this._months,i=this._data;return 0<=e&&0<=t&&0<=r||e<=0&&t<=0&&r<=0||(e+=864e5*gr(vr(r)+t),r=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),r+=e=h(yr(t)),t-=gr(vr(e)),e=h(r/12),r%=12,i.days=t,i.months=r,i.years=e,this},I.clone=function(){return N(this)},I.get=function(e){return e=d(e),this.isValid()?this[e+"s"]():NaN},I.milliseconds=ye,I.seconds=_e,I.minutes=Ge,I.hours=y,I.days=_r,I.weeks=function(){return h(this.days()/7)},I.months=Er,I.years=Cr,I.humanize=function(e,t){var r,i;return this.isValid()?(r=!1,i=xr,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(i=Object.assign({},xr,t),null!=t.s)&&null==t.ss&&(i.ss=t.s-1),t=Tr(this,!r,i,e=this.localeData()),r&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},I.toISOString=Mr,I.toString=Mr,I.toJSON=Mr,I.locale=Kt,I.localeData=Jt,I.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Mr),I.lang=Je,i("X",0,0,"unix"),i("x",0,0,"valueOf"),w("x",Se),w("X",/[+-]?\d+(\.\d{1,3})?/),E("X",function(e,t,r){r._d=new Date(1e3*parseFloat(e))}),E("x",function(e,t,r){r._d=new Date(f(e))}),m.version="2.29.4",L=A,m.fn=n,m.min=function(){return Bt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Bt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=c,m.unix=function(e){return A(1e3*e)},m.months=function(e,t){return hr(e,t,"months")},m.isDate=F,m.locale=ft,m.invalid=G,m.duration=N,m.isMoment=l,m.weekdays=function(e,t,r){return fr(e,t,r,"weekdays")},m.parseZone=function(){return A.apply(null,arguments).parseZone()},m.localeData=B,m.isDuration=It,m.monthsShort=function(e,t){return hr(e,t,"monthsShort")},m.weekdaysMin=function(e,t,r){return fr(e,t,r,"weekdaysMin")},m.defineLocale=mt,m.updateLocale=function(e,t){var r,i;return null!=t?(i=lt,null!=D[e]&&null!=D[e].parentLocale?D[e].set(J(D[e]._config,t)):(t=J(i=null!=(r=ht(e))?r._config:i,t),null==r&&(t.abbr=e),(i=new ee(t)).parentLocale=D[e],D[e]=i),ft(e)):null!=D[e]&&(null!=D[e].parentLocale?(D[e]=D[e].parentLocale,e===ft()&&ft(e)):null!=D[e]&&delete D[e]),D[e]},m.locales=function(){return te(D)},m.weekdaysShort=function(e,t,r){return fr(e,t,r,"weekdaysShort")},m.normalizeUnits=d,m.relativeTimeRounding=function(e){return void 0===e?Sr:"function"==typeof e&&(Sr=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==xr[e]&&(void 0===t?xr[e]:(xr[e]=t,"s"===e&&(xr.ss=t-1),!0))},m.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},m.prototype=n,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}();var en,tn,rn=en.exports;function nn(e,t){ei(e,t)}const sn={en:{registerBackButton:"Back",registerUserTitle:"Title",registerUserTitleSelect:"Select Title",registerUserTitleSelectMr:"Mr.",registerUserTitleSelectMrs:"Mrs.",registerUserTitleSelectMs:"Ms.",registerFirstName:"First Name",registerFirstNameError:"First name must be 2-50 characters long.",registerLastName:"Last Name",registerLastNameError:"Last name must be 2-50 characters.",registerDateOfBirth:"Date of Birth",registerBirthDay:"Day",registerBirthMonth:"Month",registerBirthYear:"Year",registerBirthDateError:"The minimum registratione age is {licenseyears} years.",registerBirthPlace:"Birth Place",registerBirthPlaceError:"Birth place must be at least 1 character long.",registerCurrency:"Currency",registerNext:"Next",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"},"zh-hk":{registerBackButton:"後退",registerUserTitle:"標題",registerUserTitleSelect:"选择标题",registerUserTitleSelectMr:"先生.",registerUserTitleSelectMrs:"太太.",registerUserTitleSelectMs:"小姐.",registerFirstName:"名",registerFirstNameError:"名字的長度必須至少為 2 個字符,並且不包含特殊字符。",registerLastName:"姓",registerLastNameError:"姓氏必須至少有 2 個字符長並且不包含特殊字符。",registerDateOfBirth:"出生日期",registerBirthDay:"天",registerBirthMonth:"月",registerBirthYear:"年",registerBirthDateError:"最低注册年龄为 {licenseyears} 年。",registerBirthPlace:"出生地",registerBirthPlaceError:"出生地必須至少有 1 個字符長。",registerCurrency:"貨幣",registerNext:"下一個",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"},fr:{registerBackButton:"Retour",registerUserTitle:"Titre",registerUserTitleSelect:"Sélectionnez le titre",registerUserTitleSelectMr:"Monsieur",registerUserTitleSelectMrs:"Madame",registerUserTitleSelectMs:"Mademoiselle",registerFirstName:"Prénom",registerFirstNameError:"Le prénom doit être composé d'au moins 2 caractères et ne doit pas contenir des caracères spéciaux",registerLastName:"Nom de famille",registerLastNameError:"Le nom de famille doit être composé d'au moins 2 caractères et ne doit pas contenir des caracères spéciaux",registerDateOfBirth:"Date de naissance",registerBirthDay:"Jour",registerBirthMonth:"Mois",registerBirthYear:"An",registerBirthDateError:"L'âge minimum d'enregistrement est de {licenseyears} ans.",registerBirthPlace:"Lieu de naissance",registerBirthPlaceError:"Le lieu de naissance doit comporter au moins un caractère.",registerCurrency:"Monnaie",registerNext:"Suivant",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"},tr:{registerBackButton:"Geri",registerUserTitle:"Başlık",registerUserTitleSelect:"Başlık Seç",registerUserTitleSelectMr:"Bay.",registerUserTitleSelectMrs:"Bayan.",registerUserTitleSelectMs:"Hanım.",registerFirstName:"İlk adı",registerFirstNameError:"Ad 2-50 karakter uzunluğunda olmalıdır.",registerLastName:"Soyadı",registerLastNameError:"Soyadı 2-50 karakter uzunluğunda olmalıdır.",registerDateOfBirth:"Doğum tarihi",registerBirthDay:"Gün",registerBirthMonth:"Ay",registerBirthYear:"Yıl",registerBirthDateError:"Minimum kayıt yaşı {licenseyears} yıllar.",registerBirthPlace:"Doğum yeri",registerBirthPlaceError:"Doğum yeri en az 1 karakter uzunluğunda olmalıdır.",registerCurrency:"Para birimi",registerNext:"Sonraki",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"},ro:{registerBackButton:"Inapoi",registerUserTitle:"Titlu",registerUserTitleSelect:"Selecteaza Titlu",registerUserTitleSelectMr:"Dl.",registerUserTitleSelectMrs:"Dna.",registerUserTitleSelectMs:"Dra.",registerFirstName:"Prenume",registerFirstNameError:"Prenumele trebuie sa fie de 2-50 litere lungime.",registerLastName:"Nume",registerLastNameError:"Numele trebuie sa fie de 2-50 litere lungime.",registerDateOfBirth:"Data Nasterii",registerBirthDay:"Zi",registerBirthMonth:"Luna",registerBirthYear:"An",registerBirthDateError:"Varsta minima pentru inregistrare este de {licenseyears} ani.",registerBirthPlace:"Locule nasterii",registerBirthPlaceError:"Locul nasterii trebuie sa contina minim o litera",registerCurrency:"Moneda",registerNext:"Urmatorul",registerPersonalId:"Cod Numeric Personal",registerPersonalIdCharacters:"Pot fi introduse doar cifre",registerPersonalIdLength:"Codul numeric personal trebuie sa contina 13 cifre."},es:{registerBackButton:"Anterior",registerUserTitle:"Título",registerUserTitleSelect:"Seleccionar Título",registerUserTitleSelectMr:"Sr.",registerUserTitleSelectMrs:"Sra.",registerUserTitleSelectMs:"Srta.",registerFirstName:"Nombre",registerFirstNameError:"El nombre debe tener al menos 2 caracteres y no contener caracteres especiales.",registerLastName:"Apellido",registerLastNameError:"Apellido debe tener entre 2 a 50 caracteres.",registerDateOfBirth:"Fecha de nacimiento",registerBirthDay:"Día",registerBirthMonth:"Mes",registerBirthYear:"Año",registerBirthDateError:"La edad mínima para registrarse es {licenseyears} años",registerBirthPlace:"Lugar de Nacimiento",registerBirthPlaceError:"Lugar de Nacimiento debe tener al menos 1 carácter.",registerCurrency:"Moneda",registerNext:"Siguiente",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"},pt:{registerBackButton:"Voltar",registerUserTitle:"Título",registerUserTitleSelect:"Select Title",registerUserTitleSelectMr:"Mr.",registerUserTitleSelectMrs:"Mrs.",registerUserTitleSelectMs:"Ms.",registerFirstName:"Primeiro nome",registerFirstNameError:"O nome deve ter pelo menos 2 caracteres e não conter caracteres especiais.",registerLastName:"Último nome",registerLastNameError:"O sobrenome deve ter pelo menos 2 caracteres e não conter caracteres especiais.",registerDateOfBirth:"Data de nascimento",registerBirthDay:"Day",registerBirthMonth:"Month",registerBirthYear:"Year",registerBirthDateError:"The minimum registratione age is {licenseyears} years.",registerBirthPlace:"Local de Nascimento",registerBirthPlaceError:"Birth place must be at least 1 character long.",registerCurrency:"Moeda",registerNext:"Próximo",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"},hr:{registerBackButton:"Prethodno",registerUserTitle:"Titula",registerUserTitleSelect:"Odaberite titulu",registerUserTitleSelectMr:"Gosp.",registerUserTitleSelectMrs:"Gđa",registerUserTitleSelectMs:"Gđica",registerFirstName:"Ime",registerFirstNameError:"Ime mora imati 2-50 znakova.",registerLastName:"Prezime",registerLastNameError:"Prezime mora imati 2-50 znakova.",registerDateOfBirth:"Datum rođenja",registerBirthDay:"Dan",registerBirthMonth:"Mjesec",registerBirthYear:"Godina",registerBirthDateError:"Za registraciju morate imati najmanje 18 godina.",registerBirthPlace:"Mjesto rođenja",registerBirthPlaceError:"Mjesto rođenja mora imati najmanje 1 znak.",registerCurrency:"Valuta",registerNext:"Slijedeće",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"}};function on(e,t,r){e=e.slice();return e[78]=t[r],e}function an(e,t,r){e=e.slice();return e[81]=t[r],e}function ln(e,t,r){e=e.slice();return e[84]=t[r],e}function cn(e,t,r){e=e.slice();return e[87]=t[r],e}function un(r){let i,n,s,o,a,l,c,u,d,h,f,m,p,g,y,v,b,w=r[24]("registerUserTitle")+"",_=r[24]("registerUserTitleSelect")+"",E=r[24]("registerUserTitleSelectMr")+"",C=r[24]("registerUserTitleSelectMrs")+"",S=r[24]("registerUserTitleSelectMs")+"";return{c(){i=yt("div"),n=yt("label"),s=vt(w),o=vt(":"),(a=yt("span")).textContent="*",l=bt(),c=yt("select"),u=yt("option"),d=vt(_),h=yt("option"),f=vt(E),m=yt("option"),p=vt(C),g=yt("option"),y=vt(S),_t(a,"class","FormRequired"),_t(n,"for","Title"),u.__value="",u.value=u.__value,u.disabled=!0,u.selected=!0,h.__value="Mr.",h.value=h.__value,m.__value="Mrs.",m.value=m.__value,g.__value="Ms.",g.value=g.__value,_t(c,"id","Title"),void 0===r[12]&&tt(()=>r[43].call(c)),_t(i,"class","UserTitleContainer")},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(n,o),mt(n,a),mt(i,l),mt(i,c),mt(c,u),mt(u,d),mt(c,h),mt(h,f),mt(c,m),mt(m,p),mt(c,g),mt(g,y),et(c,r[12],!0),v||(b=[wt(c,"change",r[43]),wt(c,"change",r[29])],v=!0)},p(e,t){16777216&t[0]&&w!==(w=e[24]("registerUserTitle")+"")&&Et(s,w),16777216&t[0]&&_!==(_=e[24]("registerUserTitleSelect")+"")&&Et(d,_),16777216&t[0]&&E!==(E=e[24]("registerUserTitleSelectMr")+"")&&Et(f,E),16777216&t[0]&&C!==(C=e[24]("registerUserTitleSelectMrs")+"")&&Et(p,C),16777216&t[0]&&S!==(S=e[24]("registerUserTitleSelectMs")+"")&&Et(y,S),4096&t[0]&&et(c,e[12])},d(e){e&>(i),v=!1,ft(b)}}}function dn(r){let i,n,s,o,a,l,c,u,d,h,f,m=r[24]("registerFirstName")+"",p=r[2]&&hn(r);return{c(){i=yt("div"),n=yt("label"),s=vt(m),o=vt(":"),(a=yt("span")).textContent="*",l=bt(),c=yt("input"),u=bt(),p&&p.c(),_t(a,"class","FormRequired"),_t(n,"for","FirstName"),_t(c,"type","text"),_t(c,"id","FirstName"),_t(i,"class",d="FirstNameContainer "+(r[2]&&!r[7]?"InvalidField":""))},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(n,o),mt(n,a),mt(i,l),mt(i,c),Ct(c,r[13]),mt(i,u),p&&p.m(i,null),h||(f=[wt(c,"input",r[44]),wt(c,"keyup",r[30]),wt(c,"focus",r[45]),wt(c,"keyup",r[46])],h=!0)},p(e,t){16777216&t[0]&&m!==(m=e[24]("registerFirstName")+"")&&Et(s,m),8192&t[0]&&c.value!==e[13]&&Ct(c,e[13]),e[2]?p?p.p(e,t):((p=hn(e)).c(),p.m(i,null)):p&&(p.d(1),p=null),132&t[0]&&d!==(d="FirstNameContainer "+(e[2]&&!e[7]?"InvalidField":""))&&_t(i,"class",d)},d(e){e&>(i),p&&p.d(),h=!1,ft(f)}}}function hn(e){let r,i,n=e[24]("registerFirstNameError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){16777216&t[0]&&n!==(n=e[24]("registerFirstNameError")+"")&&Et(i,n)},d(e){e&>(r)}}}function fn(r){let i,n,s,o,a,l,c,u,d,h,f,m=r[24]("registerLastName")+"",p=r[3]&&mn(r);return{c(){i=yt("div"),n=yt("label"),s=vt(m),o=vt(":"),(a=yt("span")).textContent="*",l=bt(),c=yt("input"),u=bt(),p&&p.c(),_t(a,"class","FormRequired"),_t(n,"for","LastName"),_t(c,"type","text"),_t(c,"id","LastName"),_t(i,"class",d="LastNameContainer "+(r[3]&&!r[8]?"InvalidField":""))},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(n,o),mt(n,a),mt(i,l),mt(i,c),Ct(c,r[14]),mt(i,u),p&&p.m(i,null),h||(f=[wt(c,"input",r[47]),wt(c,"keyup",r[31]),wt(c,"focus",r[48]),wt(c,"blur",r[49])],h=!0)},p(e,t){16777216&t[0]&&m!==(m=e[24]("registerLastName")+"")&&Et(s,m),16384&t[0]&&c.value!==e[14]&&Ct(c,e[14]),e[3]?p?p.p(e,t):((p=mn(e)).c(),p.m(i,null)):p&&(p.d(1),p=null),264&t[0]&&d!==(d="LastNameContainer "+(e[3]&&!e[8]?"InvalidField":""))&&_t(i,"class",d)},d(e){e&>(i),p&&p.d(),h=!1,ft(f)}}}function mn(e){let r,i,n=e[24]("registerLastNameError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){16777216&t[0]&&n!==(n=e[24]("registerLastNameError")+"")&&Et(i,n)},d(e){e&>(r)}}}function pn(r){let i,n,s,o,a,l,c,u,d,h,f,m,p,g,y,v,b,w,_,E,C,e=r[24]("registerDateOfBirth")+"",S=r[24]("registerBirthDay")+"",x=r[24]("registerBirthMonth")+"",T=r[24]("registerBirthYear")+"",k=r[25],P=[];for(let e=0;e<k.length;e+=1)P[e]=gn(cn(r,k,e));let M=r[26],O=[];for(let e=0;e<M.length;e+=1)O[e]=yn(ln(r,M,e));let D=!r[23]&&vn(r),B=r[4]&&wn(r);return{c(){i=yt("div"),n=yt("label"),s=vt(e),o=vt(":"),(a=yt("span")).textContent="*",l=bt(),c=yt("div"),u=yt("select"),d=yt("option"),h=vt(S);for(let e=0;e<P.length;e+=1)P[e].c();f=bt(),m=yt("select"),p=yt("option"),g=vt(x);for(let e=0;e<O.length;e+=1)O[e].c();y=bt(),v=yt("select"),b=yt("option"),w=vt(T),D&&D.c(),_=bt(),B&&B.c(),_t(a,"class","FormRequired"),d.__value="",d.value=d.__value,d.disabled=!0,d.selected=!0,_t(u,"class","BirthDaySelected"),void 0===r[15]&&tt(()=>r[50].call(u)),p.__value="",p.value=p.__value,p.disabled=!0,p.selected=!0,_t(m,"class","BirthMonthSelected"),void 0===r[16]&&tt(()=>r[51].call(m)),b.__value="",b.value=b.__value,b.disabled=!0,b.selected=!0,_t(v,"class","BirthYearSelected"),void 0===r[17]&&tt(()=>r[52].call(v)),_t(c,"class","BirthDateOptions"),_t(i,"class","BirthDateContainer")},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(n,o),mt(n,a),mt(i,l),mt(i,c),mt(c,u),mt(u,d),mt(d,h);for(let e=0;e<P.length;e+=1)P[e]&&P[e].m(u,null);et(u,r[15],!0),mt(c,f),mt(c,m),mt(m,p),mt(p,g);for(let e=0;e<O.length;e+=1)O[e]&&O[e].m(m,null);et(m,r[16],!0),mt(c,y),mt(c,v),mt(v,b),mt(b,w),D&&D.m(v,null),et(v,r[17],!0),mt(c,_),B&&B.m(c,null),E||(C=[wt(u,"change",r[50]),wt(u,"change",r[28]),wt(m,"change",r[51]),wt(m,"change",r[28]),wt(v,"change",r[52]),wt(v,"change",r[28])],E=!0)},p(t,r){if(16777216&r[0]&&e!==(e=t[24]("registerDateOfBirth")+"")&&Et(s,e),16777216&r[0]&&S!==(S=t[24]("registerBirthDay")+"")&&Et(h,S),33554432&r[0]){let e;for(k=t[25],e=0;e<k.length;e+=1){const s=cn(t,k,e);P[e]?P[e].p(s,r):(P[e]=gn(s),P[e].c(),P[e].m(u,null))}for(;e<P.length;e+=1)P[e].d(1);P.length=k.length}if(33587200&r[0]&&et(u,t[15]),16777216&r[0]&&x!==(x=t[24]("registerBirthMonth")+"")&&Et(g,x),67108864&r[0]){let e;for(M=t[26],e=0;e<M.length;e+=1){const s=ln(t,M,e);O[e]?O[e].p(s,r):(O[e]=yn(s),O[e].c(),O[e].m(m,null))}for(;e<O.length;e+=1)O[e].d(1);O.length=M.length}67174400&r[0]&&et(m,t[16]),16777216&r[0]&&T!==(T=t[24]("registerBirthYear")+"")&&Et(w,T),t[23]?D&&(D.d(1),D=null):D?D.p(t,r):((D=vn(t)).c(),D.m(v,null)),134348800&r[0]&&et(v,t[17]),t[4]?B?B.p(t,r):((B=wn(t)).c(),B.m(c,null)):B&&(B.d(1),B=null)},d(e){e&>(i),rt(P,e),rt(O,e),D&&D.d(),B&&B.d(),E=!1,ft(C)}}}function gn(e){let r,i,t=e[87]+"";return{c(){r=yt("option"),i=vt(t),r.__value=e[87],r.value=r.__value},m(e,t){pt(e,r,t),mt(r,i)},p:ht,d(e){e&>(r)}}}function yn(e){let r,i,t=e[84]+"";return{c(){r=yt("option"),i=vt(t),r.__value=e[84],r.value=r.__value},m(e,t){pt(e,r,t),mt(r,i)},p:ht,d(e){e&>(r)}}}function vn(t){let n,s=t[27],o=[];for(let e=0;e<s.length;e+=1)o[e]=bn(an(t,s,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();n=it()},m(t,r){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,r);pt(t,n,r)},p(t,r){if(134217728&r[0]){let e;for(s=t[27],e=0;e<s.length;e+=1){var i=an(t,s,e);o[e]?o[e].p(i,r):(o[e]=bn(i),o[e].c(),o[e].m(n.parentNode,n))}for(;e<o.length;e+=1)o[e].d(1);o.length=s.length}},d(e){rt(o,e),e&>(n)}}}function bn(e){let r,i,t=e[81]+"";return{c(){r=yt("option"),i=vt(t),r.__value=e[81],r.value=r.__value},m(e,t){pt(e,r,t),mt(r,i)},p:ht,d(e){e&>(r)}}}function wn(e){let r,i,n=e[24]("registerBirthDateError",{values:{licenseyears:e[0]}})+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){16777217&t[0]&&n!==(n=e[24]("registerBirthDateError",{values:{licenseyears:e[0]}})+"")&&Et(i,n)},d(e){e&>(r)}}}function _n(r){let i,n,s,o,a,l,c,u,d,h,f,m=r[24]("registerBirthPlace")+"",p=r[5]&&En(r);return{c(){i=yt("div"),n=yt("label"),s=vt(m),o=vt(":"),(a=yt("span")).textContent="*",l=bt(),c=yt("input"),u=bt(),p&&p.c(),_t(a,"class","FormRequired"),_t(n,"for","BirthPlace"),_t(c,"type","text"),_t(c,"id","BirthPlace"),_t(i,"class",d="BirthPlaceContainer "+(r[5]&&!r[9]?"InvalidField":""))},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(n,o),mt(n,a),mt(i,l),mt(i,c),Ct(c,r[18]),mt(i,u),p&&p.m(i,null),h||(f=[wt(c,"input",r[53]),wt(c,"keyup",r[32]),wt(c,"focus",r[54]),wt(c,"blur",r[55])],h=!0)},p(e,t){16777216&t[0]&&m!==(m=e[24]("registerBirthPlace")+"")&&Et(s,m),262144&t[0]&&c.value!==e[18]&&Ct(c,e[18]),e[5]?p?p.p(e,t):((p=En(e)).c(),p.m(i,null)):p&&(p.d(1),p=null),544&t[0]&&d!==(d="BirthPlaceContainer "+(e[5]&&!e[9]?"InvalidField":""))&&_t(i,"class",d)},d(e){e&>(i),p&&p.d(),h=!1,ft(f)}}}function En(e){let r,i,n=e[24]("registerBirthPlaceError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){16777216&t[0]&&n!==(n=e[24]("registerBirthPlaceError")+"")&&Et(i,n)},d(e){e&>(r)}}}function Cn(r){let i,n,s,o,a,l,c,u,d,h,f,m=r[24]("registerPersonalId")+"",p=r[6]&&Sn(r);return{c(){i=yt("div"),n=yt("label"),s=vt(m),o=vt(":"),(a=yt("span")).textContent="*",l=bt(),c=yt("input"),u=bt(),p&&p.c(),_t(a,"class","FormRequired"),_t(n,"for","PersonalId"),_t(c,"type","text"),_t(c,"id","PersonalId"),_t(i,"class",d="PersonalIdContainer "+(r[6]&&!r[10]?"InvalidField":""))},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(n,o),mt(n,a),mt(i,l),mt(i,c),Ct(c,r[21]),mt(i,u),p&&p.m(i,null),h||(f=[wt(c,"input",r[56]),wt(c,"keyup",r[33]),wt(c,"focus",r[57]),wt(c,"blur",r[58])],h=!0)},p(e,t){16777216&t[0]&&m!==(m=e[24]("registerPersonalId")+"")&&Et(s,m),2097152&t[0]&&c.value!==e[21]&&Ct(c,e[21]),e[6]?p?p.p(e,t):((p=Sn(e)).c(),p.m(i,null)):p&&(p.d(1),p=null),1088&t[0]&&d!==(d="PersonalIdContainer "+(e[6]&&!e[10]?"InvalidField":""))&&_t(i,"class",d)},d(e){e&>(i),p&&p.d(),h=!1,ft(f)}}}function Sn(e){let r,i;function n(e,t){return(r=null==(r=2097152&t[0]?null:r)?!/^\d+$/.test(e[21]):r)?Tn:13!==e[21].length?xn:void 0}let s=n(e,[-1,-1,-1]),o=s&&s(e);return{c(){o&&o.c(),i=it()},m(e,t){o&&o.m(e,t),pt(e,i,t)},p(e,t){s===(s=n(e,t))&&o?o.p(e,t):(o&&o.d(1),(o=s&&s(e))&&(o.c(),o.m(i.parentNode,i)))},d(e){o&&o.d(e),e&>(i)}}}function xn(e){let r,i,n=e[24]("registerPersonalIdLength")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){16777216&t[0]&&n!==(n=e[24]("registerPersonalIdLength")+"")&&Et(i,n)},d(e){e&>(r)}}}function Tn(e){let r,i,n=e[24]("registerPersonalIdCharacters")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){16777216&t[0]&&n!==(n=e[24]("registerPersonalIdCharacters")+"")&&Et(i,n)},d(e){e&>(r)}}}function kn(r){let i,n,s,o,a,l,c,e,u,d,h=r[24]("registerCurrency")+"",f=r[19],m=[];for(let e=0;e<f.length;e+=1)m[e]=Pn(on(r,f,e));return{c(){i=yt("div"),n=yt("label"),s=vt(h),o=vt(":"),(a=yt("span")).textContent="*",l=bt(),c=yt("select");for(let e=0;e<m.length;e+=1)m[e].c();_t(a,"class","FormRequired"),_t(n,"for","Currency"),_t(c,"id","Currency"),void 0===r[20]&&tt(()=>r[59].call(c)),_t(i,"class",e="CurrencyContainer "+(0<=r[11]?.indexOf("currency")?"Hidden":""))},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(n,o),mt(n,a),mt(i,l),mt(i,c);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(c,null);et(c,r[20],!0),u||(d=wt(c,"change",r[59]),u=!0)},p(t,r){if(16777216&r[0]&&h!==(h=t[24]("registerCurrency")+"")&&Et(s,h),524288&r[0]){let e;for(f=t[19],e=0;e<f.length;e+=1){const s=on(t,f,e);m[e]?m[e].p(s,r):(m[e]=Pn(s),m[e].c(),m[e].m(c,null))}for(;e<m.length;e+=1)m[e].d(1);m.length=f.length}1572864&r[0]&&et(c,t[20]),2048&r[0]&&e!==(e="CurrencyContainer "+(0<=t[11]?.indexOf("currency")?"Hidden":""))&&_t(i,"class",e)},d(e){e&>(i),rt(m,e),u=!1,d()}}}function Pn(e){let r,i,n,s=e[78]+"";return{c(){r=yt("option"),i=vt(s),r.__value=n=e[78],r.value=r.__value},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){524288&t[0]&&s!==(s=e[78]+"")&&Et(i,s),524288&t[0]&&n!==(n=e[78])&&(r.__value=n,r.value=r.__value)},d(e){e&>(r)}}}function Mn(r){let i,n,s,o,a,l,R,c,$,u,F,d,h,f,m,p,g,y,v,b,w,_,E,U,C=r[24]("registerBackButton")+"",S=!(0<=r[11]?.indexOf("title")),x=!(0<=r[11]?.indexOf("firstName")),T=!(0<=r[11]?.indexOf("lastName")),k=!(0<=r[11]?.indexOf("birthDate")),P=!(0<=r[11]?.indexOf("birthPlace")),M=!(0<=r[11]?.indexOf("personalId")),Y=!(0<=r[11]?.indexOf("currency")),O=r[24]("registerNext")+"",D=S&&un(r),B=x&&dn(r),A=T&&fn(r),N=k&&pn(r),I=P&&_n(r),L=M&&Cn(r),H=Y&&kn(r);return{c(){i=yt("div"),n=yt("div"),s=yt("button"),o=t("svg"),a=t("defs"),l=t("style"),R=vt(".a{fill:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));}"),c=t("path"),$=bt(),u=vt(C),F=bt(),d=yt("form"),D&&D.c(),h=bt(),B&&B.c(),f=bt(),A&&A.c(),m=bt(),N&&N.c(),p=bt(),I&&I.c(),g=bt(),L&&L.c(),y=bt(),H&&H.c(),v=bt(),b=yt("button"),w=vt(O),this.c=ht,_t(c,"class","a"),_t(c,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),_t(c,"transform","translate(24 24) rotate(180)"),_t(o,"xmlns","http://www.w3.org/2000/svg"),_t(o,"viewBox","0 0 24 24"),_t(s,"class","BackButton"),_t(n,"class","RegisterFormHeader"),_t(b,"class","RegisterStepNext"),b.disabled=_=!r[22],_t(d,"class","RegisterFormContent")},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(s,o),mt(o,a),mt(a,l),mt(l,R),mt(o,c),mt(s,$),mt(s,u),mt(i,F),mt(i,d),D&&D.m(d,null),mt(d,h),B&&B.m(d,null),mt(d,f),A&&A.m(d,null),mt(d,m),N&&N.m(d,null),mt(d,p),I&&I.m(d,null),mt(d,g),L&&L.m(d,null),mt(d,y),H&&H.m(d,null),mt(d,v),mt(d,b),mt(b,w),r[61](i),E||(U=[wt(s,"click",r[35]),wt(b,"click",r[60])],E=!0)},p(e,t){16777216&t[0]&&C!==(C=e[24]("registerBackButton")+"")&&Et(u,C),(S=2048&t[0]?!(0<=e[11]?.indexOf("title")):S)?D?D.p(e,t):((D=un(e)).c(),D.m(d,h)):D&&(D.d(1),D=null),(x=2048&t[0]?!(0<=e[11]?.indexOf("firstName")):x)?B?B.p(e,t):((B=dn(e)).c(),B.m(d,f)):B&&(B.d(1),B=null),(T=2048&t[0]?!(0<=e[11]?.indexOf("lastName")):T)?A?A.p(e,t):((A=fn(e)).c(),A.m(d,m)):A&&(A.d(1),A=null),(k=2048&t[0]?!(0<=e[11]?.indexOf("birthDate")):k)?N?N.p(e,t):((N=pn(e)).c(),N.m(d,p)):N&&(N.d(1),N=null),(P=2048&t[0]?!(0<=e[11]?.indexOf("birthPlace")):P)?I?I.p(e,t):((I=_n(e)).c(),I.m(d,g)):I&&(I.d(1),I=null),(M=2048&t[0]?!(0<=e[11]?.indexOf("personalId")):M)?L?L.p(e,t):((L=Cn(e)).c(),L.m(d,y)):L&&(L.d(1),L=null),(Y=2048&t[0]?!(0<=e[11]?.indexOf("currency")):Y)?H?H.p(e,t):((H=kn(e)).c(),H.m(d,v)):H&&(H.d(1),H=null),16777216&t[0]&&O!==(O=e[24]("registerNext")+"")&&Et(w,O),4194304&t[0]&&_!==(_=!e[22])&&(b.disabled=_)},i:ht,o:ht,d(e){e&>(i),D&&D.d(),B&&B.d(),A&&A.d(),N&&N.d(),I&&I.d(),L&&L.d(),H&&H.d(),r[61](null),E=!1,ft(U)}}}function On(t,e,r){let i;le(t,Oi,e=>r(24,i=e));let n,s,o,a,L,H,R,l,{endpoint:c=""}=e,{lang:u=""}=e,{licenseyears:d=""}=e,{disabledfields:h=""}=e,{defaultoptions:$=""}=e,{clientstyling:f=""}=e,{clientstylingurl:m=""}=e,{translationurl:p=""}=e,g=!1,y=!1,v=!1,b=!1,w=!1,_=!1,E=!1,C=!1,S=!1,x="",T="",k="",F=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31],U=[1,2,3,4,5,6,7,8,9,10,11,12],P=[],M="",O=[],D="",B="",A=new Date,N=!1,Y=!0;Object.keys(sn).forEach(e=>{nn(e,sn[e])});const I=()=>{r(22,N=!(g||y||v||b||w)),!(T.length<=0||k.length<=0||M.length<=0||B.length<=0)&&x&&s&&o&&a||r(22,N=!1)},j=e=>!!(e&&2<=e.length&&e.length<=50),G=e=>{e.preventDefault();e={userTitleSelected:x,userFirstName:T,userLastName:k,birthDaySelected:s,birthMonthSelected:o,birthYearSelected:a,birthPlace:M,personalId:B,currencySelected:D};window.postMessage({type:"RegisterStepTwo",registerStepTwoData:e},window.location.href)},z=e=>{e.data&&"StepTwoDataBackup"===e.data.type&&(r(12,x=e.data.userData.title),r(13,T=e.data.userData.firstname),r(14,k=e.data.userData.lastname),r(15,s=e.data.userData.birth.day),r(16,o=e.data.userData.birth.month),r(17,a=e.data.userData.birth.year),r(18,M=e.data.userData.birthPlace),r(20,D=e.data.userData.currency),r(21,B=e.data.userData.personalId),I())};return ce(()=>(window.addEventListener("message",z,!1),()=>{window.removeEventListener("message",z)})),t.$$set=e=>{"endpoint"in e&&r(36,c=e.endpoint),"lang"in e&&r(37,u=e.lang),"licenseyears"in e&&r(0,d=e.licenseyears),"disabledfields"in e&&r(38,h=e.disabledfields),"defaultoptions"in e&&r(39,$=e.defaultoptions),"clientstyling"in e&&r(40,f=e.clientstyling),"clientstylingurl"in e&&r(41,m=e.clientstylingurl),"translationurl"in e&&r(42,p=e.translationurl)},t.$$.update=()=>{if(32&t.$$.dirty[1]&&c&&fetch(c+"/v1/player/operatorSupportedCurrencies").then(e=>e.json()).then(e=>{r(19,O=e.currencies),D||r(20,D=O[0])}),64&t.$$.dirty[1]&&u&&(e=u,ae.set(e)),1&t.$$.dirty[0]&&d){H=parseInt(rn(A.setDate(A.getDate())).subtract(parseInt(d,10),"y").format("YYYY")),L=parseInt(rn(A.setDate(A.getDate())).subtract(100+parseInt(d,10),"y").format("YYYY"));for(let e=H;e>=L;e--)P.push(e);r(23,Y=!1)}if(128&t.$$.dirty[1]&&h&&(r(11,n=h.split(",")),0<=n.indexOf("firstName")&&(r(13,T="dummy first name"),r(2,g=!1)),0<=n.indexOf("lastName")&&(r(14,k="dummy last name"),r(3,y=!1)),0<=n.indexOf("birthPlace")&&(r(18,M="dummy birth place"),r(5,b=!1)),0<=n.indexOf("personalId")&&(r(21,B="dummy personal id"),r(6,w=!1)),0<=n.indexOf("birthDate")&&r(4,v=!1),0<=n.indexOf("title")&&r(12,x="Mr."),0<=n.indexOf("currency"))&&r(20,D="CDF"),2&t.$$.dirty[0]|512&t.$$.dirty[1]&&f&&l&&((e=document.createElement("style")).innerHTML=f,l.appendChild(e)),2&t.$$.dirty[0]|1024&t.$$.dirty[1]&&m&&l){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1),setTimeout(()=>{},500)})}var e;2048&t.$$.dirty[1]&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{nn(e,t[e])})}).catch(e=>{console.log(e)})},[d,l,g,y,v,b,w,_,E,C,S,n,x,T,k,s,o,a,M,O,D,B,N,Y,i,F,U,P,()=>{a&&o&&s&&(R=rn(A.setDate(A.getDate())).diff(rn(`${a}-${o}-`+s,"YYYY-MM-DD"),"years").toString(),r(4,v=R<d)),I()},I,()=>{r(2,g=!j(T)),I()},()=>{r(3,y=!j(k)),I()},()=>{r(5,b=!(M&&M.length<=120)),I()},()=>{r(6,w=!(B&&13===B.length&&/^\d+$/.test(B))),I()},G,()=>{var e={userTitleSelected:x,userFirstName:T,userLastName:k,birthDaySelected:s,birthMonthSelected:o,birthYearSelected:a,birthPlace:M,personalId:B,currencySelected:D};window.postMessage({type:"GoBackStepTwo",registerStepTwoData:e},window.location.href)},c,u,h,$,f,m,p,function(){x=K(this),r(12,x)},function(){T=this.value,r(13,T)},()=>r(7,_=!0),()=>r(7,_=!1),function(){k=this.value,r(14,k)},()=>r(8,E=!0),()=>r(8,E=!1),function(){s=K(this),r(15,s),r(25,F)},function(){o=K(this),r(16,o),r(26,U)},function(){a=K(this),r(17,a),r(27,P)},function(){M=this.value,r(18,M)},()=>r(9,C=!0),()=>r(9,C=!1),function(){B=this.value,r(21,B)},()=>r(10,S=!0),()=>r(10,S=!1),function(){D=K(this),r(20,D),r(19,O)},e=>G(e),function(e){oe[e?"unshift":"push"](()=>{l=e,r(1,l)})}]}function Dn(e,t){ei(e,t)}customElements.get("general-player-register-form-step2")||customElements.define("general-player-register-form-step2",class extends F{constructor(e){super();var t=document.createElement("style");t.textContent=".BackButton{display:inline-flex;color:var(--emfe-w-registration-typography, var(--emfe-w-color-contrast, #07072A));height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer;margin-bottom:30px}.BackButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.UserTitleContainer label,.CurrencyContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserTitleContainer select,.CurrencyContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.UserTitleContainer select:focus,.UserTitleContainer select :focus-within,.UserTitleContainer select :focus-visible,.UserTitleContainer select :visited,.CurrencyContainer select:focus,.CurrencyContainer select :focus-within,.CurrencyContainer select :focus-visible,.CurrencyContainer select :visited{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.UserTitleContainer,.FirstNameContainer,.LastNameContainer,.BirthDateContainer,.BirthPlaceContainer,.PersonalIdContainer,.CurrencyContainer{color:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.UserTitleContainer label,.FirstNameContainer label,.LastNameContainer label,.BirthDateContainer label,.BirthPlaceContainer label,.PersonalIdContainer label,.CurrencyContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserTitleContainer select,.FirstNameContainer input,.LastNameContainer input,.BirthDateContainer select,.BirthPlaceContainer input,.PersonalIdContainer input,.CurrencyContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.FirstNameContainer.InvalidField input,.LastNameContainer.InvalidField input,.BirthPlaceContainer.InvalidField input,.PersonalIdContainer.InvalidField input{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));background:var(--emfe-w-color-pale, #FBECF4);color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.CurrencyContainer.Hidden{display:none}.BirthDateOptions{display:flex;gap:10px}.BirthDateOptions .BirthDaySelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.BirthDateOptions .BirthDaySelected:focus,.BirthDateOptions .BirthDaySelected :focus-within,.BirthDateOptions .BirthDaySelected :focus-visible,.BirthDateOptions .BirthDaySelected :visited{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.BirthDateOptions .BirthMonthSelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.BirthDateOptions .BirthMonthSelected:focus,.BirthDateOptions .BirthMonthSelected :focus-within,.BirthDateOptions .BirthMonthSelected :focus-visible,.BirthDateOptions .BirthMonthSelected :visited{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.BirthDateOptions .BirthYearSelected{width:40%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.BirthDateOptions .BirthYearSelected:focus,.BirthDateOptions .BirthYearSelected :focus-within,.BirthDateOptions .BirthYearSelected :focus-visible,.BirthDateOptions .BirthYearSelected :visited{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.FormRequired{color:var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839))}.InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));font-size:10px;position:absolute;bottom:-3px;line-height:10px}.RegisterStepNext{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);cursor:not-allowed}",this.shadowRoot.appendChild(t),$(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},On,Mn,C,{endpoint:36,lang:37,licenseyears:0,disabledfields:38,defaultoptions:39,clientstyling:40,clientstylingurl:41,translationurl:42},null,[-1,-1,-1]),e&&(e.target&&pt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","lang","licenseyears","disabledfields","defaultoptions","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[36]}set endpoint(e){this.$$set({endpoint:e}),h()}get lang(){return this.$$.ctx[37]}set lang(e){this.$$set({lang:e}),h()}get licenseyears(){return this.$$.ctx[0]}set licenseyears(e){this.$$set({licenseyears:e}),h()}get disabledfields(){return this.$$.ctx[38]}set disabledfields(e){this.$$set({disabledfields:e}),h()}get defaultoptions(){return this.$$.ctx[39]}set defaultoptions(e){this.$$set({defaultoptions:e}),h()}get clientstyling(){return this.$$.ctx[40]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[41]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[42]}set translationurl(e){this.$$set({translationurl:e}),h()}});const Bn={en:{registerBackButton:"Back",registerAddress:"Address",registerAddressError:"Address must be at least 1 character long and 100 characters maximum.",registerPostalCode:"Postal Code",registerPostalCodeError:"Postal Code must be at least 1 character long and 20 characters maximum.",registerCity:"City",registerCityError:"City must be at least 1 character long and 50 characters maximum.",registerCountry:"Country",registerNationality:"Nationality",registerMobile:"Mobile",registerMobileError:"Mobile must be at least 5 character long and 12 characters maximum.",registerUserConsents:"I want to receive exclusive offers and bonuses. I am aware that I can unsubscribe whenever I want to.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"I am at least 18 years old and I have read and accepted the Terms and Conditions.",registerTermsConditionsError:"Please accept the Terms and Conditions before proceeding.",registerOpenAccount:"Open Account"},"zh-hk":{registerBackButton:"後退",registerAddress:"地址",registerAddressError:"地址必須至少 1 個字符長,最多 100 個字符。",registerPostalCode:"郵政編碼",registerPostalCodeError:"郵政編碼必須至少 1 個字符長,最多 20 個字符。",registerCity:"城市",registerCityError:"城市必須至少 1 個字符長,最多 50 個字符。",registerCountry:"國家",registerNationality:"國籍",registerMobile:"移動的",registerMobileError:"移動設備的長度必須至少為 5 個字符,最多 12 個字符。",registerUserConsents:"我想收到獨家優惠和獎金。 我知道我可以隨時取消訂閱。",registerUserConsentsSMS:"短信",registerUserConsentsEmail:"電子郵件",registerTermsConditions:"我至少 18 歲,並且我已閱讀並接受條件條款。",registerTermsConditionsError:"請在繼續之前接受條款和條件。",registerOpenAccount:"開戶口"},fr:{registerBackButton:"Retour",registerAddress:"Adresse",registerAddressError:"L'adresse doit comporter au moins un caractère et 100 caractères au maximum.",registerPostalCode:"Code postal",registerPostalCodeError:"Le code postal doit comporter au moins un caractère et 20 caractères au maximum.",registerCity:"Ville",registerCityError:"La ville doit comporter au moins un caractère et 50 caractères au maximum.",registerCountry:"Pays",registerNationality:"Nationalité",registerMobile:"Téléphone",registerMobileError:"Le téléphone doit comporter au moins 5 caractère et 12 caractères au maximum.",registerUserConsents:"Je veux recevoir des offres exclusives et des bonus , je sais que je peux me désinscrire quand je le veux.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"J'ai au moins 18 ans et j'ai lu et accepté les conditions d'utilisation.",registerTermsConditionsError:"Veuillez accepter les termes et conditions avant de poursuivre.",registerOpenAccount:"Ouvrir un compte"},tr:{registerBackButton:"Geri",registerAddress:"Adres",registerAddressError:"Adres en az 1 karakter uzunluğunda ve en fazla 100 karakter olmalıdır.",registerPostalCode:"Posta kodu",registerPostalCodeError:"Posta Kodu en az 1 karakter uzunluğunda ve en fazla 20 karakter olmalıdır.",registerCity:"Şehir",registerCityError:"Şehir en az 1 karakter uzunluğunda ve en fazla 50 karakter olmalıdır.",registerCountry:"Ülke",registerNationality:"Milliyet",registerMobile:"Mobil",registerMobileError:"Mobil en az 5 karakter uzunluğunda ve en fazla 12 karakter olmalıdır.",registerUserConsents:"Özel teklifler ve bonuslar almak istiyorum. İstediğim zaman abonelikten çıkabileceğimin farkındayım.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"E-posta",registerTermsConditions:"En az 18 yaşındayım ve Koşullar'ı okudum ve kabul ediyorum.",registerTermsConditionsError:"Lütfen devam etmeden önce Şartlar ve Koşulları kabul edin.",registerOpenAccount:"Hesap Aç"},ro:{registerBackButton:"Inapoi",registerAddress:"Adresa",registerAddressError:"Adresa trebuie sa fie cuprinsa in 1 si 100 de litere.",registerPostalCode:"Cod Postal",registerPostalCodeError:"Codul postal trebuie sa fie cuprins intre 1 si 20 de caractere.",registerCity:"Oras",registerCityError:"Orasul trebuie sa fie cuprins intre 1 si 50 de litere.",registerCountry:"Tara",registerNationality:"Nationalitatea",registerMobile:"Telefon",registerMobileError:"Telefonul trebuie sa fie cuprins intre 5 si 12 de cifre.",registerUserConsents:"Vreau sa primesc oferte si bonusuri exclusive. Sunt constient ca pot sa dau unsubscribe oricand.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"Am minim 18 ani si am citit si acceptat Termenii si Conditiile",registerTermsConditionsError:"Te rog accepta Termenii si Conditiile",registerOpenAccount:"Inregistrare"},es:{registerBackButton:"Anterior",registerAddress:"Dirección",registerAddressError:"La dirección debe tener al menos 1 carácter y un máximo de 100 caracteres.",registerPostalCode:"Código Postal",registerPostalCodeError:"El código postal debe tener al menos 1 carácter y un máximo de 20 caracteres.",registerCity:"Ciudad",registerCityError:"La ciudad debe tener al menos 1 carácter y un máximo de 50 caracteres.",registerCountry:"País",registerNationality:"Nacionalidad",registerMobile:"Celular",registerMobileError:"Número celular debe tener al menos 5 caracteres y un máximo de 12 caracteres",registerUserConsents:"Quiero recibir ofertas Exclusivas y Bonos. Soy consciente que puedo desuscribirme en cualquier momento.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"Email",registerTermsConditions:"Tengo al menos 18 años de edad, y he leido y aceptado los Términos y Condiciones.",registerTermsConditionsError:"Por favor acepta los Términos y Condiciones antes de avanzar.",registerOpenAccount:"Abrir cuenta"},pt:{registerBackButton:"Voltar",registerAddress:"Endereço",registerAddressError:"O endereço deve ter pelo menos 1 caractere e no máximo 100 caracteres.",registerPostalCode:"CEP",registerPostalCodeError:"O CEP deve ter pelo menos 1 caractere e no máximo 20 caracteres.",registerCity:"Cidade",registerCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres.",registerCountry:"País",registerNationality:"Nacionalidade",registerMobile:"Celular",registerMobileError:"O celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres.",registerUserConsents:"Quero receber ofertas e bônus exclusivos. Estou ciente de que posso cancelar a inscrição quando quiser.",registerUserConsentsSMS:"SMS",registerUserConsentsEmail:"E-mail",registerTermsConditions:"Tenho pelo menos 18 anos e li e aceito os Termos de Condições.",registerTermsConditionsError:"Por favor, aceite os Termos e Condições antes de prosseguir.",registerOpenAccount:"Abrir conta"},hr:{registerBackButton:"Prethodno",registerAddress:"Adresa",registerAddressError:"Adresa mora imati najmanje 1 znak i najviše 100 znakova.",registerPostalCode:"Poštanski broj",registerPostalCodeError:"Poštanski broj mora imati najmanje 1 znak i najviše 20 znakova.",registerCity:"Grad",registerCityError:"Grad mora imati najmanje 1 znak i najviše 50 znakova.",registerCountry:"Zemlja",registerNationality:"Nacionalnost",registerMobile:"Broj mobitela",registerMobileError:"Broj mobitela mora imati najmanje 5 znakova i najviše 12 znakova.",registerUserConsents:"Želim primati ekskluzivne ponude i bonuse. Svjestan sam da se mogu odjaviti kad god to želim.",registerUserConsentsSMS:"SMS","registerUserConsentsE-mail":"E-mail",registerTermsConditions:"Imam najmanje 18 godina i pročitao sam i prihvatio Uvjete.",registerTermsConditionsError:"Prije nastavka prihvatite Uvjete i odredbe.",registerOpenAccount:"registerOpenAccount"}},An=k["document"];function Nn(e,t,r){e=e.slice();return e[88]=t[r],e}function In(e,t,r){e=e.slice();return e[91]=t[r],e}function Ln(e,t,r){e=e.slice();return e[94]=t[r],e}function Hn(e){let r,i;return{c(){x((r=yt("script")).src,i="//www.google.com/recaptcha/api.js?render="+e[4])||_t(r,"src",i),r.async=!0,r.defer=!0},m(e,t){pt(e,r,t)},p(e,t){16&t[0]&&!x(r.src,i="//www.google.com/recaptcha/api.js?render="+e[4])&&_t(r,"src",i)},d(e){e&>(r)}}}function Rn(e){let r,i,n=e[32]("registerAddressError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){2&t[1]&&n!==(n=e[32]("registerAddressError")+"")&&Et(i,n)},d(e){e&>(r)}}}function $n(e){let r,i,n=e[32]("registerPostalCodeError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){2&t[1]&&n!==(n=e[32]("registerPostalCodeError")+"")&&Et(i,n)},d(e){e&>(r)}}}function Fn(e){let r,i,n=e[32]("registerCityError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){2&t[1]&&n!==(n=e[32]("registerCityError")+"")&&Et(i,n)},d(e){e&>(r)}}}function Un(e){let r,i,n,s=e[94].Name+"";return{c(){r=yt("option"),i=vt(s),r.__value=n=e[94].Alpha2Code,r.value=r.__value},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){1048576&t[0]&&s!==(s=e[94].Name+"")&&Et(i,s),1048576&t[0]&&n!==(n=e[94].Alpha2Code)&&(r.__value=n,r.value=r.__value)},d(e){e&>(r)}}}function Yn(e){let r,i,n,s=e[91].Name+"";return{c(){r=yt("option"),i=vt(s),r.__value=n=e[91].Alpha2Code,r.value=r.__value},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){4194304&t[0]&&s!==(s=e[91].Name+"")&&Et(i,s),4194304&t[0]&&n!==(n=e[91].Alpha2Code)&&(r.__value=n,r.value=r.__value)},d(e){e&>(r)}}}function jn(e){let r,i,n,s=e[88].Prefix+"";return{c(){r=yt("option"),i=vt(s),r.__value=n=e[88].Prefix,r.value=r.__value},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){33554432&t[0]&&s!==(s=e[88].Prefix+"")&&Et(i,s),33554432&t[0]&&n!==(n=e[88].Prefix)&&(r.__value=n,r.value=r.__value)},d(e){e&>(r)}}}function Gn(e){let r,i,n=e[32]("registerMobileError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){2&t[1]&&n!==(n=e[32]("registerMobileError")+"")&&Et(i,n)},d(e){e&>(r)}}}function zn(e){let r,i,n=("true"===e[2]||"true"===e[3])&&Vn(e),s="true"===e[1]&&qn(e);return{c(){n&&n.c(),r=bt(),s&&s.c(),i=it()},m(e,t){n&&n.m(e,t),pt(e,r,t),s&&s.m(e,t),pt(e,i,t)},p(e,t){"true"===e[2]||"true"===e[3]?n?n.p(e,t):((n=Vn(e)).c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null),"true"===e[1]?s?s.p(e,t):((s=qn(e)).c(),s.m(i.parentNode,i)):s&&(s.d(1),s=null)},d(e){n&&n.d(e),e&>(r),s&&s.d(e),e&>(i)}}}function Vn(r){let i,n,s,o,a,l,c,u,d,h,f,m,p=r[32]("registerUserConsents")+"",g="true"===r[2]&&Wn(r),y="true"===r[3]&&Zn(r);return{c(){i=yt("div"),n=yt("label"),s=vt(p),o=bt(),a=yt("input"),l=bt(),c=yt("span"),u=bt(),d=yt("div"),g&&g.c(),h=bt(),y&&y.c(),_t(a,"type","Checkbox"),a.checked=r[27],_t(c,"class","Checkmark"),_t(n,"class","Offers"),_t(d,"class","OffersMethodsWrapper"),_t(i,"class","OffersContainer")},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(n,o),mt(n,a),mt(n,l),mt(n,c),mt(i,u),mt(i,d),g&&g.m(d,null),mt(d,h),y&&y.m(d,null),f||(m=wt(a,"click",r[63]),f=!0)},p(e,t){2&t[1]&&p!==(p=e[32]("registerUserConsents")+"")&&Et(s,p),134217728&t[0]&&(a.checked=e[27]),"true"===e[2]?g?g.p(e,t):((g=Wn(e)).c(),g.m(d,h)):g&&(g.d(1),g=null),"true"===e[3]?y?y.p(e,t):((y=Zn(e)).c(),y.m(d,null)):y&&(y.d(1),y=null)},d(e){e&>(i),g&&g.d(),y&&y.d(),f=!1,m()}}}function Wn(r){let i,n,s,o,a,l,c,u,d=r[32]("registerUserConsentsSMS")+"";return{c(){i=yt("label"),n=vt(d),s=bt(),o=yt("input"),a=bt(),l=yt("span"),_t(o,"type","Checkbox"),o.checked=r[28],_t(l,"class","Checkmark"),_t(i,"class","OffersMethod")},m(e,t){pt(e,i,t),mt(i,n),mt(i,s),mt(i,o),mt(i,a),mt(i,l),c||(u=wt(o,"click",r[64]),c=!0)},p(e,t){2&t[1]&&d!==(d=e[32]("registerUserConsentsSMS")+"")&&Et(n,d),268435456&t[0]&&(o.checked=e[28])},d(e){e&>(i),c=!1,u()}}}function Zn(r){let i,n,s,o,a,l,c,u,d=r[32]("registerUserConsentsEmail")+"";return{c(){i=yt("label"),n=vt(d),s=bt(),o=yt("input"),a=bt(),l=yt("span"),_t(o,"type","Checkbox"),o.checked=r[29],_t(l,"class","Checkmark"),_t(i,"class","OffersMethod")},m(e,t){pt(e,i,t),mt(i,n),mt(i,s),mt(i,o),mt(i,a),mt(i,l),c||(u=wt(o,"click",r[65]),c=!0)},p(e,t){2&t[1]&&d!==(d=e[32]("registerUserConsentsEmail")+"")&&Et(n,d),536870912&t[0]&&(o.checked=e[29])},d(e){e&>(i),c=!1,u()}}}function qn(r){let i,n,s,o,a,l,c,u,d,h,f,m=r[32]("registerTermsConditions")+"",p=!r[30]&&Qn(r);return{c(){i=yt("div"),n=yt("label"),s=vt(m),o=bt(),a=yt("input"),l=bt(),c=yt("span"),u=bt(),p&&p.c(),d=it(),_t(a,"type","Checkbox"),a.checked=r[30],_t(c,"class","Checkmark"),_t(n,"class","AgeConsent"),_t(i,"class","AgeContainer")},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(n,o),mt(n,a),mt(n,l),mt(n,c),pt(e,u,t),p&&p.m(e,t),pt(e,d,t),h||(f=wt(a,"click",r[66]),h=!0)},p(e,t){2&t[1]&&m!==(m=e[32]("registerTermsConditions")+"")&&Et(s,m),1073741824&t[0]&&(a.checked=e[30]),e[30]?p&&(p.d(1),p=null):p?p.p(e,t):((p=Qn(e)).c(),p.m(d.parentNode,d))},d(e){e&>(i),e&>(u),p&&p.d(e),e&>(d),h=!1,f()}}}function Qn(e){let r,i,n,s=e[32]("registerTermsConditionsError")+"";return{c(){r=yt("div"),i=yt("p"),n=vt(s),_t(r,"class","NotificationContainer")},m(e,t){pt(e,r,t),mt(r,i),mt(i,n)},p(e,t){2&t[1]&&s!==(s=e[32]("registerTermsConditionsError")+"")&&Et(n,s)},d(e){e&>(r)}}}function Xn(e){let r,i,n;return{c(){r=yt("div"),i=yt("p"),n=vt(e[16]),_t(i,"class","RegisterError")},m(e,t){pt(e,r,t),mt(r,i),mt(i,n)},p(e,t){65536&t[0]&&Et(n,e[16])},d(e){e&>(r)}}}function Kn(r){let R,$,o,F,a,U,i,n,Y,j,G,z,V,W,Z,l,s,c,u,q,Q,X,K,d,J,e,ee,h,f,te,re,ie,ne,m,se,oe,ae,p,g,le,ce,ue,de,y,he,fe,me,v,b,pe,ge,ye,ve,w,be,we,_,E,_e,Ee,Ce,Se,C,xe,Te,S,ke,Pe,Me,Oe,De,Be,x,Ae,T,Ne,Ie,Le,He,k,Re,$e,Fe,Ue,Ye,je=r[32]("registerBackButton")+"",Ge=r[32]("registerAddress")+"",ze=r[32]("registerPostalCode")+"",Ve=r[32]("registerCity")+"",We=r[32]("registerCountry")+"",Ze=r[32]("registerNationality")+"",qe=r[32]("registerMobile")+"",Qe=r[32]("registerOpenAccount")+"",P=r[4]&&Hn(r),M=r[6]&&Rn(r),O=r[7]&&$n(r),D=r[9]&&Fn(r),Xe=r[20],B=[];for(let e=0;e<Xe.length;e+=1)B[e]=Un(Ln(r,Xe,e));let Ke=r[22],A=[];for(let e=0;e<Ke.length;e+=1)A[e]=Yn(In(r,Ke,e));let Je=r[25],N=[];for(let e=0;e<Je.length;e+=1)N[e]=jn(Nn(r,Je,e));let I=r[8]&&Gn(r),L="true"===r[0]&&zn(r),H=r[15]&&Xn(r);return{c(){P&&P.c(),R=it(),$=bt(),o=yt("div"),F=bt(),a=yt("div"),U=yt("div"),i=yt("button"),n=t("svg"),Y=t("defs"),j=t("style"),G=vt(".a{fill:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));}"),z=t("path"),V=bt(),W=vt(je),Z=bt(),l=yt("form"),s=yt("div"),c=yt("div"),u=yt("label"),q=vt(Ge),Q=vt(":"),(X=yt("span")).textContent="*",K=bt(),d=yt("input"),J=bt(),M&&M.c(),ee=bt(),h=yt("div"),f=yt("label"),te=vt(ze),re=vt(":"),(ie=yt("span")).textContent="*",ne=bt(),m=yt("input"),se=bt(),O&&O.c(),ae=bt(),p=yt("div"),g=yt("label"),le=vt(Ve),ce=vt(":"),(ue=yt("span")).textContent="*",de=bt(),y=yt("input"),he=bt(),D&&D.c(),me=bt(),v=yt("div"),b=yt("label"),pe=vt(We),ge=vt(":"),(ye=yt("span")).textContent="*",ve=bt(),w=yt("select");for(let e=0;e<B.length;e+=1)B[e].c();we=bt(),_=yt("div"),E=yt("label"),_e=vt(Ze),Ee=vt(":"),(Ce=yt("span")).textContent="*",Se=bt(),C=yt("select");for(let e=0;e<A.length;e+=1)A[e].c();Te=bt(),S=yt("div"),ke=yt("label"),Pe=vt(qe),Me=vt(":"),(Oe=yt("span")).textContent="*",De=bt(),Be=yt("div"),x=yt("select");for(let e=0;e<N.length;e+=1)N[e].c();Ae=bt(),T=yt("input"),Ne=bt(),I&&I.c(),Le=bt(),L&&L.c(),He=bt(),k=yt("button"),Re=vt(Qe),Fe=bt(),H&&H.c(),this.c=ht,_t(o,"class","g-recaptcha"),_t(o,"data-sitekey",r[4]),_t(z,"class","a"),_t(z,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),_t(z,"transform","translate(24 24) rotate(180)"),_t(n,"xmlns","http://www.w3.org/2000/svg"),_t(n,"viewBox","0 0 24 24"),_t(i,"class","BackButton"),_t(U,"class","RegisterFormHeader"),_t(X,"class","FormRequired"),_t(u,"for","Address"),_t(d,"type","text"),_t(d,"id","Address"),_t(c,"class",e="AddressContainer "+(r[6]&&!r[10]?"InvalidField":"")+(0<=r[14]?.indexOf("address")?"Hidden":"")),_t(ie,"class","FormRequired"),_t(f,"for","PostalCode"),_t(m,"type","text"),_t(m,"id","PostalCode"),_t(h,"class",oe="PostalCodeContainer "+(r[7]&&!r[11]?"InvalidField":"")+(0<=r[14]?.indexOf("postalCode")?"Hidden":"")),_t(s,"class","AddressPostalCodeContainer"),_t(ue,"class","FormRequired"),_t(g,"for","City"),_t(y,"type","text"),_t(y,"id","City"),_t(p,"class",fe="CityContainer "+(r[9]&&r[13]?"InvalidField":"")+(0<=r[14]?.indexOf("city")?"Hidden":"")),_t(ye,"class","FormRequired"),_t(b,"for","Country"),_t(w,"id","Country"),void 0===r[21]&&tt(()=>r[57].call(w)),_t(v,"class",be="CountryContainer "+(0<=r[14]?.indexOf("country")?"Hidden":"")),_t(Ce,"class","FormRequired"),_t(E,"for","Nationality"),_t(C,"id","Nationality"),void 0===r[23]&&tt(()=>r[58].call(C)),_t(_,"class",xe="NationalityContainer "+(0<=r[14]?.indexOf("nationality")?"Hidden":"")),_t(Oe,"class","FormRequired"),_t(ke,"for","Mobile"),_t(x,"class","MobilePrefixSelected"),void 0===r[26]&&tt(()=>r[59].call(x)),_t(T,"type","text"),_t(T,"oninput","this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"),_t(T,"id","Mobile"),_t(T,"class","MobileInput"),_t(Be,"class","MobileWrapper"),_t(S,"class",Ie="MobileContainer "+(r[8]&&!r[12]?"InvalidField":"")+(0<=r[14]?.indexOf("mobile")?"Hidden":"")),_t(k,"class","RegisterStepNext"),k.disabled=$e=!r[31],_t(l,"class","RegisterFormContent")},m(e,t){P&&P.m(An.head,null),mt(An.head,R),pt(e,$,t),pt(e,o,t),pt(e,F,t),pt(e,a,t),mt(a,U),mt(U,i),mt(i,n),mt(n,Y),mt(Y,j),mt(j,G),mt(n,z),mt(i,V),mt(i,W),mt(a,Z),mt(a,l),mt(l,s),mt(s,c),mt(c,u),mt(u,q),mt(u,Q),mt(u,X),mt(c,K),mt(c,d),Ct(d,r[17]),mt(c,J),M&&M.m(c,null),mt(s,ee),mt(s,h),mt(h,f),mt(f,te),mt(f,re),mt(f,ie),mt(h,ne),mt(h,m),Ct(m,r[18]),mt(h,se),O&&O.m(h,null),mt(l,ae),mt(l,p),mt(p,g),mt(g,le),mt(g,ce),mt(g,ue),mt(p,de),mt(p,y),Ct(y,r[19]),mt(p,he),D&&D.m(p,null),mt(l,me),mt(l,v),mt(v,b),mt(b,pe),mt(b,ge),mt(b,ye),mt(v,ve),mt(v,w);for(let e=0;e<B.length;e+=1)B[e]&&B[e].m(w,null);et(w,r[21],!0),mt(l,we),mt(l,_),mt(_,E),mt(E,_e),mt(E,Ee),mt(E,Ce),mt(_,Se),mt(_,C);for(let e=0;e<A.length;e+=1)A[e]&&A[e].m(C,null);et(C,r[23],!0),mt(l,Te),mt(l,S),mt(S,ke),mt(ke,Pe),mt(ke,Me),mt(ke,Oe),mt(S,De),mt(S,Be),mt(Be,x);for(let e=0;e<N.length;e+=1)N[e]&&N[e].m(x,null);et(x,r[26],!0),mt(Be,Ae),mt(Be,T),Ct(T,r[24]),mt(S,Ne),I&&I.m(S,null),mt(l,Le),L&&L.m(l,null),mt(l,He),mt(l,k),mt(k,Re),mt(a,Fe),H&&H.m(a,null),r[68](a),Ue||(Ye=[wt(i,"click",r[40]),wt(d,"input",r[48]),wt(d,"keyup",r[33]),wt(d,"focus",r[49]),wt(d,"blur",r[50]),wt(m,"input",r[51]),wt(m,"keyup",r[34]),wt(m,"focus",r[52]),wt(m,"blur",r[53]),wt(y,"input",r[54]),wt(y,"keyup",r[35]),wt(y,"focus",r[55]),wt(y,"blur",r[56]),wt(w,"change",r[57]),wt(C,"change",r[58]),wt(x,"change",r[59]),wt(T,"input",r[60]),wt(T,"keyup",r[36]),wt(T,"focus",r[61]),wt(T,"blur",r[62]),wt(k,"click",r[67])],Ue=!0)},p(t,r){if(t[4]?P?P.p(t,r):((P=Hn(t)).c(),P.m(R.parentNode,R)):P&&(P.d(1),P=null),16&r[0]&&_t(o,"data-sitekey",t[4]),2&r[1]&&je!==(je=t[32]("registerBackButton")+"")&&Et(W,je),2&r[1]&&Ge!==(Ge=t[32]("registerAddress")+"")&&Et(q,Ge),131072&r[0]&&d.value!==t[17]&&Ct(d,t[17]),t[6]?M?M.p(t,r):((M=Rn(t)).c(),M.m(c,null)):M&&(M.d(1),M=null),17472&r[0]&&e!==(e="AddressContainer "+(t[6]&&!t[10]?"InvalidField":"")+(0<=t[14]?.indexOf("address")?"Hidden":""))&&_t(c,"class",e),2&r[1]&&ze!==(ze=t[32]("registerPostalCode")+"")&&Et(te,ze),262144&r[0]&&m.value!==t[18]&&Ct(m,t[18]),t[7]?O?O.p(t,r):((O=$n(t)).c(),O.m(h,null)):O&&(O.d(1),O=null),18560&r[0]&&oe!==(oe="PostalCodeContainer "+(t[7]&&!t[11]?"InvalidField":"")+(0<=t[14]?.indexOf("postalCode")?"Hidden":""))&&_t(h,"class",oe),2&r[1]&&Ve!==(Ve=t[32]("registerCity")+"")&&Et(le,Ve),524288&r[0]&&y.value!==t[19]&&Ct(y,t[19]),t[9]?D?D.p(t,r):((D=Fn(t)).c(),D.m(p,null)):D&&(D.d(1),D=null),25088&r[0]&&fe!==(fe="CityContainer "+(t[9]&&t[13]?"InvalidField":"")+(0<=t[14]?.indexOf("city")?"Hidden":""))&&_t(p,"class",fe),2&r[1]&&We!==(We=t[32]("registerCountry")+"")&&Et(pe,We),1048576&r[0]){let e;for(Xe=t[20],e=0;e<Xe.length;e+=1){var i=Ln(t,Xe,e);B[e]?B[e].p(i,r):(B[e]=Un(i),B[e].c(),B[e].m(w,null))}for(;e<B.length;e+=1)B[e].d(1);B.length=Xe.length}if(3145728&r[0]&&et(w,t[21]),16384&r[0]&&be!==(be="CountryContainer "+(0<=t[14]?.indexOf("country")?"Hidden":""))&&_t(v,"class",be),2&r[1]&&Ze!==(Ze=t[32]("registerNationality")+"")&&Et(_e,Ze),4194304&r[0]){let e;for(Ke=t[22],e=0;e<Ke.length;e+=1){var n=In(t,Ke,e);A[e]?A[e].p(n,r):(A[e]=Yn(n),A[e].c(),A[e].m(C,null))}for(;e<A.length;e+=1)A[e].d(1);A.length=Ke.length}if(12582912&r[0]&&et(C,t[23]),16384&r[0]&&xe!==(xe="NationalityContainer "+(0<=t[14]?.indexOf("nationality")?"Hidden":""))&&_t(_,"class",xe),2&r[1]&&qe!==(qe=t[32]("registerMobile")+"")&&Et(Pe,qe),33554432&r[0]){let e;for(Je=t[25],e=0;e<Je.length;e+=1){var s=Nn(t,Je,e);N[e]?N[e].p(s,r):(N[e]=jn(s),N[e].c(),N[e].m(x,null))}for(;e<N.length;e+=1)N[e].d(1);N.length=Je.length}100663296&r[0]&&et(x,t[26]),16777216&r[0]&&T.value!==t[24]&&Ct(T,t[24]),t[8]?I?I.p(t,r):((I=Gn(t)).c(),I.m(S,null)):I&&(I.d(1),I=null),20736&r[0]&&Ie!==(Ie="MobileContainer "+(t[8]&&!t[12]?"InvalidField":"")+(0<=t[14]?.indexOf("mobile")?"Hidden":""))&&_t(S,"class",Ie),"true"===t[0]?L?L.p(t,r):((L=zn(t)).c(),L.m(l,He)):L&&(L.d(1),L=null),2&r[1]&&Qe!==(Qe=t[32]("registerOpenAccount")+"")&&Et(Re,Qe),1&r[1]&&$e!==($e=!t[31])&&(k.disabled=$e),t[15]?H?H.p(t,r):((H=Xn(t)).c(),H.m(a,null)):H&&(H.d(1),H=null)},i:ht,o:ht,d(e){P&&P.d(e),gt(R),e&>($),e&>(o),e&>(F),e&>(a),M&&M.d(),O&&O.d(),D&&D.d(),rt(B,e),rt(A,e),rt(N,e),I&&I.d(),L&&L.d(),H&&H.d(),r[68](null),Ue=!1,ft(Ye)}}}function Jn(t,e,r){let L;le(t,Oi,e=>r(32,L=e));let i,n,s,o,a,l,c,{userconsentsexist:u="false"}=e,{termsconditions:d="false"}=e,{smsoffers:H="false"}=e,{emailmarketing:R="false"}=e,{endpoint:h=""}=e,{captchakey:f=""}=e,{lang:m=""}=e,{disabledfields:p=""}=e,{defaultoptions:g=""}=e,{clientstyling:y=""}=e,{clientstylingurl:v=""}=e,{translationurl:b=""}=e,$=!1,F=!1,U=!1,Y=!1,j=!1,G="",w="",_="",E="",C=[],S="",x=[],T="",k="",P=[],M="",O=!1,D=!1,B=!1,A=!1,z=!1;var V,W;({withLocale:V,translations:W}={withLocale:"en",translations:{}}),ae.subscribe(e=>{null==e&&(Kr.set(W),ae.set(V))}),Object.keys(Bn).forEach(e=>{Dn(e,Bn[e])});const N=()=>{r(31,z=!(i||n||o||s||j||"true"===u&&"true"===d&&!A)),(w.length<=0||_.length<=0||E.length<=0||k.length<=0)&&r(31,z=!1)},I=e=>{switch(e){case"GeneralOffers":!1===O?(r(27,O=!0),r(28,D=!0),r(29,B=!0)):(r(27,O=!1),r(28,D=!1),r(29,B=!1));break;case"SmsOffers":!1===D?(r(28,D=!0),r(27,O=!0)):r(28,D=!1),Z();break;case"EmailOffers":!1===B?(r(29,B=!0),r(27,O=!0)):r(29,B=!1),Z()}},Z=()=>{D||B||r(27,O=!1)},q=()=>{r(30,A=!1===A),N()},Q=e=>{e.preventDefault();let t;new Promise((t,e)=>{grecaptcha.ready(()=>{grecaptcha.execute(f,{action:"submit"}).then(e=>{t(e)})})}).then(e=>{t={address:w,postalCode:_,city:E,countrySelected:S,nationalitySelected:T,mobilePrefixSelected:M,mobile:k,consentOffersSms:D,consentOffersEmail:B,consentTerms:A,consentOffers:O,token:e},window.postMessage({type:"RegisterStepThree",registerStepThreeData:t},window.location.href)})},X=e=>{if(e.data)switch(e.data.type){case"StepThreeDataBackup":r(17,w=e.data.userData.address1),r(18,_=e.data.userData.postalCode),r(19,E=e.data.userData.city),r(21,S=e.data.userData.country),r(23,T=e.data.userData.nationality),r(26,M=e.data.userData.mobile.prefix),r(24,k=e.data.userData.mobile.number),r(28,D=e.data.userData.userConsents.sms),r(29,B=e.data.userData.userConsents.emailmarketing),r(30,A=e.data.userData.userConsents.termsandconditions),N();break;case"ShowRegistrationError":r(15,j=e.data.showError),r(16,G=e.data.error)}};return ce(()=>(window.addEventListener("message",X,!1),()=>{window.removeEventListener("message",X)})),t.$$set=e=>{"userconsentsexist"in e&&r(0,u=e.userconsentsexist),"termsconditions"in e&&r(1,d=e.termsconditions),"smsoffers"in e&&r(2,H=e.smsoffers),"emailmarketing"in e&&r(3,R=e.emailmarketing),"endpoint"in e&&r(41,h=e.endpoint),"captchakey"in e&&r(4,f=e.captchakey),"lang"in e&&r(42,m=e.lang),"disabledfields"in e&&r(43,p=e.disabledfields),"defaultoptions"in e&&r(44,g=e.defaultoptions),"clientstyling"in e&&r(45,y=e.clientstyling),"clientstylingurl"in e&&r(46,v=e.clientstylingurl),"translationurl"in e&&r(47,b=e.translationurl)},t.$$.update=()=>{if(1024&t.$$.dirty[1]&&h&&fetch(h+"/v1/player/countries").then(e=>e.json()).then(e=>{fetch(h+"/v1/player/operatorSupportedCountries").then(e=>300<=e.status?new Error("Error while fetching the supported countries"):e.json()).then(t=>{r(20,C=e.countries.filter(e=>0<=t.countries.indexOf(e.Alpha2Code))),S||r(21,S=C[0].Alpha2Code),r(22,x=e.countries),T||r(23,T=x.filter(e=>0<=t.countries.indexOf(e.Alpha2Code))[0].Alpha2Code)})}),1024&t.$$.dirty[1]&&h&&fetch(h+"/v1/player/phonecodes").then(e=>e.json()).then(e=>{r(25,P=e.phoneCodes),M||r(26,M=P[0].Prefix)}),2048&t.$$.dirty[1]&&m&&(e=m,ae.set(e)),4096&t.$$.dirty[1]&&p&&(r(14,a=p.split(",")),0<=a.indexOf("address")&&(r(6,i=!1),r(17,w="dummy address")),0<=a.indexOf("postalCode")&&(r(7,n=!1),r(18,_="000000")),0<=a.indexOf("mobile")&&(r(8,s=!1),r(24,k="1234123412"),r(26,M="000")),0<=a.indexOf("city")&&(r(9,o=!1),r(19,E="dummy city")),0<=a.indexOf("country")&&r(21,S="dummy country"),0<=a.indexOf("nationality"))&&r(23,T="dummy nationality"),8192&t.$$.dirty[1]&&g&&(0<=(l=g.split(",")).indexOf("consentsTerms")&&r(30,A=!0),0<=l.indexOf("consentsOffers")&&(r(27,O=!0),r(28,D=!0),r(29,B=!0)),l.forEach(e=>{e.includes("phonePrefix")&&r(26,M=e.split(":")[1].toString())})),32&t.$$.dirty[0]|16384&t.$$.dirty[1]&&y&&c&&((e=document.createElement("style")).innerHTML=y,c.appendChild(e)),32&t.$$.dirty[0]|32768&t.$$.dirty[1]&&v&&c){let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{c.appendChild(t)},1),setTimeout(()=>{},500)})}var e;65536&t.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Dn(e,t[e])})}).catch(e=>{console.log(e)})},[u,d,H,R,f,c,i,n,s,o,$,F,U,Y,a,j,G,w,_,E,C,S,x,T,k,P,M,O,D,B,A,z,L,()=>{r(6,i=!(w&&w.length<=100)),N()},()=>{r(7,n=!(_&&_.length<=20)),N()},()=>{r(9,o=!(E&&E.length<=50)),N()},()=>{r(8,s=!(k&&5<=k.length&&k.length<=12)),N()},I,q,Q,()=>{var e={address:w,postalCode:_,city:E,countrySelected:S,nationalitySelected:T,mobilePrefixSelected:M,mobile:k,consentOffersSms:D,consentOffersEmail:B,consentTerms:A,consentOffers:O};window.postMessage({type:"GoBackStepThree",registerStepThreeData:e},window.location.href)},h,m,p,g,y,v,b,function(){w=this.value,r(17,w)},()=>r(10,$=!0),()=>r(10,$=!1),function(){_=this.value,r(18,_)},()=>r(11,F=!0),()=>r(11,F=!1),function(){E=this.value,r(19,E)},()=>r(13,Y=!0),()=>r(13,Y=!1),function(){S=K(this),r(21,S),r(20,C)},function(){T=K(this),r(23,T),r(22,x)},function(){M=K(this),r(26,M),r(25,P)},function(){k=this.value,r(24,k)},()=>r(12,U=!0),()=>r(12,U=!1),()=>I("GeneralOffers"),()=>I("SmsOffers"),()=>I("EmailOffers"),()=>q(),e=>Q(e),function(e){oe[e?"unshift":"push"](()=>{c=e,r(5,c)})}]}function es(e,t){ei(e,t)}customElements.get("general-player-register-form-step3")||customElements.define("general-player-register-form-step3",class extends F{constructor(e){super();var t=document.createElement("style");t.textContent=".BackButton{display:inline-flex;color:var(--emfe-w-registration-typography, var(--emfe-w-color-contrast, #07072A));height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer;margin-bottom:30px}.BackButton svg{width:20px;height:20px;margin-right:20px;fill:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.AddressPostalCodeContainer{display:flex;gap:16px}.CountryContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.CountryContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.CountryContainer select:focus,.CountryContainer select :focus-within,.CountryContainer select :focus-visible,.CountryContainer select :visited{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.AddressContainer,.PostalCodeContainer,.CityContainer,.CountryContainer,.NationalityContainer,.MobileContainer{color:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.AddressContainer label,.PostalCodeContainer label,.CityContainer label,.CountryContainer label,.NationalityContainer label,.MobileContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.AddressContainer input,.PostalCodeContainer input,.CityContainer input,.CountryContainer select,.NationalityContainer select,.MobileContainer input,.MobileContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.AddressContainer.InvalidField input,.PostalCodeContainer.InvalidField input,.CityContainer.InvalidField input,.MobileContainer.InvalidField input{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));background:var(--emfe-w-color-pale, #FBECF4);color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.AddressContainer.Hidden,.PostalCodeContainer.Hidden,.CityContainer.Hidden,.CountryContainer.Hidden,.NationalityContainer.Hidden,.MobileContainer.Hidden{display:none}.AddressContainer{width:65%}.PostalCodeContainer{width:35%}.MobileWrapper{display:flex;gap:16px}.MobileWrapper .MobilePrefixSelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emfe-w-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.MobileWrapper .MobilePrefixSelected:focus,.MobileWrapper .MobilePrefixSelected :focus-within,.MobileWrapper .MobilePrefixSelected :focus-visible,.MobileWrapper .MobilePrefixSelected :visited{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.MobileWrapper .MobileInput{width:70%}.FormRequired{color:var(--emfe-w-color-secondary, #FD2839)}.InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));font-size:10px;line-height:10px}.OffersMethodsWrapper{padding-left:32px}.Offers,.OffersMethod,.AgeConsent{display:block;position:relative;padding:5px 0 0 35px;margin-bottom:16px;font-size:16px;user-select:none;line-height:18px}.Offers input,.OffersMethod input,.AgeConsent input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.Offers .Checkmark,.OffersMethod .Checkmark,.AgeConsent .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:50%}.Offers input:checked~.Checkmark,.OffersMethod input:checked~.Checkmark,.AgeConsent input:checked~.Checkmark{background-color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.Offers .Checkmark:after,.OffersMethod .Checkmark:after,.AgeConsent .Checkmark:after{content:\"\";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 3px 3px 0;transform:rotate(45deg)}.Offers input:checked~.Checkmark:after,.OffersMethod input:checked~.Checkmark:after,.AgeConsent input:checked~.Checkmark:after{display:block}.NotificationContainer{margin-top:32px}.NotificationContainer p{color:var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839));font-size:14px}.RegisterError{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));font-size:16px;line-height:18px}.RegisterStepNext{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);cursor:not-allowed}",this.shadowRoot.appendChild(t),$(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Jn,Kn,C,{userconsentsexist:0,termsconditions:1,smsoffers:2,emailmarketing:3,endpoint:41,captchakey:4,lang:42,disabledfields:43,defaultoptions:44,clientstyling:45,clientstylingurl:46,translationurl:47},null,[-1,-1,-1,-1]),e&&(e.target&&pt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["userconsentsexist","termsconditions","smsoffers","emailmarketing","endpoint","captchakey","lang","disabledfields","defaultoptions","clientstyling","clientstylingurl","translationurl"]}get userconsentsexist(){return this.$$.ctx[0]}set userconsentsexist(e){this.$$set({userconsentsexist:e}),h()}get termsconditions(){return this.$$.ctx[1]}set termsconditions(e){this.$$set({termsconditions:e}),h()}get smsoffers(){return this.$$.ctx[2]}set smsoffers(e){this.$$set({smsoffers:e}),h()}get emailmarketing(){return this.$$.ctx[3]}set emailmarketing(e){this.$$set({emailmarketing:e}),h()}get endpoint(){return this.$$.ctx[41]}set endpoint(e){this.$$set({endpoint:e}),h()}get captchakey(){return this.$$.ctx[4]}set captchakey(e){this.$$set({captchakey:e}),h()}get lang(){return this.$$.ctx[42]}set lang(e){this.$$set({lang:e}),h()}get disabledfields(){return this.$$.ctx[43]}set disabledfields(e){this.$$set({disabledfields:e}),h()}get defaultoptions(){return this.$$.ctx[44]}set defaultoptions(e){this.$$set({defaultoptions:e}),h()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),h()}});const ts={en:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"A new verification code has been sent to your phone number.",activate:"Activate Account",resend:"Resend",loginSMSHint:"A new verification code has been sent to your phone number"},"zh-hk":{title:"请输入您在号码上收到的验证码",errorTitle:"您的代码无效,您可以重新发送代码并重试",code:"短信代码",smsCodeError:"短信验证码无效,请重新发送验证码",resendMessage:"新的验证码已发送至您的手机号码",activate:"激活账户",resend:"重发"},fr:{title:"Veuillez entrer le code de vérification que vous avez reçu sur votre numéro",errorTitle:"Votre code n'était pas valide, vous pouvez renvoyer le code et réessayer",code:"Code SMS",smsCodeError:"Code sms invalide, vous pouvez renvoyer le code",resendMessage:"Un nouveau code de vérification a été envoyé à votre numéro de téléphone.",activate:"Activer le compte",resend:"Renvoyer"},tr:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"Telefon numaranıza yeni bir doğrulama kodu gönderildi.",activate:"Activate Account",resend:"Resend"},ro:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"Un nou cod de verificare a fost trimis catre numarul dumneavoastra.",activate:"Activate Account",resend:"Resend"},es:{title:"Por favor ingrese su código de verificación enviado por mensaje de texto a su número de telefono",errorTitle:"Su código es invalido",code:"Código SMS",smsCodeError:"Código SMS invalido",resendMessage:"Un nuevo codigo de verificación ha sido enviado a tu número celular.",activate:"Activar Cuenta",resend:"Reenviar"},pt:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"Um novo código de verificação foi enviado para o seu número de telefone.",activate:"Activate Account",resend:"Resend"},hr:{title:"Unesite verifikacijski kod koji ste primili na svoj broj telefona",errorTitle:"Vaš kod je nevažeći",code:"Sms kod",smsCodeError:"Nevažeći sms kod",resendMessage:"Novi verifkacijski kod poslan je na vaš broj telefona.",activate:"Aktiviraj račun",resend:"Ponovno pošalji",loginSMSHint:"Novi verifkacijski kod poslan je na vaš broj telefona"}};function rs(e){let r,i=e[5]("errorTitle")+"";return{c(){r=vt(i)},m(e,t){pt(e,r,t)},p(e,t){32&t&&i!==(i=e[5]("errorTitle")+"")&&Et(r,i)},d(e){e&>(r)}}}function is(e){let r,i=e[5]("title")+"";return{c(){r=vt(i)},m(e,t){pt(e,r,t)},p(e,t){32&t&&i!==(i=e[5]("title")+"")&&Et(r,i)},d(e){e&>(r)}}}function ns(e){let r,i,n=e[5]("smsCodeError")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","InvalidInput")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){32&t&&n!==(n=e[5]("smsCodeError")+"")&&Et(i,n)},d(e){e&>(r)}}}function ss(e){let r,i,n=e[5]("resendMessage")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","SmsVerificationResendMessage")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){32&t&&n!==(n=e[5]("resendMessage")+"")&&Et(i,n)},d(e){e&>(r)}}}function os(e){let r,i,n,s,o,a=e[4]<10?"0":"";return{c(){r=yt("span"),i=vt("(0:"),n=vt(a),s=vt(e[4]),o=vt(")"),_t(r,"class","SmsVerificationResendTimer")},m(e,t){pt(e,r,t),mt(r,i),mt(r,n),mt(r,s),mt(r,o)},p(e,t){16&t&&a!==(a=e[4]<10?"0":"")&&Et(n,a),16&t&&Et(s,e[4])},d(e){e&>(r)}}}function as(r){let i,n,s,o,a,l,c,u,d,h,f,m,p,g,y,v,b,w,_,E,C,S,x=r[5]("code")+"",T=r[5]("activate")+"",k=r[5]("resend")+"";function P(e){return e[2]?is:rs}let M=P(r),O=M(r),D=!r[2]&&ns(r),B=r[3]&&ss(r),A=r[3]&&os(r);return{c(){i=yt("div"),n=yt("h3"),O.c(),s=bt(),o=yt("div"),a=yt("label"),l=vt(x),c=vt(":"),(u=yt("span")).textContent="*",d=bt(),h=yt("input"),f=bt(),D&&D.c(),p=bt(),B&&B.c(),g=bt(),y=yt("button"),v=vt(T),b=bt(),w=yt("button"),_=vt(k),E=bt(),A&&A.c(),this.c=ht,_t(n,"class","Title"),_t(u,"class","FormRequired"),_t(a,"for","SmsCode"),_t(h,"type","text"),_t(h,"id","SmsCode"),_t(h,"inputmode","numeric"),_t(h,"pattern","[0-9]*"),_t(h,"maxlength","6"),_t(o,"class",m="Field SmsVerificationField "+(r[2]?"":"InvalidField")),_t(y,"class","Button SmsVerificationValidate"),_t(w,"class","Button SmsVerificationResend"),w.disabled=r[3],_t(i,"class","Container SmsVerificationContainer")},m(e,t){pt(e,i,t),mt(i,n),O.m(n,null),mt(i,s),mt(i,o),mt(o,a),mt(a,l),mt(a,c),mt(a,u),mt(o,d),mt(o,h),Ct(h,r[1]),mt(o,f),D&&D.m(o,null),mt(i,p),B&&B.m(i,null),mt(i,g),mt(i,y),mt(y,v),mt(i,b),mt(i,w),mt(w,_),mt(w,E),A&&A.m(w,null),r[19](i),C||(S=[wt(h,"input",r[17]),wt(h,"keydown",r[18]),wt(y,"click",r[6]),wt(w,"click",r[7])],C=!0)},p(e,[t]){M===(M=P(e))&&O?O.p(e,t):(O.d(1),(O=M(e))&&(O.c(),O.m(n,null))),32&t&&x!==(x=e[5]("code")+"")&&Et(l,x),2&t&&h.value!==e[1]&&Ct(h,e[1]),e[2]?D&&(D.d(1),D=null):D?D.p(e,t):((D=ns(e)).c(),D.m(o,null)),4&t&&m!==(m="Field SmsVerificationField "+(e[2]?"":"InvalidField"))&&_t(o,"class",m),e[3]?B?B.p(e,t):((B=ss(e)).c(),B.m(i,g)):B&&(B.d(1),B=null),32&t&&T!==(T=e[5]("activate")+"")&&Et(v,T),32&t&&k!==(k=e[5]("resend")+"")&&Et(_,k),e[3]?A?A.p(e,t):((A=os(e)).c(),A.m(w,null)):A&&(A.d(1),A=null),8&t&&(w.disabled=e[3])},i:ht,o:ht,d(e){e&>(i),O.d(),D&&D.d(),B&&B.d(),A&&A.d(),r[19](null),C=!1,ft(S)}}}function ls(t,e,r){let i;le(t,Oi,e=>r(5,i=e));let n,s,o,{endpoint:a=""}=e,{tokenid:l=""}=e,{playerid:c=""}=e,{smstemplate:u="Please use this code {0} to activate your accout"}=e,{number:d=""}=e,{clientstyling:h=""}=e,{clientstylingurl:f=""}=e,{translationurl:m=""}=e,p=!0,g=!1,y=+localStorage.getItem("smsTimer")||0,v=Date.now()/1e3-y,b=60-Math.floor(v);const w={numeric:/^[0-9]{0,6}$/};var _,E;({withLocale:_,translations:E}={withLocale:"en",translations:{}}),ae.subscribe(e=>{null==e&&(Kr.set(E),ae.set(_))}),Object.keys(ts).forEach(e=>{es(e,ts[e])});const C=()=>{0<b?r(4,b--,b):(clearInterval(s),r(3,s=!1),r(4,b=60))},S=()=>{v<60&&r(3,s=setInterval(()=>{C()},1e3))},x=e=>{w.numeric.test(e.key)||8===e.keyCode||9===e.keyCode||46===e.keyCode||e.preventDefault()};return ce(()=>{var e;c&&d||(e=JSON.parse(localStorage.getItem("playerData")),r(10,c=e.playerid),r(11,d=e.number)),S()}),t.$$set=e=>{"endpoint"in e&&r(12,a=e.endpoint),"tokenid"in e&&r(9,l=e.tokenid),"playerid"in e&&r(10,c=e.playerid),"smstemplate"in e&&r(13,u=e.smstemplate),"number"in e&&r(11,d=e.number),"clientstyling"in e&&r(14,h=e.clientstyling),"clientstylingurl"in e&&r(15,f=e.clientstylingurl),"translationurl"in e&&r(16,m=e.translationurl)},t.$$.update=()=>{if(t.$$.dirty,16385&t.$$.dirty&&h&&o&&((e=document.createElement("style")).innerHTML=h,o.appendChild(e)),32769&t.$$.dirty&&f&&o){let e=new URL(f),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{},500)})}var e;65536&t.$$.dirty&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{es(e,t[e])})}).catch(e=>{console.log(e)})},[o,n,p,s,b,i,async()=>{try{if(!(await fetch(`${a}/v1/player/${c}/activateSMS?tokenId=${l}&validationCode=`+n,{headers:{"Content-Type":"application/json",accept:"application/json"}})).ok)throw window.postMessage({type:"WidgetNotification",data:{type:"error",message:"Could not activate user"}},window.location.href),r(2,p=!1),new Error("Could not activate user");r(2,p=!0),window.postMessage({type:"SmsHasBeenValidated"},window.location.href)}catch(e){console.log(e)}},async()=>{localStorage.setItem("smsTimer",JSON.stringify(Math.floor(Date.now()/1e3))),S();try{var e=await fetch(a+"/v1/player/sms/token",{method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify({userId:c,messageTemplate:u,destination:d})}),t=await e.json();if(!e.ok)throw g=!0,new Error("Failed to fetch");r(9,l=t.id),g=!1,C()}catch(e){g=!0,console.error(e)}},x,l,c,d,a,u,h,f,m,function(){n=this.value,r(1,n)},e=>x(e),function(e){oe[e?"unshift":"push"](()=>{o=e,r(0,o)})}]}function cs(r){let i,n,s,o,a,l,c,u,d;return{c(){i=yt("div"),n=yt("div"),o=bt(),a=yt("div"),c=bt(),u=yt("div"),_t(n,"class",s="RegisterFirstStepDash "+(r[17]||!r[17]&&r[18]||!r[17]&&!r[18]&&r[19]?"RegisterStepDashColor":"")),_t(a,"class",l="RegisterSecondStepDash "+(r[18]||!r[17]&&!r[18]&&r[19]?"RegisterStepDashColor":"")),_t(u,"class",d="RegisterThirdStepDash "+(r[19]?"RegisterStepDashColor":"")),_t(i,"class","RegisterSteps")},m(e,t){pt(e,i,t),mt(i,n),mt(i,o),mt(i,a),mt(i,c),mt(i,u),r[40](i)},p(e,t){917504&t[0]&&s!==(s="RegisterFirstStepDash "+(e[17]||!e[17]&&e[18]||!e[17]&&!e[18]&&e[19]?"RegisterStepDashColor":""))&&_t(n,"class",s),917504&t[0]&&l!==(l="RegisterSecondStepDash "+(e[18]||!e[17]&&!e[18]&&e[19]?"RegisterStepDashColor":""))&&_t(a,"class",l),524288&t[0]&&d!==(d="RegisterThirdStepDash "+(e[19]?"RegisterStepDashColor":""))&&_t(u,"class",d)},d(e){e&>(i),r[40](null)}}}function us(e){let r,i;return{c(){r=yt("div"),n(i=yt("general-player-register-form-step1"),"lang",e[3]),n(i,"disabledfields",e[5]),n(i,"defaultoptions",e[6]),n(i,"dummydata",e[7]),n(i,"custominputtextswitch",e[14]),n(i,"simplepasswordvalidation",e[9]),n(i,"clientstyling",e[10]),n(i,"clientstylingurl",e[11]),n(i,"savecredentials",e[13]),n(i,"translationurl",e[12]),_t(r,"class","RegisterFormStep1")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){8&t[0]&&n(i,"lang",e[3]),32&t[0]&&n(i,"disabledfields",e[5]),64&t[0]&&n(i,"defaultoptions",e[6]),128&t[0]&&n(i,"dummydata",e[7]),16384&t[0]&&n(i,"custominputtextswitch",e[14]),512&t[0]&&n(i,"simplepasswordvalidation",e[9]),1024&t[0]&&n(i,"clientstyling",e[10]),2048&t[0]&&n(i,"clientstylingurl",e[11]),8192&t[0]&&n(i,"savecredentials",e[13]),4096&t[0]&&n(i,"translationurl",e[12])},d(e){e&>(r)}}}function ds(e){let r,i;return{c(){r=yt("div"),n(i=yt("general-player-register-form-step2"),"endpoint",e[0]),n(i,"lang",e[3]),n(i,"licenseyears",e[4]),n(i,"disabledfields",e[5]),n(i,"defaultoptions",e[6]),n(i,"dummydata",e[7]),n(i,"clientstyling",e[10]),n(i,"clientstylingurl",e[11]),n(i,"translationurl",e[12]),_t(r,"class","RegisterFormStep2")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){1&t[0]&&n(i,"endpoint",e[0]),8&t[0]&&n(i,"lang",e[3]),16&t[0]&&n(i,"licenseyears",e[4]),32&t[0]&&n(i,"disabledfields",e[5]),64&t[0]&&n(i,"defaultoptions",e[6]),128&t[0]&&n(i,"dummydata",e[7]),1024&t[0]&&n(i,"clientstyling",e[10]),2048&t[0]&&n(i,"clientstylingurl",e[11]),4096&t[0]&&n(i,"translationurl",e[12])},d(e){e&>(r)}}}function hs(e){let r,i;return{c(){r=yt("div"),n(i=yt("general-player-register-form-step3"),"userconsentsexist",e[25]),n(i,"termsconditions",e[26]),n(i,"smsoffers",e[27]),n(i,"emailmarketing",e[28]),n(i,"endpoint",e[0]),n(i,"captchakey",e[2]),n(i,"lang",e[3]),n(i,"defaultoptions",e[6]),n(i,"disabledfields",e[5]),n(i,"dummydata",e[7]),n(i,"clientstyling",e[10]),n(i,"clientstylingurl",e[11]),n(i,"translationurl",e[12]),_t(r,"class","RegisterFormStep3")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){33554432&t[0]&&n(i,"userconsentsexist",e[25]),67108864&t[0]&&n(i,"termsconditions",e[26]),134217728&t[0]&&n(i,"smsoffers",e[27]),268435456&t[0]&&n(i,"emailmarketing",e[28]),1&t[0]&&n(i,"endpoint",e[0]),4&t[0]&&n(i,"captchakey",e[2]),8&t[0]&&n(i,"lang",e[3]),64&t[0]&&n(i,"defaultoptions",e[6]),32&t[0]&&n(i,"disabledfields",e[5]),128&t[0]&&n(i,"dummydata",e[7]),1024&t[0]&&n(i,"clientstyling",e[10]),2048&t[0]&&n(i,"clientstylingurl",e[11]),4096&t[0]&&n(i,"translationurl",e[12])},d(e){e&>(r)}}}function fs(e){let r,i,n=e[33]("error")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","SMSErrorText")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){4&t[1]&&n!==(n=e[33]("error")+"")&&Et(i,n)},d(e){e&>(r)}}}function ms(e){let r;function i(e){return e[30]?ps:gs}let n=i(e),s=n(e);return{c(){s.c(),r=it()},m(e,t){s.m(e,t),pt(e,r,t)},p(e,t){n===(n=i(e))&&s?s.p(e,t):(s.d(1),(s=n(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){s.d(e),e&>(r)}}}function ps(e){let r,i,n=e[33]("error")+"";return{c(){r=yt("p"),i=vt(n),_t(r,"class","SMSErrorText")},m(e,t){pt(e,r,t),mt(r,i)},p(e,t){4&t[1]&&n!==(n=e[33]("error")+"")&&Et(i,n)},d(e){e&>(r)}}}function gs(e){let r;return{c(){n(r=yt("general-player-sms-verification-form"),"endpoint",e[0]),n(r,"session",e[1]),n(r,"number",e[31]),n(r,"playerid",e[16]),n(r,"tokenid",e[29]),n(r,"clientstyling",e[10]),n(r,"clientstylingurl",e[11])},m(e,t){pt(e,r,t)},p(e,t){1&t[0]&&n(r,"endpoint",e[0]),2&t[0]&&n(r,"session",e[1]),1&t[1]&&n(r,"number",e[31]),65536&t[0]&&n(r,"playerid",e[16]),536870912&t[0]&&n(r,"tokenid",e[29]),1024&t[0]&&n(r,"clientstyling",e[10]),2048&t[0]&&n(r,"clientstylingurl",e[11])},d(e){e&>(r)}}}function ys(r){let i,n,s,o,a,l,c,u,d,h,f,m,p,g,y,v,b,w,_,E,C=r[33]("goToLoginButton")+"";return{c(){i=yt("div"),n=t("svg"),s=t("defs"),o=t("style"),a=vt(".a{fill:#var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));}"),l=t("path"),c=bt(),u=yt("h2"),d=vt(r[22]),h=bt(),f=yt("p"),m=vt(r[23]),p=bt(),g=yt("p"),y=vt(r[24]),v=bt(),b=yt("button"),w=vt(C),_t(l,"class","a"),_t(l,"d","M29.325,51,0,21.675l5.95-5.95,23.375,22.95L68,0l5.95,5.95Z"),_t(n,"xmlns","http://www.w3.org/2000/svg"),_t(n,"viewBox","0 0 73.95 51"),_t(u,"class","RegisterConfirmationTitle"),_t(f,"class","RegisterConfirmationSubtitle"),_t(g,"class","RegisterConfirmationNote"),_t(b,"class","RegisterConfirmationGoToLogin"),_t(i,"class","RegisterConfirmation")},m(e,t){pt(e,i,t),mt(i,n),mt(n,s),mt(s,o),mt(o,a),mt(n,l),mt(i,c),mt(i,u),mt(u,d),mt(i,h),mt(i,f),mt(f,m),mt(i,p),mt(i,g),mt(g,y),mt(i,v),mt(i,b),mt(b,w),_||(E=wt(b,"click",r[35]),_=!0)},p(e,t){4194304&t[0]&&Et(d,e[22]),8388608&t[0]&&Et(m,e[23]),16777216&t[0]&&Et(y,e[24]),4&t[1]&&C!==(C=e[33]("goToLoginButton")+"")&&Et(w,C)},d(e){e&>(i),_=!1,E()}}}function vs(r){let i,n=function(e){let r,i,n,s,o,a,l,c=(e[17]||e[18]||e[19])&&cs(e),u=e[17]&&us(e),d=e[18]&&ds(e),h=e[19]&&hs(e);function f(e){return e[8]&&e[20]?ms:e[30]?fs:void 0}let m=f(e),p=m&&m(e),g=e[21]&&ys(e);return{c(){r=yt("div"),i=yt("div"),c&&c.c(),n=bt(),u&&u.c(),s=bt(),d&&d.c(),o=bt(),h&&h.c(),a=bt(),p&&p.c(),l=bt(),g&&g.c(),_t(i,"class","RegisterFormContainer "+(e[34]?"RegisterFormContainerMobile":"")),_t(r,"class","RegisterFormWrapper")},m(e,t){pt(e,r,t),mt(r,i),c&&c.m(i,null),mt(i,n),u&&u.m(i,null),mt(i,s),d&&d.m(i,null),mt(i,o),h&&h.m(i,null),mt(i,a),p&&p.m(i,null),mt(i,l),g&&g.m(i,null)},p(e,t){e[17]||e[18]||e[19]?c?c.p(e,t):((c=cs(e)).c(),c.m(i,n)):c&&(c.d(1),c=null),e[17]?u?u.p(e,t):((u=us(e)).c(),u.m(i,s)):u&&(u.d(1),u=null),e[18]?d?d.p(e,t):((d=ds(e)).c(),d.m(i,o)):d&&(d.d(1),d=null),e[19]?h?h.p(e,t):((h=hs(e)).c(),h.m(i,a)):h&&(h.d(1),h=null),m===(m=f(e))&&p?p.p(e,t):(p&&p.d(1),(p=m&&m(e))&&(p.c(),p.m(i,l))),e[21]?g?g.p(e,t):((g=ys(e)).c(),g.m(i,null)):g&&(g.d(1),g=null)},d(e){e&>(r),c&&c.d(),u&&u.d(),d&&d.d(),h&&h.d(),p&&p.d(),g&&g.d()}}}(r);return{c(){i=yt("div"),n.c(),this.c=ht},m(e,t){pt(e,i,t),n.m(i,null),r[41](i)},p(e,t){n.p(e,t)},i:ht,o:ht,d(e){e&>(i),n.d(),r[41](null)}}}function bs(r,e,o){let t;le(r,Oi,e=>o(33,t=e));let i,n,L,s,a,{endpoint:l=""}=e,{cmsendpoint:c=""}=e,{env:u=""}=e,{session:d=""}=e,{trackedanalyticsdata:h=""}=e,{captchakey:f=""}=e,{lang:m="en"}=e,{licenseyears:p=""}=e,{disabledfields:g=""}=e,{defaultoptions:y=""}=e,{dummydata:H=""}=e,{smsverification:v="false"}=e,{simplepasswordvalidation:R="false"}=e,{userroles:b=""}=e,{clientstyling:w=""}=e,{clientstylingurl:_=""}=e,{translationurl:E=""}=e,{savecredentials:$=""}=e,{custominputtextswitch:F="false"}=e,C=[],U=[],Y="",S=!0,x=!1,T=!1,k=!1,P=!1,j=!1,G="",z="",V="",M=window.navigator.userAgent,W="PC"!==Di(M),O={},Z=!1,q=!1,D="false",Q="false",X="false",K="false",J="",B=!1,ee=!1,te={username:"",password:""};var re,ie;({withLocale:re,translations:ie}={withLocale:"en",translations:{}}),ae.subscribe(e=>{null==e&&(Kr.set(ie),ae.set(re))}),Object.keys(Ai).forEach(e=>{Bi(e,Ai[e])});const A=()=>{a.scrollIntoView()},N=t=>{let r;return U.forEach(e=>{e.includes(t)&&(r=e.split(":")[1].toString())}),r},I=(e,t)=>{var r;U=y.split(","),"RegisterStepOne"===e&&(O.email=0<=C.indexOf("email")?null!=(r=N("email"))?r:"dummy@dummy.com":t.userEmail,O.username=0<=C.indexOf("username")?null!=(r=N("username"))?r:"dummyUsername":t.userValue,O.password=0<=C.indexOf("password")?null!=(r=N("password"))?r:"dummyPassword01!":t.userPassword,O.securityQuestion=0<=C.indexOf("securityQuestion")?null!=(r=N("securityQuestion"))?r:"dummy question":t.securityQuestion,O.securityAnswer=0<=C.indexOf("securityAnswer")?null!=(r=N("securityAnswer"))?r:"dummy answer":t.securityAnswer,O.promoCode=0<=C.indexOf("promoCode")?null!=(r=N("promoCode"))?r:"":t.promoCode),"RegisterStepTwo"===e&&(O.title=t.userTitleSelected,O.firstname=0<=C.indexOf("firstName")?null!=(r=N("firstName"))?r:"dummy first name":t.userFirstName,O.lastname=0<=C.indexOf("lastName")?null!=(r=N("lastName"))?r:"dummy last name":t.userLastName,0<=C.indexOf("birthDate")?O.birth={day:1,month:1,year:2e3}:(O.birth={},O.birth.day=t.birthDaySelected,O.birth.month=t.birthMonthSelected,O.birth.year=t.birthYearSelected),O.birthPlace=0<=C.indexOf("birthPlace")?null!=(r=N("birthPlace"))?r:"ngenge":t.birthPlace,O.currency=null!=(r=N("currency"))?r:t.currencySelected,O.personalId=0<=C.indexOf("personalId")?null!=(r=N("personalId"))?r:"dummy personal id":t.personalId),"RegisterStepThree"===e&&(O.address1=0<=C.indexOf("address")?null!=(r=N("address"))?r:"dummy address":t.address,O.postalCode=0<=C.indexOf("postalCode")?null!=(e=N("postalCode"))?e:"000000":t.postalCode,O.city=0<=C.indexOf("city")?null!=(r=N("city"))?r:"dummy city":t.city,O.country=0<=C.indexOf("country")?null!=(e=N("country"))?e:"dummy country":t.countrySelected,O.nationality=0<=C.indexOf("nationality")?null!=(r=N("nationality"))?r:"dummy nationality":t.nationalitySelected,0<=C.indexOf("mobile")?O.mobile={prefix:null!=(e=N("phonePrefix"))?e:"0040",number:"1234123412"}:(O.mobile={},O.mobile.prefix=null!=(r=N("phonePrefix"))?r:t.mobilePrefixSelected,O.mobile.number=t.mobile,o(31,s=""+t.mobilePrefixSelected+t.mobile)),O.userConsents={},O.affiliateMarker=O.promoCode||(null!=h?h:""),"true"==D&&(O.userConsents.sms=t.consentOffersSms,O.userConsents.emailmarketing=t.consentOffersEmail,O.userConsents.termsandconditions=t.consentTerms),O.token=t.token)},ne=e=>{if(e.data)switch(e.data.type){case"RegisterStepOne":I("RegisterStepOne",e.data.registerStepOneData),A(),o(17,S=!1),o(18,x=!0),0==Z?Z=!0:window.postMessage({type:"StepTwoDataBackup",userData:O},window.location.href);break;case"RegisterStepTwo":I("RegisterStepTwo",e.data.registerStepTwoData),A(),o(18,x=!1),o(19,T=!0),0==q?q=!0:window.postMessage({type:"StepThreeDataBackup",userData:O},window.location.href);break;case"RegisterStepThree":I("RegisterStepThree",e.data.registerStepThreeData),(async e=>{let t={method:"PUT",headers:{"g-recaptcha-response":e.token,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)},r=await fetch(`${l}/v1/player/register`,t),i=await r.json();var n,s;r.ok?(o(19,T=!1),"false"===v?o(21,P=!0):(o(16,Y=i.id),se(e,i.id)),te={username:e.username,password:e.password},ee&&(Hi("BIOMETRICS_ENABLED",()=>{}),{username:n,password:s}=te,Li("ENABLE_BIOMETRICS",{username:n,password:s})),"function"==typeof gtag&>ag("event","Register",{context:"GeneralPlayerRegisterForm"})):(J=i.error.substring(i.error.indexOf("errorMessage")+13,i.error.length),j=!0,window.postMessage({type:"ShowRegistrationError",showError:j,error:J},window.location.href))})(O);break;case"SmsHasBeenValidated":o(21,P=!0),o(20,k=!1);break;case"GoBackStepTwo":I("RegisterStepTwo",e.data.registerStepTwoData),A(),o(17,S=!0),o(18,x=!1),window.postMessage({type:"StepOneDataBackup",userData:O},window.location.href);break;case"GoBackStepThree":I("RegisterStepThree",e.data.registerStepThreeData),A(),o(18,x=!0),o(19,T=!1),window.postMessage({type:"StepTwoDataBackup",userData:O},window.location.href)}},se=async(e,t)=>{localStorage.setItem("smsTimer",JSON.stringify(Math.floor(Date.now()/1e3)));try{var r=await fetch(l+"/v1/player/sms/token",{method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify({userId:t,messageTemplate:"Please use this code {0} to activate your account",destination:""+e.mobile.prefix+e.mobile.number})}),i=await r.json();if(!r.ok)throw o(30,B=!0),new Error("Failed to fetch");o(29,L=i.id),i.maxValidationAttempts,o(20,k=!0),o(30,B=!1)}catch(e){o(30,B=!0),console.error(e)}};return ce(()=>(window.addEventListener("message",ne,!1),ee=!!Ii(M),()=>{window.removeEventListener("message",ne)})),r.$$set=e=>{"endpoint"in e&&o(0,l=e.endpoint),"cmsendpoint"in e&&o(36,c=e.cmsendpoint),"env"in e&&o(37,u=e.env),"session"in e&&o(1,d=e.session),"trackedanalyticsdata"in e&&o(38,h=e.trackedanalyticsdata),"captchakey"in e&&o(2,f=e.captchakey),"lang"in e&&o(3,m=e.lang),"licenseyears"in e&&o(4,p=e.licenseyears),"disabledfields"in e&&o(5,g=e.disabledfields),"defaultoptions"in e&&o(6,y=e.defaultoptions),"dummydata"in e&&o(7,H=e.dummydata),"smsverification"in e&&o(8,v=e.smsverification),"simplepasswordvalidation"in e&&o(9,R=e.simplepasswordvalidation),"userroles"in e&&o(39,b=e.userroles),"clientstyling"in e&&o(10,w=e.clientstyling),"clientstylingurl"in e&&o(11,_=e.clientstylingurl),"translationurl"in e&&o(12,E=e.translationurl),"savecredentials"in e&&o(13,$=e.savecredentials),"custominputtextswitch"in e&&o(14,F=e.custominputtextswitch)},r.$$.update=()=>{if(1&r.$$.dirty[0]&&l&&fetch(l+"/v1/player/consentRequirements").then(e=>e.json()).then(e=>{0<e.items.length?(o(25,D="true"),e.items.forEach(e=>{switch(e.tagCode){case"termsandconditions":o(26,Q="true");break;case"sms":o(27,X="true");break;case"emailmarketing":o(28,K="true")}})):o(25,D="false")}),8&r.$$.dirty[0]|352&r.$$.dirty[1]&&c&&m&&u&&b&&(e=new URL(`${c}/${m}/login-register-content?env=`+u),(t=Di(M))&&("PC"===t?e.searchParams.append("device","dk"):e.searchParams.append("device","mtWeb")),fetch(e.href).then(e=>e.json()).then(e=>{n=e.registerData,o(22,G=n.title),o(23,z=n.subtitle),o(24,V=n.content)}).catch(e=>{console.error(e)})),r.$$.dirty[0],8&r.$$.dirty[0]&&m&&(t=m,ae.set(t)),32&r.$$.dirty[0]&&g&&(C=g.split(",")),33792&r.$$.dirty[0]&&w&&i&&((e=document.createElement("style")).innerHTML=w,i.appendChild(e)),34816&r.$$.dirty[0]&&_&&i){let e=new URL(_),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{},500)})}var e,t;4096&r.$$.dirty[0]&&E&&fetch(E).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Bi(e,t[e])})}).catch(e=>{console.log(e)})},[l,d,f,m,p,g,y,H,v,R,w,_,E,$,F,i,Y,S,x,T,k,P,G,z,V,D,Q,X,K,void 0,B,s,a,t,W,()=>{window.postMessage({type:"ToLogin"},window.location.href)},c,u,h,b,function(e){oe[e?"unshift":"push"](()=>{a=e,o(32,a)})},function(e){oe[e?"unshift":"push"](()=>{i=e,o(15,i)})}]}customElements.get("general-player-sms-verification-form")||customElements.define("general-player-sms-verification-form",class extends F{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Title{font-size:14px;margin:0;padding-bottom:20px}.Field{color:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.Field label{font-size:14px;font-weight:300;padding-bottom:5px}.Field input{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.Field.InvalidField input{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));background:var(--emfe-w-color-pale, #FBECF4);color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));font-size:10px;line-height:10px}.Button{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.Button[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);cursor:not-allowed}.Button.SmsVerificationResend{background:var(--emfe-w-registration-color-bg, var(--emfe-w-color-gray-50, #F9F8F8));color:var(--emfe-w-registration-typography, var(--emfe-w-color-contrast, #07072A))}",this.shadowRoot.appendChild(t),$(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ls,as,C,{endpoint:12,tokenid:9,playerid:10,smstemplate:13,number:11,clientstyling:14,clientstylingurl:15,translationurl:16},null),e&&(e.target&&pt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","tokenid","playerid","smstemplate","number","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),h()}get tokenid(){return this.$$.ctx[9]}set tokenid(e){this.$$set({tokenid:e}),h()}get playerid(){return this.$$.ctx[10]}set playerid(e){this.$$set({playerid:e}),h()}get smstemplate(){return this.$$.ctx[13]}set smstemplate(e){this.$$set({smstemplate:e}),h()}get number(){return this.$$.ctx[11]}set number(e){this.$$set({number:e}),h()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),h()}});class ws extends F{constructor(e){super();var t=document.createElement("style");t.textContent=".RegisterFormWrapper{background:var(--emfe-w-registration-color-bg, var(--emfe-w-color-gray-50, #F9F8F8))}.RegisterFormContainer{padding:25px;height:404px;overflow-y:auto;scrollbar-color:var(--emfe-w-color-gray-100, #E6E6E6) var(--emfe-w-color-gray-50, #F9F8F8);scrollbar-width:thin}.RegisterFormContainer.RegisterFormContainerMobile{padding:40px 20px;height:65vh;overflow-y:scroll}.RegisterFormContainer::-webkit-scrollbar{width:6px}.RegisterFormContainer::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-50, #F9F8F8)}.RegisterFormContainer::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-100, #E6E6E6)}.RegisterSteps{display:flex;gap:10px;padding:20px 0 30px}.RegisterFirstStepDash,.RegisterSecondStepDash,.RegisterThirdStepDash{width:50px;height:2px;background-color:var(--emfe-w-color-gray-100, #E6E6E6)}.RegisterStepDashColor{background-color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.SMSErrorText{height:80%;display:flex;align-items:center}.RegisterConfirmation{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin-top:60px}.RegisterConfirmation svg{width:74px}.RegisterConfirmation .RegisterConfirmationTitle{color:var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));font-size:24px;font-weight:400;text-transform:uppercase;margin-bottom:0}.RegisterConfirmation .RegisterConfirmationSubtitle{color:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B));font-size:16px;line-height:19px;margin-bottom:24px}.RegisterConfirmation .RegisterConfirmationNote{color:var(--emfe-w-registration-typography, var(--emfe-w-color-contrast, #07072A));font-size:18px;line-height:22px}.RegisterConfirmationGoToLogin{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}",this.shadowRoot.appendChild(t),$(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},bs,vs,C,{endpoint:0,cmsendpoint:36,env:37,session:1,trackedanalyticsdata:38,captchakey:2,lang:3,licenseyears:4,disabledfields:5,defaultoptions:6,dummydata:7,smsverification:8,simplepasswordvalidation:9,userroles:39,clientstyling:10,clientstylingurl:11,translationurl:12,savecredentials:13,custominputtextswitch:14},null,[-1,-1,-1]),e&&(e.target&&pt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),h())}static get observedAttributes(){return["endpoint","cmsendpoint","env","session","trackedanalyticsdata","captchakey","lang","licenseyears","disabledfields","defaultoptions","dummydata","smsverification","simplepasswordvalidation","userroles","clientstyling","clientstylingurl","translationurl","savecredentials","custominputtextswitch"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),h()}get cmsendpoint(){return this.$$.ctx[36]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),h()}get env(){return this.$$.ctx[37]}set env(e){this.$$set({env:e}),h()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),h()}get trackedanalyticsdata(){return this.$$.ctx[38]}set trackedanalyticsdata(e){this.$$set({trackedanalyticsdata:e}),h()}get captchakey(){return this.$$.ctx[2]}set captchakey(e){this.$$set({captchakey:e}),h()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),h()}get licenseyears(){return this.$$.ctx[4]}set licenseyears(e){this.$$set({licenseyears:e}),h()}get disabledfields(){return this.$$.ctx[5]}set disabledfields(e){this.$$set({disabledfields:e}),h()}get defaultoptions(){return this.$$.ctx[6]}set defaultoptions(e){this.$$set({defaultoptions:e}),h()}get dummydata(){return this.$$.ctx[7]}set dummydata(e){this.$$set({dummydata:e}),h()}get smsverification(){return this.$$.ctx[8]}set smsverification(e){this.$$set({smsverification:e}),h()}get simplepasswordvalidation(){return this.$$.ctx[9]}set simplepasswordvalidation(e){this.$$set({simplepasswordvalidation:e}),h()}get userroles(){return this.$$.ctx[39]}set userroles(e){this.$$set({userroles:e}),h()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),h()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),h()}get translationurl(){return this.$$.ctx[12]}set translationurl(e){this.$$set({translationurl:e}),h()}get savecredentials(){return this.$$.ctx[13]}set savecredentials(e){this.$$set({savecredentials:e}),h()}get custominputtextswitch(){return this.$$.ctx[14]}set custominputtextswitch(e){this.$$set({custominputtextswitch:e}),h()}}return customElements.get("general-player-register-form")||customElements.define("general-player-register-form",ws),ws});
|
|
2
2
|
//# sourceMappingURL=general-player-register-form.js.map
|