@everymatrix/casino-403 1.5.5 → 1.6.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.
@@ -570,5 +570,5 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
570
570
  ***************************************************************************** */function Ot(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 i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}const Mt={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 Mt}const Ut=R(!1);let Dt;const Gt=R(null);function Ft(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function xt(e,t=Rt().fallbackLocale){const r=Ft(e);return t?[...new Set([...r,...Ft(t)])]:r}function kt(){return null!=Dt?Dt:void 0}Gt.subscribe((e=>{Dt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const $t=Object.assign(Object.assign({},Gt),{set:e=>{if(e&&function(e){if(null==e)return;const t=xt(e);for(let e=0;e<t.length;e++){const r=t[e];if(At(r))return r}}(e)&&wt(e)){const{loadingDelay:t}=Rt();let r;return"undefined"!=typeof window&&null!=kt()&&t?r=window.setTimeout((()=>Ut.set(!0)),t):Ut.set(!0),Ct(e).then((()=>{Gt.set(e)})).finally((()=>{clearTimeout(r),Ut.set(!1)}))}return Gt.set(e)}}),jt=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}},Vt=(e,t)=>{const{formats:r}=Rt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Xt=jt((e=>{var{locale:t,format:r}=e,n=Ot(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Vt("number",r)),new Intl.NumberFormat(t,n)})),Kt=jt((e=>{var{locale:t,format:r}=e,n=Ot(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Vt("date",r):0===Object.keys(n).length&&(n=Vt("date","short")),new Intl.DateTimeFormat(t,n)})),Zt=jt((e=>{var{locale:t,format:r}=e,n=Ot(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Vt("time",r):0===Object.keys(n).length&&(n=Vt("time","short")),new Intl.DateTimeFormat(t,n)})),zt=jt(((e,t=kt())=>new Et(e,t,Rt().formats,{ignoreTag:Rt().ignoreTag}))),Wt=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=kt(),default:h}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ht(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=Rt()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:l,id:e,defaultValue:h}))&&void 0!==i?i:h)&&void 0!==o?o:e;if(!a)return c;let u=c;try{u=zt(c,l).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u},Yt=(e,t)=>((e={})=>{var{locale:t=kt()}=e,r=Ot(e,["locale"]);return Zt(Object.assign({locale:t},r))})(t).format(e),qt=(e,t)=>((e={})=>{var{locale:t=kt()}=e,r=Ot(e,["locale"]);return Kt(Object.assign({locale:t},r))})(t).format(e),Qt=(e,t)=>((e={})=>{var{locale:t=kt()}=e,r=Ot(e,["locale"]);return Xt(Object.assign({locale:t},r))})(t).format(e),Jt=(e,t=kt())=>Ht(e,t),er=U([$t,Bt],(()=>Wt));function tr(e,t){Lt(e,t)}U([$t],(()=>Yt)),U([$t],(()=>qt)),U([$t],(()=>Qt)),U([$t,Bt],(()=>Jt));const rr={en:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},zh:{Translations:{sorry:"我们很抱歉",access:"您尝试访问的页面仅对登录用户可用。 请登录。.",login:"登录"}},de:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},it:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},fr:{Translations:{sorry:"Nous sommes désolés",access:"La page à laquelle vous essayez d'accéder n'est disponible que pour les utilisateurs connectés. Veuillez vous connecter.",login:"Connexion"}},es:{Translations:{sorry:"Disculpas",access:"La página que estas intentando acceder solo está disponible para usuarios regstrados. Por favor Iniciar sesión.",login:"Iniciar sesión"}},tr:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},ru:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},ro:{Translations:{sorry:"Ne pare rau",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},hr:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},hu:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},pl:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},pt:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},sl:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}},sr:{Translations:{sorry:"We are sorry",access:"The page you are trying to access is available for logged-in users only. Please login.",login:"Login"}}};
571
571
  /* src/Casino_403.svelte generated by Svelte v3.48.0 */function nr(t){let r,n,i,o,s,y,b,d,E,v,T,H,_,B,A,P,L,S,N,w=/*$_*/t[1]("Translations.sorry")+"",I=/*$_*/t[1]("Translations.access")+"",C=/*$_*/t[1]("Translations.login")+"";return{c(){r=c("div"),n=c("div"),i=u("svg"),o=u("g"),s=u("path"),y=u("path"),b=u("path"),d=u("path"),E=p(),v=c("p"),T=f(w),H=p(),_=c("p"),B=f(I),A=p(),P=c("button"),L=f(C),this.c=e,g(s,"class","a"),g(s,"d","M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z"),g(y,"class","a"),g(y,"d","M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"),g(y,"transform","translate(-116.772 -116.794)"),g(b,"class","a"),g(b,"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(b,"transform","translate(-250.22 -116.794)"),g(d,"class","a"),g(d,"d","M199.816,81.307h-1.765V74.5c0-8.132-5.863-14.5-14.247-14.5s-14.12,6.493-14.12,14.5v6.745h-1.765a7.156,7.156,0,0,0-7.123,7.123v21.307a7.156,7.156,0,0,0,7.123,7.123h31.9a7.156,7.156,0,0,0,7.123-7.123V88.367a7.1,7.1,0,0,0-7.123-7.06Zm-26.6,0V74.5c0-6.052,4.16-10.969,10.59-10.969,6.367,0,10.716,4.791,10.716,10.969v6.745H173.215v.063Zm30.132,28.367a3.524,3.524,0,0,1-3.53,3.53h-31.9a3.524,3.524,0,0,1-3.53-3.53V88.367a3.524,3.524,0,0,1,3.53-3.53h31.9a3.524,3.524,0,0,1,3.53,3.53ZM187.4,95.49a3.548,3.548,0,0,1-1.765,3.089h0v5.8a1.765,1.765,0,1,1-3.53,0v-5.8h0a3.55,3.55,0,0,1,1.765-6.619,3.447,3.447,0,0,1,3.53,3.53Z"),g(d,"transform","translate(-109.326 -3.172)"),g(o,"transform","translate(-9.37 -9.34)"),g(i,"xmlns","http://www.w3.org/2000/svg"),g(i,"width","130.345"),g(i,"height","130.345"),g(i,"viewBox","0 0 130.345 130.345"),g(v,"class","PageTitle"),g(_,"class","PageContent"),g(P,"class","ButtonDefaultSmall"),g(n,"class","NotFoundPage"),g(r,"class","PageWrapper")},m(e,h){var c,u,f,p;l(e,r,h),a(r,n),a(n,i),a(i,o),a(o,s),a(o,y),a(o,b),a(o,d),a(n,E),a(n,v),a(v,T),a(n,H),a(n,_),a(_,B),a(n,A),a(n,P),a(P,L),
572
572
  /*div1_binding*/t[8](r),S||(c=P,u="click",f=/*click_handler*/t[7],c.addEventListener(u,f,p),N=()=>c.removeEventListener(u,f,p),S=!0)},p(e,[t]){/*$_*/2&t&&w!==(w=/*$_*/e[1]("Translations.sorry")+"")&&m(T,w),/*$_*/2&t&&I!==(I=/*$_*/e[1]("Translations.access")+"")&&m(B,I),/*$_*/2&t&&C!==(C=/*$_*/e[1]("Translations.login")+"")&&m(L,C)},i:e,o:e,d(e){e&&h(r)
573
- /*div1_binding*/,t[8](null),S=!1,N()}}}function ir(e,t,r){let n;var i,o;i=er,o=e=>r(1,n=e),e.$$.on_destroy.push(s(i,o));let a,{lang:l="en"}=t,{clientstyling:h=""}=t,{clientstylingurl:c=""}=t,{translationurl:u=""}=t;Object.keys(rr).forEach((e=>{tr(e,rr[e])}));const f=()=>{window.postMessage({type:"403ActionButton"},window.location.href)},p=()=>{var e;e=l,$t.set(e)};return e.$$set=e=>{"lang"in e&&r(3,l=e.lang),"clientstyling"in e&&r(4,h=e.clientstyling),"clientstylingurl"in e&&r(5,c=e.clientstylingurl),"translationurl"in e&&r(6,u=e.translationurl)},e.$$.update=()=>{/*lang*/8&e.$$.dirty&&l&&p(),/*clientstyling, customStylingContainer*/17&e.$$.dirty&&h&&a&&(()=>{let e=document.createElement("style");e.innerHTML=h,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/33&e.$$.dirty&&c&&a&&(()=>{let e=new URL(c),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1)}))})(),/*translationurl*/64&e.$$.dirty&&u&&fetch(u).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{tr(t,e[t])}))})).catch((e=>{console.log(e)}))},[a,n,f,l,h,c,u,()=>f(),function(e){v[e?"unshift":"push"]((()=>{a=e,r(0,a)}))}]}class or extends O{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%;font-size:12px;padding:20px}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.PageContent{font-size:16px;line-height:18px}}</style>",C(this,{target:this.shadowRoot,props:y(this.attributes),customElement:!0},ir,nr,o,{lang:3,clientstyling:4,clientstylingurl:5,translationurl:6},null),e&&(e.target&&l(e.target,this,e.anchor),e.props&&(this.$set(e.props),S()))}static get observedAttributes(){return["lang","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),S()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),S()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),S()}get translationurl(){return this.$$.ctx[6]}set translationurl(e){this.$$set({translationurl:e}),S()}}return!customElements.get("casino-403")&&customElements.define("casino-403",or),or}));
573
+ /*div1_binding*/,t[8](null),S=!1,N()}}}function ir(e,t,r){let n;var i,o;i=er,o=e=>r(1,n=e),e.$$.on_destroy.push(s(i,o));let a,{lang:l="en"}=t,{clientstyling:h=""}=t,{clientstylingurl:c=""}=t,{translationurl:u=""}=t;Object.keys(rr).forEach((e=>{tr(e,rr[e])}));const f=()=>{window.postMessage({type:"403ActionButton"},window.location.href)},p=()=>{var e;e=l,$t.set(e)};return e.$$set=e=>{"lang"in e&&r(3,l=e.lang),"clientstyling"in e&&r(4,h=e.clientstyling),"clientstylingurl"in e&&r(5,c=e.clientstylingurl),"translationurl"in e&&r(6,u=e.translationurl)},e.$$.update=()=>{/*lang*/8&e.$$.dirty&&l&&p(),/*clientstyling, customStylingContainer*/17&e.$$.dirty&&h&&a&&(()=>{let e=document.createElement("style");e.innerHTML=h,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/33&e.$$.dirty&&c&&a&&(()=>{let e=new URL(c),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1)}))})(),/*translationurl*/64&e.$$.dirty&&u&&fetch(u).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{tr(t,e[t])}))})).catch((e=>{console.log(e)}))},[a,n,f,l,h,c,u,()=>f(),function(e){v[e?"unshift":"push"]((()=>{a=e,r(0,a)}))}]}class or extends O{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%;font-size:12px;padding:20px}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.PageContent{font-size:16px;line-height:18px}}</style>',C(this,{target:this.shadowRoot,props:y(this.attributes),customElement:!0},ir,nr,o,{lang:3,clientstyling:4,clientstylingurl:5,translationurl:6},null),e&&(e.target&&l(e.target,this,e.anchor),e.props&&(this.$set(e.props),S()))}static get observedAttributes(){return["lang","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),S()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),S()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),S()}get translationurl(){return this.$$.ctx[6]}set translationurl(e){this.$$set({translationurl:e}),S()}}return!customElements.get("casino-403")&&customElements.define("casino-403",or),or}));
574
574
  //# sourceMappingURL=casino-403.js.map