@everymatrix/casino-404 1.0.15 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 n(){return Object.create(null)}function r(e){e.forEach(t)}function o(e){return"function"==typeof e}function i(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function a(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function s(e,t){e.appendChild(t)}function h(e,t,n){e.insertBefore(t,n||null)}function u(e){e.parentNode.removeChild(e)}function l(e){return document.createElement(e)}function c(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,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function m(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function d(e){const t={};for(const n of e)t[n.name]=n.value;return t}let b;function E(e){b=e}const y=[],v=[],T=[],H=[],_=Promise.resolve();let B=!1;function A(e){T.push(e)}
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 n(){return Object.create(null)}function r(e){e.forEach(t)}function o(e){return"function"==typeof e}function i(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function a(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function s(e,t){e.appendChild(t)}function h(e,t,n){e.insertBefore(t,n||null)}function l(e){e.parentNode.removeChild(e)}function u(e){return document.createElement(e)}function c(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,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function m(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function d(e){const t={};for(const n of e)t[n.name]=n.value;return t}let b;function E(e){b=e}const y=[],v=[],T=[],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.
@@ -27,24 +27,24 @@ for(;N<y.length;){const e=y[N];N++,E(e),L(e.$$)}for(E(null),y.length=0,N=0;v.len
27
27
  // subsequent updates...
28
28
  for(let e=0;e<T.length;e+=1){const t=T[e];P.has(t)||(
29
29
  // ...so guard against infinite loops
30
- P.add(t),t())}T.length=0}while(y.length);for(;H.length;)H.pop()();B=!1,P.clear(),E(e)}function L(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(A)}}const w=new Set;function M(e,t){-1===e.$$.dirty[0]&&(y.push(e),B||(B=!0,_.then(S)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function I(i,a,s,h,l,c,f,p=[-1]){const g=b;E(i);const m=i.$$={fragment:null,ctx:null,
30
+ P.add(t),t())}T.length=0}while(y.length);for(;H.length;)H.pop()();B=!1,P.clear(),E(e)}function L(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(A)}}const w=new Set;function M(e,t){-1===e.$$.dirty[0]&&(y.push(e),B||(B=!0,_.then(S)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function I(i,a,s,h,u,c,f,p=[-1]){const g=b;E(i);const m=i.$$={fragment:null,ctx:null,
31
31
  // state
32
- props:c,update:e,not_equal:l,bound:n(),
32
+ props:c,update:e,not_equal:u,bound:n(),
33
33
  // lifecycle
34
34
  on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(a.context||(g?g.$$.context:[])),
35
35
  // everything else
36
- callbacks:n(),dirty:p,skip_bound:!1,root:a.target||g.$$.root};f&&f(m.root);let d=!1;if(m.ctx=s?s(i,a.props||{},((e,t,...n)=>{const r=n.length?n[0]:t;return m.ctx&&l(m.ctx[e],m.ctx[e]=r)&&(!m.skip_bound&&m.bound[e]&&m.bound[e](r),d&&M(i,e)),t})):[],m.update(),d=!0,r(m.before_update),
36
+ callbacks:n(),dirty:p,skip_bound:!1,root:a.target||g.$$.root};f&&f(m.root);let d=!1;if(m.ctx=s?s(i,a.props||{},((e,t,...n)=>{const r=n.length?n[0]:t;return m.ctx&&u(m.ctx[e],m.ctx[e]=r)&&(!m.skip_bound&&m.bound[e]&&m.bound[e](r),d&&M(i,e)),t})):[],m.update(),d=!0,r(m.before_update),
37
37
  // `false` as a special case of no DOM component
38
38
  m.fragment=!!h&&h(m.ctx),a.target){if(a.hydrate){const e=function(e){return Array.from(e.childNodes)}(a.target);
39
39
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
40
- m.fragment&&m.fragment.l(e),e.forEach(u)}else
40
+ m.fragment&&m.fragment.l(e),e.forEach(l)}else
41
41
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
42
- m.fragment&&m.fragment.c();a.intro&&((y=i.$$.fragment)&&y.i&&(w.delete(y),y.i(v))),function(e,n,i,a){const{fragment:s,on_mount:h,on_destroy:u,after_update:l}=e.$$;s&&s.m(n,i),a||
42
+ m.fragment&&m.fragment.c();a.intro&&((y=i.$$.fragment)&&y.i&&(w.delete(y),y.i(v))),function(e,n,i,a){const{fragment:s,on_mount:h,on_destroy:l,after_update:u}=e.$$;s&&s.m(n,i),a||
43
43
  // onMount happens before the initial afterUpdate
44
- A((()=>{const n=h.map(t).filter(o);u?u.push(...n):
44
+ A((()=>{const n=h.map(t).filter(o);l?l.push(...n):
45
45
  // Edge case - component was destroyed immediately,
46
46
  // most likely as a result of a binding initialising
47
- r(n),e.$$.on_mount=[]})),l.forEach(A)}(i,a.target,a.anchor,a.customElement),S()}var y,v;E(g)}let C;"function"==typeof HTMLElement&&(C=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(o);
47
+ r(n),e.$$.on_mount=[]})),u.forEach(A)}(i,a.target,a.anchor,a.customElement),S()}var y,v;E(g)}let C;"function"==typeof HTMLElement&&(C=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(o);
48
48
  // @ts-ignore todo: improve typings
49
49
  for(const e in this.$$.slotted)
50
50
  // @ts-ignore todo: improve typings
@@ -65,7 +65,7 @@ const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{co
65
65
  * @param {StartStopNotifier=}start start and stop notifications for subscriptions
66
66
  */
67
67
  function R(t,n=e){let r;const o=new Set;function a(e){if(i(t,e)&&(t=e,r)){// store is ready
68
- const e=!O.length;for(const e of o)e[1](),O.push(e,t);if(e){for(let e=0;e<O.length;e+=2)O[e][0](O[e+1]);O.length=0}}}return{set:a,update:function(e){a(e(t))},subscribe:function(i,s=e){const h=[i,s];return o.add(h),1===o.size&&(r=n(a)||e),i(t),()=>{o.delete(h),0===o.size&&(r(),r=null)}}}}function U(t,n,i){const s=!Array.isArray(t),h=s?[t]:t,u=n.length<2;return l=t=>{let i=!1;const l=[];let c=0,f=e;const p=()=>{if(c)return;f();const r=n(s?l[0]:l,t);u?t(r):f=o(r)?r:e},g=h.map(((e,t)=>a(e,(e=>{l[t]=e,c&=~(1<<t),i&&p()}),(()=>{c|=1<<t}))));return i=!0,p(),function(){r(g),f()}},{subscribe:R(i,l).subscribe};var l}var G=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===F}(e)}
68
+ const e=!O.length;for(const e of o)e[1](),O.push(e,t);if(e){for(let e=0;e<O.length;e+=2)O[e][0](O[e+1]);O.length=0}}}return{set:a,update:function(e){a(e(t))},subscribe:function(i,s=e){const h=[i,s];return o.add(h),1===o.size&&(r=n(a)||e),i(t),()=>{o.delete(h),0===o.size&&(r(),r=null)}}}}function U(t,n,i){const s=!Array.isArray(t),h=s?[t]:t,l=n.length<2;return u=t=>{let i=!1;const u=[];let c=0,f=e;const p=()=>{if(c)return;f();const r=n(s?u[0]:u,t);l?t(r):f=o(r)?r:e},g=h.map(((e,t)=>a(e,(e=>{u[t]=e,c&=~(1<<t),i&&p()}),(()=>{c|=1<<t}))));return i=!0,p(),function(){r(g),f()}},{subscribe:R(i,u).subscribe};var u}var G=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===F}(e)}
69
69
  // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
70
70
  (e)};var F="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function D(e,t){return!1!==t.clone&&t.isMergeableObject(e)?V((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function k(e,t,n){return e.concat(t).map((function(e){return D(e,n)}))}function x(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function $(e,t){try{return t in e}catch(e){return!1}}
71
71
  // Protects from prototype poisoning and unexpected merging up the prototype chain.
@@ -77,7 +77,7 @@ n.cloneUnlessOtherwiseSpecified=D;var r=Array.isArray(t);return r===Array.isArra
77
77
  /**
78
78
  * Type Guards
79
79
  */
80
- function J(e){return e.type===Y.literal}function ee(e){return e.type===Y.argument}function te(e){return e.type===Y.number}function ne(e){return e.type===Y.date}function re(e){return e.type===Y.time}function oe(e){return e.type===Y.select}function ie(e){return e.type===Y.plural}function ae(e){return e.type===Y.pound}function se(e){return e.type===Y.tag}function he(e){return!(!e||"object"!=typeof e||e.type!==W.number)}function ue(e){return!(!e||"object"!=typeof e||e.type!==W.dateTime)}
80
+ function J(e){return e.type===Y.literal}function ee(e){return e.type===Y.argument}function te(e){return e.type===Y.number}function ne(e){return e.type===Y.date}function re(e){return e.type===Y.time}function oe(e){return e.type===Y.select}function ie(e){return e.type===Y.plural}function ae(e){return e.type===Y.pound}function se(e){return e.type===Y.tag}function he(e){return!(!e||"object"!=typeof e||e.type!==W.number)}function le(e){return!(!e||"object"!=typeof e||e.type!==W.dateTime)}
81
81
  // @generated from regex-gen.ts
82
82
  !function(e){
83
83
  /** Argument is unclosed (e.g. `{0`) */
@@ -176,7 +176,7 @@ e[e.pound=7]="pound",
176
176
  /**
177
177
  * XML-like tag
178
178
  */
179
- e[e.tag=8]="tag"}(Y||(Y={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(W||(W={}));var le=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ce=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
179
+ e[e.tag=8]="tag"}(Y||(Y={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(W||(W={}));var ue=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ce=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
180
180
  /**
181
181
  * https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
182
182
  * Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js
@@ -269,7 +269,7 @@ e.hourCycles.length&&(
269
269
  // @ts-ignore
270
270
  t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}
271
271
  // TODO: Once hourCycle is fully supported remove the following with data generation
272
- var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Be[n||""]||Be[r||""]||Be["".concat(r,"-001")]||Be["001"])[0]}var Pe=new RegExp("^".concat(le.source,"*")),Ne=new RegExp("".concat(le.source,"*$"));function Se(e,t){return{start:e,end:t}}
272
+ var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Be[n||""]||Be[r||""]||Be["".concat(r,"-001")]||Be["001"])[0]}var Pe=new RegExp("^".concat(ue.source,"*")),Ne=new RegExp("".concat(ue.source,"*$"));function Se(e,t){return{start:e,end:t}}
273
273
  // #region Ponyfills
274
274
  // Consolidate these variables up top for easier toggling during debugging
275
275
  var Le=!!String.prototype.startsWith,we=!!String.fromCodePoint,Me=!!Object.fromEntries,Ie=!!String.prototype.codePointAt,Ce=!!String.prototype.trimStart,Oe=!!String.prototype.trimEnd,Re=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ue=!0;try{
@@ -376,17 +376,17 @@ return this.error(z.EXPECT_ARGUMENT_TYPE,Se(i,s));case"number":case"date":case"t
376
376
  // Parse this range:
377
377
  // {name, number, style}
378
378
  // ^-------^
379
- this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((b=this.parseSimpleArgStyleIfPossible()).err)return b;if(0===(p=je(b.val)).length)return this.error(z.EXPECT_ARGUMENT_STYLE,Se(this.clonePosition(),this.clonePosition()));h={style:p,styleLocation:Se(u,this.clonePosition())}}if((E=this.tryParseArgumentClose(r)).err)return E;var l=Se(r,this.clonePosition());
379
+ this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((b=this.parseSimpleArgStyleIfPossible()).err)return b;if(0===(p=je(b.val)).length)return this.error(z.EXPECT_ARGUMENT_STYLE,Se(this.clonePosition(),this.clonePosition()));h={style:p,styleLocation:Se(l,this.clonePosition())}}if((E=this.tryParseArgumentClose(r)).err)return E;var u=Se(r,this.clonePosition());
380
380
  // Extract style or skeleton
381
381
  if(h&&Fe(null==h?void 0:h.style,"::",0)){
382
382
  // Skeleton starts with `::`.
383
- var c=$e(h.style.slice(2));if("number"===a)return(b=this.parseNumberSkeletonFromString(c,h.styleLocation)).err?b:{val:{type:Y.number,value:n,location:l,style:b.val},err:null};if(0===c.length)return this.error(z.EXPECT_DATE_TIME_SKELETON,l);var f=c;
383
+ var c=$e(h.style.slice(2));if("number"===a)return(b=this.parseNumberSkeletonFromString(c,h.styleLocation)).err?b:{val:{type:Y.number,value:n,location:u,style:b.val},err:null};if(0===c.length)return this.error(z.EXPECT_DATE_TIME_SKELETON,u);var f=c;
384
384
  // Get "best match" pattern only if locale is passed, if not, let it
385
385
  // pass as-is where `parseDateTimeSkeleton()` will throw an error
386
386
  // for unsupported patterns.
387
- this.locale&&(f=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var i=0;r+1<e.length&&e.charAt(r+1)===o;)i++,r++;var a=1+(1&i),s=i<2?1:3+(i>>1),h=Ae(t);for("H"!=h&&"k"!=h||(s=0);s-- >0;)n+="a";for(;a-- >0;)n=h+n}else n+="J"===o?"H":o}return n}(c,this.locale));var p={type:W.dateTime,pattern:f,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?fe(f):{}};return{val:{type:"date"===a?Y.date:Y.time,value:n,location:l,style:p},err:null}}
387
+ this.locale&&(f=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var i=0;r+1<e.length&&e.charAt(r+1)===o;)i++,r++;var a=1+(1&i),s=i<2?1:3+(i>>1),h=Ae(t);for("H"!=h&&"k"!=h||(s=0);s-- >0;)n+="a";for(;a-- >0;)n=h+n}else n+="J"===o?"H":o}return n}(c,this.locale));var p={type:W.dateTime,pattern:f,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?fe(f):{}};return{val:{type:"date"===a?Y.date:Y.time,value:n,location:u,style:p},err:null}}
388
388
  // Regular style or no style.
389
- return{val:{type:"number"===a?Y.number:"date"===a?Y.date:Y.time,value:n,location:l,style:null!==(o=null==h?void 0:h.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":
389
+ return{val:{type:"number"===a?Y.number:"date"===a?Y.date:Y.time,value:n,location:u,style:null!==(o=null==h?void 0:h.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":
390
390
  // Parse this range:
391
391
  // {name, plural, options}
392
392
  // ^---------^
@@ -410,7 +410,7 @@ e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePos
410
410
  // Find the end of the quoted literal text.
411
411
  this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(z.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Se(n,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
412
412
  // Parse the skeleton
413
- for(var t=e.split(pe).filter((function(e){return e.length>0})),n=[],r=0,o=t;r<o.length;r++){var i=o[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],s=i.slice(1),h=0,u=s;h<u.length;h++)if(0===u[h].length)throw new Error("Invalid number skeleton");n.push({stem:a,options:s})}return n}(e)}catch(e){return this.error(z.INVALID_NUMBER_SKELETON,t)}return{val:{type:W.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?He(n):{}},err:null}},
413
+ for(var t=e.split(pe).filter((function(e){return e.length>0})),n=[],r=0,o=t;r<o.length;r++){var i=o[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],s=i.slice(1),h=0,l=s;h<l.length;h++)if(0===l[h].length)throw new Error("Invalid number skeleton");n.push({stem:a,options:s})}return n}(e)}catch(e){return this.error(z.INVALID_NUMBER_SKELETON,t)}return{val:{type:W.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?He(n):{}},err:null}},
414
414
  /**
415
415
  * @param nesting_level The current nesting level of messages.
416
416
  * This can be positive when parsing message fragment in select or plural argument options.
@@ -425,11 +425,11 @@ e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){
425
425
  // Parse:
426
426
  // one {one apple}
427
427
  // ^--^
428
- for(var o,i=!1,a=[],s=new Set,h=r.value,u=r.location;;){if(0===h.length){var l=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
428
+ for(var o,i=!1,a=[],s=new Set,h=r.value,l=r.location;;){if(0===h.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
429
429
  // Try parse `={number}` selector
430
- var c=this.tryParseDecimalInteger(z.EXPECT_PLURAL_ARGUMENT_SELECTOR,z.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;u=Se(l,this.clonePosition()),h=this.message.slice(l.offset,this.offset())}
430
+ var c=this.tryParseDecimalInteger(z.EXPECT_PLURAL_ARGUMENT_SELECTOR,z.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=Se(u,this.clonePosition()),h=this.message.slice(u.offset,this.offset())}
431
431
  // Duplicate selector clauses
432
- if(s.has(h))return this.error("select"===t?z.DUPLICATE_SELECT_ARGUMENT_SELECTOR:z.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===h&&(i=!0),
432
+ if(s.has(h))return this.error("select"===t?z.DUPLICATE_SELECT_ARGUMENT_SELECTOR:z.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===h&&(i=!0),
433
433
  // Parse:
434
434
  // one {one apple}
435
435
  // ^----------^
@@ -437,7 +437,7 @@ this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.err
437
437
  // Keep track of the existing selectors
438
438
  s.add(h),
439
439
  // Prep next selector clause.
440
- this.bumpSpace(),h=(o=this.parseIdentifierIfPossible()).value,u=o.location}return 0===a.length?this.error("select"===t?z.EXPECT_SELECT_ARGUMENT_SELECTOR:z.EXPECT_PLURAL_ARGUMENT_SELECTOR,Se(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(z.MISSING_OTHER_CLAUSE,Se(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,i=0;!this.isEOF();){var a=this.char();if(!(a>=48/* `0` */&&a<=57/* `9` */))break;o=!0,i=10*i+(a-48),this.bump()}var s=Se(r,this.clonePosition());return o?Re(i*=n)?{val:i,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){
440
+ this.bumpSpace(),h=(o=this.parseIdentifierIfPossible()).value,l=o.location}return 0===a.length?this.error("select"===t?z.EXPECT_SELECT_ARGUMENT_SELECTOR:z.EXPECT_PLURAL_ARGUMENT_SELECTOR,Se(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(z.MISSING_OTHER_CLAUSE,Se(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,i=0;!this.isEOF();){var a=this.char();if(!(a>=48/* `0` */&&a<=57/* `9` */))break;o=!0,i=10*i+(a-48),this.bump()}var s=Se(r,this.clonePosition());return o?Re(i*=n)?{val:i,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){
441
441
  // This is much faster than `Object.assign` or spread.
442
442
  return{offset:this.position.offset,line:this.position.line,column:this.position.column}},
443
443
  /**
@@ -485,7 +485,7 @@ e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this
485
485
  /**
486
486
  * Code point equivalent of regex `\p{Pattern_Syntax}`.
487
487
  * See https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
488
- */function We(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Qe(e){e.forEach((function(e){if(delete e.location,oe(e)||ie(e))for(var t in e.options)delete e.options[t].location,Qe(e.options[t].value);else te(e)&&he(e.style)||(ne(e)||re(e))&&ue(e.style)?delete e.style.location:se(e)&&Qe(e.children)}))}function qe(e,t){void 0===t&&(t={}),t=Q({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Ke(e,t).parse();if(n.err){var r=SyntaxError(z[n.err.kind]);
488
+ */function We(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Qe(e){e.forEach((function(e){if(delete e.location,oe(e)||ie(e))for(var t in e.options)delete e.options[t].location,Qe(e.options[t].value);else te(e)&&he(e.style)||(ne(e)||re(e))&&le(e.style)?delete e.style.location:se(e)&&Qe(e.children)}))}function qe(e,t){void 0===t&&(t={}),t=Q({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Ke(e,t).parse();if(n.err){var r=SyntaxError(z[n.err.kind]);
489
489
  // @ts-expect-error Assign to error object
490
490
  throw r.location=n.err.location,
491
491
  // @ts-expect-error Assign to error object
@@ -511,33 +511,33 @@ e.MISSING_VALUE="MISSING_VALUE",
511
511
  // When value supplied is invalid
512
512
  e.INVALID_VALUE="INVALID_VALUE",
513
513
  // When we need specific Intl API but it's not available
514
- e.MISSING_INTL_API="MISSING_INTL_API"}(at||(at={}));var ut,lt=/** @class */function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return Z(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),ct=/** @class */function(e){function t(t,n,r,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),at.INVALID_VALUE,o)||this}return Z(t,e),t}(lt),ft=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),at.INVALID_VALUE,r)||this}return Z(t,e),t}(lt),pt=/** @class */function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),at.MISSING_VALUE,n)||this}return Z(t,e),t}(lt);function gt(e){return"function"==typeof e}
514
+ e.MISSING_INTL_API="MISSING_INTL_API"}(at||(at={}));var lt,ut=/** @class */function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return Z(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),ct=/** @class */function(e){function t(t,n,r,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),at.INVALID_VALUE,o)||this}return Z(t,e),t}(ut),ft=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),at.INVALID_VALUE,r)||this}return Z(t,e),t}(ut),pt=/** @class */function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),at.MISSING_VALUE,n)||this}return Z(t,e),t}(ut);function gt(e){return"function"==typeof e}
515
515
  // TODO(skeleton): add skeleton support
516
516
  function mt(e,t,n,r,o,i,
517
517
  // For debugging
518
518
  a){
519
519
  // Hot path for straight simple msg translations
520
- if(1===e.length&&J(e[0]))return[{type:ut.literal,value:e[0].value}];for(var s=[],h=0,u=e;h<u.length;h++){var l=u[h];
520
+ if(1===e.length&&J(e[0]))return[{type:lt.literal,value:e[0].value}];for(var s=[],h=0,l=e;h<l.length;h++){var u=l[h];
521
521
  // Exit early for string parts.
522
- if(J(l))s.push({type:ut.literal,value:l.value});else
522
+ if(J(u))s.push({type:lt.literal,value:u.value});else
523
523
  // TODO: should this part be literal type?
524
524
  // Replace `#` in plural rules with the actual numeric value.
525
- if(ae(l))"number"==typeof i&&s.push({type:ut.literal,value:n.getNumberFormat(t).format(i)});else{var c=l.value;
525
+ if(ae(u))"number"==typeof i&&s.push({type:lt.literal,value:n.getNumberFormat(t).format(i)});else{var c=u.value;
526
526
  // Enforce that all required values are provided by the caller.
527
- if(!o||!(c in o))throw new pt(c,a);var f=o[c];if(ee(l))f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),s.push({type:"string"==typeof f?ut.literal:ut.object,value:f});else
527
+ if(!o||!(c in o))throw new pt(c,a);var f=o[c];if(ee(u))f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),s.push({type:"string"==typeof f?lt.literal:lt.object,value:f});else
528
528
  // Recursively format plural and select parts' option — which can be a
529
529
  // nested pattern structure. The choosing of the option to use is
530
530
  // abstracted-by and delegated-to the part helper object.
531
- if(ne(l)){var p="string"==typeof l.style?r.date[l.style]:ue(l.style)?l.style.parsedOptions:void 0;s.push({type:ut.literal,value:n.getDateTimeFormat(t,p).format(f)})}else if(re(l)){p="string"==typeof l.style?r.time[l.style]:ue(l.style)?l.style.parsedOptions:r.time.medium;s.push({type:ut.literal,value:n.getDateTimeFormat(t,p).format(f)})}else if(te(l)){(p="string"==typeof l.style?r.number[l.style]:he(l.style)?l.style.parsedOptions:void 0)&&p.scale&&(f*=p.scale||1),s.push({type:ut.literal,value:n.getNumberFormat(t,p).format(f)})}else{if(se(l)){var g=l.children,m=l.value,d=o[m];if(!gt(d))throw new ft(m,"function",a);var b=d(mt(g,t,n,r,o,i).map((function(e){return e.value})));Array.isArray(b)||(b=[b]),s.push.apply(s,b.map((function(e){return{type:"string"==typeof e?ut.literal:ut.object,value:e}})))}if(oe(l)){if(!(E=l.options[f]||l.options.other))throw new ct(l.value,f,Object.keys(l.options),a);s.push.apply(s,mt(E.value,t,n,r,o))}else if(ie(l)){var E;if(!(E=l.options["=".concat(f)])){if(!Intl.PluralRules)throw new lt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',at.MISSING_INTL_API,a);var y=n.getPluralRules(t,{type:l.pluralType}).select(f-(l.offset||0));E=l.options[y]||l.options.other}if(!E)throw new ct(l.value,f,Object.keys(l.options),a);s.push.apply(s,mt(E.value,t,n,r,o,f-(l.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===ut.literal&&t.type===ut.literal?n.value+=t.value:e.push(t),e}),[])}(s)}
531
+ if(ne(u)){var p="string"==typeof u.style?r.date[u.style]:le(u.style)?u.style.parsedOptions:void 0;s.push({type:lt.literal,value:n.getDateTimeFormat(t,p).format(f)})}else if(re(u)){p="string"==typeof u.style?r.time[u.style]:le(u.style)?u.style.parsedOptions:r.time.medium;s.push({type:lt.literal,value:n.getDateTimeFormat(t,p).format(f)})}else if(te(u)){(p="string"==typeof u.style?r.number[u.style]:he(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(f*=p.scale||1),s.push({type:lt.literal,value:n.getNumberFormat(t,p).format(f)})}else{if(se(u)){var g=u.children,m=u.value,d=o[m];if(!gt(d))throw new ft(m,"function",a);var b=d(mt(g,t,n,r,o,i).map((function(e){return e.value})));Array.isArray(b)||(b=[b]),s.push.apply(s,b.map((function(e){return{type:"string"==typeof e?lt.literal:lt.object,value:e}})))}if(oe(u)){if(!(E=u.options[f]||u.options.other))throw new ct(u.value,f,Object.keys(u.options),a);s.push.apply(s,mt(E.value,t,n,r,o))}else if(ie(u)){var E;if(!(E=u.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,a);var y=n.getPluralRules(t,{type:u.pluralType}).select(f-(u.offset||0));E=u.options[y]||u.options.other}if(!E)throw new ct(u.value,f,Object.keys(u.options),a);s.push.apply(s,mt(E.value,t,n,r,o,f-(u.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===lt.literal&&t.type===lt.literal?n.value+=t.value:e.push(t),e}),[])}(s)}
532
532
  /*
533
533
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
534
534
  Copyrights licensed under the New BSD License.
535
535
  See the accompanying LICENSE file for terms.
536
536
  */
537
537
  // -- MessageFormat --------------------------------------------------------
538
- function dt(e,t){return t?Object.keys(e).reduce((function(n,r){var o,i;return n[r]=(o=e[r],(i=t[r])?Q(Q(Q({},o||{}),i||{}),Object.keys(o).reduce((function(e,t){return e[t]=Q(Q({},o[t]),i[t]||{}),e}),{})):o),n}),Q({},e)):e}function bt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(ut||(ut={}));var Et=/** @class */function(){function e(t,n,r,o){var i,a=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=a.formatToParts(e);
538
+ function dt(e,t){return t?Object.keys(e).reduce((function(n,r){var o,i;return n[r]=(o=e[r],(i=t[r])?Q(Q(Q({},o||{}),i||{}),Object.keys(o).reduce((function(e,t){return e[t]=Q(Q({},o[t]),i[t]||{}),e}),{})):o),n}),Q({},e)):e}function bt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(lt||(lt={}));var Et=/** @class */function(){function e(t,n,r,o){var i,a=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=a.formatToParts(e);
539
539
  // Hot path for straight simple msg translations
540
- if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===ut.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return mt(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale.toString()}},this.getAst=function(){return a.ast},
540
+ if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===lt.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return mt(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale.toString()}},this.getAst=function(){return a.ast},
541
541
  // Defined first because it's used to build the format pattern.
542
542
  this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
543
543
  // Parse string messages into an AST.
@@ -567,6 +567,8 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
567
567
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
568
568
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
569
569
  PERFORMANCE OF THIS SOFTWARE.
570
- ***************************************************************************** */function Ct(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}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=R(!1);let Gt;const Ft=R(null);function Dt(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function kt(e,t=Rt().fallbackLocale){const n=Dt(e);return t?[...new Set([...n,...Dt(t)])]:n}function xt(){return null!=Gt?Gt:void 0}Ft.subscribe((e=>{Gt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const $t=Object.assign(Object.assign({},Ft),{set:e=>{if(e&&function(e){if(null==e)return;const t=kt(e);for(let e=0;e<t.length;e++){const n=t[e];if(At(n))return n}}(e)&&wt(e)){const{loadingDelay:t}=Rt();let n;return"undefined"!=typeof window&&null!=xt()&&t?n=window.setTimeout((()=>Ut.set(!0)),t):Ut.set(!0),It(e).then((()=>{Ft.set(e)})).finally((()=>{clearTimeout(n),Ut.set(!1)}))}return Ft.set(e)}}),jt=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}},Vt=(e,t)=>{const{formats:n}=Rt();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Xt=jt((e=>{var{locale:t,format:n}=e,r=Ct(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=Vt("number",n)),new Intl.NumberFormat(t,r)})),Kt=jt((e=>{var{locale:t,format:n}=e,r=Ct(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=Vt("date",n):0===Object.keys(r).length&&(r=Vt("date","short")),new Intl.DateTimeFormat(t,r)})),Zt=jt((e=>{var{locale:t,format:n}=e,r=Ct(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=Vt("time",n):0===Object.keys(r).length&&(r=Vt("time","short")),new Intl.DateTimeFormat(t,r)})),zt=jt(((e,t=xt())=>new yt(e,t,Rt().formats,{ignoreTag:Rt().ignoreTag}))),Yt=(e,t={})=>{var n,r,o,i;let a=t;"object"==typeof e&&(a=e,e=a.id);const{values:s,locale:h=xt(),default:u}=a;if(null==h)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Ht(e,h);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!==(i=null!==(o=null===(r=(n=Rt()).handleMissingMessage)||void 0===r?void 0:r.call(n,{locale:h,id:e,defaultValue:u}))&&void 0!==o?o:u)&&void 0!==i?i:e;if(!s)return l;let c=l;try{c=zt(l,h).format(s)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c},Wt=(e,t)=>((e={})=>{var{locale:t=xt()}=e,n=Ct(e,["locale"]);return Zt(Object.assign({locale:t},n))})(t).format(e),Qt=(e,t)=>((e={})=>{var{locale:t=xt()}=e,n=Ct(e,["locale"]);return Kt(Object.assign({locale:t},n))})(t).format(e),qt=(e,t)=>((e={})=>{var{locale:t=xt()}=e,n=Ct(e,["locale"]);return Xt(Object.assign({locale:t},n))})(t).format(e),Jt=(e,t=xt())=>Ht(e,t),en=U([$t,Bt],(()=>Yt));function tn(e,t){Nt(e,t)}U([$t],(()=>Wt)),U([$t],(()=>Qt)),U([$t],(()=>qt)),U([$t,Bt],(()=>Jt));const nn={en:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},zh:{Translations:{pageNotFound:"网页未找到",pageNotFoundMessage:"找不到您要查找的页面。 请返回我们的主页",home:"去首页"}},de:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},it:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},fr:{Translations:{pageNotFound:"Page non trouvée",pageNotFoundMessage:"La page que vous recherchez est introuvable. Veuillez retourner à notre page d'accueil.",home:"Accéder à la page d'accueil"}},es:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},tr:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},ru:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},ro:{Translations:{pageNotFound:"Pagina negasita",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},hr:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},hu:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},pl:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},pt:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},sl:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},sr:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}}};
571
- /* src/Casino_404.svelte generated by Svelte v3.48.0 */function rn(t){let n,r,o,i,a,d,b,E,y,v,T,H,_,B,A,P,N,S,L,w,M,I=/*$_*/t[0]("Translations.pageNotFound")+"",C=/*$_*/t[0]("Translations.pageNotFoundMessage")+"",O=/*$_*/t[0]("Translations.home")+"";return{c(){n=l("div"),r=l("div"),o=c("svg"),i=c("g"),a=c("path"),d=c("path"),b=c("path"),E=c("path"),y=c("path"),v=c("path"),T=p(),H=l("p"),_=f(I),B=p(),A=l("p"),P=f(C),N=p(),S=l("button"),L=f(O),this.c=e,g(a,"class","a"),g(a,"d","M753.094,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,0,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.262,3.262,0,0,0-3.517,1.552l-14.483,26.9a3.305,3.305,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62H756.2Z"),g(a,"transform","translate(-658.898 -446.452)"),g(d,"class","a"),g(d,"d","M508.259,555.422a11.346,11.346,0,0,0,11.379-11.379V522.319a11.379,11.379,0,1,0-22.757,0v21.725A11.346,11.346,0,0,0,508.259,555.422Zm-5.172-33.1a5.172,5.172,0,1,1,10.345,0v21.725a5.172,5.172,0,0,1-10.345,0Z"),g(d,"transform","translate(-433.716 -446.252)"),g(b,"class","a"),g(b,"d","M237.474,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,1,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.2,3.2,0,0,0-3.517,1.552l-14.483,26.9a3.3,3.3,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62h-8.276Z"),g(b,"transform","translate(-200.173 -446.452)"),g(E,"class","a"),g(E,"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(v,"class","a"),g(v,"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(v,"transform","translate(-250.22 -116.794)"),g(i,"transform","translate(-9.37 -9.34)"),g(o,"class","svgColor"),g(o,"xmlns","http://www.w3.org/2000/svg"),g(o,"width","130.345"),g(o,"height","130.345"),g(o,"viewBox","0 0 130.345 130.345"),g(H,"class","PageTitle"),g(A,"class","PageContent"),g(S,"class","ButtonDefaultSmall"),g(r,"class","NotFoundPage"),g(n,"class","PageWrapper")},m(e,u){var l,c,f,p;h(e,n,u),s(n,r),s(r,o),s(o,i),s(i,a),s(i,d),s(i,b),s(i,E),s(i,y),s(i,v),s(r,T),s(r,H),s(H,_),s(r,B),s(r,A),s(A,P),s(r,N),s(r,S),s(S,L),w||(l=S,c="click",f=/*click_handler*/t[4],l.addEventListener(c,f,p),M=()=>l.removeEventListener(c,f,p),w=!0)},p(e,[t]){/*$_*/1&t&&I!==(I=/*$_*/e[0]("Translations.pageNotFound")+"")&&m(_,I),/*$_*/1&t&&C!==(C=/*$_*/e[0]("Translations.pageNotFoundMessage")+"")&&m(P,C),/*$_*/1&t&&O!==(O=/*$_*/e[0]("Translations.home")+"")&&m(L,O)},i:e,o:e,d(e){e&&u(n),w=!1,M()}}}function on(e,t,n){let r;var o,i;o=en,i=e=>n(0,r=e),e.$$.on_destroy.push(a(o,i));let{lang:s="en"}=t,{translationUrl:h=""}=t;Object.keys(nn).forEach((e=>{tn(e,nn[e])}));const u=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},l=()=>{var e;e=s,$t.set(e)};return e.$$set=e=>{"lang"in e&&n(2,s=e.lang),"translationUrl"in e&&n(3,h=e.translationUrl)},e.$$.update=()=>{/*lang*/4&e.$$.dirty&&s&&l(),/*translationUrl*/8&e.$$.dirty&&h&&fetch(h).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{tn(t,e[t])}))})).catch((e=>{console.log(e)}))},[r,u,s,h,()=>u()]}class an extends C{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;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%}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.PageContent{font-size:16px;line-height:18px}}</style>",I(this,{target:this.shadowRoot,props:d(this.attributes),customElement:!0},on,rn,i,{lang:2,translationUrl:3},null),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),S()))}static get observedAttributes(){return["lang","translationUrl"]}get lang(){return this.$$.ctx[2]}set lang(e){this.$$set({lang:e}),S()}get translationUrl(){return this.$$.ctx[3]}set translationUrl(e){this.$$set({translationUrl:e}),S()}}return!customElements.get("casino-404")&&customElements.define("casino-404",an),an}));
570
+ ***************************************************************************** */function Ct(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}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=R(!1);let Gt;const Ft=R(null);function Dt(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function kt(e,t=Rt().fallbackLocale){const n=Dt(e);return t?[...new Set([...n,...Dt(t)])]:n}function xt(){return null!=Gt?Gt:void 0}Ft.subscribe((e=>{Gt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const $t=Object.assign(Object.assign({},Ft),{set:e=>{if(e&&function(e){if(null==e)return;const t=kt(e);for(let e=0;e<t.length;e++){const n=t[e];if(At(n))return n}}(e)&&wt(e)){const{loadingDelay:t}=Rt();let n;return"undefined"!=typeof window&&null!=xt()&&t?n=window.setTimeout((()=>Ut.set(!0)),t):Ut.set(!0),It(e).then((()=>{Ft.set(e)})).finally((()=>{clearTimeout(n),Ut.set(!1)}))}return Ft.set(e)}}),jt=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}},Vt=(e,t)=>{const{formats:n}=Rt();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Xt=jt((e=>{var{locale:t,format:n}=e,r=Ct(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=Vt("number",n)),new Intl.NumberFormat(t,r)})),Kt=jt((e=>{var{locale:t,format:n}=e,r=Ct(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=Vt("date",n):0===Object.keys(r).length&&(r=Vt("date","short")),new Intl.DateTimeFormat(t,r)})),Zt=jt((e=>{var{locale:t,format:n}=e,r=Ct(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=Vt("time",n):0===Object.keys(r).length&&(r=Vt("time","short")),new Intl.DateTimeFormat(t,r)})),zt=jt(((e,t=xt())=>new yt(e,t,Rt().formats,{ignoreTag:Rt().ignoreTag}))),Yt=(e,t={})=>{var n,r,o,i;let a=t;"object"==typeof e&&(a=e,e=a.id);const{values:s,locale:h=xt(),default:l}=a;if(null==h)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Ht(e,h);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!==(i=null!==(o=null===(r=(n=Rt()).handleMissingMessage)||void 0===r?void 0:r.call(n,{locale:h,id:e,defaultValue:l}))&&void 0!==o?o:l)&&void 0!==i?i:e;if(!s)return u;let c=u;try{c=zt(u,h).format(s)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c},Wt=(e,t)=>((e={})=>{var{locale:t=xt()}=e,n=Ct(e,["locale"]);return Zt(Object.assign({locale:t},n))})(t).format(e),Qt=(e,t)=>((e={})=>{var{locale:t=xt()}=e,n=Ct(e,["locale"]);return Kt(Object.assign({locale:t},n))})(t).format(e),qt=(e,t)=>((e={})=>{var{locale:t=xt()}=e,n=Ct(e,["locale"]);return Xt(Object.assign({locale:t},n))})(t).format(e),Jt=(e,t=xt())=>Ht(e,t),en=U([$t,Bt],(()=>Yt));function tn(e,t){Nt(e,t)}U([$t],(()=>Wt)),U([$t],(()=>Qt)),U([$t],(()=>qt)),U([$t,Bt],(()=>Jt));const nn={en:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},zh:{Translations:{pageNotFound:"网页未找到",pageNotFoundMessage:"找不到您要查找的页面。 请返回我们的主页",home:"去首页"}},de:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},it:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},fr:{Translations:{pageNotFound:"Page non trouvée",pageNotFoundMessage:"La page que vous recherchez est introuvable. Veuillez retourner à notre page d'accueil.",home:"Accéder à la page d'accueil"}},es:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},tr:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},ru:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},ro:{Translations:{pageNotFound:"Pagina negasita",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},hr:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},hu:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},pl:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},pt:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},sl:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}},sr:{Translations:{pageNotFound:"Page not found",pageNotFoundMessage:"The page you were looking for could not be found. Please go back to our Homepage.",home:"Go to homepage"}}};
571
+ /* src/Casino_404.svelte generated by Svelte v3.48.0 */function rn(t){let n,r,o,i,a,d,b,E,y,v,T,H,_,B,A,P,N,S,L,w,M,I=/*$_*/t[1]("Translations.pageNotFound")+"",C=/*$_*/t[1]("Translations.pageNotFoundMessage")+"",O=/*$_*/t[1]("Translations.home")+"";return{c(){n=u("div"),r=u("div"),o=c("svg"),i=c("g"),a=c("path"),d=c("path"),b=c("path"),E=c("path"),y=c("path"),v=c("path"),T=p(),H=u("p"),_=f(I),B=p(),A=u("p"),P=f(C),N=p(),S=u("button"),L=f(O),this.c=e,g(a,"class","a"),g(a,"d","M753.094,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,0,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.262,3.262,0,0,0-3.517,1.552l-14.483,26.9a3.305,3.305,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62H756.2Z"),g(a,"transform","translate(-658.898 -446.452)"),g(d,"class","a"),g(d,"d","M508.259,555.422a11.346,11.346,0,0,0,11.379-11.379V522.319a11.379,11.379,0,1,0-22.757,0v21.725A11.346,11.346,0,0,0,508.259,555.422Zm-5.172-33.1a5.172,5.172,0,1,1,10.345,0v21.725a5.172,5.172,0,0,1-10.345,0Z"),g(d,"transform","translate(-433.716 -446.252)"),g(b,"class","a"),g(b,"d","M237.474,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,1,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.2,3.2,0,0,0-3.517,1.552l-14.483,26.9a3.3,3.3,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62h-8.276Z"),g(b,"transform","translate(-200.173 -446.452)"),g(E,"class","a"),g(E,"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(v,"class","a"),g(v,"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(v,"transform","translate(-250.22 -116.794)"),g(i,"transform","translate(-9.37 -9.34)"),g(o,"class","svgColor"),g(o,"xmlns","http://www.w3.org/2000/svg"),g(o,"width","130.345"),g(o,"height","130.345"),g(o,"viewBox","0 0 130.345 130.345"),g(H,"class","PageTitle"),g(A,"class","PageContent"),g(S,"class","ButtonDefaultSmall"),g(r,"class","NotFoundPage"),g(n,"class","PageWrapper")},m(e,l){var u,c,f,p;h(e,n,l),s(n,r),s(r,o),s(o,i),s(i,a),s(i,d),s(i,b),s(i,E),s(i,y),s(i,v),s(r,T),s(r,H),s(H,_),s(r,B),s(r,A),s(A,P),s(r,N),s(r,S),s(S,L),
572
+ /*div1_binding*/t[8](n),w||(u=S,c="click",f=/*click_handler*/t[7],u.addEventListener(c,f,p),M=()=>u.removeEventListener(c,f,p),w=!0)},p(e,[t]){/*$_*/2&t&&I!==(I=/*$_*/e[1]("Translations.pageNotFound")+"")&&m(_,I),/*$_*/2&t&&C!==(C=/*$_*/e[1]("Translations.pageNotFoundMessage")+"")&&m(P,C),/*$_*/2&t&&O!==(O=/*$_*/e[1]("Translations.home")+"")&&m(L,O)},i:e,o:e,d(e){e&&l(n)
573
+ /*div1_binding*/,t[8](null),w=!1,M()}}}function on(e,t,n){let r;var o,i;o=en,i=e=>n(1,r=e),e.$$.on_destroy.push(a(o,i));let s,{lang:h="en"}=t,{clientstyling:l=""}=t,{clientstylingurl:u=""}=t,{translationUrl:c=""}=t;Object.keys(nn).forEach((e=>{tn(e,nn[e])}));const f=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},p=()=>{var e;e=h,$t.set(e)};return e.$$set=e=>{"lang"in e&&n(3,h=e.lang),"clientstyling"in e&&n(4,l=e.clientstyling),"clientstylingurl"in e&&n(5,u=e.clientstylingurl),"translationUrl"in e&&n(6,c=e.translationUrl)},e.$$.update=()=>{/*lang*/8&e.$$.dirty&&h&&p(),/*clientstyling, customStylingContainer*/17&e.$$.dirty&&l&&s&&(()=>{let e=document.createElement("style");e.innerHTML=l,s.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/33&e.$$.dirty&&u&&s&&(()=>{let e=new URL(u),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{s.appendChild(t)}),1)}))})(),/*translationUrl*/64&e.$$.dirty&&c&&fetch(c).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{tn(t,e[t])}))})).catch((e=>{console.log(e)}))},[s,r,f,h,l,u,c,()=>f(),function(e){v[e?"unshift":"push"]((()=>{s=e,n(0,s)}))}]}class an extends C{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;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%}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.PageContent{font-size:16px;line-height:18px}}</style>",I(this,{target:this.shadowRoot,props:d(this.attributes),customElement:!0},on,rn,i,{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-404")&&customElements.define("casino-404",an),an}));
572
574
  //# sourceMappingURL=casino-404.js.map