@everymatrix/casino-betslip-indicator 1.17.1 → 1.17.3
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.
|
@@ -650,5 +650,5 @@ function vn(e){let t;return{c(){t=l(/*betNumber*/e[1])},m(e,r){a(e,t,r)},p(e,r){
|
|
|
650
650
|
function En(t){let r;return{c(){r=h("div"),r.textContent="Loading...",f(r,"class","loader")},m(e,t){a(e,r,t)},p:e,d(e){e&&u(r)}}}function _n(t){let r,n=/*mobileView*/t[2]&&/*betNumber*/t[1]>0&&gn(t);return{c(){r=h("div"),n&&n.c(),this.c=e},m(e,o){a(e,r,o),n&&n.m(r,null)
|
|
651
651
|
/*div_binding*/,t[8](r)},p(e,[t]){/*mobileView*/e[2]&&/*betNumber*/e[1]>0?n?n.p(e,t):(n=gn(e),n.c(),n.m(r,null)):n&&(n.d(1),n=null)},i:e,o:e,d(e){e&&u(r),n&&n.d()
|
|
652
652
|
/*div_binding*/,t[8](null)}}}function wn(e,t,r){let n,{clientstyling:o=""}=t,{clientstylingurl:i=""}=t,s=window.navigator.userAgent,a=null,u=!1,h=!0;const c=b(),l=(e,t)=>{c.dispatchEvent(new CustomEvent(e,{detail:t,composed:!0,bubbles:!0}))},f=e=>{const{type:t,payload:n}=e.data;if(e.data&&"OMFE:updateBetslipSelectionsCount"===t)r(1,a=n.count),r(3,h=!1)};// dispatching events
|
|
653
|
-
var p;p=()=>(window.postMessage({type:"OMFE:getBetslipSelectionsCount"},"*"),window.addEventListener("message",f,!1),(e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))(s)&&r(2,u=!0),()=>{window.removeEventListener("message",f)}),b().$$.on_mount.push(p);return e.$$set=e=>{"clientstyling"in e&&r(5,o=e.clientstyling),"clientstylingurl"in e&&r(6,i=e.clientstylingurl)},e.$$.update=()=>{/*clientstylingurl, customStylingContainer*/65&e.$$.dirty&&i&&n&&(()=>{let e=new URL(i),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{n.appendChild(t)}),1)}))})(),/*clientstyling, customStylingContainer*/33&e.$$.dirty&&o&&n&&(()=>{let e=document.createElement("style");e.innerHTML=o,n.appendChild(e)})()},[n,a,u,h,l,o,i,e=>l("betslipClick",{}),function(e){g[e?"unshift":"push"]((()=>{n=e,r(0,n)}))}]}class Tn extends I{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.betslipIndicator{display:flex;align-items:center;justify-content:center;padding:15px 20px;position:fixed;bottom:20%;right:20px;color:#fff;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-
|
|
653
|
+
var p;p=()=>(window.postMessage({type:"OMFE:getBetslipSelectionsCount"},"*"),window.addEventListener("message",f,!1),(e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))(s)&&r(2,u=!0),()=>{window.removeEventListener("message",f)}),b().$$.on_mount.push(p);return e.$$set=e=>{"clientstyling"in e&&r(5,o=e.clientstyling),"clientstylingurl"in e&&r(6,i=e.clientstylingurl)},e.$$.update=()=>{/*clientstylingurl, customStylingContainer*/65&e.$$.dirty&&i&&n&&(()=>{let e=new URL(i),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{n.appendChild(t)}),1)}))})(),/*clientstyling, customStylingContainer*/33&e.$$.dirty&&o&&n&&(()=>{let e=document.createElement("style");e.innerHTML=o,n.appendChild(e)})()},[n,a,u,h,l,o,i,e=>l("betslipClick",{}),function(e){g[e?"unshift":"push"]((()=>{n=e,r(0,n)}))}]}class Tn extends I{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.betslipIndicator{display:flex;align-items:center;justify-content:center;padding:15px 20px;position:fixed;bottom:20%;right:20px;color:#fff;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0px 5px 30px var(--emfe-w-color-gray-100, #E6E6E6);border-radius:50%;border:none}.betslipIndicator__icon{display:flex;width:20px;fill:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.betslipIndicator__number{display:flex;align-items:center;justify-content:center;position:absolute;right:0px;top:-10px;width:25px;height:25px;background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));border-radius:50%}.loader{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:2px;margin:100px auto;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:load4 1.3s infinite linear;animation:load4 1.3s infinite linear;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}@keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}",this.shadowRoot.appendChild(t),C(this,{target:this.shadowRoot,props:p(this.attributes),customElement:!0},wn,_n,i,{clientstyling:5,clientstylingurl:6},null),e&&(e.target&&a(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["clientstyling","clientstylingurl"]}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}}return!customElements.get("casino-betslip-indicator")&&customElements.define("casino-betslip-indicator",Tn),Tn}));
|
|
654
654
|
//# sourceMappingURL=casino-betslip-indicator.js.map
|