@everymatrix/casino-calendar 1.31.2 → 1.32.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.
- package/dist/casino-calendar.js +23 -23
- package/dist/casino-calendar.js.map +1 -1
- package/package.json +2 -2
package/dist/casino-calendar.js
CHANGED
|
@@ -656,33 +656,33 @@ const An=t=>!!(t.toLowerCase().match(/android/i)||t.toLowerCase().match(/blackbe
|
|
|
656
656
|
* @returns {String} Android/iPhone/iPad/PC
|
|
657
657
|
*/
|
|
658
658
|
/* ../casino-calendar-daily-details/src/CasinoCalendarDailyDetails.svelte generated by Svelte v3.59.2 */
|
|
659
|
-
function Hn(t,e,r){const n=t.slice();return n[
|
|
660
|
-
// (
|
|
661
|
-
function Pn(t){let e,r,n,i,o,s,a,l,f,v=/*dailyeventsDetails*/t[3],w=[];for(let e=0;e<v.length;e+=1)w[e]=Rn(Hn(t,v,e));return{c(){e=p("div"),r=p("span"),r.innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',n=m(),i=p("div"),o=y(/*dailyday*/t[1]),s=m();for(let t=0;t<w.length;t+=1)w[t].c();b(r,"class","ModalCloseBtn"),b(r,"role","button"),b(i,"class","CasinoCalendarDailyDay"),b(e,"class",a="CasinoCalendarDailyDetailsBackground "+(/*mobileView*/t[
|
|
662
|
-
// (
|
|
659
|
+
function Hn(t,e,r){const n=t.slice();return n[26]=e[r],n[27]=e,n[28]=r,n}function Sn(t,e,r){const n=t.slice();return n[29]=e[r],n[31]=r,n}
|
|
660
|
+
// (105:4) {:else}
|
|
661
|
+
function Pn(t){let e,r,n,i,o,s,a,l,f,v=/*dailyeventsDetails*/t[3],w=[];for(let e=0;e<v.length;e+=1)w[e]=Rn(Hn(t,v,e));return{c(){e=p("div"),r=p("span"),r.innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',n=m(),i=p("div"),o=y(/*dailyday*/t[1]),s=m();for(let t=0;t<w.length;t+=1)w[t].c();b(r,"class","ModalCloseBtn"),b(r,"role","button"),b(i,"class","CasinoCalendarDailyDay"),b(e,"class",a="CasinoCalendarDailyDetailsBackground "+(/*mobileView*/t[5]?"Mobile":""))},m(a,h){u(a,e,h),c(e,r),c(e,n),c(e,i),c(i,o),c(e,s);for(let t=0;t<w.length;t+=1)w[t]&&w[t].m(e,null);l||(f=g(r,"click",/*closeModal*/t[6]),l=!0)},p(t,r){if(/*dailyday*/2&r[0]&&E(o,/*dailyday*/t[1]),/*dailyeventsDetails, setActiveTab, handleDetailsArea, dailybuttontitle*/393&r[0]){let n;for(v=/*dailyeventsDetails*/t[3],n=0;n<v.length;n+=1){const i=Hn(t,v,n);w[n]?w[n].p(i,r):(w[n]=Rn(i),w[n].c(),w[n].m(e,null))}for(;n<w.length;n+=1)w[n].d(1);w.length=v.length}/*mobileView*/32&r[0]&&a!==(a="CasinoCalendarDailyDetailsBackground "+(/*mobileView*/t[5]?"Mobile":""))&&b(e,"class",a)},d(t){t&&h(e),d(w,t),l=!1,f()}}}
|
|
662
|
+
// (103:4) {#if isLoading}
|
|
663
663
|
function Ln(e){let r;return{c(){r=p("p"),r.textContent="Loading ...",b(r,"class","SearchLoading"),b(r,"part","SearchLoading")},m(t,e){u(t,r,e)},p:t,d(t){t&&h(r)}}}
|
|
664
|
-
// (
|
|
664
|
+
// (135:16) {:else}
|
|
665
665
|
function In(t){let e,r;return{c(){e=f("svg"),r=f("path"),b(r,"stroke-linecap","round"),b(r,"stroke-linejoin","round"),b(r,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),b(e,"xmlns","http://www.w3.org/2000/svg"),b(e,"fill","none"),b(e,"viewBox","0 0 24 24"),b(e,"stroke-width","1.5"),b(e,"stroke","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))"),b(e,"class","IconDown")},m(t,n){u(t,e,n),c(e,r)},d(t){t&&h(e)}}}
|
|
666
|
-
// (
|
|
666
|
+
// (121:16) {#if event.expandedInfo == true}
|
|
667
667
|
function On(t){let e,r;return{c(){e=f("svg"),r=f("path"),b(r,"stroke-linecap","round"),b(r,"stroke-linejoin","round"),b(r,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),b(e,"xmlns","http://www.w3.org/2000/svg"),b(e,"fill","none"),b(e,"viewBox","0 0 24 24"),b(e,"stroke-width","1.5"),b(e,"stroke","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))"),b(e,"class","IconUp")},m(t,n){u(t,e,n),c(e,r)},d(t){t&&h(e)}}}
|
|
668
|
-
// (
|
|
669
|
-
function Mn(t){let e,r,n,i=/*event*/t[
|
|
670
|
-
// (
|
|
671
|
-
function Nn(t){let e,r,n,i,o,s,a,l,d=/*detail*/t[
|
|
672
|
-
return t[
|
|
673
|
-
// (
|
|
674
|
-
function Dn(t){let e,r,n=/*event*/t[
|
|
675
|
-
// (
|
|
676
|
-
function Rn(t){let e,r,n,i,o,s,a,d,f,y,v,E,w,_,x,B,C,A,H=/*event*/t[
|
|
677
|
-
return 1==t[
|
|
678
|
-
return t[
|
|
679
|
-
return t[
|
|
680
|
-
/*div_binding*/e[
|
|
681
|
-
/*div_binding*/e[
|
|
668
|
+
// (153:14) {#if event.expandedInfo == true}
|
|
669
|
+
function Mn(t){let e,r,n,i=/*event*/t[26].details,o=[];for(let e=0;e<i.length;e+=1)o[e]=Nn(Sn(t,i,e));let s=/*event*/t[26].detailsExpanded&&Dn(t);return{c(){e=p("div");for(let t=0;t<o.length;t+=1)o[t].c();r=m(),s&&s.c(),n=y(""),b(e,"class","DetailsTabsTitles")},m(t,i){u(t,e,i);for(let t=0;t<o.length;t+=1)o[t]&&o[t].m(e,null);u(t,r,i),s&&s.m(t,i),u(t,n,i)},p(t,r){if(/*dailyeventsDetails, setActiveTab*/264&r[0]){let n;for(i=/*event*/t[26].details,n=0;n<i.length;n+=1){const s=Sn(t,i,n);o[n]?o[n].p(s,r):(o[n]=Nn(s),o[n].c(),o[n].m(e,null))}for(;n<o.length;n+=1)o[n].d(1);o.length=i.length}/*event*/t[26].detailsExpanded?s?s.p(t,r):(s=Dn(t),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null)},d(t){t&&h(e),d(o,t),t&&h(r),s&&s.d(t),t&&h(n)}}}
|
|
670
|
+
// (155:18) {#each event.details as detail, i}
|
|
671
|
+
function Nn(t){let e,r,n,i,o,s,a,l,d=/*detail*/t[29].title+"";function f(){/*click_handler_1*/
|
|
672
|
+
return t[18](/*event*/t[26],/*i*/t[31],/*index*/t[28])}return{c(){e=p("div"),r=p("div"),n=p("button"),o=m(),b(n,"class",i="HeaderButton "+(/*i*/t[31]===/*event*/t[26].selectedTab?"Active":"")),b(r,"class","Header"),b(e,"class",s=/*i*/t[31]===/*event*/t[26].selectedTab?"SelectedTab":""),b(e,"id","CollapseMoreInfoButton"),w(e,"height",/*event*/t[26].expandedInfo?"100%":"")},m(t,i){u(t,e,i),c(e,r),c(r,n),n.innerHTML=d,c(e,o),a||(l=g(n,"click",f),a=!0)},p(r,o){t=r,/*dailyeventsDetails*/8&o[0]&&d!==(d=/*detail*/t[29].title+"")&&(n.innerHTML=d),/*dailyeventsDetails*/8&o[0]&&i!==(i="HeaderButton "+(/*i*/t[31]===/*event*/t[26].selectedTab?"Active":""))&&b(n,"class",i),/*dailyeventsDetails*/8&o[0]&&s!==(s=/*i*/t[31]===/*event*/t[26].selectedTab?"SelectedTab":"")&&b(e,"class",s),/*dailyeventsDetails*/8&o[0]&&w(e,"height",/*event*/t[26].expandedInfo?"100%":"")},d(t){t&&h(e),a=!1,l()}}}
|
|
673
|
+
// (166:16) {#if event.detailsExpanded}
|
|
674
|
+
function Dn(t){let e,r,n=/*event*/t[26].details[/*event*/t[26].selectedTab].description+"";return{c(){e=p("div"),b(e,"class",r="DetailTabsDescription "+(/*event*/t[26].details[/*event*/t[26].selectedTab].expandedTab?"":"NotVisible"))},m(t,r){u(t,e,r),e.innerHTML=n},p(t,i){/*dailyeventsDetails*/8&i[0]&&n!==(n=/*event*/t[26].details[/*event*/t[26].selectedTab].description+"")&&(e.innerHTML=n),/*dailyeventsDetails*/8&i[0]&&r!==(r="DetailTabsDescription "+(/*event*/t[26].details[/*event*/t[26].selectedTab].expandedTab?"":"NotVisible"))&&b(e,"class",r)},d(t){t&&h(e)}}}
|
|
675
|
+
// (113:8) {#each dailyeventsDetails as event, index}
|
|
676
|
+
function Rn(t){let e,r,n,i,o,s,a,d,f,y,v,E,w,_,x,B,C,A,H=/*event*/t[26].title+"",S=/*event*/t[26].description+"";function P(t,e){/*event*/
|
|
677
|
+
return 1==t[26].expandedInfo?On:In}let L=P(t),I=L(t);function O(){/*click_handler*/
|
|
678
|
+
return t[17](/*event*/t[26],/*each_value*/t[27],/*index*/t[28])}let M=/*event*/1==t[26].expandedInfo&&Mn(t);return{c(){e=p("div"),r=p("div"),n=m(),i=p("div"),o=p("img"),d=m(),f=p("div"),y=m(),v=p("div"),E=p("button"),w=new T(!1),_=m(),I.c(),x=m(),M&&M.c(),B=m(),b(r,"class","CasinoCalendarDailyTitle"),b(o,"class","CasinoCalendarFitImage"),l(o.src,s=/*event*/t[26].image)||b(o,"src",s),b(o,"alt",a=/*event*/t[26].image),b(i,"class","CasinoCalendarImage"),b(f,"class","CasinoCalendarDailyDescription"),w.a=_,b(E,"class","MoreInfoButton"),b(v,"class","CasinoCalendarTabs"),b(e,"class","CasinoCalendarDailyDetailsParent")},m(s,a){u(s,e,a),c(e,r),r.innerHTML=H,c(e,n),c(e,i),c(i,o),c(e,d),c(e,f),f.innerHTML=S,c(e,y),c(e,v),c(v,E),w.m(/*dailybuttontitle*/t[0],E),c(E,_),I.m(E,null),c(v,x),M&&M.m(v,null),c(e,B),C||(A=g(E,"click",O),C=!0)},p(e,n){t=e,/*dailyeventsDetails*/8&n[0]&&H!==(H=/*event*/t[26].title+"")&&(r.innerHTML=H),/*dailyeventsDetails*/8&n[0]&&!l(o.src,s=/*event*/t[26].image)&&b(o,"src",s),/*dailyeventsDetails*/8&n[0]&&a!==(a=/*event*/t[26].image)&&b(o,"alt",a),/*dailyeventsDetails*/8&n[0]&&S!==(S=/*event*/t[26].description+"")&&(f.innerHTML=S),/*dailybuttontitle*/1&n[0]&&w.p(/*dailybuttontitle*/t[0]),L!==(L=P(t))&&(I.d(1),I=L(t),I&&(I.c(),I.m(E,null))),/*event*/1==t[26].expandedInfo?M?M.p(t,n):(M=Mn(t),M.c(),M.m(v,null)):M&&(M.d(1),M=null)},d(t){t&&h(e),I.d(),M&&M.d(),C=!1,A()}}}function $n(e){let r;function n(t,e){/*isLoading*/
|
|
679
|
+
return t[4]?Ln:Pn}let i=n(e),o=i(e);return{c(){r=p("div"),o.c(),this.c=t},m(t,n){u(t,r,n),o.m(r,null),
|
|
680
|
+
/*div_binding*/e[19](r)},p(t,e){i===(i=n(t))&&o?o.p(t,e):(o.d(1),o=i(t),o&&(o.c(),o.m(r,null)))},i:t,o:t,d(t){t&&h(r),o.d(),
|
|
681
|
+
/*div_binding*/e[19](null)}}}function kn(t,e,r){let n,{dailybackground:i=""}=e,{dailybuttontitle:o=""}=e,{dailyday:s=""}=e,{dailydescription:a="<p></p>"}=e,{dailyicon:l=""}=e,{dailytitle:c=""}=e,{lang:u="en"}=e,{clientstyling:h=""}=e,{clientstylingurl:d=""}=e,{translationUrl:p=""}=e,f=[],y=!0,m=!1,g=window.navigator.userAgent;!function({withLocale:t,translations:e}){an.subscribe((r=>{null==r&&(Dr.set(e),an.set(t))}));// maybe we will need this to make sure that the i18n is set up only once
|
|
682
682
|
/*dictionary.set(translations);
|
|
683
|
-
locale.set(_locale);*/}({withLocale:"en",translations:{}});const
|
|
683
|
+
locale.set(_locale);*/}({withLocale:"en",translations:{}});const b=t=>{"DailyEventsData"==t.data.type&&(r(4,y=!1),r(3,f=t.data.data),f.forEach((t=>{t.expandedInfo=!1,t.detailsExpanded=!1,t.selectedTab=0,t.details.forEach(((t,e)=>{t.expandedTab=0==e}))})))},v=()=>{var t;t=u,an.set(t)},E=t=>{r(3,f[t].detailsExpanded=!f[t].detailsExpanded,f),
|
|
684
684
|
//Analytics event
|
|
685
|
-
"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetDetails"})},
|
|
685
|
+
"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetDetails"})},w=(t,e,n)=>{r(3,f[n].selectedTab=e,f),t.details.forEach(((t,e)=>{f[n].selectedTab!=e?t.expandedTab=!1:t.expandedTab=!0}))};B((()=>(window.addEventListener("message",b,!1),An(g)&&r(5,m=!0),()=>{window.removeEventListener("message",b)})));return t.$$set=t=>{"dailybackground"in t&&r(9,i=t.dailybackground),"dailybuttontitle"in t&&r(0,o=t.dailybuttontitle),"dailyday"in t&&r(1,s=t.dailyday),"dailydescription"in t&&r(10,a=t.dailydescription),"dailyicon"in t&&r(11,l=t.dailyicon),"dailytitle"in t&&r(12,c=t.dailytitle),"lang"in t&&r(13,u=t.lang),"clientstyling"in t&&r(14,h=t.clientstyling),"clientstylingurl"in t&&r(15,d=t.clientstylingurl),"translationUrl"in t&&r(16,p=t.translationUrl)},t.$$.update=()=>{/*lang*/8192&t.$$.dirty[0]&&u&&v(),/*clientstyling, customStylingContainer*/16388&t.$$.dirty[0]&&h&&n&&(()=>{let t=document.createElement("style");t.innerHTML=h,n.appendChild(t)})(),/*clientstylingurl, customStylingContainer*/32772&t.$$.dirty[0]&&d&&n&&(()=>{let t=new URL(d),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{n.appendChild(e)}),1),setTimeout((()=>{}),500)}))})()},[o,s,n,f,y,m,()=>{window.postMessage({type:"ModalClosed"},window.location.href),f.forEach(((t,e)=>{t.detailsExpanded=0==e,t.expandedInfo=0==e,t.selectedTab=0}))},E,w,i,a,l,c,u,h,d,p,(t,e,n)=>{r(3,e[n].expandedInfo=!t.expandedInfo,f),E(n)},(t,e,r)=>{w(t,e,r)},function(t){A[t?"unshift":"push"]((()=>{n=t,r(2,n)}))}]}
|
|
686
686
|
/* ../casino-calendar-daily-item/src/CasinoCalendarDailyItem.svelte generated by Svelte v3.59.2 */
|
|
687
687
|
function Fn(e){let r,n,i,o,s,a,d,f,v,T,_,x,B,C,A,H,S,P,L,I,O,M,N;return{c(){r=p("div"),n=p("div"),i=p("div"),o=p("div"),s=p("div"),s.innerHTML='<div class="RingLeft"></div> \n <div class="RingRight"></div>',a=m(),d=p("div"),f=p("div"),v=p("img"),_=m(),x=p("div"),B=y(/*dailyday*/e[2]),C=m(),A=p("div"),H=m(),S=p("div"),P=p("button"),L=y(/*dailybuttontitle*/e[3]),this.c=t,b(s,"class","CalendarBar"),l(v.src,T=/*dailyicon*/e[1])||b(v,"src",T),b(v,"alt",/*dailyicon*/e[1]),b(f,"class","CasinoCalendarDailyIcon"),b(x,"class","CasinoCalendarDailyTitle"),b(A,"class","CasinoCalendarDailyItemDescription"),b(P,"class","MoreInfoButton"),b(S,"class","CasinoCalendarDailyItemButton"),b(d,"class",I="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==/*index*/e[4]?"Tear":"")),w(d,"background-image","url('"+/*dailybackground*/e[0]+"')"),w(d,"background-size","cover"),w(d,"background-position","center"),w(d,"-webkit-background-size","cover"),w(d,"-moz-background-size","cover"),w(d,"-o-background-size","cover"),b(o,"class","CalendarCard"),b(i,"class","CasinoCalendarItems"),b(n,"class",O="Container "+(/*mobileView*/e[7]?"Mobile":""))},m(t,l){u(t,r,l),c(r,n),c(n,i),c(i,o),c(o,s),c(o,a),c(o,d),c(d,f),c(f,v),c(d,_),c(d,x),c(x,B),c(d,C),c(d,A),
|
|
688
688
|
/*div5_binding*/e[14](A),c(d,H),c(d,S),c(S,P),c(P,L),
|
|
@@ -694,7 +694,7 @@ function Fn(e){let r,n,i,o,s,a,d,f,v,T,_,x,B,C,A,H,S,P,L,I,O,M,N;return{c(){r=p(
|
|
|
694
694
|
//Analytics event
|
|
695
695
|
"function"==typeof gtag&>ag("event","MoreInfo",{context:"CalendarWidgetItem"})};B((()=>{An(m)&&r(7,y=!0)}));return t.$$set=t=>{"cmsendpoint"in t&&r(9,o=t.cmsendpoint),"lang"in t&&r(10,s=t.lang),"dailybackground"in t&&r(0,a=t.dailybackground),"dailyicon"in t&&r(1,l=t.dailyicon),"dailyday"in t&&r(2,c=t.dailyday),"dailydescription"in t&&r(11,u=t.dailydescription),"dailybuttontitle"in t&&r(3,h=t.dailybuttontitle),"index"in t&&r(4,d=t.index),"clientstyling"in t&&r(12,p=t.clientstyling),"clientstylingurl"in t&&r(13,f=t.clientstylingurl)},t.$$.update=()=>{/*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/2063&t.$$.dirty&&l&&c&&u&&h&&a&&(()=>{
|
|
696
696
|
// remove HTML tags
|
|
697
|
-
let t=document.createElement("div");t.innerHTML=u,n&&n.append(t)})(),/*clientstyling, customStylingContainer*/4128&t.$$.dirty&&p&&i&&(()=>{let t=document.createElement("style");t.innerHTML=p,i.appendChild(t)})(),/*clientstylingurl, customStylingContainer*/8224&t.$$.dirty&&f&&i&&(()=>{let t=new URL(f),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1),setTimeout((()=>{}),500)}))})()},[a,l,c,h,d,i,n,y,g,o,s,u,p,f,function(t){A[t?"unshift":"push"]((()=>{n=t,r(6,n)}))},()=>g(),function(t){A[t?"unshift":"push"]((()=>{i=t,r(5,i)}))}]}!customElements.get("casino-calendar-daily-details")&&customElements.define("casino-calendar-daily-details",class extends U{constructor(t){super();const e=document.createElement("style");e.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:15px 0;border-radius:0 0 5px 5px;border:none;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));cursor:pointer}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{position:relative;display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emfe-w-color-white, #FFFFFF);width:500px;max-height:85vh;padding:20px;text-align:center;overflow-y:scroll;overflow-x:unset}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px}.CasinoCalendarDailyDay{padding:10px 0 40px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarImage{background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emfe-w-gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emfe-w-color-white, #FFFFFF) 55%, var(--emfe-w-color-gray-100, #E6E6E6));overflow-wrap:break-word}.ModalCloseBtn{position:absolute;top:10px;right:10px;display:flex;align-items:center;justify-content:center;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-casino-color-primary, #D0046C);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emfe-w-color-gray-300, #58586B)}.DetailsTabsTitles{display:flex;flex-direction:row}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px;flex-direction:column}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;cursor:pointer;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.Mobile{max-height:70vh;margin-bottom:0;width:100%;padding:20px 0}",this.shadowRoot.appendChild(e),F(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},kn,$n,o,{dailybackground:
|
|
697
|
+
let t=document.createElement("div");t.innerHTML=u,n&&n.append(t)})(),/*clientstyling, customStylingContainer*/4128&t.$$.dirty&&p&&i&&(()=>{let t=document.createElement("style");t.innerHTML=p,i.appendChild(t)})(),/*clientstylingurl, customStylingContainer*/8224&t.$$.dirty&&f&&i&&(()=>{let t=new URL(f),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1),setTimeout((()=>{}),500)}))})()},[a,l,c,h,d,i,n,y,g,o,s,u,p,f,function(t){A[t?"unshift":"push"]((()=>{n=t,r(6,n)}))},()=>g(),function(t){A[t?"unshift":"push"]((()=>{i=t,r(5,i)}))}]}!customElements.get("casino-calendar-daily-details")&&customElements.define("casino-calendar-daily-details",class extends U{constructor(t){super();const e=document.createElement("style");e.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:15px 0;border-radius:0 0 5px 5px;border:none;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));cursor:pointer}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{position:relative;display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emfe-w-color-white, #FFFFFF);width:500px;max-height:85vh;padding:20px;text-align:center;overflow-y:scroll;overflow-x:unset}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px}.CasinoCalendarDailyDay{padding:10px 0 40px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarImage{background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emfe-w-gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emfe-w-color-white, #FFFFFF) 55%, var(--emfe-w-color-gray-100, #E6E6E6));overflow-wrap:break-word}.ModalCloseBtn{position:absolute;top:10px;right:10px;display:flex;align-items:center;justify-content:center;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-casino-color-primary, #D0046C);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emfe-w-color-gray-300, #58586B)}.DetailsTabsTitles{display:flex;flex-direction:row}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px;flex-direction:column}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;cursor:pointer;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.Mobile{max-height:70vh;margin-bottom:0;width:100%;padding:20px 0}",this.shadowRoot.appendChild(e),F(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},kn,$n,o,{dailybackground:9,dailybuttontitle:0,dailyday:1,dailydescription:10,dailyicon:11,dailytitle:12,lang:13,clientstyling:14,clientstylingurl:15,translationUrl:16},null,[-1,-1]),t&&(t.target&&u(t.target,this,t.anchor),t.props&&(this.$set(t.props),N()))}static get observedAttributes(){return["dailybackground","dailybuttontitle","dailyday","dailydescription","dailyicon","dailytitle","lang","clientstyling","clientstylingurl","translationUrl"]}get dailybackground(){return this.$$.ctx[9]}set dailybackground(t){this.$$set({dailybackground:t}),N()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(t){this.$$set({dailybuttontitle:t}),N()}get dailyday(){return this.$$.ctx[1]}set dailyday(t){this.$$set({dailyday:t}),N()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(t){this.$$set({dailydescription:t}),N()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(t){this.$$set({dailyicon:t}),N()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(t){this.$$set({dailytitle:t}),N()}get lang(){return this.$$.ctx[13]}set lang(t){this.$$set({lang:t}),N()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(t){this.$$set({clientstyling:t}),N()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),N()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(t){this.$$set({translationUrl:t}),N()}});
|
|
698
698
|
/* src/CasinoCalendar.svelte generated by Svelte v3.59.2 */
|
|
699
699
|
function Gn(t,e,r){const n=t.slice();return n[21]=e[r],n[23]=r,n}
|
|
700
700
|
// (105:6) {#if calendarCollections?.length}
|