@everymatrix/player-account-menu 0.0.249 → 0.0.252
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function p(){}function h(e){return e()}function f(){return Object.create(null)}function d(e){e.forEach(h)}function m(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function y(e,...t){if(null==e)return p;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function A(e,t,n){e.$$.on_destroy.push(y(t,n))}function E(e,t){e.appendChild(t)}function v(e,t,n){e.insertBefore(t,n||null)}function _(e){e.parentNode.removeChild(e)}function w(e){return document.createElement(e)}function e(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function P(e){return document.createTextNode(e)}function T(){return P(" ")}function t(){return P("")}function b(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function M(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function I(e,t,n){t in e?e[t]=n:M(e,t,n)}function x(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function g(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}function r(e){const t={};for(const n of e)t[n.name]=n.value;return t}let L;function S(e){L=e}const O=[],o=[],i=[],s=[],C=Promise.resolve();let R=!1;function N(e){i.push(e)}let a=!1;const u=new Set;function U(){if(!a){a=!0;do{for(let e=0;e<O.length;e+=1){var t=O[e];S(t),function(e){{var t;null!==e.fragment&&(e.update(),d(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(N))}}(t.$$)}for(S(null),O.length=0;o.length;)o.pop()();for(let e=0;e<i.length;e+=1){const n=i[e];u.has(n)||(u.add(n),n())}}while(i.length=0,O.length);for(;s.length;)s.pop()();R=!1,a=!1,u.clear()}}const F=new Set;function c(r,e,t,n,o,i,s=[-1]){var a,u=L;S(r);const c=r.$$={fragment:null,ctx:null,props:i,update:p,not_equal:o,bound:f(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(u?u.$$.context:e.context||[]),callbacks:f(),dirty:s,skip_bound:!1};let l=!1;if(c.ctx=t?t(r,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return c.ctx&&o(c.ctx[e],c.ctx[e]=n)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](n),l&&(n=e,-1===(e=r).$$.dirty[0]&&(O.push(e),R||(R=!0,C.then(U)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],c.update(),l=!0,d(c.before_update),c.fragment=!!n&&n(c.ctx),e.target){if(e.hydrate){const p=(n=e.target,Array.from(n.childNodes));c.fragment&&c.fragment.l(p),p.forEach(_)}else c.fragment&&c.fragment.c();e.intro&&(a=r.$$.fragment)&&a.i&&(F.delete(a),a.i(void 0)),function(t,e,n,r){const{fragment:o,on_mount:i,on_destroy:s,after_update:a}=t.$$;o&&o.m(e,n),r||N(()=>{var e=i.map(h).filter(m);s?s.push(...e):d(e),t.$$.on_mount=[]}),a.forEach(N)}(r,e.target,e.anchor,e.customElement),U()}S(u)}let l;"function"==typeof HTMLElement&&(l=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(h).filter(m);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){d(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(d(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=p}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var D,k,G="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==G&&G,B="URLSearchParams"in G,$="Symbol"in G&&"iterator"in Symbol,j="FileReader"in G&&"Blob"in G&&function(){try{return new Blob,!0}catch(e){return!1}}(),H="FormData"in G,z="ArrayBuffer"in G;function V(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 X(e){return e="string"!=typeof e?String(e):e}function W(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return $&&(e[Symbol.iterator]=function(){return e}),e}function Y(t){this.map={},t instanceof Y?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function q(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function K(n){return new Promise(function(e,t){n.onload=function(){e(n.result)},n.onerror=function(){t(n.error)}})}function Z(e){var t=new FileReader,n=K(t);return t.readAsArrayBuffer(e),n}function Q(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function J(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:j&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:H&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:B&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():z&&j&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=Q(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):z&&(ArrayBuffer.prototype.isPrototypeOf(e)||k(e))?this._bodyArrayBuffer=Q(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):B&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},j&&(this.blob=function(){var e=q(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?q(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(Z)}),this.text=function(){var e,t,n=q(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,n=K(t=new FileReader),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},H&&(this.formData=function(){return this.text().then(ne)}),this.json=function(){return this.text().then(JSON.parse)},this}z&&(D=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],k=ArrayBuffer.isView||function(e){return e&&-1<D.indexOf(Object.prototype.toString.call(e))}),Y.prototype.append=function(e,t){e=V(e),t=X(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},Y.prototype.delete=function(e){delete this.map[V(e)]},Y.prototype.get=function(e){return e=V(e),this.has(e)?this.map[e]:null},Y.prototype.has=function(e){return this.map.hasOwnProperty(V(e))},Y.prototype.set=function(e,t){this.map[V(e)]=X(t)},Y.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},Y.prototype.keys=function(){var n=[];return this.forEach(function(e,t){n.push(t)}),W(n)},Y.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),W(t)},Y.prototype.entries=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),W(n)},$&&(Y.prototype[Symbol.iterator]=Y.prototype.entries);var ee=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function te(e,t){if(!(this instanceof te))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r=(t=t||{}).body;if(e instanceof te){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Y(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=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 Y(t.headers)),this.method=(e=(n=t.method||this.method||"GET").toUpperCase(),-1<ee.indexOf(e)?e:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function ne(e){var n=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),n.append(decodeURIComponent(e),decodeURIComponent(t)))}),n}function re(e,t){if(!(this instanceof re))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new Y(t.headers),this.url=t.url||"",this._initBody(e)}te.prototype.clone=function(){return new te(this,{body:this._bodyInit})},J.call(te.prototype),J.call(re.prototype),re.prototype.clone=function(){return new re(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Y(this.headers),url:this.url})},re.error=function(){var e=new re(null,{status:0,statusText:""});return e.type="error",e};var oe=[301,302,303,307,308];re.redirect=function(e,t){if(-1===oe.indexOf(t))throw new RangeError("Invalid status code");return new re(null,{status:t,headers:{location:e}})};var ie=G.DOMException;try{new ie}catch(p){(ie=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),ie.prototype.constructor=ie}function se(r,s){return new Promise(function(o,e){var t=new te(r,s);if(t.signal&&t.signal.aborted)return e(new ie("Aborted","AbortError"));var i=new XMLHttpRequest;function n(){i.abort()}i.onload=function(){var e,n,t={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",n=new Y,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),n.append(e,t))}),n)};t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL");var r="response"in i?i.response:i.responseText;setTimeout(function(){o(new re(r,t))},0)},i.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){e(new ie("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&G.location.href?G.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?i.withCredentials=!0:"omit"===t.credentials&&(i.withCredentials=!1),"responseType"in i&&(j?i.responseType="blob":z&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof Y?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){i.setRequestHeader(e,X(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",n),i.onreadystatechange=function(){4===i.readyState&&t.signal.removeEventListener("abort",n)}),i.send(void 0===t._bodyInit?null:t._bodyInit)})}se.polyfill=!0,G.fetch||(G.fetch=se,G.Headers=Y,G.Request=te,G.Response=re),self.fetch.bind(self);var ae=function(e,t){return(ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function ue(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ae(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ce(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function le(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function pe(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}function he(e){return"function"==typeof e}function fe(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 de=fe(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 me(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var ye=(be.prototype.unsubscribe=function(){var e,t,n,r,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=ce(i),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else i.remove(this);i=this.initialTeardown;if(he(i))try{i()}catch(e){o=e instanceof de?e.errors:[e]}i=this._teardowns;if(i){this._teardowns=null;try{for(var u=ce(i),c=u.next();!c.done;c=u.next()){var l=c.value;try{ve(l)}catch(e){o=null!=o?o:[],e instanceof de?o=pe(pe([],le(o)),le(e.errors)):o.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(o)throw new de(o)}},be.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ve(e);else{if(e instanceof be){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},be.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},be.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},be.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&me(t,e)},be.prototype.remove=function(e){var t=this._teardowns;t&&me(t,e),e instanceof be&&e._removeParent(this)},be.EMPTY=((jt=new be).closed=!0,jt),be),ge=ye.EMPTY;function be(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function Ee(e){return e instanceof ye||e&&"closed"in e&&he(e.remove)&&he(e.add)&&he(e.unsubscribe)}function ve(e){he(e)?e():e.unsubscribe()}var Ae=void 0,_e=!1,we=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,pe([],le(e)))};function Pe(){}function Te(e){e()}var Me,Ie,xe=(ue(Oe,Ie=ye),Oe.create=function(e,t,n){return new Le(e,t,n)},Oe.prototype.next=function(e){this.isStopped||this._next(e)},Oe.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Oe.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Oe.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Ie.prototype.unsubscribe.call(this),this.destination=null)},Oe.prototype._next=function(e){this.destination.next(e)},Oe.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Oe.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Oe),Le=(ue(Se,Me=xe),Se);function Se(e,t,n){var r,o,i=Me.call(this)||this;return he(e)?o=e:e&&(o=e.next,t=e.error,n=e.complete,i&&_e?(r=Object.create(e)).unsubscribe=function(){return i.unsubscribe()}:r=e,o=null==o?void 0:o.bind(r),t=null==t?void 0:t.bind(r),n=null==n?void 0:n.bind(r)),i.destination={next:o?Ce(o):Pe,error:Ce(null!=t?t:Re),complete:n?Ce(n):Pe},i}function Oe(e){var t=Ie.call(this)||this;return t.isStopped=!1,e?Ee(t.destination=e)&&e.add(t):t.destination=Ne,t}function Ce(r){return function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{r.apply(void 0,pe([],le(e)))}catch(e){t=e,we(function(){throw t})}}}function Re(e){throw e}var Ne={closed:!0,next:Pe,error:Re,complete:Pe},Ue="function"==typeof Symbol&&Symbol.observable||"@@observable";function Fe(e){return e}var De=(ke.prototype.lift=function(e){var t=new ke;return t.source=this,t.operator=e,t},ke.prototype.subscribe=function(e,t,n){var r,o=this,i=(r=e)&&r instanceof xe||r&&he(r.next)&&he(r.error)&&he(r.complete)&&Ee(r)?e:new Le(e,t,n);return Te(function(){var e=o.operator,t=o.source;i.add(e?e.call(i,t):t?o._subscribe(i):o._trySubscribe(i))}),i},ke.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},ke.prototype.forEach=function(r,e){var o=this;return new(e=Ge(e))(function(e,t){var n=o.subscribe(function(e){try{r(e)}catch(e){t(e),null==n||n.unsubscribe()}},t,e)})},ke.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},ke.prototype[Ue]=function(){return this},ke.prototype.pipe=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(0===(t=e).length?Fe:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},ke.prototype.toPromise=function(e){var r=this;return new(e=Ge(e))(function(e,t){var n;r.subscribe(function(e){return n=e},function(e){return t(e)},function(){return e(n)})})},ke.create=function(e){return new ke(e)},ke);function ke(e){e&&(this._subscribe=e)}function Ge(e){return null!==(e=null!=e?e:Ae)&&void 0!==e?e:Promise}var Be,$e,je,He=fe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),ze=(ue(Ke,je=De),Ke.prototype.lift=function(e){var t=new Ve(this,this);return t.operator=e,t},Ke.prototype._throwIfClosed=function(){if(this.closed)throw new He},Ke.prototype.next=function(i){var s=this;Te(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){var n=s.observers.slice();try{for(var r=ce(n),o=r.next();!o.done;o=r.next())o.value.next(i)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},Ke.prototype.error=function(t){var n=this;Te(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}})},Ke.prototype.complete=function(){var t=this;Te(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Ke.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(Ke.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),Ke.prototype._trySubscribe=function(e){return this._throwIfClosed(),je.prototype._trySubscribe.call(this,e)},Ke.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Ke.prototype._innerSubscribe=function(e){var t=this.hasError,n=this.isStopped,r=this.observers;return t||n?ge:(r.push(e),new ye(function(){return me(r,e)}))},Ke.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,n=this.thrownError,r=this.isStopped;t?e.error(n):r&&e.complete()},Ke.prototype.asObservable=function(){var e=new De;return e.source=this,e},Ke.create=function(e,t){return new Ve(e,t)},Ke),Ve=(ue(qe,$e=ze),qe.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},qe.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},qe.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},qe.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:ge},qe),Xe={now:function(){return(Xe.delegate||Date).now()},delegate:void 0},We=(ue(Ye,Be=ze),Ye.prototype.next=function(e){var t=this,n=t.isStopped,r=t._buffer,o=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;n||(r.push(e),o||r.push(i.now()+t)),this._trimBuffer(),Be.prototype.next.call(this,e)},Ye.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),o=0;o<r.length&&!e.closed;o+=n?1:2)e.next(r[o]);return this._checkFinalizedStatuses(e),t},Ye.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,n=this._buffer,r=this._infiniteTimeWindow,o=(r?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!r){for(var i=t.now(),s=0,a=1;a<n.length&&n[a]<=i;a+=2)s=a;s&&n.splice(0,s+1)}},Ye);function Ye(e,t,n){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===n&&(n=Xe);var r=Be.call(this)||this;return r._bufferSize=e,r._windowTime=t,r._timestampProvider=n,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=t===1/0,r._bufferSize=Math.max(1,e),r._windowTime=Math.max(1,t),r}function qe(e,t){var n=$e.call(this)||this;return n.destination=e,n.source=t,n}function Ke(){var e=je.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ze=[],Qe={};const Je=[];function et(r,o=p){let i;const s=[];function a(e){if(n(r,e)&&(r=e,i)){const e=!Je.length;for(let e=0;e<s.length;e+=1){const t=s[e];t[1](),Je.push(t,r)}if(e){for(let e=0;e<Je.length;e+=2)Je[e][0](Je[e+1]);Je.length=0}}}return{set:a,update:function(e){a(e(r))},subscribe:function(e,t=p){const n=[e,t];return s.push(n),1===s.length&&(i=o(a)||p),e(r),()=>{var e=s.indexOf(n);-1!==e&&s.splice(e,1),0===s.length&&(i(),i=null)}}}}function tt(e,a,t){const u=!Array.isArray(e),c=u?[e]:e,l=a.length<2;return{subscribe:et(t,t=>{let n=!1;const r=[];let o=0,i=p;const s=()=>{var e;o||(i(),e=a(u?r[0]:r,t),l?t(e):i=m(e)?e:p)},e=c.map((e,t)=>y(e,e=>{r[t]=e,o&=~(1<<t),n&&s()},()=>{o|=1<<t}));return n=!0,s(),function(){d(e),i()}}).subscribe}}var nt=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===rt));var t},rt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function ot(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ct(Array.isArray(e)?[]:{},e,t):e}function it(e,t,n){return e.concat(t).map(function(e){return ot(e,n)})}function st(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function at(e,t){try{return t in e}catch(e){return!1}}function ut(r,o,i){var s={};return i.isMergeableObject(r)&&st(r).forEach(function(e){s[e]=ot(r[e],i)}),st(o).forEach(function(t){var e,n;(!at(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(at(r,t)&&i.isMergeableObject(o[t])?s[t]=function(){if(!i.customMerge)return ct;var e=i.customMerge(t);return"function"==typeof e?e:ct}()(r[t],o[t],i):s[t]=ot(o[t],i))}),s}function ct(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||it,n.isMergeableObject=n.isMergeableObject||nt,n.cloneUnlessOtherwiseSpecified=ot;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):ut(e,t,n):ot(t,n)}ct.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return ct(e,t,n)},{})};var lt=ct,pt=function(e,t){return(pt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function ht(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}pt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ft,dt,mt,yt=function(){return(yt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function gt(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}function bt(e){return e.type===dt.literal}function Et(e){return e.type===dt.number}function vt(e){return e.type===dt.date}function At(e){return e.type===dt.time}function _t(e){return e.type===dt.select}function wt(e){return e.type===dt.plural}function Pt(e){return e.type===dt.tag}function Tt(e){return e&&"object"==typeof e&&e.type===mt.number}function Mt(e){return e&&"object"==typeof e&&e.type===mt.dateTime}(Ht=ft=ft||{})[Ht.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Ht[Ht.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Ht[Ht.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Ht[Ht.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Ht[Ht.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Ht[Ht.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Ht[Ht.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Ht[Ht.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Ht[Ht.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Ht[Ht.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Ht[Ht.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Ht[Ht.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Ht[Ht.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Ht[Ht.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Ht[Ht.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Ht[Ht.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Ht[Ht.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Ht[Ht.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Ht[Ht.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Ht[Ht.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Ht[Ht.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Ht[Ht.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Ht[Ht.INVALID_TAG=23]="INVALID_TAG",Ht[Ht.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Ht[Ht.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Ht[Ht.UNCLOSED_TAG=27]="UNCLOSED_TAG",(zt=dt=dt||{})[zt.literal=0]="literal",zt[zt.argument=1]="argument",zt[zt.number=2]="number",zt[zt.date=3]="date",zt[zt.time=4]="time",zt[zt.select=5]="select",zt[zt.plural=6]="plural",zt[zt.pound=7]="pound",zt[zt.tag=8]="tag",(Vt=mt=mt||{})[Vt.number=0]="number",Vt[Vt.dateTime=1]="dateTime";var It=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,xt=/(?:[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 Lt,St=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Ot=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ct=/^(@+)?(\+|#+)?$/g,Rt=/(\*)(0+)|(#+)(0+)|(0+)/g,Nt=/^(0+)$/;function Ut(e){var r={};return e.replace(Ct,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function Ft(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 Dt(e){return Ft(e)||{}}function kt(e){for(var s={},t=0,n=e;t<n.length;t++){var r,o=n[t];switch(o.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=o.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=yt(yt(yt({},s),{notation:"scientific"}),o.options.reduce(function(e,t){return yt(yt({},e),Dt(t))},{}));continue;case"engineering":s=yt(yt(yt({},s),{notation:"engineering"}),o.options.reduce(function(e,t){return yt(yt({},e),Dt(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.scale=parseFloat(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Rt,function(e,t,n,r,o,i){if(t)s.minimumIntegerDigits=n.length;else{if(r&&o)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Nt.test(o.stem))s.minimumIntegerDigits=o.stem.length;else if(Ot.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Ot,function(e,t,n,r,o,i){return"*"===n?s.minimumFractionDigits=t.length:r&&"#"===r[0]?s.maximumFractionDigits=r.length:o&&i?(s.minimumFractionDigits=o.length,s.maximumFractionDigits=o.length+i.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""}),o.options.length&&(s=yt(yt({},s),Ut(o.options[0])))}else Ct.test(o.stem)?s=yt(yt({},s),Ut(o.stem)):((r=Ft(o.stem))&&(s=yt(yt({},s),r)),(r=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Nt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(s=yt(yt({},s),r)))}return s}var Gt=new RegExp("^"+It.source+"*"),Bt=new RegExp(It.source+"*$");function $t(e,t){return{start:e,end:t}}var jt=!!String.prototype.startsWith,Ue=!!String.fromCodePoint,ze=!!Object.fromEntries,Ht=!!String.prototype.codePointAt,zt=!!String.prototype.trimStart,Vt=!!String.prototype.trimEnd,Xt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},It=!0;try{It="a"===(null===(Lt=tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Lt?void 0:Lt[0])}catch(p){It=!1}var Wt,Yt,qt=jt?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Kt=Ue?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",o=e.length,i=0;i<o;){if(1114111<(n=e[i++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Zt=ze?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],i=o[0],o=o[1];t[i]=o}return t},Qt=Ht?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var r,o=e.charCodeAt(t);return o<55296||56319<o||t+1===n||(r=e.charCodeAt(t+1))<56320||57343<r?o:r-56320+(o-55296<<10)+65536}},Jt=zt?function(e){return e.trimStart()}:function(e){return e.replace(Gt,"")},en=Vt?function(e){return e.trimEnd()}:function(e){return e.replace(Bt,"")};function tn(e,t){return new RegExp(e,t)}Yt=It?(Wt=tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Wt.lastIndex=t,null!==(e=Wt.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var o=Qt(e,t);if(void 0===o||sn(o)||(33<=(n=o)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(o),t+=65536<=o?2:1}return Kt.apply(void 0,r)};var nn=(rn.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},rn.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var o,i=this.char();if(123===i){if((o=this.parseArgument(e,n)).err)return o;r.push(o.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(ft.UNMATCHED_CLOSING_TAG,$t(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&on(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;r.push(o.val)}else{if((o=this.parseLiteral(e,t)).err)return o;r.push(o.val)}}else{i=this.clonePosition();this.bump(),r.push({type:dt.pound,location:$t(i,this.clonePosition())})}}}return{val:r,err:null}},rn.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:dt.literal,value:"<"+r+"/>",location:$t(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;e=o.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!on(this.char()))return this.error(ft.INVALID_TAG,$t(t,this.clonePosition()));o=this.clonePosition();return r!==this.parseTagName()?this.error(ft.UNMATCHED_CLOSING_TAG,$t(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:dt.tag,value:r,children:e,location:$t(n,this.clonePosition())},err:null}:this.error(ft.INVALID_TAG,$t(t,this.clonePosition())))}return this.error(ft.UNCLOSED_TAG,$t(n,this.clonePosition()))}return this.error(ft.INVALID_TAG,$t(n,this.clonePosition()))},rn.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())},rn.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{o=this.tryParseUnquoted(e,t);if(o)r+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;r+=o}}}n=$t(n,this.clonePosition());return{val:{type:dt.literal,value:r,location:n},err:null}},rn.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(on(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},rn.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Kt.apply(void 0,t)},rn.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Kt(n))},rn.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,$t(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(ft.EMPTY_ARGUMENT,$t(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(ft.MALFORMED_ARGUMENT,$t(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,$t(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:dt.argument,value:r,location:$t(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,$t(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(ft.MALFORMED_ARGUMENT,$t(n,this.clonePosition()))}},rn.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Yt(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:$t(e,this.clonePosition())}},rn.prototype.parseArgumentOptions=function(e,t,n,r){var o,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(ft.EXPECT_ARGUMENT_TYPE,$t(i,a));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(p=en(h.val)).length)return this.error(ft.EXPECT_ARGUMENT_STYLE,$t(this.clonePosition(),this.clonePosition()));u={style:p,styleLocation:$t(c,this.clonePosition())}}if((f=this.tryParseArgumentClose(r)).err)return f;var l=$t(r,this.clonePosition());if(u&&qt(null==u?void 0:u.style,"::",0)){c=Jt(u.style.slice(2));if("number"===s)return(h=this.parseNumberSkeletonFromString(c,u.styleLocation)).err?h:{val:{type:dt.number,value:n,location:l,style:h.val},err:null};if(0===c.length)return this.error(ft.EXPECT_DATE_TIME_SKELETON,l);var p={type:mt.dateTime,pattern:c,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},c.replace(xt,function(e){var t=e.length;switch(e[0]){case"G":o.era=4===t?"long":5===t?"narrow":"short";break;case"y":o.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":o.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":o.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":o.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][t-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][t-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][t-1];break;case"k":o.hourCycle="h24",o.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":o.minute=["numeric","2-digit"][t-1];break;case"s":o.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":o.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""}),o):{}};return{val:{type:"date"===s?dt.date:dt.time,value:n,location:l,style:p},err:null}}return{val:{type:"number"===s?dt.number:"date"===s?dt.date:dt.time,value:n,location:l,style:null!==(l=null==u?void 0:u.style)&&void 0!==l?l:null},err:null};case"plural":case"selectordinal":case"select":u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ft.EXPECT_SELECT_ARGUMENT_OPTIONS,$t(u,yt({},u)));this.bumpSpace();var h,l=this.parseIdentifierIfPossible(),u=0;if("select"!==s&&"offset"===l.value){if(!this.bumpIf(":"))return this.error(ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,$t(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ft.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),l=this.parseIdentifierIfPossible(),u=h.val}l=this.tryParsePluralOrSelectOptions(e,s,t,l);if(l.err)return l;if((f=this.tryParseArgumentClose(r)).err)return f;var f=$t(r,this.clonePosition());return"select"===s?{val:{type:dt.select,value:n,options:Zt(l.val),location:f},err:null}:{val:{type:dt.plural,value:n,options:Zt(l.val),offset:u,pluralType:"plural"===s?"cardinal":"ordinal",location:f},err:null};default:return this.error(ft.INVALID_ARGUMENT_TYPE,$t(i,a))}},rn.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,$t(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},rn.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ft.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,$t(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},rn.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(St).filter(function(e){return 0<e.length});n<r.length;n++){var o=r[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var i=o[0],o=o.slice(1),s=0,a=o;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:o})}return t}(e)}catch(e){return this.error(ft.INVALID_NUMBER_SKELETON,t)}return{val:{type:mt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?kt(n):{}},err:null}},rn.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var o=!1,i=[],s=new Set,a=r.value,u=r.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var l=this.tryParseDecimalInteger(ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,ft.INVALID_PLURAL_ARGUMENT_SELECTOR);if(l.err)return l;u=$t(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===t?ft.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ft.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===a&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ft.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ft.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,$t(this.clonePosition(),this.clonePosition()));l=this.parseMessage(e+1,t,n);if(l.err)return l;c=this.tryParseArgumentClose(p);if(c.err)return c;i.push([a,{value:l.val,location:$t(p,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(p=this.parseIdentifierIfPossible()).value,u=p.location}return 0===i.length?this.error("select"===t?ft.EXPECT_SELECT_ARGUMENT_SELECTOR:ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,$t(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(ft.MISSING_OTHER_CLAUSE,$t(this.clonePosition(),this.clonePosition())):{val:i,err:null}},rn.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,i=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;o=!0,i=10*i+(s-48),this.bump()}r=$t(r,this.clonePosition());return o?Xt(i*=n)?{val:i,err:null}:this.error(t,r):this.error(e,r)},rn.prototype.offset=function(){return this.position.offset},rn.prototype.isEOF=function(){return this.offset()===this.message.length},rn.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},rn.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Qt(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},rn.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},rn.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))},rn.prototype.bumpIf=function(e){if(qt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},rn.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},rn.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},rn.prototype.bumpSpace=function(){for(;!this.isEOF()&&sn(this.char());)this.bump()},rn.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},rn);function rn(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function on(e){return 97<=e&&e<=122||65<=e&&e<=90}function sn(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function an(e,t){t=yt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new nn(e,t).parse();if(n.err){e=SyntaxError(ft[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,_t(e)||wt(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Et(e)&&Tt(e.style)||(vt(e)||At(e))&&Mt(e.style)?delete e.style.location:Pt(e)&&n(e.children)})}(n.val),n.val}function un(e,t){var n=t&&t.cache?t.cache:mn,r=t&&t.serializer?t.serializer:hn;return(t&&t.strategy?t.strategy:function(e,t){return pn(e,this,1===e.length?cn:ln,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function cn(e,t,n,r){var o=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),n=t.get(o);return void 0===n&&(n=e.call(this,r),t.set(o,n)),n}function ln(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),n=t.get(o);return void 0===n&&(n=e.apply(this,r),t.set(o,n)),n}function pn(e,t,n,r,o){return n.bind(t,e,r,o)}var hn=function(){return JSON.stringify(arguments)};function fn(){this.cache=Object.create(null)}fn.prototype.has=function(e){return e in this.cache},fn.prototype.get=function(e){return this.cache[e]},fn.prototype.set=function(e,t){this.cache[e]=t};var dn,mn={create:function(){return new fn}},yn={variadic:function(e,t){return pn(e,this,ln,t.cache.create(),t.serializer)},monadic:function(e,t){return pn(e,this,cn,t.cache.create(),t.serializer)}};(It=dn=dn||{}).MISSING_VALUE="MISSING_VALUE",It.INVALID_VALUE="INVALID_VALUE",It.MISSING_INTL_API="MISSING_INTL_API";var gn,bn,En,vn,An,_n=(ht(Ln,An=Error),Ln.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},Ln),wn=(ht(xn,vn=_n),xn),Pn=(ht(In,En=_n),In),Tn=(ht(Mn,bn=_n),Mn);function Mn(e,t){return bn.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',dn.MISSING_VALUE,t)||this}function In(e,t,n){return En.call(this,'Value for "'+e+'" must be of type '+t,dn.INVALID_VALUE,n)||this}function xn(e,t,n,r){return vn.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',dn.INVALID_VALUE,r)||this}function Ln(e,t,n){e=An.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function Sn(e,t,n,r,o,i,s){if(1===e.length&&bt(e[0]))return[{type:gn.literal,value:e[0].value}];for(var a=[],u=0,c=e;u<c.length;u++){var l=c[u];if(bt(l))a.push({type:gn.literal,value:l.value});else if(l.type===dt.pound)"number"==typeof i&&a.push({type:gn.literal,value:n.getNumberFormat(t).format(i)});else{var p=l.value;if(!(o&&p in o))throw new Tn(p,s);var h=o[p];if(l.type===dt.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?gn.literal:gn.object,value:h});else if(vt(l)){var f="string"==typeof l.style?r.date[l.style]:Mt(l.style)?l.style.parsedOptions:void 0;a.push({type:gn.literal,value:n.getDateTimeFormat(t,f).format(h)})}else if(At(l))f="string"==typeof l.style?r.time[l.style]:Mt(l.style)?l.style.parsedOptions:void 0,a.push({type:gn.literal,value:n.getDateTimeFormat(t,f).format(h)});else if(Et(l))(f="string"==typeof l.style?r.number[l.style]:Tt(l.style)?l.style.parsedOptions:void 0)&&f.scale&&(h*=f.scale||1),a.push({type:gn.literal,value:n.getNumberFormat(t,f).format(h)});else{if(Pt(l)){var d=l.children,m=l.value,p=o[m];if("function"!=typeof p)throw new Pn(m,"function",s);d=p(Sn(d,t,n,r,o,i).map(function(e){return e.value}));Array.isArray(d)||(d=[d]),a.push.apply(a,d.map(function(e){return{type:"string"==typeof e?gn.literal:gn.object,value:e}}))}if(_t(l)){if(!(y=l.options[h]||l.options.other))throw new wn(l.value,h,Object.keys(l.options),s);a.push.apply(a,Sn(y.value,t,n,r,o))}else if(wt(l)){if(!(y=l.options["="+h])){if(!Intl.PluralRules)throw new _n('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',dn.MISSING_INTL_API,s);var d=n.getPluralRules(t,{type:l.pluralType}).select(h-(l.offset||0)),y=l.options[d]||l.options.other}if(!y)throw new wn(l.value,h,Object.keys(l.options),s);a.push.apply(a,Sn(y.value,t,n,r,o,h-(l.offset||0)))}}}}return a.length<2?a:a.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===gn.literal&&t.type===gn.literal?n.value+=t.value:e.push(t),e},[])}function On(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(It=gn=gn||{})[It.literal=0]="literal",It[It.object=1]="object";var Cn=(Object.defineProperty(Rn,"defaultLocale",{get:function(){return Rn.memoizedDefaultLocale||(Rn.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Rn.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Rn.memoizedDefaultLocale=null,Rn.__parse=an,Rn.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"}}},Rn);function Rn(e,t,n,r){var o,i,s=this;if(void 0===t&&(t=Rn.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===gn.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Sn(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof e){if(this.message=e,!Rn.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Rn.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(o=Rn.formats,(i=n)?Object.keys(o).reduce(function(e,t){var n,r;return e[t]=(n=o[t],(r=i[t])?yt(yt(yt({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=yt(yt({},n[t]),r[t]||{}),e},{})):n),e},yt({},o)):o),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:un(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,gt([void 0],t)))},{cache:On((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:yn.variadic}),getDateTimeFormat:un(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,gt([void 0],t)))},{cache:On(r.dateTime),strategy:yn.variadic}),getPluralRules:un(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,gt([void 0],t)))},{cache:On(r.pluralRules),strategy:yn.variadic})}}const Nn={},Un=(t,n)=>{if(null!=n){if(n in Nn&&t in Nn[n])return Nn[n][t];var r,o,i=Zn(n);for(let e=0;e<i.length;e++){var s=(r=i[e],o=t,kn(r)?function(e,t){if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(0<e){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(function(e){return Fn[e]||null}(r),o):null);if(s)return r=t,o=n,(s=s)&&(o in Nn||(Nn[o]={}),r in Nn[o]||(Nn[o][r]=s),s)}}};let Fn;const Dn=et({});function kn(e){return e in Fn}function Gn(t,...n){delete Nn[t],Dn.update(e=>(e[t]=lt.all([e[t]||{},...n]),e))}tt([Dn],([e])=>Object.keys(e)),Dn.subscribe(e=>Fn=e);const Bn={};function $n(e){return Bn[e]}function jn(e){return Zn(e).some(e=>{return null===(e=$n(e))||void 0===e?void 0:e.size})}const Hn={};function zn(e){if(!jn(e))return e in Hn?Hn[e]:void 0;const t=Zn(e).map(e=>{var t=$n(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Hn[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){Bn[e].delete(t),0===Bn[e].size&&delete Bn[e]}(t,e),e().then(e=>e.default||e)))).then(e=>Gn(t,...e))}(e))).then(()=>jn(e)?zn(e):void delete Hn[e]),Hn[e]}function Vn(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n}const Xn={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,ignoreTag:!0};const Wn=et(!1);let Yn;const qn=et(null);function Kn(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Zn(e,t=Xn.fallbackLocale){e=Kn(e);return t?[...new Set([...e,...Kn(t)])]:e}qn.subscribe(e=>{Yn=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Qn=qn.set;qn.set=t=>{if(function(e){if(null!=e){var t=Zn(e);for(let e=0;e<t.length;e++){var n=t[e];if(kn(n))return n}}}(t)&&jn(t)){var{loadingDelay:n}=Xn;let e;return"undefined"!=typeof window&&null!=Yn&&n?e=window.setTimeout(()=>Wn.set(!0),n):Wn.set(!0),zn(t).then(()=>{Qn(t)}).finally(()=>{clearTimeout(e),Wn.set(!1)})}return Qn(t)},qn.update=e=>Qn(e(Yn));const Jn=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},er=(e,t)=>{var{formats:n}=Xn;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},tr=Jn(e=>{var{locale:t,format:n}=e,e=Vn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=er("number",n)),new Intl.NumberFormat(t,e)}),nr=Jn(e=>{var{locale:t,format:n}=e,e=Vn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=er("date",n):0===Object.keys(e).length&&(e=er("date","short")),new Intl.DateTimeFormat(t,e)}),rr=Jn(e=>{var{locale:t,format:n}=e,e=Vn(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=er("time",n):0===Object.keys(e).length&&(e=er("time","short")),new Intl.DateTimeFormat(t,e)}),or=Jn((e,t=Yn)=>new Cn(e,t,Xn.formats,{ignoreTag:Xn.ignoreTag})),ir=tt([qn,Dn],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=Yn,default:o}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=Un(e,r);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else Xn.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${Zn(r).join('", "')}".${jn(Yn)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=o||e;if(!n)return i;let s=i;try{s=or(i,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return s});tt([qn],()=>(e,t)=>((e={})=>{var{locale:t=Yn}=e,e=Vn(e,["locale"]);return rr(Object.assign({locale:t},e))})(t).format(e)),tt([qn],()=>(e,t)=>((e={})=>{var{locale:t=Yn}=e,e=Vn(e,["locale"]);return nr(Object.assign({locale:t},e))})(t).format(e)),tt([qn],()=>(e,t)=>((e={})=>{var{locale:t=Yn}=e,e=Vn(e,["locale"]);return tr(Object.assign({locale:t},e))})(t).format(e)),tt([qn,Dn],()=>(e,t=Yn)=>Un(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ze.indexOf(e)&&(t=new We(t),Qe[e]=t,Ze.push(e)),Qe[e]}};const sr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",ar='<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="20px" height="20px" viewBox="0 0 1280.000000 1216.000000"\npreserveAspectRatio="xMidYMid meet">\n<g transform="translate(0.000000,1216.000000) scale(0.100000,-0.100000)" fill="#fff" stroke="none">\n<path d="M6177 12145 c-48 -8 -350 -84 -670 -170 l-582 -155 -610 0 c-679 0-725 -3 -920 -65 -264 -82 -511 -256 -677 -475 l-49 -65 -287 -76 c-1001 -267\n-1397 -375 -1472 -401 -388 -136 -713 -468 -839 -856 -51 -158 -66 -258 -65-437 1 -112 6 -196 17 -245 8 -41 77 -304 152 -585 267 -998 355 -1327 505\n-1885 83 -311 200 -747 260 -970 60 -223 168 -625 240 -895 72 -269 180 -672 240 -895 60 -223 177 -659 260 -970 83 -311 209 -781 280 -1045 71 -264 160\n-597 199 -740 38 -143 81 -291 95 -329 119 -316 375 -594 681 -742 124 -59 230 -95 355 -121 107 -22 373 -24 475 -4 65 12 684 176 2078 549 l557 150 143\n-38 c78 -22 464 -125 857 -230 393 -105 899 -241 1125 -301 526 -142 533 -143 735 -143 241 0 387 33 605 138 254 122 478 338 608 585 86 163 30 -33 607\n2121 60 223 177 659 260 970 83 311 200 747 260 970 318 1187 597 2228 755 2815 303 1132 415 1555 427 1620 7 39 13 142 13 230 0 221 -36 383 -130 581\n-152 324 -439 583 -775 702 -72 25 -568 160 -1546 421 l-211 56 -61 76 c-183 231 -403 383 -679 469 -183 56 -237 60 -909 60 l-610 0 -545 146 c-299 80\n-584 155 -634 165 -122 27 -396 34 -518 14z m-1127 -1167 c0 -10 -70 -274 -314 -1183 -124 -463 -364 -1358 -517 -1930 -233 -869 -374 -1393 -498 -1857\n-71 -266 -173 -645 -226 -843 -53 -198 -98 -364 -100 -370 -2 -5 -3 1122 -2 2505 l2 2515 22 90 c63 265 185 487 368 670 231 232 511 367 835 404 120 13\n430 13 430 -1z m2140 -127 c47 -10 202 -51 345 -90 224 -60 1099 -295 2790 -747 475 -128 514 -140 632 -194 398 -185 684 -558 769 -1005 23 -122 23 -350\n0 -469 -9 -49 -49 -206 -87 -350 -124 -463 -367 -1368 -499 -1861 -71 -264 -197 -734 -280 -1045 -83 -311 -200 -747 -260 -970 -497 -1855 -508 -1897\n-537 -1970 -126 -317 -382 -592 -686 -735 -182 -86 -331 -123 -528 -132 -239 -10 -190 -21 -1424 310 -776 208 -1457 391 -2045 548 -493 132 -625 176 -750\n249 -407 238 -665 661 -686 1125 -11 228 -11 229 250 1200 76 281 205 762 287 1070 83 308 200 745 260 970 61 226 168 626 239 890 71 264 197 734 280 1045\n83 311 191 714 240 895 48 182 99 359 113 395 35 94 102 223 160 310 63 95 259 290 357 355 159 105 354 185 540 219 119 22 402 15 520 -13z m-4750 -3698\nc0 -1697 -3 -3084 -6 -3081 -3 3 -32 106 -65 229 -133 496 -367 1367 -469 1749 -221 825 -375 1398 -507 1890 -200 743 -185 672 -187 900 -1 156 3 212\n18 279 112 511 459 894 946 1044 119 37 249 75 263 76 4 1 7 -1388 7 -3086z"/>\n<path d="M8960 9889 c-40 -111 -149 -350 -236 -518 -430 -831 -1050 -1573 -1649 -1976 -303 -203 -564 -310 -862 -350 -250 -35 -420 -122 -600 -308 -179\n-185 -305 -425 -369 -702 -27 -113 -27 -404 0 -525 117 -536 530 -939 1063 -1036 115 -20 339 -20 458 1 176 31 368 111 522 217 43 29 124 98 179 154\nl101 100 -55 -105 c-300 -573 -638 -1052 -1021 -1443 -63 -65 -113 -120 -110 -122 2 -2 347 -96 767 -208 536 -144 762 -200 762 -191 0 7 -11 55 -25 106\n-76 289 -135 658 -166 1047 -12 164 -13 753 0 845 5 33 9 47 10 30 2 -56 50 -223 90 -314 182 -424 547 -711 1000 -786 123 -21 364 -16 476 8 461 103 835\n434 979 867 115 346 99 745 -42 1025 -72 144 -133 214 -302 351 -216 172 -367 359 -514 636 -201 378 -351 874 -431 1431 -46 319 -59 516 -59 892 -1 355 8\n505 45 784 10 80 17 146 15 148 -2 2 -13 -24 -26 -58z"/>\n</g>\n</svg>',ur={en:{myAccount:{title:"My Account"},defaultMenuItems:{ProfileInfo:"Profile Info",ChangePassword:"Change Password",ActiveBonuses:"Active Bonuses",GamingHistory:"Gaming History",BonusHistory:"Bonus History",GamingLimits:"Gaming Limits",RealityCheck:"Reality Check",Timeout:"Timeout",SelfExclusion:"Self Exclusion",AccountClosure:"Account Closure",Deposit:"Deposit",Withdrawal:"Withdrawal",PendingWithdrawals:"Pending Withdrawals",TransactionHistory:"Transaction History"}},tr:{myAccount:{title:"Hesabım"},defaultMenuItems:{ProfileInfo:"Profil bilgisi",ChangePassword:"Şifre değiştir",ActiveBonuses:"Aktif Bonuslar",GamingHistory:"Oyun Geçmişi",BonusHistory:"Bonus Geçmişi",GamingLimits:"Oyun Limitleri",RealityCheck:"Gerçeklik kontrolü",Timeout:"Zaman aşımı",SelfExclusion:"Kendini dışlama",AccountClosure:"Hesap kapatma",Deposit:"Depozito",Withdrawal:"Para çekme",PendingWithdrawals:"Bekleyen Para Çekme İşlemleri",TransactionHistory:"Işlem geçmişi"}},ro:{myAccount:{title:"Contul meu"},defaultMenuItems:{ProfileInfo:"Informatii de Profil",ChangePassword:"Schimbati Parola",ActiveBonuses:"Bonusuri Active",GamingHistory:"Istoricul Jocurilor",BonusHistory:"Istoricul Bonusului",GamingLimits:"Limitele Jocurilor",RealityCheck:"Analiză a Realitatii",Timeout:"Pauza",SelfExclusion:"Autoexcluderea",AccountClosure:"Inchiderea contului",Deposit:"Depozit",Withdrawal:"Retragere",PendingWithdrawals:"Retrageri in așteptare",TransactionHistory:"Istoricul tranzactiilor"}}},cr={en:{logout:{logoutButton:"Logout"}},tr:{logout:{logoutButton:"Çıkış Yap"}},ro:{logout:{logoutButton:"Iesire"}}};function lr(n){let r,o,i,s,a,u,c=n[1]("logout.logoutButton")+"";return{c(){r=w("div"),o=w("button"),i=w("span"),s=P(c),M(r,"class","GeneralLogout"),M(r,"part","GeneralLogout")},m(e,t){v(e,r,t),E(r,o),E(o,i),E(i,s),a||(u=b(o,"click",n[9]),a=!0)},p(e,t){2&t&&c!==(c=e[1]("logout.logoutButton")+"")&&x(s,c)},d(e){e&&_(r),a=!1,u()}}}function pr(i){let n,r,o,s,a,u,c,l,p,h,f,d=!i[2]&&function(){let n,r,o=i[1]("logout.logoutButton")+"";return{c(){n=w("span"),r=P(o),M(n,"class","PlayerLogoutText"),M(n,"part","PlayerLogoutText")},m(e,t){v(e,n,t),E(n,r)},p(e,t){2&t&&o!==(o=e[1]("logout.logoutButton")+"")&&x(r,o)},d(e){e&&_(n)}}}();return{c(){n=w("p"),r=w("span"),o=e("svg"),s=e("defs"),a=e("style"),u=P(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emfe-w-color-white, #FFFFFF);}"),c=e("path"),l=e("path"),p=T(),d&&d.c(),M(c,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),M(c,"d","M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"),M(l,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),M(l,"d","M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"),M(o,"id","bbfaf345-72af-4296-bf4b-2fd41fc03d5d"),M(o,"data-name","Layer 1"),M(o,"xmlns","http://www.w3.org/2000/svg"),M(o,"viewBox","0 0 150 150"),g(r,"width",i[2]?i[3].matches?"50px":"24px":"20px"),M(n,"class","PlayerAccountMenuItemBox "+(i[2]?"PlayerAccountMenuItemBoxMobile":"")+" "+(i[3].matches&&i[2]?"PlayerAccountMenuItemBoxTablet":"")),M(n,"part","PlayerAccountMenuItemBox "+(i[2]?"PlayerAccountMenuItemBoxMobile":"")+" "+(i[3].matches&&i[2]?"PlayerAccountMenuItemBoxTablet":""))},m(e,t){v(e,n,t),E(n,r),E(r,o),E(o,s),E(s,a),E(a,u),E(o,c),E(o,l),E(n,p),d&&d.m(n,null),h||(f=b(n,"click",i[8]),h=!0)},p(e,t){e[2]||d.p(e,t)},d(e){e&&_(n),d&&d.d(),h=!1,f()}}}function hr(e){let n;function r(e){return"PlayerAccountMenu"===e[0]?pr:lr}let o=r(e),i=o(e);return{c(){i.c(),n=t(),this.c=p},m(e,t){i.m(e,t),v(e,n,t)},p(e,[t]){o===(o=r(e))&&i?i.p(e,t):(i.d(1),i=o(e),i&&(i.c(),i.m(n.parentNode,n)))},i:p,o:p,d(e){i.d(e),e&&_(n)}}}function fr(t,e,n){let r;A(t,ir,e=>n(1,r=e));let{endpoint:o=""}=e,{session:i=""}=e,{buttonlocation:s=""}=e,{lang:a=""}=e,u=!1,c=window.navigator.userAgent,l="PC"!==sr(c);e=window.matchMedia("(min-width: 768px)");Object.keys(cr).forEach(e=>{Gn(e,cr[e])});const p=()=>{let e=new Headers;e.append("Content-type","application/json"),e.append("X-SessionID",i),fetch(`${o}/player/session/player`,{method:"DELETE",headers:e}).then(e=>{window.postMessage({type:"LogoutSuccessfull"})})};return t.$$set=e=>{"endpoint"in e&&n(5,o=e.endpoint),"session"in e&&n(6,i=e.session),"buttonlocation"in e&&n(0,s=e.buttonlocation),"lang"in e&&n(7,a=e.lang)},t.$$.update=()=>{var e;97&t.$$.dirty&&o&&i&&s&&(o||(error="GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",u=!0,console.error(error)),i||(error="GENERAL-LOGOUT - Session is missing! Please provide a valid session.",u=!0,console.error(error))),128&t.$$.dirty&&a&&(e=a,qn.set(e))},[s,r,l,e,p,o,i,a,()=>p(),()=>p()]}function dr(e,t,n){const r=e.slice();return r[25]=t[n],r}function mr(t){let n,r,o,i,s,a,u,c,l,p,h,f,d=t[8]&&function(){let n,r,o=t[7]("myAccount.title")+"";return{c(){n=w("h3"),r=P(o),M(n,"class","PlayerAccountMenuCategoryTitle"),M(n,"part","PlayerAccountMenuCategoryTitle")},m(e,t){v(e,n,t),E(n,r)},p(e,t){128&t&&o!==(o=e[7]("myAccount.title")+"")&&x(r,o)},d(e){e&&_(n)}}}(),m=t[8]&&function(e){let n,r;return{c(){n=w("div"),r=w("general-logout"),I(r,"endpoint",e[1]),I(r,"session",e[0]),I(r,"buttonlocation","PlayerAccountMenu"),M(n,"class","PlayerAccountLogOutArea"),M(n,"part","PlayerAccountLogOutArea")},m(e,t){v(e,n,t),E(n,r)},p(e,t){2&t&&I(r,"endpoint",e[1]),1&t&&I(r,"session",e[0])},d(e){e&&_(n)}}}(t),y=t[2],g=[];for(let e=0;e<y.length;e+=1)g[e]=br(dr(t,y,e));let b=!t[8]&&function(e){let n,r;return{c(){n=w("div"),r=w("general-logout"),I(r,"endpoint",e[1]),I(r,"session",e[0]),I(r,"buttonlocation","PlayerAccountMenu"),M(n,"class","PlayerAccountLogOutArea"),M(n,"part","PlayerAccountLogOutArea")},m(e,t){v(e,n,t),E(n,r)},p(e,t){2&t&&I(r,"endpoint",e[1]),1&t&&I(r,"session",e[0])},d(e){e&&_(n)}}}(t);return{c(){n=w("div"),r=w("div"),d&&d.c(),o=T(),i=w("p"),s=P(t[5]),a=T(),u=w("p"),c=P(t[6]),l=T(),m&&m.c(),p=T(),h=w("div");for(let e=0;e<g.length;e+=1)g[e].c();f=T(),b&&b.c(),M(i,"class","PlayerAccountMenuUser"),M(i,"part","PlayerAccountMenuUser"),M(u,"class","PlayerAccountMenuEmail"),M(u,"part","PlayerAccountMenuEmail"),M(r,"class","PlayerAccountMenuHeader"),M(r,"part","PlayerAccountMenuHeader"),M(h,"class","PlayerAccountMenuList"),M(h,"part","PlayerAccountMenuList"),M(n,"class","PlayerAccountMenuContainer "+(t[8]?"PlayerAccountMobileContainer":"")+" "+(t[9].matches&&t[8]?"PlayerAccountTabletContainer":"")),M(n,"part","PlayerAccountMenuContainer "+(t[8]?"PlayerAccountMobileContainer":"")+" "+(t[9].matches&&t[8]?"PlayerAccountTabletContainer":""))},m(e,t){v(e,n,t),E(n,r),d&&d.m(r,null),E(r,o),E(r,i),E(i,s),E(r,a),E(r,u),E(u,c),E(r,l),m&&m.m(r,null),E(n,p),E(n,h);for(let e=0;e<g.length;e+=1)g[e].m(h,null);E(n,f),b&&b.m(n,null)},p(t,n){if(t[8]&&d.p(t,n),32&n&&x(s,t[5]),64&n&&x(c,t[6]),t[8]&&m.p(t,n),1820&n){let e;for(y=t[2],e=0;e<y.length;e+=1){var r=dr(t,y,e);g[e]?g[e].p(r,n):(g[e]=br(r),g[e].c(),g[e].m(h,null))}for(;e<g.length;e+=1)g[e].d(1);g.length=y.length}t[8]||b.p(t,n)},d(e){e&&_(n),d&&d.d(),m&&m.d(),function(t,n){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(n)}(g,e),b&&b.d()}}}function yr(e){let n,r;return{c(){n=w("img"),M(n,"class","PlayerAccountMenuItemIcon "+(e[8]?"PlayerAccountMenuItemIconMobile":"")),M(n,"part","PlayerAccountMenuItemIcon "+(e[8]?"PlayerAccountMenuItemIconMobile":"")),n.src!==(r=e[25].img)&&M(n,"src",r)},m(e,t){v(e,n,t)},p(e,t){4&t&&n.src!==(r=e[25].img)&&M(n,"src",r)},d(e){e&&_(n)}}}function gr(e){let n,r=e[25].img+"";return{c(){n=w("span"),g(n,"width",e[8]?e[9].matches?"80px":"30px":"20px"),g(n,"height",e[8]?e[9].matches?"80px":"40px":"20px")},m(e,t){v(e,n,t),n.innerHTML=r},p(e,t){4&t&&r!==(r=e[25].img+"")&&(n.innerHTML=r)},d(e){e&&_(n)}}}function br(n){let r,o,i,s,a,u,c,l,p,h,f=n[25].label+"";function d(e){return e[4]?gr:yr}let m=d(n),y=m(n);function g(){return n[14](n[25])}return{c(){r=w("div"),o=w("p"),y.c(),i=T(),s=w("span"),a=P(f),u=T(),M(s,"class","PlayerAccountMenuItemTitle"),M(s,"part","PlayerAccountMenuItemTitle"),M(o,"class","PlayerAccountMenuItemWrapper"),M(o,"part","PlayerAccountMenuItemWrapper"),M(r,"class",c="PlayerAccountMenuItemBox "+(n[3]!==n[25].id||n[8]?"":"PlayerAccountMenuActiveItemBox")),M(r,"part",l="PlayerAccountMenuItemBox "+(n[3]!==n[25].id||n[8]?"":"PlayerAccountMenuActiveItemBox"))},m(e,t){v(e,r,t),E(r,o),y.m(o,null),E(o,i),E(o,s),E(s,a),E(r,u),p||(h=b(r,"click",g),p=!0)},p(e,t){m===(m=d(n=e))&&y?y.p(n,t):(y.d(1),y=m(n),y&&(y.c(),y.m(o,i))),4&t&&f!==(f=n[25].label+"")&&x(a,f),12&t&&c!==(c="PlayerAccountMenuItemBox "+(n[3]!==n[25].id||n[8]?"":"PlayerAccountMenuActiveItemBox"))&&M(r,"class",c),12&t&&l!==(l="PlayerAccountMenuItemBox "+(n[3]!==n[25].id||n[8]?"":"PlayerAccountMenuActiveItemBox"))&&M(r,"part",l)},d(e){e&&_(r),y.d(),p=!1,h()}}}function Er(e){let n,r=mr(e);return{c(){r.c(),n=t(),this.c=p},m(e,t){r.m(e,t),v(e,n,t)},p(e,[t]){r.p(e,t)},i:p,o:p,d(e){r.d(e),e&&_(n)}}}function vr(n,e,r){let o;A(n,ir,e=>r(7,o=e));let{endpoint:i=""}=e,{session:s=""}=e,{playerid:a=""}=e,{lang:u="en"}=e,{selecteditem:c=""}=e,t=[],l=0,p=window.navigator.userAgent,h="PC"!==sr(p),f=[],d=!0,m="",y="";var g=window.matchMedia("(min-width: 768px)");Object.keys(ur).forEach(e=>{Gn(e,ur[e])});const b=e=>{if(e.data)switch(e.data.type){case"AccountMenuDetails":r(2,t=e.data.accountMenuInfo),r(3,l=t[0].id),E();break;case"UserSessionID":r(0,s=e.data.session)}},E=()=>{t.length?r(4,d=!1):(r(2,t=f),r(4,d=!0))},v=e=>{window.postMessage({type:"ChangeAccountPage",page:e},window.location.href),r(3,l=e.id)};return e=()=>(window.addEventListener("message",b,!1),()=>{window.removeEventListener("message",b)}),function(){if(!L)throw new Error("Function called outside component initialization");return L}().$$.on_mount.push(e),n.$$set=e=>{"endpoint"in e&&r(1,i=e.endpoint),"session"in e&&r(0,s=e.session),"playerid"in e&&r(11,a=e.playerid),"lang"in e&&r(12,u=e.lang),"selecteditem"in e&&r(13,c=e.selecteditem)},n.$$.update=()=>{var e,t;4096&n.$$.dirty&&u&&(t=u,qn.set(t)),6147&n.$$.dirty&&i&&s&&a&&u&&(f=[{id:0,title:o("defaultMenuItems.ProfileInfo"),menu_item_icon:ar},{id:1,title:o("defaultMenuItems.changePassword"),menu_item_icon:ar},{id:2,title:o("defaultMenuItems.activeBonuses"),menu_item_icon:ar},{id:3,title:o("defaultMenuItems.gamingHistory"),menu_item_icon:ar},{id:4,title:o("defaultMenuItems.bonusHistory"),menu_item_icon:ar},{id:5,title:o("defaultMenuItems.gamingLimits"),menu_item_icon:ar},{id:6,title:o("defaultMenuItems.realityCheck"),menu_item_icon:ar},{id:7,title:o("defaultMenuItems.timeout"),menu_item_icon:ar},{id:8,title:o("defaultMenuItems.selfExclusion"),menu_item_icon:ar},{id:9,title:o("defaultMenuItems.accountClosure"),menu_item_icon:ar},{id:1,title:o("defaultMenuItems.deposit"),menu_item_icon:ar},{id:11,title:o("defaultMenuItems.withdrawal"),menu_item_icon:ar},{id:12,title:o("defaultMenuItems.pendingWithdrawals"),menu_item_icon:ar},{id:13,title:o("defaultMenuItems.transactionHistory"),menu_item_icon:ar}],e=new URL(`${i}/player/${a}/profile`),t={method:"GET",headers:{"X-SessionID":s}},fetch(e.href,t).then(e=>e.json()).then(e=>{r(5,m=e.username),r(6,y=e.email)},e=>{console.error(e)})),8192&n.$$.dirty&&c&&r(3,l=c)},[s,i,t,l,d,m,y,o,h,g,v,a,u,c,e=>v(e)]}customElements.get("general-logout")||customElements.define("general-logout",class extends l{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emfe-w-color-white, #FFFFFF)}.PlayerAccountMenuItemBox svg{fill:var(--emfe-w-color-white, #FFFFFF)}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emfe-w-color-white, #FFFFFF)}</style>",c(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},fr,hr,n,{endpoint:5,session:6,buttonlocation:0,lang:7}),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","session","buttonlocation","lang"]}get endpoint(){return this.$$.ctx[5]}set endpoint(e){this.$set({endpoint:e}),U()}get session(){return this.$$.ctx[6]}set session(e){this.$set({session:e}),U()}get buttonlocation(){return this.$$.ctx[0]}set buttonlocation(e){this.$set({buttonlocation:e}),U()}get lang(){return this.$$.ctx[7]}set lang(e){this.$set({lang:e}),U()}});class Ar extends l{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerAccountMenuContainer{color:var(--emfe-w-color-white, #FFFFFF);position:relative;height:100vh;display:flex;flex-direction:column}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{color:var(--emfe-w-color-white, #FFFFFF);flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emfe-w-color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList{flex-grow:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emfe-w-color-gray-100, #E6E6E6) var(--emfe-w-color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-100, #E6E6E6)}.PlayerAccountLogOutArea{background:var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-white, #FFFFFF);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.PlayerAccountMobileContainer{height:unset;color:var(--emfe-w-color-contrast, #07072A)}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin-top:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emfe-w-color-primary, #D0046C);border-bottom:1px solid var(--emfe-w-color-primary, #D0046C)}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;color:var(--emfe-w-color-white, #FFFFFF)}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}</style>",c(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},vr,Er,n,{endpoint:1,session:0,playerid:11,lang:12,selecteditem:13}),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","session","playerid","lang","selecteditem"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$set({endpoint:e}),U()}get session(){return this.$$.ctx[0]}set session(e){this.$set({session:e}),U()}get playerid(){return this.$$.ctx[11]}set playerid(e){this.$set({playerid:e}),U()}get lang(){return this.$$.ctx[12]}set lang(e){this.$set({lang:e}),U()}get selecteditem(){return this.$$.ctx[13]}set selecteditem(e){this.$set({selecteditem:e}),U()}}return customElements.get("player-account-menu")||customElements.define("player-account-menu",Ar),Ar});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function p(){}function h(e){return e()}function f(){return Object.create(null)}function v(e){e.forEach(h)}function d(e){return"function"==typeof e}function r(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function m(e,...t){if(null==e)return p;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function _(e,t,r){e.$$.on_destroy.push(m(t,r))}function E(e,t){e.appendChild(t)}function A(e,t,r){e.insertBefore(t,r||null)}function w(e){e.parentNode.removeChild(e)}function P(e){return document.createElement(e)}function e(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function T(e){return document.createTextNode(e)}function M(){return T(" ")}function t(){return T("")}function I(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function x(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function L(e,t,r){t in e?e[t]=r:x(e,t,r)}function S(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function y(e,t,r,n){e.style.setProperty(t,r,n?"important":"")}function n(e){const t={};for(const r of e)t[r.name]=r.value;return t}let O;function g(e){O=e}const b=[],o=[],i=[],s=[],C=Promise.resolve();let R=!1;function N(e){i.push(e)}let a=!1;const u=new Set;function U(){if(!a){a=!0;do{for(let e=0;e<b.length;e+=1){var t=b[e];g(t),function(e){{var t;null!==e.fragment&&(e.update(),v(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(N))}}(t.$$)}for(g(null),b.length=0;o.length;)o.pop()();for(let e=0;e<i.length;e+=1){const r=i[e];u.has(r)||(u.add(r),r())}}while(i.length=0,b.length);for(;s.length;)s.pop()();R=!1,a=!1,u.clear()}}const F=new Set;function c(n,e,t,r,o,i,s=[-1]){var a,u=O;g(n);const c=n.$$={fragment:null,ctx:null,props:i,update:p,not_equal:o,bound:f(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(u?u.$$.context:e.context||[]),callbacks:f(),dirty:s,skip_bound:!1};let l=!1;if(c.ctx=t?t(n,e.props||{},(e,t,...r)=>{r=r.length?r[0]:t;return c.ctx&&o(c.ctx[e],c.ctx[e]=r)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](r),l&&(r=e,-1===(e=n).$$.dirty[0]&&(b.push(e),R||(R=!0,C.then(U)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],c.update(),l=!0,v(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){const p=(r=e.target,Array.from(r.childNodes));c.fragment&&c.fragment.l(p),p.forEach(w)}else c.fragment&&c.fragment.c();e.intro&&(a=n.$$.fragment)&&a.i&&(F.delete(a),a.i(void 0)),function(t,e,r,n){const{fragment:o,on_mount:i,on_destroy:s,after_update:a}=t.$$;o&&o.m(e,r),n||N(()=>{var e=i.map(h).filter(d);s?s.push(...e):v(e),t.$$.on_mount=[]}),a.forEach(N)}(n,e.target,e.anchor,e.customElement),U()}g(u)}let l;"function"==typeof HTMLElement&&(l=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(h).filter(d);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){v(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(v(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=p}$on(e,t){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 D,k,G="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==G&&G,B="URLSearchParams"in G,$="Symbol"in G&&"iterator"in Symbol,j="FileReader"in G&&"Blob"in G&&function(){try{return new Blob,!0}catch(e){return!1}}(),H="FormData"in G,V="ArrayBuffer"in G;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 X(e){return e="string"!=typeof e?String(e):e}function W(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return $&&(e[Symbol.iterator]=function(){return e}),e}function Y(t){this.map={},t instanceof Y?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function q(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function K(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function Z(e){var t=new FileReader,r=K(t);return t.readAsArrayBuffer(e),r}function Q(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function J(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:j&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:H&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:B&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():V&&j&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=Q(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):V&&(ArrayBuffer.prototype.isPrototypeOf(e)||k(e))?this._bodyArrayBuffer=Q(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):B&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},j&&(this.blob=function(){var e=q(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?q(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(Z)}),this.text=function(){var e,t,r=q(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,r=K(t=new FileReader),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},H&&(this.formData=function(){return this.text().then(re)}),this.json=function(){return this.text().then(JSON.parse)},this}V&&(D=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],k=ArrayBuffer.isView||function(e){return e&&-1<D.indexOf(Object.prototype.toString.call(e))}),Y.prototype.append=function(e,t){e=z(e),t=X(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},Y.prototype.delete=function(e){delete this.map[z(e)]},Y.prototype.get=function(e){return e=z(e),this.has(e)?this.map[e]:null},Y.prototype.has=function(e){return this.map.hasOwnProperty(z(e))},Y.prototype.set=function(e,t){this.map[z(e)]=X(t)},Y.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},Y.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),W(r)},Y.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),W(t)},Y.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),W(r)},$&&(Y.prototype[Symbol.iterator]=Y.prototype.entries);var ee=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function te(e,t){if(!(this instanceof te))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n=(t=t||{}).body;if(e instanceof te){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Y(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new Y(t.headers)),this.method=(e=(r=t.method||this.method||"GET").toUpperCase(),-1<ee.indexOf(e)?e:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function re(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),r.append(decodeURIComponent(e),decodeURIComponent(t)))}),r}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.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new Y(t.headers),this.url=t.url||"",this._initBody(e)}te.prototype.clone=function(){return new te(this,{body:this._bodyInit})},J.call(te.prototype),J.call(ne.prototype),ne.prototype.clone=function(){return new ne(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Y(this.headers),url:this.url})},ne.error=function(){var e=new ne(null,{status:0,statusText:""});return e.type="error",e};var oe=[301,302,303,307,308];ne.redirect=function(e,t){if(-1===oe.indexOf(t))throw new RangeError("Invalid status code");return new ne(null,{status:t,headers:{location:e}})};var ie=G.DOMException;try{new ie}catch(p){(ie=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),ie.prototype.constructor=ie}function se(n,s){return new Promise(function(o,e){var t=new te(n,s);if(t.signal&&t.signal.aborted)return e(new ie("Aborted","AbortError"));var i=new XMLHttpRequest;function r(){i.abort()}i.onload=function(){var e,r,t={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",r=new Y,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),r.append(e,t))}),r)};t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL");var n="response"in i?i.response:i.responseText;setTimeout(function(){o(new ne(n,t))},0)},i.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){e(new ie("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&G.location.href?G.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?i.withCredentials=!0:"omit"===t.credentials&&(i.withCredentials=!1),"responseType"in i&&(j?i.responseType="blob":V&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof Y?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){i.setRequestHeader(e,X(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),i.onreadystatechange=function(){4===i.readyState&&t.signal.removeEventListener("abort",r)}),i.send(void 0===t._bodyInit?null:t._bodyInit)})}se.polyfill=!0,G.fetch||(G.fetch=se,G.Headers=Y,G.Request=te,G.Response=ne),self.fetch.bind(self);var ae=function(e,t){return(ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function ue(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}ae(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function ce(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&n>=e.length?void 0:e)&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function le(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(n=i.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function pe(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e}function he(e){return"function"==typeof e}function fe(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 de=fe(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 me(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var ye=(be.prototype.unsubscribe=function(){var e,t,r,n,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=ce(i),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else i.remove(this);i=this.initialTeardown;if(he(i))try{i()}catch(e){o=e instanceof de?e.errors:[e]}i=this._teardowns;if(i){this._teardowns=null;try{for(var u=ce(i),c=u.next();!c.done;c=u.next()){var l=c.value;try{Ee(l)}catch(e){o=null!=o?o:[],e instanceof de?o=pe(pe([],le(o)),le(e.errors)):o.push(e)}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}}if(o)throw new de(o)}},be.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Ee(e);else{if(e instanceof be){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},be.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},be.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},be.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&me(t,e)},be.prototype.remove=function(e){var t=this._teardowns;t&&me(t,e),e instanceof be&&e._removeParent(this)},be.EMPTY=((jt=new be).closed=!0,jt),be),ge=ye.EMPTY;function be(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function ve(e){return e instanceof ye||e&&"closed"in e&&he(e.remove)&&he(e.add)&&he(e.unsubscribe)}function Ee(e){he(e)?e():e.unsubscribe()}var Ae=void 0,_e=!1,we=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,pe([],le(e)))};function Pe(){}function Te(e){e()}var Me,Ie,xe=(ue(Oe,Ie=ye),Oe.create=function(e,t,r){return new Le(e,t,r)},Oe.prototype.next=function(e){this.isStopped||this._next(e)},Oe.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Oe.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Oe.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Ie.prototype.unsubscribe.call(this),this.destination=null)},Oe.prototype._next=function(e){this.destination.next(e)},Oe.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Oe.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Oe),Le=(ue(Se,Me=xe),Se);function Se(e,t,r){var n,o,i=Me.call(this)||this;return he(e)?o=e:e&&(o=e.next,t=e.error,r=e.complete,i&&_e?(n=Object.create(e)).unsubscribe=function(){return i.unsubscribe()}:n=e,o=null==o?void 0:o.bind(n),t=null==t?void 0:t.bind(n),r=null==r?void 0:r.bind(n)),i.destination={next:o?Ce(o):Pe,error:Ce(null!=t?t:Re),complete:r?Ce(r):Pe},i}function Oe(e){var t=Ie.call(this)||this;return t.isStopped=!1,e?ve(t.destination=e)&&e.add(t):t.destination=Ne,t}function Ce(n){return function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];try{n.apply(void 0,pe([],le(e)))}catch(e){t=e,we(function(){throw t})}}}function Re(e){throw e}var Ne={closed:!0,next:Pe,error:Re,complete:Pe},Ue="function"==typeof Symbol&&Symbol.observable||"@@observable";function Fe(e){return e}var De=(ke.prototype.lift=function(e){var t=new ke;return t.source=this,t.operator=e,t},ke.prototype.subscribe=function(e,t,r){var n,o=this,i=(n=e)&&n instanceof xe||n&&he(n.next)&&he(n.error)&&he(n.complete)&&ve(n)?e:new Le(e,t,r);return Te(function(){var e=o.operator,t=o.source;i.add(e?e.call(i,t):t?o._subscribe(i):o._trySubscribe(i))}),i},ke.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},ke.prototype.forEach=function(n,e){var o=this;return new(e=Ge(e))(function(e,t){var r=o.subscribe(function(e){try{n(e)}catch(e){t(e),null==r||r.unsubscribe()}},t,e)})},ke.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},ke.prototype[Ue]=function(){return this},ke.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?Fe:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},ke.prototype.toPromise=function(e){var n=this;return new(e=Ge(e))(function(e,t){var r;n.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},ke.create=function(e){return new ke(e)},ke);function ke(e){e&&(this._subscribe=e)}function Ge(e){return null!==(e=null!=e?e:Ae)&&void 0!==e?e:Promise}var Be,$e,je,He=fe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ve=(ue(Ke,je=De),Ke.prototype.lift=function(e){var t=new ze(this,this);return t.operator=e,t},Ke.prototype._throwIfClosed=function(){if(this.closed)throw new He},Ke.prototype.next=function(i){var s=this;Te(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){var r=s.observers.slice();try{for(var n=ce(r),o=n.next();!o.done;o=n.next())o.value.next(i)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},Ke.prototype.error=function(t){var r=this;Te(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)}})},Ke.prototype.complete=function(){var t=this;Te(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Ke.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(Ke.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),Ke.prototype._trySubscribe=function(e){return this._throwIfClosed(),je.prototype._trySubscribe.call(this,e)},Ke.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Ke.prototype._innerSubscribe=function(e){var t=this.hasError,r=this.isStopped,n=this.observers;return t||r?ge:(n.push(e),new ye(function(){return me(n,e)}))},Ke.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,n=this.isStopped;t?e.error(r):n&&e.complete()},Ke.prototype.asObservable=function(){var e=new De;return e.source=this,e},Ke.create=function(e,t){return new ze(e,t)},Ke),ze=(ue(qe,$e=Ve),qe.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},qe.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},qe.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},qe.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:ge},qe),Xe={now:function(){return(Xe.delegate||Date).now()},delegate:void 0},We=(ue(Ye,Be=Ve),Ye.prototype.next=function(e){var t=this,r=t.isStopped,n=t._buffer,o=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;r||(n.push(e),o||n.push(i.now()+t)),this._trimBuffer(),Be.prototype.next.call(this,e)},Ye.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),o=0;o<n.length&&!e.closed;o+=r?1:2)e.next(n[o]);return this._checkFinalizedStatuses(e),t},Ye.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,n=this._infiniteTimeWindow,o=(n?1:2)*e;if(e<1/0&&o<r.length&&r.splice(0,r.length-o),!n){for(var i=t.now(),s=0,a=1;a<r.length&&r[a]<=i;a+=2)s=a;s&&r.splice(0,s+1)}},Ye);function Ye(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=Xe);var n=Be.call(this)||this;return n._bufferSize=e,n._windowTime=t,n._timestampProvider=r,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=t===1/0,n._bufferSize=Math.max(1,e),n._windowTime=Math.max(1,t),n}function qe(e,t){var r=$e.call(this)||this;return r.destination=e,r.source=t,r}function Ke(){var e=je.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ze=[],Qe={};const Je=[];function et(n,o=p){let i;const s=[];function a(e){if(r(n,e)&&(n=e,i)){const e=!Je.length;for(let e=0;e<s.length;e+=1){const t=s[e];t[1](),Je.push(t,n)}if(e){for(let e=0;e<Je.length;e+=2)Je[e][0](Je[e+1]);Je.length=0}}}return{set:a,update:function(e){a(e(n))},subscribe:function(e,t=p){const r=[e,t];return s.push(r),1===s.length&&(i=o(a)||p),e(n),()=>{var e=s.indexOf(r);-1!==e&&s.splice(e,1),0===s.length&&(i(),i=null)}}}}function tt(e,a,t){const u=!Array.isArray(e),c=u?[e]:e,l=a.length<2;return{subscribe:et(t,t=>{let r=!1;const n=[];let o=0,i=p;const s=()=>{var e;o||(i(),e=a(u?n[0]:n,t),l?t(e):i=d(e)?e:p)},e=c.map((e,t)=>m(e,e=>{n[t]=e,o&=~(1<<t),r&&s()},()=>{o|=1<<t}));return r=!0,s(),function(){v(e),i()}}).subscribe}}var rt=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===nt));var t},nt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function ot(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ct(Array.isArray(e)?[]:{},e,t):e}function it(e,t,r){return e.concat(t).map(function(e){return ot(e,r)})}function st(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function at(e,t){try{return t in e}catch(e){return!1}}function ut(n,o,i){var s={};return i.isMergeableObject(n)&&st(n).forEach(function(e){s[e]=ot(n[e],i)}),st(o).forEach(function(t){var e,r;(!at(e=n,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(at(n,t)&&i.isMergeableObject(o[t])?s[t]=function(){if(!i.customMerge)return ct;var e=i.customMerge(t);return"function"==typeof e?e:ct}()(n[t],o[t],i):s[t]=ot(o[t],i))}),s}function ct(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||it,r.isMergeableObject=r.isMergeableObject||rt,r.cloneUnlessOtherwiseSpecified=ot;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):ut(e,t,r):ot(t,r)}ct.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return ct(e,t,r)},{})};var lt=ct,pt=function(e,t){return(pt=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 ht(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}pt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var ft,dt,mt,yt=function(){return(yt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function gt(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e}function bt(e){return e.type===dt.literal}function vt(e){return e.type===dt.number}function Et(e){return e.type===dt.date}function At(e){return e.type===dt.time}function _t(e){return e.type===dt.select}function wt(e){return e.type===dt.plural}function Pt(e){return e.type===dt.tag}function Tt(e){return e&&"object"==typeof e&&e.type===mt.number}function Mt(e){return e&&"object"==typeof e&&e.type===mt.dateTime}(Ht=ft=ft||{})[Ht.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Ht[Ht.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Ht[Ht.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Ht[Ht.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Ht[Ht.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Ht[Ht.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Ht[Ht.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Ht[Ht.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Ht[Ht.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Ht[Ht.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Ht[Ht.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Ht[Ht.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Ht[Ht.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Ht[Ht.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Ht[Ht.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Ht[Ht.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Ht[Ht.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Ht[Ht.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Ht[Ht.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Ht[Ht.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Ht[Ht.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Ht[Ht.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Ht[Ht.INVALID_TAG=23]="INVALID_TAG",Ht[Ht.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Ht[Ht.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Ht[Ht.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Vt=dt=dt||{})[Vt.literal=0]="literal",Vt[Vt.argument=1]="argument",Vt[Vt.number=2]="number",Vt[Vt.date=3]="date",Vt[Vt.time=4]="time",Vt[Vt.select=5]="select",Vt[Vt.plural=6]="plural",Vt[Vt.pound=7]="pound",Vt[Vt.tag=8]="tag",(zt=mt=mt||{})[zt.number=0]="number",zt[zt.dateTime=1]="dateTime";var It=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,xt=/(?:[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 Lt,St=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Ot=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ct=/^(@+)?(\+|#+)?$/g,Rt=/(\*)(0+)|(#+)(0+)|(0+)/g,Nt=/^(0+)$/;function Ut(e){var n={};return e.replace(Ct,function(e,t,r){return"string"!=typeof r?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===r?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),n}function Ft(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 Dt(e){return Ft(e)||{}}function kt(e){for(var s={},t=0,r=e;t<r.length;t++){var n,o=r[t];switch(o.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=o.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=yt(yt(yt({},s),{notation:"scientific"}),o.options.reduce(function(e,t){return yt(yt({},e),Dt(t))},{}));continue;case"engineering":s=yt(yt(yt({},s),{notation:"engineering"}),o.options.reduce(function(e,t){return yt(yt({},e),Dt(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.scale=parseFloat(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Rt,function(e,t,r,n,o,i){if(t)s.minimumIntegerDigits=r.length;else{if(n&&o)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Nt.test(o.stem))s.minimumIntegerDigits=o.stem.length;else if(Ot.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Ot,function(e,t,r,n,o,i){return"*"===r?s.minimumFractionDigits=t.length:n&&"#"===n[0]?s.maximumFractionDigits=n.length:o&&i?(s.minimumFractionDigits=o.length,s.maximumFractionDigits=o.length+i.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""}),o.options.length&&(s=yt(yt({},s),Ut(o.options[0])))}else Ct.test(o.stem)?s=yt(yt({},s),Ut(o.stem)):((n=Ft(o.stem))&&(s=yt(yt({},s),n)),(n=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Nt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(s=yt(yt({},s),n)))}return s}var Gt=new RegExp("^"+It.source+"*"),Bt=new RegExp(It.source+"*$");function $t(e,t){return{start:e,end:t}}var jt=!!String.prototype.startsWith,Ue=!!String.fromCodePoint,Ve=!!Object.fromEntries,Ht=!!String.prototype.codePointAt,Vt=!!String.prototype.trimStart,zt=!!String.prototype.trimEnd,Xt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},It=!0;try{It="a"===(null===(Lt=tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Lt?void 0:Lt[0])}catch(p){It=!1}var Wt,Yt,qt=jt?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Kt=Ue?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",o=e.length,i=0;i<o;){if(1114111<(r=e[i++]))throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Zt=Ve?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r],i=o[0],o=o[1];t[i]=o}return t},Qt=Ht?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||r<=t)){var n,o=e.charCodeAt(t);return o<55296||56319<o||t+1===r||(n=e.charCodeAt(t+1))<56320||57343<n?o:n-56320+(o-55296<<10)+65536}},Jt=Vt?function(e){return e.trimStart()}:function(e){return e.replace(Gt,"")},er=zt?function(e){return e.trimEnd()}:function(e){return e.replace(Bt,"")};function tr(e,t){return new RegExp(e,t)}Yt=It?(Wt=tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Wt.lastIndex=t,null!==(e=Wt.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var r,n=[];;){var o=Qt(e,t);if(void 0===o||ir(o)||(33<=(r=o)&&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;n.push(o),t+=65536<=o?2:1}return Kt.apply(void 0,n)};var rr=(nr.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},nr.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var o,i=this.char();if(123===i){if((o=this.parseArgument(e,r)).err)return o;n.push(o.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(ft.UNMATCHED_CLOSING_TAG,$t(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&or(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{i=this.clonePosition();this.bump(),n.push({type:dt.pound,location:$t(i,this.clonePosition())})}}}return{val:n,err:null}},nr.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:dt.literal,value:"<"+n+"/>",location:$t(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;e=o.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!or(this.char()))return this.error(ft.INVALID_TAG,$t(t,this.clonePosition()));o=this.clonePosition();return n!==this.parseTagName()?this.error(ft.UNMATCHED_CLOSING_TAG,$t(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:dt.tag,value:n,children:e,location:$t(r,this.clonePosition())},err:null}:this.error(ft.INVALID_TAG,$t(t,this.clonePosition())))}return this.error(ft.UNCLOSED_TAG,$t(r,this.clonePosition()))}return this.error(ft.INVALID_TAG,$t(r,this.clonePosition()))},nr.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())},nr.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(t);if(o)n+=o;else{o=this.tryParseUnquoted(e,t);if(o)n+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;n+=o}}}r=$t(r,this.clonePosition());return{val:{type:dt.literal,value:n,location:r},err:null}},nr.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(or(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},nr.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 Kt.apply(void 0,t)},nr.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),Kt(r))},nr.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,$t(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(ft.EMPTY_ARGUMENT,$t(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(ft.MALFORMED_ARGUMENT,$t(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,$t(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:dt.argument,value:n,location:$t(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,$t(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(ft.MALFORMED_ARGUMENT,$t(r,this.clonePosition()))}},nr.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Yt(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:$t(e,this.clonePosition())}},nr.prototype.parseArgumentOptions=function(e,t,r,n){var o,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(ft.EXPECT_ARGUMENT_TYPE,$t(i,a));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(p=er(h.val)).length)return this.error(ft.EXPECT_ARGUMENT_STYLE,$t(this.clonePosition(),this.clonePosition()));u={style:p,styleLocation:$t(c,this.clonePosition())}}if((f=this.tryParseArgumentClose(n)).err)return f;var l=$t(n,this.clonePosition());if(u&&qt(null==u?void 0:u.style,"::",0)){c=Jt(u.style.slice(2));if("number"===s)return(h=this.parseNumberSkeletonFromString(c,u.styleLocation)).err?h:{val:{type:dt.number,value:r,location:l,style:h.val},err:null};if(0===c.length)return this.error(ft.EXPECT_DATE_TIME_SKELETON,l);var p={type:mt.dateTime,pattern:c,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},c.replace(xt,function(e){var t=e.length;switch(e[0]){case"G":o.era=4===t?"long":5===t?"narrow":"short";break;case"y":o.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":o.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":o.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":o.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][t-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][t-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][t-1];break;case"k":o.hourCycle="h24",o.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":o.minute=["numeric","2-digit"][t-1];break;case"s":o.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":o.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""}),o):{}};return{val:{type:"date"===s?dt.date:dt.time,value:r,location:l,style:p},err:null}}return{val:{type:"number"===s?dt.number:"date"===s?dt.date:dt.time,value:r,location:l,style:null!==(l=null==u?void 0:u.style)&&void 0!==l?l:null},err:null};case"plural":case"selectordinal":case"select":u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ft.EXPECT_SELECT_ARGUMENT_OPTIONS,$t(u,yt({},u)));this.bumpSpace();var h,l=this.parseIdentifierIfPossible(),u=0;if("select"!==s&&"offset"===l.value){if(!this.bumpIf(":"))return this.error(ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,$t(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(ft.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ft.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),l=this.parseIdentifierIfPossible(),u=h.val}l=this.tryParsePluralOrSelectOptions(e,s,t,l);if(l.err)return l;if((f=this.tryParseArgumentClose(n)).err)return f;var f=$t(n,this.clonePosition());return"select"===s?{val:{type:dt.select,value:r,options:Zt(l.val),location:f},err:null}:{val:{type:dt.plural,value:r,options:Zt(l.val),offset:u,pluralType:"plural"===s?"cardinal":"ordinal",location:f},err:null};default:return this.error(ft.INVALID_ARGUMENT_TYPE,$t(i,a))}},nr.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(ft.EXPECT_ARGUMENT_CLOSING_BRACE,$t(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},nr.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(ft.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,$t(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}},nr.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,n=e.split(St).filter(function(e){return 0<e.length});r<n.length;r++){var o=n[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var i=o[0],o=o.slice(1),s=0,a=o;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:o})}return t}(e)}catch(e){return this.error(ft.INVALID_NUMBER_SKELETON,t)}return{val:{type:mt.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?kt(r):{}},err:null}},nr.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var o=!1,i=[],s=new Set,a=n.value,u=n.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var l=this.tryParseDecimalInteger(ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,ft.INVALID_PLURAL_ARGUMENT_SELECTOR);if(l.err)return l;u=$t(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===t?ft.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ft.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===a&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ft.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ft.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,$t(this.clonePosition(),this.clonePosition()));l=this.parseMessage(e+1,t,r);if(l.err)return l;c=this.tryParseArgumentClose(p);if(c.err)return c;i.push([a,{value:l.val,location:$t(p,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(p=this.parseIdentifierIfPossible()).value,u=p.location}return 0===i.length?this.error("select"===t?ft.EXPECT_SELECT_ARGUMENT_SELECTOR:ft.EXPECT_PLURAL_ARGUMENT_SELECTOR,$t(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(ft.MISSING_OTHER_CLAUSE,$t(this.clonePosition(),this.clonePosition())):{val:i,err:null}},nr.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,i=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;o=!0,i=10*i+(s-48),this.bump()}n=$t(n,this.clonePosition());return o?Xt(i*=r)?{val:i,err:null}:this.error(t,n):this.error(e,n)},nr.prototype.offset=function(){return this.position.offset},nr.prototype.isEOF=function(){return this.offset()===this.message.length},nr.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},nr.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Qt(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},nr.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},nr.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))},nr.prototype.bumpIf=function(e){if(qt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},nr.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},nr.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},nr.prototype.bumpSpace=function(){for(;!this.isEOF()&&ir(this.char());)this.bump()},nr.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},nr);function nr(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function or(e){return 97<=e&&e<=122||65<=e&&e<=90}function ir(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function sr(e,t){t=yt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r=new rr(e,t).parse();if(r.err){e=SyntaxError(ft[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,_t(e)||wt(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else vt(e)&&Tt(e.style)||(Et(e)||At(e))&&Mt(e.style)?delete e.style.location:Pt(e)&&r(e.children)})}(r.val),r.val}function ar(e,t){var r=t&&t.cache?t.cache:dr,n=t&&t.serializer?t.serializer:pr;return(t&&t.strategy?t.strategy:function(e,t){return lr(e,this,1===e.length?ur:cr,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function ur(e,t,r,n){var o=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),r=t.get(o);return void 0===r&&(r=e.call(this,n),t.set(o,r)),r}function cr(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),r=t.get(o);return void 0===r&&(r=e.apply(this,n),t.set(o,r)),r}function lr(e,t,r,n,o){return r.bind(t,e,n,o)}var pr=function(){return JSON.stringify(arguments)};function hr(){this.cache=Object.create(null)}hr.prototype.has=function(e){return e in this.cache},hr.prototype.get=function(e){return this.cache[e]},hr.prototype.set=function(e,t){this.cache[e]=t};var fr,dr={create:function(){return new hr}},mr={variadic:function(e,t){return lr(e,this,cr,t.cache.create(),t.serializer)},monadic:function(e,t){return lr(e,this,ur,t.cache.create(),t.serializer)}};(It=fr=fr||{}).MISSING_VALUE="MISSING_VALUE",It.INVALID_VALUE="INVALID_VALUE",It.MISSING_INTL_API="MISSING_INTL_API";var yr,gr,br,vr,Er,Ar=(ht(xr,Er=Error),xr.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},xr),_r=(ht(Ir,vr=Ar),Ir),wr=(ht(Mr,br=Ar),Mr),Pr=(ht(Tr,gr=Ar),Tr);function Tr(e,t){return gr.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',fr.MISSING_VALUE,t)||this}function Mr(e,t,r){return br.call(this,'Value for "'+e+'" must be of type '+t,fr.INVALID_VALUE,r)||this}function Ir(e,t,r,n){return vr.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(r).join('", "')+'"',fr.INVALID_VALUE,n)||this}function xr(e,t,r){e=Er.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Lr(e,t,r,n,o,i,s){if(1===e.length&&bt(e[0]))return[{type:yr.literal,value:e[0].value}];for(var a=[],u=0,c=e;u<c.length;u++){var l=c[u];if(bt(l))a.push({type:yr.literal,value:l.value});else if(l.type===dt.pound)"number"==typeof i&&a.push({type:yr.literal,value:r.getNumberFormat(t).format(i)});else{var p=l.value;if(!(o&&p in o))throw new Pr(p,s);var h=o[p];if(l.type===dt.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?yr.literal:yr.object,value:h});else if(Et(l)){var f="string"==typeof l.style?n.date[l.style]:Mt(l.style)?l.style.parsedOptions:void 0;a.push({type:yr.literal,value:r.getDateTimeFormat(t,f).format(h)})}else if(At(l))f="string"==typeof l.style?n.time[l.style]:Mt(l.style)?l.style.parsedOptions:void 0,a.push({type:yr.literal,value:r.getDateTimeFormat(t,f).format(h)});else if(vt(l))(f="string"==typeof l.style?n.number[l.style]:Tt(l.style)?l.style.parsedOptions:void 0)&&f.scale&&(h*=f.scale||1),a.push({type:yr.literal,value:r.getNumberFormat(t,f).format(h)});else{if(Pt(l)){var d=l.children,m=l.value,p=o[m];if("function"!=typeof p)throw new wr(m,"function",s);d=p(Lr(d,t,r,n,o,i).map(function(e){return e.value}));Array.isArray(d)||(d=[d]),a.push.apply(a,d.map(function(e){return{type:"string"==typeof e?yr.literal:yr.object,value:e}}))}if(_t(l)){if(!(y=l.options[h]||l.options.other))throw new _r(l.value,h,Object.keys(l.options),s);a.push.apply(a,Lr(y.value,t,r,n,o))}else if(wt(l)){if(!(y=l.options["="+h])){if(!Intl.PluralRules)throw new Ar('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',fr.MISSING_INTL_API,s);var d=r.getPluralRules(t,{type:l.pluralType}).select(h-(l.offset||0)),y=l.options[d]||l.options.other}if(!y)throw new _r(l.value,h,Object.keys(l.options),s);a.push.apply(a,Lr(y.value,t,r,n,o,h-(l.offset||0)))}}}}return a.length<2?a:a.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===yr.literal&&t.type===yr.literal?r.value+=t.value:e.push(t),e},[])}function Sr(r){return{create:function(){return{has:function(e){return e in r},get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(It=yr=yr||{})[It.literal=0]="literal",It[It.object=1]="object";var Or=(Object.defineProperty(Cr,"defaultLocale",{get:function(){return Cr.memoizedDefaultLocale||(Cr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Cr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Cr.memoizedDefaultLocale=null,Cr.__parse=sr,Cr.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"}}},Cr);function Cr(e,t,r,n){var o,i,s=this;if(void 0===t&&(t=Cr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===yr.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Lr(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof e){if(this.message=e,!Cr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Cr.__parse(e,{ignoreTag:null==n?void 0:n.ignoreTag})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(o=Cr.formats,(i=r)?Object.keys(o).reduce(function(e,t){var r,n;return e[t]=(r=o[t],(n=i[t])?yt(yt(yt({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=yt(yt({},r[t]),n[t]||{}),e},{})):r),e},yt({},o)):o),this.locales=t,this.formatters=n&&n.formatters||{getNumberFormat:ar(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,gt([void 0],t)))},{cache:Sr((n=void 0===(n=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:n).number),strategy:mr.variadic}),getDateTimeFormat:ar(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,gt([void 0],t)))},{cache:Sr(n.dateTime),strategy:mr.variadic}),getPluralRules:ar(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,gt([void 0],t)))},{cache:Sr(n.pluralRules),strategy:mr.variadic})}}const Rr={},Nr=(t,r)=>{if(null!=r){if(r in Rr&&t in Rr[r])return Rr[r][t];var n,o,i=Kr(r);for(let e=0;e<i.length;e++){var s=(n=i[e],o=t,Dr(n)?function(e,t){if(t in e)return e[t];const r=t.split(".");let n=e;for(let e=0;e<r.length;e++)if("object"==typeof n){if(0<e){const t=r.slice(e,r.length).join(".");if(t in n){n=n[t];break}}n=n[r[e]]}else n=void 0;return n}(function(e){return Ur[e]||null}(n),o):null);if(s)return n=t,o=r,(s=s)&&(o in Rr||(Rr[o]={}),n in Rr[o]||(Rr[o][n]=s),s)}}};let Ur;const Fr=et({});function Dr(e){return e in Ur}function kr(t,...r){delete Rr[t],Fr.update(e=>(e[t]=lt.all([e[t]||{},...r]),e))}tt([Fr],([e])=>Object.keys(e)),Fr.subscribe(e=>Ur=e);const Gr={};function Br(e){return Gr[e]}function $r(e){return Kr(e).some(e=>{return null===(e=Br(e))||void 0===e?void 0:e.size})}const jr={};function Hr(e){if(!$r(e))return e in jr?jr[e]:void 0;const t=Kr(e).map(e=>{var t=Br(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return jr[e]=Promise.all(t.map(([e,r])=>function(t){return Promise.all(r.map(e=>(function(e,t){Gr[e].delete(t),0===Gr[e].size&&delete Gr[e]}(t,e),e().then(e=>e.default||e)))).then(e=>kr(t,...e))}(e))).then(()=>$r(e)?Hr(e):void delete jr[e]),jr[e]}function Vr(e,t){var r={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r}const zr={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,ignoreTag:!0};const Xr=et(!1);let Wr;const Yr=et(null);function qr(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function Kr(e,t=zr.fallbackLocale){e=qr(e);return t?[...new Set([...e,...qr(t)])]:e}Yr.subscribe(e=>{Wr=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Zr=Yr.set;Yr.set=t=>{if(function(e){if(null!=e){var t=Kr(e);for(let e=0;e<t.length;e++){var r=t[e];if(Dr(r))return r}}}(t)&&$r(t)){var{loadingDelay:r}=zr;let e;return"undefined"!=typeof window&&null!=Wr&&r?e=window.setTimeout(()=>Xr.set(!0),r):Xr.set(!0),Hr(t).then(()=>{Zr(t)}).finally(()=>{clearTimeout(e),Xr.set(!1)})}return Zr(t)},Yr.update=e=>Zr(e(Wr));const Qr=r=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},Jr=(e,t)=>{var{formats:r}=zr;if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},en=Qr(e=>{var{locale:t,format:r}=e,e=Vr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=Jr("number",r)),new Intl.NumberFormat(t,e)}),tn=Qr(e=>{var{locale:t,format:r}=e,e=Vr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=Jr("date",r):0===Object.keys(e).length&&(e=Jr("date","short")),new Intl.DateTimeFormat(t,e)}),rn=Qr(e=>{var{locale:t,format:r}=e,e=Vr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=Jr("time",r):0===Object.keys(e).length&&(e=Jr("time","short")),new Intl.DateTimeFormat(t,e)}),nn=Qr((e,t=Wr)=>new Or(e,t,zr.formats,{ignoreTag:zr.ignoreTag})),on=tt([Yr,Fr],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:r,locale:n=Wr,default:o}=t;if(null==n)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=Nr(e,n);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else zr.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${Kr(n).join('", "')}".${$r(Wr)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=o||e;if(!r)return i;let s=i;try{s=nn(i,n).format(r)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return s});tt([Yr],()=>(e,t)=>((e={})=>{var{locale:t=Wr}=e,e=Vr(e,["locale"]);return rn(Object.assign({locale:t},e))})(t).format(e)),tt([Yr],()=>(e,t)=>((e={})=>{var{locale:t=Wr}=e,e=Vr(e,["locale"]);return tn(Object.assign({locale:t},e))})(t).format(e)),tt([Yr],()=>(e,t)=>((e={})=>{var{locale:t=Wr}=e,e=Vr(e,["locale"]);return en(Object.assign({locale:t},e))})(t).format(e)),tt([Yr,Fr],()=>(e,t=Wr)=>Nr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ze.indexOf(e)&&(t=new We(t),Qe[e]=t,Ze.push(e)),Qe[e]}};const sn=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",an='<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="20px" height="20px" viewBox="0 0 1280.000000 1216.000000"\npreserveAspectRatio="xMidYMid meet">\n<g transform="translate(0.000000,1216.000000) scale(0.100000,-0.100000)" fill="#fff" stroke="none">\n<path d="M6177 12145 c-48 -8 -350 -84 -670 -170 l-582 -155 -610 0 c-679 0-725 -3 -920 -65 -264 -82 -511 -256 -677 -475 l-49 -65 -287 -76 c-1001 -267\n-1397 -375 -1472 -401 -388 -136 -713 -468 -839 -856 -51 -158 -66 -258 -65-437 1 -112 6 -196 17 -245 8 -41 77 -304 152 -585 267 -998 355 -1327 505\n-1885 83 -311 200 -747 260 -970 60 -223 168 -625 240 -895 72 -269 180 -672 240 -895 60 -223 177 -659 260 -970 83 -311 209 -781 280 -1045 71 -264 160\n-597 199 -740 38 -143 81 -291 95 -329 119 -316 375 -594 681 -742 124 -59 230 -95 355 -121 107 -22 373 -24 475 -4 65 12 684 176 2078 549 l557 150 143\n-38 c78 -22 464 -125 857 -230 393 -105 899 -241 1125 -301 526 -142 533 -143 735 -143 241 0 387 33 605 138 254 122 478 338 608 585 86 163 30 -33 607\n2121 60 223 177 659 260 970 83 311 200 747 260 970 318 1187 597 2228 755 2815 303 1132 415 1555 427 1620 7 39 13 142 13 230 0 221 -36 383 -130 581\n-152 324 -439 583 -775 702 -72 25 -568 160 -1546 421 l-211 56 -61 76 c-183 231 -403 383 -679 469 -183 56 -237 60 -909 60 l-610 0 -545 146 c-299 80\n-584 155 -634 165 -122 27 -396 34 -518 14z m-1127 -1167 c0 -10 -70 -274 -314 -1183 -124 -463 -364 -1358 -517 -1930 -233 -869 -374 -1393 -498 -1857\n-71 -266 -173 -645 -226 -843 -53 -198 -98 -364 -100 -370 -2 -5 -3 1122 -2 2505 l2 2515 22 90 c63 265 185 487 368 670 231 232 511 367 835 404 120 13\n430 13 430 -1z m2140 -127 c47 -10 202 -51 345 -90 224 -60 1099 -295 2790 -747 475 -128 514 -140 632 -194 398 -185 684 -558 769 -1005 23 -122 23 -350\n0 -469 -9 -49 -49 -206 -87 -350 -124 -463 -367 -1368 -499 -1861 -71 -264 -197 -734 -280 -1045 -83 -311 -200 -747 -260 -970 -497 -1855 -508 -1897\n-537 -1970 -126 -317 -382 -592 -686 -735 -182 -86 -331 -123 -528 -132 -239 -10 -190 -21 -1424 310 -776 208 -1457 391 -2045 548 -493 132 -625 176 -750\n249 -407 238 -665 661 -686 1125 -11 228 -11 229 250 1200 76 281 205 762 287 1070 83 308 200 745 260 970 61 226 168 626 239 890 71 264 197 734 280 1045\n83 311 191 714 240 895 48 182 99 359 113 395 35 94 102 223 160 310 63 95 259 290 357 355 159 105 354 185 540 219 119 22 402 15 520 -13z m-4750 -3698\nc0 -1697 -3 -3084 -6 -3081 -3 3 -32 106 -65 229 -133 496 -367 1367 -469 1749 -221 825 -375 1398 -507 1890 -200 743 -185 672 -187 900 -1 156 3 212\n18 279 112 511 459 894 946 1044 119 37 249 75 263 76 4 1 7 -1388 7 -3086z"/>\n<path d="M8960 9889 c-40 -111 -149 -350 -236 -518 -430 -831 -1050 -1573 -1649 -1976 -303 -203 -564 -310 -862 -350 -250 -35 -420 -122 -600 -308 -179\n-185 -305 -425 -369 -702 -27 -113 -27 -404 0 -525 117 -536 530 -939 1063 -1036 115 -20 339 -20 458 1 176 31 368 111 522 217 43 29 124 98 179 154\nl101 100 -55 -105 c-300 -573 -638 -1052 -1021 -1443 -63 -65 -113 -120 -110 -122 2 -2 347 -96 767 -208 536 -144 762 -200 762 -191 0 7 -11 55 -25 106\n-76 289 -135 658 -166 1047 -12 164 -13 753 0 845 5 33 9 47 10 30 2 -56 50 -223 90 -314 182 -424 547 -711 1000 -786 123 -21 364 -16 476 8 461 103 835\n434 979 867 115 346 99 745 -42 1025 -72 144 -133 214 -302 351 -216 172 -367 359 -514 636 -201 378 -351 874 -431 1431 -46 319 -59 516 -59 892 -1 355 8\n505 45 784 10 80 17 146 15 148 -2 2 -13 -24 -26 -58z"/>\n</g>\n</svg>',un={en:{myAccount:{title:"My Account"},defaultMenuItems:{ProfileInfo:"Profile Info",ChangePassword:"Change Password",ActiveBonuses:"Active Bonuses",GamingHistory:"Gaming History",BonusHistory:"Bonus History",GamingLimits:"Gaming Limits",RealityCheck:"Reality Check",Timeout:"Timeout",SelfExclusion:"Self Exclusion",AccountClosure:"Account Closure",Deposit:"Deposit",Withdrawal:"Withdrawal",PendingWithdrawals:"Pending Withdrawals",TransactionHistory:"Transaction History"}},tr:{myAccount:{title:"Hesabım"},defaultMenuItems:{ProfileInfo:"Profil bilgisi",ChangePassword:"Şifre değiştir",ActiveBonuses:"Aktif Bonuslar",GamingHistory:"Oyun Geçmişi",BonusHistory:"Bonus Geçmişi",GamingLimits:"Oyun Limitleri",RealityCheck:"Gerçeklik kontrolü",Timeout:"Zaman aşımı",SelfExclusion:"Kendini dışlama",AccountClosure:"Hesap kapatma",Deposit:"Depozito",Withdrawal:"Para çekme",PendingWithdrawals:"Bekleyen Para Çekme İşlemleri",TransactionHistory:"Işlem geçmişi"}},ro:{myAccount:{title:"Contul meu"},defaultMenuItems:{ProfileInfo:"Informatii de Profil",ChangePassword:"Schimbati Parola",ActiveBonuses:"Bonusuri Active",GamingHistory:"Istoricul Jocurilor",BonusHistory:"Istoricul Bonusului",GamingLimits:"Limitele Jocurilor",RealityCheck:"Analiză a Realitatii",Timeout:"Pauza",SelfExclusion:"Autoexcluderea",AccountClosure:"Inchiderea contului",Deposit:"Depozit",Withdrawal:"Retragere",PendingWithdrawals:"Retrageri in așteptare",TransactionHistory:"Istoricul tranzactiilor"}}},cn={en:{logout:{logoutButton:"Logout"}},tr:{logout:{logoutButton:"Çıkış Yap"}},ro:{logout:{logoutButton:"Iesire"}}};function ln(r){let n,o,i,s,a,u,c=r[1]("logout.logoutButton")+"";return{c(){n=P("div"),o=P("button"),i=P("span"),s=T(c),x(n,"class","GeneralLogout"),x(n,"part","GeneralLogout")},m(e,t){A(e,n,t),E(n,o),E(o,i),E(i,s),a||(u=I(o,"click",r[9]),a=!0)},p(e,t){2&t&&c!==(c=e[1]("logout.logoutButton")+"")&&S(s,c)},d(e){e&&w(n),a=!1,u()}}}function pn(i){let r,n,o,s,a,u,c,l,p,h,f,d=!i[2]&&function(){let r,n,o=i[1]("logout.logoutButton")+"";return{c(){r=P("span"),n=T(o),x(r,"class","PlayerLogoutText"),x(r,"part","PlayerLogoutText")},m(e,t){A(e,r,t),E(r,n)},p(e,t){2&t&&o!==(o=e[1]("logout.logoutButton")+"")&&S(n,o)},d(e){e&&w(r)}}}();return{c(){r=P("p"),n=P("span"),o=e("svg"),s=e("defs"),a=e("style"),u=T(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emfe-w-color-white, #FFFFFF);}"),c=e("path"),l=e("path"),p=M(),d&&d.c(),x(c,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),x(c,"d","M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"),x(l,"class","a88316b4-2478-4a69-b2eb-d32a5fb419dd"),x(l,"d","M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"),x(o,"id","bbfaf345-72af-4296-bf4b-2fd41fc03d5d"),x(o,"data-name","Layer 1"),x(o,"xmlns","http://www.w3.org/2000/svg"),x(o,"viewBox","0 0 150 150"),y(n,"width",i[2]?i[3].matches?"50px":"24px":"20px"),x(r,"class","PlayerAccountMenuItemBox "+(i[2]?"PlayerAccountMenuItemBoxMobile":"")+" "+(i[3].matches&&i[2]?"PlayerAccountMenuItemBoxTablet":"")),x(r,"part","PlayerAccountMenuItemBox "+(i[2]?"PlayerAccountMenuItemBoxMobile":"")+" "+(i[3].matches&&i[2]?"PlayerAccountMenuItemBoxTablet":""))},m(e,t){A(e,r,t),E(r,n),E(n,o),E(o,s),E(s,a),E(a,u),E(o,c),E(o,l),E(r,p),d&&d.m(r,null),h||(f=I(r,"click",i[8]),h=!0)},p(e,t){e[2]||d.p(e,t)},d(e){e&&w(r),d&&d.d(),h=!1,f()}}}function hn(e){let r;function n(e){return"PlayerAccountMenu"===e[0]?pn:ln}let o=n(e),i=o(e);return{c(){i.c(),r=t(),this.c=p},m(e,t){i.m(e,t),A(e,r,t)},p(e,[t]){o===(o=n(e))&&i?i.p(e,t):(i.d(1),i=o(e),i&&(i.c(),i.m(r.parentNode,r)))},i:p,o:p,d(e){i.d(e),e&&w(r)}}}function fn(t,e,r){let n;_(t,on,e=>r(1,n=e));let{endpoint:o=""}=e,{session:i=""}=e,{buttonlocation:s=""}=e,{lang:a=""}=e,u=!1,c=window.navigator.userAgent,l="PC"!==sn(c);e=window.matchMedia("(min-width: 768px)");Object.keys(cn).forEach(e=>{kr(e,cn[e])});const p=()=>{let e=new Headers;e.append("Content-type","application/json"),e.append("X-SessionID",i),fetch(`${o}/player/session/player`,{method:"DELETE",headers:e}).then(e=>{window.postMessage({type:"LogoutSuccessfull"})})};return t.$$set=e=>{"endpoint"in e&&r(5,o=e.endpoint),"session"in e&&r(6,i=e.session),"buttonlocation"in e&&r(0,s=e.buttonlocation),"lang"in e&&r(7,a=e.lang)},t.$$.update=()=>{var e;97&t.$$.dirty&&o&&i&&s&&(o||(error="GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.",u=!0,console.error(error)),i||(error="GENERAL-LOGOUT - Session is missing! Please provide a valid session.",u=!0,console.error(error))),128&t.$$.dirty&&a&&(e=a,Yr.set(e))},[s,n,l,e,p,o,i,a,()=>p(),()=>p()]}function dn(e,t,r){const n=e.slice();return n[26]=t[r],n}function mn(t){let r,n,o,i,s,a,u,c,l,p,h,f,d=t[8]&&function(r){let n,o,i,s,a,u,c,l,p,h,f,d,m,y=r[7]("myAccount.title")+"";return{c(){n=P("div"),o=e("svg"),i=e("defs"),s=e("style"),a=T(".aaa{fill:var(--emfe-w-color-white, #FFFFFF);}"),u=e("g"),c=e("g"),l=e("path"),p=M(),h=P("h3"),f=T(y),x(l,"class","aaa"),x(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),x(l,"transform","translate(15 15) rotate(180)"),x(c,"transform","translate(20 158)"),x(u,"transform","translate(-20 -158)"),x(o,"xmlns","http://www.w3.org/2000/svg"),x(o,"width","15"),x(o,"height","15"),x(o,"viewBox","0 0 15 15"),x(h,"class","PlayerAccountMenuCategoryTitle"),x(h,"part","PlayerAccountMenuCategoryTitle"),x(n,"class","PlayerAccountMenuCategoryWrapper"),x(n,"part","PlayerAccountMenuCategoryWrapper")},m(e,t){A(e,n,t),E(n,o),E(o,i),E(i,s),E(s,a),E(o,u),E(u,c),E(c,l),E(n,p),E(n,h),E(h,f),d||(m=[I(o,"click",r[10]),I(h,"click",r[10])],d=!0)},p(e,t){128&t&&y!==(y=e[7]("myAccount.title")+"")&&S(f,y)},d(e){e&&w(n),d=!1,v(m)}}}(t),m=t[8]&&function(e){let r,n;return{c(){r=P("div"),n=P("general-logout"),L(n,"endpoint",e[1]),L(n,"session",e[0]),L(n,"buttonlocation","PlayerAccountMenu"),x(r,"class","PlayerAccountLogOutArea"),x(r,"part","PlayerAccountLogOutArea")},m(e,t){A(e,r,t),E(r,n)},p(e,t){2&t&&L(n,"endpoint",e[1]),1&t&&L(n,"session",e[0])},d(e){e&&w(r)}}}(t),y=t[2],g=[];for(let e=0;e<y.length;e+=1)g[e]=bn(dn(t,y,e));let b=!t[8]&&function(e){let r,n;return{c(){r=P("div"),n=P("general-logout"),L(n,"endpoint",e[1]),L(n,"session",e[0]),L(n,"buttonlocation","PlayerAccountMenu"),x(r,"class","PlayerAccountLogOutArea"),x(r,"part","PlayerAccountLogOutArea")},m(e,t){A(e,r,t),E(r,n)},p(e,t){2&t&&L(n,"endpoint",e[1]),1&t&&L(n,"session",e[0])},d(e){e&&w(r)}}}(t);return{c(){r=P("div"),n=P("div"),d&&d.c(),o=M(),i=P("p"),s=T(t[5]),a=M(),u=P("p"),c=T(t[6]),l=M(),m&&m.c(),p=M(),h=P("div");for(let e=0;e<g.length;e+=1)g[e].c();f=M(),b&&b.c(),x(i,"class","PlayerAccountMenuUser"),x(i,"part","PlayerAccountMenuUser"),x(u,"class","PlayerAccountMenuEmail"),x(u,"part","PlayerAccountMenuEmail"),x(n,"class","PlayerAccountMenuHeader"),x(n,"part","PlayerAccountMenuHeader"),x(h,"class","PlayerAccountMenuList"),x(h,"part","PlayerAccountMenuList"),x(r,"class","PlayerAccountMenuContainer "+(t[8]?"PlayerAccountMobileContainer":"")+" "+(t[9].matches&&t[8]?"PlayerAccountTabletContainer":"")),x(r,"part","PlayerAccountMenuContainer "+(t[8]?"PlayerAccountMobileContainer":"")+" "+(t[9].matches&&t[8]?"PlayerAccountTabletContainer":""))},m(e,t){A(e,r,t),E(r,n),d&&d.m(n,null),E(n,o),E(n,i),E(i,s),E(n,a),E(n,u),E(u,c),E(n,l),m&&m.m(n,null),E(r,p),E(r,h);for(let e=0;e<g.length;e+=1)g[e].m(h,null);E(r,f),b&&b.m(r,null)},p(t,r){if(t[8]&&d.p(t,r),32&r&&S(s,t[5]),64&r&&S(c,t[6]),t[8]&&m.p(t,r),2844&r){let e;for(y=t[2],e=0;e<y.length;e+=1){var n=dn(t,y,e);g[e]?g[e].p(n,r):(g[e]=bn(n),g[e].c(),g[e].m(h,null))}for(;e<g.length;e+=1)g[e].d(1);g.length=y.length}t[8]||b.p(t,r)},d(e){e&&w(r),d&&d.d(),m&&m.d(),function(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}(g,e),b&&b.d()}}}function yn(e){let r,n;return{c(){r=P("img"),x(r,"class","PlayerAccountMenuItemIcon "+(e[8]?"PlayerAccountMenuItemIconMobile":"")),x(r,"part","PlayerAccountMenuItemIcon "+(e[8]?"PlayerAccountMenuItemIconMobile":"")),r.src!==(n=e[26].img)&&x(r,"src",n)},m(e,t){A(e,r,t)},p(e,t){4&t&&r.src!==(n=e[26].img)&&x(r,"src",n)},d(e){e&&w(r)}}}function gn(e){let r,n=e[26].img+"";return{c(){r=P("span"),y(r,"width",e[8]?e[9].matches?"80px":"30px":"20px"),y(r,"height",e[8]?e[9].matches?"80px":"40px":"20px")},m(e,t){A(e,r,t),r.innerHTML=n},p(e,t){4&t&&n!==(n=e[26].img+"")&&(r.innerHTML=n)},d(e){e&&w(r)}}}function bn(r){let n,o,i,s,a,u,c,l,p,h,f=r[26].label+"";function d(e){return e[4]?gn:yn}let m=d(r),y=m(r);function g(){return r[15](r[26])}return{c(){n=P("div"),o=P("p"),y.c(),i=M(),s=P("span"),a=T(f),u=M(),x(s,"class","PlayerAccountMenuItemTitle"),x(s,"part","PlayerAccountMenuItemTitle"),x(o,"class","PlayerAccountMenuItemWrapper"),x(o,"part","PlayerAccountMenuItemWrapper"),x(n,"class",c="PlayerAccountMenuItemBox "+(r[3]!==r[26].id||r[8]?"":"PlayerAccountMenuActiveItemBox")),x(n,"part",l="PlayerAccountMenuItemBox "+(r[3]!==r[26].id||r[8]?"":"PlayerAccountMenuActiveItemBox"))},m(e,t){A(e,n,t),E(n,o),y.m(o,null),E(o,i),E(o,s),E(s,a),E(n,u),p||(h=I(n,"click",g),p=!0)},p(e,t){m===(m=d(r=e))&&y?y.p(r,t):(y.d(1),y=m(r),y&&(y.c(),y.m(o,i))),4&t&&f!==(f=r[26].label+"")&&S(a,f),12&t&&c!==(c="PlayerAccountMenuItemBox "+(r[3]!==r[26].id||r[8]?"":"PlayerAccountMenuActiveItemBox"))&&x(n,"class",c),12&t&&l!==(l="PlayerAccountMenuItemBox "+(r[3]!==r[26].id||r[8]?"":"PlayerAccountMenuActiveItemBox"))&&x(n,"part",l)},d(e){e&&w(n),y.d(),p=!1,h()}}}function vn(e){let r,n=mn(e);return{c(){n.c(),r=t(),this.c=p},m(e,t){n.m(e,t),A(e,r,t)},p(e,[t]){n.p(e,t)},i:p,o:p,d(e){n.d(e),e&&w(r)}}}function En(r,e,n){let o;_(r,on,e=>n(7,o=e));let{endpoint:i=""}=e,{session:s=""}=e,{playerid:a=""}=e,{lang:u="en"}=e,{selecteditem:c=""}=e,t=[],l=0,p=window.navigator.userAgent,h="PC"!==sn(p),f=[],d=!0,m="",y="";var g=window.matchMedia("(min-width: 768px)");Object.keys(un).forEach(e=>{kr(e,un[e])});const b=e=>{if(e.data)switch(e.data.type){case"AccountMenuDetails":n(2,t=e.data.accountMenuInfo),n(3,l=t[0].id),v();break;case"UserSessionID":n(0,s=e.data.session);break;case"ChangeAccountPage":A()}},v=()=>{t.length?n(4,d=!1):(n(2,t=f),n(4,d=!0))},E=e=>{window.postMessage({type:"ChangeAccountPage",page:e},window.location.href),n(3,l=e.id)},A=()=>{n(3,l=c),t.filter(e=>{if(e.id==l)return e})};return e=()=>(window.addEventListener("message",b,!1),()=>{window.removeEventListener("message",b)}),function(){if(!O)throw new Error("Function called outside component initialization");return O}().$$.on_mount.push(e),r.$$set=e=>{"endpoint"in e&&n(1,i=e.endpoint),"session"in e&&n(0,s=e.session),"playerid"in e&&n(12,a=e.playerid),"lang"in e&&n(13,u=e.lang),"selecteditem"in e&&n(14,c=e.selecteditem)},r.$$.update=()=>{var e,t;8192&r.$$.dirty&&u&&(t=u,Yr.set(t)),12291&r.$$.dirty&&i&&s&&a&&u&&(f=[{id:0,title:o("defaultMenuItems.ProfileInfo"),menu_item_icon:an},{id:1,title:o("defaultMenuItems.changePassword"),menu_item_icon:an},{id:2,title:o("defaultMenuItems.activeBonuses"),menu_item_icon:an},{id:3,title:o("defaultMenuItems.gamingHistory"),menu_item_icon:an},{id:4,title:o("defaultMenuItems.bonusHistory"),menu_item_icon:an},{id:5,title:o("defaultMenuItems.gamingLimits"),menu_item_icon:an},{id:6,title:o("defaultMenuItems.realityCheck"),menu_item_icon:an},{id:7,title:o("defaultMenuItems.timeout"),menu_item_icon:an},{id:8,title:o("defaultMenuItems.selfExclusion"),menu_item_icon:an},{id:9,title:o("defaultMenuItems.accountClosure"),menu_item_icon:an},{id:1,title:o("defaultMenuItems.deposit"),menu_item_icon:an},{id:11,title:o("defaultMenuItems.withdrawal"),menu_item_icon:an},{id:12,title:o("defaultMenuItems.pendingWithdrawals"),menu_item_icon:an},{id:13,title:o("defaultMenuItems.transactionHistory"),menu_item_icon:an}],e=new URL(`${i}/player/${a}/profile`),t={method:"GET",headers:{"X-SessionID":s}},fetch(e.href,t).then(e=>e.json()).then(e=>{n(5,m=e.username),n(6,y=e.email)},e=>{console.error(e)})),16384&r.$$.dirty&&c&&A()},[s,i,t,l,d,m,y,o,h,g,()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href)},E,a,u,c,e=>E(e)]}customElements.get("general-logout")||customElements.define("general-logout",class extends l{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emfe-w-color-white, #FFFFFF)}.PlayerAccountMenuItemBox svg{fill:var(--emfe-w-color-white, #FFFFFF)}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emfe-w-color-white, #FFFFFF)}</style>",c(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},fn,hn,r,{endpoint:5,session:6,buttonlocation:0,lang:7}),e&&(e.target&&A(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","session","buttonlocation","lang"]}get endpoint(){return this.$$.ctx[5]}set endpoint(e){this.$set({endpoint:e}),U()}get session(){return this.$$.ctx[6]}set session(e){this.$set({session:e}),U()}get buttonlocation(){return this.$$.ctx[0]}set buttonlocation(e){this.$set({buttonlocation:e}),U()}get lang(){return this.$$.ctx[7]}set lang(e){this.$set({lang:e}),U()}});class An extends l{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerAccountMenuContainer{color:var(--emfe-w-color-white, #FFFFFF);position:relative;height:100vh;display:flex;flex-direction:column}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{color:var(--emfe-w-color-white, #FFFFFF);flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emfe-w-color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList{flex-grow:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emfe-w-color-gray-100, #E6E6E6) var(--emfe-w-color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-100, #E6E6E6)}.PlayerAccountLogOutArea{background:var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-white, #FFFFFF);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.PlayerAccountMobileContainer{height:unset;color:var(--emfe-w-color-contrast, #07072A)}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emfe-w-color-primary, #D0046C);border-bottom:1px solid var(--emfe-w-color-primary, #D0046C)}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;color:var(--emfe-w-color-white, #FFFFFF)}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}</style>",c(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},En,vn,r,{endpoint:1,session:0,playerid:12,lang:13,selecteditem:14}),e&&(e.target&&A(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","session","playerid","lang","selecteditem"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$set({endpoint:e}),U()}get session(){return this.$$.ctx[0]}set session(e){this.$set({session:e}),U()}get playerid(){return this.$$.ctx[12]}set playerid(e){this.$set({playerid:e}),U()}get lang(){return this.$$.ctx[13]}set lang(e){this.$set({lang:e}),U()}get selecteditem(){return this.$$.ctx[14]}set selecteditem(e){this.$set({selecteditem:e}),U()}}return customElements.get("player-account-menu")||customElements.define("player-account-menu",An),An});
|
|
2
2
|
//# sourceMappingURL=player-account-menu.js.map
|