@everymatrix/casino-random-game 0.0.284 → 0.0.285

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.
@@ -35,7 +35,7 @@ r.on_destroy=r.fragment=null,r.ctx=[])}(this,1),this.$destroy=t}$on(t,e){
35
35
  // TODO should this delegate to addEventListener?
36
36
  const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(e),()=>{const t=r.indexOf(e);-1!==t&&r.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});var G="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==G&&G,U="URLSearchParams"in G,D="Symbol"in G&&"iterator"in Symbol,F="FileReader"in G&&"Blob"in G&&function(){try{return new Blob,!0}catch(t){return!1}}(),k="FormData"in G,j="ArrayBuffer"in G;if(j)var $=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],B=ArrayBuffer.isView||function(t){return t&&$.indexOf(Object.prototype.toString.call(t))>-1};function V(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function z(t){return"string"!=typeof t&&(t=String(t)),t}
37
37
  // Build a destructive iterator for the value list
38
- function X(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return D&&(e[Symbol.iterator]=function(){return e}),e}function W(t){this.map={},t instanceof W?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function H(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function Y(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function q(t){var e=new FileReader,r=Y(e);return e.readAsArrayBuffer(t),r}function K(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function Z(){return this.bodyUsed=!1,this._initBody=function(t){var e;
38
+ function X(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return D&&(e[Symbol.iterator]=function(){return e}),e}function W(t){this.map={},t instanceof W?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function H(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function Y(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function q(t){var e=new FileReader,r=Y(e);return e.readAsArrayBuffer(t),r}function K(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function J(){return this.bodyUsed=!1,this._initBody=function(t){var e;
39
39
  /*
40
40
  fetch-mock wraps the Response object in an ES6 Proxy to
41
41
  provide useful test harness features such as flush. However, on
@@ -50,11 +50,11 @@ this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText
50
50
  // IE 10-11 can't handle a DataView body.
51
51
  this._bodyInit=new Blob([this._bodyArrayBuffer])):j&&(ArrayBuffer.prototype.isPrototypeOf(t)||B(t))?this._bodyArrayBuffer=K(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):U&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},F&&(this.blob=function(){var t=H(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=H(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(q)}),this.text=function(){var t,e,r,n=H(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=Y(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},k&&(this.formData=function(){return this.text().then(tt)}),this.json=function(){return this.text().then(JSON.parse)},this}
52
52
  // HTTP methods whose capitalization should be normalized
53
- W.prototype.append=function(t,e){t=V(t),e=z(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},W.prototype.delete=function(t){delete this.map[V(t)]},W.prototype.get=function(t){return t=V(t),this.has(t)?this.map[t]:null},W.prototype.has=function(t){return this.map.hasOwnProperty(V(t))},W.prototype.set=function(t,e){this.map[V(t)]=z(e)},W.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},W.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),X(t)},W.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),X(t)},W.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),X(t)},D&&(W.prototype[Symbol.iterator]=W.prototype.entries);var J=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Q(t,e){if(!(this instanceof Q))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,o=(e=e||{}).body;if(t instanceof Q){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new W(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new W(e.headers)),this.method=(r=e.method||this.method||"GET",n=r.toUpperCase(),J.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){
53
+ W.prototype.append=function(t,e){t=V(t),e=z(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},W.prototype.delete=function(t){delete this.map[V(t)]},W.prototype.get=function(t){return t=V(t),this.has(t)?this.map[t]:null},W.prototype.has=function(t){return this.map.hasOwnProperty(V(t))},W.prototype.set=function(t,e){this.map[V(t)]=z(e)},W.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},W.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),X(t)},W.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),X(t)},W.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),X(t)},D&&(W.prototype[Symbol.iterator]=W.prototype.entries);var Z=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Q(t,e){if(!(this instanceof Q))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,o=(e=e||{}).body;if(t instanceof Q){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new W(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new W(e.headers)),this.method=(r=e.method||this.method||"GET",n=r.toUpperCase(),Z.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){
54
54
  // Search for a '_' parameter in the query string
55
55
  var i=/([?&])_=[^&]*/;if(i.test(this.url))
56
56
  // If it already exists then set the value with the current time
57
- this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function tt(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}})),e}function et(t,e){if(!(this instanceof et))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new W(e.headers),this.url=e.url||"",this._initBody(t)}Q.prototype.clone=function(){return new Q(this,{body:this._bodyInit})},Z.call(Q.prototype),Z.call(et.prototype),et.prototype.clone=function(){return new et(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new W(this.headers),url:this.url})},et.error=function(){var t=new et(null,{status:0,statusText:""});return t.type="error",t};var rt=[301,302,303,307,308];et.redirect=function(t,e){if(-1===rt.indexOf(e))throw new RangeError("Invalid status code");return new et(null,{status:e,headers:{location:t}})};var nt=G.DOMException;try{new nt}catch(t){(nt=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),nt.prototype.constructor=nt}function ot(t,e){return new Promise((function(r,n){var o=new Q(t,e);if(o.signal&&o.signal.aborted)return n(new nt("Aborted","AbortError"));var i=new XMLHttpRequest;function s(){i.abort()}i.onload=function(){var t,e,n={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||"",e=new W,
57
+ this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function tt(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}})),e}function et(t,e){if(!(this instanceof et))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new W(e.headers),this.url=e.url||"",this._initBody(t)}Q.prototype.clone=function(){return new Q(this,{body:this._bodyInit})},J.call(Q.prototype),J.call(et.prototype),et.prototype.clone=function(){return new et(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new W(this.headers),url:this.url})},et.error=function(){var t=new et(null,{status:0,statusText:""});return t.type="error",t};var rt=[301,302,303,307,308];et.redirect=function(t,e){if(-1===rt.indexOf(e))throw new RangeError("Invalid status code");return new et(null,{status:e,headers:{location:t}})};var nt=G.DOMException;try{new nt}catch(t){(nt=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),nt.prototype.constructor=nt}function ot(t,e){return new Promise((function(r,n){var o=new Q(t,e);if(o.signal&&o.signal.aborted)return n(new nt("Aborted","AbortError"));var i=new XMLHttpRequest;function s(){i.abort()}i.onload=function(){var t,e,n={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||"",e=new W,
58
58
  // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill
59
59
  // https://github.com/github/fetch/issues/748
60
60
  // https://github.com/zloirock/core-js/issues/751
@@ -103,7 +103,7 @@ function qt(t,e,r){var n={};return r.isMergeableObject(t)&&Ht(t).forEach((functi
103
103
  })(t,o)||(Yt(t,o)&&r.isMergeableObject(e[o])?n[o]=function(t,e){if(!e.customMerge)return Kt;var r=e.customMerge(t);return"function"==typeof r?r:Kt}(o,r)(t[o],e[o],r):n[o]=Xt(e[o],r))})),n}function Kt(t,e,r){(r=r||{}).arrayMerge=r.arrayMerge||Wt,r.isMergeableObject=r.isMergeableObject||Vt,
104
104
  // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
105
105
  // implementations can use it. The caller may not replace it.
106
- r.cloneUnlessOtherwiseSpecified=Xt;var n=Array.isArray(e);return n===Array.isArray(t)?n?r.arrayMerge(t,e,r):qt(t,e,r):Xt(e,r)}Kt.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,r){return Kt(t,r,e)}),{})};var Zt=Kt,Jt=function(t,e){return(Jt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function Qt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}Jt(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var te,ee,re,ne=function(){return(ne=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function oe(t,e){for(var r=0,n=e.length,o=t.length;r<n;r++,o++)t[o]=e[r];return t}
106
+ r.cloneUnlessOtherwiseSpecified=Xt;var n=Array.isArray(e);return n===Array.isArray(t)?n?r.arrayMerge(t,e,r):qt(t,e,r):Xt(e,r)}Kt.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,r){return Kt(t,r,e)}),{})};var Jt=Kt,Zt=function(t,e){return(Zt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function Qt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}Zt(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var te,ee,re,ne=function(){return(ne=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function oe(t,e){for(var r=0,n=e.length,o=t.length;r<n;r++,o++)t[o]=e[r];return t}
107
107
  /**
108
108
  * Type Guards
109
109
  */
@@ -303,7 +303,7 @@ if(je){
303
303
  // Native
304
304
  var qe=Ye("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");$e=function(t,e){var r;return qe.lastIndex=e,null!==(r=qe.exec(t)[1])&&void 0!==r?r:""}}else
305
305
  // IE11
306
- $e=function(t,e){for(var r=[];;){var n=Xe(t,e);if(void 0===n||Qe(n)||tr(n))break;r.push(n),e+=n>=65536?2:1}return Ve.apply(void 0,r)};var Ke=/** @class */function(){function t(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,e,r){for(var n=[];!this.isEOF();){var o=this.char();if(123/* `{` */===o){if((i=this.parseArgument(t,r)).err)return i;n.push(i.val)}else{if(125/* `}` */===o&&t>0)break;if(35/* `#` */!==o||"plural"!==e&&"selectordinal"!==e){if(60/* `<` */===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(te.UNMATCHED_CLOSING_TAG,Ie(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===o&&!this.ignoreTag&&Ze(this.peek()||0)){if((i=this.parseTag(t,e)).err)return i;n.push(i.val)}else{var i;if((i=this.parseLiteral(t,e)).err)return i;n.push(i.val)}}else{var s=this.clonePosition();this.bump(),n.push({type:ee.pound,location:Ie(s,this.clonePosition())})}}}return{val:n,err:null}},
306
+ $e=function(t,e){for(var r=[];;){var n=Xe(t,e);if(void 0===n||Qe(n)||tr(n))break;r.push(n),e+=n>=65536?2:1}return Ve.apply(void 0,r)};var Ke=/** @class */function(){function t(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,e,r){for(var n=[];!this.isEOF();){var o=this.char();if(123/* `{` */===o){if((i=this.parseArgument(t,r)).err)return i;n.push(i.val)}else{if(125/* `}` */===o&&t>0)break;if(35/* `#` */!==o||"plural"!==e&&"selectordinal"!==e){if(60/* `<` */===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(te.UNMATCHED_CLOSING_TAG,Ie(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===o&&!this.ignoreTag&&Je(this.peek()||0)){if((i=this.parseTag(t,e)).err)return i;n.push(i.val)}else{var i;if((i=this.parseLiteral(t,e)).err)return i;n.push(i.val)}}else{var s=this.clonePosition();this.bump(),n.push({type:ee.pound,location:Ie(s,this.clonePosition())})}}}return{val:n,err:null}},
307
307
  /**
308
308
  * A tag name must start with an ASCII lower/upper case letter. The grammar is based on the
309
309
  * [custom element name][] except that a dash is NOT always mandatory and uppercase letters
@@ -327,12 +327,12 @@ var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))
327
327
  // Self closing tag
328
328
  return{val:{type:ee.literal,value:"<"+n+"/>",location:Ie(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,e,!0);if(o.err)return o;var i=o.val,s=this.clonePosition();
329
329
  // Expecting a close tag
330
- if(this.bumpIf("</")){if(this.isEOF()||!Ze(this.char()))return this.error(te.INVALID_TAG,Ie(s,this.clonePosition()));var a=this.clonePosition();return n!==this.parseTagName()?this.error(te.UNMATCHED_CLOSING_TAG,Ie(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ee.tag,value:n,children:i,location:Ie(r,this.clonePosition())},err:null}:this.error(te.INVALID_TAG,Ie(s,this.clonePosition())))}return this.error(te.UNCLOSED_TAG,Ie(r,this.clonePosition()))}return this.error(te.INVALID_TAG,Ie(r,this.clonePosition()))},
330
+ if(this.bumpIf("</")){if(this.isEOF()||!Je(this.char()))return this.error(te.INVALID_TAG,Ie(s,this.clonePosition()));var a=this.clonePosition();return n!==this.parseTagName()?this.error(te.UNMATCHED_CLOSING_TAG,Ie(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ee.tag,value:n,children:i,location:Ie(r,this.clonePosition())},err:null}:this.error(te.INVALID_TAG,Ie(s,this.clonePosition())))}return this.error(te.UNCLOSED_TAG,Ie(r,this.clonePosition()))}return this.error(te.INVALID_TAG,Ie(r,this.clonePosition()))},
331
331
  /**
332
332
  * This method assumes that the caller has peeked ahead for the first tag character.
333
333
  */
334
334
  t.prototype.parseTagName=function(){var t=this.offset();// the first tag name character
335
- for(this.bump();!this.isEOF()&&Je(this.char());)this.bump();return this.message.slice(t,this.offset())},t.prototype.parseLiteral=function(t,e){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(e);if(o)n+=o;else{var i=this.tryParseUnquoted(t,e);if(i)n+=i;else{var s=this.tryParseLeftAngleBracket();if(!s)break;n+=s}}}var a=Ie(r,this.clonePosition());return{val:{type:ee.literal,value:n,location:a},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(Ze(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t;
335
+ for(this.bump();!this.isEOF()&&Ze(this.char());)this.bump();return this.message.slice(t,this.offset())},t.prototype.parseLiteral=function(t,e){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(e);if(o)n+=o;else{var i=this.tryParseUnquoted(t,e);if(i)n+=i;else{var s=this.tryParseLeftAngleBracket();if(!s)break;n+=s}}}var a=Ie(r,this.clonePosition());return{val:{type:ee.literal,value:n,location:a},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(Je(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t;
336
336
  /** See `parseTag` function docs. */},
337
337
  /**
338
338
  * Starting with ICU 4.8, an ASCII apostrophe only starts quoted text if it immediately precedes
@@ -477,7 +477,7 @@ t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this
477
477
  * This check if codepoint is alphabet (lower & uppercase)
478
478
  * @param codepoint
479
479
  * @returns
480
- */function Ze(t){return t>=97&&t<=122||t>=65&&t<=90}function Je(t){return 45/* '-' */===t||46/* '.' */===t||t>=48&&t<=57/* 0..9 */||95/* '_' */===t||t>=97&&t<=122/** a..z */||t>=65&&t<=90/* A..Z */||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}
480
+ */function Je(t){return t>=97&&t<=122||t>=65&&t<=90}function Ze(t){return 45/* '-' */===t||46/* '.' */===t||t>=48&&t<=57/* 0..9 */||95/* '_' */===t||t>=97&&t<=122/** a..z */||t>=65&&t<=90/* A..Z */||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}
481
481
  /**
482
482
  * Code point equivalent of regex `\p{White_Space}`.
483
483
  * From: https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
@@ -548,7 +548,7 @@ this.locales=r,this.formatters=o&&o.formatters||(void 0===(i=this.formatterCache
548
548
  // Default format options used as the prototype of the `formats` provided to the
549
549
  // constructor. These are used when constructing the internal Intl.NumberFormat
550
550
  // and Intl.DateTimeFormat instances.
551
- t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},t}();const Tr={},Ar=(t,e,r)=>r?(e in Tr||(Tr[e]={}),t in Tr[e]||(Tr[e][t]=r),r):r,Pr=(t,e)=>{if(null==e)return;if(e in Tr&&t in Tr[e])return Tr[e][t];const r=Vr(e);for(let n=0;n<r.length;n++){const o=Or(r[n],t);if(o)return Ar(t,e,o)}};let Sr;const Lr=$t({});function Rr(t){return t in Sr}function Or(t,e){return Rr(t)?function(t,e){if(e in t)return t[e];const r=e.split(".");let n=t;for(let t=0;t<r.length;t++)if("object"==typeof n){if(t>0){const e=r.slice(t,r.length).join(".");if(e in n){n=n[e];break}}n=n[r[t]]}else n=void 0;return n}(function(t){return Sr[t]||null}(t),e):null}function xr(t,...e){delete Tr[t],Lr.update((r=>(r[t]=Zt.all([r[t]||{},...e]),r)))}Bt([Lr],(([t])=>Object.keys(t))),Lr.subscribe((t=>Sr=t));const Cr={};function Ir(t){return Cr[t]}function Mr(t){return Vr(t).some((t=>{var e;return null===(e=Ir(t))||void 0===e?void 0:e.size}))}const Nr={};function Gr(t){if(!Mr(t))return t in Nr?Nr[t]:void 0;const e=function(t){return Vr(t).map((t=>{const e=Ir(t);return[t,e?[...e]:[]]})).filter((([,t])=>t.length>0))}(t);return Nr[t]=Promise.all(e.map((([t,e])=>function(t,e){return Promise.all(e.map((e=>(function(t,e){Cr[t].delete(e),0===Cr[t].size&&delete Cr[t]}(t,e),e().then((t=>t.default||t)))))).then((e=>xr(t,...e)))}(t,e)))).then((()=>{if(Mr(t))return Gr(t);delete Nr[t]})),Nr[t]}
551
+ t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},t}();const Tr={},Ar=(t,e,r)=>r?(e in Tr||(Tr[e]={}),t in Tr[e]||(Tr[e][t]=r),r):r,Pr=(t,e)=>{if(null==e)return;if(e in Tr&&t in Tr[e])return Tr[e][t];const r=Vr(e);for(let n=0;n<r.length;n++){const o=Or(r[n],t);if(o)return Ar(t,e,o)}};let Sr;const Lr=$t({});function Rr(t){return t in Sr}function Or(t,e){return Rr(t)?function(t,e){if(e in t)return t[e];const r=e.split(".");let n=t;for(let t=0;t<r.length;t++)if("object"==typeof n){if(t>0){const e=r.slice(t,r.length).join(".");if(e in n){n=n[e];break}}n=n[r[t]]}else n=void 0;return n}(function(t){return Sr[t]||null}(t),e):null}function xr(t,...e){delete Tr[t],Lr.update((r=>(r[t]=Jt.all([r[t]||{},...e]),r)))}Bt([Lr],(([t])=>Object.keys(t))),Lr.subscribe((t=>Sr=t));const Cr={};function Ir(t){return Cr[t]}function Mr(t){return Vr(t).some((t=>{var e;return null===(e=Ir(t))||void 0===e?void 0:e.size}))}const Nr={};function Gr(t){if(!Mr(t))return t in Nr?Nr[t]:void 0;const e=function(t){return Vr(t).map((t=>{const e=Ir(t);return[t,e?[...e]:[]]})).filter((([,t])=>t.length>0))}(t);return Nr[t]=Promise.all(e.map((([t,e])=>function(t,e){return Promise.all(e.map((e=>(function(t,e){Cr[t].delete(e),0===Cr[t].size&&delete Cr[t]}(t,e),e().then((t=>t.default||t)))))).then((e=>xr(t,...e)))}(t,e)))).then((()=>{if(Mr(t))return Gr(t);delete Nr[t]})),Nr[t]}
552
552
  /*! *****************************************************************************
553
553
  Copyright (c) Microsoft Corporation.
554
554
 
@@ -562,7 +562,7 @@ t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
562
562
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
563
563
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
564
564
  PERFORMANCE OF THIS SOFTWARE.
565
- ***************************************************************************** */function Ur(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}const Dr={fallbackLocale:null,initialLocale: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,ignoreTag:!0};function Fr(){return Dr}const kr=$t(!1);let jr;const $r=$t(null);function Br(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function Vr(t,e=Fr().fallbackLocale){const r=Br(t);return e?[...new Set([...r,...Br(e)])]:r}function zr(){return jr}$r.subscribe((t=>{jr=t,"undefined"!=typeof window&&null!==t&&document.documentElement.setAttribute("lang",t)}));const Xr=$r.set;$r.set=t=>{if(function(t){if(null==t)return;const e=Vr(t);for(let t=0;t<e.length;t++){const r=e[t];if(Rr(r))return r}}(t)&&Mr(t)){const{loadingDelay:e}=Fr();let r;return"undefined"!=typeof window&&null!=zr()&&e?r=window.setTimeout((()=>kr.set(!0)),e):kr.set(!0),Gr(t).then((()=>{Xr(t)})).finally((()=>{clearTimeout(r),kr.set(!1)}))}return Xr(t)},$r.update=t=>Xr(t(jr));const Wr=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}},Hr=(t,e)=>{const{formats:r}=Fr();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Yr=Wr((t=>{var{locale:e,format:r}=t,n=Ur(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Hr("number",r)),new Intl.NumberFormat(e,n)})),qr=Wr((t=>{var{locale:e,format:r}=t,n=Ur(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Hr("date",r):0===Object.keys(n).length&&(n=Hr("date","short")),new Intl.DateTimeFormat(e,n)})),Kr=Wr((t=>{var{locale:e,format:r}=t,n=Ur(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Hr("time",r):0===Object.keys(n).length&&(n=Hr("time","short")),new Intl.DateTimeFormat(e,n)})),Zr=Wr(((t,e=zr())=>new wr(t,e,Fr().formats,{ignoreTag:Fr().ignoreTag}))),Jr=(t,e={})=>{"object"==typeof t&&(t=(e=t).id);const{values:r,locale:n=zr(),default:o}=e;if(null==n)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=Pr(t,n);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else Fr().warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${t}" was not found in "${Vr(n).join('", "')}".${Mr(zr())?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=o||t;if(!r)return i;let s=i;try{s=Zr(i,n).format(r)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return s},Qr=(t,e)=>((t={})=>{var{locale:e=zr()}=t,r=Ur(t,["locale"]);return Kr(Object.assign({locale:e},r))})(e).format(t),tn=(t,e)=>((t={})=>{var{locale:e=zr()}=t,r=Ur(t,["locale"]);return qr(Object.assign({locale:e},r))})(e).format(t),en=(t,e)=>((t={})=>{var{locale:e=zr()}=t,r=Ur(t,["locale"]);return Yr(Object.assign({locale:e},r))})(e).format(t),rn=(t,e=zr())=>Pr(t,e),nn=Bt([$r,Lr],(()=>Jr));Bt([$r],(()=>Qr)),Bt([$r],(()=>tn)),Bt([$r],(()=>en)),Bt([$r,Lr],(()=>rn)),window.emWidgets={topic:(t,e=0)=>{if(-1==Ft.indexOf(t)){let r=new Dt(e);kt[t]=r,Ft.push(t)}return kt[t]}};const on={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rasgele bir oyun oyna",randomGameLoading:"Seleccionando ...",playNowRandomGame:"Reproducir ahora"}},es:{randomGame:{playRandomGame:"Juega un juego aleatorio",randomGameLoading:"Lütfen bekleyin ...",playNowRandomGame:"Şimdi Oyna"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};
565
+ ***************************************************************************** */function Ur(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}const Dr={fallbackLocale:null,initialLocale: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,ignoreTag:!0};function Fr(){return Dr}const kr=$t(!1);let jr;const $r=$t(null);function Br(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function Vr(t,e=Fr().fallbackLocale){const r=Br(t);return e?[...new Set([...r,...Br(e)])]:r}function zr(){return jr}$r.subscribe((t=>{jr=t,"undefined"!=typeof window&&null!==t&&document.documentElement.setAttribute("lang",t)}));const Xr=$r.set;$r.set=t=>{if(function(t){if(null==t)return;const e=Vr(t);for(let t=0;t<e.length;t++){const r=e[t];if(Rr(r))return r}}(t)&&Mr(t)){const{loadingDelay:e}=Fr();let r;return"undefined"!=typeof window&&null!=zr()&&e?r=window.setTimeout((()=>kr.set(!0)),e):kr.set(!0),Gr(t).then((()=>{Xr(t)})).finally((()=>{clearTimeout(r),kr.set(!1)}))}return Xr(t)},$r.update=t=>Xr(t(jr));const Wr=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}},Hr=(t,e)=>{const{formats:r}=Fr();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Yr=Wr((t=>{var{locale:e,format:r}=t,n=Ur(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Hr("number",r)),new Intl.NumberFormat(e,n)})),qr=Wr((t=>{var{locale:e,format:r}=t,n=Ur(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Hr("date",r):0===Object.keys(n).length&&(n=Hr("date","short")),new Intl.DateTimeFormat(e,n)})),Kr=Wr((t=>{var{locale:e,format:r}=t,n=Ur(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Hr("time",r):0===Object.keys(n).length&&(n=Hr("time","short")),new Intl.DateTimeFormat(e,n)})),Jr=Wr(((t,e=zr())=>new wr(t,e,Fr().formats,{ignoreTag:Fr().ignoreTag}))),Zr=(t,e={})=>{"object"==typeof t&&(t=(e=t).id);const{values:r,locale:n=zr(),default:o}=e;if(null==n)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=Pr(t,n);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else Fr().warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${t}" was not found in "${Vr(n).join('", "')}".${Mr(zr())?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=o||t;if(!r)return i;let s=i;try{s=Jr(i,n).format(r)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return s},Qr=(t,e)=>((t={})=>{var{locale:e=zr()}=t,r=Ur(t,["locale"]);return Kr(Object.assign({locale:e},r))})(e).format(t),tn=(t,e)=>((t={})=>{var{locale:e=zr()}=t,r=Ur(t,["locale"]);return qr(Object.assign({locale:e},r))})(e).format(t),en=(t,e)=>((t={})=>{var{locale:e=zr()}=t,r=Ur(t,["locale"]);return Yr(Object.assign({locale:e},r))})(e).format(t),rn=(t,e=zr())=>Pr(t,e),nn=Bt([$r,Lr],(()=>Zr));Bt([$r],(()=>Qr)),Bt([$r],(()=>tn)),Bt([$r],(()=>en)),Bt([$r,Lr],(()=>rn)),window.emWidgets={topic:(t,e=0)=>{if(-1==Ft.indexOf(t)){let r=new Dt(e);kt[t]=r,Ft.push(t)}return kt[t]}};const on={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rasgele bir oyun oyna",randomGameLoading:"Seleccionando ...",playNowRandomGame:"Reproducir ahora"}},es:{randomGame:{playRandomGame:"Juega un juego aleatorio",randomGameLoading:"Lütfen bekleyin ...",playNowRandomGame:"Şimdi Oyna"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};
566
566
  /* src/CasinoRandomGame.svelte generated by Svelte v3.37.0 */function sn(t,e,r){const n=t.slice();return n[22]=e[r],n[24]=r,n}
567
567
  // (77:4) {#if show}
568
568
  function an(t){let e,r,n,o,i,s,f,m=!/*slotDone*/t[4]&&cn(t),y=/*slotDone*/t[4]&&ln(t);return{c(){e=l("div"),r=l("div"),n=l("span"),n.innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=p(),m&&m.c(),i=p(),y&&y.c(),d(n,"class","ModalCloseBtn"),d(n,"part","ModalCloseBtn"),d(n,"role","button"),d(r,"class","ModalContainer"),d(r,"part","ModalContainer"),d(e,"class","ModalWindow"),d(e,"part","ModalWindow")},m(u,l){c(u,e,l),a(e,r),a(r,n),a(r,o),m&&m.m(r,null),a(r,i),y&&y.m(r,null),s||(f=h(n,"click",/*closeModal*/t[8]),s=!0)},p(t,e){/*slotDone*/t[4]?m&&(m.d(1),m=null):m?m.p(t,e):(m=cn(t),m.c(),m.m(r,i)),/*slotDone*/t[4]?y?y.p(t,e):(y=ln(t),y.c(),y.m(r,null)):y&&(y.d(1),y=null)},d(t){t&&u(e),m&&m.d(),y&&y.d(),s=!1,f()}}}