@everymatrix/casino-calendar 1.5.2 → 1.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/casino-calendar.js +25 -25
- package/dist/casino-calendar.js.map +1 -1
- package/package.json +2 -2
package/dist/casino-calendar.js
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
let P;function L(){if(void 0===P){P=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(t){P=!0}}return P}function I(t){const e={};for(const n of t)e[n.name]=n.value;return e}
|
|
9
9
|
// we need to store the information for multiple documents because a Svelte application could also contain iframes
|
|
10
10
|
// https://github.com/sveltejs/svelte/issues/3624
|
|
11
|
-
const M=new Map;let O
|
|
11
|
+
const M=new Map;let $,O=0;
|
|
12
12
|
// https://github.com/darkskyapp/string-hash/blob/master/index.js
|
|
13
|
-
function R(t,e,n,r,i,o,s,a=0){const l=16.666/r;let c="{\n";for(let t=0;t<=1;t+=l){const r=e+(n-e)*o(t);c+=100*t+`%{${s(r,1-r)}}\n`}const u=c+`100% {${s(n,1-n)}}\n}`,h=`__svelte_${function(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}(u)}_${a}`,d=y(t),{stylesheet:p,rules:f}=M.get(d)||function(t,e){const n={stylesheet:m(e),rules:{}};return M.set(t,n),n}(d,t);f[h]||(f[h]=!0,p.insertRule(`@keyframes ${h} ${u}`,p.cssRules.length));const g=t.style.animation||"";return t.style.animation=`${g?`${g}, `:""}${h} ${r}ms linear ${i}ms 1 both
|
|
13
|
+
function R(t,e,n,r,i,o,s,a=0){const l=16.666/r;let c="{\n";for(let t=0;t<=1;t+=l){const r=e+(n-e)*o(t);c+=100*t+`%{${s(r,1-r)}}\n`}const u=c+`100% {${s(n,1-n)}}\n}`,h=`__svelte_${function(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}(u)}_${a}`,d=y(t),{stylesheet:p,rules:f}=M.get(d)||function(t,e){const n={stylesheet:m(e),rules:{}};return M.set(t,n),n}(d,t);f[h]||(f[h]=!0,p.insertRule(`@keyframes ${h} ${u}`,p.cssRules.length));const g=t.style.animation||"";return t.style.animation=`${g?`${g}, `:""}${h} ${r}ms linear ${i}ms 1 both`,O+=1,h}function N(t,e){const n=(t.style.animation||"").split(", "),r=n.filter(e?t=>t.indexOf(e)<0:t=>-1===t.indexOf("__svelte")),i=n.length-r.length;i&&(t.style.animation=r.join(", "),O-=i,O||h((()=>{O||(M.forEach((t=>{const{stylesheet:e}=t;let n=e.cssRules.length;for(;n--;)e.deleteRule(n);t.rules={}})),M.clear())})))}function D(t){$=t}function k(t){(function(){if(!$)throw new Error("Function called outside component initialization");return $})().$$.on_mount.push(t)}const U=[],F=[],G=[],j=[],z=Promise.resolve();let V=!1;function X(t){G.push(t)}
|
|
14
14
|
// flush() calls callbacks in this order:
|
|
15
15
|
// 1. All beforeUpdate callbacks, in order: parents before children
|
|
16
16
|
// 2. All bind:this callbacks, in reverse order: children before parents.
|
|
@@ -30,7 +30,7 @@ function R(t,e,n,r,i,o,s,a=0){const l=16.666/r;let c="{\n";for(let t=0;t<=1;t+=l
|
|
|
30
30
|
// callback called a second time; the seen_callbacks set, outside the flush()
|
|
31
31
|
// function, guarantees this behavior.
|
|
32
32
|
const W=new Set;let K,Y=0;// Do *not* move this inside the flush() function
|
|
33
|
-
function Z(){const t
|
|
33
|
+
function Z(){const t=$;do{
|
|
34
34
|
// first, call beforeUpdate functions
|
|
35
35
|
// and update components
|
|
36
36
|
for(;Y<U.length;){const t=U[Y];Y++,D(t),q(t.$$)}for(D(null),U.length=0,Y=0;F.length;)F.pop()();
|
|
@@ -52,7 +52,7 @@ g():
|
|
|
52
52
|
// outro — needs to be coordinated
|
|
53
53
|
--f.group.r||i(f.group.c)),f=null;else if(t>=f.start){const e=t-f.start;c=f.a+f.d*a(e/f.duration),v(c,1-c)}return!(!f&&!y)})))}return{run(t){o(l)?(K||(K=Promise.resolve(),K.then((()=>{K=null}))),K).then((()=>{
|
|
54
54
|
// @ts-ignore
|
|
55
|
-
l=l(),v(t)})):v(t)},end(){g(),f=y=null}}}function ot(t,e){-1===t.$$.dirty[0]&&(U.push(t),V||(V=!0,z.then(Z)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function st(e,s,a,l,c,u,h,d=[-1]){const p
|
|
55
|
+
l=l(),v(t)})):v(t)},end(){g(),f=y=null}}}function ot(t,e){-1===t.$$.dirty[0]&&(U.push(t),V||(V=!0,z.then(Z)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function st(e,s,a,l,c,u,h,d=[-1]){const p=$;D(e);const f=e.$$={fragment:null,ctx:null,
|
|
56
56
|
// state
|
|
57
57
|
props:u,update:t,not_equal:c,bound:r(),
|
|
58
58
|
// lifecycle
|
|
@@ -124,7 +124,7 @@ var It=self.fetch.bind(self),Mt=function(t,e){return Mt=Object.setPrototypeOf||{
|
|
|
124
124
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
125
125
|
PERFORMANCE OF THIS SOFTWARE.
|
|
126
126
|
***************************************************************************** */
|
|
127
|
-
/* global Reflect, Promise */function Ot(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Mt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function $t(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Rt(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function Nt(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}function Dt(t){return"function"==typeof t}function kt(t){var e=t((function(t){Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Ut=kt((function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}}));function Ft(t,e){if(t){var n=t.indexOf(e);0<=n&&t.splice(n,1)}}var Gt=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var t,e,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=$t(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}else o.remove(this);var l=this.initialTeardown;if(Dt(l))try{l()}catch(t){i=t instanceof Ut?t.errors:[t]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=$t(c),h=u.next();!h.done;h=u.next()){var d=h.value;try{Vt(d)}catch(t){i=null!=i?i:[],t instanceof Ut?i=Nt(Nt([],Rt(i)),Rt(t.errors)):i.push(t)}}}catch(t){n={error:t}}finally{try{h&&!h.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new Ut(i)}},t.prototype.add=function(e){var n;if(e&&e!==this)if(this.closed)Vt(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(e)}},t.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},t.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},t.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&Ft(e,t)},t.prototype.remove=function(e){var n=this._finalizers;n&&Ft(n,e),e instanceof t&&e._removeParent(this)},t.EMPTY=function(){var e=new t;return e.closed=!0,e}(),t}(),jt=Gt.EMPTY;function zt(t){return t instanceof Gt||t&&"closed"in t&&Dt(t.remove)&&Dt(t.add)&&Dt(t.unsubscribe)}function Vt(t){Dt(t)?t():t.unsubscribe()}var Xt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Wt={setTimeout:function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Wt.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,Nt([t,e],Rt(n))):setTimeout.apply(void 0,Nt([t,e],Rt(n)))},clearTimeout:function(t){var e=Wt.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function Kt(){}var Yt=null;function Zt(t){if(Xt.useDeprecatedSynchronousErrorHandling){var e=!Yt;if(e&&(Yt={errorThrown:!1,error:null}),t(),e){var n=Yt,r=n.errorThrown,i=n.error;if(Yt=null,r)throw i}}else t()}var qt=function(t){function e(e){var n=t.call(this)||this;return n.isStopped=!1,e?(n.destination=e,zt(e)&&e.add(n)):n.destination=re,n}return Ot(e,t),e.create=function(t,e,n){return new ee(t,e,n)},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(Gt),Jt=Function.prototype.bind;function Qt(t,e){return Jt.call(t,e)}var te=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){ne(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){ne(t)}else ne(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){ne(t)}},t}(),ee=function(t){function e(e,n,r){var i,o,s=t.call(this)||this;Dt(e)||!e?i={next:null!=e?e:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&Xt.useDeprecatedNextContext?((o=Object.create(e)).unsubscribe=function(){return s.unsubscribe()},i={next:e.next&&Qt(e.next,o),error:e.error&&Qt(e.error,o),complete:e.complete&&Qt(e.complete,o)}):i=e;return s.destination=new te(i),s}return Ot(e,t),e}(qt);function ne(t){var e;e=t,Wt.setTimeout((function(){throw e}))}var re={closed:!0,next:Kt,error:function(t){throw t},complete:Kt},ie="function"==typeof Symbol&&Symbol.observable||"@@observable";function oe(t){return t}function se(t){return 0===t.length?oe:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}var ae=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r,i=this,o=(r=t)&&r instanceof qt||function(t){return t&&Dt(t.next)&&Dt(t.error)&&Dt(t.complete)}(r)&&zt(r)?t:new ee(t,e,n);return Zt((function(){var t=i,e=t.operator,n=t.source;o.add(e?e.call(o,n):n?i._subscribe(o):i._trySubscribe(o))})),o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=le(e))((function(e,r){var i=new ee({next:function(e){try{t(e)}catch(t){r(t),i.unsubscribe()}},error:r,complete:e});n.subscribe(i)}))},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[ie]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return se(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=le(t))((function(t,n){var r;e.subscribe((function(t){return r=t}),(function(t){return n(t)}),(function(){return t(r)}))}))},t.create=function(e){return new t(e)},t}();function le(t){var e;return null!==(e=null!=t?t:Xt.Promise)&&void 0!==e?e:Promise}var ce=kt((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),ue=function(t){function e(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Ot(e,t),e.prototype.lift=function(t){var e=new he(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new ce},e.prototype.next=function(t){var e=this;Zt((function(){var n,r;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var i=$t(e.currentObservers),o=i.next();!o.done;o=i.next()){o.value.next(t)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},e.prototype.error=function(t){var e=this;Zt((function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var n=e.observers;n.length;)n.shift().error(t)}}))},e.prototype.complete=function(){var t=this;Zt((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}}))},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,n=this,r=n.hasError,i=n.isStopped,o=n.observers;return r||i?jt:(this.currentObservers=null,o.push(t),new Gt((function(){e.currentObservers=null,Ft(o,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this,n=e.hasError,r=e.thrownError,i=e.isStopped;n?t.error(r):i&&t.complete()},e.prototype.asObservable=function(){var t=new ae;return t.source=this,t},e.create=function(t,e){return new he(t,e)},e}(ae),he=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return Ot(e,t),e.prototype.next=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)},e.prototype.error=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:jt},e}(ue),de={now:function(){return(de.delegate||Date).now()},delegate:void 0},pe=function(t){function e(e,n,r){void 0===e&&(e=1/0),void 0===n&&(n=1/0),void 0===r&&(r=de);var i=t.call(this)||this;return i._bufferSize=e,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,n),i}return Ot(e,t),e.prototype.next=function(e){var n=this,r=n.isStopped,i=n._buffer,o=n._infiniteTimeWindow,s=n._timestampProvider,a=n._windowTime;r||(i.push(e),!o&&i.push(s.now()+a)),this._trimBuffer(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!t.closed;i+=n?1:2)t.next(r[i]);return this._checkFinalizedStatuses(t),e},e.prototype._trimBuffer=function(){var t=this,e=t._bufferSize,n=t._timestampProvider,r=t._buffer,i=t._infiniteTimeWindow,o=(i?1:2)*e;if(e<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)}},e}(ue);let fe=[],ye={};
|
|
127
|
+
/* global Reflect, Promise */function $t(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Mt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function Ot(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Rt(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function Nt(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}function Dt(t){return"function"==typeof t}function kt(t){var e=t((function(t){Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Ut=kt((function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}}));function Ft(t,e){if(t){var n=t.indexOf(e);0<=n&&t.splice(n,1)}}var Gt=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var t,e,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=Ot(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}else o.remove(this);var l=this.initialTeardown;if(Dt(l))try{l()}catch(t){i=t instanceof Ut?t.errors:[t]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=Ot(c),h=u.next();!h.done;h=u.next()){var d=h.value;try{Vt(d)}catch(t){i=null!=i?i:[],t instanceof Ut?i=Nt(Nt([],Rt(i)),Rt(t.errors)):i.push(t)}}}catch(t){n={error:t}}finally{try{h&&!h.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new Ut(i)}},t.prototype.add=function(e){var n;if(e&&e!==this)if(this.closed)Vt(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(e)}},t.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},t.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},t.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&Ft(e,t)},t.prototype.remove=function(e){var n=this._finalizers;n&&Ft(n,e),e instanceof t&&e._removeParent(this)},t.EMPTY=function(){var e=new t;return e.closed=!0,e}(),t}(),jt=Gt.EMPTY;function zt(t){return t instanceof Gt||t&&"closed"in t&&Dt(t.remove)&&Dt(t.add)&&Dt(t.unsubscribe)}function Vt(t){Dt(t)?t():t.unsubscribe()}var Xt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Wt={setTimeout:function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Wt.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,Nt([t,e],Rt(n))):setTimeout.apply(void 0,Nt([t,e],Rt(n)))},clearTimeout:function(t){var e=Wt.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function Kt(){}var Yt=null;function Zt(t){if(Xt.useDeprecatedSynchronousErrorHandling){var e=!Yt;if(e&&(Yt={errorThrown:!1,error:null}),t(),e){var n=Yt,r=n.errorThrown,i=n.error;if(Yt=null,r)throw i}}else t()}var qt=function(t){function e(e){var n=t.call(this)||this;return n.isStopped=!1,e?(n.destination=e,zt(e)&&e.add(n)):n.destination=re,n}return $t(e,t),e.create=function(t,e,n){return new ee(t,e,n)},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(Gt),Jt=Function.prototype.bind;function Qt(t,e){return Jt.call(t,e)}var te=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){ne(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){ne(t)}else ne(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){ne(t)}},t}(),ee=function(t){function e(e,n,r){var i,o,s=t.call(this)||this;Dt(e)||!e?i={next:null!=e?e:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&Xt.useDeprecatedNextContext?((o=Object.create(e)).unsubscribe=function(){return s.unsubscribe()},i={next:e.next&&Qt(e.next,o),error:e.error&&Qt(e.error,o),complete:e.complete&&Qt(e.complete,o)}):i=e;return s.destination=new te(i),s}return $t(e,t),e}(qt);function ne(t){var e;e=t,Wt.setTimeout((function(){throw e}))}var re={closed:!0,next:Kt,error:function(t){throw t},complete:Kt},ie="function"==typeof Symbol&&Symbol.observable||"@@observable";function oe(t){return t}function se(t){return 0===t.length?oe:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}var ae=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r,i=this,o=(r=t)&&r instanceof qt||function(t){return t&&Dt(t.next)&&Dt(t.error)&&Dt(t.complete)}(r)&&zt(r)?t:new ee(t,e,n);return Zt((function(){var t=i,e=t.operator,n=t.source;o.add(e?e.call(o,n):n?i._subscribe(o):i._trySubscribe(o))})),o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=le(e))((function(e,r){var i=new ee({next:function(e){try{t(e)}catch(t){r(t),i.unsubscribe()}},error:r,complete:e});n.subscribe(i)}))},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[ie]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return se(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=le(t))((function(t,n){var r;e.subscribe((function(t){return r=t}),(function(t){return n(t)}),(function(){return t(r)}))}))},t.create=function(e){return new t(e)},t}();function le(t){var e;return null!==(e=null!=t?t:Xt.Promise)&&void 0!==e?e:Promise}var ce=kt((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),ue=function(t){function e(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return $t(e,t),e.prototype.lift=function(t){var e=new he(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new ce},e.prototype.next=function(t){var e=this;Zt((function(){var n,r;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var i=Ot(e.currentObservers),o=i.next();!o.done;o=i.next()){o.value.next(t)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},e.prototype.error=function(t){var e=this;Zt((function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var n=e.observers;n.length;)n.shift().error(t)}}))},e.prototype.complete=function(){var t=this;Zt((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}}))},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,n=this,r=n.hasError,i=n.isStopped,o=n.observers;return r||i?jt:(this.currentObservers=null,o.push(t),new Gt((function(){e.currentObservers=null,Ft(o,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this,n=e.hasError,r=e.thrownError,i=e.isStopped;n?t.error(r):i&&t.complete()},e.prototype.asObservable=function(){var t=new ae;return t.source=this,t},e.create=function(t,e){return new he(t,e)},e}(ae),he=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return $t(e,t),e.prototype.next=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)},e.prototype.error=function(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:jt},e}(ue),de={now:function(){return(de.delegate||Date).now()},delegate:void 0},pe=function(t){function e(e,n,r){void 0===e&&(e=1/0),void 0===n&&(n=1/0),void 0===r&&(r=de);var i=t.call(this)||this;return i._bufferSize=e,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,n),i}return $t(e,t),e.prototype.next=function(e){var n=this,r=n.isStopped,i=n._buffer,o=n._infiniteTimeWindow,s=n._timestampProvider,a=n._windowTime;r||(i.push(e),!o&&i.push(s.now()+a)),this._trimBuffer(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!t.closed;i+=n?1:2)t.next(r[i]);return this._checkFinalizedStatuses(t),e},e.prototype._trimBuffer=function(){var t=this,e=t._bufferSize,n=t._timestampProvider,r=t._buffer,i=t._infiniteTimeWindow,o=(i?1:2)*e;if(e<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)}},e}(ue);let fe=[],ye={};
|
|
128
128
|
/**
|
|
129
129
|
* @name topic
|
|
130
130
|
* @description A small wrapper over the rxjs to offer the topic method on top of it
|
|
@@ -153,11 +153,11 @@ function Be(t,e,n){var r={};return n.isMergeableObject(t)&&_e(t).forEach((functi
|
|
|
153
153
|
})(t,i)||(xe(t,i)&&n.isMergeableObject(e[i])?r[i]=function(t,e){if(!e.customMerge)return Ce;var n=e.customMerge(t);return"function"==typeof n?n:Ce}(i,n)(t[i],e[i],n):r[i]=we(e[i],n))})),r}function Ce(t,e,n){(n=n||{}).arrayMerge=n.arrayMerge||Te,n.isMergeableObject=n.isMergeableObject||ve,
|
|
154
154
|
// cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
|
|
155
155
|
// implementations can use it. The caller may not replace it.
|
|
156
|
-
n.cloneUnlessOtherwiseSpecified=we;var r=Array.isArray(e);return r===Array.isArray(t)?r?n.arrayMerge(t,e,n):Be(t,e,n):we(e,n)}Ce.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,n){return Ce(t,n,e)}),{})};var Ae=Ce,He=function(t,e){return He=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},He(t,e)};function Se(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}He(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Pe,Le,Ie,Me=function(){return Me=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},Me.apply(this,arguments)};function
|
|
156
|
+
n.cloneUnlessOtherwiseSpecified=we;var r=Array.isArray(e);return r===Array.isArray(t)?r?n.arrayMerge(t,e,n):Be(t,e,n):we(e,n)}Ce.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,n){return Ce(t,n,e)}),{})};var Ae=Ce,He=function(t,e){return He=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},He(t,e)};function Se(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}He(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Pe,Le,Ie,Me=function(){return Me=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},Me.apply(this,arguments)};function $e(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}
|
|
157
157
|
/**
|
|
158
158
|
* Type Guards
|
|
159
159
|
*/
|
|
160
|
-
function
|
|
160
|
+
function Oe(t){return t.type===Le.literal}function Re(t){return t.type===Le.argument}function Ne(t){return t.type===Le.number}function De(t){return t.type===Le.date}function ke(t){return t.type===Le.time}function Ue(t){return t.type===Le.select}function Fe(t){return t.type===Le.plural}function Ge(t){return t.type===Le.pound}function je(t){return t.type===Le.tag}function ze(t){return!(!t||"object"!=typeof t||t.type!==Ie.number)}function Ve(t){return!(!t||"object"!=typeof t||t.type!==Ie.dateTime)}
|
|
161
161
|
// @generated from regex-gen.ts
|
|
162
162
|
!function(t){
|
|
163
163
|
/** Argument is unclosed (e.g. `{0`) */
|
|
@@ -565,11 +565,11 @@ t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this
|
|
|
565
565
|
/**
|
|
566
566
|
* Code point equivalent of regex `\p{Pattern_Syntax}`.
|
|
567
567
|
* See https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
|
|
568
|
-
*/function Mn(t){return t>=33&&t<=35||36===t||t>=37&&t<=39||40===t||41===t||42===t||43===t||44===t||45===t||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||91===t||92===t||93===t||94===t||96===t||123===t||124===t||125===t||126===t||161===t||t>=162&&t<=165||166===t||167===t||169===t||171===t||172===t||174===t||176===t||177===t||182===t||187===t||191===t||215===t||247===t||t>=8208&&t<=8213||t>=8214&&t<=8215||8216===t||8217===t||8218===t||t>=8219&&t<=8220||8221===t||8222===t||8223===t||t>=8224&&t<=8231||t>=8240&&t<=8248||8249===t||8250===t||t>=8251&&t<=8254||t>=8257&&t<=8259||8260===t||8261===t||8262===t||t>=8263&&t<=8273||8274===t||8275===t||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||8608===t||t>=8609&&t<=8610||8611===t||t>=8612&&t<=8613||8614===t||t>=8615&&t<=8621||8622===t||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||8658===t||8659===t||8660===t||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||8968===t||8969===t||8970===t||8971===t||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||9001===t||9002===t||t>=9003&&t<=9083||9084===t||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||9655===t||t>=9656&&t<=9664||9665===t||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||9839===t||t>=9840&&t<=10087||10088===t||10089===t||10090===t||10091===t||10092===t||10093===t||10094===t||10095===t||10096===t||10097===t||10098===t||10099===t||10100===t||10101===t||t>=10132&&t<=10175||t>=10176&&t<=10180||10181===t||10182===t||t>=10183&&t<=10213||10214===t||10215===t||10216===t||10217===t||10218===t||10219===t||10220===t||10221===t||10222===t||10223===t||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||10627===t||10628===t||10629===t||10630===t||10631===t||10632===t||10633===t||10634===t||10635===t||10636===t||10637===t||10638===t||10639===t||10640===t||10641===t||10642===t||10643===t||10644===t||10645===t||10646===t||10647===t||10648===t||t>=10649&&t<=10711||10712===t||10713===t||10714===t||10715===t||t>=10716&&t<=10747||10748===t||10749===t||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||11158===t||t>=11159&&t<=11263||t>=11776&&t<=11777||11778===t||11779===t||11780===t||11781===t||t>=11782&&t<=11784||11785===t||11786===t||11787===t||11788===t||11789===t||t>=11790&&t<=11798||11799===t||t>=11800&&t<=11801||11802===t||11803===t||11804===t||11805===t||t>=11806&&t<=11807||11808===t||11809===t||11810===t||11811===t||11812===t||11813===t||11814===t||11815===t||11816===t||11817===t||t>=11818&&t<=11822||11823===t||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||11840===t||11841===t||11842===t||t>=11843&&t<=11855||t>=11856&&t<=11857||11858===t||t>=11859&&t<=11903||t>=12289&&t<=12291||12296===t||12297===t||12298===t||12299===t||12300===t||12301===t||12302===t||12303===t||12304===t||12305===t||t>=12306&&t<=12307||12308===t||12309===t||12310===t||12311===t||12312===t||12313===t||12314===t||12315===t||12316===t||12317===t||t>=12318&&t<=12319||12320===t||12336===t||64830===t||64831===t||t>=65093&&t<=65094}function
|
|
568
|
+
*/function Mn(t){return t>=33&&t<=35||36===t||t>=37&&t<=39||40===t||41===t||42===t||43===t||44===t||45===t||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||91===t||92===t||93===t||94===t||96===t||123===t||124===t||125===t||126===t||161===t||t>=162&&t<=165||166===t||167===t||169===t||171===t||172===t||174===t||176===t||177===t||182===t||187===t||191===t||215===t||247===t||t>=8208&&t<=8213||t>=8214&&t<=8215||8216===t||8217===t||8218===t||t>=8219&&t<=8220||8221===t||8222===t||8223===t||t>=8224&&t<=8231||t>=8240&&t<=8248||8249===t||8250===t||t>=8251&&t<=8254||t>=8257&&t<=8259||8260===t||8261===t||8262===t||t>=8263&&t<=8273||8274===t||8275===t||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||8608===t||t>=8609&&t<=8610||8611===t||t>=8612&&t<=8613||8614===t||t>=8615&&t<=8621||8622===t||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||8658===t||8659===t||8660===t||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||8968===t||8969===t||8970===t||8971===t||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||9001===t||9002===t||t>=9003&&t<=9083||9084===t||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||9655===t||t>=9656&&t<=9664||9665===t||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||9839===t||t>=9840&&t<=10087||10088===t||10089===t||10090===t||10091===t||10092===t||10093===t||10094===t||10095===t||10096===t||10097===t||10098===t||10099===t||10100===t||10101===t||t>=10132&&t<=10175||t>=10176&&t<=10180||10181===t||10182===t||t>=10183&&t<=10213||10214===t||10215===t||10216===t||10217===t||10218===t||10219===t||10220===t||10221===t||10222===t||10223===t||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||10627===t||10628===t||10629===t||10630===t||10631===t||10632===t||10633===t||10634===t||10635===t||10636===t||10637===t||10638===t||10639===t||10640===t||10641===t||10642===t||10643===t||10644===t||10645===t||10646===t||10647===t||10648===t||t>=10649&&t<=10711||10712===t||10713===t||10714===t||10715===t||t>=10716&&t<=10747||10748===t||10749===t||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||11158===t||t>=11159&&t<=11263||t>=11776&&t<=11777||11778===t||11779===t||11780===t||11781===t||t>=11782&&t<=11784||11785===t||11786===t||11787===t||11788===t||11789===t||t>=11790&&t<=11798||11799===t||t>=11800&&t<=11801||11802===t||11803===t||11804===t||11805===t||t>=11806&&t<=11807||11808===t||11809===t||11810===t||11811===t||11812===t||11813===t||11814===t||11815===t||11816===t||11817===t||t>=11818&&t<=11822||11823===t||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||11840===t||11841===t||11842===t||t>=11843&&t<=11855||t>=11856&&t<=11857||11858===t||t>=11859&&t<=11903||t>=12289&&t<=12291||12296===t||12297===t||12298===t||12299===t||12300===t||12301===t||12302===t||12303===t||12304===t||12305===t||t>=12306&&t<=12307||12308===t||12309===t||12310===t||12311===t||12312===t||12313===t||12314===t||12315===t||12316===t||12317===t||t>=12318&&t<=12319||12320===t||12336===t||64830===t||64831===t||t>=65093&&t<=65094}function $n(t){t.forEach((function(t){if(delete t.location,Ue(t)||Fe(t))for(var e in t.options)delete t.options[e].location,$n(t.options[e].value);else Ne(t)&&ze(t.style)||(De(t)||ke(t))&&Ve(t.style)?delete t.style.location:je(t)&&$n(t.children)}))}function On(t,e){void 0===e&&(e={}),e=Me({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var n=new Sn(t,e).parse();if(n.err){var r=SyntaxError(Pe[n.err.kind]);
|
|
569
569
|
// @ts-expect-error Assign to error object
|
|
570
570
|
throw r.location=n.err.location,
|
|
571
571
|
// @ts-expect-error Assign to error object
|
|
572
|
-
r.originalMessage=n.err.message,r}return(null==e?void 0:e.captureLocation)
|
|
572
|
+
r.originalMessage=n.err.message,r}return(null==e?void 0:e.captureLocation)||$n(n.val),n.val}
|
|
573
573
|
|
|
574
574
|
// Main
|
|
575
575
|
|
|
@@ -597,9 +597,9 @@ function Jn(t,e,n,r,i,o,
|
|
|
597
597
|
// For debugging
|
|
598
598
|
s){
|
|
599
599
|
// Hot path for straight simple msg translations
|
|
600
|
-
if(1===t.length
|
|
600
|
+
if(1===t.length&&Oe(t[0]))return[{type:Xn.literal,value:t[0].value}];for(var a=[],l=0,c=t;l<c.length;l++){var u=c[l];
|
|
601
601
|
// Exit early for string parts.
|
|
602
|
-
if(
|
|
602
|
+
if(Oe(u))a.push({type:Xn.literal,value:u.value});else
|
|
603
603
|
// TODO: should this part be literal type?
|
|
604
604
|
// Replace `#` in plural rules with the actual numeric value.
|
|
605
605
|
if(Ge(u))"number"==typeof o&&a.push({type:Xn.literal,value:n.getNumberFormat(e).format(o)});else{var h=u.value;
|
|
@@ -624,7 +624,7 @@ this.locales=n,this.resolvedLocale=t.resolveLocale(n),"string"==typeof e){if(thi
|
|
|
624
624
|
this.ast=t.__parse(e,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");
|
|
625
625
|
// Creates a new object with the specified `formats` merged with the default
|
|
626
626
|
// formats.
|
|
627
|
-
this.formats=Qn(t.formats,r),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Rn((function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t
|
|
627
|
+
this.formats=Qn(t.formats,r),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Rn((function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,$e([void 0],e,!1)))}),{cache:tr(o.number),strategy:Vn.variadic}),getDateTimeFormat:Rn((function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,$e([void 0],e,!1)))}),{cache:tr(o.dateTime),strategy:Vn.variadic}),getPluralRules:Rn((function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,$e([void 0],e,!1)))}),{cache:tr(o.pluralRules),strategy:Vn.variadic})})}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(t){var e=Intl.NumberFormat.supportedLocalesOf(t);return e.length>0?new Intl.Locale(e[0]):new Intl.Locale("string"==typeof t?t:t[0])},t.__parse=On,
|
|
628
628
|
// Default format options used as the prototype of the `formats` provided to the
|
|
629
629
|
// constructor. These are used when constructing the internal Intl.NumberFormat
|
|
630
630
|
// and Intl.DateTimeFormat instances.
|
|
@@ -647,7 +647,7 @@ t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
|
|
|
647
647
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
648
648
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
649
649
|
PERFORMANCE OF THIS SOFTWARE.
|
|
650
|
-
***************************************************************************** */function mr(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}const gr={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 br(){return gr}const vr=ge(!1);let Er;const wr=ge(null);function Tr(t){return t.split("-").map(((t,e,n)=>n.slice(0,e+1).join("-"))).reverse()}function _r(t,e=br().fallbackLocale){const n=Tr(t);return e?[...new Set([...n,...Tr(e)])]:n}function xr(){return null!=Er?Er:void 0}wr.subscribe((t=>{Er=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const Br=Object.assign(Object.assign({},wr),{set:t=>{if(t&&function(t){if(null==t)return;const e=_r(t);for(let t=0;t<e.length;t++){const n=e[t];if(lr(n))return n}}(t)&&dr(t)){const{loadingDelay:e}=br();let n;return"undefined"!=typeof window&&null!=xr()&&e?n=window.setTimeout((()=>vr.set(!0)),e):vr.set(!0),yr(t).then((()=>{wr.set(t)})).finally((()=>{clearTimeout(n),vr.set(!1)}))}return wr.set(t)}}),Cr=t=>{const e=Object.create(null);return n=>{const r=JSON.stringify(n);return r in e?e[r]:e[r]=t(n)}},Ar=(t,e)=>{const{formats:n}=br();if(t in n&&e in n[t])return n[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Hr=Cr((t=>{var{locale:e,format:n}=t,r=mr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=Ar("number",n)),new Intl.NumberFormat(e,r)})),Sr=Cr((t=>{var{locale:e,format:n}=t,r=mr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=Ar("date",n):0===Object.keys(r).length&&(r=Ar("date","short")),new Intl.DateTimeFormat(e,r)})),Pr=Cr((t=>{var{locale:e,format:n}=t,r=mr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=Ar("time",n):0===Object.keys(r).length&&(r=Ar("time","short")),new Intl.DateTimeFormat(e,r)})),Lr=Cr(((t,e=xr())=>new nr(t,e,br().formats,{ignoreTag:br().ignoreTag}))),Ir=(t,e={})=>{var n,r,i,o;let s=e;"object"==typeof t&&(s=t,t=s.id);const{values:a,locale:l=xr(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=or(t,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${t}" 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=br()).handleMissingMessage)||void 0===r?void 0:r.call(n,{locale:l,id:t,defaultValue:c}))&&void 0!==i?i:c)&&void 0!==o?o:t;if(!a)return u;let h=u;try{h=Lr(u,l).format(a)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return h},Mr=(t,e)=>((t={})=>{var{locale:e=xr()}=t,n=mr(t,["locale"]);return Pr(Object.assign({locale:e},n))})(e).format(t)
|
|
650
|
+
***************************************************************************** */function mr(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}const gr={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 br(){return gr}const vr=ge(!1);let Er;const wr=ge(null);function Tr(t){return t.split("-").map(((t,e,n)=>n.slice(0,e+1).join("-"))).reverse()}function _r(t,e=br().fallbackLocale){const n=Tr(t);return e?[...new Set([...n,...Tr(e)])]:n}function xr(){return null!=Er?Er:void 0}wr.subscribe((t=>{Er=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const Br=Object.assign(Object.assign({},wr),{set:t=>{if(t&&function(t){if(null==t)return;const e=_r(t);for(let t=0;t<e.length;t++){const n=e[t];if(lr(n))return n}}(t)&&dr(t)){const{loadingDelay:e}=br();let n;return"undefined"!=typeof window&&null!=xr()&&e?n=window.setTimeout((()=>vr.set(!0)),e):vr.set(!0),yr(t).then((()=>{wr.set(t)})).finally((()=>{clearTimeout(n),vr.set(!1)}))}return wr.set(t)}}),Cr=t=>{const e=Object.create(null);return n=>{const r=JSON.stringify(n);return r in e?e[r]:e[r]=t(n)}},Ar=(t,e)=>{const{formats:n}=br();if(t in n&&e in n[t])return n[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Hr=Cr((t=>{var{locale:e,format:n}=t,r=mr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=Ar("number",n)),new Intl.NumberFormat(e,r)})),Sr=Cr((t=>{var{locale:e,format:n}=t,r=mr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=Ar("date",n):0===Object.keys(r).length&&(r=Ar("date","short")),new Intl.DateTimeFormat(e,r)})),Pr=Cr((t=>{var{locale:e,format:n}=t,r=mr(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=Ar("time",n):0===Object.keys(r).length&&(r=Ar("time","short")),new Intl.DateTimeFormat(e,r)})),Lr=Cr(((t,e=xr())=>new nr(t,e,br().formats,{ignoreTag:br().ignoreTag}))),Ir=(t,e={})=>{var n,r,i,o;let s=e;"object"==typeof t&&(s=t,t=s.id);const{values:a,locale:l=xr(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=or(t,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${t}" 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=br()).handleMissingMessage)||void 0===r?void 0:r.call(n,{locale:l,id:t,defaultValue:c}))&&void 0!==i?i:c)&&void 0!==o?o:t;if(!a)return u;let h=u;try{h=Lr(u,l).format(a)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return h},Mr=(t,e)=>((t={})=>{var{locale:e=xr()}=t,n=mr(t,["locale"]);return Pr(Object.assign({locale:e},n))})(e).format(t),$r=(t,e)=>((t={})=>{var{locale:e=xr()}=t,n=mr(t,["locale"]);return Sr(Object.assign({locale:e},n))})(e).format(t),Or=(t,e)=>((t={})=>{var{locale:e=xr()}=t,n=mr(t,["locale"]);return Hr(Object.assign({locale:e},n))})(e).format(t),Rr=(t,e=xr())=>or(t,e);be([Br,ar],(()=>Ir)),be([Br],(()=>Mr)),be([Br],(()=>$r)),be([Br],(()=>Or)),be([Br,ar],(()=>Rr)),window.emWidgets={topic:(t,e=0)=>{if(-1==fe.indexOf(t)){let n=new pe(e);ye[t]=n,fe.push(t)}return ye[t]}};
|
|
651
651
|
/**
|
|
652
652
|
* @name isMobile
|
|
653
653
|
* @description A method that returns if the browser used to access the app is from a mobile device or not
|
|
@@ -655,11 +655,11 @@ t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
|
|
|
655
655
|
* @returns {Boolean} true or false
|
|
656
656
|
*/
|
|
657
657
|
const Nr=t=>!!(t.toLowerCase().match(/android/i)||t.toLowerCase().match(/blackberry|bb/i)||t.toLowerCase().match(/iphone|ipad|ipod/i)||t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));function Dr(t,{delay:n=0,duration:r=400,easing:i=e}={}){const o=+getComputedStyle(t).opacity;return{delay:n,duration:r,easing:i,css:t=>"opacity: "+t*o}}
|
|
658
|
-
/* ../casino-modal/src/CasinoModal.svelte generated by Svelte v3.48.0 */function kr(t){let e,n,r,i,o,s,a,l,c,u,h,d;return{c(){e=E("div"),n=E("div"),r=E("div"),r.innerHTML="<slot></slot>",i=_(),o=E("span"),s=E("slot"),s.innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',C(r,"class","ModalContainer"),C(r,"part","ModalContainer"),C(s,"name","close"),C(o,"class",a="ModalCloseBtn "+(/*haspanicbutton*/"true"==t[1]&&/*mobileView*/t[3]?"ModalPanicCloseButton":"")),C(o,"part","ModalCloseBtn"),C(o,"role","button"),C(n,"class","ModalWindow"),C(n,"part","ModalWindow"),C(n,"id","Modal"),X((()=>/*div1_elementresize_handler*/t[
|
|
659
|
-
/*div1_binding*/t[
|
|
660
|
-
/*div2_binding*/t[
|
|
661
|
-
/*div1_binding*/,t[
|
|
662
|
-
/*div2_binding*/,t[
|
|
658
|
+
/* ../casino-modal/src/CasinoModal.svelte generated by Svelte v3.48.0 */function kr(t){let e,n,r,i,o,s,a,l,c,u,h,d;return{c(){e=E("div"),n=E("div"),r=E("div"),r.innerHTML="<slot></slot>",i=_(),o=E("span"),s=E("slot"),s.innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',C(r,"class","ModalContainer"),C(r,"part","ModalContainer"),C(s,"name","close"),C(o,"class",a="ModalCloseBtn "+(/*haspanicbutton*/"true"==t[1]&&/*mobileView*/t[3]?"ModalPanicCloseButton":"")),C(o,"part","ModalCloseBtn"),C(o,"role","button"),C(n,"class","ModalWindow"),C(n,"part","ModalWindow"),C(n,"id","Modal"),X((()=>/*div1_elementresize_handler*/t[18].call(n))),C(e,"part","CustomStylingContainer")},m(a,c){g(a,e,c),f(e,n),f(n,r),f(n,i),f(n,o),f(o,s),
|
|
659
|
+
/*div1_binding*/t[17](n),l=function(t,e){"static"===getComputedStyle(t).position&&(t.style.position="relative");const n=E("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const r=L();let i;return r?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",i=B(window,"message",(t=>{t.source===n.contentWindow&&e()}))):(n.src="about:blank",n.onload=()=>{i=B(n.contentWindow,"resize",e)}),f(t,n),()=>{(r||i&&n.contentWindow)&&i(),b(n)}}(n,/*div1_elementresize_handler*/t[18].bind(n)),
|
|
660
|
+
/*div2_binding*/t[19](e),u=!0,h||(d=B(o,"click",/*close*/t[8]),h=!0)},p(e,n){t=e,(!u||/*haspanicbutton, mobileView*/10&n&&a!==(a="ModalCloseBtn "+(/*haspanicbutton*/"true"==t[1]&&/*mobileView*/t[3]?"ModalPanicCloseButton":"")))&&C(o,"class",a)},i(e){u||(X((()=>{c||(c=it(n,Dr,{transitionDuration:/*duration*/t[0]},!0)),c.run(1)})),u=!0)},o(e){c||(c=it(n,Dr,{transitionDuration:/*duration*/t[0]},!1)),c.run(0),u=!1},d(n){n&&b(e)
|
|
661
|
+
/*div1_binding*/,t[17](null),l(),n&&c&&c.end()
|
|
662
|
+
/*div2_binding*/,t[19](null),h=!1,d()}}}function Ur(e){let n,r,o=/*show*/e[7]&&kr(e);return{c(){o&&o.c(),n=x(),this.c=t},m(t,e){o&&o.m(t,e),g(t,n,e),r=!0},p(t,[e]){/*show*/t[7]?o?(o.p(t,e),/*show*/128&e&&et(o,1)):(o=kr(t),o.c(),et(o,1),o.m(n.parentNode,n)):o&&(tt={r:0,c:[],p:tt},nt(o,1,1,(()=>{o=null})),tt.r||i(tt.c),tt=tt.p)},i(t){r||(et(o),r=!0)},o(t){nt(o),r=!1},d(t){o&&o.d(t),t&&b(n)}}}function Fr(t,e,n){let r,i,o,s,{duration:a=350}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:u=""}=e,{clientstylingurl:h=""}=e,{endpoint:d=""}=e,{haspanicbutton:p="false"}=e,{gamepagemodalurl:f="false"}=e,{sessioncheck:y="true"}=e,{integratedgameframedesktop:m="false"}=e,g=window.navigator.userAgent,b=!1,v=!1,E=!1;const w=t=>{if("ModalClosed"==t.data.type&&("false"!=m||Nr(g))&&n(7,E=!1),"ShowGameModal"===t.data.type&&(n(7,E=!0),window.postMessage({type:"GameLaunchID",gameId:t.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===t.data.type&&(n(7,E=!0),window.postMessage({type:"LaunchGameFrame",gameId:t.data.gameId,gameFunMode:t.data.gamefunmode},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"RequestModalSize"===t.data.type){let t={modalWidth:r?getComputedStyle(r).width:null,modalHeight:r?getComputedStyle(r).height:null};window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)}"GameStateOnResize"===t.data.type&&(v=t.data.detailsObtained),"OpenCalendarModal"===t.data.type&&(n(7,E=!0),window.postMessage({type:"DisableScroll"},window.location.href))},T=t=>{if(v){let t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height};window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)}},_=()=>{"true"==y&&function(t,e){return new Promise(((n,r)=>{let i=new Headers;i.append("X-SessionID",e),It(`${t}/player/session/player`,{method:"GET",headers:i}).then((t=>t.json())).then((t=>n(t))).catch((t=>r(t)))}))}(d,l).then((t=>{t.Guid,t.UserID}),(t=>{console.error("err on session",t)}))};return k((()=>(n(3,b=Nr(g)),window.addEventListener("message",w,!1),window.addEventListener("resize",T,!1),()=>{window.removeEventListener("message",w),window.removeEventListener("resize",w)}))),t.$$set=t=>{"duration"in t&&n(0,a=t.duration),"session"in t&&n(9,l=t.session),"userid"in t&&n(10,c=t.userid),"clientstyling"in t&&n(11,u=t.clientstyling),"clientstylingurl"in t&&n(12,h=t.clientstylingurl),"endpoint"in t&&n(13,d=t.endpoint),"haspanicbutton"in t&&n(1,p=t.haspanicbutton),"gamepagemodalurl"in t&&n(14,f=t.gamepagemodalurl),"sessioncheck"in t&&n(15,y=t.sessioncheck),"integratedgameframedesktop"in t&&n(16,m=t.integratedgameframedesktop)},t.$$.update=()=>{/*session, userid, endpoint*/9728&t.$$.dirty&&l&&c&&d&&_(),/*clientstyling, customStylingContainer*/2052&t.$$.dirty&&u&&i&&(()=>{let t=document.createElement("style");t.innerHTML=u,i.appendChild(t)})(),/*clientstylingurl, customStylingContainer*/4100&t.$$.dirty&&h&&i&&(()=>{let t=new URL(h),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})()},[a,p,i,b,r,o,s,E,()=>{n(7,E=!1),n(3,b=Nr(g)),window.postMessage({type:"ModalClosed",gamepagemodalurl:f,mobileView:b},window.location.href)},l,c,u,h,d,f,y,m,function(t){F[t?"unshift":"push"]((()=>{r=t,n(4,r)}))},function(){o=this.clientWidth,s=this.clientHeight,n(5,o),n(6,s)},function(t){F[t?"unshift":"push"]((()=>{i=t,n(2,i)}))}]}
|
|
663
663
|
/* ../casino-calendar-daily-details/src/CasinoCalendarDailyDetails.svelte generated by Svelte v3.48.0 */
|
|
664
664
|
function Gr(t,e,n){const r=t.slice();return r[26]=e[n],r[27]=e,r[28]=n,r}function jr(t,e,n){const r=t.slice();return r[29]=e[n],r[28]=n,r}
|
|
665
665
|
// (105:4) {:else}
|
|
@@ -679,27 +679,27 @@ return t[18](/*event*/t[26],/*index*/t[28])}return{c(){e=E("div"),n=E("div"),r=E
|
|
|
679
679
|
function Zr(t){let e,n,r,i=/*event*/t[26].details[/*selectedTab*/t[4]].description+"";return{c(){e=E("div"),n=T(i),C(e,"class",r="DetailTabsDescription "+(/*event*/t[26].details[/*selectedTab*/t[4]].expandedTab?"":"NotVisible"))},m(t,r){g(t,e,r),f(e,n)},p(t,o){/*dailyeventsDetails, selectedTab*/24&o&&i!==(i=/*event*/t[26].details[/*selectedTab*/t[4]].description+"")&&H(n,i),/*dailyeventsDetails, selectedTab*/24&o&&r!==(r="DetailTabsDescription "+(/*event*/t[26].details[/*selectedTab*/t[4]].expandedTab?"":"NotVisible"))&&C(e,"class",r)},d(t){t&&b(e)}}}
|
|
680
680
|
// (108:8) {#each dailyeventsDetails as event, index}
|
|
681
681
|
function qr(t){let e,n,r,i,o,s,a,c,u,h,d,p,y,m,v,w,x,A,S,P,L=/*event*/t[26].title+"",I=/*event*/t[26].description+"";function M(t,e){/*event*/
|
|
682
|
-
return 1==t[26].expandedInfo?Wr:Xr}let
|
|
683
|
-
return t[17](/*event*/t[26],/*each_value*/t[27],/*index*/t[28])}let N=/*event*/1==t[26].expandedInfo&&Kr(t);return{c(){e=E("div"),n=E("div"),r=T(L),i=_(),o=E("div"),s=E("img"),u=_(),h=E("div"),d=T(I),p=_(),y=E("div"),m=E("button"),v=T(/*dailybuttontitle*/t[0]),w=_()
|
|
682
|
+
return 1==t[26].expandedInfo?Wr:Xr}let $=M(t),O=$(t);function R(){/*click_handler*/
|
|
683
|
+
return t[17](/*event*/t[26],/*each_value*/t[27],/*index*/t[28])}let N=/*event*/1==t[26].expandedInfo&&Kr(t);return{c(){e=E("div"),n=E("div"),r=T(L),i=_(),o=E("div"),s=E("img"),u=_(),h=E("div"),d=T(I),p=_(),y=E("div"),m=E("button"),v=T(/*dailybuttontitle*/t[0]),w=_(),O.c(),x=_(),N&&N.c(),A=_(),C(n,"class","CasinoCalendarDailyTitle"),C(s,"class","CasinoCalendarFitImage"),l(s.src,a=/*event*/t[26].image)||C(s,"src",a),C(s,"alt",c=/*event*/t[26].image),C(o,"class","CasinoCalendarImage"),C(h,"class","CasinoCalendarDailyDescription"),C(m,"class","MoreInfoButton"),C(y,"class","CasinoCalendarTabs"),C(e,"class","CasinoCalendarDailyDetailsParent")},m(t,a){g(t,e,a),f(e,n),f(n,r),f(e,i),f(e,o),f(o,s),f(e,u),f(e,h),f(h,d),f(e,p),f(e,y),f(y,m),f(m,v),f(m,w),O.m(m,null),f(y,x),N&&N.m(y,null),f(e,A),S||(P=B(m,"click",R),S=!0)},p(e,n){t=e,/*dailyeventsDetails*/8&n&&L!==(L=/*event*/t[26].title+"")&&H(r,L),/*dailyeventsDetails*/8&n&&!l(s.src,a=/*event*/t[26].image)&&C(s,"src",a),/*dailyeventsDetails*/8&n&&c!==(c=/*event*/t[26].image)&&C(s,"alt",c),/*dailyeventsDetails*/8&n&&I!==(I=/*event*/t[26].description+"")&&H(d,I),/*dailybuttontitle*/1&n&&H(v,/*dailybuttontitle*/t[0]),$!==($=M(t))&&(O.d(1),O=$(t),O&&(O.c(),O.m(m,null))),/*event*/1==t[26].expandedInfo?N?N.p(t,n):(N=Kr(t),N.c(),N.m(y,null)):N&&(N.d(1),N=null)},d(t){t&&b(e),O.d(),N&&N.d(),S=!1,P()}}}function Jr(e){let n;function r(t,e){/*isLoading*/
|
|
684
684
|
return t[5]?Vr:zr}let i=r(e),o=i(e);return{c(){n=E("div"),o.c(),this.c=t},m(t,r){g(t,n,r),o.m(n,null),
|
|
685
685
|
/*div_binding*/e[19](n)},p(t,[e]){i===(i=r(t))&&o?o.p(t,e):(o.d(1),o=i(t),o&&(o.c(),o.m(n,null)))},i:t,o:t,d(t){t&&b(n),o.d(),
|
|
686
686
|
/*div_binding*/e[19](null)}}}function Qr(t,e,n){let r,{dailybackground:i=""}=e,{dailybuttontitle:o=""}=e,{dailyday:s=""}=e,{dailydescription:a="<p></p>"}=e,{dailyicon:l=""}=e,{dailytitle:c=""}=e,{lang:u="en"}=e,{clientstyling:h=""}=e,{clientstylingurl:d=""}=e,{translationUrl:p=""}=e,f=[],y=0,m=!0,g=!1,b=window.navigator.userAgent;!function({withLocale:t,translations:e}){Br.subscribe((n=>{null==n&&(ar.set(e),Br.set(t))}));// maybe we will need this to make sure that the i18n is set up only once
|
|
687
687
|
/*dictionary.set(translations);
|
|
688
688
|
locale.set(_locale);*/}({withLocale:"en",translations:{}});const v=t=>{"DailyEventsData"==t.data.type&&(n(5,m=!1),n(3,f=t.data.data),f.forEach((t=>{t.expandedInfo=!1,t.detailsExpanded=!1,t.details.forEach(((t,e)=>{t.expandedTab=0==e}))}))),"ModalClosed"==t.data.type&&(n(4,y=0),f.forEach(((t,e)=>{t.detailsExpanded=0==e,t.expandedInfo=0==e})))},E=()=>{var t;t=u,Br.set(t)},w=t=>{n(4,y=0),n(3,f[t].detailsExpanded=!f[t].detailsExpanded,f),
|
|
689
689
|
//Analytics event
|
|
690
|
-
"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetDetails"})},T=(t,e)=>{n(4,y=e),t.details.forEach(((t,e)=>{t.expandedTab=y==e}))};k((()=>(window.addEventListener("message",v,!1),Nr(b)&&n(6,g=!0),()=>{window.removeEventListener("message",v)})));return t.$$set=t=>{"dailybackground"in t&&n(9,i=t.dailybackground),"dailybuttontitle"in t&&n(0,o=t.dailybuttontitle),"dailyday"in t&&n(1,s=t.dailyday),"dailydescription"in t&&n(10,a=t.dailydescription),"dailyicon"in t&&n(11,l=t.dailyicon),"dailytitle"in t&&n(12,c=t.dailytitle),"lang"in t&&n(13,u=t.lang),"clientstyling"in t&&n(14,h=t.clientstyling),"clientstylingurl"in t&&n(15,d=t.clientstylingurl),"translationUrl"in t&&n(16,p=t.translationUrl)},t.$$.update=()=>{/*lang*/8192&t.$$.dirty&&u&&E(),/*clientstyling, customStylingContainer*/16388&t.$$.dirty&&h&&r&&(()=>{let t=document.createElement("style");t.innerHTML=h,r.appendChild(t)})(),/*clientstylingurl, customStylingContainer*/32772&t.$$.dirty&&d&&r&&(()=>{let t=new URL(d),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{r.appendChild(e)}),1),setTimeout((()=>{}),500)}))})()},[o,s,r,f,y,m,g,w,T,i,a,l,c,u,h,d,p,(t,e,r)=>{n(3,e[r].expandedInfo=!t.expandedInfo,f),w(r)},(t,e)=>{T(t,e)},function(t){F[t?"unshift":"push"]((()=>{r=t,n(2,r)}))}]}!customElements.get("casino-modal")&&customElements.define("casino-modal",class extends at{constructor(t){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>',st(this,{target:this.shadowRoot,props:I(this.attributes),customElement:!0},Fr,Ur,s,{duration:0,session:9,userid:10,clientstyling:11,clientstylingurl:12,endpoint:13,haspanicbutton:1,gamepagemodalurl:14,sessioncheck:15},null),t&&(t.target&&g(t.target,this,t.anchor),t.props&&(this.$set(t.props),Z()))}static get observedAttributes(){return["duration","session","userid","clientstyling","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck"]}get duration(){return this.$$.ctx[0]}set duration(t){this.$$set({duration:t}),Z()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),Z()}get userid(){return this.$$.ctx[10]}set userid(t){this.$$set({userid:t}),Z()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),Z()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Z()}get endpoint(){return this.$$.ctx[13]}set endpoint(t){this.$$set({endpoint:t}),Z()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),Z()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),Z()}get sessioncheck(){return this.$$.ctx[15]}set sessioncheck(t){this.$$set({sessioncheck:t}),Z()}});
|
|
690
|
+
"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetDetails"})},T=(t,e)=>{n(4,y=e),t.details.forEach(((t,e)=>{t.expandedTab=y==e}))};k((()=>(window.addEventListener("message",v,!1),Nr(b)&&n(6,g=!0),()=>{window.removeEventListener("message",v)})));return t.$$set=t=>{"dailybackground"in t&&n(9,i=t.dailybackground),"dailybuttontitle"in t&&n(0,o=t.dailybuttontitle),"dailyday"in t&&n(1,s=t.dailyday),"dailydescription"in t&&n(10,a=t.dailydescription),"dailyicon"in t&&n(11,l=t.dailyicon),"dailytitle"in t&&n(12,c=t.dailytitle),"lang"in t&&n(13,u=t.lang),"clientstyling"in t&&n(14,h=t.clientstyling),"clientstylingurl"in t&&n(15,d=t.clientstylingurl),"translationUrl"in t&&n(16,p=t.translationUrl)},t.$$.update=()=>{/*lang*/8192&t.$$.dirty&&u&&E(),/*clientstyling, customStylingContainer*/16388&t.$$.dirty&&h&&r&&(()=>{let t=document.createElement("style");t.innerHTML=h,r.appendChild(t)})(),/*clientstylingurl, customStylingContainer*/32772&t.$$.dirty&&d&&r&&(()=>{let t=new URL(d),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{r.appendChild(e)}),1),setTimeout((()=>{}),500)}))})()},[o,s,r,f,y,m,g,w,T,i,a,l,c,u,h,d,p,(t,e,r)=>{n(3,e[r].expandedInfo=!t.expandedInfo,f),w(r)},(t,e)=>{T(t,e)},function(t){F[t?"unshift":"push"]((()=>{r=t,n(2,r)}))}]}!customElements.get("casino-modal")&&customElements.define("casino-modal",class extends at{constructor(t){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>',st(this,{target:this.shadowRoot,props:I(this.attributes),customElement:!0},Fr,Ur,s,{duration:0,session:9,userid:10,clientstyling:11,clientstylingurl:12,endpoint:13,haspanicbutton:1,gamepagemodalurl:14,sessioncheck:15,integratedgameframedesktop:16},null),t&&(t.target&&g(t.target,this,t.anchor),t.props&&(this.$set(t.props),Z()))}static get observedAttributes(){return["duration","session","userid","clientstyling","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck","integratedgameframedesktop"]}get duration(){return this.$$.ctx[0]}set duration(t){this.$$set({duration:t}),Z()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),Z()}get userid(){return this.$$.ctx[10]}set userid(t){this.$$set({userid:t}),Z()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),Z()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Z()}get endpoint(){return this.$$.ctx[13]}set endpoint(t){this.$$set({endpoint:t}),Z()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),Z()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),Z()}get sessioncheck(){return this.$$.ctx[15]}set sessioncheck(t){this.$$set({sessioncheck:t}),Z()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),Z()}});
|
|
691
691
|
/* ../casino-calendar-daily-item/src/CasinoCalendarDailyItem.svelte generated by Svelte v3.48.0 */
|
|
692
|
-
function ti(e){let n,r,i,o,s,a,c,u,h,d,p,y,m,v,w,x,A,P,L,I,M
|
|
692
|
+
function ti(e){let n,r,i,o,s,a,c,u,h,d,p,y,m,v,w,x,A,P,L,I,M,$,O;return{c(){n=E("div"),r=E("div"),i=E("div"),o=E("div"),s=E("div"),s.innerHTML='<div class="RingLeft"></div> \n <div class="RingRight"></div>',a=_(),c=E("div"),u=E("div"),h=E("img"),p=_(),y=E("div"),m=T(/*dailyday*/e[2]),v=_(),w=E("div"),x=_(),A=E("div"),P=E("button"),L=T(/*dailybuttontitle*/e[3]),this.c=t,C(s,"class","CalendarBar"),l(h.src,d=/*dailyicon*/e[1])||C(h,"src",d),C(h,"alt",/*dailyicon*/e[1]),C(u,"class","CasinoCalendarDailyIcon"),C(y,"class","CasinoCalendarDailyTitle"),C(w,"class","CasinoCalendarDailyItemDescription"),C(P,"class","MoreInfoButton"),C(A,"class","CasinoCalendarDailyItemButton"),C(c,"class",I="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==/*index*/e[4]?"Tear":"")),S(c,"background-image","url('"+/*dailybackground*/e[0]+"')"),S(c,"background-size","cover"),S(c,"background-position","center"),S(c,"-webkit-background-size","cover"),S(c,"-moz-background-size","cover"),S(c,"-o-background-size","cover"),C(o,"class","CalendarCard"),C(i,"class","CasinoCalendarItems"),C(r,"class",M="Container "+(/*mobileView*/e[7]?"Mobile":""))},m(t,l){g(t,n,l),f(n,r),f(r,i),f(i,o),f(o,s),f(o,a),f(o,c),f(c,u),f(u,h),f(c,p),f(c,y),f(y,m),f(c,v),f(c,w),
|
|
693
693
|
/*div5_binding*/e[14](w),f(c,x),f(c,A),f(A,P),f(P,L),
|
|
694
|
-
/*div11_binding*/e[16](n)
|
|
694
|
+
/*div11_binding*/e[16](n),$||(O=B(P,"click",/*click_handler*/e[15]),$=!0)},p(t,[e]){/*dailyicon*/2&e&&!l(h.src,d=/*dailyicon*/t[1])&&C(h,"src",d),/*dailyicon*/2&e&&C(h,"alt",/*dailyicon*/t[1]),/*dailyday*/4&e&&H(m,/*dailyday*/t[2]),/*dailybuttontitle*/8&e&&H(L,/*dailybuttontitle*/t[3]),/*index*/16&e&&I!==(I="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==/*index*/t[4]?"Tear":""))&&C(c,"class",I),/*dailybackground*/1&e&&S(c,"background-image","url('"+/*dailybackground*/t[0]+"')"),/*mobileView*/128&e&&M!==(M="Container "+(/*mobileView*/t[7]?"Mobile":""))&&C(r,"class",M)},i:t,o:t,d(t){t&&b(n)
|
|
695
695
|
/*div5_binding*/,e[14](null),
|
|
696
|
-
/*div11_binding*/e[16](null),O
|
|
696
|
+
/*div11_binding*/e[16](null),$=!1,O()}}}function ei(t,e,n){let r,i,{cmsendpoint:o=""}=e,{lang:s=""}=e,{dailybackground:a=""}=e,{dailyicon:l=""}=e,{dailyday:c=""}=e,{dailydescription:u="<p></p>"}=e,{dailybuttontitle:h=""}=e,{index:d="0"}=e,{clientstyling:p=""}=e,{clientstylingurl:f=""}=e;!function({withLocale:t,translations:e}){Br.subscribe((n=>{null==n&&(ar.set(e),Br.set(t))}));// maybe we will need this to make sure that the i18n is set up only once
|
|
697
697
|
/*dictionary.set(translations);
|
|
698
698
|
locale.set(_locale);*/}({withLocale:"en",translations:{}});let y=!1,m=window.navigator.userAgent;const g=()=>{window.postMessage({type:"OpenCalendarModal",index:d},window.location.href),
|
|
699
699
|
//Analytics event
|
|
700
700
|
"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetItem"})};k((()=>{Nr(m)&&n(7,y=!0)}));return t.$$set=t=>{"cmsendpoint"in t&&n(9,o=t.cmsendpoint),"lang"in t&&n(10,s=t.lang),"dailybackground"in t&&n(0,a=t.dailybackground),"dailyicon"in t&&n(1,l=t.dailyicon),"dailyday"in t&&n(2,c=t.dailyday),"dailydescription"in t&&n(11,u=t.dailydescription),"dailybuttontitle"in t&&n(3,h=t.dailybuttontitle),"index"in t&&n(4,d=t.index),"clientstyling"in t&&n(12,p=t.clientstyling),"clientstylingurl"in t&&n(13,f=t.clientstylingurl)},t.$$.update=()=>{/*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/2063&t.$$.dirty&&l&&c&&u&&h&&a&&(()=>{
|
|
701
701
|
// remove HTML tags
|
|
702
|
-
let t=document.createElement("div");t.innerHTML=u,r.append(t)})(),/*clientstyling, customStylingContainer*/4128&t.$$.dirty&&p&&i&&(()=>{let t=document.createElement("style");t.innerHTML=p,i.appendChild(t)})(),/*clientstylingurl, customStylingContainer*/8224&t.$$.dirty&&f&&i&&(()=>{let t=new URL(f),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1),setTimeout((()=>{}),500)}))})()},[a,l,c,h,d,i,r,y,g,o,s,u,p,f,function(t){F[t?"unshift":"push"]((()=>{r=t,n(6,r)}))},()=>g(),function(t){F[t?"unshift":"push"]((()=>{i=t,n(5,i)}))}]}!customElements.get("casino-calendar-daily-details")&&customElements.define("casino-calendar-daily-details",class extends at{constructor(t){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:15px 0;border-radius:0 0 5px 5px;border:none;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C)}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emfe-w-color-white, #FFFFFF);width:500px;max-height:50vw;padding:20px;text-align:center;margin-bottom:50px;overflow:scroll}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px}.CasinoCalendarDailyDay{padding:10px 0 40px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emfe-w-color-primary, #D0046C)}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emfe-w-color-primary, #D0046C)}.CasinoCalendarImage{background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emfe-w-gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emfe-w-color-white, #FFFFFF) 55%, var(--emfe-w-color-gray-100, #E6E6E6))}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emfe-w-color-primary, #D0046C)}.Mobile{max-height:70vh;margin-bottom:0}</style>',st(this,{target:this.shadowRoot,props:I(this.attributes),customElement:!0},Qr,Jr,s,{dailybackground:9,dailybuttontitle:0,dailyday:1,dailydescription:10,dailyicon:11,dailytitle:12,lang:13,clientstyling:14,clientstylingurl:15,translationUrl:16},null),t&&(t.target&&g(t.target,this,t.anchor),t.props&&(this.$set(t.props),Z()))}static get observedAttributes(){return["dailybackground","dailybuttontitle","dailyday","dailydescription","dailyicon","dailytitle","lang","clientstyling","clientstylingurl","translationUrl"]}get dailybackground(){return this.$$.ctx[9]}set dailybackground(t){this.$$set({dailybackground:t}),Z()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(t){this.$$set({dailybuttontitle:t}),Z()}get dailyday(){return this.$$.ctx[1]}set dailyday(t){this.$$set({dailyday:t}),Z()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(t){this.$$set({dailydescription:t}),Z()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(t){this.$$set({dailyicon:t}),Z()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(t){this.$$set({dailytitle:t}),Z()}get lang(){return this.$$.ctx[13]}set lang(t){this.$$set({lang:t}),Z()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(t){this.$$set({clientstyling:t}),Z()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Z()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(t){this.$$set({translationUrl:t}),Z()}});
|
|
702
|
+
let t=document.createElement("div");t.innerHTML=u,r&&r.append(t)})(),/*clientstyling, customStylingContainer*/4128&t.$$.dirty&&p&&i&&(()=>{let t=document.createElement("style");t.innerHTML=p,i.appendChild(t)})(),/*clientstylingurl, customStylingContainer*/8224&t.$$.dirty&&f&&i&&(()=>{let t=new URL(f),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1),setTimeout((()=>{}),500)}))})()},[a,l,c,h,d,i,r,y,g,o,s,u,p,f,function(t){F[t?"unshift":"push"]((()=>{r=t,n(6,r)}))},()=>g(),function(t){F[t?"unshift":"push"]((()=>{i=t,n(5,i)}))}]}!customElements.get("casino-calendar-daily-details")&&customElements.define("casino-calendar-daily-details",class extends at{constructor(t){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:15px 0;border-radius:0 0 5px 5px;border:none;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C)}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emfe-w-color-white, #FFFFFF);width:500px;max-height:50vw;padding:20px;text-align:center;margin-bottom:50px;overflow:scroll}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px}.CasinoCalendarDailyDay{padding:10px 0 40px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emfe-w-color-primary, #D0046C)}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emfe-w-color-primary, #D0046C)}.CasinoCalendarImage{background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emfe-w-gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emfe-w-color-white, #FFFFFF) 55%, var(--emfe-w-color-gray-100, #E6E6E6))}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emfe-w-color-primary, #D0046C)}.Mobile{max-height:70vh;margin-bottom:0}</style>',st(this,{target:this.shadowRoot,props:I(this.attributes),customElement:!0},Qr,Jr,s,{dailybackground:9,dailybuttontitle:0,dailyday:1,dailydescription:10,dailyicon:11,dailytitle:12,lang:13,clientstyling:14,clientstylingurl:15,translationUrl:16},null),t&&(t.target&&g(t.target,this,t.anchor),t.props&&(this.$set(t.props),Z()))}static get observedAttributes(){return["dailybackground","dailybuttontitle","dailyday","dailydescription","dailyicon","dailytitle","lang","clientstyling","clientstylingurl","translationUrl"]}get dailybackground(){return this.$$.ctx[9]}set dailybackground(t){this.$$set({dailybackground:t}),Z()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(t){this.$$set({dailybuttontitle:t}),Z()}get dailyday(){return this.$$.ctx[1]}set dailyday(t){this.$$set({dailyday:t}),Z()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(t){this.$$set({dailydescription:t}),Z()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(t){this.$$set({dailyicon:t}),Z()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(t){this.$$set({dailytitle:t}),Z()}get lang(){return this.$$.ctx[13]}set lang(t){this.$$set({lang:t}),Z()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(t){this.$$set({clientstyling:t}),Z()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Z()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(t){this.$$set({translationUrl:t}),Z()}});
|
|
703
703
|
/* src/CasinoCalendar.svelte generated by Svelte v3.48.0 */
|
|
704
704
|
function ni(t,e,n){const r=t.slice();return r[11]=e[n],r[13]=n,r}
|
|
705
705
|
// (60:4) {#if calendarCollections?.length}
|