@everymatrix/casino-integrated-game-page 1.29.0 → 1.29.3
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.
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* https://svelte.dev/docs#run-time-svelte-onmount
|
|
10
10
|
*/
|
|
11
|
-
function k(e){(function(){if(!M)throw new Error("Function called outside component initialization");return M})().$$.on_mount.push(e)}const D=[],O=[];let P=[];const
|
|
11
|
+
function k(e){(function(){if(!M)throw new Error("Function called outside component initialization");return M})().$$.on_mount.push(e)}const D=[],O=[];let P=[];const F=[],H=Promise.resolve();let A=!1;function C(e){P.push(e)}
|
|
12
12
|
// flush() calls callbacks in this order:
|
|
13
13
|
// 1. All beforeUpdate callbacks, in order: parents before children
|
|
14
14
|
// 2. All bind:this callbacks, in reverse order: children before parents.
|
|
@@ -43,13 +43,13 @@ throw D.length=0,N=0,e}for(x(null),D.length=0,N=0;O.length;)O.pop()();
|
|
|
43
43
|
// subsequent updates...
|
|
44
44
|
for(let e=0;e<P.length;e+=1){const t=P[e];B.has(t)||(
|
|
45
45
|
// ...so guard against infinite loops
|
|
46
|
-
B.add(t),t())}P.length=0}while(D.length);for(;
|
|
46
|
+
B.add(t),t())}P.length=0}while(D.length);for(;F.length;)F.pop()();A=!1,B.clear(),x(e)}function R(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(C)}}
|
|
47
47
|
/**
|
|
48
48
|
* Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
|
|
49
49
|
*/const I=new Set;function $(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];P.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),P=t}(n.after_update),r(n.on_destroy),n.fragment&&n.fragment.d(t),
|
|
50
50
|
// TODO null out other refs, including component.$$ (but need to
|
|
51
51
|
// preserve final state?)
|
|
52
|
-
n.on_destroy=n.fragment=null,n.ctx=[])}function Y(e,t){-1===e.$$.dirty[0]&&(D.push(e),A||(A=!0,
|
|
52
|
+
n.on_destroy=n.fragment=null,n.ctx=[])}function Y(e,t){-1===e.$$.dirty[0]&&(D.push(e),A||(A=!0,H.then(L)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function U(o,s,a,l,u,c,h,d=[-1]){const p=M;x(o);const m=o.$$={fragment:null,ctx:[],
|
|
53
53
|
// state
|
|
54
54
|
props:c,update:e,not_equal:u,bound:n(),
|
|
55
55
|
// lifecycle
|
|
@@ -79,7 +79,7 @@ this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}d
|
|
|
79
79
|
if(!i(n))return e;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const e=r.indexOf(n);-1!==e&&r.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}})
|
|
80
80
|
/* eslint-disable no-prototype-builtins */;var j="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
|
|
81
81
|
// eslint-disable-next-line no-undef
|
|
82
|
-
"undefined"!=typeof global&&global||{},W="URLSearchParams"in j,V="Symbol"in j&&"iterator"in Symbol,z="FileReader"in j&&"Blob"in j&&function(){try{return new Blob,!0}catch(e){return!1}}(),Z="FormData"in j,X="ArrayBuffer"in j;if(X)var q=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],
|
|
82
|
+
"undefined"!=typeof global&&global||{},W="URLSearchParams"in j,V="Symbol"in j&&"iterator"in Symbol,z="FileReader"in j&&"Blob"in j&&function(){try{return new Blob,!0}catch(e){return!1}}(),Z="FormData"in j,X="ArrayBuffer"in j;if(X)var q=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],J=ArrayBuffer.isView||function(e){return e&&q.indexOf(Object.prototype.toString.call(e))>-1};function K(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Q(e){return"string"!=typeof e&&(e=String(e)),e}
|
|
83
83
|
// Build a destructive iterator for the value list
|
|
84
84
|
function ee(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return V&&(t[Symbol.iterator]=function(){return t}),t}function te(e){this.map={},e instanceof te?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function ne(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function re(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function ie(e){var t=new FileReader,n=re(t);return t.readAsArrayBuffer(e),n}function oe(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function se(){return this.bodyUsed=!1,this._initBody=function(e){var t;
|
|
85
85
|
/*
|
|
@@ -95,9 +95,9 @@ function ee(e){var t={next:function(){var t=e.shift();return{done:void 0===t,val
|
|
|
95
95
|
// eslint-disable-next-line no-self-assign
|
|
96
96
|
this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:z&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Z&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:W&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():X&&z&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=oe(e.buffer),
|
|
97
97
|
// IE 10-11 can't handle a DataView body.
|
|
98
|
-
this._bodyInit=new Blob([this._bodyArrayBuffer])):X&&(ArrayBuffer.prototype.isPrototypeOf(e)||
|
|
98
|
+
this._bodyInit=new Blob([this._bodyArrayBuffer])):X&&(ArrayBuffer.prototype.isPrototypeOf(e)||J(e))?this._bodyArrayBuffer=oe(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):W&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},z&&(this.blob=function(){var e=ne(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=ne(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(z)return this.blob().then(ie);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r,i,o=ne(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=re(t),r=/charset=([A-Za-z0-9_-]+)/.exec(e.type),i=r?r[1]:"utf-8",t.readAsText(e,i),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)},Z&&(this.formData=function(){return this.text().then(ue)}),this.json=function(){return this.text().then(JSON.parse)},this}
|
|
99
99
|
// HTTP methods whose capitalization should be normalized
|
|
100
|
-
te.prototype.append=function(e,t){e=
|
|
100
|
+
te.prototype.append=function(e,t){e=K(e),t=Q(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},te.prototype.delete=function(e){delete this.map[K(e)]},te.prototype.get=function(e){return e=K(e),this.has(e)?this.map[e]:null},te.prototype.has=function(e){return this.map.hasOwnProperty(K(e))},te.prototype.set=function(e,t){this.map[K(e)]=Q(t)},te.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},te.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),ee(e)},te.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),ee(e)},te.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),ee(e)},V&&(te.prototype[Symbol.iterator]=te.prototype.entries);var ae=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function le(e,t){if(!(this instanceof le))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,i=(t=t||{}).body;if(e instanceof le){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new te(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new te(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),ae.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in j)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){
|
|
101
101
|
// Search for a '_' parameter in the query string
|
|
102
102
|
var o=/([?&])_=[^&]*/;if(o.test(this.url))
|
|
103
103
|
// If it already exists then set the value with the current time
|
|
@@ -108,7 +108,7 @@ this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.te
|
|
|
108
108
|
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 n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();try{t.append(r,i)}catch(e){console.warn("Response "+e.message)}}})),t)};
|
|
109
109
|
// This check if specifically for when a user fetches a file locally from the file system
|
|
110
110
|
// Only if the status is out of a normal range
|
|
111
|
-
i.url.startsWith("file://")&&(o.status<200||o.status>599)?r.status=200:r.status=o.status,r.url="responseURL"in o?o.responseURL:r.headers.get("X-Request-URL");var s="response"in o?o.response:o.responseText;setTimeout((function(){n(new ce(s,r))}),0)},o.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request timed out"))}),0)},o.onabort=function(){setTimeout((function(){r(new de("Aborted","AbortError"))}),0)},o.open(i.method,function(e){try{return""===e&&j.location.href?j.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&(z?o.responseType="blob":X&&(o.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof te||j.Headers&&t.headers instanceof j.Headers)){var a=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){a.push(
|
|
111
|
+
i.url.startsWith("file://")&&(o.status<200||o.status>599)?r.status=200:r.status=o.status,r.url="responseURL"in o?o.responseURL:r.headers.get("X-Request-URL");var s="response"in o?o.response:o.responseText;setTimeout((function(){n(new ce(s,r))}),0)},o.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request timed out"))}),0)},o.onabort=function(){setTimeout((function(){r(new de("Aborted","AbortError"))}),0)},o.open(i.method,function(e){try{return""===e&&j.location.href?j.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&(z?o.responseType="blob":X&&(o.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof te||j.Headers&&t.headers instanceof j.Headers)){var a=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){a.push(K(e)),o.setRequestHeader(e,Q(t.headers[e]))})),i.headers.forEach((function(e,t){-1===a.indexOf(t)&&o.setRequestHeader(t,e)}))}else i.headers.forEach((function(e,t){o.setRequestHeader(t,e)}));i.signal&&(i.signal.addEventListener("abort",s),o.onreadystatechange=function(){
|
|
112
112
|
// DONE (success or failure)
|
|
113
113
|
4===o.readyState&&i.signal.removeEventListener("abort",s)}),o.send(void 0===i._bodyInit?null:i._bodyInit)}))}fe.polyfill=!0,j.fetch||(j.fetch=fe,j.Headers=te,j.Request=le,j.Response=ce);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function pe(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
|
|
114
114
|
// the whatwg-fetch polyfill installs the fetch() function
|
|
@@ -130,7 +130,7 @@ var me=self.fetch.bind(self),ye=function(e,t){return ye=Object.setPrototypeOf||{
|
|
|
130
130
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
131
131
|
PERFORMANCE OF THIS SOFTWARE.
|
|
132
132
|
***************************************************************************** */
|
|
133
|
-
/* global Reflect, Promise, SuppressedError, Symbol */function ge(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}ye(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function be(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 e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ve(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function we(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function _e(e){return"function"==typeof e}function Ee(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var Se=Ee((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function Te(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Me=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}var t;return e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=be(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);var l=this.initialTeardown;if(_e(l))try{l()}catch(e){i=e instanceof Se?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=be(u),h=c.next();!h.done;h=c.next()){var d=h.value;try{De(d)}catch(e){i=null!=i?i:[],e instanceof Se?i=we(we([],ve(i)),ve(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}if(i)throw new Se(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)De(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Te(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Te(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}(),xe=Me.EMPTY;function ke(e){return e instanceof Me||e&&"closed"in e&&_e(e.remove)&&_e(e.add)&&_e(e.unsubscribe)}function De(e){_e(e)?e():e.unsubscribe()}var Oe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Pe={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Pe.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,we([e,t],ve(n))):setTimeout.apply(void 0,we([e,t],ve(n)))},clearTimeout:function(e){var t=Pe.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function He(){}var Fe=null;function Ae(e){if(Oe.useDeprecatedSynchronousErrorHandling){var t=!Fe;if(t&&(Fe={errorThrown:!1,error:null}),e(),t){var n=Fe,r=n.errorThrown,i=n.error;if(Fe=null,r)throw i}}else e()}var Ce=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,ke(t)&&t.add(n)):n.destination=$e,n}return ge(t,e),t.create=function(e,t,n){return new Re(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Me),Be=Function.prototype.bind;function Ne(e,t){return Be.call(e,t)}var Le=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Ie(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ie(e)}else Ie(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ie(e)}},e}(),Re=function(e){function t(t,n,r){var i,o,s=e.call(this)||this;_e(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&Oe.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&Ne(t.next,o),error:t.error&&Ne(t.error,o),complete:t.complete&&Ne(t.complete,o)}):i=t;return s.destination=new Le(i),s}return ge(t,e),t}(Ce);function Ie(e){var t;t=e,Pe.setTimeout((function(){throw t}))}var $e={closed:!0,next:He,error:function(e){throw e},complete:He},Ye="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ue(e){return e}var Ge=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,i=this,o=(r=e)&&r instanceof Ce||function(e){return e&&_e(e.next)&&_e(e.error)&&_e(e.complete)}(r)&&ke(r)?e:new Re(e,t,n);return Ae((function(){var e=i,t=e.operator,n=e.source;o.add(t?t.call(o,n):n?i._subscribe(o):i._trySubscribe(o))})),o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=je(t))((function(t,r){var i=new Re({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Ye]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?Ue:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=je(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function je(e){var t;return null!==(t=null!=e?e:Oe.Promise)&&void 0!==t?t:Promise}var We=Ee((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ve=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return ge(t,e),t.prototype.lift=function(e){var t=new ze(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new We},t.prototype.next=function(e){var t=this;Ae((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=be(t.currentObservers),o=i.next();!o.done;o=i.next()){o.value.next(e)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;Ae((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;Ae((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,o=n.observers;return r||i?xe:(this.currentObservers=null,o.push(e),new Me((function(){t.currentObservers=null,Te(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new Ge;return e.source=this,e},t.create=function(e,t){return new ze(e,t)},t}(Ge),ze=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ge(t,e),t.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)},t.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)},t.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)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:xe},t}(Ve),Ze={now:function(){return(Ze.delegate||Date).now()},delegate:void 0},Xe=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Ze);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return ge(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,o=n._infiniteTimeWindow,s=n._timestampProvider,a=n._windowTime;r||(i.push(t),!o&&i.push(s.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,o=(i?1:2)*t;if(t<1/0&&o<r.length&&r.splice(0,r.length-o),!i){for(var s=n.now(),a=0,l=1;l<r.length&&r[l]<=s;l+=2)a=l;a&&r.splice(0,a+1)}},t}(Ve);let qe=[],Ke={};
|
|
133
|
+
/* global Reflect, Promise, SuppressedError, Symbol */function ge(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}ye(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function be(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 e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ve(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function we(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function _e(e){return"function"==typeof e}function Ee(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var Se=Ee((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function Te(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Me=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}var t;return e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=be(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);var l=this.initialTeardown;if(_e(l))try{l()}catch(e){i=e instanceof Se?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=be(u),h=c.next();!h.done;h=c.next()){var d=h.value;try{De(d)}catch(e){i=null!=i?i:[],e instanceof Se?i=we(we([],ve(i)),ve(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}if(i)throw new Se(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)De(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Te(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Te(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}(),xe=Me.EMPTY;function ke(e){return e instanceof Me||e&&"closed"in e&&_e(e.remove)&&_e(e.add)&&_e(e.unsubscribe)}function De(e){_e(e)?e():e.unsubscribe()}var Oe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Pe={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Pe.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,we([e,t],ve(n))):setTimeout.apply(void 0,we([e,t],ve(n)))},clearTimeout:function(e){var t=Pe.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Fe(){}var He=null;function Ae(e){if(Oe.useDeprecatedSynchronousErrorHandling){var t=!He;if(t&&(He={errorThrown:!1,error:null}),e(),t){var n=He,r=n.errorThrown,i=n.error;if(He=null,r)throw i}}else e()}var Ce=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,ke(t)&&t.add(n)):n.destination=$e,n}return ge(t,e),t.create=function(e,t,n){return new Re(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Me),Be=Function.prototype.bind;function Ne(e,t){return Be.call(e,t)}var Le=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Ie(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ie(e)}else Ie(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ie(e)}},e}(),Re=function(e){function t(t,n,r){var i,o,s=e.call(this)||this;_e(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&Oe.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&Ne(t.next,o),error:t.error&&Ne(t.error,o),complete:t.complete&&Ne(t.complete,o)}):i=t;return s.destination=new Le(i),s}return ge(t,e),t}(Ce);function Ie(e){var t;t=e,Pe.setTimeout((function(){throw t}))}var $e={closed:!0,next:Fe,error:function(e){throw e},complete:Fe},Ye="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ue(e){return e}var Ge=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,i=this,o=(r=e)&&r instanceof Ce||function(e){return e&&_e(e.next)&&_e(e.error)&&_e(e.complete)}(r)&&ke(r)?e:new Re(e,t,n);return Ae((function(){var e=i,t=e.operator,n=e.source;o.add(t?t.call(o,n):n?i._subscribe(o):i._trySubscribe(o))})),o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=je(t))((function(t,r){var i=new Re({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Ye]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?Ue:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=je(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function je(e){var t;return null!==(t=null!=e?e:Oe.Promise)&&void 0!==t?t:Promise}var We=Ee((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ve=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return ge(t,e),t.prototype.lift=function(e){var t=new ze(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new We},t.prototype.next=function(e){var t=this;Ae((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=be(t.currentObservers),o=i.next();!o.done;o=i.next()){o.value.next(e)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;Ae((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;Ae((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,o=n.observers;return r||i?xe:(this.currentObservers=null,o.push(e),new Me((function(){t.currentObservers=null,Te(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new Ge;return e.source=this,e},t.create=function(e,t){return new ze(e,t)},t}(Ge),ze=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ge(t,e),t.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)},t.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)},t.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)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:xe},t}(Ve),Ze={now:function(){return(Ze.delegate||Date).now()},delegate:void 0},Xe=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Ze);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return ge(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,o=n._infiniteTimeWindow,s=n._timestampProvider,a=n._windowTime;r||(i.push(t),!o&&i.push(s.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,o=(i?1:2)*t;if(t<1/0&&o<r.length&&r.splice(0,r.length-o),!i){for(var s=n.now(),a=0,l=1;l<r.length&&r[l]<=s;l+=2)a=l;a&&r.splice(0,a+1)}},t}(Ve);let qe=[],Je={};
|
|
134
134
|
/**
|
|
135
135
|
* @name topic
|
|
136
136
|
* @description A small wrapper over the rxjs to offer the topic method on top of it
|
|
@@ -138,14 +138,14 @@ var me=self.fetch.bind(self),ye=function(e,t){return ye=Object.setPrototypeOf||{
|
|
|
138
138
|
* @param step [String] How many values to be buffed for new subscribers - default 0
|
|
139
139
|
* @returns ReplaySubject
|
|
140
140
|
*/
|
|
141
|
-
const
|
|
141
|
+
const Ke=[];
|
|
142
142
|
/**
|
|
143
143
|
* Create a `Writable` store that allows both updating and reading by subscription.
|
|
144
144
|
* @param {*=}value initial value
|
|
145
145
|
* @param {StartStopNotifier=} start
|
|
146
146
|
*/
|
|
147
147
|
function Qe(t,n=e){let r;const i=new Set;function s(e){if(o(t,e)&&(t=e,r)){// store is ready
|
|
148
|
-
const e=!
|
|
148
|
+
const e=!Ke.length;for(const e of i)e[1](),Ke.push(e,t);if(e){for(let e=0;e<Ke.length;e+=2)Ke[e][0](Ke[e+1]);Ke.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const l=[o,a];return i.add(l),1===i.size&&(r=n(s)||e),o(t),()=>{i.delete(l),0===i.size&&r&&(r(),r=null)}}}}function et(t,n,o){const s=!Array.isArray(t),a=s?[t]:t,u=n.length<2;return c=t=>{let o=!1;const c=[];let h=0,d=e;const f=()=>{if(h)return;d();const r=n(s?c[0]:c,t);u?t(r):d=i(r)?r:e},p=a.map(((e,t)=>l(e,(e=>{c[t]=e,h&=~(1<<t),o&&f()}),(()=>{h|=1<<t}))));return o=!0,f(),function(){r(p),d(),
|
|
149
149
|
// We need to set this to false because callbacks can still happen despite having unsubscribed:
|
|
150
150
|
// Callbacks might already be placed in the queue which doesn't know it should no longer
|
|
151
151
|
// invoke this derived store.
|
|
@@ -312,7 +312,7 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
|
|
|
312
312
|
case"x":// 1, 2, 3, 4: The ISO8601 varios formats
|
|
313
313
|
throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
|
|
314
314
|
// @generated from regex-gen.ts
|
|
315
|
-
var
|
|
315
|
+
var Ft=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Ht=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,At=/^(@+)?(\+|#+)?[rs]?$/g,Ct=/(\*)(0+)|(#+)(0+)|(0+)/g,Bt=/^(0+)$/;function Nt(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(At,(function(e,n,r){
|
|
316
316
|
// @@@ case
|
|
317
317
|
return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function Lt(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 Rt(e){
|
|
318
318
|
// Engineering
|
|
@@ -325,11 +325,11 @@ case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";
|
|
|
325
325
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
|
|
326
326
|
case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Ct,(function(e,n,r,i,o,s){if(n)t.minimumIntegerDigits=r.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}
|
|
327
327
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
|
|
328
|
-
if(Bt.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(
|
|
328
|
+
if(Bt.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(Ht.test(i.stem)){
|
|
329
329
|
// Precision
|
|
330
330
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#fraction-precision
|
|
331
331
|
// precision-integer case
|
|
332
|
-
if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(
|
|
332
|
+
if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Ht,(function(e,n,r,i,o,s){
|
|
333
333
|
// .000* case (before ICU67 it was .000+)
|
|
334
334
|
return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var o=i.options[0];
|
|
335
335
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
|
|
@@ -362,7 +362,7 @@ t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12"
|
|
|
362
362
|
var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Ut[n||""]||Ut[r||""]||Ut["".concat(r,"-001")]||Ut["001"])[0]}var jt=new RegExp("^".concat(Dt.source,"*")),Wt=new RegExp("".concat(Dt.source,"*$"));function Vt(e,t){return{start:e,end:t}}
|
|
363
363
|
// #region Ponyfills
|
|
364
364
|
// Consolidate these variables up top for easier toggling during debugging
|
|
365
|
-
var zt=!!String.prototype.startsWith,Zt=!!String.fromCodePoint,Xt=!!Object.fromEntries,qt=!!String.prototype.codePointAt,
|
|
365
|
+
var zt=!!String.prototype.startsWith,Zt=!!String.fromCodePoint,Xt=!!Object.fromEntries,qt=!!String.prototype.codePointAt,Jt=!!String.prototype.trimStart,Kt=!!String.prototype.trimEnd,Qt=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},en=!0;try{
|
|
366
366
|
/**
|
|
367
367
|
* legacy Edge or Xbox One browser
|
|
368
368
|
* Unicode flag support: supported
|
|
@@ -377,9 +377,9 @@ function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r
|
|
|
377
377
|
Xt?Object.fromEntries:// Ponyfill
|
|
378
378
|
function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],s=i[1];t[o]=s}return t},sn=qt?// Native
|
|
379
379
|
function(e,t){return e.codePointAt(t)}:// IE 11
|
|
380
|
-
function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:r-56320+(i-55296<<10)+65536}},an=
|
|
380
|
+
function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:r-56320+(i-55296<<10)+65536}},an=Jt?// Native
|
|
381
381
|
function(e){return e.trimStart()}:// Ponyfill
|
|
382
|
-
function(e){return e.replace(jt,"")},ln=
|
|
382
|
+
function(e){return e.replace(jt,"")},ln=Kt?// Native
|
|
383
383
|
function(e){return e.trimEnd()}:// Ponyfill
|
|
384
384
|
function(e){return e.replace(Wt,"")};
|
|
385
385
|
// Prevent minifier to translate new RegExp to literal form that might cause syntax error on IE11.
|
|
@@ -500,7 +500,7 @@ e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePos
|
|
|
500
500
|
// Find the end of the quoted literal text.
|
|
501
501
|
this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(dt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Vt(n,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
|
|
502
502
|
// Parse the skeleton
|
|
503
|
-
for(var t=[],n=0,r=e.split(
|
|
503
|
+
for(var t=[],n=0,r=e.split(Ft).filter((function(e){return e.length>0}));n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],s=i.slice(1),a=0,l=s;a<l.length;a++)if(0===l[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:s})}return t}(e)}catch(e){return this.error(dt.INVALID_NUMBER_SKELETON,t)}return{val:{type:pt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?$t(n):{}},err:null}},
|
|
504
504
|
/**
|
|
505
505
|
* @param nesting_level The current nesting level of messages.
|
|
506
506
|
* This can be positive when parsing message fragment in select or plural argument options.
|
|
@@ -602,7 +602,7 @@ e.MISSING_VALUE="MISSING_VALUE",
|
|
|
602
602
|
// When value supplied is invalid
|
|
603
603
|
e.INVALID_VALUE="INVALID_VALUE",
|
|
604
604
|
// When we need specific Intl API but it's not available
|
|
605
|
-
e.MISSING_INTL_API="MISSING_INTL_API"}(Tn||(Tn={}));var kn,Dn=/** @class */function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return ht(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),On=/** @class */function(e){function t(t,n,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Tn.INVALID_VALUE,i)||this}return ht(t,e),t}(Dn),Pn=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),Tn.INVALID_VALUE,r)||this}return ht(t,e),t}(Dn),
|
|
605
|
+
e.MISSING_INTL_API="MISSING_INTL_API"}(Tn||(Tn={}));var kn,Dn=/** @class */function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return ht(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),On=/** @class */function(e){function t(t,n,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Tn.INVALID_VALUE,i)||this}return ht(t,e),t}(Dn),Pn=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),Tn.INVALID_VALUE,r)||this}return ht(t,e),t}(Dn),Fn=/** @class */function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),Tn.MISSING_VALUE,n)||this}return ht(t,e),t}(Dn);function Hn(e){return"function"==typeof e}
|
|
606
606
|
// TODO(skeleton): add skeleton support
|
|
607
607
|
function An(e,t,n,r,i,o,
|
|
608
608
|
// For debugging
|
|
@@ -615,11 +615,11 @@ if(gt(c))a.push({type:kn.literal,value:c.value});else
|
|
|
615
615
|
// Replace `#` in plural rules with the actual numeric value.
|
|
616
616
|
if(Tt(c))"number"==typeof o&&a.push({type:kn.literal,value:n.getNumberFormat(t).format(o)});else{var h=c.value;
|
|
617
617
|
// Enforce that all required values are provided by the caller.
|
|
618
|
-
if(!i||!(h in i))throw new
|
|
618
|
+
if(!i||!(h in i))throw new Fn(h,s);var d=i[h];if(bt(c))d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),a.push({type:"string"==typeof d?kn.literal:kn.object,value:d});else
|
|
619
619
|
// Recursively format plural and select parts' option — which can be a
|
|
620
620
|
// nested pattern structure. The choosing of the option to use is
|
|
621
621
|
// abstracted-by and delegated-to the part helper object.
|
|
622
|
-
if(wt(c)){var f="string"==typeof c.style?r.date[c.style]:kt(c.style)?c.style.parsedOptions:void 0;a.push({type:kn.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(_t(c)){f="string"==typeof c.style?r.time[c.style]:kt(c.style)?c.style.parsedOptions:r.time.medium;a.push({type:kn.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(vt(c)){(f="string"==typeof c.style?r.number[c.style]:xt(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(d*=f.scale||1),a.push({type:kn.literal,value:n.getNumberFormat(t,f).format(d)})}else{if(Mt(c)){var p=c.children,m=c.value,y=i[m];if(!
|
|
622
|
+
if(wt(c)){var f="string"==typeof c.style?r.date[c.style]:kt(c.style)?c.style.parsedOptions:void 0;a.push({type:kn.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(_t(c)){f="string"==typeof c.style?r.time[c.style]:kt(c.style)?c.style.parsedOptions:r.time.medium;a.push({type:kn.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(vt(c)){(f="string"==typeof c.style?r.number[c.style]:xt(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(d*=f.scale||1),a.push({type:kn.literal,value:n.getNumberFormat(t,f).format(d)})}else{if(Mt(c)){var p=c.children,m=c.value,y=i[m];if(!Hn(y))throw new Pn(m,"function",s);var g=y(An(p,t,n,r,i,o).map((function(e){return e.value})));Array.isArray(g)||(g=[g]),a.push.apply(a,g.map((function(e){return{type:"string"==typeof e?kn.literal:kn.object,value:e}})))}if(Et(c)){if(!(b=c.options[d]||c.options.other))throw new On(c.value,d,Object.keys(c.options),s);a.push.apply(a,An(b.value,t,n,r,i))}else if(St(c)){var b;if(!(b=c.options["=".concat(d)])){if(!Intl.PluralRules)throw new Dn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Tn.MISSING_INTL_API,s);var v=n.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));b=c.options[v]||c.options.other}if(!b)throw new On(c.value,d,Object.keys(c.options),s);a.push.apply(a,An(b.value,t,n,r,i,d-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===kn.literal&&t.type===kn.literal?n.value+=t.value:e.push(t),e}),[])}(a)}
|
|
623
623
|
/*
|
|
624
624
|
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
|
|
625
625
|
Copyrights licensed under the New BSD License.
|
|
@@ -639,9 +639,9 @@ this.formats=Cn(e.formats,r),this.formatters=i&&i.formatters||(void 0===(o=this.
|
|
|
639
639
|
// Default format options used as the prototype of the `formats` provided to the
|
|
640
640
|
// constructor. These are used when constructing the internal Intl.NumberFormat
|
|
641
641
|
// and Intl.DateTimeFormat instances.
|
|
642
|
-
e.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"}}},e}();const Ln={},Rn=(e,t,n)=>n?(t in Ln||(Ln[t]={}),e in Ln[t]||(Ln[t][e]=n),n):n,In=(e,t)=>{if(null==t)return;if(t in Ln&&e in Ln[t])return Ln[t][e];const n=cr(t);for(let r=0;r<n.length;r++){const i=Gn(n[r],e);if(i)return Rn(e,t,i)}};let $n;const Yn=Qe({});function Un(e){return e in $n}function Gn(e,t){if(!Un(e))return null;const n=function(e){return $n[e]||null}(e);return function(e,t){if(null==t)return;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(e>0){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}(n,t)}function jn(e,...t){delete Ln[e],Yn.update((n=>(n[e]=ut.all([n[e]||{},...t]),n)))}et([Yn],(([e])=>Object.keys(e))),Yn.subscribe((e=>$n=e));const Wn={};function Vn(e){return Wn[e]}function zn(e){return null!=e&&cr(e).some((e=>{var t;return null==(t=Vn(e))?void 0:t.size}))}function Zn(e,t){const n=Promise.all(t.map((t=>(function(e,t){Wn[e].delete(t),0===Wn[e].size&&delete Wn[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>jn(e,...t)))}const Xn={};function qn(e){if(!zn(e))return e in Xn?Xn[e]:Promise.resolve();const t=function(e){return cr(e).map((e=>{const t=Vn(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Xn[e]=Promise.all(t.map((([e,t])=>Zn(e,t)))).then((()=>{if(zn(e))return qn(e);delete Xn[e]})),Xn[e]}const
|
|
642
|
+
e.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"}}},e}();const Ln={},Rn=(e,t,n)=>n?(t in Ln||(Ln[t]={}),e in Ln[t]||(Ln[t][e]=n),n):n,In=(e,t)=>{if(null==t)return;if(t in Ln&&e in Ln[t])return Ln[t][e];const n=cr(t);for(let r=0;r<n.length;r++){const i=Gn(n[r],e);if(i)return Rn(e,t,i)}};let $n;const Yn=Qe({});function Un(e){return e in $n}function Gn(e,t){if(!Un(e))return null;const n=function(e){return $n[e]||null}(e);return function(e,t){if(null==t)return;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(e>0){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}(n,t)}function jn(e,...t){delete Ln[e],Yn.update((n=>(n[e]=ut.all([n[e]||{},...t]),n)))}et([Yn],(([e])=>Object.keys(e))),Yn.subscribe((e=>$n=e));const Wn={};function Vn(e){return Wn[e]}function zn(e){return null!=e&&cr(e).some((e=>{var t;return null==(t=Vn(e))?void 0:t.size}))}function Zn(e,t){const n=Promise.all(t.map((t=>(function(e,t){Wn[e].delete(t),0===Wn[e].size&&delete Wn[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>jn(e,...t)))}const Xn={};function qn(e){if(!zn(e))return e in Xn?Xn[e]:Promise.resolve();const t=function(e){return cr(e).map((e=>{const t=Vn(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Xn[e]=Promise.all(t.map((([e,t])=>Zn(e,t)))).then((()=>{if(zn(e))return qn(e);delete Xn[e]})),Xn[e]}const Jn={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Kn(){return Jn}const Qn=Qe(!1);var er=Object.defineProperty,tr=Object.defineProperties,nr=Object.getOwnPropertyDescriptors,rr=Object.getOwnPropertySymbols,ir=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,sr=(e,t,n)=>t in e?er(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let ar;const lr=Qe(null);function ur(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function cr(e,t=Kn().fallbackLocale){const n=ur(e);return t?[...new Set([...n,...ur(t)])]:n}function hr(){return null!=ar?ar:void 0}lr.subscribe((e=>{ar=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const dr=(fr=((e,t)=>{for(var n in t||(t={}))ir.call(t,n)&&sr(e,n,t[n]);if(rr)for(var n of rr(t))or.call(t,n)&&sr(e,n,t[n]);return e})({},lr),tr(fr,nr({set:e=>{if(e&&function(e){if(null==e)return;const t=cr(e);for(let e=0;e<t.length;e++){const n=t[e];if(Un(n))return n}}(e)&&zn(e)){const{loadingDelay:t}=Kn();let n;return"undefined"!=typeof window&&null!=hr()&&t?n=window.setTimeout((()=>Qn.set(!0)),t):Qn.set(!0),qn(e).then((()=>{lr.set(e)})).finally((()=>{clearTimeout(n),Qn.set(!1)}))}return lr.set(e)}})));var fr;const pr=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var mr=Object.defineProperty,yr=Object.getOwnPropertySymbols,gr=Object.prototype.hasOwnProperty,br=Object.prototype.propertyIsEnumerable,vr=(e,t,n)=>t in e?mr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wr=(e,t)=>{for(var n in t||(t={}))gr.call(t,n)&&vr(e,n,t[n]);if(yr)for(var n of yr(t))br.call(t,n)&&vr(e,n,t[n]);return e},_r=(e,t)=>{var n={};for(var r in e)gr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&yr)for(var r of yr(e))t.indexOf(r)<0&&br.call(e,r)&&(n[r]=e[r]);return n};const Er=(e,t)=>{const{formats:n}=Kn();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Sr=pr((e=>{var t=e,{locale:n,format:r}=t,i=_r(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=Er("number",r)),new Intl.NumberFormat(n,i)})),Tr=pr((e=>{var t=e,{locale:n,format:r}=t,i=_r(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=Er("date",r):0===Object.keys(i).length&&(i=Er("date","short")),new Intl.DateTimeFormat(n,i)})),Mr=pr((e=>{var t=e,{locale:n,format:r}=t,i=_r(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=Er("time",r):0===Object.keys(i).length&&(i=Er("time","short")),new Intl.DateTimeFormat(n,i)})),xr=pr((
|
|
643
643
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
644
|
-
(e,t=hr())=>new Nn(e,t,
|
|
644
|
+
(e,t=hr())=>new Nn(e,t,Kn().formats,{ignoreTag:Kn().ignoreTag}))),kr=(e,t={})=>{var n,r,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=hr(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=In(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(o=null!=(i=null==(r=(n=Kn()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:u}))?i:u)?o:e;if(!a)return c;let h=c;try{h=xr(c,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},Dr=(e,t)=>((e={})=>{var t=e,{locale:n=hr()}=t,r=_r(t,["locale"]);return Mr(wr({locale:n},r))})(t).format(e),Or=(e,t)=>((e={})=>{var t=e,{locale:n=hr()}=t,r=_r(t,["locale"]);return Tr(wr({locale:n},r))})(t).format(e),Pr=(e,t)=>((e={})=>{var t=e,{locale:n=hr()}=t,r=_r(t,["locale"]);return Sr(wr({locale:n},r))})(t).format(e),Fr=(e,t=hr())=>In(e,t),Hr=et([dr,Yn],(()=>kr));et([dr],(()=>Dr)),et([dr],(()=>Or)),et([dr],(()=>Pr)),et([dr,Yn],(()=>Fr)),window.emWidgets={topic:(e,t=0)=>{if(-1==qe.indexOf(e)){let n=new Xe(t);Je[e]=n,qe.push(e)}return Je[e]}};
|
|
645
645
|
/**
|
|
646
646
|
* @name isMobile
|
|
647
647
|
* @description A method that returns if the browser used to access the app is from a mobile device or not
|
|
@@ -654,7 +654,7 @@ const Ar=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/i
|
|
|
654
654
|
* @description A method that returns the type of the device
|
|
655
655
|
* @param {String} userAgent window.navigator.userAgent
|
|
656
656
|
* @returns {String} Android/iPhone/iPad/PC
|
|
657
|
-
*/function Cr(e,t){jn(e,t)}const Br={en:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},"zh-hk":{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"},de:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"},it:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},fr:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"},es:{signIn:"Iniciar sesión",register:"REGÍSTRATE",deposit:"Deposita",playForFun:"Modo práctica",playNow:"Juega ahora!",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas"},tr:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},ru:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},ro:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},hr:{signIn:"Prijava",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započni sada!",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata"},hu:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},pl:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},pt:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Jogue agora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},sl:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},sr:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}};function Nr(e,t){jn(e,t)}const Lr={en:{title:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{title:"訂金",loading:"加載請稍候…"},fr:{title:"Dépôt",loading:"Chargement, veuillez patienter ..."},ro:{title:"Depunere",loading:"Se încarcă..."},es:{title:"Deposita",loading:"Cargando ..."},pt:{title:"Depósito",loading:"Carregando, por favor espere ..."},hr:{title:"Uplata",loading:"Učitavanje"}};
|
|
657
|
+
*/function Cr(e,t){jn(e,t)}const Br={en:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},"zh-hk":{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"},de:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"},it:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},fr:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"},es:{signIn:"Iniciar sesión",register:"REGÍSTRATE",deposit:"Deposita",playForFun:"Modo práctica",playNow:"Juega ahora!",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas"},tr:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},ru:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},ro:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},hr:{signIn:"Prijava",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započni sada!",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata"},hu:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},pl:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},pt:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Jogue agora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},sl:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},sr:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},"pt-br":{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Começa agora!",breakButton:"Pressione o botão por 3 segundos para um bloqueio instantâneo de 24 horas"},"es-mx":{signIn:"Ingresar",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Comienza ahora!",breakButton:"Presiona el botón por 3 segundos para un bloqueo instantáneo de 24 horas"}};function Nr(e,t){jn(e,t)}const Lr={en:{title:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{title:"訂金",loading:"加載請稍候…"},fr:{title:"Dépôt",loading:"Chargement, veuillez patienter ..."},ro:{title:"Depunere",loading:"Se încarcă..."},es:{title:"Deposita",loading:"Cargando ..."},pt:{title:"Depósito",loading:"Carregando, por favor espere ..."},hr:{title:"Uplata",loading:"Učitavanje"},"pt-br":{title:"Depositar",Loading:"Carregando, por favor espere..."},"es-mx":{title:"Depositar",Loading:"Cargando, por favor espere..."}};
|
|
658
658
|
/* ../player-deposit/src/PlayerDeposit.svelte generated by Svelte v3.59.2 */
|
|
659
659
|
// (157:2) {:else}
|
|
660
660
|
function Rr(e){let t,n,r;return{c(){t=p("div"),n=p("iframe"),a(n.src,r=/*iframeUrl*/e[3])||v(n,"src",r),v(n,"title","Deposit Iframe"),v(t,"class","DepositIframeWrapper")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*iframeUrl*/8&t&&!a(n.src,r=/*iframeUrl*/e[3])&&v(n,"src",r)},d(e){e&&f(t)}}}
|
|
@@ -662,7 +662,7 @@ function Rr(e){let t,n,r;return{c(){t=p("div"),n=p("iframe"),a(n.src,r=/*iframeU
|
|
|
662
662
|
function Ir(e){let t,n,r=/*$_*/e[4]("loading")+"";return{c(){t=p("p"),n=y(r)},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/16&t&&r!==(r=/*$_*/e[4]("loading")+"")&&_(n,r)},d(e){e&&f(t)}}}function $r(t){let n,r,i,o,s,a=/*$_*/t[4]("title")+"",l=/*isMobile*/t[5]&&function(e){let t,n,r,i,o,s,a,l,u,c,w,E,S,T=/*$_*/e[4]("title")+"";return{c(){t=p("div"),n=m("svg"),r=m("defs"),i=m("style"),o=y(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"),s=m("g"),a=m("g"),l=m("path"),u=g(),c=p("h2"),w=y(T),v(l,"class","aaa"),v(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),v(l,"transform","translate(15 15) rotate(180)"),v(a,"transform","translate(20 158)"),v(s,"transform","translate(-20 -158)"),v(n,"xmlns","http://www.w3.org/2000/svg"),v(n,"width","15"),v(n,"height","15"),v(n,"viewBox","0 0 15 15"),v(c,"class","DepositTitleMobile"),v(t,"class","MenuReturnButton")},m(f,p){d(f,t,p),h(t,n),h(n,r),h(r,i),h(i,o),h(n,s),h(s,a),h(a,l),h(t,u),h(t,c),h(c,w),E||(S=b(t,"click",/*click_handler*/e[17]),E=!0)},p(e,t){/*$_*/16&t&&T!==(T=/*$_*/e[4]("title")+"")&&_(w,T)},d(e){e&&f(t),E=!1,S()}}}(t);function u(e,t){/*isLoading*/
|
|
663
663
|
return e[1]?Ir:Rr}let c=u(t),w=c(t);return{c(){n=p("div"),l&&l.c(),r=g(),i=p("h2"),o=y(a),s=g(),w.c(),this.c=e,v(i,"class","DepositTitle "+(/*isMobile*/t[5]?"DepositTitleNone":"")),v(n,"class","DepositWrapper "+(/*isMobile*/t[5]?"DepositWrapperMobile":"")),E(n,"--dynamic-height",/*dynamicHeight*/t[2])},m(e,a){d(e,n,a),l&&l.m(n,null),h(n,r),h(n,i),h(i,o),h(n,s),w.m(n,null),
|
|
664
664
|
/*div_binding*/t[18](n)},p(e,[t]){/*isMobile*/e[5]&&l.p(e,t),/*$_*/16&t&&a!==(a=/*$_*/e[4]("title")+"")&&_(o,a),c===(c=u(e))&&w?w.p(e,t):(w.d(1),w=c(e),w&&(w.c(),w.m(n,null))),/*dynamicHeight*/4&t&&E(n,"--dynamic-height",/*dynamicHeight*/e[2])},i:e,o:e,d(e){e&&f(n),l&&l.d(),w.d(),
|
|
665
|
-
/*div_binding*/t[18](null)}}}function Yr(e,t,n){let r;u(e,
|
|
665
|
+
/*div_binding*/t[18](null)}}}function Yr(e,t,n){let r;u(e,Hr,(e=>n(4,r=e)));let i,o,{endpoint:s=""}=t,{session:a=""}=t,{playerid:l=""}=t,{lang:c="en"}=t,{hasdefaultamount:h=""}=t,{clientstyling:d=""}=t,{clientstylingurl:f=""}=t,{translationurl:p=""}=t,{playercurrency:m=""}=t,{shortcashierenabled:y="false"}=t,g=window.navigator.userAgent,b="PC"!==Ar(g),v=!0,w=0,_="";Object.keys(Lr).forEach((e=>{Nr(e,Lr[e])}));const E=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:b},window.location.href)},S=e=>{if(e.data){if("ProfileDetailsData"===e.data.type)n(7,m=e.data.profileDetails.currency);switch(e.data["MMFE:setQuickDepositHeight"]&&n(2,o=e.data["MMFE:setQuickDepositHeight"].toString()+"px"),"true"===e.data["MMFE:openFullCashier"]&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),e.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break;case"mm-wm-hc-init-deposit-quick":window.postMessage({type:"CloseShortCashier"},window.location.href)}}},T=()=>{var e;e=c,dr.set(e)};k((()=>(window.addEventListener("message",S,!1),()=>{window.removeEventListener("message",S)})));return e.$$set=e=>{"endpoint"in e&&n(8,s=e.endpoint),"session"in e&&n(9,a=e.session),"playerid"in e&&n(10,l=e.playerid),"lang"in e&&n(11,c=e.lang),"hasdefaultamount"in e&&n(12,h=e.hasdefaultamount),"clientstyling"in e&&n(13,d=e.clientstyling),"clientstylingurl"in e&&n(14,f=e.clientstylingurl),"translationurl"in e&&n(15,p=e.translationurl),"playercurrency"in e&&n(7,m=e.playercurrency),"shortcashierenabled"in e&&n(16,y=e.shortcashierenabled)},e.$$.update=()=>{/*lang*/2048&e.$$.dirty&&c&&T(),/*clientstylingurl, customStylingContainer*/16385&e.$$.dirty&&f&&i&&(()=>{let e=new URL(f),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{i.appendChild(t)}),1)}))})(),/*clientstyling, customStylingContainer*/8193&e.$$.dirty&&d&&i&&(()=>{let e=document.createElement("style");e.innerHTML=d,i.appendChild(e)})(),/*translationurl*/32768&e.$$.dirty&&p&&fetch(p).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Nr(t,e[t])}))})).catch((e=>{console.log(e)})),/*session, playerid, endpoint, playercurrency, lang, shortcashierenabled*/69504&e.$$.dirty&&a&&l&&s&&m&&c&&y&&(()=>{let e=new URL(`${s}/v1/player/${l}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(y&&e.searchParams.append("isShortCashier",y),h)switch(m){case"USD":w=.4;break;case"CDF":w=1e3}let t={method:"POST",headers:{"X-SessionId":a,currency:m||"EUR",amount:w,cashierMode:"Default",IsShortCashier:y,accept:"application/json"}};fetch(e.href,t).then((e=>e.json())).then((e=>{n(1,v=!1),n(3,_=e.CashierUrl)}),(e=>{console.error(e)}))})()},[i,v,o,_,r,b,E,m,s,a,l,c,h,d,f,p,y,()=>E(),function(e){O[e?"unshift":"push"]((()=>{i=e,n(0,i)}))}]}!customElements.get("player-deposit")&&customElements.define("player-deposit",class extends G{constructor(e){super();const t=document.createElement("style");t.textContent=".DepositWrapper{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.DepositTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.DepositTitleMobile{font-size:16px}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh}",this.shadowRoot.appendChild(t),U(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},Yr,$r,o,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,playercurrency:7,shortcashierenabled:16},null),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),L()))}static get observedAttributes(){return["endpoint","session","playerid","lang","hasdefaultamount","clientstyling","clientstylingurl","translationurl","playercurrency","shortcashierenabled"]}get endpoint(){return this.$$.ctx[8]}set endpoint(e){this.$$set({endpoint:e}),L()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),L()}get playerid(){return this.$$.ctx[10]}set playerid(e){this.$$set({playerid:e}),L()}get lang(){return this.$$.ctx[11]}set lang(e){this.$$set({lang:e}),L()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(e){this.$$set({hasdefaultamount:e}),L()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(e){this.$$set({clientstyling:e}),L()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),L()}get translationurl(){return this.$$.ctx[15]}set translationurl(e){this.$$set({translationurl:e}),L()}get playercurrency(){return this.$$.ctx[7]}set playercurrency(e){this.$$set({playercurrency:e}),L()}get shortcashierenabled(){return this.$$.ctx[16]}set shortcashierenabled(e){this.$$set({shortcashierenabled:e}),L()}});var Ur=function(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return pe(null==t&&n.path)}},n.exports),n.exports}((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}
|
|
666
666
|
// This is done to register the method called with moment()
|
|
667
667
|
// without creating circular dependencies.
|
|
668
668
|
function i(e){t=e}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){
|
|
@@ -682,16 +682,16 @@ function E(e){_(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isV
|
|
|
682
682
|
// Lenient ordinal parsing accepts just a number in addition to
|
|
683
683
|
// number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
|
|
684
684
|
// TODO: Remove "ordinalParse" fallback in next major release.
|
|
685
|
-
this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function
|
|
685
|
+
this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function F(e,t){var n,r=f({},e);for(n in t)a(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},f(r[n],e[n]),f(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)a(e,n)&&!a(t,n)&&s(e[n])&&(
|
|
686
686
|
// make sure changes to properties don't modify parent config
|
|
687
|
-
r[n]=f({},r[n]));return r}function
|
|
687
|
+
r[n]=f({},r[n]));return r}function H(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,x=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var A={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function C(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return O(r)?r.call(t,n):r}function B(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,L=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},I={};
|
|
688
688
|
// token: 'M'
|
|
689
689
|
// padded: ['MM', 2]
|
|
690
690
|
// ordinal: 'Mo'
|
|
691
691
|
// callback: function () { this.month() + 1 }
|
|
692
692
|
function $(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(I[e]=i),t&&(I[t[0]]=function(){return B(i.apply(this,arguments),t[1],t[2])}),n&&(I[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Y(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,r=e.match(N);for(t=0,n=r.length;t<n;t++)I[r[t]]?r[t]=I[r[t]]:r[t]=Y(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=O(r[i])?r[i].call(t,e):r[i];return o}}
|
|
693
693
|
// format date using native date object
|
|
694
|
-
function G(e,t){return e.isValid()?(t=j(t,e.localeData()),R[t]=R[t]||U(t),R[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(L.lastIndex=0;n>=0&&L.test(e);)e=e.replace(L,r),L.lastIndex=0,n-=1;return e}var W={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function V(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(N).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var z="Invalid date";function Z(){return this._invalidDate}var X="%d",q=/\d{1,2}/;function
|
|
694
|
+
function G(e,t){return e.isValid()?(t=j(t,e.localeData()),R[t]=R[t]||U(t),R[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(L.lastIndex=0;n>=0&&L.test(e);)e=e.replace(L,r),L.lastIndex=0,n-=1;return e}var W={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function V(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(N).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var z="Invalid date";function Z(){return this._invalidDate}var X="%d",q=/\d{1,2}/;function J(e){return this._ordinal.replace("%d",e)}var K={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Q(e,t,n,r){var i=this._relativeTime[n];return O(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return O(n)?n(t):n.replace(/%s/i,t)}var te={};function ne(e,t){var n=e.toLowerCase();te[n]=te[n+"s"]=te[t]=e}function re(e){return"string"==typeof e?te[e]||te[e.toLowerCase()]:void 0}function ie(e){var t,n,r={};for(n in e)a(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var oe={};function se(e,t){oe[e]=t}function ae(e){var t,n=[];for(t in e)a(e,t)&&n.push({unit:t,priority:oe[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function le(e){return e%4==0&&e%100!=0||e%400==0}function ue(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ce(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ue(t)),n}function he(e,t){return function(n){return null!=n?(fe(this,e,n),r.updateOffset(this,t),this):de(this,e)}}function de(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=ce(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
|
|
695
695
|
// MOMENTS
|
|
696
696
|
function me(e){return O(this[e=re(e)])?this[e]():this}function ye(e,t){if("object"==typeof e){var n,r=ae(e=ie(e)),i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(O(this[e=re(e)]))return this[e](t);return this}var ge,be=/\d/,// 0 - 9
|
|
697
697
|
ve=/\d\d/,// 00 - 99
|
|
@@ -706,14 +706,14 @@ ke=/\d{1,4}/,// 0 - 9999
|
|
|
706
706
|
De=/[+-]?\d{1,6}/,// -999999 - 999999
|
|
707
707
|
Oe=/\d+/,// 0 - inf
|
|
708
708
|
Pe=/[+-]?\d+/,// -inf - inf
|
|
709
|
-
|
|
710
|
-
|
|
709
|
+
Fe=/Z|[+-]\d\d:?\d\d/gi,// +00:00 -00:00 +0000 -0000 or Z
|
|
710
|
+
He=/Z|[+-]\d\d(?::?\d\d)?/gi,// +00 -00 +00:00 -00:00 +0000 -0000 or Z
|
|
711
711
|
Ae=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
|
|
712
712
|
// any word (or two) characters or numbers including two/three word month in arabic.
|
|
713
713
|
// includes scottish gaelic two word and hyphenated months
|
|
714
714
|
Ce=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Be(e,t,n){ge[e]=O(t)?t:function(e,r){return e&&n?n:t}}function Ne(e,t){return a(ge,e)?ge[e](t._strict,t._locale):new RegExp(Le(e))}
|
|
715
715
|
// Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
|
|
716
|
-
function Le(e){return Re(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Re(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ge={};var Ie={};function $e(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),c(t)&&(i=function(e,n){n[t]=ce(e)}),r=e.length,n=0;n<r;n++)Ie[e[n]]=i}function Ye(e,t){$e(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Ue(e,t,n){null!=t&&a(Ie,e)&&Ie[e](t,n._a,n,e)}var Ge,je=0,We=1,Ve=2,ze=3,Ze=4,Xe=5,qe=6,
|
|
716
|
+
function Le(e){return Re(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Re(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ge={};var Ie={};function $e(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),c(t)&&(i=function(e,n){n[t]=ce(e)}),r=e.length,n=0;n<r;n++)Ie[e[n]]=i}function Ye(e,t){$e(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Ue(e,t,n){null!=t&&a(Ie,e)&&Ie[e](t,n._a,n,e)}var Ge,je=0,We=1,Ve=2,ze=3,Ze=4,Xe=5,qe=6,Je=7,Ke=8;function Qe(e,t){return(e%t+t)%t}function et(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Qe(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}
|
|
717
717
|
// FORMATTING
|
|
718
718
|
Ge=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
|
|
719
719
|
// I know
|
|
@@ -793,7 +793,7 @@ doy:6};function kt(){return this._week.dow}function Dt(){return this._week.doy}
|
|
|
793
793
|
function Ot(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Pt(e){var t=St(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}
|
|
794
794
|
// FORMATTING
|
|
795
795
|
// HELPERS
|
|
796
|
-
function
|
|
796
|
+
function Ft(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Ht(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}
|
|
797
797
|
// LOCALES
|
|
798
798
|
function At(e,t){return e.slice(t,7).concat(e.slice(0,t))}$("d",0,"do","day"),$("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),$("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),$("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),$("e",0,0,"weekday"),$("E",0,0,"isoWeekday"),
|
|
799
799
|
// ALIASES
|
|
@@ -809,25 +809,25 @@ if(
|
|
|
809
809
|
// make the regex if we don't have it already
|
|
810
810
|
i=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}
|
|
811
811
|
// MOMENTS
|
|
812
|
-
function Wt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=
|
|
812
|
+
function Wt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Ft(e,this.localeData()),this.add(e-t,"d")):t}function Vt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function zt(e){if(!this.isValid())return null!=e?this:NaN;
|
|
813
813
|
// behaves the same as moment#day except
|
|
814
814
|
// as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
|
|
815
815
|
// as a setter, sunday should belong to the previous week.
|
|
816
|
-
if(null!=e){var t=
|
|
816
|
+
if(null!=e){var t=Ht(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Lt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Rt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function qt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Jt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=It),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Jt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,s=[],a=[],l=[],u=[];for(t=0;t<7;t++)
|
|
817
817
|
// make the regex if we don't have it already
|
|
818
818
|
n=p([2e3,1]).day(t),r=Re(this.weekdaysMin(n,"")),i=Re(this.weekdaysShort(n,"")),o=Re(this.weekdays(n,"")),s.push(r),a.push(i),l.push(o),u.push(r),u.push(i),u.push(o);
|
|
819
819
|
// Sorting makes sure if one weekday (or abbr) is a prefix of another it
|
|
820
820
|
// will match the longer piece.
|
|
821
821
|
s.sort(e),a.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}
|
|
822
822
|
// FORMATTING
|
|
823
|
-
function
|
|
823
|
+
function Kt(){return this.hours()%12||12}function Qt(){return this.hours()||24}function en(e,t){$(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}
|
|
824
824
|
// PARSING
|
|
825
825
|
function tn(e,t){return t._meridiemParse}
|
|
826
826
|
// LOCALES
|
|
827
827
|
function nn(e){
|
|
828
828
|
// IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
|
|
829
829
|
// Using charAt should be more compatible.
|
|
830
|
-
return"p"===(e+"").toLowerCase().charAt(0)}$("H",["HH",2],0,"hour"),$("h",["hh",2],0,
|
|
830
|
+
return"p"===(e+"").toLowerCase().charAt(0)}$("H",["HH",2],0,"hour"),$("h",["hh",2],0,Kt),$("k",["kk",2],0,Qt),$("hmm",0,0,(function(){return""+Kt.apply(this)+B(this.minutes(),2)})),$("hmmss",0,0,(function(){return""+Kt.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)})),$("Hmm",0,0,(function(){return""+this.hours()+B(this.minutes(),2)})),$("Hmmss",0,0,(function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)})),en("a",!0),en("A",!1),
|
|
831
831
|
// ALIASES
|
|
832
832
|
ne("hour","h"),
|
|
833
833
|
// PRIORITY
|
|
@@ -836,7 +836,7 @@ se("hour",13),Be("a",tn),Be("A",tn),Be("H",Se),Be("h",Se),Be("k",Se),Be("HH",Se,
|
|
|
836
836
|
// specified which hour they want. So trying to maintain the same hour (in
|
|
837
837
|
// a new timezone) makes sense. Adding/subtracting hours does not follow
|
|
838
838
|
// this rule.
|
|
839
|
-
on=he("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,ln={calendar:A,longDateFormat:W,invalidDate:z,ordinal:X,dayOfMonthOrdinalParse:q,relativeTime:
|
|
839
|
+
on=he("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,ln={calendar:A,longDateFormat:W,invalidDate:z,ordinal:X,dayOfMonthOrdinalParse:q,relativeTime:K,months:tt,monthsShort:nt,week:xt,weekdays:Ct,weekdaysMin:Nt,weekdaysShort:Bt,meridiemParse:rn},un={},cn={};
|
|
840
840
|
// internal storage for locale config files
|
|
841
841
|
function hn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function dn(e){return e?e.toLowerCase().replace("_","-"):e}
|
|
842
842
|
// pick the locale from the array
|
|
@@ -860,7 +860,7 @@ function yn(e,t){var n;return e&&((n=u(t)?vn(e):gn(e,t))?
|
|
|
860
860
|
// moment.duration._locale = moment._locale = data;
|
|
861
861
|
an=n:"undefined"!=typeof console&&console.warn&&
|
|
862
862
|
//warn user if arguments are passed but the locale could not be set
|
|
863
|
-
console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function gn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=un[e])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=un[e]._config;else if(null!=t.parentLocale)if(null!=un[t.parentLocale])r=un[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return un[e]=new F(
|
|
863
|
+
console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function gn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=un[e])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=un[e]._config;else if(null!=t.parentLocale)if(null!=un[t.parentLocale])r=un[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return un[e]=new H(F(r,t)),cn[e]&&cn[e].forEach((function(e){gn(e.name,e.config)})),
|
|
864
864
|
// backwards compat for now: also set the locale
|
|
865
865
|
// make sure we set the locale AFTER all child locales have been
|
|
866
866
|
// created, so we won't end up with the child locale set.
|
|
@@ -868,13 +868,13 @@ yn(e),un[e]}
|
|
|
868
868
|
// useful for testing
|
|
869
869
|
return delete un[e],null}function bn(e,t){if(null!=t){var n,r,i=ln;null!=un[e]&&null!=un[e].parentLocale?
|
|
870
870
|
// Update existing child locale in-place to avoid memory-leaks
|
|
871
|
-
un[e].set(
|
|
871
|
+
un[e].set(F(un[e]._config,t)):(
|
|
872
872
|
// MERGE
|
|
873
|
-
null!=(r=mn(e))&&(i=r._config),t=
|
|
873
|
+
null!=(r=mn(e))&&(i=r._config),t=F(i,t),null==r&&(
|
|
874
874
|
// updateLocale is called for creating a new locale
|
|
875
875
|
// Set abbr so it will have a name (getters return
|
|
876
876
|
// undefined otherwise).
|
|
877
|
-
t.abbr=e),(n=new
|
|
877
|
+
t.abbr=e),(n=new H(t)).parentLocale=un[e],un[e]=n),
|
|
878
878
|
// backwards compat for now: also set the locale
|
|
879
879
|
yn(e)}else
|
|
880
880
|
// pass null for config to unupdate, useful for tests
|
|
@@ -882,7 +882,7 @@ null!=un[e]&&(null!=un[e].parentLocale?(un[e]=un[e].parentLocale,e===yn()&&yn(e)
|
|
|
882
882
|
// returns locale data
|
|
883
883
|
function vn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!o(e)){if(
|
|
884
884
|
//short-circuit everything else
|
|
885
|
-
t=mn(e))return t;e=[e]}return fn(e)}function wn(){return x(un)}function _n(e){var t,n=e._a;return n&&-2===y(e).overflow&&(t=n[We]<0||n[We]>11?We:n[Ve]<1||n[Ve]>et(n[je],n[We])?Ve:n[ze]<0||n[ze]>24||24===n[ze]&&(0!==n[Ze]||0!==n[Xe]||0!==n[qe])?ze:n[Ze]<0||n[Ze]>59?Ze:n[Xe]<0||n[Xe]>59?Xe:n[qe]<0||n[qe]>999?qe:-1,y(e)._overflowDayOfYear&&(t<je||t>Ve)&&(t=Ve),y(e)._overflowWeeks&&-1===t&&(t=
|
|
885
|
+
t=mn(e))return t;e=[e]}return fn(e)}function wn(){return x(un)}function _n(e){var t,n=e._a;return n&&-2===y(e).overflow&&(t=n[We]<0||n[We]>11?We:n[Ve]<1||n[Ve]>et(n[je],n[We])?Ve:n[ze]<0||n[ze]>24||24===n[ze]&&(0!==n[Ze]||0!==n[Xe]||0!==n[qe])?ze:n[Ze]<0||n[Ze]>59?Ze:n[Xe]<0||n[Xe]>59?Xe:n[qe]<0||n[qe]>999?qe:-1,y(e)._overflowDayOfYear&&(t<je||t>Ve)&&(t=Ve),y(e)._overflowWeeks&&-1===t&&(t=Je),y(e)._overflowWeekday&&-1===t&&(t=Ke),y(e).overflow=t),e}
|
|
886
886
|
// iso 8601 regex
|
|
887
887
|
// 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
|
|
888
888
|
var En=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Sn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Tn=/Z|[+-]\d\d(?::?\d\d)?/,Mn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],
|
|
@@ -893,13 +893,13 @@ Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|J
|
|
|
893
893
|
// date from iso format
|
|
894
894
|
function Pn(e){var t,n,r,i,o,s,a=e._i,l=En.exec(a)||Sn.exec(a),u=Mn.length,c=xn.length;if(l){for(y(e).iso=!0,t=0,n=u;t<n;t++)if(Mn[t][1].exec(l[1])){i=Mn[t][0],r=!1!==Mn[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=c;t<n;t++)if(xn[t][1].exec(l[3])){
|
|
895
895
|
// match[2] should be 'T' or space
|
|
896
|
-
o=(l[2]||" ")+xn[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(l[4]){if(!Tn.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=i+(o||"")+(s||""),Un(e)}else e._isValid=!1}function
|
|
896
|
+
o=(l[2]||" ")+xn[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(l[4]){if(!Tn.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=i+(o||"")+(s||""),Un(e)}else e._isValid=!1}function Fn(e,t,n,r,i,o){var s=[Hn(e),nt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&s.push(parseInt(o,10)),s}function Hn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function An(e){
|
|
897
897
|
// Remove comments and folding whitespace and replace multiple-spaces with a single space
|
|
898
898
|
return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Cn(e,t,n){return!e||Bt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(y(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Bn(e,t,n){if(e)return On[e];if(t)
|
|
899
899
|
// the only allowed military tz is Z
|
|
900
900
|
return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}
|
|
901
901
|
// date and time from ref 2822 format
|
|
902
|
-
function Nn(e){var t,n=Dn.exec(An(e._i));if(n){if(t=
|
|
902
|
+
function Nn(e){var t,n=Dn.exec(An(e._i));if(n){if(t=Fn(n[4],n[3],n[2],n[5],n[6],n[7]),!Cn(n[1],t,e))return;e._a=t,e._tzm=Bn(n[8],n[9],n[10]),e._d=wt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}
|
|
903
903
|
// date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
|
|
904
904
|
function Ln(e){var t=kn.exec(e._i);null===t?(Pn(e),!1===e._isValid&&(delete e._isValid,Nn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
|
|
905
905
|
// Final attempt, use Input Fallback
|
|
@@ -978,7 +978,7 @@ e._d=new Date(t):r.createFromInputFallback(e)}function Xn(e,t,n,r,i){var a={};re
|
|
|
978
978
|
// https://github.com/moment/moment/issues/1423
|
|
979
979
|
a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,Vn(a)}function qn(e,t,n,r){return Xn(e,t,n,r,!1)}r.createFromInputFallback=M("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},
|
|
980
980
|
// constant that refers to the RFC 2822 form
|
|
981
|
-
r.RFC_2822=function(){};var
|
|
981
|
+
r.RFC_2822=function(){};var Jn=M("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=qn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:b()})),Kn=M("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=qn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:b()}));
|
|
982
982
|
// Pick a moment m from moments so that m[fn](other) is true for all
|
|
983
983
|
// other. This relies on the function fn to be transitive.
|
|
984
984
|
|
|
@@ -1004,7 +1004,7 @@ function cr(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.len
|
|
|
1004
1004
|
// FORMATTING
|
|
1005
1005
|
function hr(e,t){$(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+B(~~(e/60),2)+t+B(~~e%60,2)}))}hr("Z",":"),hr("ZZ",""),
|
|
1006
1006
|
// PARSING
|
|
1007
|
-
Be("Z",
|
|
1007
|
+
Be("Z",He),Be("ZZ",He),$e(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fr(He,e)}));
|
|
1008
1008
|
// HELPERS
|
|
1009
1009
|
// timezone chunker
|
|
1010
1010
|
// '+10:00' > ['10', '00']
|
|
@@ -1030,7 +1030,7 @@ return-Math.round(e._d.getTimezoneOffset())}
|
|
|
1030
1030
|
// a second time. In case it wants us to change the offset again
|
|
1031
1031
|
// _changeInProgress == true case, then we have to adjust, because
|
|
1032
1032
|
// there is no such time in the given timezone.
|
|
1033
|
-
function yr(e,t,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=fr(
|
|
1033
|
+
function yr(e,t,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=fr(He,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=mr(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?Cr(this,Or(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:mr(this)}function gr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function br(e){return this.utcOffset(0,e)}function vr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(mr(this),"m")),this}function wr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=fr(Fe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function _r(e){return!!this.isValid()&&(e=e?qn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Er(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sr(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return _(t,this),(t=zn(t))._a?(e=t._isUTC?p(t._a):qn(t._a),this._isDSTShifted=this.isValid()&&cr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Tr(){return!!this.isValid()&&!this._isUTC}function Mr(){return!!this.isValid()&&this._isUTC}function xr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
|
|
1034
1034
|
// ASP.NET json date format regex
|
|
1035
1035
|
r.updateOffset=function(){};var kr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
|
|
1036
1036
|
// from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
|
|
@@ -1040,13 +1040,13 @@ Dr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:(
|
|
|
1040
1040
|
// matching against regexp is expensive, do it on demand
|
|
1041
1041
|
s=null;return lr(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(s=kr.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:ce(s[Ve])*n,h:ce(s[ze])*n,m:ce(s[Ze])*n,s:ce(s[Xe])*n,ms:ce(ur(1e3*s[qe]))*n}):(s=Dr.exec(e))?(n="-"===s[1]?-1:1,o={y:Pr(s[2],n),M:Pr(s[3],n),w:Pr(s[4],n),d:Pr(s[5],n),h:Pr(s[6],n),m:Pr(s[7],n),s:Pr(s[8],n)}):null==o?
|
|
1042
1042
|
// checks for null or undefined
|
|
1043
|
-
o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=
|
|
1043
|
+
o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Hr(qn(o.from),qn(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),r=new ar(o),lr(e)&&a(e,"_locale")&&(r._locale=e._locale),lr(e)&&a(e,"_isValid")&&(r._isValid=e._isValid),r}function Pr(e,t){
|
|
1044
1044
|
// We'd normally use ~~inp for this, but unfortunately it also
|
|
1045
1045
|
// converts floats to ints.
|
|
1046
1046
|
// inp may be undefined, so careful calling replace on it.
|
|
1047
1047
|
var n=e&&parseFloat(e.replace(",","."));
|
|
1048
1048
|
// apply sign while we're at it
|
|
1049
|
-
return(isNaN(n)?0:n)*t}function
|
|
1049
|
+
return(isNaN(n)?0:n)*t}function Fr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Hr(e,t){var n;return e.isValid()&&t.isValid()?(t=pr(t,e),e.isBefore(t)?n=Fr(e,t):((n=Fr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}
|
|
1050
1050
|
// TODO: remove 'name' arg after deprecation is removed
|
|
1051
1051
|
function Ar(e,t){return function(n,r){var i;
|
|
1052
1052
|
//invert the arguments, but complain about it
|
|
@@ -1057,15 +1057,15 @@ function Rr(e){return S(e)||h(e)||Lr(e)||c(e)||$r(e)||Ir(e)||null==e}function Ir
|
|
|
1057
1057
|
1===arguments.length&&(arguments[0]?Rr(arguments[0])?(e=arguments[0],t=void 0):Yr(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));
|
|
1058
1058
|
// We want to compare the start of today, vs this.
|
|
1059
1059
|
// Getting start-of-today depends on whether we're local/utc/offset or not.
|
|
1060
|
-
var n=e||qn(),i=pr(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",s=t&&(O(t[o])?t[o].call(this,n):t[o]);return this.format(s||this.localeData().calendar(o,this,qn(n)))}function jr(){return new E(this)}function Wr(e,t){var n=S(e)?e:qn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Vr(e,t){var n=S(e)?e:qn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function zr(e,t,n,r){var i=S(e)?e:qn(e),o=S(t)?t:qn(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n))}function Zr(e,t){var n,r=S(e)?e:qn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Xr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function qr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function
|
|
1060
|
+
var n=e||qn(),i=pr(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",s=t&&(O(t[o])?t[o].call(this,n):t[o]);return this.format(s||this.localeData().calendar(o,this,qn(n)))}function jr(){return new E(this)}function Wr(e,t){var n=S(e)?e:qn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Vr(e,t){var n=S(e)?e:qn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function zr(e,t,n,r){var i=S(e)?e:qn(e),o=S(t)?t:qn(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n))}function Zr(e,t){var n,r=S(e)?e:qn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Xr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function qr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Jr(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=pr(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=re(t)){case"year":o=Kr(this,r)/12;break;case"month":o=Kr(this,r);break;case"quarter":o=Kr(this,r)/3;break;case"second":o=(this-r)/1e3;break;// 1000
|
|
1061
1061
|
case"minute":o=(this-r)/6e4;break;// 1000 * 60
|
|
1062
1062
|
case"hour":o=(this-r)/36e5;break;// 1000 * 60 * 60
|
|
1063
1063
|
case"day":o=(this-r-i)/864e5;break;// 1000 * 60 * 60 * 24, negate dst
|
|
1064
1064
|
case"week":o=(this-r-i)/6048e5;break;// 1000 * 60 * 60 * 24 * 7, negate dst
|
|
1065
|
-
default:o=this-r}return n?o:ue(o)}function
|
|
1065
|
+
default:o=this-r}return n?o:ue(o)}function Kr(e,t){if(e.date()<t.date())
|
|
1066
1066
|
// end-of-month calculations work correct when the start month has more
|
|
1067
1067
|
// days than the end month.
|
|
1068
|
-
return-
|
|
1068
|
+
return-Kr(t,e);
|
|
1069
1069
|
// difference in months
|
|
1070
1070
|
var n=12*(t.year()-e.year())+(t.month()-e.month()),
|
|
1071
1071
|
// b is in (anchor - 1 month, anchor + 1 month)
|
|
@@ -1095,7 +1095,7 @@ return this.isValid()?this.toISOString():null}function Mi(){return g(this)}funct
|
|
|
1095
1095
|
// truncate time
|
|
1096
1096
|
o=r(s[n].since).startOf("day"),s[n].since=o.valueOf()),typeof s[n].until){case"undefined":s[n].until=1/0;break;case"string":
|
|
1097
1097
|
// truncate time
|
|
1098
|
-
o=r(s[n].until).startOf("day").valueOf(),s[n].until=o.valueOf()}return s}function Pi(e,t,n){var r,i,o,s,a,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),s=l[r].abbr.toUpperCase(),a=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(a===e)return l[r]}else if([o,s,a].indexOf(e)>=0)return l[r]}function
|
|
1098
|
+
o=r(s[n].until).startOf("day").valueOf(),s[n].until=o.valueOf()}return s}function Pi(e,t,n){var r,i,o,s,a,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),s=l[r].abbr.toUpperCase(),a=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(a===e)return l[r]}else if([o,s,a].indexOf(e)>=0)return l[r]}function Fi(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function Hi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
|
|
1099
1099
|
// truncate time
|
|
1100
1100
|
n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Ai(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
|
|
1101
1101
|
// truncate time
|
|
@@ -1107,7 +1107,7 @@ i=this.clone().startOf("day").valueOf(),o[e].since<=i&&i<=o[e].until||o[e].until
|
|
|
1107
1107
|
// FORMATTING
|
|
1108
1108
|
function ji(e,t){$(0,[e,e.length],0,t)}
|
|
1109
1109
|
// MOMENTS
|
|
1110
|
-
function Wi(e){return
|
|
1110
|
+
function Wi(e){return Ji.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Vi(e){return Ji.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function zi(){return Tt(this.year(),1,4)}function Zi(){return Tt(this.isoWeekYear(),1,4)}function Xi(){var e=this.localeData()._week;return Tt(this.year(),e.dow,e.doy)}function qi(){var e=this.localeData()._week;return Tt(this.weekYear(),e.dow,e.doy)}function Ji(e,t,n,r,i){var o;return null==e?St(this,r,i).year:(t>(o=Tt(e,r,i))&&(t=o),Ki.call(this,e,t,n,r,i))}function Ki(e,t,n,r,i){var o=Et(e,t,n,r,i),s=wt(o.year,0,o.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}
|
|
1111
1111
|
// FORMATTING
|
|
1112
1112
|
// MOMENTS
|
|
1113
1113
|
function Qi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}
|
|
@@ -1176,7 +1176,7 @@ Be("S",xe,be),Be("SS",xe,ve),Be("SSS",xe,we),ro="SSSS";ro.length<=9;ro+="S")Be(r
|
|
|
1176
1176
|
// MOMENTS
|
|
1177
1177
|
function ao(){return this._isUTC?"UTC":""}function lo(){return this._isUTC?"Coordinated Universal Time":""}io=he("Milliseconds",!1),
|
|
1178
1178
|
// FORMATTING
|
|
1179
|
-
$("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var uo=E.prototype;function co(e){return qn(1e3*e)}function ho(){return qn.apply(null,arguments).parseZone()}function fo(e){return e}uo.add=Br,uo.calendar=Gr,uo.clone=jr,uo.diff=
|
|
1179
|
+
$("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var uo=E.prototype;function co(e){return qn(1e3*e)}function ho(){return qn.apply(null,arguments).parseZone()}function fo(e){return e}uo.add=Br,uo.calendar=Gr,uo.clone=jr,uo.diff=Jr,uo.endOf=bi,uo.format=ni,uo.from=ri,uo.fromNow=ii,uo.to=oi,uo.toNow=si,uo.get=me,uo.invalidAt=ki,uo.isAfter=Wr,uo.isBefore=Vr,uo.isBetween=zr,uo.isSame=Zr,uo.isSameOrAfter=Xr,uo.isSameOrBefore=qr,uo.isValid=Mi,uo.lang=li,uo.locale=ai,uo.localeData=ui,uo.max=Kn,uo.min=Jn,uo.parsingFlags=xi,uo.set=ye,uo.startOf=gi,uo.subtract=Nr,uo.toArray=Ei,uo.toObject=Si,uo.toDate=_i,uo.toISOString=ei,uo.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(uo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),uo.toJSON=Ti,uo.toString=Qr,uo.unix=wi,uo.valueOf=vi,uo.creationData=Di,uo.eraName=Hi,uo.eraNarrow=Ai,uo.eraAbbr=Ci,uo.eraYear=Bi,uo.year=gt,uo.isLeapYear=bt,uo.weekYear=Wi,uo.isoWeekYear=Vi,uo.quarter=uo.quarters=Qi,uo.month=ht,uo.daysInMonth=dt,uo.week=uo.weeks=Ot,uo.isoWeek=uo.isoWeeks=Pt,uo.weeksInYear=Xi,uo.weeksInWeekYear=qi,uo.isoWeeksInYear=zi,uo.isoWeeksInISOWeekYear=Zi,uo.date=eo,uo.day=uo.days=Wt,uo.weekday=Vt,uo.isoWeekday=zt,uo.dayOfYear=to,uo.hour=uo.hours=on,uo.minute=uo.minutes=no,uo.second=uo.seconds=oo,uo.millisecond=uo.milliseconds=io,uo.utcOffset=yr,uo.utc=br,uo.local=vr,uo.parseZone=wr,uo.hasAlignedHourOffset=_r,uo.isDST=Er,uo.isLocal=Tr,uo.isUtcOffset=Mr,uo.isUtc=xr,uo.isUTC=xr,uo.zoneAbbr=ao,uo.zoneName=lo,uo.dates=M("dates accessor is deprecated. Use date instead.",eo),uo.months=M("months accessor is deprecated. Use month instead",ht),uo.years=M("years accessor is deprecated. Use year instead",gt),uo.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gr),uo.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var po=H.prototype;function mo(e,t,n,r){var i=vn(),o=p().set(r,t);return i[n](o,e)}function yo(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return mo(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=mo(e,r,n,"month");return i}
|
|
1180
1180
|
// ()
|
|
1181
1181
|
// (5)
|
|
1182
1182
|
// (fmt, 5)
|
|
@@ -1185,7 +1185,7 @@ $("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var uo=E.prototype;function co(e){r
|
|
|
1185
1185
|
// (true, 5)
|
|
1186
1186
|
// (true, fmt, 5)
|
|
1187
1187
|
// (true, fmt)
|
|
1188
|
-
function go(e,t,n,r){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,o=vn(),s=e?o._week.dow:0,a=[];if(null!=n)return mo(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=mo(t,(i+s)%7,r,"day");return a}function bo(e,t){return yo(e,t,"months")}function vo(e,t){return yo(e,t,"monthsShort")}function wo(e,t,n){return go(e,t,n,"weekdays")}function _o(e,t,n){return go(e,t,n,"weekdaysShort")}function Eo(e,t,n){return go(e,t,n,"weekdaysMin")}po.calendar=C,po.longDateFormat=V,po.invalidDate=Z,po.ordinal=
|
|
1188
|
+
function go(e,t,n,r){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,o=vn(),s=e?o._week.dow:0,a=[];if(null!=n)return mo(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=mo(t,(i+s)%7,r,"day");return a}function bo(e,t){return yo(e,t,"months")}function vo(e,t){return yo(e,t,"monthsShort")}function wo(e,t,n){return go(e,t,n,"weekdays")}function _o(e,t,n){return go(e,t,n,"weekdaysShort")}function Eo(e,t,n){return go(e,t,n,"weekdaysMin")}po.calendar=C,po.longDateFormat=V,po.invalidDate=Z,po.ordinal=J,po.preparse=fo,po.postformat=fo,po.relativeTime=Q,po.pastFuture=ee,po.set=P,po.eras=Oi,po.erasParse=Pi,po.erasConvertYear=Fi,po.erasAbbrRegex=Li,po.erasNameRegex=Ni,po.erasNarrowRegex=Ri,po.months=st,po.monthsShort=at,po.monthsParse=ut,po.monthsRegex=pt,po.monthsShortRegex=ft,po.week=Mt,po.firstDayOfYear=Dt,po.firstDayOfWeek=kt,po.weekdays=$t,po.weekdaysMin=Ut,po.weekdaysShort=Yt,po.weekdaysParse=jt,po.weekdaysRegex=Zt,po.weekdaysShortRegex=Xt,po.weekdaysMinRegex=qt,po.isPM=nn,po.meridiem=sn,yn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ce(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
|
|
1189
1189
|
// Side effect imports
|
|
1190
1190
|
r.lang=M("moment.lang is deprecated. Use moment.locale instead.",yn),r.langData=M("moment.langData is deprecated. Use moment.localeData instead.",vn);var So=Math.abs;function To(){var e=this._data;return this._milliseconds=So(this._milliseconds),this._days=So(this._days),this._months=So(this._months),e.milliseconds=So(e.milliseconds),e.seconds=So(e.seconds),e.minutes=So(e.minutes),e.hours=So(e.hours),e.months=So(e.months),e.years=So(e.years),this}function Mo(e,t,n,r){var i=Or(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}
|
|
1191
1191
|
// supports only 2.0-style add(1, 's') or add(duration)
|
|
@@ -1194,25 +1194,25 @@ function xo(e,t){return Mo(this,e,t,1)}
|
|
|
1194
1194
|
function ko(e,t){return Mo(this,e,t,-1)}function Do(e){return e<0?Math.floor(e):Math.ceil(e)}function Oo(){var e,t,n,r,i,o=this._milliseconds,s=this._days,a=this._months,l=this._data;
|
|
1195
1195
|
// if we have a mix of positive and negative values, bubble down first
|
|
1196
1196
|
// check: https://github.com/moment/moment/issues/2166
|
|
1197
|
-
return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*Do(
|
|
1197
|
+
return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*Do(Fo(a)+s),s=0,a=0),
|
|
1198
1198
|
// The following code bubbles up values, see the tests for
|
|
1199
1199
|
// examples of what that means.
|
|
1200
1200
|
l.milliseconds=o%1e3,e=ue(o/1e3),l.seconds=e%60,t=ue(e/60),l.minutes=t%60,n=ue(t/60),l.hours=n%24,s+=ue(n/24),a+=
|
|
1201
1201
|
// convert days to months
|
|
1202
|
-
i=ue(Po(s)),s-=Do(
|
|
1202
|
+
i=ue(Po(s)),s-=Do(Fo(i)),
|
|
1203
1203
|
// 12 months -> 1 year
|
|
1204
1204
|
r=ue(a/12),a%=12,l.days=s,l.months=a,l.years=r,this}function Po(e){
|
|
1205
1205
|
// 400 years have 146097 days (taking into account leap year rules)
|
|
1206
1206
|
// 400 years have 12 months === 4800
|
|
1207
|
-
return 4800*e/146097}function
|
|
1207
|
+
return 4800*e/146097}function Fo(e){
|
|
1208
1208
|
// the reverse of daysToMonths
|
|
1209
|
-
return 146097*e/4800}function
|
|
1209
|
+
return 146097*e/4800}function Ho(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=re(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Po(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(
|
|
1210
1210
|
// handle milliseconds separately because of floating point math errors (issue #1867)
|
|
1211
|
-
t=this._days+Math.round(
|
|
1211
|
+
t=this._days+Math.round(Fo(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;
|
|
1212
1212
|
// Math.floor prevents floating point math errors here
|
|
1213
1213
|
case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}
|
|
1214
1214
|
// TODO: Use this.as('ms')?
|
|
1215
|
-
function Ao(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ce(this._months/12):NaN}function Co(e){return function(){return this.as(e)}}var Bo=Co("ms"),No=Co("s"),Lo=Co("m"),Ro=Co("h"),Io=Co("d"),$o=Co("w"),Yo=Co("M"),Uo=Co("Q"),Go=Co("y");function jo(){return Or(this)}function Wo(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Vo(e){return function(){return this.isValid()?this._data[e]:NaN}}var zo=Vo("milliseconds"),Zo=Vo("seconds"),Xo=Vo("minutes"),qo=Vo("hours"),
|
|
1215
|
+
function Ao(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ce(this._months/12):NaN}function Co(e){return function(){return this.as(e)}}var Bo=Co("ms"),No=Co("s"),Lo=Co("m"),Ro=Co("h"),Io=Co("d"),$o=Co("w"),Yo=Co("M"),Uo=Co("Q"),Go=Co("y");function jo(){return Or(this)}function Wo(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Vo(e){return function(){return this.isValid()?this._data[e]:NaN}}var zo=Vo("milliseconds"),Zo=Vo("seconds"),Xo=Vo("minutes"),qo=Vo("hours"),Jo=Vo("days"),Ko=Vo("months"),Qo=Vo("years");function es(){return ue(this.days()/7)}var ts=Math.round,ns={ss:44,// a few seconds to seconds
|
|
1216
1216
|
s:45,// seconds to minute
|
|
1217
1217
|
m:45,// minutes to hour
|
|
1218
1218
|
h:22,// hours to day
|
|
@@ -1238,7 +1238,7 @@ e=ue(l/60),t=ue(e/60),l%=60,e%=60,
|
|
|
1238
1238
|
// 12 months -> 1 year
|
|
1239
1239
|
n=ue(c/12),c%=12,
|
|
1240
1240
|
// inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
|
|
1241
|
-
r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",o=us(this._months)!==us(h)?"-":"",s=us(this._days)!==us(h)?"-":"",a=us(this._milliseconds)!==us(h)?"-":"",i+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(u?s+u+"D":"")+(t||e||l?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(l?a+r+"S":"")):"P0D"}var hs=ar.prototype;return hs.isValid=or,hs.abs=To,hs.add=xo,hs.subtract=ko,hs.as=
|
|
1241
|
+
r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",o=us(this._months)!==us(h)?"-":"",s=us(this._days)!==us(h)?"-":"",a=us(this._milliseconds)!==us(h)?"-":"",i+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(u?s+u+"D":"")+(t||e||l?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(l?a+r+"S":"")):"P0D"}var hs=ar.prototype;return hs.isValid=or,hs.abs=To,hs.add=xo,hs.subtract=ko,hs.as=Ho,hs.asMilliseconds=Bo,hs.asSeconds=No,hs.asMinutes=Lo,hs.asHours=Ro,hs.asDays=Io,hs.asWeeks=$o,hs.asMonths=Yo,hs.asQuarters=Uo,hs.asYears=Go,hs.valueOf=Ao,hs._bubble=Oo,hs.clone=jo,hs.get=Wo,hs.milliseconds=zo,hs.seconds=Zo,hs.minutes=Xo,hs.hours=qo,hs.days=Jo,hs.weeks=es,hs.months=Ko,hs.years=Qo,hs.humanize=as,hs.toISOString=cs,hs.toString=cs,hs.toJSON=cs,hs.locale=ai,hs.localeData=ui,hs.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",cs),hs.lang=li,
|
|
1242
1242
|
// FORMATTING
|
|
1243
1243
|
$("X",0,0,"unix"),$("x",0,0,"valueOf"),
|
|
1244
1244
|
// PARSING
|
|
@@ -1262,26 +1262,26 @@ function Wr(t){let n;return{c(){n=p("p"),n.textContent="500 Error - Internal Ser
|
|
|
1262
1262
|
// (385:2) {#if isLoading}
|
|
1263
1263
|
function Vr(t){let n;return{c(){n=p("p"),n.textContent="Loading, please wait ...",v(n,"class","SearchLoading")},m(e,t){d(e,n,t)},p:e,d(e){e&&f(n)}}}
|
|
1264
1264
|
// (472:10) {#if funMode}
|
|
1265
|
-
function zr(e){let t,n,i,o,s,l,u,c,m,w,T,M,x,k,D,O,P,H,
|
|
1266
|
-
return e[36]?qr:Xr}let U=Y(e),G=U(e),j=/*gamebanneractive*/"true"==e[12]&&!/*isFullscreen*/e[36]&&
|
|
1265
|
+
function zr(e){let t,n,i,o,s,l,u,c,m,w,T,M,x,k,D,O,P,F,H,A,C,B,N,L,R,I=/*$_*/e[43]("signIn")+"",$=/*$_*/e[43]("register")+"";function Y(e,t){/*isFullscreen*/
|
|
1266
|
+
return e[36]?qr:Xr}let U=Y(e),G=U(e),j=/*gamebanneractive*/"true"==e[12]&&!/*isFullscreen*/e[36]&&Jr();return{c(){t=p("div"),n=p("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',i=g(),o=p("p"),s=p("span"),l=y(/*time*/e[23]),u=g(),c=p("div"),m=g(),w=p("div"),T=p("div"),M=p("iframe"),k=g(),D=p("div"),O=p("div"),P=p("button"),F=y(I),H=g(),A=p("button"),C=y($),B=g(),G.c(),N=g(),j&&j.c(),v(n,"class","backButton"),v(o,"class","Time"),v(t,"class","GamePageIntegratedTopSection"),v(M,"title","Games"),v(M,"class","GamesContainer"),v(M,"aria-hidden","false"),a(M.src,x=/*game*/e[29].launchUrl)||v(M,"src",x),v(P,"class","LoginButton"),v(A,"class","RegisterButton"),v(O,"class","ButtonsContainer ButtonsContainerFunMode"),v(D,"class","BottomGame"),v(T,"id","IframeGame"),E(T,"width",/*isFullscreen*/e[36]?"100%":/*definitiveIframeWidth*/e[37]),E(T,"height",/*isFullscreen*/e[36]?"100%":/*definitiveIframeHeight*/e[38]),E(T,"max-width",/*isFullscreen*/e[36]||!/*isModal*/e[31]?"none":/*game*/e[29].width?Math.floor(/*game*/e[29].width)+"px":"1280px"),E(T,"max-height",/*isFullscreen*/e[36]||!/*isModal*/e[31]?"none":/*game*/e[29].height?Math.floor(/*game*/e[29].height)+100+"px":"720px"),v(w,"id","IframeContainer"),S(w,"FullsScreenLayout",/*isFullscreen*/e[36])},m(r,a){d(r,t,a),h(t,n),h(t,i),h(t,o),h(o,s),h(s,l),
|
|
1267
1267
|
/*p_binding_1*/e[74](o),h(t,u),h(t,c),d(r,m,a),d(r,w,a),h(w,T),h(T,M),
|
|
1268
|
-
/*iframe_1_binding_1*/e[75](M),h(T,k),h(T,D),h(D,O),h(O,P),h(P,
|
|
1268
|
+
/*iframe_1_binding_1*/e[75](M),h(T,k),h(T,D),h(D,O),h(O,P),h(P,F),h(O,H),h(O,A),h(A,C),h(D,B),G.m(D,null),
|
|
1269
1269
|
/*div3_binding_1*/e[80](D),
|
|
1270
1270
|
/*div4_binding_1*/e[81](T),h(w,N),j&&j.m(w,null)
|
|
1271
|
-
/*div5_binding*/,e[82](w),L||(R=[b(n,"click",/*click_handler_6*/e[73]),b(P,"click",/*click_handler_7*/e[76]),b(A,"click",/*click_handler_8*/e[77])],L=!0)},p(e,t){/*time*/8388608&t[0]&&_(l,/*time*/e[23]),/*game*/536870912&t[0]&&!a(M.src,x=/*game*/e[29].launchUrl)&&v(M,"src",x),/*$_*/4096&t[1]&&I!==(I=/*$_*/e[43]("signIn")+"")&&_(
|
|
1271
|
+
/*div5_binding*/,e[82](w),L||(R=[b(n,"click",/*click_handler_6*/e[73]),b(P,"click",/*click_handler_7*/e[76]),b(A,"click",/*click_handler_8*/e[77])],L=!0)},p(e,t){/*time*/8388608&t[0]&&_(l,/*time*/e[23]),/*game*/536870912&t[0]&&!a(M.src,x=/*game*/e[29].launchUrl)&&v(M,"src",x),/*$_*/4096&t[1]&&I!==(I=/*$_*/e[43]("signIn")+"")&&_(F,I),/*$_*/4096&t[1]&&$!==($=/*$_*/e[43]("register")+"")&&_(C,$),U===(U=Y(e))&&G?G.p(e,t):(G.d(1),G=U(e),G&&(G.c(),G.m(D,null))),/*isFullscreen, definitiveIframeWidth*/96&t[1]&&E(T,"width",/*isFullscreen*/e[36]?"100%":/*definitiveIframeWidth*/e[37]),/*isFullscreen, definitiveIframeHeight*/160&t[1]&&E(T,"height",/*isFullscreen*/e[36]?"100%":/*definitiveIframeHeight*/e[38]),/*game*/536870912&t[0]|/*isFullscreen, isModal*/33&t[1]&&E(T,"max-width",/*isFullscreen*/e[36]||!/*isModal*/e[31]?"none":/*game*/e[29].width?Math.floor(/*game*/e[29].width)+"px":"1280px"),/*game*/536870912&t[0]|/*isFullscreen, isModal*/33&t[1]&&E(T,"max-height",/*isFullscreen*/e[36]||!/*isModal*/e[31]?"none":/*game*/e[29].height?Math.floor(/*game*/e[29].height)+100+"px":"720px"),/*gamebanneractive*/"true"!=e[12]||/*isFullscreen*/e[36]?j&&(j.d(1),j=null):j||(j=Jr(),j.c(),j.m(w,null)),/*isFullscreen*/32&t[1]&&S(w,"FullsScreenLayout",/*isFullscreen*/e[36])},d(n){n&&f(t)
|
|
1272
1272
|
/*p_binding_1*/,e[74](null),n&&f(m),n&&f(w)
|
|
1273
1273
|
/*iframe_1_binding_1*/,e[75](null),G.d(),
|
|
1274
1274
|
/*div3_binding_1*/e[80](null),
|
|
1275
1275
|
/*div4_binding_1*/e[81](null),j&&j.d()
|
|
1276
1276
|
/*div5_binding*/,e[82](null),L=!1,r(R)}}}
|
|
1277
1277
|
// (392:8) {#if isLoggedIn}
|
|
1278
|
-
function Zr(e){let t,n,i,o,s,l,u,c,m,w,T,M,x,k,D,O,P,H,
|
|
1279
|
-
return e[36]?ri:ni}let Y=$(e),U=Y(e),G=/*gamebanneractive*/"true"==e[12]&&!/*isFullscreen*/e[36]&&ii();return{c(){t=p("div"),n=p("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',i=g(),o=p("p"),s=p("span"),l=y(/*time*/e[23]),u=g(),c=p("div"),m=y(L),w=g(),R&&R.c(),T=g(),M=p("div"),x=p("div"),k=p("iframe"),
|
|
1278
|
+
function Zr(e){let t,n,i,o,s,l,u,c,m,w,T,M,x,k,D,O,P,F,H,A,C,B,N,L=/*$_*/e[43]("deposit")+"",R=/*shortCashierActivated*/e[42]&&Kr(e),I=/*haspanicbutton*/"true"===e[11]&&ti(e);function $(e,t){/*isFullscreen*/
|
|
1279
|
+
return e[36]?ri:ni}let Y=$(e),U=Y(e),G=/*gamebanneractive*/"true"==e[12]&&!/*isFullscreen*/e[36]&&ii();return{c(){t=p("div"),n=p("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',i=g(),o=p("p"),s=p("span"),l=y(/*time*/e[23]),u=g(),c=p("div"),m=y(L),w=g(),R&&R.c(),T=g(),M=p("div"),x=p("div"),k=p("iframe"),F=g(),H=p("div"),I&&I.c(),A=g(),U.c(),C=g(),G&&G.c(),v(n,"class","backButton"),v(o,"class","Time"),v(c,"class","DepositButton"),v(t,"class","GamePageIntegratedTopSection"),v(k,"title","Games"),v(k,"id","IframeGame"),v(k,"class","GamesContainer"),v(k,"aria-hidden","false"),a(k.src,D=/*game*/e[29].launchUrl)||v(k,"src",D),v(k,"width",O=/*gameContainerWidth*/e[33]+"px"),v(k,"height",P=/*gameContainerHeight*/e[34]+"px"),v(H,"class","BottomGame BottomGameLoggedin"),v(x,"id","IframeGame"),E(x,"width",/*isFullscreen*/e[36]?"100%":/*definitiveIframeWidth*/e[37]),E(x,"height",/*isFullscreen*/e[36]?"100%":/*definitiveIframeHeight*/e[38]),E(x,"max-width",/*isFullscreen*/e[36]?"none":/*game*/e[29].width?/*game*/e[29].width+"px":"1280px"),E(x,"max-height",/*isFullscreen*/e[36]?"none":/*game*/e[29].height?Math.floor(/*game*/e[29].height)+100+"px":"720px"),v(M,"id","IframeContainer"),S(M,"FullsScreenLayout",/*isFullscreen*/e[36])},m(r,a){d(r,t,a),h(t,n),h(t,i),h(t,o),h(o,s),h(s,l),
|
|
1280
1280
|
/*p_binding*/e[62](o),h(t,u),h(t,c),h(c,m),h(t,w),R&&R.m(t,null),d(r,T,a),d(r,M,a),h(M,x),h(x,k),
|
|
1281
|
-
/*iframe_1_binding*/e[66](k),h(x,
|
|
1282
|
-
/*div2_binding*/e[70](
|
|
1281
|
+
/*iframe_1_binding*/e[66](k),h(x,F),h(x,H),I&&I.m(H,null),h(H,A),U.m(H,null),
|
|
1282
|
+
/*div2_binding*/e[70](H),
|
|
1283
1283
|
/*div3_binding*/e[71](x),h(M,C),G&&G.m(M,null)
|
|
1284
|
-
/*div4_binding*/,e[72](M),B||(N=[b(n,"click",/*click_handler*/e[61]),b(c,"click",/*click_handler_1*/e[63])],B=!0)},p(e,n){/*time*/8388608&n[0]&&_(l,/*time*/e[23]),/*$_*/4096&n[1]&&L!==(L=/*$_*/e[43]("deposit")+"")&&_(m,L),/*shortCashierActivated*/e[42]?R?R.p(e,n):(R=
|
|
1284
|
+
/*div4_binding*/,e[72](M),B||(N=[b(n,"click",/*click_handler*/e[61]),b(c,"click",/*click_handler_1*/e[63])],B=!0)},p(e,n){/*time*/8388608&n[0]&&_(l,/*time*/e[23]),/*$_*/4096&n[1]&&L!==(L=/*$_*/e[43]("deposit")+"")&&_(m,L),/*shortCashierActivated*/e[42]?R?R.p(e,n):(R=Kr(e),R.c(),R.m(t,null)):R&&(R.d(1),R=null),/*game*/536870912&n[0]&&!a(k.src,D=/*game*/e[29].launchUrl)&&v(k,"src",D),/*gameContainerWidth*/4&n[1]&&O!==(O=/*gameContainerWidth*/e[33]+"px")&&v(k,"width",O),/*gameContainerHeight*/8&n[1]&&P!==(P=/*gameContainerHeight*/e[34]+"px")&&v(k,"height",P),/*haspanicbutton*/"true"===e[11]?I?I.p(e,n):(I=ti(e),I.c(),I.m(H,A)):I&&(I.d(1),I=null),Y===(Y=$(e))&&U?U.p(e,n):(U.d(1),U=Y(e),U&&(U.c(),U.m(H,null))),/*isFullscreen, definitiveIframeWidth*/96&n[1]&&E(x,"width",/*isFullscreen*/e[36]?"100%":/*definitiveIframeWidth*/e[37]),/*isFullscreen, definitiveIframeHeight*/160&n[1]&&E(x,"height",/*isFullscreen*/e[36]?"100%":/*definitiveIframeHeight*/e[38]),/*game*/536870912&n[0]|/*isFullscreen*/32&n[1]&&E(x,"max-width",/*isFullscreen*/e[36]?"none":/*game*/e[29].width?/*game*/e[29].width+"px":"1280px"),/*game*/536870912&n[0]|/*isFullscreen*/32&n[1]&&E(x,"max-height",/*isFullscreen*/e[36]?"none":/*game*/e[29].height?Math.floor(/*game*/e[29].height)+100+"px":"720px"),/*gamebanneractive*/"true"!=e[12]||/*isFullscreen*/e[36]?G&&(G.d(1),G=null):G||(G=ii(),G.c(),G.m(M,null)),/*isFullscreen*/32&n[1]&&S(M,"FullsScreenLayout",/*isFullscreen*/e[36])},d(n){n&&f(t)
|
|
1285
1285
|
/*p_binding*/,e[62](null),R&&R.d(),n&&f(T),n&&f(M)
|
|
1286
1286
|
/*iframe_1_binding*/,e[66](null),I&&I.d(),U.d(),
|
|
1287
1287
|
/*div2_binding*/e[70](null),
|
|
@@ -1292,9 +1292,9 @@ function Xr(t){let n,r,i;return{c(){n=p("button"),n.innerHTML='<svg xmlns="http:
|
|
|
1292
1292
|
// (488:18) {#if isFullscreen}
|
|
1293
1293
|
function qr(t){let n,r,i;return{c(){n=p("button"),n.innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',v(n,"class","FullscreenButton")},m(e,o){d(e,n,o),r||(i=b(n,"click",/*click_handler_9*/t[78]),r=!0)},p:e,d(e){e&&f(n),r=!1,i()}}}
|
|
1294
1294
|
// (499:14) {#if gamebanneractive == 'true' && !isFullscreen}
|
|
1295
|
-
function
|
|
1295
|
+
function Jr(e){let t;return{c(){t=p("div"),t.innerHTML="<h3>Your banner here</h3>",v(t,"class","BannerSection")},m(e,n){d(e,t,n)},d(e){e&&f(t)}}}
|
|
1296
1296
|
// (399:12) {#if shortCashierActivated}
|
|
1297
|
-
function
|
|
1297
|
+
function Kr(e){let t,n,i,o,s,a,l,u;function c(e,t){/*gmversion*/
|
|
1298
1298
|
return"gmcore"===e[6]?ei:Qr}let m=c(e),y=m(e);return{c(){t=p("div"),n=g(),i=p("div"),o=p("div"),s=p("div"),s.innerHTML='<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><line x1="2" y1="2" x2="18" y2="18" stroke="black" stroke-width="2"></line><line x1="18" y1="2" x2="2" y2="18" stroke="black" stroke-width="2"></line></svg>',a=g(),y.c(),v(t,"class","ShortCashierWindow"),v(s,"class","ClosePopUpButtonShortCashier"),v(o,"class","ShortCashierContainerMobile"),v(i,"class","ShortCashierContainerWrapperMobile")},m(r,c){d(r,t,c),d(r,n,c),d(r,i,c),h(i,o),h(o,s),h(o,a),y.m(o,null),l||(u=[b(t,"click",/*click_handler_2*/e[64]),b(s,"click",/*click_handler_3*/e[65])],l=!0)},p(e,t){m===(m=c(e))&&y?y.p(e,t):(y.d(1),y=m(e),y&&(y.c(),y.m(o,null)))},d(e){e&&f(t),e&&f(n),e&&f(i),y.d(),l=!1,r(u)}}}
|
|
1299
1299
|
// (421:18) {:else}
|
|
1300
1300
|
function Qr(e){let t,n,r,i,o,s,a,l,u,c;return{c(){t=p("user-deposit-withdrawal"),w(t,"endpoint",/*endpoint*/e[0]),w(t,"type","deposit"),w(t,"channel",n=/*mobileView*/e[39]?"Mobile":"Desktop"),w(t,"is-short-cashier",/*shortcashierenabled*/e[8]),w(t,"language",/*lang*/e[1]),w(t,"product-type",/*producttype*/e[13]),w(t,"user-id",/*userid*/e[3]),w(t,"session",/*session*/e[2]),w(t,"success-url",r="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*successurl*/e[14]),w(t,"cancel-url",i="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*cancelurl*/e[16]),w(t,"fail-url",o="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*failurl*/e[15]),w(t,"sports-url",s="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*sportsurl*/e[17]),w(t,"casino-url",a="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*casinourl*/e[18]),w(t,"contact-url",l="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*contacturl*/e[19]),w(t,"home-url",u="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*homeurl*/e[20]),w(t,"deposit-url",c="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*depositurl*/e[7])},m(e,n){d(e,t,n)},p(e,h){/*endpoint*/1&h[0]&&w(t,"endpoint",/*endpoint*/e[0]),/*mobileView*/256&h[1]&&n!==(n=/*mobileView*/e[39]?"Mobile":"Desktop")&&w(t,"channel",n),/*shortcashierenabled*/256&h[0]&&w(t,"is-short-cashier",/*shortcashierenabled*/e[8]),/*lang*/2&h[0]&&w(t,"language",/*lang*/e[1]),/*producttype*/8192&h[0]&&w(t,"product-type",/*producttype*/e[13]),/*userid*/8&h[0]&&w(t,"user-id",/*userid*/e[3]),/*session*/4&h[0]&&w(t,"session",/*session*/e[2]),/*lang, successurl*/16386&h[0]&&r!==(r="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*successurl*/e[14])&&w(t,"success-url",r),/*lang, cancelurl*/65538&h[0]&&i!==(i="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*cancelurl*/e[16])&&w(t,"cancel-url",i),/*lang, failurl*/32770&h[0]&&o!==(o="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*failurl*/e[15])&&w(t,"fail-url",o),/*lang, sportsurl*/131074&h[0]&&s!==(s="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*sportsurl*/e[17])&&w(t,"sports-url",s),/*lang, casinourl*/262146&h[0]&&a!==(a="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*casinourl*/e[18])&&w(t,"casino-url",a),/*lang, contacturl*/524290&h[0]&&l!==(l="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*contacturl*/e[19])&&w(t,"contact-url",l),/*lang, homeurl*/1048578&h[0]&&u!==(u="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*homeurl*/e[20])&&w(t,"home-url",u),/*lang, depositurl*/130&h[0]&&c!==(c="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*depositurl*/e[7])&&w(t,"deposit-url",c)},d(e){e&&f(t)}}}
|
|
@@ -1312,22 +1312,22 @@ function ri(t){let n,r,i;return{c(){n=p("button"),n.innerHTML='<svg xmlns="http:
|
|
|
1312
1312
|
function ii(e){let t;return{c(){t=p("div"),t.innerHTML="<h3>Your banner here</h3>",v(t,"class","BannerSection")},m(e,n){d(e,t,n)},d(e){e&&f(t)}}}function oi(t){let n,r,i,o;function s(e,t){/*isLoading*/
|
|
1313
1313
|
return e[27]?Vr:/*hasErrors*/e[26]?Wr:jr}let l=s(t),u=l(t);return{c(){n=p("script"),i=g(),o=p("div"),u.c(),this.c=e,v(n,"type","module"),a(n.src,r="https://unpkg.com/@everymatrix/user-deposit-withdrawal")||v(n,"src","https://unpkg.com/@everymatrix/user-deposit-withdrawal")},m(e,r){h(Gr.head,n),d(e,i,r),d(e,o,r),u.m(o,null),
|
|
1314
1314
|
/*div_binding*/t[83](o)},p(e,t){l===(l=s(e))&&u?u.p(e,t):(u.d(1),u=l(e),u&&(u.c(),u.m(o,null)))},i:e,o:e,d(e){f(n),e&&f(i),e&&f(o),u.d(),
|
|
1315
|
-
/*div_binding*/t[83](null)}}}function si(e,t,n){let r;u(e,
|
|
1315
|
+
/*div_binding*/t[83](null)}}}function si(e,t,n){let r;u(e,Hr,(e=>n(43,r=e)));let i,o,s,a,l,c,h,d,f,p,m,y,g,b,v,w,_,{endpoint:E=""}=t,{lang:S=""}=t,{session:T=""}=t,{userid:M=""}=t,{clientstyling:x=""}=t,{clientstylingurl:D=""}=t,{translationurl:P=""}=t,{gmversion:F=""}=t,{loginurl:H=""}=t,{registerurl:A=""}=t,{depositurl:C=""}=t,{loginevent:B=""}=t,{registerevent:N=""}=t,{depositevent:L=""}=t,{shortcashierenabled:R="false"}=t,{hasdefaultamount:I=""}=t,{playercurrency:$=""}=t,{clockformat:Y=""}=t,{haspanicbutton:U="false"}=t,{playforfun:G="true"}=t,{checksession:j="true"}=t,{gamebanneractive:W="false"}=t,{gameid:V=""}=t,z=!1,Z=!1,X=!0,q=!1,J=0,K=!1,Q=!1,ee=!0,te=!1,ne=window.navigator.userAgent,re=!1,ie=!1,{producttype:oe=""}=t,{successurl:se=""}=t,{failurl:ae=""}=t,{cancelurl:le=""}=t,{sportsurl:ue=""}=t,{casinourl:ce=""}=t,{contacturl:he=""}=t,{homeurl:de=""}=t;!function({withLocale:e,translations:t}){dr.subscribe((n=>{null==n&&(Yn.set(t),dr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
|
|
1316
1316
|
/*dictionary.set(translations);
|
|
1317
1317
|
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(Br).forEach((e=>{Cr(e,Br[e])}));
|
|
1318
1318
|
// @TODO game typescript model type
|
|
1319
1319
|
const fe=(e,t)=>{let r=new URL(`${E}/v1/casino/games/${e}`);r.searchParams.append("language",S),r.searchParams.append("expand","vendor"),n(31,ee=t||!1),fetch(r.href).then((e=>e.json())).then((e=>{n(29,c=(e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",S),
|
|
1320
1320
|
// @TODO wtf? session check or go home
|
|
1321
1321
|
// Maybe we should check if the session is valid, somehow?
|
|
1322
|
-
s&&s.length>0&&(n(25,z=!0),t.searchParams.append("_sid",s),t.searchParams.append("funMode","false")),e.launchUrl=t,v.scrollIntoView(),e})(e[0])),c.launchUrl&&(
|
|
1322
|
+
s&&s.length>0&&(n(25,z=!0),t.searchParams.append("_sid",s),t.searchParams.append("funMode","false")),e.launchUrl=t,v.scrollIntoView(),e})(e[0])),c.launchUrl&&(K=!0,n(30,Q="true"==G&&c.hasFunMode),"true"==G&&c.hasAnonymousFunMode)}),(e=>{console.error("There was an error",e),n(26,Z=!0)})).then((()=>{h&&(ye(),ee||pe())}))},pe=()=>{n(37,g=c.width),n(38,b=c.height),m=c.width,y=c.height},ye=()=>{let e=getComputedStyle(h),t=getComputedStyle(p);n(33,d=parseInt(e.width.slice(0,-2))),n(34,f=parseInt(e.height.slice(0,-2)));const r=c.width/(c.height+100);m=parseInt(t.width),y=parseInt(t.height),
|
|
1323
1323
|
// resize logic for maintaining game ratio when resizing
|
|
1324
1324
|
d/r>f-w.clientHeight-_.clientHeight?(y=f-w.clientHeight-_.clientHeight,m=f*r):(m=d,y=d/r),n(37,g=m?Math.floor(m)+"px":"1280px"),n(38,b=y?Math.floor(y)+"px":"720px")},ge=()=>{
|
|
1325
1325
|
// sent to modal component a flag (detailsObtained) by witch to determine if a game is open
|
|
1326
|
-
window.postMessage({type:"GameStateOnResize",detailsObtained:
|
|
1326
|
+
window.postMessage({type:"GameStateOnResize",detailsObtained:K},window.location.href),
|
|
1327
1327
|
// make sure that a game is open before trying to get the element properties
|
|
1328
|
-
|
|
1328
|
+
K&&h&&"PC"==Ar(ne)&&ye()},be=()=>{B&&(window.postMessage({type:B,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),H&&(
|
|
1329
1329
|
// @ts-ignore
|
|
1330
|
-
window.location=
|
|
1330
|
+
window.location=H),
|
|
1331
1331
|
//Analytics event
|
|
1332
1332
|
"function"==typeof gtag&>ag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},ve=()=>{N&&(window.postMessage({type:N,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),A&&(
|
|
1333
1333
|
// @ts-ignore
|
|
@@ -1337,9 +1337,9 @@ window.location=A),
|
|
|
1337
1337
|
//Analytics event
|
|
1338
1338
|
"function"==typeof gtag&>ag("event","GoToDeposit",{context:"IntegratedGamePage"})),C&&!R&&(
|
|
1339
1339
|
// @ts-ignore
|
|
1340
|
-
window.location=C)},_e=e=>{n(42,ie=!1),window.postMessage({type:"EnableScroll"},window.location.href),null==e||e.stopPropagation()},Ee=e=>{if(e.data&&"CloseShortCashier"===e.data.type)_e()};function Se(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!te||Te()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Se,!1),document.addEventListener("mozfullscreenchange",Se,!1),document.addEventListener("fullscreenchange",Se,!1),document.addEventListener("MSFullscreenChange",Se,!1));const Te=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(te?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen():h.requestFullscreen?h.requestFullscreen():h.webkitRequestFullscreen?h.webkitRequestFullscreen():h.mozRequestFullScreen?h.mozRequestFullScreen():h.msRequestFullscreen&&h.msRequestFullscreen()),n(36,te=!te)},Me=setInterval((()=>{n(23,i=Y?Ur().format(Y):Ur().format("LTS"))}),100),xe=()=>{var e;e=S,dr.set(e),n(39,re=(e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))(ne)),n(27,X=!1)},ke=()=>{"true"==j?function(e,t){return new Promise(((n,r)=>{let i=new Headers;i.append("X-SessionID",t),me(`${e}/v1/player/session/player`,{method:"GET",headers:i}).then((e=>e.json())).then((e=>n(e))).catch((e=>r(e)))}))}(E,T).then((e=>{s=e.Guid,e.UserID,n(25,z=!0)}),(e=>{n(25,z=!1),console.error("err on session",e)})):s=T},De=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},Oe=e=>{
|
|
1340
|
+
window.location=C)},_e=e=>{n(42,ie=!1),window.postMessage({type:"EnableScroll"},window.location.href),null==e||e.stopPropagation()},Ee=e=>{if(e.data&&"CloseShortCashier"===e.data.type)_e()};function Se(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!te||Te()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Se,!1),document.addEventListener("mozfullscreenchange",Se,!1),document.addEventListener("fullscreenchange",Se,!1),document.addEventListener("MSFullscreenChange",Se,!1));const Te=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(te?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen():h.requestFullscreen?h.requestFullscreen():h.webkitRequestFullscreen?h.webkitRequestFullscreen():h.mozRequestFullScreen?h.mozRequestFullScreen():h.msRequestFullscreen&&h.msRequestFullscreen()),n(36,te=!te)},Me=setInterval((()=>{n(23,i=Y?Ur().format(Y):Ur().format("LTS"))}),100),xe=()=>{var e;e=S,dr.set(e),n(39,re=(e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))(ne)),n(27,X=!1)},ke=()=>{"true"==j?function(e,t){return new Promise(((n,r)=>{let i=new Headers;i.append("X-SessionID",t),me(`${e}/v1/player/session/player`,{method:"GET",headers:i}).then((e=>e.json())).then((e=>n(e))).catch((e=>r(e)))}))}(E,T).then((e=>{s=e.Guid,e.UserID,n(25,z=!0)}),(e=>{n(25,z=!1),console.error("err on session",e)})):s=T},De=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},Oe=e=>{J=0,l=setInterval((()=>{J+=1,n(28,q=!0),J>=3&&clearInterval(l)}),1e3)},Pe=e=>{J<3&&n(28,q=!1),clearInterval(l)};k((()=>(window.addEventListener("message",Ee,!1),window.addEventListener("resize",ge,!1),()=>{n(28,q=!1),null==a||a.removeEventListener("mousedown",Oe),null==a||a.removeEventListener("touchstart",Oe),
|
|
1341
1341
|
// on mouseup stop interval count
|
|
1342
|
-
null==a||a.removeEventListener("mouseup",Pe),null==a||a.removeEventListener("touchend",Pe),window.removeEventListener("message",Ee),window.removeEventListener("resize",ge),clearInterval(Me)})));return e.$$set=e=>{"endpoint"in e&&n(0,E=e.endpoint),"lang"in e&&n(1,S=e.lang),"session"in e&&n(2,T=e.session),"userid"in e&&n(3,M=e.userid),"clientstyling"in e&&n(4,x=e.clientstyling),"clientstylingurl"in e&&n(5,D=e.clientstylingurl),"translationurl"in e&&n(51,P=e.translationurl),"gmversion"in e&&n(6,
|
|
1342
|
+
null==a||a.removeEventListener("mouseup",Pe),null==a||a.removeEventListener("touchend",Pe),window.removeEventListener("message",Ee),window.removeEventListener("resize",ge),clearInterval(Me)})));return e.$$set=e=>{"endpoint"in e&&n(0,E=e.endpoint),"lang"in e&&n(1,S=e.lang),"session"in e&&n(2,T=e.session),"userid"in e&&n(3,M=e.userid),"clientstyling"in e&&n(4,x=e.clientstyling),"clientstylingurl"in e&&n(5,D=e.clientstylingurl),"translationurl"in e&&n(51,P=e.translationurl),"gmversion"in e&&n(6,F=e.gmversion),"loginurl"in e&&n(52,H=e.loginurl),"registerurl"in e&&n(53,A=e.registerurl),"depositurl"in e&&n(7,C=e.depositurl),"loginevent"in e&&n(54,B=e.loginevent),"registerevent"in e&&n(55,N=e.registerevent),"depositevent"in e&&n(56,L=e.depositevent),"shortcashierenabled"in e&&n(8,R=e.shortcashierenabled),"hasdefaultamount"in e&&n(9,I=e.hasdefaultamount),"playercurrency"in e&&n(10,$=e.playercurrency),"clockformat"in e&&n(57,Y=e.clockformat),"haspanicbutton"in e&&n(11,U=e.haspanicbutton),"playforfun"in e&&n(58,G=e.playforfun),"checksession"in e&&n(59,j=e.checksession),"gamebanneractive"in e&&n(12,W=e.gamebanneractive),"gameid"in e&&n(60,V=e.gameid),"producttype"in e&&n(13,oe=e.producttype),"successurl"in e&&n(14,se=e.successurl),"failurl"in e&&n(15,ae=e.failurl),"cancelurl"in e&&n(16,le=e.cancelurl),"sportsurl"in e&&n(17,ue=e.sportsurl),"casinourl"in e&&n(18,ce=e.casinourl),"contacturl"in e&&n(19,he=e.contacturl),"homeurl"in e&&n(20,de=e.homeurl)},e.$$.update=()=>{/*lang*/2&e.$$.dirty[0]&&S&&xe(),/*endpoint, lang*/3&e.$$.dirty[0]|/*gameid*/536870912&e.$$.dirty[1]&&E&&V&&S&&fe(V),/*session, userid, endpoint*/13&e.$$.dirty[0]&&T&&M&&E&&ke(),/*clientstyling, customStylingContainer*/4194320&e.$$.dirty[0]&&x&&v&&(()=>{let e=document.createElement("style");e.innerHTML=x,v.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/4194336&e.$$.dirty[0]&&D&&v&&(()=>{let e=document.createElement("style");if(D){let t=new URL(D);fetch(t.href).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{v.appendChild(e)}),1)}))}})(),/*panicButton*/2097152&e.$$.dirty[0]&&a&&(null==a||a.addEventListener("mousedown",Oe,!1),null==a||a.addEventListener("touchstart",Oe,!1),
|
|
1343
1343
|
// on mouseup stop interval count
|
|
1344
|
-
null==a||a.addEventListener("mouseup",Pe,!1),null==a||a.addEventListener("touchend",Pe,!1)),/*translationurl*/1048576&e.$$.dirty[1]&&P&&fetch(P).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Cr(t,e[t])}))})).catch((e=>{console.log(e)}))},[E,S,T,M,x,D,H,C,R,I,$,U,W,oe,se,ae,le,ue,ce,he,de,a,v,i,o,z,Z,X,q,c,Q,ee,h,d,f,p,te,g,b,re,w,_,ie,r,ne,be,ve,we,_e,Te,De,P,F,A,B,N,L,Y,G,j,V,()=>De(),function(e){O[e?"unshift":"push"]((()=>{_=e,n(41,_)}))},()=>we(),e=>_e(e),e=>_e(e),function(e){O[e?"unshift":"push"]((()=>{o=e,n(24,o)}))},function(e){O[e?"unshift":"push"]((()=>{a=e,n(21,a)}))},()=>Te(),()=>Te(),function(e){O[e?"unshift":"push"]((()=>{w=e,n(40,w)}))},function(e){O[e?"unshift":"push"]((()=>{p=e,n(35,p)}))},function(e){O[e?"unshift":"push"]((()=>{h=e,n(32,h)}))},()=>De(),function(e){O[e?"unshift":"push"]((()=>{_=e,n(41,_)}))},function(e){O[e?"unshift":"push"]((()=>{o=e,n(24,o)}))},()=>be(),()=>ve(),()=>Te(),()=>Te(),function(e){O[e?"unshift":"push"]((()=>{w=e,n(40,w)}))},function(e){O[e?"unshift":"push"]((()=>{p=e,n(35,p)}))},function(e){O[e?"unshift":"push"]((()=>{h=e,n(32,h)}))},function(e){O[e?"unshift":"push"]((()=>{v=e,n(22,v)}))}]}class ai extends G{constructor(e){super();const t=document.createElement("style");t.textContent='.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}@keyframes ModalBounce{0%{opacity:0;transform:translateY(20px)}50%{transform:translateY(-6px);opacity:0.8}100%{transform:translateY(0);opacity:1}}.ShortCashierWindow{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}.ShortCashierContainerWrapperMobile{position:relative;animation:ModalBounce 0.5s forwards;z-index:17}.ShortCashierContainerMobile{background-color:var(--emfe-w-color-white, #FFFFFF);position:absolute;width:80vw;top:32px;left:50%;transform:translateX(-100%);padding:10px;box-shadow:0px 30px 30px var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainerMobile:before{content:"";background:var(--emfe-w-color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:78%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.ClosePopUpButtonShortCashier{margin-left:auto;cursor:pointer}.ClosePopUpButtonShortCashier svg{position:absolute;top:10px;right:10px}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));float:right}.FullscreenButton svg{fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-contrast, var(--emfe-w-color-background, #07072A));border-radius:5px;border:1px solid var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));width:129px;height:60px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout{position:fixed;top:0;left:0;bottom:0;right:0;width:100%;height:100%;z-index:9999;overflow:auto;background:#000}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;line-height:18px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:80% !important;height:60px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}',this.shadowRoot.appendChild(t),U(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},si,oi,o,{endpoint:0,lang:1,session:2,userid:3,clientstyling:4,clientstylingurl:5,translationurl:51,gmversion:6,loginurl:52,registerurl:53,depositurl:7,loginevent:54,registerevent:55,depositevent:56,shortcashierenabled:8,hasdefaultamount:9,playercurrency:10,clockformat:57,haspanicbutton:11,playforfun:58,checksession:59,gamebanneractive:12,gameid:60,producttype:13,successurl:14,failurl:15,cancelurl:16,sportsurl:17,casinourl:18,contacturl:19,homeurl:20},null,[-1,-1,-1,-1]),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),L()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","gmversion","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","shortcashierenabled","hasdefaultamount","playercurrency","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid","producttype","successurl","failurl","cancelurl","sportsurl","casinourl","contacturl","homeurl"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),L()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),L()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),L()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),L()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),L()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),L()}get translationurl(){return this.$$.ctx[51]}set translationurl(e){this.$$set({translationurl:e}),L()}get gmversion(){return this.$$.ctx[6]}set gmversion(e){this.$$set({gmversion:e}),L()}get loginurl(){return this.$$.ctx[52]}set loginurl(e){this.$$set({loginurl:e}),L()}get registerurl(){return this.$$.ctx[53]}set registerurl(e){this.$$set({registerurl:e}),L()}get depositurl(){return this.$$.ctx[7]}set depositurl(e){this.$$set({depositurl:e}),L()}get loginevent(){return this.$$.ctx[54]}set loginevent(e){this.$$set({loginevent:e}),L()}get registerevent(){return this.$$.ctx[55]}set registerevent(e){this.$$set({registerevent:e}),L()}get depositevent(){return this.$$.ctx[56]}set depositevent(e){this.$$set({depositevent:e}),L()}get shortcashierenabled(){return this.$$.ctx[8]}set shortcashierenabled(e){this.$$set({shortcashierenabled:e}),L()}get hasdefaultamount(){return this.$$.ctx[9]}set hasdefaultamount(e){this.$$set({hasdefaultamount:e}),L()}get playercurrency(){return this.$$.ctx[10]}set playercurrency(e){this.$$set({playercurrency:e}),L()}get clockformat(){return this.$$.ctx[57]}set clockformat(e){this.$$set({clockformat:e}),L()}get haspanicbutton(){return this.$$.ctx[11]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),L()}get playforfun(){return this.$$.ctx[58]}set playforfun(e){this.$$set({playforfun:e}),L()}get checksession(){return this.$$.ctx[59]}set checksession(e){this.$$set({checksession:e}),L()}get gamebanneractive(){return this.$$.ctx[12]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),L()}get gameid(){return this.$$.ctx[60]}set gameid(e){this.$$set({gameid:e}),L()}get producttype(){return this.$$.ctx[13]}set producttype(e){this.$$set({producttype:e}),L()}get successurl(){return this.$$.ctx[14]}set successurl(e){this.$$set({successurl:e}),L()}get failurl(){return this.$$.ctx[15]}set failurl(e){this.$$set({failurl:e}),L()}get cancelurl(){return this.$$.ctx[16]}set cancelurl(e){this.$$set({cancelurl:e}),L()}get sportsurl(){return this.$$.ctx[17]}set sportsurl(e){this.$$set({sportsurl:e}),L()}get casinourl(){return this.$$.ctx[18]}set casinourl(e){this.$$set({casinourl:e}),L()}get contacturl(){return this.$$.ctx[19]}set contacturl(e){this.$$set({contacturl:e}),L()}get homeurl(){return this.$$.ctx[20]}set homeurl(e){this.$$set({homeurl:e}),L()}}return!customElements.get("casino-integrated-game-page")&&customElements.define("casino-integrated-game-page",ai),ai}));
|
|
1344
|
+
null==a||a.addEventListener("mouseup",Pe,!1),null==a||a.addEventListener("touchend",Pe,!1)),/*translationurl*/1048576&e.$$.dirty[1]&&P&&fetch(P).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Cr(t,e[t])}))})).catch((e=>{console.log(e)}))},[E,S,T,M,x,D,F,C,R,I,$,U,W,oe,se,ae,le,ue,ce,he,de,a,v,i,o,z,Z,X,q,c,Q,ee,h,d,f,p,te,g,b,re,w,_,ie,r,ne,be,ve,we,_e,Te,De,P,H,A,B,N,L,Y,G,j,V,()=>De(),function(e){O[e?"unshift":"push"]((()=>{_=e,n(41,_)}))},()=>we(),e=>_e(e),e=>_e(e),function(e){O[e?"unshift":"push"]((()=>{o=e,n(24,o)}))},function(e){O[e?"unshift":"push"]((()=>{a=e,n(21,a)}))},()=>Te(),()=>Te(),function(e){O[e?"unshift":"push"]((()=>{w=e,n(40,w)}))},function(e){O[e?"unshift":"push"]((()=>{p=e,n(35,p)}))},function(e){O[e?"unshift":"push"]((()=>{h=e,n(32,h)}))},()=>De(),function(e){O[e?"unshift":"push"]((()=>{_=e,n(41,_)}))},function(e){O[e?"unshift":"push"]((()=>{o=e,n(24,o)}))},()=>be(),()=>ve(),()=>Te(),()=>Te(),function(e){O[e?"unshift":"push"]((()=>{w=e,n(40,w)}))},function(e){O[e?"unshift":"push"]((()=>{p=e,n(35,p)}))},function(e){O[e?"unshift":"push"]((()=>{h=e,n(32,h)}))},function(e){O[e?"unshift":"push"]((()=>{v=e,n(22,v)}))}]}class ai extends G{constructor(e){super();const t=document.createElement("style");t.textContent='.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}@keyframes ModalBounce{0%{opacity:0;transform:translateY(20px)}50%{transform:translateY(-6px);opacity:0.8}100%{transform:translateY(0);opacity:1}}.ShortCashierWindow{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}.ShortCashierContainerWrapperMobile{position:relative;animation:ModalBounce 0.5s forwards;z-index:17}.ShortCashierContainerMobile{background-color:var(--emfe-w-color-white, #FFFFFF);position:absolute;width:80vw;top:32px;left:50%;transform:translateX(-100%);padding:10px;box-shadow:0px 30px 30px var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainerMobile:before{content:"";background:var(--emfe-w-color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:78%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.ClosePopUpButtonShortCashier{margin-left:auto;cursor:pointer}.ClosePopUpButtonShortCashier svg{position:absolute;top:10px;right:10px}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));float:right}.FullscreenButton svg{fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-contrast, var(--emfe-w-color-background, #07072A));border-radius:5px;border:1px solid var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));width:129px;height:60px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout{position:fixed;top:0;left:0;bottom:0;right:0;width:100%;height:100%;z-index:9999;overflow:auto;background:#000}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;line-height:18px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:80% !important;height:60px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}',this.shadowRoot.appendChild(t),U(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},si,oi,o,{endpoint:0,lang:1,session:2,userid:3,clientstyling:4,clientstylingurl:5,translationurl:51,gmversion:6,loginurl:52,registerurl:53,depositurl:7,loginevent:54,registerevent:55,depositevent:56,shortcashierenabled:8,hasdefaultamount:9,playercurrency:10,clockformat:57,haspanicbutton:11,playforfun:58,checksession:59,gamebanneractive:12,gameid:60,producttype:13,successurl:14,failurl:15,cancelurl:16,sportsurl:17,casinourl:18,contacturl:19,homeurl:20},null,[-1,-1,-1,-1]),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),L()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","gmversion","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","shortcashierenabled","hasdefaultamount","playercurrency","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid","producttype","successurl","failurl","cancelurl","sportsurl","casinourl","contacturl","homeurl"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),L()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),L()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),L()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),L()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),L()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),L()}get translationurl(){return this.$$.ctx[51]}set translationurl(e){this.$$set({translationurl:e}),L()}get gmversion(){return this.$$.ctx[6]}set gmversion(e){this.$$set({gmversion:e}),L()}get loginurl(){return this.$$.ctx[52]}set loginurl(e){this.$$set({loginurl:e}),L()}get registerurl(){return this.$$.ctx[53]}set registerurl(e){this.$$set({registerurl:e}),L()}get depositurl(){return this.$$.ctx[7]}set depositurl(e){this.$$set({depositurl:e}),L()}get loginevent(){return this.$$.ctx[54]}set loginevent(e){this.$$set({loginevent:e}),L()}get registerevent(){return this.$$.ctx[55]}set registerevent(e){this.$$set({registerevent:e}),L()}get depositevent(){return this.$$.ctx[56]}set depositevent(e){this.$$set({depositevent:e}),L()}get shortcashierenabled(){return this.$$.ctx[8]}set shortcashierenabled(e){this.$$set({shortcashierenabled:e}),L()}get hasdefaultamount(){return this.$$.ctx[9]}set hasdefaultamount(e){this.$$set({hasdefaultamount:e}),L()}get playercurrency(){return this.$$.ctx[10]}set playercurrency(e){this.$$set({playercurrency:e}),L()}get clockformat(){return this.$$.ctx[57]}set clockformat(e){this.$$set({clockformat:e}),L()}get haspanicbutton(){return this.$$.ctx[11]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),L()}get playforfun(){return this.$$.ctx[58]}set playforfun(e){this.$$set({playforfun:e}),L()}get checksession(){return this.$$.ctx[59]}set checksession(e){this.$$set({checksession:e}),L()}get gamebanneractive(){return this.$$.ctx[12]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),L()}get gameid(){return this.$$.ctx[60]}set gameid(e){this.$$set({gameid:e}),L()}get producttype(){return this.$$.ctx[13]}set producttype(e){this.$$set({producttype:e}),L()}get successurl(){return this.$$.ctx[14]}set successurl(e){this.$$set({successurl:e}),L()}get failurl(){return this.$$.ctx[15]}set failurl(e){this.$$set({failurl:e}),L()}get cancelurl(){return this.$$.ctx[16]}set cancelurl(e){this.$$set({cancelurl:e}),L()}get sportsurl(){return this.$$.ctx[17]}set sportsurl(e){this.$$set({sportsurl:e}),L()}get casinourl(){return this.$$.ctx[18]}set casinourl(e){this.$$set({casinourl:e}),L()}get contacturl(){return this.$$.ctx[19]}set contacturl(e){this.$$set({contacturl:e}),L()}get homeurl(){return this.$$.ctx[20]}set homeurl(e){this.$$set({homeurl:e}),L()}}return!customElements.get("casino-integrated-game-page")&&customElements.define("casino-integrated-game-page",ai),ai}));
|
|
1345
1345
|
//# sourceMappingURL=casino-integrated-game-page.js.map
|