@everymatrix/casino-footer-v2 1.54.0 → 1.54.2
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.
- package/components/CasinoFooterSection-DD1dew3d.js +1575 -0
- package/components/{CasinoFooterThumbnail-ClM-QitR.js → CasinoFooterThumbnail-BRNvrXA8.js} +19 -19
- package/components/{CasinoFooterV2-DTyUcOpX.js → CasinoFooterV2-6c0BSAVs.js} +902 -918
- package/components/{PlayerPanicButton-sJ90ZrM0.js → PlayerPanicButton-NlwwaRxa.js} +73 -73
- package/esnext/casino-footer-v2.js +14 -0
- package/package.json +10 -12
- package/components/CasinoFooterSection-Bu0a1vo7.js +0 -1626
- package/components/CasinoFooterSection-SII5E_U8.cjs +0 -1
- package/components/CasinoFooterThumbnail-CJmD2dfi.cjs +0 -5
- package/components/CasinoFooterV2-Bw2dn2rI.cjs +0 -10
- package/components/PlayerPanicButton-B3MVuNTL.cjs +0 -1
- package/es2015/casino-footer-v2.cjs +0 -1
- package/es2015/casino-footer-v2.js +0 -16
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFooterSection-SII5E_U8.cjs"),d=require("./CasinoFooterThumbnail-CJmD2dfi.cjs");function P(r,e){d.addMessages(r,e)}function M(r){d.$locale.set(r)}const S={en:{panicButtonString:"Hold button for 3 seconds to take 24-hour timeout"},"zh-hk":{panicButtonString:"长按3秒24小时即时锁定"},fr:{panicButtonString:"Maintenez le bouton enfoncé pendant 3 secondes pour prendre un verrouillage instantané de 24 heures"},ro:{panicButtonString:"Tine apasat 3 secunde pentru a lua o pauza de 24h"},es:{panicButtonString:"Dar clic durante 3 segundos para tomar un descanso de 24 horas"},de:{panicButtonString:"Button für 3 Sekunden drücken um eine 24-stündige Auszeit zu nehmen"},hr:{panicButtonString:"Držite gumb 3 sekunde za 24-satno vremensko ograničenje"},sl:{panicButtonString:"Držite gumb 3 sekunde, da bi vzeli 24 urni premor"},pl:{panicButtonString:"Przytrzymaj przycisk przez 3 sekundy, aby uzyskać 24-godzinny limit czasu"},"pt-br":{panicButtonString:"Pressione o botão por 3 segundos para fazer uma pausa de 24 horas."},"es-mx":{panicButtonString:"Presionar el botón 3 segundos para tomar una pausa de 24 horas."},tr:{panicButtonString:"24 saatlik zaman aşımına uğramak için düğmeyi 3 saniye basılı tutun"},"en-us":{panicButtonString:"Hold button for 3 seconds to take 24-hour timeout"}};function T(r){t.append_styles(r,"svelte-1v7b25v","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{border-radius:5px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:100% !important;height:30px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:280px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}")}function A(r){let e,o,s,l=(r[0]||r[5]("panicButtonString"))+"",p,c;return{c(){e=t.element("div"),o=t.element("div"),s=t.element("button"),p=t.text(l),t.attr(s,"class","PanicButton "+(d.getDevice(r[6])!=="PC"?"PanicButtonMobile":"")),t.attr(s,"part","PanicButton "+(d.getDevice(r[6])!=="PC"?"PanicButtonMobile":"")),t.toggle_class(s,"PanicButtonAnimation",r[4]),t.attr(o,"class","PanicSection "+(d.getDevice(r[6])!=="PC"?"PanicSectionMobile":"")),t.attr(o,"part","PanicSection "+(d.getDevice(r[6])!=="PC"?"PanicSectionMobile":"")),t.attr(e,"class",c=r[1]=="true"?"PanicButtonV2":"")},m(a,g){t.insert(a,e,g),t.append(e,o),t.append(o,s),t.append(s,p),r[11](s),r[12](e)},p(a,[g]){g&33&&l!==(l=(a[0]||a[5]("panicButtonString"))+"")&&t.set_data(p,l),g&16&&t.toggle_class(s,"PanicButtonAnimation",a[4]),g&2&&c!==(c=a[1]=="true"?"PanicButtonV2":"")&&t.attr(e,"class",c)},i:t.noop,o:t.noop,d(a){a&&t.detach(e),r[11](null),r[12](null)}}}function I(r,e,o){let s;t.component_subscribe(r,d.$format,n=>o(5,s=n));let{lang:l="en"}=e,{customtext:p=""}=e,{clientstyling:c=""}=e,{clientstylingurl:a=""}=e,{alternativestyling:g=""}=e,{translationurl:b=""}=e,i,m,h=!1,w=0,k,C=window.navigator.userAgent;const z=()=>{fetch(b).then(u=>u.json()).then(u=>{Object.keys(u).forEach(y=>{P(y,u[y])})}).catch(u=>{console.log(u)})};Object.keys(S).forEach(n=>{P(n,S[n])});const B=()=>{i==null||i.addEventListener("mousedown",v,!1),i==null||i.addEventListener("touchstart",v,!1),i==null||i.addEventListener("mouseup",f,!1),i==null||i.addEventListener("touchend",f,!1)},_=()=>{o(4,h=!1),i==null||i.removeEventListener("mousedown",v),i==null||i.removeEventListener("touchstart",v),i==null||i.removeEventListener("mouseup",f),i==null||i.removeEventListener("touchend",f)},v=()=>{w=0,o(4,h=!0),k=setInterval(()=>{w++,w>=2&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(k),typeof gtag=="function"&>ag("event","PanicButtonClicked",{context:"PanicButton"}))},1e3)},f=()=>{o(4,h=!1),clearInterval(k)},F=()=>{let n=document.createElement("style");n.innerHTML=c,m.appendChild(n)},D=()=>{let n=new URL(a),u=document.createElement("style");fetch(n.href).then(y=>y.text()).then(y=>{u.innerHTML=y,setTimeout(()=>{m.appendChild(u)},1)})};t.onMount(()=>()=>{_()});function E(n){t.binding_callbacks[n?"unshift":"push"](()=>{i=n,o(2,i)})}function L(n){t.binding_callbacks[n?"unshift":"push"](()=>{m=n,o(3,m)})}return r.$$set=n=>{"lang"in n&&o(7,l=n.lang),"customtext"in n&&o(0,p=n.customtext),"clientstyling"in n&&o(8,c=n.clientstyling),"clientstylingurl"in n&&o(9,a=n.clientstylingurl),"alternativestyling"in n&&o(1,g=n.alternativestyling),"translationurl"in n&&o(10,b=n.translationurl)},r.$$.update=()=>{r.$$.dirty&4&&i&&B(),r.$$.dirty&128&&l&&M(l),r.$$.dirty&264&&c&&m&&F(),r.$$.dirty&520&&a&&m&&D(),r.$$.dirty&1024&&b&&z()},[p,g,i,m,h,s,C,l,c,a,b,E,L]}class x extends t.SvelteComponent{constructor(e){super(),t.init(this,e,I,A,t.safe_not_equal,{lang:7,customtext:0,clientstyling:8,clientstylingurl:9,alternativestyling:1,translationurl:10},T)}get lang(){return this.$$.ctx[7]}set lang(e){this.$$set({lang:e}),t.flush()}get customtext(){return this.$$.ctx[0]}set customtext(e){this.$$set({customtext:e}),t.flush()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get alternativestyling(){return this.$$.ctx[1]}set alternativestyling(e){this.$$set({alternativestyling:e}),t.flush()}get translationurl(){return this.$$.ctx[10]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(x,{lang:{},customtext:{},clientstyling:{},clientstylingurl:{},alternativestyling:{},translationurl:{}},[],[],!0);exports.default=x;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoFooterV2-Bw2dn2rI.cjs")).then(({default:t})=>{!customElements.get("casino-footer-v2")&&customElements.define("casino-footer-v2",t.element)})}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
if (typeof window != "undefined") {
|
2
|
-
let n = function(t) {
|
3
|
-
return function(...s) {
|
4
|
-
try {
|
5
|
-
return t.apply(this, s);
|
6
|
-
} catch (e) {
|
7
|
-
if (e instanceof DOMException && e.message.includes("has already been used with this registry") || e.message.includes("Cannot define multiple custom elements with the same tag name"))
|
8
|
-
return !1;
|
9
|
-
throw e;
|
10
|
-
}
|
11
|
-
};
|
12
|
-
};
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoFooterV2-DTyUcOpX.js").then(({ default: t }) => {
|
14
|
-
!customElements.get("casino-footer-v2") && customElements.define("casino-footer-v2", t.element);
|
15
|
-
});
|
16
|
-
}
|