@everymatrix/casino-footer-v2 1.11.1 → 1.12.1
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.
- package/dist/casino-footer-v2.js +93 -93
- package/dist/casino-footer-v2.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoFooterV2.svelte +4 -4
- package/src/translations.js +47 -65
package/dist/casino-footer-v2.js
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
*
|
9
9
|
* https://svelte.dev/docs#run-time-svelte-onmount
|
10
10
|
*/
|
11
|
-
function M(e){(function(){if(!a)throw new Error("Function called outside component initialization");return a})().$$.on_mount.push(e)}const F=[],I=[];let
|
11
|
+
function M(e){(function(){if(!a)throw new Error("Function called outside component initialization");return a})().$$.on_mount.push(e)}const F=[],I=[];let O=[];const $=[],A=Promise.resolve();let P=!1;function H(e){O.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.
|
@@ -27,29 +27,29 @@ function M(e){(function(){if(!a)throw new Error("Function called outside compone
|
|
27
27
|
// 3. During afterUpdate, any updated components will NOT have their afterUpdate
|
28
28
|
// callback called a second time; the seen_callbacks set, outside the flush()
|
29
29
|
// function, guarantees this behavior.
|
30
|
-
const
|
30
|
+
const C=new Set;let B=0;// Do *not* move this inside the flush() function
|
31
31
|
function N(){
|
32
32
|
// Do not reenter flush while dirty components are updated, as this can
|
33
33
|
// result in an infinite loop. Instead, let the inner flush handle it.
|
34
34
|
// Reentrancy is ok afterwards for bindings etc.
|
35
|
-
if(0!==
|
35
|
+
if(0!==B)return;const e=a;do{
|
36
36
|
// first, call beforeUpdate functions
|
37
37
|
// and update components
|
38
|
-
try{for(;
|
38
|
+
try{for(;B<F.length;){const e=F[B];B++,D(e),R(e.$$)}}catch(e){
|
39
39
|
// reset dirty state to not end up in a deadlocked state and then rethrow
|
40
|
-
throw F.length=0,
|
40
|
+
throw F.length=0,B=0,e}for(D(null),F.length=0,B=0;I.length;)I.pop()();
|
41
41
|
// then, once components are updated, call
|
42
42
|
// afterUpdate functions. This may cause
|
43
43
|
// subsequent updates...
|
44
|
-
for(let e=0;e
|
44
|
+
for(let e=0;e<O.length;e+=1){const t=O[e];C.has(t)||(
|
45
45
|
// ...so guard against infinite loops
|
46
|
-
|
46
|
+
C.add(t),t())}O.length=0}while(F.length);for(;$.length;)$.pop()();P=!1,C.clear(),D(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(H)}}
|
47
47
|
/**
|
48
48
|
* Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
|
49
|
-
*/const Y=new Set;const U="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function G(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[]
|
49
|
+
*/const Y=new Set;const U="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function G(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];O.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),O=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 j(e,t){-1===e.$$.dirty[0]&&(F.push(e),P||(P=!0,
|
52
|
+
n.on_destroy=n.fragment=null,n.ctx=[])}function j(e,t){-1===e.$$.dirty[0]&&(F.push(e),P||(P=!0,A.then(N)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function V(o,s,l,c,u,h,d,f=[-1]){const m=a;D(o);const g=o.$$={fragment:null,ctx:[],
|
53
53
|
// state
|
54
54
|
props:h,update:e,not_equal:u,bound:n(),
|
55
55
|
// lifecycle
|
@@ -123,7 +123,7 @@ var pe=self.fetch.bind(self),me=function(e,t){return me=Object.setPrototypeOf||{
|
|
123
123
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
124
124
|
PERFORMANCE OF THIS SOFTWARE.
|
125
125
|
***************************************************************************** */
|
126
|
-
/* global Reflect, Promise */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}me(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ye(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 be(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 _e(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 ve(e){return"function"==typeof e}function we(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}var ke=we((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 Ee(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Te=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}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=ye(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(ve(l))try{l()}catch(e){i=e instanceof ke?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=ye(c),h=u.next();!h.done;h=u.next()){var d=h.value;try{Le(d)}catch(e){i=null!=i?i:[],e instanceof ke?i=_e(_e([],be(i)),be(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new ke(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Le(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)&&Ee(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Ee(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Se=Te.EMPTY;function xe(e){return e instanceof Te||e&&"closed"in e&&ve(e.remove)&&ve(e.add)&&ve(e.unsubscribe)}function Le(e){ve(e)?e():e.unsubscribe()}var De={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Me={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Me.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,_e([e,t],be(n))):setTimeout.apply(void 0,_e([e,t],be(n)))},clearTimeout:function(e){var t=Me.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Fe(){}var Ie=null;function $e(e){if(De.useDeprecatedSynchronousErrorHandling){var t=!Ie;if(t&&(Ie={errorThrown:!1,error:null}),e(),t){var n=Ie,r=n.errorThrown,i=n.error;if(Ie=null,r)throw i}}else e()}var Ae=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,xe(t)&&t.add(n)):n.destination=Ne,n}return ge(t,e),t.create=function(e,t,n){return new Be(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}(Te),Oe=Function.prototype.bind;function Pe(e,t){return Oe.call(e,t)}var He=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){Ce(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ce(e)}else Ce(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ce(e)}},e}(),Be=function(e){function t(t,n,r){var i,o,s=e.call(this)||this;ve(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&De.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&Pe(t.next,o),error:t.error&&Pe(t.error,o),complete:t.complete&&Pe(t.complete,o)}):i=t;return s.destination=new He(i),s}return ge(t,e),t}(Ae);function Ce(e){var t;t=e,Me.setTimeout((function(){throw t}))}var Ne={closed:!0,next:Fe,error:function(e){throw e},complete:Fe},Re="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ye(e){return e}var Ue=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 Ae||function(e){return e&&ve(e.next)&&ve(e.error)&&ve(e.complete)}(r)&&xe(r)?e:new Be(e,t,n);return $e((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=Ge(t))((function(t,r){var i=new Be({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[Re]=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?Ye: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=Ge(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 Ge(e){var t;return null!==(t=null!=e?e:De.Promise)&&void 0!==t?t:Promise}var je=we((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 We(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new je},t.prototype.next=function(e){var t=this;$e((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=ye(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;$e((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;$e((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?Se:(this.currentObservers=null,o.push(e),new Te((function(){t.currentObservers=null,Ee(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 Ue;return e.source=this,e},t.create=function(e,t){return new We(e,t)},t}(Ue),We=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:Se},t}(Ve),ze={now:function(){return(ze.delegate||Date).now()},delegate:void 0},Ze=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 Xe=[],Ke={};
|
126
|
+
/* global Reflect, Promise */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}me(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ye(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 be(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 _e(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 ve(e){return"function"==typeof e}function we(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}var ke=we((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 Ee(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Te=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}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=ye(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(ve(l))try{l()}catch(e){i=e instanceof ke?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=ye(c),h=u.next();!h.done;h=u.next()){var d=h.value;try{Le(d)}catch(e){i=null!=i?i:[],e instanceof ke?i=_e(_e([],be(i)),be(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new ke(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Le(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)&&Ee(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Ee(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Se=Te.EMPTY;function xe(e){return e instanceof Te||e&&"closed"in e&&ve(e.remove)&&ve(e.add)&&ve(e.unsubscribe)}function Le(e){ve(e)?e():e.unsubscribe()}var De={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Me={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Me.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,_e([e,t],be(n))):setTimeout.apply(void 0,_e([e,t],be(n)))},clearTimeout:function(e){var t=Me.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Fe(){}var Ie=null;function Oe(e){if(De.useDeprecatedSynchronousErrorHandling){var t=!Ie;if(t&&(Ie={errorThrown:!1,error:null}),e(),t){var n=Ie,r=n.errorThrown,i=n.error;if(Ie=null,r)throw i}}else e()}var $e=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,xe(t)&&t.add(n)):n.destination=Ne,n}return ge(t,e),t.create=function(e,t,n){return new Ce(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}(Te),Ae=Function.prototype.bind;function Pe(e,t){return Ae.call(e,t)}var He=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){Be(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Be(e)}else Be(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Be(e)}},e}(),Ce=function(e){function t(t,n,r){var i,o,s=e.call(this)||this;ve(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&De.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&Pe(t.next,o),error:t.error&&Pe(t.error,o),complete:t.complete&&Pe(t.complete,o)}):i=t;return s.destination=new He(i),s}return ge(t,e),t}($e);function Be(e){var t;t=e,Me.setTimeout((function(){throw t}))}var Ne={closed:!0,next:Fe,error:function(e){throw e},complete:Fe},Re="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ye(e){return e}var Ue=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 $e||function(e){return e&&ve(e.next)&&ve(e.error)&&ve(e.complete)}(r)&&xe(r)?e:new Ce(e,t,n);return Oe((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=Ge(t))((function(t,r){var i=new Ce({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[Re]=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?Ye: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=Ge(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 Ge(e){var t;return null!==(t=null!=e?e:De.Promise)&&void 0!==t?t:Promise}var je=we((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 We(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new je},t.prototype.next=function(e){var t=this;Oe((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=ye(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;Oe((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;Oe((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?Se:(this.currentObservers=null,o.push(e),new Te((function(){t.currentObservers=null,Ee(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 Ue;return e.source=this,e},t.create=function(e,t){return new We(e,t)},t}(Ue),We=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:Se},t}(Ve),ze={now:function(){return(ze.delegate||Date).now()},delegate:void 0},Ze=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 Xe=[],Ke={};
|
127
127
|
/**
|
128
128
|
* @name topic
|
129
129
|
* @description A small wrapper over the rxjs to offer the topic method on top of it
|
@@ -305,20 +305,20 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
|
|
305
305
|
case"x":// 1, 2, 3, 4: The ISO8601 varios formats
|
306
306
|
throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
|
307
307
|
// @generated from regex-gen.ts
|
308
|
-
var Ft=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var It=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g
|
308
|
+
var Ft=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var It=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ot=/^(@+)?(\+|#+)?[rs]?$/g,$t=/(\*)(0+)|(#+)(0+)|(0+)/g,At=/^(0+)$/;function Pt(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Ot,(function(e,n,r){
|
309
309
|
// @@@ case
|
310
|
-
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 Ht(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
|
310
|
+
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 Ht(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 Ct(e){
|
311
311
|
// Engineering
|
312
|
-
var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!
|
312
|
+
var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!At.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Bt(e){var t=Ht(e);return t||{}}
|
313
313
|
/**
|
314
314
|
* https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
|
315
|
-
*/function Nt(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=pt(pt(pt({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return pt(pt({},e),
|
315
|
+
*/function Nt(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=pt(pt(pt({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return pt(pt({},e),Bt(t))}),{}));continue;case"engineering":t=pt(pt(pt({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return pt(pt({},e),Bt(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
|
316
316
|
// https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
|
317
317
|
case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;
|
318
318
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
|
319
|
-
case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(
|
319
|
+
case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace($t,(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}
|
320
320
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
|
321
|
-
if(
|
321
|
+
if(At.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(It.test(i.stem)){
|
322
322
|
// Precision
|
323
323
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#fraction-precision
|
324
324
|
// precision-integer case
|
@@ -328,7 +328,7 @@ return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDi
|
|
328
328
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
|
329
329
|
"w"===o?t=pt(pt({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=pt(pt({},t),Pt(o)))}
|
330
330
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
|
331
|
-
else if(
|
331
|
+
else if(Ot.test(i.stem))t=pt(pt({},t),Pt(i.stem));else{var s=Ht(i.stem);s&&(t=pt(pt({},t),s));var a=Ct(i.stem);a&&(t=pt(pt({},t),a))}}return t}
|
332
332
|
// @generated from time-data-gen.ts
|
333
333
|
// prettier-ignore
|
334
334
|
var Rt,Yt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};
|
@@ -594,9 +594,9 @@ e.MISSING_VALUE="MISSING_VALUE",
|
|
594
594
|
// When value supplied is invalid
|
595
595
|
e.INVALID_VALUE="INVALID_VALUE",
|
596
596
|
// When we need specific Intl API but it's not available
|
597
|
-
e.MISSING_INTL_API="MISSING_INTL_API"}(Tn||(Tn={}));var Ln,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 ut(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Mn=/** @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 ut(t,e),t}(Dn),Fn=/** @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 ut(t,e),t}(Dn),In=/** @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 ut(t,e),t}(Dn);function
|
597
|
+
e.MISSING_INTL_API="MISSING_INTL_API"}(Tn||(Tn={}));var Ln,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 ut(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Mn=/** @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 ut(t,e),t}(Dn),Fn=/** @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 ut(t,e),t}(Dn),In=/** @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 ut(t,e),t}(Dn);function On(e){return"function"==typeof e}
|
598
598
|
// TODO(skeleton): add skeleton support
|
599
|
-
function
|
599
|
+
function $n(e,t,n,r,i,o,
|
600
600
|
// For debugging
|
601
601
|
s){
|
602
602
|
// Hot path for straight simple msg translations
|
@@ -611,32 +611,32 @@ if(!i||!(h in i))throw new In(h,s);var d=i[h];if(yt(u))d&&"string"!=typeof d&&"n
|
|
611
611
|
// Recursively format plural and select parts' option — which can be a
|
612
612
|
// nested pattern structure. The choosing of the option to use is
|
613
613
|
// abstracted-by and delegated-to the part helper object.
|
614
|
-
if(_t(u)){var f="string"==typeof u.style?r.date[u.style]:xt(u.style)?u.style.parsedOptions:void 0;a.push({type:Ln.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(vt(u)){f="string"==typeof u.style?r.time[u.style]:xt(u.style)?u.style.parsedOptions:r.time.medium;a.push({type:Ln.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(bt(u)){(f="string"==typeof u.style?r.number[u.style]:St(u.style)?u.style.parsedOptions:void 0)&&f.scale&&(d*=f.scale||1),a.push({type:Ln.literal,value:n.getNumberFormat(t,f).format(d)})}else{if(Tt(u)){var p=u.children,m=u.value,g=i[m];if(
|
614
|
+
if(_t(u)){var f="string"==typeof u.style?r.date[u.style]:xt(u.style)?u.style.parsedOptions:void 0;a.push({type:Ln.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(vt(u)){f="string"==typeof u.style?r.time[u.style]:xt(u.style)?u.style.parsedOptions:r.time.medium;a.push({type:Ln.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(bt(u)){(f="string"==typeof u.style?r.number[u.style]:St(u.style)?u.style.parsedOptions:void 0)&&f.scale&&(d*=f.scale||1),a.push({type:Ln.literal,value:n.getNumberFormat(t,f).format(d)})}else{if(Tt(u)){var p=u.children,m=u.value,g=i[m];if(!On(g))throw new Fn(m,"function",s);var y=g($n(p,t,n,r,i,o).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),a.push.apply(a,y.map((function(e){return{type:"string"==typeof e?Ln.literal:Ln.object,value:e}})))}if(wt(u)){if(!(b=u.options[d]||u.options.other))throw new Mn(u.value,d,Object.keys(u.options),s);a.push.apply(a,$n(b.value,t,n,r,i))}else if(kt(u)){var b;if(!(b=u.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 _=n.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0));b=u.options[_]||u.options.other}if(!b)throw new Mn(u.value,d,Object.keys(u.options),s);a.push.apply(a,$n(b.value,t,n,r,i,d-(u.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===Ln.literal&&t.type===Ln.literal?n.value+=t.value:e.push(t),e}),[])}(a)}
|
615
615
|
/*
|
616
616
|
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
|
617
617
|
Copyrights licensed under the New BSD License.
|
618
618
|
See the accompanying LICENSE file for terms.
|
619
619
|
*/
|
620
620
|
// -- MessageFormat --------------------------------------------------------
|
621
|
-
function
|
621
|
+
function An(e,t){return t?Object.keys(e).reduce((function(n,r){var i,o;return n[r]=(i=e[r],(o=t[r])?pt(pt(pt({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=pt(pt({},i[t]),o[t]||{}),e}),{})):i),n}),pt({},e)):e}function Pn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Ln||(Ln={}));var Hn=/** @class */function(){function e(t,n,r,i){var o,s=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);
|
622
622
|
// Hot path for straight simple msg translations
|
623
|
-
if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===Ln.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return
|
623
|
+
if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===Ln.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return $n(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},
|
624
624
|
// Defined first because it's used to build the format pattern.
|
625
625
|
this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
626
626
|
// Parse string messages into an AST.
|
627
627
|
this.ast=e.__parse(t,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");
|
628
628
|
// Creates a new object with the specified `formats` merged with the default
|
629
629
|
// formats.
|
630
|
-
this.formats=
|
630
|
+
this.formats=An(e.formats,r),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:yn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,mt([void 0],t,!1)))}),{cache:Pn(o.number),strategy:xn.variadic}),getDateTimeFormat:yn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,mt([void 0],t,!1)))}),{cache:Pn(o.dateTime),strategy:xn.variadic}),getPluralRules:yn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,mt([void 0],t,!1)))}),{cache:Pn(o.pluralRules),strategy:xn.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=gn,
|
631
631
|
// Default format options used as the prototype of the `formats` provided to the
|
632
632
|
// constructor. These are used when constructing the internal Intl.NumberFormat
|
633
633
|
// and Intl.DateTimeFormat instances.
|
634
|
-
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}(),
|
634
|
+
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}(),Cn=Hn;
|
635
635
|
/*
|
636
636
|
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
|
637
637
|
Copyrights licensed under the New BSD License.
|
638
638
|
See the accompanying LICENSE file for terms.
|
639
|
-
*/const
|
639
|
+
*/const Bn={},Nn=(e,t,n)=>n?(t in Bn||(Bn[t]={}),e in Bn[t]||(Bn[t][e]=n),n):n,Rn=(e,t)=>{if(null==t)return;if(t in Bn&&e in Bn[t])return Bn[t][e];const n=rr(t);for(let r=0;r<n.length;r++){const i=jn(n[r],e);if(i)return Nn(e,t,i)}};let Yn;const Un=Je({});function Gn(e){return e in Yn}function jn(e,t){if(!Gn(e))return null;const n=function(e){return Yn[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 Vn(e,...t){delete Bn[e],Un.update((n=>(n[e]=lt.all([n[e]||{},...t]),n)))}Qe([Un],(([e])=>Object.keys(e))),Un.subscribe((e=>Yn=e));const Wn={};function zn(e){return Wn[e]}function Zn(e){return null!=e&&rr(e).some((e=>{var t;return null===(t=zn(e))||void 0===t?void 0:t.size}))}const Xn={};function Kn(e){if(!Zn(e))return e in Xn?Xn[e]:Promise.resolve();const t=function(e){return rr(e).map((e=>{const t=zn(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Xn[e]=Promise.all(t.map((([e,t])=>function(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=>Vn(e,...t)))}(e,t)))).then((()=>{if(Zn(e))return Kn(e);delete Xn[e]})),Xn[e]}const qn={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 Jn(){return qn}const Qn=Je(!1);let er;const tr=Je(null);function nr(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function rr(e,t=Jn().fallbackLocale){const n=nr(e);return t?[...new Set([...n,...nr(t)])]:n}function ir(){return null!=er?er:void 0}tr.subscribe((e=>{er=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const or={...tr,set:e=>{if(e&&function(e){if(null==e)return;const t=rr(e);for(let e=0;e<t.length;e++){const n=t[e];if(Gn(n))return n}}(e)&&Zn(e)){const{loadingDelay:t}=Jn();let n;return"undefined"!=typeof window&&null!=ir()&&t?n=window.setTimeout((()=>Qn.set(!0)),t):Qn.set(!0),Kn(e).then((()=>{tr.set(e)})).finally((()=>{clearTimeout(n),Qn.set(!1)}))}return tr.set(e)}},sr=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}},ar=(e,t)=>{const{formats:n}=Jn();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},lr=sr((({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(n=ar("number",t)),new Intl.NumberFormat(e,n)})),cr=sr((({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?n=ar("date",t):0===Object.keys(n).length&&(n=ar("date","short")),new Intl.DateTimeFormat(e,n)})),ur=sr((({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?n=ar("time",t):0===Object.keys(n).length&&(n=ar("time","short")),new Intl.DateTimeFormat(e,n)})),hr=sr(((e,t=ir())=>new Cn(e,t,Jn().formats,{ignoreTag:Jn().ignoreTag}))),dr=(e,t={})=>{var n,r,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=ir(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Rn(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!==(o=null!==(i=null===(r=(n=Jn()).handleMissingMessage)||void 0===r?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))&&void 0!==i?i:c)&&void 0!==o?o:e;if(!a)return u;let h=u;try{h=hr(u,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},fr=(e,t)=>(({locale:e=ir(),...t}={})=>ur({locale:e,...t}))(t).format(e),pr=(e,t)=>(({locale:e=ir(),...t}={})=>cr({locale:e,...t}))(t).format(e),mr=(e,t)=>(({locale:e=ir(),...t}={})=>lr({locale:e,...t}))(t).format(e),gr=(e,t=ir())=>Rn(e,t),yr=Qe([or,Un],(()=>dr));Qe([or],(()=>fr)),Qe([or],(()=>pr)),Qe([or],(()=>mr)),Qe([or,Un],(()=>gr)),window.emWidgets={topic:(e,t=0)=>{if(-1==Xe.indexOf(e)){let n=new Ze(t);Ke[e]=n,Xe.push(e)}return Ke[e]}};
|
640
640
|
/**
|
641
641
|
* @name isMobile
|
642
642
|
* @description A method that returns if the browser used to access the app is from a mobile device or not
|
@@ -655,7 +655,7 @@ function _r(e){let t;function n(e,t){/*sponsorimage*/
|
|
655
655
|
return e[1]?xr:/*paymentimage*/e[4]?Sr:/*vendorimage*/e[7]?Tr:/*helperlinkimage*/e[10]?Er:/*licenseimage*/e[13]?kr:/*sociallinkimage*/e[16]?wr:void 0}let r=n(e),i=r&&r(e);return{c(){i&&i.c(),t=v()},m(e,n){i&&i.m(e,n),f(e,t,n)},p(e,o){r===(r=n(e))&&i?i.p(e,o):(i&&i.d(1),i=r&&r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i&&i.d(e),e&&p(t)}}}
|
656
656
|
// (60:2) {#if device == 'PC'}
|
657
657
|
function vr(e){let t;function n(e,t){/*sponsorimage*/
|
658
|
-
return e[1]?Pr:/*paymentimage*/e[4]?
|
658
|
+
return e[1]?Pr:/*paymentimage*/e[4]?Ar:/*vendorimage*/e[7]?$r:/*helperlinkimage*/e[10]?Or:/*licenseimage*/e[13]?Ir:/*sociallinkimage*/e[16]?Fr:void 0}let r=n(e),i=r&&r(e);return{c(){i&&i.c(),t=v()},m(e,n){i&&i.m(e,n),f(e,t,n)},p(e,o){r===(r=n(e))&&i?i.p(e,o):(i&&i.d(1),i=r&&r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i&&i.d(e),e&&p(t)}}}
|
659
659
|
// (170:30)
|
660
660
|
function wr(e){let t,n,r,i,o,s,a,c;return{c(){t=g("div"),n=g("button"),r=g("img"),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*sociallinkimage*/e[16])||k(r,"src",i),k(r,"title",o=/*sociallinktitle*/e[17]||/*sociallinkurl*/e[15]),k(n,"class",s="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(t,"class","FooterItem SocialItem"),k(t,"part","FooterItem SocialItem")},m(i,o){f(i,t,o),d(t,n),d(n,r),a||(c=w(n,"click",/*click_handler_5*/e[33]),a=!0)},p(e,t){/*sociallinkimage*/65536&t[0]&&!l(r.src,i=/*sociallinkimage*/e[16])&&k(r,"src",i),/*sociallinktitle, sociallinkurl*/163840&t[0]&&o!==(o=/*sociallinktitle*/e[17]||/*sociallinkurl*/e[15])&&k(r,"title",o),/*sociallinkurl*/32768&t[0]&&s!==(s="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s)},d(e){e&&p(t),a=!1,c()}}}
|
661
661
|
// (163:27)
|
@@ -679,26 +679,26 @@ function Fr(e){let t,n,r,i,o,s,a,c;return{c(){t=g("div"),n=g("a"),r=g("img"),k(r
|
|
679
679
|
// (106:27)
|
680
680
|
function Ir(e){let t,n,r,i,o,s,a,c;return{c(){t=g("div"),n=g("a"),r=g("img"),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*licenseimage*/e[13])||k(r,"src",i),k(r,"title",o=/*licensetitle*/e[14]||/*licenseurl*/e[12]),k(n,"class",s="FooterLink "+(/*licenseurl*/e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",a="FooterLink "+(/*licenseurl*/e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",c=/*linktype*/e[19]?/*licenseurl*/e[12]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*licenseurl*/+e[12]),k(n,"target",/*target*/e[18]),k(t,"class","FooterItem"),k(t,"part","FooterItem")},m(e,i){f(e,t,i),d(t,n),d(n,r)},p(e,t){/*licenseimage*/8192&t[0]&&!l(r.src,i=/*licenseimage*/e[13])&&k(r,"src",i),/*licensetitle, licenseurl*/20480&t[0]&&o!==(o=/*licensetitle*/e[14]||/*licenseurl*/e[12])&&k(r,"title",o),/*licenseurl*/4096&t[0]&&s!==(s="FooterLink "+(/*licenseurl*/e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s),/*licenseurl*/4096&t[0]&&a!==(a="FooterLink "+(/*licenseurl*/e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",a),/*linktype, licenseurl, baseurl, lang*/6819840&t[0]&&c!==(c=/*linktype*/e[19]?/*licenseurl*/e[12]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*licenseurl*/+e[12])&&k(n,"href",c),/*target*/262144&t[0]&&k(n,"target",/*target*/e[18])},d(e){e&&p(t)}}}
|
681
681
|
// (94:30)
|
682
|
-
function
|
682
|
+
function Or(e){let t,n,r,i,o,s,a,c,u,h,m=/*helperlinktitle*/e[11]&&Hr(e);return{c(){t=g("div"),n=g("a"),r=g("img"),s=_(),m&&m.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*helperlinkimage*/e[10])||k(r,"src",i),k(r,"title",o=/*helperlinktitle*/e[11]||/*helperlinkurl*/e[9]),k(n,"class",a=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",c=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",u=/*linktype*/e[19]?/*helperlinkurl*/e[9]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*helperlinkurl*/+e[9]),k(n,"target",/*target*/e[18]),k(t,"class",h="FooterItem HelperLinkItem "+(/*displaycolumn*/"true"==e[20]?"DisplayColumn":"")),k(t,"part","FooterItem HelperLinkItem")},m(e,i){f(e,t,i),d(t,n),d(n,r),d(n,s),m&&m.m(n,null)},p(e,s){/*helperlinkimage*/1024&s[0]&&!l(r.src,i=/*helperlinkimage*/e[10])&&k(r,"src",i),/*helperlinktitle, helperlinkurl*/2560&s[0]&&o!==(o=/*helperlinktitle*/e[11]||/*helperlinkurl*/e[9])&&k(r,"title",o),/*helperlinktitle*/e[11]?m?m.p(e,s):(m=Hr(e),m.c(),m.m(n,null)):m&&(m.d(1),m=null),/*helperlinktitle, helperlinkurl*/2560&s[0]&&a!==(a=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",a),/*helperlinktitle, helperlinkurl*/2560&s[0]&&c!==(c=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",c),/*linktype, helperlinkurl, baseurl, lang*/6816256&s[0]&&u!==(u=/*linktype*/e[19]?/*helperlinkurl*/e[9]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*helperlinkurl*/+e[9])&&k(n,"href",u),/*target*/262144&s[0]&&k(n,"target",/*target*/e[18]),/*displaycolumn*/1048576&s[0]&&h!==(h="FooterItem HelperLinkItem "+(/*displaycolumn*/"true"==e[20]?"DisplayColumn":""))&&k(t,"class",h)},d(e){e&&p(t),m&&m.d()}}}
|
683
683
|
// (85:26)
|
684
|
-
function
|
684
|
+
function $r(e){let t,n,r,i,o,s,a,c;return{c(){t=g("div"),n=g("a"),r=g("img"),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*vendorimage*/e[7])||k(r,"src",i),k(r,"title",o=/*vendortitle*/e[8]||/*vendorurl*/e[6]),k(n,"class",s=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",a=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",c=/*linktype*/e[19]?/*vendorurl*/e[6]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*vendorurl*/+e[6]),k(n,"target",/*target*/e[18]),k(t,"class","FooterItem GameVendorItem"),k(t,"part","FooterItem GameVendorItem")},m(e,i){f(e,t,i),d(t,n),d(n,r)},p(e,t){/*vendorimage*/128&t[0]&&!l(r.src,i=/*vendorimage*/e[7])&&k(r,"src",i),/*vendortitle, vendorurl*/320&t[0]&&o!==(o=/*vendortitle*/e[8]||/*vendorurl*/e[6])&&k(r,"title",o),/*vendorurl*/64&t[0]&&s!==(s=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s),/*vendorurl*/64&t[0]&&a!==(a=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",a),/*linktype, vendorurl, baseurl, lang*/6815808&t[0]&&c!==(c=/*linktype*/e[19]?/*vendorurl*/e[6]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*vendorurl*/+e[6])&&k(n,"href",c),/*target*/262144&t[0]&&k(n,"target",/*target*/e[18])},d(e){e&&p(t)}}}
|
685
685
|
// (73:27)
|
686
|
-
function
|
686
|
+
function Ar(e){let t,n,r,i,o,s,a,c,u,h=/*paymenttitle*/e[5]&&Cr(e);return{c(){t=g("div"),n=g("a"),r=g("img"),s=_(),h&&h.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*paymentimage*/e[4])||k(r,"src",i),k(r,"title",o=/*paymenttitle*/e[5]||/*paymenturl*/e[3]),k(n,"class",a=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",c=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",u=/*linktype*/e[19]?/*paymenturl*/e[3]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*paymenturl*/+e[3]),k(n,"target",/*target*/e[18]),k(t,"class","FooterItem PaymentItem"),k(t,"part","FooterItem PaymentItem")},m(e,i){f(e,t,i),d(t,n),d(n,r),d(n,s),h&&h.m(n,null)},p(e,t){/*paymentimage*/16&t[0]&&!l(r.src,i=/*paymentimage*/e[4])&&k(r,"src",i),/*paymenttitle, paymenturl*/40&t[0]&&o!==(o=/*paymenttitle*/e[5]||/*paymenturl*/e[3])&&k(r,"title",o),/*paymenttitle*/e[5]?h?h.p(e,t):(h=Cr(e),h.c(),h.m(n,null)):h&&(h.d(1),h=null),/*paymenttitle, paymenturl*/40&t[0]&&a!==(a=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",a),/*paymenttitle, paymenturl*/40&t[0]&&c!==(c=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",c),/*linktype, paymenturl, baseurl, lang*/6815752&t[0]&&u!==(u=/*linktype*/e[19]?/*paymenturl*/e[3]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*paymenturl*/+e[3])&&k(n,"href",u),/*target*/262144&t[0]&&k(n,"target",/*target*/e[18])},d(e){e&&p(t),h&&h.d()}}}
|
687
687
|
// (61:4) {#if sponsorimage}
|
688
|
-
function Pr(e){let t,n,r,i,o,s,a,c,u,h=/*sponsortitle*/e[2]&&
|
688
|
+
function Pr(e){let t,n,r,i,o,s,a,c,u,h=/*sponsortitle*/e[2]&&Br(e);return{c(){t=g("div"),n=g("a"),r=g("img"),s=_(),h&&h.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*sponsorimage*/e[1])||k(r,"src",i),k(r,"title",o=/*sponsortitle*/e[2]||/*sponsorurl*/e[0]),k(n,"class",a=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",c=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",u=/*linktype*/e[19]?/*sponsorurl*/e[0]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*sponsorurl*/+e[0]),k(n,"target",/*target*/e[18]),k(t,"class","FooterItem SponsorItem"),k(t,"part","FooterItem SponsorItem")},m(e,i){f(e,t,i),d(t,n),d(n,r),d(n,s),h&&h.m(n,null)},p(e,t){/*sponsorimage*/2&t[0]&&!l(r.src,i=/*sponsorimage*/e[1])&&k(r,"src",i),/*sponsortitle, sponsorurl*/5&t[0]&&o!==(o=/*sponsortitle*/e[2]||/*sponsorurl*/e[0])&&k(r,"title",o),/*sponsortitle*/e[2]?h?h.p(e,t):(h=Br(e),h.c(),h.m(n,null)):h&&(h.d(1),h=null),/*sponsortitle, sponsorurl*/5&t[0]&&a!==(a=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",a),/*sponsortitle, sponsorurl*/5&t[0]&&c!==(c=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",c),/*linktype, sponsorurl, baseurl, lang*/6815745&t[0]&&u!==(u=/*linktype*/e[19]?/*sponsorurl*/e[0]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*sponsorurl*/+e[0])&&k(n,"href",u),/*target*/262144&t[0]&&k(n,"target",/*target*/e[18])},d(e){e&&p(t),h&&h.d()}}}
|
689
689
|
// (101:10) {#if helperlinktitle}
|
690
690
|
function Hr(e){let t,n;return{c(){t=g("p"),n=b(/*helperlinktitle*/e[11]),k(t,"class","HelperTitle"),k(t,"part","HelperTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*helperlinktitle*/2048&t[0]&&T(n,/*helperlinktitle*/e[11])},d(e){e&&p(t)}}}
|
691
691
|
// (80:10) {#if paymenttitle}
|
692
|
-
function
|
692
|
+
function Cr(e){let t,n;return{c(){t=g("p"),n=b(/*paymenttitle*/e[5]),k(t,"class","PaymentTitle"),k(t,"part","PaymentTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*paymenttitle*/32&t[0]&&T(n,/*paymenttitle*/e[5])},d(e){e&&p(t)}}}
|
693
693
|
// (68:10) {#if sponsortitle}
|
694
|
-
function
|
694
|
+
function Br(e){let t,n;return{c(){t=g("p"),n=b(/*sponsortitle*/e[2]),k(t,"class","SponsorTitle"),k(t,"part","SponsorTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*sponsortitle*/4&t[0]&&T(n,/*sponsortitle*/e[2])},d(e){e&&p(t)}}}function Nr(t){let n;let r=function(e,t){/*device*/
|
695
695
|
return"PC"==e[24]?vr:_r}(t),i=r(t);return{c(){n=g("div"),i.c(),this.c=e,k(n,"class","ThumbnailContainer"),k(n,"part","ThumbnailContainer")},m(e,r){f(e,n,r),i.m(n,null),
|
696
696
|
/*div_binding*/t[34](n)},p(e,t){i.p(e,t)},i:e,o:e,d(e){e&&p(n),i.d(),
|
697
|
-
/*div_binding*/t[34](null)}}}function Rr(e,t,n){let r,{sponsorurl:i=""}=t,{sponsorimage:o=""}=t,{sponsortitle:s=""}=t,{paymenturl:a=""}=t,{paymentimage:l=""}=t,{paymenttitle:c=""}=t,{vendorurl:u=""}=t,{vendorimage:h=""}=t,{vendortitle:d=""}=t,{helperlinkurl:f=""}=t,{helperlinkimage:p=""}=t,{helperlinktitle:m=""}=t,{licenseurl:g=""}=t,{licenseimage:y=""}=t,{licensetitle:b=""}=t,{sociallinkurl:_=""}=t,{sociallinkimage:v=""}=t,{sociallinktitle:w=""}=t,{target:k="_self"}=t,{linktype:E="false"}=t,{displaycolumn:T=""}=t,{baseurl:S=""}=t,{lang:x=""}=t,{clientstyling:L=""}=t,{clientstylingurl:D=""}=t,M=window.navigator.userAgent,F=br(M);const
|
697
|
+
/*div_binding*/t[34](null)}}}function Rr(e,t,n){let r,{sponsorurl:i=""}=t,{sponsorimage:o=""}=t,{sponsortitle:s=""}=t,{paymenturl:a=""}=t,{paymentimage:l=""}=t,{paymenttitle:c=""}=t,{vendorurl:u=""}=t,{vendorimage:h=""}=t,{vendortitle:d=""}=t,{helperlinkurl:f=""}=t,{helperlinkimage:p=""}=t,{helperlinktitle:m=""}=t,{licenseurl:g=""}=t,{licenseimage:y=""}=t,{licensetitle:b=""}=t,{sociallinkurl:_=""}=t,{sociallinkimage:v=""}=t,{sociallinktitle:w=""}=t,{target:k="_self"}=t,{linktype:E="false"}=t,{displaycolumn:T=""}=t,{baseurl:S=""}=t,{lang:x=""}=t,{clientstyling:L=""}=t,{clientstylingurl:D=""}=t,M=window.navigator.userAgent,F=br(M);const O=(e,t)=>{t?
|
698
698
|
// if link is external, inform FE
|
699
699
|
window.postMessage({type:"ExternalLinkNavigation",externalUrl:e},window.location.href):
|
700
700
|
// navigate
|
701
|
-
document.location.href=e};return e.$$set=e=>{"sponsorurl"in e&&n(0,i=e.sponsorurl),"sponsorimage"in e&&n(1,o=e.sponsorimage),"sponsortitle"in e&&n(2,s=e.sponsortitle),"paymenturl"in e&&n(3,a=e.paymenturl),"paymentimage"in e&&n(4,l=e.paymentimage),"paymenttitle"in e&&n(5,c=e.paymenttitle),"vendorurl"in e&&n(6,u=e.vendorurl),"vendorimage"in e&&n(7,h=e.vendorimage),"vendortitle"in e&&n(8,d=e.vendortitle),"helperlinkurl"in e&&n(9,f=e.helperlinkurl),"helperlinkimage"in e&&n(10,p=e.helperlinkimage),"helperlinktitle"in e&&n(11,m=e.helperlinktitle),"licenseurl"in e&&n(12,g=e.licenseurl),"licenseimage"in e&&n(13,y=e.licenseimage),"licensetitle"in e&&n(14,b=e.licensetitle),"sociallinkurl"in e&&n(15,_=e.sociallinkurl),"sociallinkimage"in e&&n(16,v=e.sociallinkimage),"sociallinktitle"in e&&n(17,w=e.sociallinktitle),"target"in e&&n(18,k=e.target),"linktype"in e&&n(19,E=e.linktype),"displaycolumn"in e&&n(20,T=e.displaycolumn),"baseurl"in e&&n(21,S=e.baseurl),"lang"in e&&n(22,x=e.lang),"clientstyling"in e&&n(26,L=e.clientstyling),"clientstylingurl"in e&&n(27,D=e.clientstylingurl)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/75497472&e.$$.dirty[0]&&L&&r&&(()=>{let e=document.createElement("style");e.innerHTML=L,r.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/142606336&e.$$.dirty[0]&&D&&r&&(()=>{let e=new URL(D),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{r.appendChild(t)}),1)}))})()},[i,o,s,a,l,c,u,h,d,f,p,m,g,y,b,_,v,w,k,E,T,S,x,r,F
|
701
|
+
document.location.href=e};return e.$$set=e=>{"sponsorurl"in e&&n(0,i=e.sponsorurl),"sponsorimage"in e&&n(1,o=e.sponsorimage),"sponsortitle"in e&&n(2,s=e.sponsortitle),"paymenturl"in e&&n(3,a=e.paymenturl),"paymentimage"in e&&n(4,l=e.paymentimage),"paymenttitle"in e&&n(5,c=e.paymenttitle),"vendorurl"in e&&n(6,u=e.vendorurl),"vendorimage"in e&&n(7,h=e.vendorimage),"vendortitle"in e&&n(8,d=e.vendortitle),"helperlinkurl"in e&&n(9,f=e.helperlinkurl),"helperlinkimage"in e&&n(10,p=e.helperlinkimage),"helperlinktitle"in e&&n(11,m=e.helperlinktitle),"licenseurl"in e&&n(12,g=e.licenseurl),"licenseimage"in e&&n(13,y=e.licenseimage),"licensetitle"in e&&n(14,b=e.licensetitle),"sociallinkurl"in e&&n(15,_=e.sociallinkurl),"sociallinkimage"in e&&n(16,v=e.sociallinkimage),"sociallinktitle"in e&&n(17,w=e.sociallinktitle),"target"in e&&n(18,k=e.target),"linktype"in e&&n(19,E=e.linktype),"displaycolumn"in e&&n(20,T=e.displaycolumn),"baseurl"in e&&n(21,S=e.baseurl),"lang"in e&&n(22,x=e.lang),"clientstyling"in e&&n(26,L=e.clientstyling),"clientstylingurl"in e&&n(27,D=e.clientstylingurl)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/75497472&e.$$.dirty[0]&&L&&r&&(()=>{let e=document.createElement("style");e.innerHTML=L,r.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/142606336&e.$$.dirty[0]&&D&&r&&(()=>{let e=new URL(D),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{r.appendChild(t)}),1)}))})()},[i,o,s,a,l,c,u,h,d,f,p,m,g,y,b,_,v,w,k,E,T,S,x,r,F,O,L,D,()=>O(E?i:S+`/${x}/`+i,E),()=>O(E?a:S+`/${x}/`+a,E),()=>O(E?u:S+`/${x}/`+u,E),()=>O(E?f:S+`/${x}/`+f,E),()=>O(E?g:S+`/${x}/`+g,E),()=>O(E?_:S+`/${x}/`+_,E),function(e){I[e?"unshift":"push"]((()=>{r=e,n(23,r)}))}]}
|
702
702
|
/* ../casino-footer-section/src/CasinoFooterSection.svelte generated by Svelte v3.58.0 */
|
703
703
|
function Yr(e,t,n){const r=e.slice();return r[31]=t[n],r}function Ur(e,t,n){const r=e.slice();return r[31]=t[n],r}function Gr(e,t,n){const r=e.slice();return r[31]=t[n],r}function jr(e,t,n){const r=e.slice();return r[31]=t[n],r}function Vr(e,t,n){const r=e.slice();return r[28]=t[n],r}function Wr(e,t,n){const r=e.slice();return r[25]=t[n],r}
|
704
704
|
// (147:51)
|
@@ -729,7 +729,7 @@ return e[0]&&/*footersponsors*/e[12].length?Jr:/*paymentflag*/e[1]&&/*footerpaym
|
|
729
729
|
/*div_binding*/,t[21](n)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o&&o.d(1),o=i&&i(e),o&&(o.c(),o.m(n,null)))},i:e,o:e,d(e){e&&p(n),o&&o.d()
|
730
730
|
/*div_binding*/,t[21](null)}}}function si(e,t,n){let r,{sponsorflag:i=""}=t,{paymentflag:o=""}=t,{vendorflag:s=""}=t,{helperflag:a=""}=t,{licenseflag:l=""}=t,{socialflag:c=""}=t,{target:u=""}=t,{displaycolumn:h=""}=t,{category:d=""}=t,{baseurl:f=""}=t,{lang:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{footertype:y=""}=t,b=[],_=[],v=[],w=[],k=[],E=[];const T=e=>{e.data&&"FooterData"===e.data.type&&(n(12,b=e.data.sponsorsRepeater),n(13,_=e.data.paymentMethodsRepeater),n(14,v=e.data.gameVendorsRepeater),n(15,w=e.data.helpLinksRepeater),n(16,k=e.data.licensesRepeater),n(17,E=e.data.socialLinksRepeater),d&&n(15,w=w.filter((e=>e.key==d))),
|
731
731
|
// casino-footer-v2 uses a different structure for the CMS data for the helper links
|
732
|
-
"footersecondary"===y&&n(15,w=w[0].value))};return M((()=>(window.addEventListener("message",T,!1),()=>{window.removeEventListener("message",T)}))),e.$$set=e=>{"sponsorflag"in e&&n(0,i=e.sponsorflag),"paymentflag"in e&&n(1,o=e.paymentflag),"vendorflag"in e&&n(2,s=e.vendorflag),"helperflag"in e&&n(3,a=e.helperflag),"licenseflag"in e&&n(4,l=e.licenseflag),"socialflag"in e&&n(5,c=e.socialflag),"target"in e&&n(18,u=e.target),"displaycolumn"in e&&n(6,h=e.displaycolumn),"category"in e&&n(19,d=e.category),"baseurl"in e&&n(7,f=e.baseurl),"lang"in e&&n(8,p=e.lang),"clientstyling"in e&&n(9,m=e.clientstyling),"clientstylingurl"in e&&n(10,g=e.clientstylingurl),"footertype"in e&&n(20,y=e.footertype)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/2560&e.$$.dirty[0]&&m&&r&&(()=>{let e=document.createElement("style");e.innerHTML=m,r.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/3072&e.$$.dirty[0]&&g&&r&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{r.appendChild(t)}),1)}))})()},[i,o,s,a,l,c,h,f,p,m,g,r,b,_,v,w,k,E,u,d,y,function(e){I[e?"unshift":"push"]((()=>{r=e,n(11,r)}))}]}!customElements.get("casino-footer-thumbnail")&&customElements.define("casino-footer-thumbnail",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent=":host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterItem{display:inline-block;padding:0 12px}.FooterItem .FooterSponsorLink,.FooterItem .FooterPaymentLink{display:block}.FooterItem .FooterSponsorLink{display:flex;align-items:center}.FooterItem .FooterPaymentLink,.FooterItem .FooterHelperLink{display:flex;align-items:center;justify-content:center}.FooterItem .FooterLinkDisabled{pointer-events:none;cursor:auto}.FooterItem .SponsorTitle,.FooterItem .PaymentTitle{font-size:9px;text-decoration:none;color:var(--emfe-w-color-gray-150, #828282);text-align:center}.FooterItem .HelperTitle{color:#111111;font-size:8px}.FooterItem.HelperLinkItem p{font-size:10px}.FooterItem .FooterItemAnchor{display:flex;flex-direction:column;gap:6px;text-decoration:none;cursor:pointer;border:none;background:transparent;padding:0}.FooterItem.SocialItem .FooterItemAnchor{width:42px;height:42px}.FooterItem .FooterImage{min-height:38px}.SponsorTitle{margin:0}.FooterLink{display:block;text-align:center}.DisplayColumn .FooterItemAnchor{flex-direction:row}.DisplayColumn .FooterImage{height:16px;width:16px;min-height:unset}.DisplayColumn.FooterItem.HelperLinkItem p{font-size:12px}@media only screen and (max-width: 768px){.FooterItem{padding:0 5px}.FooterItem.PaymentItem{padding:15px 5px}.FooterItem.GameVendorItem{padding:0 10px}}",this.shadowRoot.appendChild(t),V(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},Rr,Nr,o,{sponsorurl:0,sponsorimage:1,sponsortitle:2,paymenturl:3,paymentimage:4,paymenttitle:5,vendorurl:6,vendorimage:7,vendortitle:8,helperlinkurl:9,helperlinkimage:10,helperlinktitle:11,licenseurl:12,licenseimage:13,licensetitle:14,sociallinkurl:15,sociallinkimage:16,sociallinktitle:17,target:18,linktype:19,displaycolumn:20,baseurl:21,lang:22,clientstyling:26,clientstylingurl:27},null,[-1,-1]),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["sponsorurl","sponsorimage","sponsortitle","paymenturl","paymentimage","paymenttitle","vendorurl","vendorimage","vendortitle","helperlinkurl","helperlinkimage","helperlinktitle","licenseurl","licenseimage","licensetitle","sociallinkurl","sociallinkimage","sociallinktitle","target","linktype","displaycolumn","baseurl","lang","clientstyling","clientstylingurl"]}get sponsorurl(){return this.$$.ctx[0]}set sponsorurl(e){this.$$set({sponsorurl:e}),N()}get sponsorimage(){return this.$$.ctx[1]}set sponsorimage(e){this.$$set({sponsorimage:e}),N()}get sponsortitle(){return this.$$.ctx[2]}set sponsortitle(e){this.$$set({sponsortitle:e}),N()}get paymenturl(){return this.$$.ctx[3]}set paymenturl(e){this.$$set({paymenturl:e}),N()}get paymentimage(){return this.$$.ctx[4]}set paymentimage(e){this.$$set({paymentimage:e}),N()}get paymenttitle(){return this.$$.ctx[5]}set paymenttitle(e){this.$$set({paymenttitle:e}),N()}get vendorurl(){return this.$$.ctx[6]}set vendorurl(e){this.$$set({vendorurl:e}),N()}get vendorimage(){return this.$$.ctx[7]}set vendorimage(e){this.$$set({vendorimage:e}),N()}get vendortitle(){return this.$$.ctx[8]}set vendortitle(e){this.$$set({vendortitle:e}),N()}get helperlinkurl(){return this.$$.ctx[9]}set helperlinkurl(e){this.$$set({helperlinkurl:e}),N()}get helperlinkimage(){return this.$$.ctx[10]}set helperlinkimage(e){this.$$set({helperlinkimage:e}),N()}get helperlinktitle(){return this.$$.ctx[11]}set helperlinktitle(e){this.$$set({helperlinktitle:e}),N()}get licenseurl(){return this.$$.ctx[12]}set licenseurl(e){this.$$set({licenseurl:e}),N()}get licenseimage(){return this.$$.ctx[13]}set licenseimage(e){this.$$set({licenseimage:e}),N()}get licensetitle(){return this.$$.ctx[14]}set licensetitle(e){this.$$set({licensetitle:e}),N()}get sociallinkurl(){return this.$$.ctx[15]}set sociallinkurl(e){this.$$set({sociallinkurl:e}),N()}get sociallinkimage(){return this.$$.ctx[16]}set sociallinkimage(e){this.$$set({sociallinkimage:e}),N()}get sociallinktitle(){return this.$$.ctx[17]}set sociallinktitle(e){this.$$set({sociallinktitle:e}),N()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),N()}get linktype(){return this.$$.ctx[19]}set linktype(e){this.$$set({linktype:e}),N()}get displaycolumn(){return this.$$.ctx[20]}set displaycolumn(e){this.$$set({displaycolumn:e}),N()}get baseurl(){return this.$$.ctx[21]}set baseurl(e){this.$$set({baseurl:e}),N()}get lang(){return this.$$.ctx[22]}set lang(e){this.$$set({lang:e}),N()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}});function ai(e,t){Vn(e,t)}!customElements.get("casino-footer-section")&&customElements.define("casino-footer-section",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent=":host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterSectionInnerContainer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.DisplayColumn{flex-direction:column;align-items:flex-start}",this.shadowRoot.appendChild(t),V(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},si,oi,o,{sponsorflag:0,paymentflag:1,vendorflag:2,helperflag:3,licenseflag:4,socialflag:5,target:18,displaycolumn:6,category:19,baseurl:7,lang:8,clientstyling:9,clientstylingurl:10,footertype:20},null,[-1,-1]),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["sponsorflag","paymentflag","vendorflag","helperflag","licenseflag","socialflag","target","displaycolumn","category","baseurl","lang","clientstyling","clientstylingurl","footertype"]}get sponsorflag(){return this.$$.ctx[0]}set sponsorflag(e){this.$$set({sponsorflag:e}),N()}get paymentflag(){return this.$$.ctx[1]}set paymentflag(e){this.$$set({paymentflag:e}),N()}get vendorflag(){return this.$$.ctx[2]}set vendorflag(e){this.$$set({vendorflag:e}),N()}get helperflag(){return this.$$.ctx[3]}set helperflag(e){this.$$set({helperflag:e}),N()}get licenseflag(){return this.$$.ctx[4]}set licenseflag(e){this.$$set({licenseflag:e}),N()}get socialflag(){return this.$$.ctx[5]}set socialflag(e){this.$$set({socialflag:e}),N()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),N()}get displaycolumn(){return this.$$.ctx[6]}set displaycolumn(e){this.$$set({displaycolumn:e}),N()}get category(){return this.$$.ctx[19]}set category(e){this.$$set({category:e}),N()}get baseurl(){return this.$$.ctx[7]}set baseurl(e){this.$$set({baseurl:e}),N()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),N()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}get footertype(){return this.$$.ctx[20]}set footertype(e){this.$$set({footertype:e}),N()}});const li={en:{panicButton:
|
732
|
+
"footersecondary"===y&&n(15,w=w[0].value))};return M((()=>(window.addEventListener("message",T,!1),()=>{window.removeEventListener("message",T)}))),e.$$set=e=>{"sponsorflag"in e&&n(0,i=e.sponsorflag),"paymentflag"in e&&n(1,o=e.paymentflag),"vendorflag"in e&&n(2,s=e.vendorflag),"helperflag"in e&&n(3,a=e.helperflag),"licenseflag"in e&&n(4,l=e.licenseflag),"socialflag"in e&&n(5,c=e.socialflag),"target"in e&&n(18,u=e.target),"displaycolumn"in e&&n(6,h=e.displaycolumn),"category"in e&&n(19,d=e.category),"baseurl"in e&&n(7,f=e.baseurl),"lang"in e&&n(8,p=e.lang),"clientstyling"in e&&n(9,m=e.clientstyling),"clientstylingurl"in e&&n(10,g=e.clientstylingurl),"footertype"in e&&n(20,y=e.footertype)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/2560&e.$$.dirty[0]&&m&&r&&(()=>{let e=document.createElement("style");e.innerHTML=m,r.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/3072&e.$$.dirty[0]&&g&&r&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{r.appendChild(t)}),1)}))})()},[i,o,s,a,l,c,h,f,p,m,g,r,b,_,v,w,k,E,u,d,y,function(e){I[e?"unshift":"push"]((()=>{r=e,n(11,r)}))}]}!customElements.get("casino-footer-thumbnail")&&customElements.define("casino-footer-thumbnail",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent=":host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterItem{display:inline-block;padding:0 12px}.FooterItem .FooterSponsorLink,.FooterItem .FooterPaymentLink{display:block}.FooterItem .FooterSponsorLink{display:flex;align-items:center}.FooterItem .FooterPaymentLink,.FooterItem .FooterHelperLink{display:flex;align-items:center;justify-content:center}.FooterItem .FooterLinkDisabled{pointer-events:none;cursor:auto}.FooterItem .SponsorTitle,.FooterItem .PaymentTitle{font-size:9px;text-decoration:none;color:var(--emfe-w-color-gray-150, #828282);text-align:center}.FooterItem .HelperTitle{color:#111111;font-size:8px}.FooterItem.HelperLinkItem p{font-size:10px}.FooterItem .FooterItemAnchor{display:flex;flex-direction:column;gap:6px;text-decoration:none;cursor:pointer;border:none;background:transparent;padding:0}.FooterItem.SocialItem .FooterItemAnchor{width:42px;height:42px}.FooterItem .FooterImage{min-height:38px}.SponsorTitle{margin:0}.FooterLink{display:block;text-align:center}.DisplayColumn .FooterItemAnchor{flex-direction:row}.DisplayColumn .FooterImage{height:16px;width:16px;min-height:unset}.DisplayColumn.FooterItem.HelperLinkItem p{font-size:12px}@media only screen and (max-width: 768px){.FooterItem{padding:0 5px}.FooterItem.PaymentItem{padding:15px 5px}.FooterItem.GameVendorItem{padding:0 10px}}",this.shadowRoot.appendChild(t),V(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},Rr,Nr,o,{sponsorurl:0,sponsorimage:1,sponsortitle:2,paymenturl:3,paymentimage:4,paymenttitle:5,vendorurl:6,vendorimage:7,vendortitle:8,helperlinkurl:9,helperlinkimage:10,helperlinktitle:11,licenseurl:12,licenseimage:13,licensetitle:14,sociallinkurl:15,sociallinkimage:16,sociallinktitle:17,target:18,linktype:19,displaycolumn:20,baseurl:21,lang:22,clientstyling:26,clientstylingurl:27},null,[-1,-1]),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["sponsorurl","sponsorimage","sponsortitle","paymenturl","paymentimage","paymenttitle","vendorurl","vendorimage","vendortitle","helperlinkurl","helperlinkimage","helperlinktitle","licenseurl","licenseimage","licensetitle","sociallinkurl","sociallinkimage","sociallinktitle","target","linktype","displaycolumn","baseurl","lang","clientstyling","clientstylingurl"]}get sponsorurl(){return this.$$.ctx[0]}set sponsorurl(e){this.$$set({sponsorurl:e}),N()}get sponsorimage(){return this.$$.ctx[1]}set sponsorimage(e){this.$$set({sponsorimage:e}),N()}get sponsortitle(){return this.$$.ctx[2]}set sponsortitle(e){this.$$set({sponsortitle:e}),N()}get paymenturl(){return this.$$.ctx[3]}set paymenturl(e){this.$$set({paymenturl:e}),N()}get paymentimage(){return this.$$.ctx[4]}set paymentimage(e){this.$$set({paymentimage:e}),N()}get paymenttitle(){return this.$$.ctx[5]}set paymenttitle(e){this.$$set({paymenttitle:e}),N()}get vendorurl(){return this.$$.ctx[6]}set vendorurl(e){this.$$set({vendorurl:e}),N()}get vendorimage(){return this.$$.ctx[7]}set vendorimage(e){this.$$set({vendorimage:e}),N()}get vendortitle(){return this.$$.ctx[8]}set vendortitle(e){this.$$set({vendortitle:e}),N()}get helperlinkurl(){return this.$$.ctx[9]}set helperlinkurl(e){this.$$set({helperlinkurl:e}),N()}get helperlinkimage(){return this.$$.ctx[10]}set helperlinkimage(e){this.$$set({helperlinkimage:e}),N()}get helperlinktitle(){return this.$$.ctx[11]}set helperlinktitle(e){this.$$set({helperlinktitle:e}),N()}get licenseurl(){return this.$$.ctx[12]}set licenseurl(e){this.$$set({licenseurl:e}),N()}get licenseimage(){return this.$$.ctx[13]}set licenseimage(e){this.$$set({licenseimage:e}),N()}get licensetitle(){return this.$$.ctx[14]}set licensetitle(e){this.$$set({licensetitle:e}),N()}get sociallinkurl(){return this.$$.ctx[15]}set sociallinkurl(e){this.$$set({sociallinkurl:e}),N()}get sociallinkimage(){return this.$$.ctx[16]}set sociallinkimage(e){this.$$set({sociallinkimage:e}),N()}get sociallinktitle(){return this.$$.ctx[17]}set sociallinktitle(e){this.$$set({sociallinktitle:e}),N()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),N()}get linktype(){return this.$$.ctx[19]}set linktype(e){this.$$set({linktype:e}),N()}get displaycolumn(){return this.$$.ctx[20]}set displaycolumn(e){this.$$set({displaycolumn:e}),N()}get baseurl(){return this.$$.ctx[21]}set baseurl(e){this.$$set({baseurl:e}),N()}get lang(){return this.$$.ctx[22]}set lang(e){this.$$set({lang:e}),N()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}});function ai(e,t){Vn(e,t)}!customElements.get("casino-footer-section")&&customElements.define("casino-footer-section",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent=":host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterSectionInnerContainer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.DisplayColumn{flex-direction:column;align-items:flex-start}",this.shadowRoot.appendChild(t),V(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},si,oi,o,{sponsorflag:0,paymentflag:1,vendorflag:2,helperflag:3,licenseflag:4,socialflag:5,target:18,displaycolumn:6,category:19,baseurl:7,lang:8,clientstyling:9,clientstylingurl:10,footertype:20},null,[-1,-1]),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["sponsorflag","paymentflag","vendorflag","helperflag","licenseflag","socialflag","target","displaycolumn","category","baseurl","lang","clientstyling","clientstylingurl","footertype"]}get sponsorflag(){return this.$$.ctx[0]}set sponsorflag(e){this.$$set({sponsorflag:e}),N()}get paymentflag(){return this.$$.ctx[1]}set paymentflag(e){this.$$set({paymentflag:e}),N()}get vendorflag(){return this.$$.ctx[2]}set vendorflag(e){this.$$set({vendorflag:e}),N()}get helperflag(){return this.$$.ctx[3]}set helperflag(e){this.$$set({helperflag:e}),N()}get licenseflag(){return this.$$.ctx[4]}set licenseflag(e){this.$$set({licenseflag:e}),N()}get socialflag(){return this.$$.ctx[5]}set socialflag(e){this.$$set({socialflag:e}),N()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),N()}get displaycolumn(){return this.$$.ctx[6]}set displaycolumn(e){this.$$set({displaycolumn:e}),N()}get category(){return this.$$.ctx[19]}set category(e){this.$$set({category:e}),N()}get baseurl(){return this.$$.ctx[7]}set baseurl(e){this.$$set({baseurl:e}),N()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),N()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}get footertype(){return this.$$.ctx[20]}set footertype(e){this.$$set({footertype:e}),N()}});const li={en:{panicButton:"[object Object]"},"zh-hk":{panicButton:"[object Object]"},fr:{panicButton:"[object Object]"},ro:{panicButton:"[object Object]"},es:{panicButton:"[object Object]"},de:{panicButton:"[object Object]"},hr:{panicButton:"[object Object]"},sl:{panicButton:"[object Object]"},pl:{panicButton:"[object Object]"}};
|
733
733
|
/* ../panic-button/src/PanicButton.svelte generated by Svelte v3.58.0 */function ci(t){let n,r,i,o,s,a=/*customtext*/(t[0]||/*$_*/t[5]("panicButton.panicButtonString"))+"";return{c(){n=g("div"),r=g("div"),i=g("button"),o=b(a),this.c=e,k(i,"class","PanicButton "+("PC"!==br(/*userAgent*/t[6])?"PanicButtonMobile":"")),k(i,"part","PanicButton "+("PC"!==br(/*userAgent*/t[6])?"PanicButtonMobile":"")),x(i,"PanicButtonAnimation",/*panicLoading*/t[4]),k(r,"class","PanicSection "+("PC"!==br(/*userAgent*/t[6])?"PanicSectionMobile":"")),k(r,"part","PanicSection "+("PC"!==br(/*userAgent*/t[6])?"PanicSectionMobile":"")),k(n,"class",s=/*alternativestyling*/"true"==t[1]?"PanicButtonV2":"")},m(e,s){f(e,n,s),d(n,r),d(r,i),d(i,o),
|
734
734
|
/*button_binding*/t[11](i),
|
735
735
|
/*div1_binding*/t[12](n)},p(e,[t]){/*customtext, $_*/33&t&&a!==(a=/*customtext*/(e[0]||/*$_*/e[5]("panicButton.panicButtonString"))+"")&&T(o,a),/*panicLoading*/16&t&&x(i,"PanicButtonAnimation",/*panicLoading*/e[4]),/*alternativestyling*/2&t&&s!==(s=/*alternativestyling*/"true"==e[1]?"PanicButtonV2":"")&&k(n,"class",s)},i:e,o:e,d(e){e&&p(n)
|
@@ -762,14 +762,14 @@ function k(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isV
|
|
762
762
|
// TODO: Remove "ordinalParse" fallback in next major release.
|
763
763
|
this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function I(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])&&(
|
764
764
|
// make sure changes to properties don't modify parent config
|
765
|
-
r[n]=f({},r[n]));return r}function
|
765
|
+
r[n]=f({},r[n]));return r}function O(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 $={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function A(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return M(r)?r.call(t,n):r}function P(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 H=/(\[[^\[]*\])|(\\)?([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,C=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,B={},N={};
|
766
766
|
// token: 'M'
|
767
767
|
// padded: ['MM', 2]
|
768
768
|
// ordinal: 'Mo'
|
769
769
|
// callback: function () { this.month() + 1 }
|
770
770
|
function R(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(N[e]=i),t&&(N[t[0]]=function(){return P(i.apply(this,arguments),t[1],t[2])}),n&&(N[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(H);for(t=0,n=r.length;t<n;t++)N[r[t]]?r[t]=N[r[t]]:r[t]=Y(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=M(r[i])?r[i].call(t,e):r[i];return o}}
|
771
771
|
// format date using native date object
|
772
|
-
function G(e,t){return e.isValid()?(t=j(t,e.localeData()),
|
772
|
+
function G(e,t){return e.isValid()?(t=j(t,e.localeData()),B[t]=B[t]||U(t),B[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(C.lastIndex=0;n>=0&&C.test(e);)e=e.replace(C,r),C.lastIndex=0,n-=1;return e}var V={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 W(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(H).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",K=/\d{1,2}/;function q(e){return this._ordinal.replace("%d",e)}var J={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 M(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return M(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 ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ue(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ce(t)),n}function he(e,t){return function(n){return null!=n?(pe(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 pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=ue(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
|
773
773
|
// MOMENTS
|
774
774
|
function me(e){return M(this[e=re(e)])?this[e]():this}function ge(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(M(this[e=re(e)]))return this[e](t);return this}var ye,be=/\d/,// 0 - 9
|
775
775
|
_e=/\d\d/,// 00 - 99
|
@@ -785,13 +785,13 @@ De=/[+-]?\d{1,6}/,// -999999 - 999999
|
|
785
785
|
Me=/\d+/,// 0 - inf
|
786
786
|
Fe=/[+-]?\d+/,// -inf - inf
|
787
787
|
Ie=/Z|[+-]\d\d:?\d\d/gi,// +00:00 -00:00 +0000 -0000 or Z
|
788
|
-
|
789
|
-
|
788
|
+
Oe=/Z|[+-]\d\d(?::?\d\d)?/gi,// +00 -00 +00:00 -00:00 +0000 -0000 or Z
|
789
|
+
$e=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
|
790
790
|
// any word (or two) characters or numbers including two/three word month in arabic.
|
791
791
|
// includes scottish gaelic two word and hyphenated months
|
792
|
-
|
792
|
+
Ae=/[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 Pe(e,t,n){ye[e]=M(t)?t:function(e,r){return e&&n?n:t}}function He(e,t){return a(ye,e)?ye[e](t._strict,t._locale):new RegExp(Ce(e))}
|
793
793
|
// Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
|
794
|
-
function
|
794
|
+
function Ce(e){return Be(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Be(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ye={};var Ne={};function Re(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=ue(e)}),r=e.length,n=0;n<r;n++)Ne[e[n]]=i}function Ye(e,t){Re(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Ue(e,t,n){null!=t&&a(Ne,e)&&Ne[e](t,n._a,n,e)}var Ge,je=0,Ve=1,We=2,ze=3,Ze=4,Xe=5,Ke=6,qe=7,Je=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}
|
795
795
|
// FORMATTING
|
796
796
|
Ge=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
|
797
797
|
// I know
|
@@ -805,7 +805,7 @@ Pe("M",Ee),Pe("MM",Ee,_e),Pe("MMM",(function(e,t){return t.monthsShortRegex(e)})
|
|
805
805
|
// if we didn't find a month name, mark the date as invalid.
|
806
806
|
null!=i?t[Ve]=i:g(n).invalidMonth=e}));
|
807
807
|
// LOCALES
|
808
|
-
var tt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,it=
|
808
|
+
var tt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,it=Ae,ot=Ae;function st(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||rt).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone}function at(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[rt.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function lt(e,t,n){var r,i,o,s=e.toLocaleLowerCase();if(!this._monthsParse)for(
|
809
809
|
// this is not used
|
810
810
|
this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ge.call(this._shortMonthsParse,s))?i:null:-1!==(i=Ge.call(this._longMonthsParse,s))?i:null:"MMM"===t?-1!==(i=Ge.call(this._shortMonthsParse,s))||-1!==(i=Ge.call(this._longMonthsParse,s))?i:null:-1!==(i=Ge.call(this._longMonthsParse,s))||-1!==(i=Ge.call(this._shortMonthsParse,s))?i:null}function ct(e,t,n){var r,i,o;if(this._monthsParseExact)return lt.call(this,e,t,n);
|
811
811
|
// TODO: add sorting
|
@@ -826,7 +826,7 @@ if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),et(e.
|
|
826
826
|
n=p([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));
|
827
827
|
// Sorting makes sure if one month (or abbr) is a prefix of another it
|
828
828
|
// will match the longer piece.
|
829
|
-
for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=
|
829
|
+
for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=Be(r[t]),i[t]=Be(i[t]);for(t=0;t<24;t++)o[t]=Be(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}
|
830
830
|
// FORMATTING
|
831
831
|
// HELPERS
|
832
832
|
function gt(e){return le(e)?366:365}
|
@@ -871,9 +871,9 @@ doy:6};function Lt(){return this._week.dow}function Dt(){return this._week.doy}
|
|
871
871
|
function Mt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ft(e){var t=Et(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}
|
872
872
|
// FORMATTING
|
873
873
|
// HELPERS
|
874
|
-
function It(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function
|
874
|
+
function It(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Ot(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}
|
875
875
|
// LOCALES
|
876
|
-
function
|
876
|
+
function $t(e,t){return e.slice(t,7).concat(e.slice(0,t))}R("d",0,"do","day"),R("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),R("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),R("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),
|
877
877
|
// ALIASES
|
878
878
|
ne("day","d"),ne("weekday","e"),ne("isoWeekday","E"),
|
879
879
|
// PRIORITY
|
@@ -881,7 +881,7 @@ se("day",11),se("weekday",11),se("isoWeekday",11),
|
|
881
881
|
// PARSING
|
882
882
|
Pe("d",Ee),Pe("e",Ee),Pe("E",Ee),Pe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Pe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Pe("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ye(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);
|
883
883
|
// if we didn't get a weekday name, mark the date as invalid
|
884
|
-
null!=i?t.d=i:g(n).invalidWeekday=e})),Ye(["d","e","E"],(function(e,t,n,r){t[r]=ue(e)}));var
|
884
|
+
null!=i?t.d=i:g(n).invalidWeekday=e})),Ye(["d","e","E"],(function(e,t,n,r){t[r]=ue(e)}));var At="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Pt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ht="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ct=Ae,Bt=Ae,Nt=Ae;function Rt(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?$t(n,this._week.dow):e?n[e.day()]:n}function Yt(e){return!0===e?$t(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?$t(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Gt(e,t,n){var r,i,o,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ge.call(this._weekdaysParse,s))?i:null:"ddd"===t?-1!==(i=Ge.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=Ge.call(this._minWeekdaysParse,s))?i:null:"dddd"===t?-1!==(i=Ge.call(this._weekdaysParse,s))||-1!==(i=Ge.call(this._shortWeekdaysParse,s))||-1!==(i=Ge.call(this._minWeekdaysParse,s))?i:null:"ddd"===t?-1!==(i=Ge.call(this._shortWeekdaysParse,s))||-1!==(i=Ge.call(this._weekdaysParse,s))||-1!==(i=Ge.call(this._minWeekdaysParse,s))?i:null:-1!==(i=Ge.call(this._minWeekdaysParse,s))||-1!==(i=Ge.call(this._weekdaysParse,s))||-1!==(i=Ge.call(this._shortWeekdaysParse,s))?i:null}function jt(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Gt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){
|
885
885
|
// test the regex
|
886
886
|
if(
|
887
887
|
// make the regex if we don't have it already
|
@@ -891,9 +891,9 @@ function Vt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this
|
|
891
891
|
// behaves the same as moment#day except
|
892
892
|
// as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
|
893
893
|
// as a setter, sunday should belong to the previous week.
|
894
|
-
if(null!=e){var t
|
894
|
+
if(null!=e){var t=Ot(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")||qt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Ct),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Bt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function qt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,s=[],a=[],l=[],c=[];for(t=0;t<7;t++)
|
895
895
|
// make the regex if we don't have it already
|
896
|
-
n=p([2e3,1]).day(t),r=
|
896
|
+
n=p([2e3,1]).day(t),r=Be(this.weekdaysMin(n,"")),i=Be(this.weekdaysShort(n,"")),o=Be(this.weekdays(n,"")),s.push(r),a.push(i),l.push(o),c.push(r),c.push(i),c.push(o);
|
897
897
|
// Sorting makes sure if one weekday (or abbr) is a prefix of another it
|
898
898
|
// will match the longer piece.
|
899
899
|
s.sort(e),a.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.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")}
|
@@ -914,7 +914,7 @@ se("hour",13),Pe("a",tn),Pe("A",tn),Pe("H",Ee),Pe("h",Ee),Pe("k",Ee),Pe("HH",Ee,
|
|
914
914
|
// specified which hour they want. So trying to maintain the same hour (in
|
915
915
|
// a new timezone) makes sense. Adding/subtracting hours does not follow
|
916
916
|
// this rule.
|
917
|
-
on=he("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,ln={calendar
|
917
|
+
on=he("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,ln={calendar:$,longDateFormat:V,invalidDate:z,ordinal:X,dayOfMonthOrdinalParse:K,relativeTime:J,months:tt,monthsShort:nt,week:xt,weekdays:At,weekdaysMin:Ht,weekdaysShort:Pt,meridiemParse:rn},cn={},un={};
|
918
918
|
// internal storage for locale config files
|
919
919
|
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}
|
920
920
|
// pick the locale from the array
|
@@ -938,7 +938,7 @@ function gn(e,t){var n;return e&&((n=c(t)?_n(e):yn(e,t))?
|
|
938
938
|
// moment.duration._locale = moment._locale = data;
|
939
939
|
an=n:"undefined"!=typeof console&&console.warn&&
|
940
940
|
//warn user if arguments are passed but the locale could not be set
|
941
|
-
console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function yn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=cn[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=cn[e]._config;else if(null!=t.parentLocale)if(null!=cn[t.parentLocale])r=cn[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;r=n._config}return cn[e]=new
|
941
|
+
console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function yn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=cn[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=cn[e]._config;else if(null!=t.parentLocale)if(null!=cn[t.parentLocale])r=cn[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;r=n._config}return cn[e]=new O(I(r,t)),un[e]&&un[e].forEach((function(e){yn(e.name,e.config)})),
|
942
942
|
// backwards compat for now: also set the locale
|
943
943
|
// make sure we set the locale AFTER all child locales have been
|
944
944
|
// created, so we won't end up with the child locale set.
|
@@ -952,7 +952,7 @@ null!=(r=mn(e))&&(i=r._config),t=I(i,t),null==r&&(
|
|
952
952
|
// updateLocale is called for creating a new locale
|
953
953
|
// Set abbr so it will have a name (getters return
|
954
954
|
// undefined otherwise).
|
955
|
-
t.abbr=e),(n=new
|
955
|
+
t.abbr=e),(n=new O(t)).parentLocale=cn[e],cn[e]=n),
|
956
956
|
// backwards compat for now: also set the locale
|
957
957
|
gn(e)}else
|
958
958
|
// pass null for config to unupdate, useful for tests
|
@@ -971,19 +971,19 @@ Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|J
|
|
971
971
|
// date from iso format
|
972
972
|
function Fn(e){var t,n,r,i,o,s,a=e._i,l=kn.exec(a)||En.exec(a),c=Sn.length,u=xn.length;if(l){for(g(e).iso=!0,t=0,n=c;t<n;t++)if(Sn[t][1].exec(l[1])){i=Sn[t][0],r=!1!==Sn[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(xn[t][1].exec(l[3])){
|
973
973
|
// match[2] should be 'T' or space
|
974
|
-
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 In(e,t,n,r,i,o){var s=[
|
974
|
+
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 In(e,t,n,r,i,o){var s=[On(e),nt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&s.push(parseInt(o,10)),s}function On(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function $n(e){
|
975
975
|
// Remove comments and folding whitespace and replace multiple-spaces with a single space
|
976
|
-
return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function
|
976
|
+
return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function An(e,t,n){return!e||Pt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Pn(e,t,n){if(e)return Mn[e];if(t)
|
977
977
|
// the only allowed military tz is Z
|
978
978
|
return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}
|
979
979
|
// date and time from ref 2822 format
|
980
|
-
function Hn(e){var t,n=Dn.exec(
|
980
|
+
function Hn(e){var t,n=Dn.exec($n(e._i));if(n){if(t=In(n[4],n[3],n[2],n[5],n[6],n[7]),!An(n[1],t,e))return;e._a=t,e._tzm=Pn(n[8],n[9],n[10]),e._d=vt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}
|
981
981
|
// date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
|
982
|
-
function
|
982
|
+
function Cn(e){var t=Ln.exec(e._i);null===t?(Fn(e),!1===e._isValid&&(delete e._isValid,Hn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
|
983
983
|
// Final attempt, use Input Fallback
|
984
984
|
r.createFromInputFallback(e)))):e._d=new Date(+t[1])}
|
985
985
|
// Pick the first defined of two or three arguments.
|
986
|
-
function
|
986
|
+
function Bn(e,t,n){return null!=e?e:null!=t?t:n}function Nn(e){
|
987
987
|
// hooks is actually the exported moment object
|
988
988
|
var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}
|
989
989
|
// convert an array to a date.
|
@@ -1000,7 +1000,7 @@ for(r=Nn(e),
|
|
1000
1000
|
//compute day of the year from weeks and weekdays
|
1001
1001
|
e._w&&null==e._a[We]&&null==e._a[Ve]&&Yn(e),
|
1002
1002
|
//if the day of the year is set, figure out what it is
|
1003
|
-
null!=e._dayOfYear&&(o=
|
1003
|
+
null!=e._dayOfYear&&(o=Bn(e._a[je],r[je]),(e._dayOfYear>gt(o)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=vt(o,0,e._dayOfYear),e._a[Ve]=n.getUTCMonth(),e._a[We]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];
|
1004
1004
|
// Zero out whatever was not defaulted, including time
|
1005
1005
|
for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];
|
1006
1006
|
// Check for 24:00:00.000
|
@@ -1014,9 +1014,9 @@ e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function Yn(e){var
|
|
1014
1014
|
// how we interpret now (local, utc, fixed offset). So create
|
1015
1015
|
// a now version of current config (take local/utc/offset flags, and
|
1016
1016
|
// create now).
|
1017
|
-
n=
|
1017
|
+
n=Bn(t.GG,e._a[je],Et(Kn(),1,4).year),r=Bn(t.W,1),((i=Bn(t.E,1))<1||i>7)&&(l=!0)):(o=e._locale._week.dow,s=e._locale._week.doy,c=Et(Kn(),o,s),n=Bn(t.gg,e._a[je],c.year),
|
1018
1018
|
// Default to current week.
|
1019
|
-
r=
|
1019
|
+
r=Bn(t.w,c.week),null!=t.d?((
|
1020
1020
|
// weekday -- low day numbers are considered next week
|
1021
1021
|
i=t.d)<0||i>6)&&(l=!0):null!=t.e?(
|
1022
1022
|
// local weekday -- counting starts from beginning of week
|
@@ -1049,7 +1049,7 @@ o+=g(t).charsLeftOver,
|
|
1049
1049
|
//or tokens
|
1050
1050
|
o+=10*g(t).unusedTokens.length,g(t).score=o,a?o<r&&(r=o,n=t):(null==r||o<r||s)&&(r=o,n=t,s&&(a=!0));f(e,n||t)}function Vn(e){if(!e._d){var t=ie(e._i),n=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Rn(e)}}function Wn(e){var t=new k(wn(zn(e)));return t._nextDay&&(
|
1051
1051
|
// Adding is smart enough around DST
|
1052
|
-
t.add(1,"d"),t._nextDay=void 0),t}function zn(e){var t=e._i,n=e._f;return e._locale=e._locale||_n(e._l),null===t||void 0===n&&""===t?b({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),E(t)?new k(wn(t)):(h(t)?e._d=t:o(n)?jn(e):n?Un(e):Zn(e),y(e)||(e._d=null),e))}function Zn(e){var t=e._i;c(t)?e._d=new Date(r.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t?
|
1052
|
+
t.add(1,"d"),t._nextDay=void 0),t}function zn(e){var t=e._i,n=e._f;return e._locale=e._locale||_n(e._l),null===t||void 0===n&&""===t?b({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),E(t)?new k(wn(t)):(h(t)?e._d=t:o(n)?jn(e):n?Un(e):Zn(e),y(e)||(e._d=null),e))}function Zn(e){var t=e._i;c(t)?e._d=new Date(r.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Cn(e):o(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),Rn(e)):s(t)?Vn(e):u(t)?
|
1053
1053
|
// from milliseconds
|
1054
1054
|
e._d=new Date(t):r.createFromInputFallback(e)}function Xn(e,t,n,r,i){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),
|
1055
1055
|
// object construction must be done this way.
|
@@ -1082,7 +1082,7 @@ function ur(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.len
|
|
1082
1082
|
// FORMATTING
|
1083
1083
|
function hr(e,t){R(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+P(~~(e/60),2)+t+P(~~e%60,2)}))}hr("Z",":"),hr("ZZ",""),
|
1084
1084
|
// PARSING
|
1085
|
-
Pe("Z"
|
1085
|
+
Pe("Z",Oe),Pe("ZZ",Oe),Re(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fr(Oe,e)}));
|
1086
1086
|
// HELPERS
|
1087
1087
|
// timezone chunker
|
1088
1088
|
// '+10:00' > ['10', '00']
|
@@ -1108,7 +1108,7 @@ return-Math.round(e._d.getTimezoneOffset())}
|
|
1108
1108
|
// a second time. In case it wants us to change the offset again
|
1109
1109
|
// _changeInProgress == true case, then we have to adjust, because
|
1110
1110
|
// there is no such time in the given timezone.
|
1111
|
-
function gr(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(
|
1111
|
+
function gr(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(Oe,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?Ar(this,Mr(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 yr(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 _r(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(mr(this),"m")),this}function vr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=fr(Ie,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function wr(e){return!!this.isValid()&&(e=e?Kn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function kr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Er(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=zn(t))._a?(e=t._isUTC?p(t._a):Kn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Tr(){return!!this.isValid()&&!this._isUTC}function Sr(){return!!this.isValid()&&this._isUTC}function xr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
|
1112
1112
|
// ASP.NET json date format regex
|
1113
1113
|
r.updateOffset=function(){};var Lr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
|
1114
1114
|
// from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
|
@@ -1118,21 +1118,21 @@ Dr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:(
|
|
1118
1118
|
// matching against regexp is expensive, do it on demand
|
1119
1119
|
s=null;return lr(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(s=Lr.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:ue(s[We])*n,h:ue(s[ze])*n,m:ue(s[Ze])*n,s:ue(s[Xe])*n,ms:ue(cr(1e3*s[Ke]))*n}):(s=Dr.exec(e))?(n="-"===s[1]?-1:1,o={y:Fr(s[2],n),M:Fr(s[3],n),w:Fr(s[4],n),d:Fr(s[5],n),h:Fr(s[6],n),m:Fr(s[7],n),s:Fr(s[8],n)}):null==o?
|
1120
1120
|
// checks for null or undefined
|
1121
|
-
o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i
|
1121
|
+
o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Or(Kn(o.from),Kn(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 Fr(e,t){
|
1122
1122
|
// We'd normally use ~~inp for this, but unfortunately it also
|
1123
1123
|
// converts floats to ints.
|
1124
1124
|
// inp may be undefined, so careful calling replace on it.
|
1125
1125
|
var n=e&&parseFloat(e.replace(",","."));
|
1126
1126
|
// apply sign while we're at it
|
1127
|
-
return(isNaN(n)?0:n)*t}function Ir(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
|
1127
|
+
return(isNaN(n)?0:n)*t}function Ir(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 Or(e,t){var n;return e.isValid()&&t.isValid()?(t=pr(t,e),e.isBefore(t)?n=Ir(e,t):((n=Ir(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}
|
1128
1128
|
// TODO: remove 'name' arg after deprecation is removed
|
1129
|
-
function
|
1129
|
+
function $r(e,t){return function(n,r){var i;
|
1130
1130
|
//invert the arguments, but complain about it
|
1131
|
-
return null===r||isNaN(+r)||(D(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),
|
1131
|
+
return null===r||isNaN(+r)||(D(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Ar(this,Mr(n,r),e),this}}function Ar(e,t,n,i){var o=t._milliseconds,s=cr(t._days),a=cr(t._months);e.isValid()&&(i=null==i||i,a&&ut(e,de(e,"Month")+a*n),s&&pe(e,"Date",de(e,"Date")+s*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&r.updateOffset(e,s||a))}Mr.fn=ar.prototype,Mr.invalid=sr;var Pr=$r(1,"add"),Hr=$r(-1,"subtract");function Cr(e){return"string"==typeof e||e instanceof String}
|
1132
1132
|
// type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
|
1133
|
-
function
|
1133
|
+
function Br(e){return E(e)||h(e)||Cr(e)||u(e)||Rr(e)||Nr(e)||null==e}function Nr(e){var t,n,r=s(e)&&!l(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=o.length;for(t=0;t<c;t+=1)n=o[t],i=i||a(e,n);return r&&i}function Rr(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Cr(e)})).length),t&&n}function Yr(e){var t,n,r=s(e)&&!l(e),i=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)n=o[t],i=i||a(e,n);return r&&i}function Ur(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gr(e,t){
|
1134
1134
|
// Support for single parameter, formats only overload to the calendar function
|
1135
|
-
1===arguments.length&&(arguments[0]?
|
1135
|
+
1===arguments.length&&(arguments[0]?Br(arguments[0])?(e=arguments[0],t=void 0):Yr(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));
|
1136
1136
|
// We want to compare the start of today, vs this.
|
1137
1137
|
// Getting start-of-today depends on whether we're local/utc/offset or not.
|
1138
1138
|
var n=e||Kn(),i=pr(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",s=t&&(M(t[o])?t[o].call(this,n):t[o]);return this.format(s||this.localeData().calendar(o,this,Kn(n)))}function jr(){return new k(this)}function Vr(e,t){var n=E(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Wr(e,t){var n=E(e)?e:Kn(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=E(e)?e:Kn(e),o=E(t)?t:Kn(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=E(e)?e:Kn(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 Kr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function qr(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=Jr(this,r)/12;break;case"month":o=Jr(this,r);break;case"quarter":o=Jr(this,r)/3;break;case"second":o=(this-r)/1e3;break;// 1000
|
@@ -1173,15 +1173,15 @@ return this.isValid()?this.toISOString():null}function Si(){return y(this)}funct
|
|
1173
1173
|
// truncate time
|
1174
1174
|
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":
|
1175
1175
|
// truncate time
|
1176
|
-
o=r(s[n].until).startOf("day").valueOf(),s[n].until=o.valueOf()}return s}function Fi(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 Ii(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
|
1176
|
+
o=r(s[n].until).startOf("day").valueOf(),s[n].until=o.valueOf()}return s}function Fi(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 Ii(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 Oi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
|
1177
1177
|
// truncate time
|
1178
|
-
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
|
1178
|
+
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 $i(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
|
1179
1179
|
// truncate time
|
1180
|
-
n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function
|
1180
|
+
n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Ai(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
|
1181
1181
|
// truncate time
|
1182
1182
|
n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Pi(){var e,t,n,i,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,
|
1183
1183
|
// truncate time
|
1184
|
-
i=this.clone().startOf("day").valueOf(),o[e].since<=i&&i<=o[e].until||o[e].until<=i&&i<=o[e].since)return(this.year()-r(o[e].since).year())*n+o[e].offset;return this.year()}function Hi(e){return a(this,"_erasNameRegex")||Gi.call(this),e?this._erasNameRegex:this._erasRegex}function
|
1184
|
+
i=this.clone().startOf("day").valueOf(),o[e].since<=i&&i<=o[e].until||o[e].until<=i&&i<=o[e].since)return(this.year()-r(o[e].since).year())*n+o[e].offset;return this.year()}function Hi(e){return a(this,"_erasNameRegex")||Gi.call(this),e?this._erasNameRegex:this._erasRegex}function Ci(e){return a(this,"_erasAbbrRegex")||Gi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Bi(e){return a(this,"_erasNarrowRegex")||Gi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ni(e,t){return t.erasAbbrRegex(e)}function Ri(e,t){return t.erasNameRegex(e)}function Yi(e,t){return t.erasNarrowRegex(e)}function Ui(e,t){return t._eraYearOrdinalRegex||Me}function Gi(){var e,t,n=[],r=[],i=[],o=[],s=this.eras();for(e=0,t=s.length;e<t;++e)r.push(Be(s[e].name)),n.push(Be(s[e].abbr)),i.push(Be(s[e].narrow)),o.push(Be(s[e].name)),o.push(Be(s[e].abbr)),o.push(Be(s[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}
|
1185
1185
|
// FORMATTING
|
1186
1186
|
function ji(e,t){R(0,[e,e.length],0,t)}
|
1187
1187
|
// MOMENTS
|
@@ -1254,7 +1254,7 @@ Pe("S",xe,be),Pe("SS",xe,_e),Pe("SSS",xe,ve),ro="SSSS";ro.length<=9;ro+="S")Pe(r
|
|
1254
1254
|
// MOMENTS
|
1255
1255
|
function ao(){return this._isUTC?"UTC":""}function lo(){return this._isUTC?"Coordinated Universal Time":""}io=he("Milliseconds",!1),
|
1256
1256
|
// FORMATTING
|
1257
|
-
R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var co=k.prototype;function uo(e){return Kn(1e3*e)}function ho(){return Kn.apply(null,arguments).parseZone()}function fo(e){return e}co.add=Pr,co.calendar=Gr,co.clone=jr,co.diff=qr,co.endOf=bi,co.format=ni,co.from=ri,co.fromNow=ii,co.to=oi,co.toNow=si,co.get=me,co.invalidAt=Li,co.isAfter=Vr,co.isBefore=Wr,co.isBetween=zr,co.isSame=Zr,co.isSameOrAfter=Xr,co.isSameOrBefore=Kr,co.isValid=Si,co.lang=li,co.locale=ai,co.localeData=ci,co.max=Jn,co.min=qn,co.parsingFlags=xi,co.set=ge,co.startOf=yi,co.subtract=Hr,co.toArray=ki,co.toObject=Ei,co.toDate=wi,co.toISOString=ei,co.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(co[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),co.toJSON=Ti,co.toString=Qr,co.unix=vi,co.valueOf=_i,co.creationData=Di,co.eraName
|
1257
|
+
R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var co=k.prototype;function uo(e){return Kn(1e3*e)}function ho(){return Kn.apply(null,arguments).parseZone()}function fo(e){return e}co.add=Pr,co.calendar=Gr,co.clone=jr,co.diff=qr,co.endOf=bi,co.format=ni,co.from=ri,co.fromNow=ii,co.to=oi,co.toNow=si,co.get=me,co.invalidAt=Li,co.isAfter=Vr,co.isBefore=Wr,co.isBetween=zr,co.isSame=Zr,co.isSameOrAfter=Xr,co.isSameOrBefore=Kr,co.isValid=Si,co.lang=li,co.locale=ai,co.localeData=ci,co.max=Jn,co.min=qn,co.parsingFlags=xi,co.set=ge,co.startOf=yi,co.subtract=Hr,co.toArray=ki,co.toObject=Ei,co.toDate=wi,co.toISOString=ei,co.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(co[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),co.toJSON=Ti,co.toString=Qr,co.unix=vi,co.valueOf=_i,co.creationData=Di,co.eraName=Oi,co.eraNarrow=$i,co.eraAbbr=Ai,co.eraYear=Pi,co.year=yt,co.isLeapYear=bt,co.weekYear=Vi,co.isoWeekYear=Wi,co.quarter=co.quarters=Qi,co.month=ht,co.daysInMonth=dt,co.week=co.weeks=Mt,co.isoWeek=co.isoWeeks=Ft,co.weeksInYear=Xi,co.weeksInWeekYear=Ki,co.isoWeeksInYear=zi,co.isoWeeksInISOWeekYear=Zi,co.date=eo,co.day=co.days=Vt,co.weekday=Wt,co.isoWeekday=zt,co.dayOfYear=to,co.hour=co.hours=on,co.minute=co.minutes=no,co.second=co.seconds=oo,co.millisecond=co.milliseconds=io,co.utcOffset=gr,co.utc=br,co.local=_r,co.parseZone=vr,co.hasAlignedHourOffset=wr,co.isDST=kr,co.isLocal=Tr,co.isUtcOffset=Sr,co.isUtc=xr,co.isUTC=xr,co.zoneAbbr=ao,co.zoneName=lo,co.dates=S("dates accessor is deprecated. Use date instead.",eo),co.months=S("months accessor is deprecated. Use month instead",ht),co.years=S("years accessor is deprecated. Use year instead",yt),co.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),co.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Er);var po=O.prototype;function mo(e,t,n,r){var i=_n(),o=p().set(r,t);return i[n](o,e)}function go(e,t,n){if(u(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}
|
1258
1258
|
// ()
|
1259
1259
|
// (5)
|
1260
1260
|
// (fmt, 5)
|
@@ -1263,7 +1263,7 @@ R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var co=k.prototype;function uo(e){r
|
|
1263
1263
|
// (true, 5)
|
1264
1264
|
// (true, fmt, 5)
|
1265
1265
|
// (true, fmt)
|
1266
|
-
function yo(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,o=_n(),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 go(e,t,"months")}function _o(e,t){return go(e,t,"monthsShort")}function vo(e,t,n){return yo(e,t,n,"weekdays")}function wo(e,t,n){return yo(e,t,n,"weekdaysShort")}function ko(e,t,n){return yo(e,t,n,"weekdaysMin")}po.calendar=
|
1266
|
+
function yo(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,o=_n(),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 go(e,t,"months")}function _o(e,t){return go(e,t,"monthsShort")}function vo(e,t,n){return yo(e,t,n,"weekdays")}function wo(e,t,n){return yo(e,t,n,"weekdaysShort")}function ko(e,t,n){return yo(e,t,n,"weekdaysMin")}po.calendar=A,po.longDateFormat=W,po.invalidDate=Z,po.ordinal=q,po.preparse=fo,po.postformat=fo,po.relativeTime=Q,po.pastFuture=ee,po.set=F,po.eras=Mi,po.erasParse=Fi,po.erasConvertYear=Ii,po.erasAbbrRegex=Ci,po.erasNameRegex=Hi,po.erasNarrowRegex=Bi,po.months=st,po.monthsShort=at,po.monthsParse=ct,po.monthsRegex=pt,po.monthsShortRegex=ft,po.week=St,po.firstDayOfYear=Dt,po.firstDayOfWeek=Lt,po.weekdays=Rt,po.weekdaysMin=Ut,po.weekdaysShort=Yt,po.weekdaysParse=jt,po.weekdaysRegex=Zt,po.weekdaysShortRegex=Xt,po.weekdaysMinRegex=Kt,po.isPM=nn,po.meridiem=sn,gn("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===ue(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
|
1267
1267
|
// Side effect imports
|
1268
1268
|
r.lang=S("moment.lang is deprecated. Use moment.locale instead.",gn),r.langData=S("moment.langData is deprecated. Use moment.localeData instead.",_n);var Eo=Math.abs;function To(){var e=this._data;return this._milliseconds=Eo(this._milliseconds),this._days=Eo(this._days),this._months=Eo(this._months),e.milliseconds=Eo(e.milliseconds),e.seconds=Eo(e.seconds),e.minutes=Eo(e.minutes),e.hours=Eo(e.hours),e.months=Eo(e.months),e.years=Eo(e.years),this}function So(e,t,n,r){var i=Mr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}
|
1269
1269
|
// supports only 2.0-style add(1, 's') or add(duration)
|
@@ -1284,13 +1284,13 @@ r=ce(a/12),a%=12,l.days=s,l.months=a,l.years=r,this}function Fo(e){
|
|
1284
1284
|
// 400 years have 12 months === 4800
|
1285
1285
|
return 4800*e/146097}function Io(e){
|
1286
1286
|
// the reverse of daysToMonths
|
1287
|
-
return 146097*e/4800}function
|
1287
|
+
return 146097*e/4800}function Oo(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+Fo(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(
|
1288
1288
|
// handle milliseconds separately because of floating point math errors (issue #1867)
|
1289
1289
|
t=this._days+Math.round(Io(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;
|
1290
1290
|
// Math.floor prevents floating point math errors here
|
1291
1291
|
case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}
|
1292
1292
|
// TODO: Use this.as('ms')?
|
1293
|
-
function
|
1293
|
+
function $o(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ue(this._months/12):NaN}function Ao(e){return function(){return this.as(e)}}var Po=Ao("ms"),Ho=Ao("s"),Co=Ao("m"),Bo=Ao("h"),No=Ao("d"),Ro=Ao("w"),Yo=Ao("M"),Uo=Ao("Q"),Go=Ao("y");function jo(){return Mr(this)}function Vo(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Wo(e){return function(){return this.isValid()?this._data[e]:NaN}}var zo=Wo("milliseconds"),Zo=Wo("seconds"),Xo=Wo("minutes"),Ko=Wo("hours"),qo=Wo("days"),Jo=Wo("months"),Qo=Wo("years");function es(){return ce(this.days()/7)}var ts=Math.round,ns={ss:44,// a few seconds to seconds
|
1294
1294
|
s:45,// seconds to minute
|
1295
1295
|
m:45,// minutes to hour
|
1296
1296
|
h:22,// hours to day
|
@@ -1316,11 +1316,11 @@ e=ce(l/60),t=ce(e/60),l%=60,e%=60,
|
|
1316
1316
|
// 12 months -> 1 year
|
1317
1317
|
n=ce(u/12),u%=12,
|
1318
1318
|
// inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
|
1319
|
-
r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",o=cs(this._months)!==cs(h)?"-":"",s=cs(this._days)!==cs(h)?"-":"",a=cs(this._milliseconds)!==cs(h)?"-":"",i+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?s+c+"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=Lo,hs.as
|
1319
|
+
r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",o=cs(this._months)!==cs(h)?"-":"",s=cs(this._days)!==cs(h)?"-":"",a=cs(this._milliseconds)!==cs(h)?"-":"",i+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?s+c+"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=Lo,hs.as=Oo,hs.asMilliseconds=Po,hs.asSeconds=Ho,hs.asMinutes=Co,hs.asHours=Bo,hs.asDays=No,hs.asWeeks=Ro,hs.asMonths=Yo,hs.asQuarters=Uo,hs.asYears=Go,hs.valueOf=$o,hs._bubble=Mo,hs.clone=jo,hs.get=Vo,hs.milliseconds=zo,hs.seconds=Zo,hs.minutes=Xo,hs.hours=Ko,hs.days=qo,hs.weeks=es,hs.months=Jo,hs.years=Qo,hs.humanize=as,hs.toISOString=us,hs.toString=us,hs.toJSON=us,hs.locale=ai,hs.localeData=ci,hs.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",us),hs.lang=li,
|
1320
1320
|
// FORMATTING
|
1321
1321
|
R("X",0,0,"unix"),R("x",0,0,"valueOf"),
|
1322
1322
|
// PARSING
|
1323
|
-
Pe("x",Fe),Pe("X"
|
1323
|
+
Pe("x",Fe),Pe("X",$e),Re("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Re("x",(function(e,t,n){n._d=new Date(ue(e))})),
|
1324
1324
|
//! moment.js
|
1325
1325
|
r.version="2.29.4",i(Kn),r.fn=co,r.min=er,r.max=tr,r.now=nr,r.utc=p,r.unix=uo,r.months=bo,r.isDate=h,r.locale=gn,r.invalid=b,r.duration=Mr,r.isMoment=E,r.weekdays=vo,r.parseZone=ho,r.localeData=_n,r.isDuration=lr,r.monthsShort=_o,r.weekdaysMin=ko,r.defineLocale=yn,r.updateLocale=bn,r.locales=vn,r.weekdaysShort=wo,r.normalizeUnits=re,r.relativeTimeRounding=os,r.relativeTimeThreshold=ss,r.calendarFormat=Ur,r.prototype=co,
|
1326
1326
|
// currently HTML5 input type only supports 24-hour formats
|
@@ -1332,13 +1332,13 @@ TIME:"HH:mm",// <input type="time" />
|
|
1332
1332
|
TIME_SECONDS:"HH:mm:ss",// <input type="time" step="1" />
|
1333
1333
|
TIME_MS:"HH:mm:ss.SSS",// <input type="time" step="0.001" />
|
1334
1334
|
WEEK:"GGGG-[W]WW",// <input type="week" />
|
1335
|
-
MONTH:"YYYY-MM"},r}()}));function di(e,t){Vn(e,t)}const fi={en:{
|
1335
|
+
MONTH:"YYYY-MM"},r}()}));function di(e,t){Vn(e,t)}const fi={en:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Hold button for 3 seconds to take 24-hour timeout"},de:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Button für 3 Sekunden drücken um eine 24-stündige Auszeit zu nehmen"},fr:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Hold button for 3 seconds to take 24-hour timeout"},ro:{timeText:"Ora",sessionTimer:"online de",panicButton:"Hold button for 3 seconds to take 24-hour timeout"},es:{timeText:"Hora",sessionTimer:"tiempo sesión",panicButton:"Dar clic durante 3 segundos para tomar un descanso de 24 horas"},pt:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Hold button for 3 seconds to take 24-hour timeout"},hr:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Držite gumb 3 sekunde kako biste aktivirali vremensko ograničenje od 24 sata"},sl:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Držite gumb 3 sekunde, da bi vzeli 24 urni premor"},pl:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Przytrzymaj przycisk przez 3 sekundy, aby uzyskać 24-godzinny limit czasu"}},{document:pi}=U;
|
1336
1336
|
/* src/CasinoFooterV2.svelte generated by Svelte v3.58.0 */function mi(e,t,n){const r=e.slice();return r[81]=t[n],r}function gi(e,t,n){const r=e.slice();return r[84]=t[n],r}function yi(e,t,n){const r=e.slice();return r[87]=t[n],r}
|
1337
1337
|
// (293:2) {#if headScript}
|
1338
1338
|
function bi(e){let t,n;return{c(){t=g("script"),l(t.src,n=/*licenseScriptSrc*/e[23])||k(t,"src",n)},m(e,n){f(e,t,n)},p(e,r){/*licenseScriptSrc*/8388608&r[0]&&!l(t.src,n=/*licenseScriptSrc*/e[23])&&k(t,"src",n)},d(e){e&&p(t)}}}
|
1339
1339
|
// (303:2) {:else}
|
1340
|
-
function _i(e){let t,n,r,i,o,s,a,l,c,u,h,m,y=/*helpLinksRepeater*/e[13]&&ki(e),b=/*gameVendorsRepeater*/e[8]&&Si(e),v=/*paymentMethodsRepeater*/e[10]&&Li(e),w=/*panicbuttonenabled*/"true"===e[3]&&/*isLoggedIn*/e[25]&&Mi(e),E=/*licensesRepeater*/e[15]&&Fi(e),T=/*sponsorsRepeater*/e[12]
|
1341
|
-
/*div2_binding*/,e[56](t)},p(e,t){/*helpLinksRepeater*/e[13]?y?y.p(e,t):(y=ki(e),y.c(),y.m(n,null)):y&&(y.d(1),y=null),/*isLoggedIn, panicbuttonenabled*/33554440&t[0]&&r!==(r="FooterSide "+(/*isOnMobile*/e[33]&&/*isLoggedIn*/e[25]&&/*panicbuttonenabled*/"true"===e[3]?"FooterSideMobile":""))&&k(n,"class",r),/*gameVendorsRepeater*/e[8]?b?b.p(e,t):(b=Si(e),b.c(),b.m(o,s)):b&&(b.d(1),b=null),/*paymentMethodsRepeater*/e[10]?v?v.p(e,t):(v=Li(e),v.c(),v.m(o,a)):v&&(v.d(1),v=null),/*panicbuttonenabled*/"true"===e[3]&&/*isLoggedIn*/e[25]?w?w.p(e,t):(w=Mi(e),w.c(),w.m(o,l)):w&&(w.d(1),w=null),/*licensesRepeater*/e[15]?E?E.p(e,t):(E=Fi(e),E.c(),E.m(o,c)):E&&(E.d(1),E=null),/*sponsorsRepeater*/e[12]?T?T.p(e,t):(T
|
1340
|
+
function _i(e){let t,n,r,i,o,s,a,l,c,u,h,m,y=/*helpLinksRepeater*/e[13]&&ki(e),b=/*gameVendorsRepeater*/e[8]&&Si(e),v=/*paymentMethodsRepeater*/e[10]&&Li(e),w=/*panicbuttonenabled*/"true"===e[3]&&/*isLoggedIn*/e[25]&&Mi(e),E=/*licensesRepeater*/e[15]&&Fi(e),T=/*sponsorsRepeater*/e[12]&&$i(e),S=/*socialLinksRepeater*/e[17]&&Hi(e),x=/*languageselectorenabled*/"true"===e[2]&&/*languagePackLoaded*/e[31]&&/*selectedLanguage*/e[26]&&Bi(e),L=/*copyright*/e[18]&&Yi(e);return{c(){t=g("div"),n=g("div"),y&&y.c(),i=_(),o=g("div"),b&&b.c(),s=_(),v&&v.c(),a=_(),w&&w.c(),l=_(),E&&E.c(),c=_(),T&&T.c(),u=_(),S&&S.c(),h=_(),x&&x.c(),m=_(),L&&L.c(),k(n,"class",r="FooterSide "+(/*isOnMobile*/e[33]&&/*isLoggedIn*/e[25]&&/*panicbuttonenabled*/"true"===e[3]?"FooterSideMobile":"")),k(o,"class","FooterGrid"),k(t,"class","Footer")},m(r,p){f(r,t,p),d(t,n),y&&y.m(n,null),d(t,i),d(t,o),b&&b.m(o,null),d(o,s),v&&v.m(o,null),d(o,a),w&&w.m(o,null),d(o,l),E&&E.m(o,null),d(o,c),T&&T.m(o,null),d(o,u),S&&S.m(o,null),d(o,h),x&&x.m(o,null),d(o,m),L&&L.m(o,null)
|
1341
|
+
/*div2_binding*/,e[56](t)},p(e,t){/*helpLinksRepeater*/e[13]?y?y.p(e,t):(y=ki(e),y.c(),y.m(n,null)):y&&(y.d(1),y=null),/*isLoggedIn, panicbuttonenabled*/33554440&t[0]&&r!==(r="FooterSide "+(/*isOnMobile*/e[33]&&/*isLoggedIn*/e[25]&&/*panicbuttonenabled*/"true"===e[3]?"FooterSideMobile":""))&&k(n,"class",r),/*gameVendorsRepeater*/e[8]?b?b.p(e,t):(b=Si(e),b.c(),b.m(o,s)):b&&(b.d(1),b=null),/*paymentMethodsRepeater*/e[10]?v?v.p(e,t):(v=Li(e),v.c(),v.m(o,a)):v&&(v.d(1),v=null),/*panicbuttonenabled*/"true"===e[3]&&/*isLoggedIn*/e[25]?w?w.p(e,t):(w=Mi(e),w.c(),w.m(o,l)):w&&(w.d(1),w=null),/*licensesRepeater*/e[15]?E?E.p(e,t):(E=Fi(e),E.c(),E.m(o,c)):E&&(E.d(1),E=null),/*sponsorsRepeater*/e[12]?T?T.p(e,t):(T=$i(e),T.c(),T.m(o,u)):T&&(T.d(1),T=null),/*socialLinksRepeater*/e[17]?S?S.p(e,t):(S=Hi(e),S.c(),S.m(o,h)):S&&(S.d(1),S=null),/*languageselectorenabled*/"true"===e[2]&&/*languagePackLoaded*/e[31]&&/*selectedLanguage*/e[26]?x?x.p(e,t):(x=Bi(e),x.c(),x.m(o,m)):x&&(x.d(1),x=null),/*copyright*/e[18]?L?L.p(e,t):(L=Yi(e),L.c(),L.m(o,null)):L&&(L.d(1),L=null)},d(n){n&&p(t),y&&y.d(),b&&b.d(),v&&v.d(),w&&w.d(),E&&E.d(),T&&T.d(),S&&S.d(),x&&x.d(),L&&L.d()
|
1342
1342
|
/*div2_binding*/,e[56](null)}}}
|
1343
1343
|
// (301:2) {#if isLoading}
|
1344
1344
|
function vi(t){let n;return{c(){n=g("p"),n.textContent="Loading ...",k(n,"class","SearchLoading")},m(e,t){f(e,n,t)},p:e,d(e){e&&p(n)}}}
|
@@ -1361,24 +1361,24 @@ function Di(e){let t,n;return{c(){t=g("p"),n=b(/*paymentLinksTitle*/e[9]),k(t,"c
|
|
1361
1361
|
// (365:6) {#if panicbuttonenabled === "true" && isLoggedIn}
|
1362
1362
|
function Mi(e){let t;return{c(){t=g("panic-button"),E(t,"customtext",/*panicButtonCustomText*/e[32]),E(t,"alternativestyling","true"),E(t,"lang",/*lang*/e[1]),E(t,"clientstyling",/*clientstyling*/e[0])},m(e,n){f(e,t,n)},p(e,n){/*panicButtonCustomText*/2&n[1]&&E(t,"customtext",/*panicButtonCustomText*/e[32]),/*lang*/2&n[0]&&E(t,"lang",/*lang*/e[1]),/*clientstyling*/1&n[0]&&E(t,"clientstyling",/*clientstyling*/e[0])},d(e){e&&p(t)}}}
|
1363
1363
|
// (375:6) {#if licensesRepeater}
|
1364
|
-
function Fi(e){let t,n,r,i,o,s,a=/*licensesLinksTitle*/e[14]&&Ii(e),l=/*licenseDesc*/e[19]
|
1364
|
+
function Fi(e){let t,n,r,i,o,s,a=/*licensesLinksTitle*/e[14]&&Ii(e),l=/*licenseDesc*/e[19]&&Oi(e);return{c(){t=g("div"),n=g("div"),a&&a.c(),r=_(),i=g("casino-footer-section"),o=_(),s=g("div"),l&&l.c(),E(i,"licenseflag","1"),E(i,"clientstyling",/*clientstyling*/e[0]),E(i,"baseurl",/*baseurl*/e[4]),E(i,"lang",/*lang*/e[1]),E(i,"footertype","footersecondary"),k(n,"class","LicenseLinks"),k(s,"class","LicenseDesc"),k(t,"class","GridRow")},m(e,c){f(e,t,c),d(t,n),a&&a.m(n,null),d(n,r),d(n,i),d(t,o),d(t,s),l&&l.m(s,null)},p(e,t){/*licensesLinksTitle*/e[14]?a?a.p(e,t):(a=Ii(e),a.c(),a.m(n,r)):a&&(a.d(1),a=null),/*clientstyling*/1&t[0]&&E(i,"clientstyling",/*clientstyling*/e[0]),/*baseurl*/16&t[0]&&E(i,"baseurl",/*baseurl*/e[4]),/*lang*/2&t[0]&&E(i,"lang",/*lang*/e[1]),/*licenseDesc*/e[19]?l?l.p(e,t):(l=Oi(e),l.c(),l.m(s,null)):l&&(l.d(1),l=null)},d(e){e&&p(t),a&&a.d(),l&&l.d()}}}
|
1365
1365
|
// (378:12) {#if licensesLinksTitle}
|
1366
1366
|
function Ii(e){let t,n;return{c(){t=g("p"),n=b(/*licensesLinksTitle*/e[14]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*licensesLinksTitle*/16384&t[0]&&T(n,/*licensesLinksTitle*/e[14])},d(e){e&&p(t)}}}
|
1367
1367
|
// (391:12) {#if licenseDesc}
|
1368
|
-
function
|
1368
|
+
function Oi(e){let t,n,o,s,a,l,c;return{c(){t=g("div"),o=_(),s=g("div"),k(t,"class","DetailedLicenses"),k(s,"class","DetailedCustomLicenses")},m(r,i){f(r,t,i),f(r,o,i),f(r,s,i),l||(c=[h(n=/*setContent*/e[34].call(null,t,/*licenseDesc*/e[19])),h(a=/*setContent*/e[34].call(null,s,/*licenseScript*/e[24]))],l=!0)},p(e,t){n&&i(n.update)&&/*licenseDesc*/524288&t[0]&&n.update.call(null,/*licenseDesc*/e[19]),a&&i(a.update)&&/*licenseScript*/16777216&t[0]&&a.update.call(null,/*licenseScript*/e[24])},d(e){e&&p(t),e&&p(o),e&&p(s),l=!1,r(c)}}}
|
1369
1369
|
// (402:6) {#if sponsorsRepeater}
|
1370
|
-
function
|
1370
|
+
function $i(e){let t,n=/*sponsorsRepeater*/e[12]&&Ai(e);return{c(){t=g("div"),n&&n.c(),k(t,"class","GridRow")},m(e,r){f(e,t,r),n&&n.m(t,null)},p(e,r){/*sponsorsRepeater*/e[12]?n?n.p(e,r):(n=Ai(e),n.c(),n.m(t,null)):n&&(n.d(1),n=null)},d(e){e&&p(t),n&&n.d()}}}
|
1371
1371
|
// (404:10) {#if sponsorsRepeater}
|
1372
|
-
function
|
1372
|
+
function Ai(e){let t,n,r,i=/*sponsorsLinksTitle*/e[11]&&Pi(e);return{c(){t=g("div"),i&&i.c(),n=_(),r=g("casino-footer-section"),E(r,"sponsorflag","1"),E(r,"clientstyling",/*clientstyling*/e[0]),E(r,"baseurl",/*baseurl*/e[4]),E(r,"lang",/*lang*/e[1]),E(r,"footertype","footersecondary")},m(e,o){f(e,t,o),i&&i.m(t,null),d(t,n),d(t,r)},p(e,o){/*sponsorsLinksTitle*/e[11]?i?i.p(e,o):(i=Pi(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*clientstyling*/1&o[0]&&E(r,"clientstyling",/*clientstyling*/e[0]),/*baseurl*/16&o[0]&&E(r,"baseurl",/*baseurl*/e[4]),/*lang*/2&o[0]&&E(r,"lang",/*lang*/e[1])},d(e){e&&p(t),i&&i.d()}}}
|
1373
1373
|
// (406:12) {#if sponsorsLinksTitle}
|
1374
1374
|
function Pi(e){let t,n;return{c(){t=g("p"),n=b(/*sponsorsLinksTitle*/e[11]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*sponsorsLinksTitle*/2048&t[0]&&T(n,/*sponsorsLinksTitle*/e[11])},d(e){e&&p(t)}}}
|
1375
1375
|
// (423:8) {#if socialLinksRepeater}
|
1376
|
-
function Hi(e){let t,n,r,i=/*socialLinksTitle*/e[16]&&
|
1376
|
+
function Hi(e){let t,n,r,i=/*socialLinksTitle*/e[16]&&Ci(e);return{c(){t=g("div"),i&&i.c(),n=_(),r=g("casino-footer-section"),E(r,"socialflag","1"),E(r,"clientstyling",/*clientstyling*/e[0]),E(r,"baseurl",/*baseurl*/e[4]),E(r,"lang",/*lang*/e[1]),E(r,"footertype","footersecondary"),k(t,"class","GridRow")},m(e,o){f(e,t,o),i&&i.m(t,null),d(t,n),d(t,r)},p(e,o){/*socialLinksTitle*/e[16]?i?i.p(e,o):(i=Ci(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*clientstyling*/1&o[0]&&E(r,"clientstyling",/*clientstyling*/e[0]),/*baseurl*/16&o[0]&&E(r,"baseurl",/*baseurl*/e[4]),/*lang*/2&o[0]&&E(r,"lang",/*lang*/e[1])},d(e){e&&p(t),i&&i.d()}}}
|
1377
1377
|
// (425:12) {#if socialLinksTitle}
|
1378
|
-
function
|
1378
|
+
function Ci(e){let t,n;return{c(){t=g("p"),n=b(/*socialLinksTitle*/e[16]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*socialLinksTitle*/65536&t[0]&&T(n,/*socialLinksTitle*/e[16])},d(e){e&&p(t)}}}
|
1379
1379
|
// (440:6) {#if (languageselectorenabled==="true" && languagePackLoaded && selectedLanguage)}
|
1380
|
-
function
|
1381
|
-
/*div0_binding*/e[55](a),d(s,u),d(s,h),d(h,v),d(h,x),d(h,L),d(h,D),d(D,M),F||(I=[w(i,"change",/*select_change_handler*/e[53]),w(i,"change",/*change_handler*/e[54]),w(h,"click",/*toggleLanguageDrawer*/e[36])],F=!0)},p(e,t){if(/*languagesArray*/134217728&t[0]){let n;for(
|
1380
|
+
function Bi(e){let t,n,i,o,s,a,c,u,h,v,E,x,L,D,M,F,I,O=/*languagesArray*/e[27],$=[];for(let t=0;t<O.length;t+=1)$[t]=Ni(gi(e,O,t));let A=/*languages*/e[5],P=[];for(let t=0;t<A.length;t+=1)P[t]=Ri(mi(e,A,t));return{c(){t=g("div"),n=g("div"),i=g("select");for(let e=0;e<$.length;e+=1)$[e].c();o=_(),s=g("div"),a=g("div"),c=g("ul");for(let e=0;e<P.length;e+=1)P[e].c();u=_(),h=g("button"),v=g("img"),x=b(/*languageDisplayName*/e[29]),L=_(),D=y("svg"),M=y("path"),k(i,"class","Item ItemLanguage"),/*selectedLanguage*/void 0===e[26]&&H((()=>/*select_change_handler*/e[53].call(i))),k(c,"id","LanguageList"),k(a,"class","LanguageDrawer hidden"),k(v,"class","LanguageFlag"),l(v.src,E=/*currentLanguageFlag*/e[30])||k(v,"src",E),k(M,"opacity","0.4"),k(M,"d","M0.94 0L4.00067 3.05467L7.06 0L8 0.940667L4.00067 4.94133L0 0.940667L0.94 0Z"),k(M,"fill","black"),k(D,"width","8"),k(D,"height","5"),k(D,"viewBox","0 0 8 5"),k(D,"fill","none"),k(D,"xmlns","http://www.w3.org/2000/svg"),k(h,"class","DrawerButton"),h.value=/*selectedLanguage*/e[26],k(s,"class","LanguageSelectorOverlay"),k(n,"class","LanguageSelectorContainer"),k(t,"class","GridRow")},m(r,l){f(r,t,l),d(t,n),d(n,i);for(let e=0;e<$.length;e+=1)$[e]&&$[e].m(i,null);S(i,/*selectedLanguage*/e[26],!0),d(n,o),d(n,s),d(s,a),d(a,c);for(let e=0;e<P.length;e+=1)P[e]&&P[e].m(c,null);
|
1381
|
+
/*div0_binding*/e[55](a),d(s,u),d(s,h),d(h,v),d(h,x),d(h,L),d(h,D),d(D,M),F||(I=[w(i,"change",/*select_change_handler*/e[53]),w(i,"change",/*change_handler*/e[54]),w(h,"click",/*toggleLanguageDrawer*/e[36])],F=!0)},p(e,t){if(/*languagesArray*/134217728&t[0]){let n;for(O=/*languagesArray*/e[27],n=0;n<O.length;n+=1){const r=gi(e,O,n);$[n]?$[n].p(r,t):($[n]=Ni(r),$[n].c(),$[n].m(i,null))}for(;n<$.length;n+=1)$[n].d(1);$.length=O.length}if(/*selectedLanguage, languagesArray*/201326592&t[0]&&S(i,/*selectedLanguage*/e[26]),/*languages*/32&t[0]|/*overlayOptionTrigger*/64&t[1]){let n;for(A=/*languages*/e[5],n=0;n<A.length;n+=1){const r=mi(e,A,n);P[n]?P[n].p(r,t):(P[n]=Ri(r),P[n].c(),P[n].m(c,null))}for(;n<P.length;n+=1)P[n].d(1);P.length=A.length}/*currentLanguageFlag*/1073741824&t[0]&&!l(v.src,E=/*currentLanguageFlag*/e[30])&&k(v,"src",E),/*languageDisplayName*/536870912&t[0]&&T(x,/*languageDisplayName*/e[29]),/*selectedLanguage, languagesArray*/201326592&t[0]&&(h.value=/*selectedLanguage*/e[26])},d(n){n&&p(t),m($,n),m(P,n),
|
1382
1382
|
/*div0_binding*/e[55](null),F=!1,r(I)}}}
|
1383
1383
|
// (445:14) {#each languagesArray as operatorLanguage}
|
1384
1384
|
function Ni(e){let t,n,r,i=/*operatorLanguage*/e[84]+"";return{c(){t=g("option"),n=b(i),t.__value=r=/*operatorLanguage*/e[84],t.value=t.__value,t.selected=!0},m(e,r){f(e,t,r),d(t,n)},p(e,o){/*languagesArray*/134217728&o[0]&&i!==(i=/*operatorLanguage*/e[84]+"")&&T(n,i),/*languagesArray*/134217728&o[0]&&r!==(r=/*operatorLanguage*/e[84])&&(t.__value=r,t.value=t.__value)},d(e){e&&p(t)}}}
|
@@ -1386,15 +1386,15 @@ function Ni(e){let t,n,r,i=/*operatorLanguage*/e[84]+"";return{c(){t=g("option")
|
|
1386
1386
|
function Ri(e){let t,n,r,i,o,s,a,c,u,h=/*language*/e[81].name+"";return{c(){t=g("li"),n=g("img"),i=g("a"),o=g("span"),s=b(h),k(n,"class","LanguageFlag"),l(n.src,r=/*language*/e[81].flag_icon_editable)||k(n,"src",r),k(i,"href","javascript:void(0)"),k(t,"class","OverlayLanguageOption"),k(t,"data-lang",a=/*language*/e[81].code)},m(r,a){f(r,t,a),d(t,n),d(t,i),d(i,o),d(o,s),c||(u=w(t,"click",/*overlayOptionTrigger*/e[37]),c=!0)},p(e,i){/*languages*/32&i[0]&&!l(n.src,r=/*language*/e[81].flag_icon_editable)&&k(n,"src",r),/*languages*/32&i[0]&&h!==(h=/*language*/e[81].name+"")&&T(s,h),/*languages*/32&i[0]&&a!==(a=/*language*/e[81].code)&&k(t,"data-lang",a)},d(e){e&&p(t),c=!1,u()}}}
|
1387
1387
|
// (470:6) {#if copyright}
|
1388
1388
|
function Yi(e){let t,n,r,o;return{c(){t=g("div"),k(t,"class","CopyrightAreaRights CopyrightArea")},m(i,s){f(i,t,s),r||(o=h(n=/*setContent*/e[34].call(null,t,/*copyright*/e[18])),r=!0)},p(e,t){n&&i(n.update)&&/*copyright*/262144&t[0]&&n.update.call(null,/*copyright*/e[18])},d(e){e&&p(t),r=!1,o()}}}function Ui(t){let n,r,i,o=/*headScript*/t[22]&&bi(t);function s(e,t){/*hasErrors*/
|
1389
|
-
return e[20]?wi:/*isLoading*/e[21]?vi:_i}let a=s(t),l=a(t);return{c(){o&&o.c(),n=v(),r=_(),l.c(),i=v(),this.c=e},m(e,t){o&&o.m(pi.head,null),d(pi.head,n),f(e,r,t),l.m(e,t),f(e,i,t)},p(e,t){/*headScript*/e[22]?o?o.p(e,t):(o=bi(e),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null),a===(a=s(e))&&l?l.p(e,t):(l.d(1),l=a(e),l&&(l.c(),l.m(i.parentNode,i)))},i:e,o:e,d(e){o&&o.d(e),p(n),e&&p(r),l.d(e),e&&p(i)}}}function Gi(e,t,n){let r;u(e,yr,(e=>n(68,r=e)));let i,o,s,a,l,c,h,{endpoint:d=""}=t,{lang:f="en"}=t,{env:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{translationurl:y=""}=t,{clockenabled:b=""}=t,{clocksecondsenabled:_=""}=t,{clockcustomformat:v=""}=t,{clocktext:w="Time:"}=t,{languageselectorenabled:k="true"}=t,{languageslist:E="en, ro"}=t,{languagedisplaytype:T="name"}=t,{session:S=""}=t,{userid:x=""}=t,{userendpoint:L=""}=t,{panicbuttonenabled:D="true"}=t,{sessiontimerenabled:F="true"}=t,{grouplink
|
1389
|
+
return e[20]?wi:/*isLoading*/e[21]?vi:_i}let a=s(t),l=a(t);return{c(){o&&o.c(),n=v(),r=_(),l.c(),i=v(),this.c=e},m(e,t){o&&o.m(pi.head,null),d(pi.head,n),f(e,r,t),l.m(e,t),f(e,i,t)},p(e,t){/*headScript*/e[22]?o?o.p(e,t):(o=bi(e),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null),a===(a=s(e))&&l?l.p(e,t):(l.d(1),l=a(e),l&&(l.c(),l.m(i.parentNode,i)))},i:e,o:e,d(e){o&&o.d(e),p(n),e&&p(r),l.d(e),e&&p(i)}}}function Gi(e,t,n){let r;u(e,yr,(e=>n(68,r=e)));let i,o,s,a,l,c,h,{endpoint:d=""}=t,{lang:f="en"}=t,{env:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{translationurl:y=""}=t,{clockenabled:b=""}=t,{clocksecondsenabled:_=""}=t,{clockcustomformat:v=""}=t,{clocktext:w="Time:"}=t,{languageselectorenabled:k="true"}=t,{languageslist:E="en, ro"}=t,{languagedisplaytype:T="name"}=t,{session:S=""}=t,{userid:x=""}=t,{userendpoint:L=""}=t,{panicbuttonenabled:D="true"}=t,{sessiontimerenabled:F="true"}=t,{grouplink:O="true"}=t,{baseurl:$=""}=t,A=window.navigator.userAgent,P=(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)))(A),H="",C=[],B="",N=[],R="",Y=[],U="",G=[],j="",V=[],W="",z=[],Z="",X="",K=!1,q=!1,J=!1,Q="",ee="",te=!1,ne="hr",re=[],ie=[],oe="",se="",ae=!1,le="",ce=document.createElement("p"),ue=document.createElement("p");!function({withLocale:e,translations:t}){or.subscribe((n=>{null==n&&(Un.set(t),or.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
|
1390
1390
|
/*dictionary.set(translations);
|
1391
1391
|
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(fi).forEach((e=>{di(e,fi[e])}));let he=r("casinoFooter.panicButton");const de=()=>{(function(e,t){return new Promise(((n,r)=>{let i=new Headers;i.append("X-SessionID",t),pe(`${e}/player/session/player`,{method:"GET",headers:i}).then((e=>e.json())).then((e=>n(e))).catch((e=>r(e)))}))})(L,S).then((e=>{e.Guid,e.UserID,n(25,te=!0),fe(e)}),(e=>{n(25,te=!1),console.error("Error while checking the session - ",e)}))},fe=e=>{
|
1392
1392
|
// using Date instead of moment because they recommend in their docs to stop using it for new projects
|
1393
|
-
const t=new Date(e.Login),n=(new Date).getTimezoneOffset()/60;let i=(new Date).getTime()-t.getTime(),o=Math.floor(i/36e5)+n,s=Math.floor(i%36e5/6e4),a=Math.floor(i%6e4/1e3);c=setInterval((()=>{o=Math.floor(i/36e5)+n,s=Math.floor(i%36e5/6e4),a=Math.floor(i%6e4/1e3),le=`${o>9?o:"0"+o}:${s>9?s:"0"+s}:${a>9?a:"0"+a}`,ce.innerHTML=` ${r("
|
1393
|
+
const t=new Date(e.Login),n=(new Date).getTimezoneOffset()/60;let i=(new Date).getTime()-t.getTime(),o=Math.floor(i/36e5)+n,s=Math.floor(i%36e5/6e4),a=Math.floor(i%6e4/1e3);c=setInterval((()=>{o=Math.floor(i/36e5)+n,s=Math.floor(i%36e5/6e4),a=Math.floor(i%6e4/1e3),le=`${o>9?o:"0"+o}:${s>9?s:"0"+s}:${a>9?a:"0"+a}`,ce.innerHTML=` ${r("sessionTimer")} ${le}`,i+=1e3}),1e3)},me=()=>{const e="false"!=v?v:`hh:mm${"true"===_?":ss":""} (UTC Z)`;o=hi().format(e),ue.innerHTML=` ${w} ${o}`},ge=()=>{window.postMessage({type:"LanguageChanged",selectedLanguage:ne},window.location.href)},ye=()=>{let e=!1;re.forEach(((t,r)=>{if(t.code==ne.toLowerCase()){let r="";switch(e=!0,n(30,se=t.flag_icon_editable),T){case"name":r=t.name;break;case"translatedName":r=t.translated_name;break;default:r=t.code}n(29,oe=r)}})),e||n(29,oe=ne)},be=()=>{var e;e=f,or.set(e),n(32,he=r("casinoFooter.panicButton"))};M((()=>()=>{clearInterval(l),clearInterval(c)}));return e.$$set=e=>{"endpoint"in e&&n(38,d=e.endpoint),"lang"in e&&n(1,f=e.lang),"env"in e&&n(39,p=e.env),"clientstyling"in e&&n(0,m=e.clientstyling),"clientstylingurl"in e&&n(40,g=e.clientstylingurl),"translationurl"in e&&n(41,y=e.translationurl),"clockenabled"in e&&n(42,b=e.clockenabled),"clocksecondsenabled"in e&&n(43,_=e.clocksecondsenabled),"clockcustomformat"in e&&n(44,v=e.clockcustomformat),"clocktext"in e&&n(45,w=e.clocktext),"languageselectorenabled"in e&&n(2,k=e.languageselectorenabled),"languageslist"in e&&n(46,E=e.languageslist),"languagedisplaytype"in e&&n(47,T=e.languagedisplaytype),"session"in e&&n(48,S=e.session),"userid"in e&&n(49,x=e.userid),"userendpoint"in e&&n(50,L=e.userendpoint),"panicbuttonenabled"in e&&n(3,D=e.panicbuttonenabled),"sessiontimerenabled"in e&&n(51,F=e.sessiontimerenabled),"grouplink"in e&&n(52,O=e.grouplink),"baseurl"in e&&n(4,$=e.baseurl)},e.$$.update=()=>{/*lang*/2&e.$$.dirty[0]&&f&&be(),/*languageslist*/32768&e.$$.dirty[1]&&E&&(n(27,ie=E.replace(/ /g,"").split(",")),n(27,ie=ie.map((e=>e.toUpperCase())))),/*session, userid, userendpoint*/917504&e.$$.dirty[1]&&S&&x&&L&&de(),/*lang*/2&e.$$.dirty[0]|/*endpoint, env*/384&e.$$.dirty[1]&&d&&f&&p&&(()=>{let e=new URL(`${d}/${f}/footer-raw-data`),t=br(A);e.searchParams.append("env",p),t&&("PC"===t?e.searchParams.append("device","dk"):e.searchParams.append("device","mtWeb")),"true"==O&&e.searchParams.append("helpLinks_groupby","helpLinkCategory"),n(21,q=!0),fetch(e.href).then((e=>e.json())).then((e=>{let t,r,o;n(21,q=!1),i=e,n(7,({gameVendorsLinksTitle:H,gameVendorsRepeater:C,paymentLinksTitle:B,paymentMethodsRepeater:N,sponsorsLinksTitle:R,sponsorsRepeater:Y,helpLinksTitle:U,helpLinksRepeater:G,licensesLinksTitle:j,licensesRepeater:V,socialLinksTitle:W,socialLinksRepeater:z,copyright:Z,licenseDesc:X,licenseHeadScriptSrc:t,licenseScriptBody:r,licenseEvent:o,language:re}=i),H,n(8,C),n(9,B),n(10,N),n(11,R),n(12,Y),n(13,G),n(14,j),n(15,V),n(16,W),n(17,z),n(18,Z),n(19,X),n(5,re)),re&&(n(31,ae=!0),ye()),(null==t?void 0:t.length)>0&&(n(22,J=!0),n(23,Q=t)),(null==r?void 0:r.length)>0&&n(24,ee=r),window.postMessage({type:o},window.location.href),window.postMessage({type:"FooterData",gameVendorsRepeater:C,paymentMethodsRepeater:N,sponsorsRepeater:Y,helpLinksRepeater:G,licensesRepeater:V,socialLinksRepeater:z},window.location.href)})).catch((e=>{n(20,K=!0),n(21,q=!1),console.error(e)}))})(),/*translationurl*/1024&e.$$.dirty[1]&&y&&fetch(y).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{di(t,e[t])}))})).catch((e=>{console.log(e)})),/*clockenabled, clocksecondsenabled, clockcustomformat*/14336&e.$$.dirty[1]&&"false"!==b&&_&&v&&me(),/*clockenabled, clocksecondsenabled*/6144&e.$$.dirty[1]&&"false"!==b&&_&&(s="true"==_?1e3:6e4)&&(l=setInterval((()=>{me()}),s)),/*lang, languages*/34&e.$$.dirty[0]&&f&&n(26,ne=f)&&re&&re.length>0&&ye(),/*clientstyling, customStylingContainer*/65&e.$$.dirty[0]&&m&&h&&(()=>{let e=document.createElement("style");e.innerHTML=m,h.appendChild(e)})(),/*customStylingContainer*/64&e.$$.dirty[0]|/*clientstylingurl*/512&e.$$.dirty[1]&&g&&h&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,
|
1394
1394
|
// after the first call is made for the custom styling file, save the css inside clientstyling in order to avoid multiple fetches inside subwidgets
|
1395
|
-
n(0,m=m?m+e:e),setTimeout((()=>{h.appendChild(t)}),1)}))})()},[m,f,k,D
|
1395
|
+
n(0,m=m?m+e:e),setTimeout((()=>{h.appendChild(t)}),1)}))})()},[m,f,k,D,$,re,h,H,C,B,N,R,Y,G,j,V,W,z,Z,X,K,q,J,Q,ee,te,ne,ie,a,oe,se,ae,he,P,(e,t)=>{let n=document.createElement("div");n.innerHTML=t,e.append(n),
|
1396
1396
|
//Add clock
|
1397
1397
|
"true"===b&&e.classList.contains("DetailedLicenses")&&e.children[0].children[0].append(ue),
|
1398
1398
|
//Add session timer
|
1399
|
-
"true"==F&&e.classList.contains("DetailedLicenses")&&e.children[0].children[0].append(ce)},ge,()=>{a.classList.toggle("hidden")},e=>{let t=e.target.closest(".OverlayLanguageOption");n(26,ne=t.getAttribute("data-lang")),ge(),ye(),a.classList.toggle("hidden")},d,p,g,y,b,_,v,w,E,T,S,x,L,F
|
1399
|
+
"true"==F&&e.classList.contains("DetailedLicenses")&&e.children[0].children[0].append(ce)},ge,()=>{a.classList.toggle("hidden")},e=>{let t=e.target.closest(".OverlayLanguageOption");n(26,ne=t.getAttribute("data-lang")),ge(),ye(),a.classList.toggle("hidden")},d,p,g,y,b,_,v,w,E,T,S,x,L,F,O,function(){ne=function(e){const t=e.querySelector(":checked");return t&&t.__value}(this),n(26,ne),n(1,f),n(5,re),n(27,ie)},()=>ge(),function(e){I[e?"unshift":"push"]((()=>{a=e,n(28,a)}))},function(e){I[e?"unshift":"push"]((()=>{h=e,n(6,h)}))}]}class ji extends W{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, Roboto, Helvetica}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.Footer{position:relative;background-color:#E8E9EB;display:flex;padding:21px 12px;flex-direction:row}.FooterSideMobile{margin-top:44px}.FooterSide{justify-content:center;height:100%;display:flex;flex-direction:column;background-color:#E8E9EB}.FooterSide .FooterTitle{font-weight:500;font-size:12px;color:#111;text-transform:uppercase;margin:21px 12px}.FooterGrid{font-weight:400;height:100%;display:flex;max-width:1200px;margin:auto;background-color:#E8E9EB;flex-direction:column;align-items:center;justify-content:center}.FooterGrid .GridRow{display:flex;flex-flow:row wrap;width:100%;align-items:flex-start;justify-content:center;align-items:center;padding:20px 0;text-align:left;max-width:1100px}.FooterGrid .GridRow p{display:inline;font-family:"Roboto";font-style:normal;font-weight:300;font-size:12px;color:#111}.FooterGrid .GridRow .LicenseDesc{flex:1;max-width:575px;line-height:1.3;display:flex;flex-direction:column;align-items:flex-start}.FooterGrid .GridRow .LicenseDesc .DetailedLicenses{font-size:10px;color:var(--emfe-w-color-gray-150, #828282)}.FooterGrid .CopyrightAreaRights{margin-top:10px}.FooterGrid .CopyrightTextArea p,.FooterGrid .CopyrightArea p{margin:0;color:var(--emfe-w-color-gray-150, #828282);font-size:9px}@media only screen and (max-width: 768px){.Footer{display:flex;flex-direction:column}.FooterSide{position:relative;margin-left:14px;margin-top:66px}.FooterGrid{padding:0}.FooterGrid:last-child{padding-bottom:50px}.GridRow{border-bottom:1px solid rgba(0, 0, 0, 0.05);gap:15px}.GridRow:last-child{border:none}}.ItemLanguage{display:none}#LanguageList{padding:0;margin:0}.LanguageSelectorContainer{position:relative}.LanguageSelectorOverlay{position:relative;font-size:12px}.DrawerButton{height:30px;width:150px;background:inherit;color:inherit;border:none;padding:0;font:inherit;cursor:pointer;outline:inherit;display:flex;justify-content:space-evenly;align-items:center;border-radius:0px;border:0;position:relative}.LanguageDrawer{position:absolute;background:#E8E9EB;width:150px;bottom:30px;padding:6px 0;left:7px}.LanguageDrawer.hidden{display:none}.LanguageFlag{margin-right:8px;background:black;border-radius:50%;width:16px;height:16px}.OverlayLanguageOption{justify-content:center;list-style:none;position:relative;height:35px;padding:0;justify-content:space-between;display:flex;flex-direction:row}.OverlayLanguageOption img{position:absolute;z-index:0;cursor:pointer;top:6px;left:12px}.OverlayLanguageOption a{text-decoration:none;color:black;display:inline-block;width:150px}.OverlayLanguageOption a span{width:100%;display:flex;justify-content:center;margin:4px 0}',this.shadowRoot.appendChild(t),V(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},Gi,Ui,o,{endpoint:38,lang:1,env:39,clientstyling:0,clientstylingurl:40,translationurl:41,clockenabled:42,clocksecondsenabled:43,clockcustomformat:44,clocktext:45,languageselectorenabled:2,languageslist:46,languagedisplaytype:47,session:48,userid:49,userendpoint:50,panicbuttonenabled:3,sessiontimerenabled:51,grouplink:52,baseurl:4},null,[-1,-1,-1]),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["endpoint","lang","env","clientstyling","clientstylingurl","translationurl","clockenabled","clocksecondsenabled","clockcustomformat","clocktext","languageselectorenabled","languageslist","languagedisplaytype","session","userid","userendpoint","panicbuttonenabled","sessiontimerenabled","grouplink","baseurl"]}get endpoint(){return this.$$.ctx[38]}set endpoint(e){this.$$set({endpoint:e}),N()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),N()}get env(){return this.$$.ctx[39]}set env(e){this.$$set({env:e}),N()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[40]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}get translationurl(){return this.$$.ctx[41]}set translationurl(e){this.$$set({translationurl:e}),N()}get clockenabled(){return this.$$.ctx[42]}set clockenabled(e){this.$$set({clockenabled:e}),N()}get clocksecondsenabled(){return this.$$.ctx[43]}set clocksecondsenabled(e){this.$$set({clocksecondsenabled:e}),N()}get clockcustomformat(){return this.$$.ctx[44]}set clockcustomformat(e){this.$$set({clockcustomformat:e}),N()}get clocktext(){return this.$$.ctx[45]}set clocktext(e){this.$$set({clocktext:e}),N()}get languageselectorenabled(){return this.$$.ctx[2]}set languageselectorenabled(e){this.$$set({languageselectorenabled:e}),N()}get languageslist(){return this.$$.ctx[46]}set languageslist(e){this.$$set({languageslist:e}),N()}get languagedisplaytype(){return this.$$.ctx[47]}set languagedisplaytype(e){this.$$set({languagedisplaytype:e}),N()}get session(){return this.$$.ctx[48]}set session(e){this.$$set({session:e}),N()}get userid(){return this.$$.ctx[49]}set userid(e){this.$$set({userid:e}),N()}get userendpoint(){return this.$$.ctx[50]}set userendpoint(e){this.$$set({userendpoint:e}),N()}get panicbuttonenabled(){return this.$$.ctx[3]}set panicbuttonenabled(e){this.$$set({panicbuttonenabled:e}),N()}get sessiontimerenabled(){return this.$$.ctx[51]}set sessiontimerenabled(e){this.$$set({sessiontimerenabled:e}),N()}get grouplink(){return this.$$.ctx[52]}set grouplink(e){this.$$set({grouplink:e}),N()}get baseurl(){return this.$$.ctx[4]}set baseurl(e){this.$$set({baseurl:e}),N()}}return!customElements.get("casino-footer-v2")&&customElements.define("casino-footer-v2",ji),ji}));
|
1400
1400
|
//# sourceMappingURL=casino-footer-v2.js.map
|