@everymatrix/casino-random-game 0.0.311 → 0.0.312

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.
@@ -623,7 +623,7 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
623
623
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
624
624
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
625
625
  PERFORMANCE OF THIS SOFTWARE.
626
- ***************************************************************************** */function $r(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}const Vr={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 zr(){return Vr}const Xr=ze(!1);let Wr;const Kr=ze(null);function Yr(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function Zr(e,t=zr().fallbackLocale){const r=Yr(e);return t?[...new Set([...r,...Yr(t)])]:r}function Jr(){return null!=Wr?Wr:void 0}Kr.subscribe((e=>{Wr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const qr=Object.assign(Object.assign({},Kr),{set:e=>{if(e&&function(e){if(null==e)return;const t=Zr(e);for(let e=0;e<t.length;e++){const r=t[e];if(xr(r))return r}}(e)&&Fr(e)){const{loadingDelay:t}=zr();let r;return"undefined"!=typeof window&&null!=Jr()&&t?r=window.setTimeout((()=>Xr.set(!0)),t):Xr.set(!0),jr(e).then((()=>{Kr.set(e)})).finally((()=>{clearTimeout(r),Xr.set(!1)}))}return Kr.set(e)}}),Qr=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}},en=(e,t)=>{const{formats:r}=zr();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},tn=Qr((e=>{var{locale:t,format:r}=e,n=$r(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=en("number",r)),new Intl.NumberFormat(t,n)})),rn=Qr((e=>{var{locale:t,format:r}=e,n=$r(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=en("date",r):0===Object.keys(n).length&&(n=en("date","short")),new Intl.DateTimeFormat(t,n)})),nn=Qr((e=>{var{locale:t,format:r}=e,n=$r(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=en("time",r):0===Object.keys(n).length&&(n=en("time","short")),new Intl.DateTimeFormat(t,n)})),on=Qr(((e,t=Jr())=>new Lr(e,t,zr().formats,{ignoreTag:zr().ignoreTag}))),sn=(e,t={})=>{var r,n,o,i;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:c=Jr(),default:l}=s;if(null==c)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Or(e,c);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===(n=(r=zr()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:c,id:e,defaultValue:l}))&&void 0!==o?o:l)&&void 0!==i?i:e;if(!a)return u;let h=u;try{h=on(u,c).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},an=(e,t)=>((e={})=>{var{locale:t=Jr()}=e,r=$r(e,["locale"]);return nn(Object.assign({locale:t},r))})(t).format(e),cn=(e,t)=>((e={})=>{var{locale:t=Jr()}=e,r=$r(e,["locale"]);return rn(Object.assign({locale:t},r))})(t).format(e),ln=(e,t)=>((e={})=>{var{locale:t=Jr()}=e,r=$r(e,["locale"]);return tn(Object.assign({locale:t},r))})(t).format(e),un=(e,t=Jr())=>Or(e,t),hn=Xe([qr,Ir],(()=>sn));Xe([qr],(()=>an)),Xe([qr],(()=>cn)),Xe([qr],(()=>ln)),Xe([qr,Ir],(()=>un)),window.emWidgets={topic:(e,t=0)=>{if(-1==je.indexOf(e)){let r=new ke(t);$e[e]=r,je.push(e)}return $e[e]}};const fn={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"}}};
626
+ ***************************************************************************** */function $r(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}const Vr={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 zr(){return Vr}const Xr=ze(!1);let Wr;const Kr=ze(null);function Yr(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function Zr(e,t=zr().fallbackLocale){const r=Yr(e);return t?[...new Set([...r,...Yr(t)])]:r}function Jr(){return null!=Wr?Wr:void 0}Kr.subscribe((e=>{Wr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const qr=Object.assign(Object.assign({},Kr),{set:e=>{if(e&&function(e){if(null==e)return;const t=Zr(e);for(let e=0;e<t.length;e++){const r=t[e];if(xr(r))return r}}(e)&&Fr(e)){const{loadingDelay:t}=zr();let r;return"undefined"!=typeof window&&null!=Jr()&&t?r=window.setTimeout((()=>Xr.set(!0)),t):Xr.set(!0),jr(e).then((()=>{Kr.set(e)})).finally((()=>{clearTimeout(r),Xr.set(!1)}))}return Kr.set(e)}}),Qr=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}},en=(e,t)=>{const{formats:r}=zr();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},tn=Qr((e=>{var{locale:t,format:r}=e,n=$r(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=en("number",r)),new Intl.NumberFormat(t,n)})),rn=Qr((e=>{var{locale:t,format:r}=e,n=$r(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=en("date",r):0===Object.keys(n).length&&(n=en("date","short")),new Intl.DateTimeFormat(t,n)})),nn=Qr((e=>{var{locale:t,format:r}=e,n=$r(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=en("time",r):0===Object.keys(n).length&&(n=en("time","short")),new Intl.DateTimeFormat(t,n)})),on=Qr(((e,t=Jr())=>new Lr(e,t,zr().formats,{ignoreTag:zr().ignoreTag}))),sn=(e,t={})=>{var r,n,o,i;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:c=Jr(),default:l}=s;if(null==c)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Or(e,c);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===(n=(r=zr()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:c,id:e,defaultValue:l}))&&void 0!==o?o:l)&&void 0!==i?i:e;if(!a)return u;let h=u;try{h=on(u,c).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},an=(e,t)=>((e={})=>{var{locale:t=Jr()}=e,r=$r(e,["locale"]);return nn(Object.assign({locale:t},r))})(t).format(e),cn=(e,t)=>((e={})=>{var{locale:t=Jr()}=e,r=$r(e,["locale"]);return rn(Object.assign({locale:t},r))})(t).format(e),ln=(e,t)=>((e={})=>{var{locale:t=Jr()}=e,r=$r(e,["locale"]);return tn(Object.assign({locale:t},r))})(t).format(e),un=(e,t=Jr())=>Or(e,t),hn=Xe([qr,Ir],(()=>sn));Xe([qr],(()=>an)),Xe([qr],(()=>cn)),Xe([qr],(()=>ln)),Xe([qr,Ir],(()=>un)),window.emWidgets={topic:(e,t=0)=>{if(-1==je.indexOf(e)){let r=new ke(t);$e[e]=r,je.push(e)}return $e[e]}};const fn={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:"Rastgele 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"}}};
627
627
  /* src/CasinoRandomGame.svelte generated by Svelte v3.48.0 */function pn(e,t,r){const n=e.slice();return n[22]=t[r],n[24]=r,n}
628
628
  // (77:4) {#if show}
629
629
  function dn(e){let t,r,n,o,i,s,a,c=!/*slotDone*/e[4]&&mn(e),l=/*slotDone*/e[4]&&bn(e);return{c(){t=p("div"),r=p("div"),n=p("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=m(),c&&c.c(),i=m(),l&&l.c(),b(n,"class","ModalCloseBtn"),b(n,"part","ModalCloseBtn"),b(n,"role","button"),b(r,"class","ModalContainer"),b(r,"part","ModalContainer"),b(t,"class","ModalWindow"),b(t,"part","ModalWindow")},m(f,p){h(f,t,p),u(t,r),u(r,n),u(r,o),c&&c.m(r,null),u(r,i),l&&l.m(r,null),s||(a=y(n,"click",/*closeModal*/e[8]),s=!0)},p(e,t){/*slotDone*/e[4]?c&&(c.d(1),c=null):c?c.p(e,t):(c=mn(e),c.c(),c.m(r,i)),/*slotDone*/e[4]?l?l.p(e,t):(l=bn(e),l.c(),l.m(r,null)):l&&(l.d(1),l=null)},d(e){e&&f(t),c&&c.d(),l&&l.d(),s=!1,a()}}}