@everymatrix/casino-403 1.12.6 → 1.13.0
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-403.js +23 -23
- package/dist/casino-403.js.map +1 -1
- package/package.json +2 -2
- package/src/Casino_403.svelte +1 -3
package/dist/casino-403.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function r(){return Object.create(null)}function n(e){e.forEach(t)}function i(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function s(t,...r){if(null==t)return e;const n=t.subscribe(...r);return n.unsubscribe?()=>n.unsubscribe():n}function a(e,t){e.appendChild(t)}function h(e,t,r){e.insertBefore(t,r||null)}function l(e){e.parentNode&&e.parentNode.removeChild(e)}function c(e){return document.createElement(e)}function u(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function f(e){return document.createTextNode(e)}function p(){return f(" ")}function g(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function m(e,t){t=""+t,e.data!==t&&(e.data=t)}function y(e){const t={};for(const r of e)t[r.name]=r.value;return t}let
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function r(){return Object.create(null)}function n(e){e.forEach(t)}function i(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function s(t,...r){if(null==t)return e;const n=t.subscribe(...r);return n.unsubscribe?()=>n.unsubscribe():n}function a(e,t){e.appendChild(t)}function h(e,t,r){e.insertBefore(t,r||null)}function l(e){e.parentNode&&e.parentNode.removeChild(e)}function c(e){return document.createElement(e)}function u(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function f(e){return document.createTextNode(e)}function p(){return f(" ")}function g(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function m(e,t){t=""+t,e.data!==t&&(e.data=t)}function y(e){const t={};for(const r of e)t[r.name]=r.value;return t}let d;function b(e){d=e}const E=[],v=[];let T=[];const H=[],_=Promise.resolve();let B=!1;function A(e){T.push(e)}
|
2
2
|
// flush() calls callbacks in this order:
|
3
3
|
// 1. All beforeUpdate callbacks, in order: parents before children
|
4
4
|
// 2. All bind:this callbacks, in reverse order: children before parents.
|
@@ -22,24 +22,24 @@ function S(){
|
|
22
22
|
// Do not reenter flush while dirty components are updated, as this can
|
23
23
|
// result in an infinite loop. Instead, let the inner flush handle it.
|
24
24
|
// Reentrancy is ok afterwards for bindings etc.
|
25
|
-
if(0!==L)return;const e=
|
25
|
+
if(0!==L)return;const e=d;do{
|
26
26
|
// first, call beforeUpdate functions
|
27
27
|
// and update components
|
28
|
-
try{for(;L<E.length;){const e=E[L];L++,
|
28
|
+
try{for(;L<E.length;){const e=E[L];L++,b(e),N(e.$$)}}catch(e){
|
29
29
|
// reset dirty state to not end up in a deadlocked state and then rethrow
|
30
|
-
throw E.length=0,L=0,e}for(
|
30
|
+
throw E.length=0,L=0,e}for(b(null),E.length=0,L=0;v.length;)v.pop()();
|
31
31
|
// then, once components are updated, call
|
32
32
|
// afterUpdate functions. This may cause
|
33
33
|
// subsequent updates...
|
34
34
|
for(let e=0;e<T.length;e+=1){const t=T[e];P.has(t)||(
|
35
35
|
// ...so guard against infinite loops
|
36
|
-
P.add(t),t())}T.length=0}while(E.length);for(;H.length;)H.pop()();B=!1,P.clear(),
|
36
|
+
P.add(t),t())}T.length=0}while(E.length);for(;H.length;)H.pop()();B=!1,P.clear(),b(e)}function N(e){if(null!==e.fragment){e.update(),n(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(A)}}
|
37
37
|
/**
|
38
38
|
* Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
|
39
39
|
*/const w=new Set;function C(e,t){const r=e.$$;null!==r.fragment&&(!function(e){const t=[],r=[];T.forEach((n=>-1===e.indexOf(n)?t.push(n):r.push(n))),r.forEach((e=>e())),T=t}(r.after_update),n(r.on_destroy),r.fragment&&r.fragment.d(t),
|
40
40
|
// TODO null out other refs, including component.$$ (but need to
|
41
41
|
// preserve final state?)
|
42
|
-
r.on_destroy=r.fragment=null,r.ctx=[])}function I(e,t){-1===e.$$.dirty[0]&&(E.push(e),B||(B=!0,_.then(S)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function M(o,s,a,h,c,u,f,p=[-1]){const g=b
|
42
|
+
r.on_destroy=r.fragment=null,r.ctx=[])}function I(e,t){-1===e.$$.dirty[0]&&(E.push(e),B||(B=!0,_.then(S)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function M(o,s,a,h,c,u,f,p=[-1]){const g=d;b(o);const m=o.$$={fragment:null,ctx:[],
|
43
43
|
// state
|
44
44
|
props:u,update:e,not_equal:c,bound:r(),
|
45
45
|
// lifecycle
|
@@ -60,7 +60,7 @@ A((()=>{const r=e.$$.on_mount.map(t).filter(i);
|
|
60
60
|
e.$$.on_destroy?e.$$.on_destroy.push(...r):
|
61
61
|
// Edge case - component was destroyed immediately,
|
62
62
|
// most likely as a result of a binding initialising
|
63
|
-
n(r),e.$$.on_mount=[]})),h.forEach(A)}(o,s.target,s.anchor,s.customElement),S()}var E,v;
|
63
|
+
n(r),e.$$.on_mount=[]})),h.forEach(A)}(o,s.target,s.anchor,s.customElement),S()}var E,v;b(g)}let O;"function"==typeof HTMLElement&&(O=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);
|
64
64
|
// @ts-ignore todo: improve typings
|
65
65
|
for(const e in this.$$.slotted)
|
66
66
|
// @ts-ignore todo: improve typings
|
@@ -70,12 +70,12 @@ if(!i(r))return e;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return
|
|
70
70
|
/**
|
71
71
|
* Creates a `Readable` store that allows reading by subscription.
|
72
72
|
* @param value initial value
|
73
|
-
* @param {StartStopNotifier}
|
73
|
+
* @param {StartStopNotifier} [start]
|
74
74
|
*/
|
75
75
|
/**
|
76
76
|
* Create a `Writable` store that allows both updating and reading by subscription.
|
77
77
|
* @param {*=}value initial value
|
78
|
-
* @param {StartStopNotifier=}
|
78
|
+
* @param {StartStopNotifier=} start
|
79
79
|
*/
|
80
80
|
function U(t,r=e){let n;const i=new Set;function s(e){if(o(t,e)&&(t=e,n)){// store is ready
|
81
81
|
const e=!R.length;for(const e of i)e[1](),R.push(e,t);if(e){for(let e=0;e<R.length;e+=2)R[e][0](R[e+1]);R.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const h=[o,a];return i.add(h),1===i.size&&(n=r(s)||e),o(t),()=>{i.delete(h),0===i.size&&n&&(n(),n=null)}}}}function D(t,r,o){const a=!Array.isArray(t),h=a?[t]:t,l=r.length<2;return c=t=>{let o=!1;const c=[];let u=0,f=e;const p=()=>{if(u)return;f();const n=r(a?c[0]:c,t);l?t(n):f=i(n)?n:e},g=h.map(((e,t)=>s(e,(e=>{c[t]=e,u&=~(1<<t),o&&p()}),(()=>{u|=1<<t}))));return o=!0,p(),function(){n(g),f(),
|
@@ -96,7 +96,7 @@ r.cloneUnlessOtherwiseSpecified=$;var n=Array.isArray(t);return n===Array.isArra
|
|
96
96
|
*/
|
97
97
|
function ee(e){return e.type===Y.literal}function te(e){return e.type===Y.argument}function re(e){return e.type===Y.number}function ne(e){return e.type===Y.date}function ie(e){return e.type===Y.time}function oe(e){return e.type===Y.select}function se(e){return e.type===Y.plural}function ae(e){return e.type===Y.pound}function he(e){return e.type===Y.tag}function le(e){return!(!e||"object"!=typeof e||e.type!==q.number)}function ce(e){return!(!e||"object"!=typeof e||e.type!==q.dateTime)}
|
98
98
|
// @generated from regex-gen.ts
|
99
|
-
|
99
|
+
"function"==typeof SuppressedError&&SuppressedError,function(e){
|
100
100
|
/** Argument is unclosed (e.g. `{0`) */
|
101
101
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",
|
102
102
|
/** Argument is empty (e.g. `{}`). */
|
@@ -239,20 +239,20 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
|
|
239
239
|
case"x":// 1, 2, 3, 4: The ISO8601 varios formats
|
240
240
|
throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
|
241
241
|
// @generated from regex-gen.ts
|
242
|
-
var ge=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var me=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ye=/^(@+)?(\+|#+)?[rs]?$/g,
|
242
|
+
var ge=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var me=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ye=/^(@+)?(\+|#+)?[rs]?$/g,de=/(\*)(0+)|(#+)(0+)|(0+)/g,be=/^(0+)$/;function Ee(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(ye,(function(e,r,n){
|
243
243
|
// @@@ case
|
244
244
|
return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),t}function ve(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 Te(e){
|
245
245
|
// Engineering
|
246
|
-
var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!
|
246
|
+
var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!be.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function He(e){var t=ve(e);return t||{}}
|
247
247
|
/**
|
248
248
|
* https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
|
249
249
|
*/function _e(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];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=Q(Q(Q({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return Q(Q({},e),He(t))}),{}));continue;case"engineering":t=Q(Q(Q({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return Q(Q({},e),He(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
|
250
250
|
// https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
|
251
251
|
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;
|
252
252
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
|
253
|
-
case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(
|
253
|
+
case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(de,(function(e,r,n,i,o,s){if(r)t.minimumIntegerDigits=n.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}
|
254
254
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
|
255
|
-
if(
|
255
|
+
if(be.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(me.test(i.stem)){
|
256
256
|
// Precision
|
257
257
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#fraction-precision
|
258
258
|
// precision-integer case
|
@@ -393,11 +393,11 @@ return this.error(W.EXPECT_ARGUMENT_TYPE,Ne(o,a));case"number":case"date":case"t
|
|
393
393
|
// Parse this range:
|
394
394
|
// {name, number, style}
|
395
395
|
// ^-------^
|
396
|
-
this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((
|
396
|
+
this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(p=je(d.val)).length)return this.error(W.EXPECT_ARGUMENT_STYLE,Ne(this.clonePosition(),this.clonePosition()));h={style:p,styleLocation:Ne(l,this.clonePosition())}}if((b=this.tryParseArgumentClose(n)).err)return b;var c=Ne(n,this.clonePosition());
|
397
397
|
// Extract style or skeleton
|
398
398
|
if(h&&Fe(null==h?void 0:h.style,"::",0)){
|
399
399
|
// Skeleton starts with `::`.
|
400
|
-
var u=Ve(h.style.slice(2));if("number"===s)return(
|
400
|
+
var u=Ve(h.style.slice(2));if("number"===s)return(d=this.parseNumberSkeletonFromString(u,h.styleLocation)).err?d:{val:{type:Y.number,value:r,location:c,style:d.val},err:null};if(0===u.length)return this.error(W.EXPECT_DATE_TIME_SKELETON,c);var f=u;
|
401
401
|
// Get "best match" pattern only if locale is passed, if not, let it
|
402
402
|
// pass as-is where `parseDateTimeSkeleton()` will throw an error
|
403
403
|
// for unsupported patterns.
|
@@ -414,9 +414,9 @@ var g=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.err
|
|
414
414
|
// or the first option:
|
415
415
|
// {name, plural, one {...} other {...}}
|
416
416
|
// ^--^
|
417
|
-
var m=this.parseIdentifierIfPossible(),y=0;if("select"!==s&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(W.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ne(this.clonePosition(),this.clonePosition()));var
|
417
|
+
var m=this.parseIdentifierIfPossible(),y=0;if("select"!==s&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(W.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ne(this.clonePosition(),this.clonePosition()));var d;if(this.bumpSpace(),(d=this.tryParseDecimalInteger(W.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,W.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;
|
418
418
|
// Parse another identifier for option parsing
|
419
|
-
this.bumpSpace(),m=this.parseIdentifierIfPossible(),y=
|
419
|
+
this.bumpSpace(),m=this.parseIdentifierIfPossible(),y=d.val}var b,E=this.tryParsePluralOrSelectOptions(e,s,t,m);if(E.err)return E;if((b=this.tryParseArgumentClose(n)).err)return b;var v=Ne(n,this.clonePosition());return"select"===s?{val:{type:Y.select,value:r,options:xe(E.val),location:v},err:null}:{val:{type:Y.plural,value:r,options:xe(E.val),offset:y,pluralType:"plural"===s?"cardinal":"ordinal",location:v},err:null};default:return this.error(W.INVALID_ARGUMENT_TYPE,Ne(o,a))}},e.prototype.tryParseArgumentClose=function(e){
|
420
420
|
// Parse: {value, number, ::currency/GBP }
|
421
421
|
return this.isEOF()||125/* `}` */!==this.char()?this.error(W.EXPECT_ARGUMENT_CLOSING_BRACE,Ne(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
|
422
422
|
/**
|
@@ -545,14 +545,14 @@ if(!i||!(u in i))throw new gt(u,s);var f=i[u];if(te(c))f&&"string"!=typeof f&&"n
|
|
545
545
|
// Recursively format plural and select parts' option — which can be a
|
546
546
|
// nested pattern structure. The choosing of the option to use is
|
547
547
|
// abstracted-by and delegated-to the part helper object.
|
548
|
-
if(ne(c)){var p="string"==typeof c.style?n.date[c.style]:ce(c.style)?c.style.parsedOptions:void 0;a.push({type:ct.literal,value:r.getDateTimeFormat(t,p).format(f)})}else if(ie(c)){p="string"==typeof c.style?n.time[c.style]:ce(c.style)?c.style.parsedOptions:n.time.medium;a.push({type:ct.literal,value:r.getDateTimeFormat(t,p).format(f)})}else if(re(c)){(p="string"==typeof c.style?n.number[c.style]:le(c.style)?c.style.parsedOptions:void 0)&&p.scale&&(f*=p.scale||1),a.push({type:ct.literal,value:r.getNumberFormat(t,p).format(f)})}else{if(he(c)){var g=c.children,m=c.value,y=i[m];if(!mt(y))throw new pt(m,"function",s);var
|
548
|
+
if(ne(c)){var p="string"==typeof c.style?n.date[c.style]:ce(c.style)?c.style.parsedOptions:void 0;a.push({type:ct.literal,value:r.getDateTimeFormat(t,p).format(f)})}else if(ie(c)){p="string"==typeof c.style?n.time[c.style]:ce(c.style)?c.style.parsedOptions:n.time.medium;a.push({type:ct.literal,value:r.getDateTimeFormat(t,p).format(f)})}else if(re(c)){(p="string"==typeof c.style?n.number[c.style]:le(c.style)?c.style.parsedOptions:void 0)&&p.scale&&(f*=p.scale||1),a.push({type:ct.literal,value:r.getNumberFormat(t,p).format(f)})}else{if(he(c)){var g=c.children,m=c.value,y=i[m];if(!mt(y))throw new pt(m,"function",s);var d=y(yt(g,t,r,n,i,o).map((function(e){return e.value})));Array.isArray(d)||(d=[d]),a.push.apply(a,d.map((function(e){return{type:"string"==typeof e?ct.literal:ct.object,value:e}})))}if(oe(c)){if(!(b=c.options[f]||c.options.other))throw new ft(c.value,f,Object.keys(c.options),s);a.push.apply(a,yt(b.value,t,r,n,i))}else if(se(c)){var b;if(!(b=c.options["=".concat(f)])){if(!Intl.PluralRules)throw new ut('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',at.MISSING_INTL_API,s);var E=r.getPluralRules(t,{type:c.pluralType}).select(f-(c.offset||0));b=c.options[E]||c.options.other}if(!b)throw new ft(c.value,f,Object.keys(c.options),s);a.push.apply(a,yt(b.value,t,r,n,i,f-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var r=e[e.length-1];return r&&r.type===ct.literal&&t.type===ct.literal?r.value+=t.value:e.push(t),e}),[])}(a)}
|
549
549
|
/*
|
550
550
|
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
|
551
551
|
Copyrights licensed under the New BSD License.
|
552
552
|
See the accompanying LICENSE file for terms.
|
553
553
|
*/
|
554
554
|
// -- MessageFormat --------------------------------------------------------
|
555
|
-
function
|
555
|
+
function dt(e,t){return t?Object.keys(e).reduce((function(r,n){var i,o;return r[n]=(i=e[n],(o=t[n])?Q(Q(Q({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=Q(Q({},i[t]),o[t]||{}),e}),{})):i),r}),Q({},e)):e}function bt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(ct||(ct={}));var Et=/** @class */function(){function e(t,r,n,i){var o,s=this;if(void 0===r&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);
|
556
556
|
// Hot path for straight simple msg translations
|
557
557
|
if(1===t.length)return t[0].value;var r=t.reduce((function(e,t){return e.length&&t.type===ct.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return yt(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},
|
558
558
|
// Defined first because it's used to build the format pattern.
|
@@ -561,7 +561,7 @@ this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(thi
|
|
561
561
|
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.");
|
562
562
|
// Creates a new object with the specified `formats` merged with the default
|
563
563
|
// formats.
|
564
|
-
this.formats=
|
564
|
+
this.formats=dt(e.formats,n),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:et((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,J([void 0],t,!1)))}),{cache:bt(o.number),strategy:lt.variadic}),getDateTimeFormat:et((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,J([void 0],t,!1)))}),{cache:bt(o.dateTime),strategy:lt.variadic}),getPluralRules:et((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,J([void 0],t,!1)))}),{cache:bt(o.pluralRules),strategy:lt.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=Je,
|
565
565
|
// Default format options used as the prototype of the `formats` provided to the
|
566
566
|
// constructor. These are used when constructing the internal Intl.NumberFormat
|
567
567
|
// and Intl.DateTimeFormat instances.
|
@@ -571,7 +571,7 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
|
|
571
571
|
Copyrights licensed under the New BSD License.
|
572
572
|
See the accompanying LICENSE file for terms.
|
573
573
|
*/const Tt={},Ht=(e,t,r)=>r?(t in Tt||(Tt[t]={}),e in Tt[t]||(Tt[t][e]=r),r):r,_t=(e,t)=>{if(null==t)return;if(t in Tt&&e in Tt[t])return Tt[t][e];const r=$t(t);for(let n=0;n<r.length;n++){const i=Lt(r[n],e);if(i)return Ht(e,t,i)}};let Bt;const At=U({});function Pt(e){return e in Bt}function Lt(e,t){if(!Pt(e))return null;const r=function(e){return Bt[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let e=0;e<r.length;e++)if("object"==typeof n){if(e>0){const t=r.slice(e,r.length).join(".");if(t in n){n=n[t];break}}n=n[r[e]]}else n=void 0;return n}(r,t)}function St(e,...t){delete Tt[e],At.update((r=>(r[e]=K.all([r[e]||{},...t]),r)))}D([At],(([e])=>Object.keys(e))),At.subscribe((e=>Bt=e));const Nt={};function wt(e){return Nt[e]}function Ct(e){return null!=e&&$t(e).some((e=>{var t;return null===(t=wt(e))||void 0===t?void 0:t.size}))}const It={};function Mt(e){if(!Ct(e))return e in It?It[e]:Promise.resolve();const t=function(e){return $t(e).map((e=>{const t=wt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return It[e]=Promise.all(t.map((([e,t])=>function(e,t){const r=Promise.all(t.map((t=>(function(e,t){Nt[e].delete(t),0===Nt[e].size&&delete Nt[e]}(e,t),t().then((e=>e.default||e))))));return r.then((t=>St(e,...t)))}(e,t)))).then((()=>{if(Ct(e))return Mt(e);delete It[e]})),It[e]}const Ot={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 Rt(){return Ot}const Ut=U(!1);let Dt;const Gt=U(null);function Ft(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function $t(e,t=Rt().fallbackLocale){const r=Ft(e);return t?[...new Set([...r,...Ft(t)])]:r}function xt(){return null!=Dt?Dt:void 0}Gt.subscribe((e=>{Dt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const kt={...Gt,set:e=>{if(e&&function(e){if(null==e)return;const t=$t(e);for(let e=0;e<t.length;e++){const r=t[e];if(Pt(r))return r}}(e)&&Ct(e)){const{loadingDelay:t}=Rt();let r;return"undefined"!=typeof window&&null!=xt()&&t?r=window.setTimeout((()=>Ut.set(!0)),t):Ut.set(!0),Mt(e).then((()=>{Gt.set(e)})).finally((()=>{clearTimeout(r),Ut.set(!1)}))}return Gt.set(e)}},Vt=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}},jt=(e,t)=>{const{formats:r}=Rt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Xt=Vt((({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(r=jt("number",t)),new Intl.NumberFormat(e,r)})),Kt=Vt((({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?r=jt("date",t):0===Object.keys(r).length&&(r=jt("date","short")),new Intl.DateTimeFormat(e,r)})),Zt=Vt((({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?r=jt("time",t):0===Object.keys(r).length&&(r=jt("time","short")),new Intl.DateTimeFormat(e,r)})),zt=Vt(((e,t=xt())=>new vt(e,t,Rt().formats,{ignoreTag:Rt().ignoreTag}))),Wt=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:h=xt(),default:l}=s;if(null==h)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=_t(e,h);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!==(o=null!==(i=null===(n=(r=Rt()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:h,id:e,defaultValue:l}))&&void 0!==i?i:l)&&void 0!==o?o:e;if(!a)return c;let u=c;try{u=zt(c,h).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u},Yt=(e,t)=>(({locale:e=xt(),...t}={})=>Zt({locale:e,...t}))(t).format(e),qt=(e,t)=>(({locale:e=xt(),...t}={})=>Kt({locale:e,...t}))(t).format(e),Qt=(e,t)=>(({locale:e=xt(),...t}={})=>Xt({locale:e,...t}))(t).format(e),Jt=(e,t=xt())=>_t(e,t),er=D([kt,At],(()=>Wt));function tr(e,t){St(e,t)}D([kt],(()=>Yt)),D([kt],(()=>qt)),D([kt],(()=>Qt)),D([kt,At],(()=>Jt));const rr={en:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"},"zh-hk":{sorry:"我们很抱歉",access:"您尝试访问的页面仅对登录用户可用。 请登录。.",login:"登录"},de:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"},it:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"},fr:{sorry:"Nous sommes désolés",access:"La page à laquelle vous essayez d'accéder n'est disponible que pour les utilisateurs connectés. Veuillez vous connecter.",login:"Connexion"},es:{sorry:"Disculpas",access:"La página que estas intentando acceder solo está disponible para usuarios regstrados. Por favor Iniciar sesión.",login:"Iniciar sesión"},tr:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"},ru:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"},ro:{sorry:"Ne pare rau",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"},hr:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"},hu:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"},pl:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"},pt:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"},sl:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"},sr:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}};
|
574
|
-
/* src/Casino_403.svelte generated by Svelte v3.
|
574
|
+
/* src/Casino_403.svelte generated by Svelte v3.59.2 */function nr(t){let r,n,i,o,s,y,d,b,E,v,T,H,_,B,A,P,L,S,N,w=/*$_*/t[1]("sorry")+"",C=/*$_*/t[1]("access")+"",I=/*$_*/t[1]("login")+"";return{c(){r=c("div"),n=c("div"),i=u("svg"),o=u("g"),s=u("path"),y=u("path"),d=u("path"),b=u("path"),E=p(),v=c("p"),T=f(w),H=p(),_=c("p"),B=f(C),A=p(),P=c("button"),L=f(I),this.c=e,g(s,"class","a"),g(s,"d","M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z"),g(y,"class","a"),g(y,"d","M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"),g(y,"transform","translate(-116.772 -116.794)"),g(d,"class","a"),g(d,"d","M297.866,140.62h-4.138a3.1,3.1,0,1,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"),g(d,"transform","translate(-250.22 -116.794)"),g(b,"class","a"),g(b,"d","M199.816,81.307h-1.765V74.5c0-8.132-5.863-14.5-14.247-14.5s-14.12,6.493-14.12,14.5v6.745h-1.765a7.156,7.156,0,0,0-7.123,7.123v21.307a7.156,7.156,0,0,0,7.123,7.123h31.9a7.156,7.156,0,0,0,7.123-7.123V88.367a7.1,7.1,0,0,0-7.123-7.06Zm-26.6,0V74.5c0-6.052,4.16-10.969,10.59-10.969,6.367,0,10.716,4.791,10.716,10.969v6.745H173.215v.063Zm30.132,28.367a3.524,3.524,0,0,1-3.53,3.53h-31.9a3.524,3.524,0,0,1-3.53-3.53V88.367a3.524,3.524,0,0,1,3.53-3.53h31.9a3.524,3.524,0,0,1,3.53,3.53ZM187.4,95.49a3.548,3.548,0,0,1-1.765,3.089h0v5.8a1.765,1.765,0,1,1-3.53,0v-5.8h0a3.55,3.55,0,0,1,1.765-6.619,3.447,3.447,0,0,1,3.53,3.53Z"),g(b,"transform","translate(-109.326 -3.172)"),g(o,"transform","translate(-9.37 -9.34)"),g(i,"xmlns","http://www.w3.org/2000/svg"),g(i,"width","130.345"),g(i,"height","130.345"),g(i,"viewBox","0 0 130.345 130.345"),g(v,"class","PageTitle"),g(_,"class","PageContent"),g(P,"class","ButtonDefaultSmall"),g(n,"class","NotFoundPage"),g(r,"class","PageWrapper")},m(e,l){var c,u,f,p;h(e,r,l),a(r,n),a(n,i),a(i,o),a(o,s),a(o,y),a(o,d),a(o,b),a(n,E),a(n,v),a(v,T),a(n,H),a(n,_),a(_,B),a(n,A),a(n,P),a(P,L),
|
575
575
|
/*div1_binding*/t[8](r),S||(c=P,u="click",f=/*click_handler*/t[7],c.addEventListener(u,f,p),N=()=>c.removeEventListener(u,f,p),S=!0)},p(e,[t]){/*$_*/2&t&&w!==(w=/*$_*/e[1]("sorry")+"")&&m(T,w),/*$_*/2&t&&C!==(C=/*$_*/e[1]("access")+"")&&m(B,C),/*$_*/2&t&&I!==(I=/*$_*/e[1]("login")+"")&&m(L,I)},i:e,o:e,d(e){e&&l(r)
|
576
|
-
/*div1_binding*/,t[8](null),S=!1,N()}}}function ir(e,t,r){let n;var i,o;i=er,o=e=>r(1,n=e),e.$$.on_destroy.push(s(i,o));let a,{lang:h="en"}=t,{clientstyling:l=""}=t,{clientstylingurl:c=""}=t,{translationurl:u=""}=t;Object.keys(rr).forEach((e=>{tr(e,rr[e])}));const f=()=>{window.postMessage({type:"403ActionButton"},window.location.href)},p=()=>{var e;e=h,kt.set(e)};return e.$$set=e=>{"lang"in e&&r(3,h=e.lang),"clientstyling"in e&&r(4,l=e.clientstyling),"clientstylingurl"in e&&r(5,c=e.clientstylingurl),"translationurl"in e&&r(6,u=e.translationurl)},e.$$.update=()=>{/*lang*/8&e.$$.dirty&&h&&p(),/*clientstyling, customStylingContainer*/17&e.$$.dirty&&l&&a&&(()=>{let e=document.createElement("style");e.innerHTML=l,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/33&e.$$.dirty&&c&&a&&(()=>{let e=new URL(c),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1)}))})(),/*translationurl*/64&e.$$.dirty&&u&&fetch(u).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{tr(t,e[t])}))})).catch((e=>{console.log(e)}))},[a,n,f,h,l,c,u,()=>f(),function(e){v[e?"unshift":"push"]((()=>{a=e,r(0,a)}))}]}class or extends O{constructor(e){super();const t=document.createElement("style");t.textContent='
|
576
|
+
/*div1_binding*/,t[8](null),S=!1,N()}}}function ir(e,t,r){let n;var i,o;i=er,o=e=>r(1,n=e),e.$$.on_destroy.push(s(i,o));let a,{lang:h="en"}=t,{clientstyling:l=""}=t,{clientstylingurl:c=""}=t,{translationurl:u=""}=t;Object.keys(rr).forEach((e=>{tr(e,rr[e])}));const f=()=>{window.postMessage({type:"403ActionButton"},window.location.href)},p=()=>{var e;e=h,kt.set(e)};return e.$$set=e=>{"lang"in e&&r(3,h=e.lang),"clientstyling"in e&&r(4,l=e.clientstyling),"clientstylingurl"in e&&r(5,c=e.clientstylingurl),"translationurl"in e&&r(6,u=e.translationurl)},e.$$.update=()=>{/*lang*/8&e.$$.dirty&&h&&p(),/*clientstyling, customStylingContainer*/17&e.$$.dirty&&l&&a&&(()=>{let e=document.createElement("style");e.innerHTML=l,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/33&e.$$.dirty&&c&&a&&(()=>{let e=new URL(c),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1)}))})(),/*translationurl*/64&e.$$.dirty&&u&&fetch(u).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{tr(t,e[t])}))})).catch((e=>{console.log(e)}))},[a,n,f,h,l,c,u,()=>f(),function(e){v[e?"unshift":"push"]((()=>{a=e,r(0,a)}))}]}class or extends O{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Helvetica Neue", "Helvetica", sans-serif}.PageWrapper{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-contrast, #07072A);padding:50px 0;width:100%;text-align:center}.NotFoundPage{display:flex;flex-direction:column;margin:auto;gap:40px;align-items:center;max-width:800px;padding:50px}.NotFoundPage svg{fill:var(--emfe-w-color-primary, #D0046C)}.PageTitle{color:var(--emfe-w-color-primary, #D0046C);font-weight:500;font-size:28px}.PageContent{color:#D1D1D1;font-size:18px;line-height:24px}.ButtonDefaultSmall{background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);color:#fff;border-radius:5px;width:30%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}@media only screen and (max-width: 475px){.PageWrapper{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-contrast, #07072A);padding:20px 0;width:100%;text-align:center}.NotFoundPage{text-align:center;width:100%;font-size:12px;padding:20px}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.PageContent{font-size:16px;line-height:18px}}',this.shadowRoot.appendChild(t),M(this,{target:this.shadowRoot,props:y(this.attributes),customElement:!0},ir,nr,o,{lang:3,clientstyling:4,clientstylingurl:5,translationurl:6},null),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),S()))}static get observedAttributes(){return["lang","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),S()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),S()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),S()}get translationurl(){return this.$$.ctx[6]}set translationurl(e){this.$$set({translationurl:e}),S()}}return!customElements.get("casino-403")&&customElements.define("casino-403",or),or}));
|
577
577
|
//# sourceMappingURL=casino-403.js.map
|