@everymatrix/casino-promotions-slider 1.34.3 → 1.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -655,7 +655,7 @@ this.formats=Nr(e.formats,n),this.formatters=i&&i.formatters||(void 0===(o=this.
|
|
|
655
655
|
// and Intl.DateTimeFormat instances.
|
|
656
656
|
e.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"}}},e}();const Rr={},kr=(e,t,r)=>r?(t in Rr||(Rr[t]={}),e in Rr[t]||(Rr[t][e]=r),r):r,Ur=(e,t)=>{if(null==t)return;if(t in Rr&&e in Rr[t])return Rr[t][e];const r=cn(t);for(let n=0;n<r.length;n++){const i=$r(r[n],e);if(i)return kr(e,t,i)}};let Dr;const Fr=Qe({});function Gr(e){return e in Dr}function $r(e,t){if(!Gr(e))return null;const r=function(e){return Dr[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let e=0;e<r.length;e++)if("object"==typeof n){if(e>0){const t=r.slice(e,r.length).join(".");if(t in n){n=n[t];break}}n=n[r[e]]}else n=void 0;return n}(r,t)}function jr(e,...t){delete Rr[e],Fr.update((r=>(r[e]=ht.all([r[e]||{},...t]),r)))}et([Fr],(([e])=>Object.keys(e))),Fr.subscribe((e=>Dr=e));const Xr={};function zr(e){return Xr[e]}function Vr(e){return null!=e&&cn(e).some((e=>{var t;return null==(t=zr(e))?void 0:t.size}))}function Wr(e,t){const r=Promise.all(t.map((t=>(function(e,t){Xr[e].delete(t),0===Xr[e].size&&delete Xr[e]}(e,t),t().then((e=>e.default||e))))));return r.then((t=>jr(e,...t)))}const Kr={};function Yr(e){if(!Vr(e))return e in Kr?Kr[e]:Promise.resolve();const t=function(e){return cn(e).map((e=>{const t=zr(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Kr[e]=Promise.all(t.map((([e,t])=>Wr(e,t)))).then((()=>{if(Vr(e))return Yr(e);delete Kr[e]})),Kr[e]}const Zr={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 qr(){return Zr}const Jr=Qe(!1);var Qr=Object.defineProperty,en=Object.defineProperties,tn=Object.getOwnPropertyDescriptors,rn=Object.getOwnPropertySymbols,nn=Object.prototype.hasOwnProperty,on=Object.prototype.propertyIsEnumerable,sn=(e,t,r)=>t in e?Qr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let an;const ln=Qe(null);function hn(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function cn(e,t=qr().fallbackLocale){const r=hn(e);return t?[...new Set([...r,...hn(t)])]:r}function un(){return null!=an?an:void 0}ln.subscribe((e=>{an=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const pn=(fn=((e,t)=>{for(var r in t||(t={}))nn.call(t,r)&&sn(e,r,t[r]);if(rn)for(var r of rn(t))on.call(t,r)&&sn(e,r,t[r]);return e})({},ln),en(fn,tn({set:e=>{if(e&&function(e){if(null==e)return;const t=cn(e);for(let e=0;e<t.length;e++){const r=t[e];if(Gr(r))return r}}(e)&&Vr(e)){const{loadingDelay:t}=qr();let r;return"undefined"!=typeof window&&null!=un()&&t?r=window.setTimeout((()=>Jr.set(!0)),t):Jr.set(!0),Yr(e).then((()=>{ln.set(e)})).finally((()=>{clearTimeout(r),Jr.set(!1)}))}return ln.set(e)}})));var fn;const dn=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}};var mn=Object.defineProperty,gn=Object.getOwnPropertySymbols,yn=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,vn=(e,t,r)=>t in e?mn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,En=(e,t)=>{for(var r in t||(t={}))yn.call(t,r)&&vn(e,r,t[r]);if(gn)for(var r of gn(t))bn.call(t,r)&&vn(e,r,t[r]);return e},wn=(e,t)=>{var r={};for(var n in e)yn.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&gn)for(var n of gn(e))t.indexOf(n)<0&&bn.call(e,n)&&(r[n]=e[n]);return r};const _n=(e,t)=>{const{formats:r}=qr();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Tn=dn((e=>{var t=e,{locale:r,format:n}=t,i=wn(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=_n("number",n)),new Intl.NumberFormat(r,i)})),Pn=dn((e=>{var t=e,{locale:r,format:n}=t,i=wn(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=_n("date",n):0===Object.keys(i).length&&(i=_n("date","short")),new Intl.DateTimeFormat(r,i)})),Sn=dn((e=>{var t=e,{locale:r,format:n}=t,i=wn(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=_n("time",n):0===Object.keys(i).length&&(i=_n("time","short")),new Intl.DateTimeFormat(r,i)})),Hn=dn((
|
|
657
657
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
658
|
-
(e,t=un())=>new Mr(e,t,qr().formats,{ignoreTag:qr().ignoreTag}))),An=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=un(),default:h}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ur(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(o=null!=(i=null==(n=(r=qr()).handleMissingMessage)?void 0:n.call(r,{locale:l,id:e,defaultValue:h}))?i:h)?o:e;if(!a)return c;let u=c;try{u=Hn(c,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u},Bn=(e,t)=>((e={})=>{var t=e,{locale:r=un()}=t,n=wn(t,["locale"]);return Sn(En({locale:r},n))})(t).format(e),Cn=(e,t)=>((e={})=>{var t=e,{locale:r=un()}=t,n=wn(t,["locale"]);return Pn(En({locale:r},n))})(t).format(e),xn=(e,t)=>((e={})=>{var t=e,{locale:r=un()}=t,n=wn(t,["locale"]);return Tn(En({locale:r},n))})(t).format(e),Ln=(e,t=un())=>Ur(e,t),On=et([pn,Fr],(()=>An));et([pn],(()=>Bn)),et([pn],(()=>Cn)),et([pn],(()=>xn)),et([pn,Fr],(()=>Ln)),window.emWidgets={topic:(e,t=0)=>{if(-1==Ze.indexOf(e)){let r=new Ye(t);qe[e]=r,Ze.push(e)}return qe[e]}};function Nn(e,t){jr(e,t)}const In={en:{promotionsTitle:"Promotions",promotionsSubTitle:"New hot offers everyday!",promotionsButton:"More Info",promotionsNone:"There are no promotions available at the moment.",promotionsLoading:"Loading, please wait ..."},zh:{promotionsTitle:"促銷活動",promotionsSubTitle:"New hot offers everyday!",promotionsButton:"更多信息",promotionsNone:"目前沒有促銷活動。",promotionsLoading:"Loading, please wait ..."},fr:{promotionsTitle:"Promotions",promotionsSubTitle:"New hot offers everyday!",promotionsButton:"Plus d'informations",promotionsNone:"Il n'y a pas de promotions disponibles pour le moment.",promotionsLoading:"Loading, please wait ..."},tr:{promotionsTitle:"
|
|
658
|
+
(e,t=un())=>new Mr(e,t,qr().formats,{ignoreTag:qr().ignoreTag}))),An=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=un(),default:h}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ur(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(o=null!=(i=null==(n=(r=qr()).handleMissingMessage)?void 0:n.call(r,{locale:l,id:e,defaultValue:h}))?i:h)?o:e;if(!a)return c;let u=c;try{u=Hn(c,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u},Bn=(e,t)=>((e={})=>{var t=e,{locale:r=un()}=t,n=wn(t,["locale"]);return Sn(En({locale:r},n))})(t).format(e),Cn=(e,t)=>((e={})=>{var t=e,{locale:r=un()}=t,n=wn(t,["locale"]);return Pn(En({locale:r},n))})(t).format(e),xn=(e,t)=>((e={})=>{var t=e,{locale:r=un()}=t,n=wn(t,["locale"]);return Tn(En({locale:r},n))})(t).format(e),Ln=(e,t=un())=>Ur(e,t),On=et([pn,Fr],(()=>An));et([pn],(()=>Bn)),et([pn],(()=>Cn)),et([pn],(()=>xn)),et([pn,Fr],(()=>Ln)),window.emWidgets={topic:(e,t=0)=>{if(-1==Ze.indexOf(e)){let r=new Ye(t);qe[e]=r,Ze.push(e)}return qe[e]}};function Nn(e,t){jr(e,t)}const In={en:{promotionsTitle:"Promotions",promotionsSubTitle:"New hot offers everyday!",promotionsButton:"More Info",promotionsNone:"There are no promotions available at the moment.",promotionsLoading:"Loading, please wait ..."},zh:{promotionsTitle:"促銷活動",promotionsSubTitle:"New hot offers everyday!",promotionsButton:"更多信息",promotionsNone:"目前沒有促銷活動。",promotionsLoading:"Loading, please wait ..."},fr:{promotionsTitle:"Promotions",promotionsSubTitle:"New hot offers everyday!",promotionsButton:"Plus d'informations",promotionsNone:"Il n'y a pas de promotions disponibles pour le moment.",promotionsLoading:"Loading, please wait ..."},tr:{promotionsTitle:"Popüler Tedarikçiler",promotionsSubTitle:"Diğer Tedarikçiler",promotionsButton:"Yükleniyor, lütfen bekleyin...",promotionsNone:"oyunlar",promotionsLoading:"Popüler Tedarikçiler"},ro:{promotionsTitle:"Promotii",promotionsSubTitle:"New hot offers everyday!",promotionsButton:"Detalii",promotionsNone:"Nu avem promotii disponibile momentan.",promotionsLoading:"Loading, please wait ..."},es:{promotionsTitle:"Promociones",promotionsSubTitle:"New hot offers everyday!",promotionsButton:"Mas informaciones",promotionsNone:"Actualmente no hay promociones disponibles.",promotionsLoading:"Loading, please wait ..."},pt:{promotionsTitle:"Promoções",promotionsSubTitle:"New hot offers everyday!",promotionsButton:"Mais informações",promotionsNone:"Não há promoções disponíveis no momento.",promotionsLoading:"Loading, please wait ..."},hr:{promotionsTitle:"Promocije",promotionsSubTitle:"Nove vruće ponude svaki dan!",promotionsButton:"Više informacija",promotionsNone:"Trenutno nema dostupnih promocija.",promotionsLoading:"Učitavanje"},"pt-br":{promotionsTitle:"Promoções",promotionsSubTitle:"Novas e ótimas ofertas todos os dias",promotionsButton:"Mais informação",promotionsNone:"Não há promoções disponíveis no momento",promotionsLoading:"Carregando"},"es-mx":{promotionsTitle:"Promociones",promotionsSubTitle:"Nuevas y grandes ofertas todos los días",promotionsButton:"Más información",promotionsNone:"No hay promociones disponibles al momento",promotionsLoading:"Cargando, por favor espere..."}};
|
|
659
659
|
/* src/CasinoPromotionsSlider.svelte generated by Svelte v3.59.2 */function Mn(e,t,r){const n=e.slice();return n[49]=t[r],n}function Rn(e,t,r){const n=e.slice();return n[52]=t[r],n}function kn(e,t,r){const n=e.slice();return n[49]=t[r],n}
|
|
660
660
|
// (273:8) {:else}
|
|
661
661
|
function Un(e){let t,r,n=/*$_*/e[12]("promotionsNone")+"";return{c(){t=m("p"),r=y(n),E(t,"class","text__center w__100")},m(e,n){p(e,t,n),u(t,r)},p(e,t){/*$_*/4096&t[0]&&n!==(n=/*$_*/e[12]("promotionsNone")+"")&&w(r,n)},d(e){e&&f(t)}}}
|