@everymatrix/casino-footer-v2 1.7.1 → 1.7.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.
- package/dist/casino-footer-v2.js +2 -2
- package/package.json +2 -2
package/dist/casino-footer-v2.js
CHANGED
@@ -699,7 +699,7 @@ const ei=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/i
|
|
699
699
|
// on mouseup stop interval count
|
700
700
|
null==i||i.removeEventListener("mouseup",b),null==i||i.removeEventListener("touchend",b)})),e.$$set=e=>{"lang"in e&&n(7,a=e.lang),"customtext"in e&&n(0,l=e.customtext),"clientstyling"in e&&n(8,u=e.clientstyling),"clientstylingurl"in e&&n(9,h=e.clientstylingurl),"alternativestyling"in e&&n(1,d=e.alternativestyling),"translationurl"in e&&n(10,f=e.translationurl)},e.$$.update=()=>{var t;/*panicButton*/4&e.$$.dirty&&i&&(null==i||i.addEventListener("mousedown",y,!1),null==i||i.addEventListener("touchstart",y,!1),
|
701
701
|
// on mouseup stop interval count
|
702
|
-
null==i||i.addEventListener("mouseup",b,!1),null==i||i.addEventListener("touchend",b,!1)),/*lang*/128&e.$$.dirty&&a&&(t=a,Yr.set(t)),/*clientstyling, customStylingContainer*/264&e.$$.dirty&&u&&o&&(()=>{let e=document.createElement("style");e.innerHTML=u,o.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/520&e.$$.dirty&&h&&o&&(()=>{let e=new URL(h),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1)}))})(),/*translationurl*/1024&e.$$.dirty&&f&&fetch(f).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{ti(t,e[t])}))})).catch((e=>{console.log(e)}))},[l,d,i,o,p,r,g,a,u,h,f,function(e){P[e?"unshift":"push"]((()=>{i=e,n(2,i)}))},function(e){P[e?"unshift":"push"]((()=>{o=e,n(3,o)}))}]}!customElements.get("panic-button")&&customElements.define("panic-button",class extends V{constructor(e){super(),this.shadowRoot.innerHTML=
|
702
|
+
null==i||i.addEventListener("mouseup",b,!1),null==i||i.addEventListener("touchend",b,!1)),/*lang*/128&e.$$.dirty&&a&&(t=a,Yr.set(t)),/*clientstyling, customStylingContainer*/264&e.$$.dirty&&u&&o&&(()=>{let e=document.createElement("style");e.innerHTML=u,o.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/520&e.$$.dirty&&h&&o&&(()=>{let e=new URL(h),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1)}))})(),/*translationurl*/1024&e.$$.dirty&&f&&fetch(f).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{ti(t,e[t])}))})).catch((e=>{console.log(e)}))},[l,d,i,o,p,r,g,a,u,h,f,function(e){P[e?"unshift":"push"]((()=>{i=e,n(2,i)}))},function(e){P[e?"unshift":"push"]((()=>{o=e,n(3,o)}))}]}!customElements.get("panic-button")&&customElements.define("panic-button",class extends V{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}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{border-radius:5px;border:1px solid #D0046C;background-color:#D0046C;font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emfe-w-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 #D0046C;background-color:#D0046C;width:100% !important;height:30px;color:var(--emfe-w-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:#D0046C;width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{border:1px solid #F57F17;background-color:#F57F17;width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid #F57F17;background-color:#F57F17;font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:#F57F17;width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}</style>",j(this,{target:this.shadowRoot,props:M(this.attributes),customElement:!0},ii,ri,o,{lang:7,customtext:0,clientstyling:8,clientstylingurl:9,alternativestyling:1,translationurl:10},null),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["lang","customtext","clientstyling","clientstylingurl","alternativestyling","translationurl"]}get lang(){return this.$$.ctx[7]}set lang(e){this.$$set({lang:e}),N()}get customtext(){return this.$$.ctx[0]}set customtext(e){this.$$set({customtext:e}),N()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}get alternativestyling(){return this.$$.ctx[1]}set alternativestyling(e){this.$$set({alternativestyling:e}),N()}get translationurl(){return this.$$.ctx[10]}set translationurl(e){this.$$set({translationurl:e}),N()}});var oi=function(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return ze(null==t&&n.path)}},n.exports),n.exports}((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}
|
703
703
|
// This is done to register the method called with moment()
|
704
704
|
// without creating circular dependencies.
|
705
705
|
function i(e){t=e}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){
|
@@ -1353,5 +1353,5 @@ const t=new Date(e.Login),n=(new Date).getTimezoneOffset()/60;let i=(new Date).g
|
|
1353
1353
|
//Add clock
|
1354
1354
|
"true"===b&&e.classList.contains("DetailedLicenses")&&e.children[0].children[0].append(ce),
|
1355
1355
|
//Add session timer
|
1356
|
-
"true"==O&&e.classList.contains("DetailedLicenses")&&e.children[0].children[0].append(ue)},me,()=>{a.classList.toggle("hidden")},e=>{let t=e.target.closest(".OverlayLanguageOption");n(27,ne=t.getAttribute("data-lang")),me(),ge(),a.classList.toggle("hidden")},d,p,y,b,_,v,w,E,T,S,x,M,O,$,function(){ne=function(e){const t=e.querySelector(":checked")||e.options[0];return t&&t.__value}(this),n(27,ne),n(0,f),n(6,re),n(28,ie)},()=>me(),function(e){P[e?"unshift":"push"]((()=>{a=e,n(29,a)}))},function(e){P[e?"unshift":"push"]((()=>{h=e,n(7,h)}))}]}class Ci extends V{constructor(e){super(),this.shadowRoot.innerHTML=
|
1356
|
+
"true"==O&&e.classList.contains("DetailedLicenses")&&e.children[0].children[0].append(ue)},me,()=>{a.classList.toggle("hidden")},e=>{let t=e.target.closest(".OverlayLanguageOption");n(27,ne=t.getAttribute("data-lang")),me(),ge(),a.classList.toggle("hidden")},d,p,y,b,_,v,w,E,T,S,x,M,O,$,function(){ne=function(e){const t=e.querySelector(":checked")||e.options[0];return t&&t.__value}(this),n(27,ne),n(0,f),n(6,re),n(28,ie)},()=>me(),function(e){P[e?"unshift":"push"]((()=>{a=e,n(29,a)}))},function(e){P[e?"unshift":"push"]((()=>{h=e,n(7,h)}))}]}class Ci extends V{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, Roboto, Helvetica}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.Footer{position:relative;background-color:#E8E9EB;display:flex;padding:21px 12px;flex-direction:row}.FooterSideMobile{margin-top:44px}.FooterSide{justify-content:center;height:100%;display:flex;flex-direction:column;background-color:#E8E9EB}.FooterSide .FooterTitle{font-family:'Roboto Condensed';font-weight:500;font-size:12px;color:#111;text-transform:uppercase;margin:21px 12px}.FooterGrid{font-weight:400;height:100%;display:flex;max-width:1200px;margin:auto;background-color:#E8E9EB;flex-direction:column;align-items:center;justify-content:center}.FooterGrid .GridRow{display:flex;flex-flow:row wrap;width:100%;align-items:flex-start;justify-content:center;align-items:center;padding:20px 0;text-align:left;max-width:1100px}.FooterGrid .GridRow p{display:inline;font-family:'Roboto';font-style:normal;font-weight:300;font-size:12px;color:#111}.FooterGrid .GridRow .LicenseDesc{flex:1;max-width:575px;line-height:1.3;display:flex;flex-direction:column;align-items:flex-start}.FooterGrid .GridRow .LicenseDesc .DetailedLicenses{font-size:10px;color:var(--emfe-w-color-gray-150, #828282)}.FooterGrid .CopyrightAreaRights{margin-top:10px}.FooterGrid .CopyrightTextArea p,.FooterGrid .CopyrightArea p{margin:0;color:var(--emfe-w-color-gray-150, #828282);font-size:9px}@media only screen and (max-width: 768px){.Footer{display:flex;flex-direction:column}.FooterSide{position:relative;margin-left:14px;margin-top:66px}.FooterGrid{padding:0}.FooterGrid:last-child{padding-bottom:50px}.GridRow{border-bottom:1px solid rgba(0, 0, 0, 0.05);gap:15px}.GridRow:last-child{border:none}}.ItemLanguage{display:none}#LanguageList{padding:0;margin:0}.LanguageSelectorContainer{position:relative}.LanguageSelectorOverlay{position:relative;font-size:12px}.DrawerButton{height:30px;width:150px;background:inherit;color:inherit;border:none;padding:0;font:inherit;cursor:pointer;outline:inherit;display:flex;justify-content:space-evenly;align-items:center;border-radius:0px;border:0;position:relative}.LanguageDrawer{position:absolute;background:#E8E9EB;width:150px;bottom:30px;padding:6px 0;left:7px}.LanguageDrawer.hidden{display:none}.LanguageFlag{margin-right:8px;background:black;border-radius:50%;width:16px;height:16px}.OverlayLanguageOption{justify-content:center;list-style:none;position:relative;height:35px;padding:0;justify-content:space-between;display:flex;flex-direction:row}.OverlayLanguageOption img{position:absolute;z-index:0;cursor:pointer;top:6px;left:12px}.OverlayLanguageOption a{text-decoration:none;color:black;display:inline-block;width:150px}.OverlayLanguageOption a span{width:100%;display:flex;justify-content:center;margin:4px 0}</style>",j(this,{target:this.shadowRoot,props:M(this.attributes),customElement:!0},Bi,Ii,o,{endpoint:39,lang:0,env:40,clientstyling:1,clientstylingurl:2,translationurl:41,clockenabled:42,clocksecondsenabled:43,clockcustomformat:44,clocktext:45,languageselectorenabled:3,languageslist:46,languagedisplaytype:47,session:48,userid:49,userendpoint:50,panicbuttonenabled:4,sessiontimerenabled:51,grouplink:52,baseurl:5},null,[-1,-1,-1]),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["endpoint","lang","env","clientstyling","clientstylingurl","translationurl","clockenabled","clocksecondsenabled","clockcustomformat","clocktext","languageselectorenabled","languageslist","languagedisplaytype","session","userid","userendpoint","panicbuttonenabled","sessiontimerenabled","grouplink","baseurl"]}get endpoint(){return this.$$.ctx[39]}set endpoint(e){this.$$set({endpoint:e}),N()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),N()}get env(){return this.$$.ctx[40]}set env(e){this.$$set({env:e}),N()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}get translationurl(){return this.$$.ctx[41]}set translationurl(e){this.$$set({translationurl:e}),N()}get clockenabled(){return this.$$.ctx[42]}set clockenabled(e){this.$$set({clockenabled:e}),N()}get clocksecondsenabled(){return this.$$.ctx[43]}set clocksecondsenabled(e){this.$$set({clocksecondsenabled:e}),N()}get clockcustomformat(){return this.$$.ctx[44]}set clockcustomformat(e){this.$$set({clockcustomformat:e}),N()}get clocktext(){return this.$$.ctx[45]}set clocktext(e){this.$$set({clocktext:e}),N()}get languageselectorenabled(){return this.$$.ctx[3]}set languageselectorenabled(e){this.$$set({languageselectorenabled:e}),N()}get languageslist(){return this.$$.ctx[46]}set languageslist(e){this.$$set({languageslist:e}),N()}get languagedisplaytype(){return this.$$.ctx[47]}set languagedisplaytype(e){this.$$set({languagedisplaytype:e}),N()}get session(){return this.$$.ctx[48]}set session(e){this.$$set({session:e}),N()}get userid(){return this.$$.ctx[49]}set userid(e){this.$$set({userid:e}),N()}get userendpoint(){return this.$$.ctx[50]}set userendpoint(e){this.$$set({userendpoint:e}),N()}get panicbuttonenabled(){return this.$$.ctx[4]}set panicbuttonenabled(e){this.$$set({panicbuttonenabled:e}),N()}get sessiontimerenabled(){return this.$$.ctx[51]}set sessiontimerenabled(e){this.$$set({sessiontimerenabled:e}),N()}get grouplink(){return this.$$.ctx[52]}set grouplink(e){this.$$set({grouplink:e}),N()}get baseurl(){return this.$$.ctx[5]}set baseurl(e){this.$$set({baseurl:e}),N()}}return!customElements.get("casino-footer-v2")&&customElements.define("casino-footer-v2",Ci),Ci}));
|
1357
1357
|
//# sourceMappingURL=casino-footer-v2.js.map
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@everymatrix/casino-footer-v2",
|
3
|
-
"version": "1.7.
|
3
|
+
"version": "1.7.3",
|
4
4
|
"main": "dist/casino-footer-v2.js",
|
5
5
|
"svelte": "src/index.ts",
|
6
6
|
"scripts": {
|
@@ -36,5 +36,5 @@
|
|
36
36
|
"publishConfig": {
|
37
37
|
"access": "public"
|
38
38
|
},
|
39
|
-
"gitHead": "
|
39
|
+
"gitHead": "af607736d2fefc2fcb0fc155b2023fcd62806a5c"
|
40
40
|
}
|