@everymatrix/casino-calendar-daily-item 1.85.16 → 1.85.18

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.
@@ -4232,7 +4232,9 @@ const Bt = [], At = {}, $i = (e, t = 0) => {
4232
4232
  return At[e];
4233
4233
  };
4234
4234
  window.emWidgets = { topic: $i };
4235
- const Fi = (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)), Pt = {
4235
+ const Fi = (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));
4236
+ String(Number.MAX_SAFE_INTEGER).length;
4237
+ const Pt = {
4236
4238
  en: {
4237
4239
  error: "500 Error - Internal Server Error",
4238
4240
  loading: "Loading ...",
@@ -4307,6 +4309,8 @@ function Ui(e, t) {
4307
4309
  }
4308
4310
  }
4309
4311
  function Di(e, t) {
4312
+ if (!e || !t)
4313
+ return;
4310
4314
  const r = new URL(t);
4311
4315
  fetch(r.href).then((n) => n.text()).then((n) => {
4312
4316
  const i = document.createElement("style");
@@ -15,4 +15,4 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
15
  PERFORMANCE OF THIS SOFTWARE.
16
16
  ***************************************************************************** */var Ze=function(e,t){return Ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Ze(e,t)};function se(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ze(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function Qe(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function qe(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return o}function Je(e,t,r){if(arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||t)}function $(e){return typeof e=="function"}function cr(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Me=cr(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
17
17
  `+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
18
- `):"",this.name="UnsubscriptionError",this.errors=r}});function Ye(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var He=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=Qe(s),h=a.next();!h.done;h=a.next()){var u=h.value;u.remove(this)}}catch(m){t={error:m}}finally{try{h&&!h.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var l=this.initialTeardown;if($(l))try{l()}catch(m){o=m instanceof Me?m.errors:[m]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var c=Qe(f),p=c.next();!p.done;p=c.next()){var g=p.value;try{At(g)}catch(m){o=o!=null?o:[],m instanceof Me?o=Je(Je([],qe(o)),qe(m.errors)):o.push(m)}}}catch(m){n={error:m}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}}if(o)throw new Me(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)At(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Ye(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Ye(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),fr=He.EMPTY;function dr(e){return e instanceof He||e&&"closed"in e&&$(e.remove)&&$(e.add)&&$(e.unsubscribe)}function At(e){$(e)?e():e.unsubscribe()}var Ri={Promise:void 0},$i={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Je([e,t],qe(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Fi(e){$i.setTimeout(function(){throw e})}function Pt(){}function be(e){e()}var pr=function(e){se(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,dr(r)&&r.add(n)):n.destination=Gi,n}return t.create=function(r,n,i){return new Ke(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(He),Ui=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){fe(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){fe(n)}else fe(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){fe(r)}},e}(),Ke=function(e){se(t,e);function t(r,n,i){var o=e.call(this)||this,s;return $(r)||!r?s={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:s=r,o.destination=new Ui(s),o}return t}(pr);function fe(e){Fi(e)}function Di(e){throw e}var Gi={closed:!0,next:Pt,error:Di,complete:Pt},ji=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ki(e){return e}function Vi(e){return e.length===0?ki:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var Ot=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,o=zi(t)?t:new Ke(t,r,n);return be(function(){var s=i,a=s.operator,h=s.source;o.add(a?a.call(o,h):h?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=Ct(r),new r(function(i,o){var s=new Ke({next:function(a){try{t(a)}catch(h){o(h),s.unsubscribe()}},error:o,complete:i});n.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[ji]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Vi(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Ct(t),new t(function(n,i){var o;r.subscribe(function(s){return o=s},function(s){return i(s)},function(){return n(o)})})},e.create=function(t){return new e(t)},e}();function Ct(e){var t;return(t=e!=null?e:Ri.Promise)!==null&&t!==void 0?t:Promise}function Xi(e){return e&&$(e.next)&&$(e.error)&&$(e.complete)}function zi(e){return e&&e instanceof pr||Xi(e)&&dr(e)}var Wi=cr(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),mr=function(e){se(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new It(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Wi},t.prototype.next=function(r){var n=this;be(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=Qe(n.currentObservers),a=s.next();!a.done;a=s.next()){var h=a.value;h.next(r)}}catch(u){i={error:u}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;be(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;be(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,o=i.hasError,s=i.isStopped,a=i.observers;return o||s?fr:(this.currentObservers=null,a.push(r),new He(function(){n.currentObservers=null,Ye(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,o=n.thrownError,s=n.isStopped;i?r.error(o):s&&r.complete()},t.prototype.asObservable=function(){var r=new Ot;return r.source=this,r},t.create=function(r,n){return new It(r,n)},t}(Ot),It=function(e){se(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:fr},t}(mr),br={now:function(){return(br.delegate||Date).now()},delegate:void 0},Zi=function(e){se(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=br);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=n,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,n),o}return t.prototype.next=function(r){var n=this,i=n.isStopped,o=n._buffer,s=n._infiniteTimeWindow,a=n._timestampProvider,h=n._windowTime;i||(o.push(r),!s&&o.push(a.now()+h)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,o=i._infiniteTimeWindow,s=i._buffer,a=s.slice(),h=0;h<a.length&&!r.closed;h+=o?1:2)r.next(a[h]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,o=r._buffer,s=r._infiniteTimeWindow,a=(s?1:2)*n;if(n<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var h=i.now(),u=0,l=1;l<o.length&&o[l]<=h;l+=2)u=l;u&&o.splice(0,u+1)}},t}(mr);const Lt=[],Nt={},Qi=(e,t=0)=>{if(Lt.indexOf(e)==-1){const r=new Zi(t);Nt[e]=r,Lt.push(e)}return Nt[e]};window.emWidgets={topic:Qi};const qi=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)),Mt={en:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},hr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"ponedjeljak",tuesday:"utorak",wednesday:"srijeda",thursday:"četvrtak",friday:"petak",saturday:"subota",sunday:"nedjelja"},"pt-br":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"es-mx":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},tr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"en-us":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"}};function Ji(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function Yi(e,t){const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Ki(e,t,r){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,i=>{n.innerHTML=i,e&&e.appendChild(n)})}}function eo(e){Tr(e,"svelte-l9b1y7",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px var(--emw--color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emw--color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emw--color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emw--color-white, #FFFFFF);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;background-image:linear-gradient(var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843)), var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843))), var(--background-image-url);background-size:cover;background-position:center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon ui-image img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 10px);cursor:pointer;transition:border 150ms ease-in-out}')}function to(e){let t,r,n,i,o,s,a,h,u,l,f,c,p=e[8](`${e[2]}`)+"",g,m,v,L,P,E,N,T,C,F,ae;return{c(){t=B("div"),r=B("div"),n=B("div"),i=B("div"),o=B("div"),o.innerHTML='<div class="RingLeft"></div> <div class="RingRight"></div>',s=he(),a=B("div"),h=B("div"),u=B("ui-image"),f=he(),c=B("div"),g=Re(p),m=he(),v=B("div"),L=he(),P=B("div"),E=B("button"),N=Re(e[3]),A(o,"class","CalendarBar"),lt(u.src,l=e[1])||le(u,"src",l),le(u,"alt",e[1]),A(h,"class","CasinoCalendarDailyIcon"),A(c,"class","CasinoCalendarDailyTitle"),A(v,"class","CasinoCalendarDailyItemDescription"),A(E,"class","MoreInfoButton"),A(P,"class","CasinoCalendarDailyItemButton"),A(a,"class",T="CasinoCalendarItemBackground CalendarPage "+(e[4]=="OpenCalendarModal"?"Tear":"")),ft(a,"--background-image-url","url('"+e[0]+"')"),A(i,"class","CalendarCard"),A(n,"class","CasinoCalendarItems"),A(r,"class",C="Container "+(e[7]?"Mobile":""))},m(H,d){Ut(H,t,d),S(t,r),S(r,n),S(n,i),S(i,o),S(i,s),S(i,a),S(a,h),S(h,u),S(a,f),S(a,c),S(c,g),S(a,m),S(a,v),e[16](v),S(a,L),S(a,P),S(P,E),S(E,N),e[18](t),F||(ae=Ar(E,"click",e[17]),F=!0)},p(H,[d]){d&2&&!lt(u.src,l=H[1])&&le(u,"src",l),d&2&&le(u,"alt",H[1]),d&260&&p!==(p=H[8](`${H[2]}`)+"")&&ct(g,p),d&8&&ct(N,H[3]),d&16&&T!==(T="CasinoCalendarItemBackground CalendarPage "+(H[4]=="OpenCalendarModal"?"Tear":""))&&A(a,"class",T),d&1&&ft(a,"--background-image-url","url('"+H[0]+"')"),d&128&&C!==(C="Container "+(H[7]?"Mobile":""))&&A(r,"class",C)},i:M,o:M,d(H){H&&tt(t),e[16](null),e[18](null),F=!1,ae()}}}function ro(e,t,r){let n;wr(e,Ni,d=>r(8,n=d));let{lang:i=""}=t,{dailybackground:o=""}=t,{dailyicon:s=""}=t,{dailyday:a=""}=t,{dailydescription:h="<p></p>"}=t,{dailybuttontitle:u=""}=t,{index:l="0"}=t,{mbsource:f}=t,{clientstyling:c=""}=t,{clientstylingurl:p=""}=t,{translationurl:g=""}=t,m,v,L=!1,P=window.navigator.userAgent;const E=()=>{Mi(i)};Object.keys(Mt).forEach(d=>{Bt(d,Mt[d])});const N=()=>{let d=g;if(d)return fetch(d).then(G=>G.json()).then(G=>{Object.keys(G).forEach(it=>{Bt(it,G[it])})}).catch(G=>{console.log(G)})},T=()=>{let d=document.createElement("div");d.innerHTML=h,m&&m.append(d)},C=()=>{window.postMessage({type:"OpenCalendar",index:l},window.location.href),typeof gtag=="function"&&gtag("event","MoreInfo",{context:"CalendarWidgetItem"})};Ir(()=>(qi(P)&&r(7,L=!0),()=>{}));function F(d){ye[d?"unshift":"push"](()=>{m=d,r(6,m)})}const ae=()=>C();function H(d){ye[d?"unshift":"push"](()=>{v=d,r(5,v)})}return e.$$set=d=>{"lang"in d&&r(10,i=d.lang),"dailybackground"in d&&r(0,o=d.dailybackground),"dailyicon"in d&&r(1,s=d.dailyicon),"dailyday"in d&&r(2,a=d.dailyday),"dailydescription"in d&&r(11,h=d.dailydescription),"dailybuttontitle"in d&&r(3,u=d.dailybuttontitle),"index"in d&&r(4,l=d.index),"mbsource"in d&&r(12,f=d.mbsource),"clientstyling"in d&&r(13,c=d.clientstyling),"clientstylingurl"in d&&r(14,p=d.clientstylingurl),"translationurl"in d&&r(15,g=d.translationurl)},e.$$.update=()=>{e.$$.dirty&1024&&i&&E(),e.$$.dirty&33792&&i&&g&&N(),e.$$.dirty&2063&&s&&a&&h&&u&&o&&T(),e.$$.dirty&8224&&c&&v&&Ji(v,c),e.$$.dirty&16416&&p&&v&&Yi(v,p),e.$$.dirty&4128&&f&&v&&Ki(v,`${f}.Style`)},[o,s,a,u,l,v,m,L,n,C,i,h,f,c,p,g,F,ae,H]}class yr extends Vr{constructor(t){super(),jr(this,t,ro,to,$t,{lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,mbsource:12,clientstyling:13,clientstylingurl:14,translationurl:15},eo)}get lang(){return this.$$.ctx[10]}set lang(t){this.$$set({lang:t}),O()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(t){this.$$set({dailybackground:t}),O()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(t){this.$$set({dailyicon:t}),O()}get dailyday(){return this.$$.ctx[2]}set dailyday(t){this.$$set({dailyday:t}),O()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(t){this.$$set({dailydescription:t}),O()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(t){this.$$set({dailybuttontitle:t}),O()}get index(){return this.$$.ctx[4]}set index(t){this.$$set({index:t}),O()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),O()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),O()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),O()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),O()}}kr(yr,{lang:{},dailybackground:{},dailyicon:{},dailyday:{},dailydescription:{},dailybuttontitle:{},index:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=yr;
18
+ `):"",this.name="UnsubscriptionError",this.errors=r}});function Ye(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var He=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=Qe(s),h=a.next();!h.done;h=a.next()){var u=h.value;u.remove(this)}}catch(m){t={error:m}}finally{try{h&&!h.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var l=this.initialTeardown;if($(l))try{l()}catch(m){o=m instanceof Me?m.errors:[m]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var c=Qe(f),p=c.next();!p.done;p=c.next()){var g=p.value;try{At(g)}catch(m){o=o!=null?o:[],m instanceof Me?o=Je(Je([],qe(o)),qe(m.errors)):o.push(m)}}}catch(m){n={error:m}}finally{try{p&&!p.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}}if(o)throw new Me(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)At(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Ye(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Ye(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),fr=He.EMPTY;function dr(e){return e instanceof He||e&&"closed"in e&&$(e.remove)&&$(e.add)&&$(e.unsubscribe)}function At(e){$(e)?e():e.unsubscribe()}var Ri={Promise:void 0},$i={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Je([e,t],qe(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Fi(e){$i.setTimeout(function(){throw e})}function Pt(){}function be(e){e()}var pr=function(e){se(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,dr(r)&&r.add(n)):n.destination=Gi,n}return t.create=function(r,n,i){return new Ke(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(He),Ui=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){fe(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){fe(n)}else fe(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){fe(r)}},e}(),Ke=function(e){se(t,e);function t(r,n,i){var o=e.call(this)||this,s;return $(r)||!r?s={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:s=r,o.destination=new Ui(s),o}return t}(pr);function fe(e){Fi(e)}function Di(e){throw e}var Gi={closed:!0,next:Pt,error:Di,complete:Pt},ji=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ki(e){return e}function Vi(e){return e.length===0?ki:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var Ot=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,o=zi(t)?t:new Ke(t,r,n);return be(function(){var s=i,a=s.operator,h=s.source;o.add(a?a.call(o,h):h?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=Ct(r),new r(function(i,o){var s=new Ke({next:function(a){try{t(a)}catch(h){o(h),s.unsubscribe()}},error:o,complete:i});n.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[ji]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Vi(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Ct(t),new t(function(n,i){var o;r.subscribe(function(s){return o=s},function(s){return i(s)},function(){return n(o)})})},e.create=function(t){return new e(t)},e}();function Ct(e){var t;return(t=e!=null?e:Ri.Promise)!==null&&t!==void 0?t:Promise}function Xi(e){return e&&$(e.next)&&$(e.error)&&$(e.complete)}function zi(e){return e&&e instanceof pr||Xi(e)&&dr(e)}var Wi=cr(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),mr=function(e){se(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new It(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Wi},t.prototype.next=function(r){var n=this;be(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=Qe(n.currentObservers),a=s.next();!a.done;a=s.next()){var h=a.value;h.next(r)}}catch(u){i={error:u}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;be(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;be(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,o=i.hasError,s=i.isStopped,a=i.observers;return o||s?fr:(this.currentObservers=null,a.push(r),new He(function(){n.currentObservers=null,Ye(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,o=n.thrownError,s=n.isStopped;i?r.error(o):s&&r.complete()},t.prototype.asObservable=function(){var r=new Ot;return r.source=this,r},t.create=function(r,n){return new It(r,n)},t}(Ot),It=function(e){se(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:fr},t}(mr),br={now:function(){return(br.delegate||Date).now()},delegate:void 0},Zi=function(e){se(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=br);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=n,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,n),o}return t.prototype.next=function(r){var n=this,i=n.isStopped,o=n._buffer,s=n._infiniteTimeWindow,a=n._timestampProvider,h=n._windowTime;i||(o.push(r),!s&&o.push(a.now()+h)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,o=i._infiniteTimeWindow,s=i._buffer,a=s.slice(),h=0;h<a.length&&!r.closed;h+=o?1:2)r.next(a[h]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,o=r._buffer,s=r._infiniteTimeWindow,a=(s?1:2)*n;if(n<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var h=i.now(),u=0,l=1;l<o.length&&o[l]<=h;l+=2)u=l;u&&o.splice(0,u+1)}},t}(mr);const Lt=[],Nt={},Qi=(e,t=0)=>{if(Lt.indexOf(e)==-1){const r=new Zi(t);Nt[e]=r,Lt.push(e)}return Nt[e]};window.emWidgets={topic:Qi};const qi=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));String(Number.MAX_SAFE_INTEGER).length;const Mt={en:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},hr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"ponedjeljak",tuesday:"utorak",wednesday:"srijeda",thursday:"četvrtak",friday:"petak",saturday:"subota",sunday:"nedjelja"},"pt-br":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"es-mx":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},tr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"en-us":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"}};function Ji(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function Yi(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Ki(e,t,r){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,i=>{n.innerHTML=i,e&&e.appendChild(n)})}}function eo(e){Tr(e,"svelte-l9b1y7",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px var(--emw--color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emw--color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emw--color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emw--color-white, #FFFFFF);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;background-image:linear-gradient(var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843)), var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843))), var(--background-image-url);background-size:cover;background-position:center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon ui-image img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 10px);cursor:pointer;transition:border 150ms ease-in-out}')}function to(e){let t,r,n,i,o,s,a,h,u,l,f,c,p=e[8](`${e[2]}`)+"",g,m,v,L,P,E,N,T,C,F,ae;return{c(){t=B("div"),r=B("div"),n=B("div"),i=B("div"),o=B("div"),o.innerHTML='<div class="RingLeft"></div> <div class="RingRight"></div>',s=he(),a=B("div"),h=B("div"),u=B("ui-image"),f=he(),c=B("div"),g=Re(p),m=he(),v=B("div"),L=he(),P=B("div"),E=B("button"),N=Re(e[3]),A(o,"class","CalendarBar"),lt(u.src,l=e[1])||le(u,"src",l),le(u,"alt",e[1]),A(h,"class","CasinoCalendarDailyIcon"),A(c,"class","CasinoCalendarDailyTitle"),A(v,"class","CasinoCalendarDailyItemDescription"),A(E,"class","MoreInfoButton"),A(P,"class","CasinoCalendarDailyItemButton"),A(a,"class",T="CasinoCalendarItemBackground CalendarPage "+(e[4]=="OpenCalendarModal"?"Tear":"")),ft(a,"--background-image-url","url('"+e[0]+"')"),A(i,"class","CalendarCard"),A(n,"class","CasinoCalendarItems"),A(r,"class",C="Container "+(e[7]?"Mobile":""))},m(H,d){Ut(H,t,d),S(t,r),S(r,n),S(n,i),S(i,o),S(i,s),S(i,a),S(a,h),S(h,u),S(a,f),S(a,c),S(c,g),S(a,m),S(a,v),e[16](v),S(a,L),S(a,P),S(P,E),S(E,N),e[18](t),F||(ae=Ar(E,"click",e[17]),F=!0)},p(H,[d]){d&2&&!lt(u.src,l=H[1])&&le(u,"src",l),d&2&&le(u,"alt",H[1]),d&260&&p!==(p=H[8](`${H[2]}`)+"")&&ct(g,p),d&8&&ct(N,H[3]),d&16&&T!==(T="CasinoCalendarItemBackground CalendarPage "+(H[4]=="OpenCalendarModal"?"Tear":""))&&A(a,"class",T),d&1&&ft(a,"--background-image-url","url('"+H[0]+"')"),d&128&&C!==(C="Container "+(H[7]?"Mobile":""))&&A(r,"class",C)},i:M,o:M,d(H){H&&tt(t),e[16](null),e[18](null),F=!1,ae()}}}function ro(e,t,r){let n;wr(e,Ni,d=>r(8,n=d));let{lang:i=""}=t,{dailybackground:o=""}=t,{dailyicon:s=""}=t,{dailyday:a=""}=t,{dailydescription:h="<p></p>"}=t,{dailybuttontitle:u=""}=t,{index:l="0"}=t,{mbsource:f}=t,{clientstyling:c=""}=t,{clientstylingurl:p=""}=t,{translationurl:g=""}=t,m,v,L=!1,P=window.navigator.userAgent;const E=()=>{Mi(i)};Object.keys(Mt).forEach(d=>{Bt(d,Mt[d])});const N=()=>{let d=g;if(d)return fetch(d).then(G=>G.json()).then(G=>{Object.keys(G).forEach(it=>{Bt(it,G[it])})}).catch(G=>{console.log(G)})},T=()=>{let d=document.createElement("div");d.innerHTML=h,m&&m.append(d)},C=()=>{window.postMessage({type:"OpenCalendar",index:l},window.location.href),typeof gtag=="function"&&gtag("event","MoreInfo",{context:"CalendarWidgetItem"})};Ir(()=>(qi(P)&&r(7,L=!0),()=>{}));function F(d){ye[d?"unshift":"push"](()=>{m=d,r(6,m)})}const ae=()=>C();function H(d){ye[d?"unshift":"push"](()=>{v=d,r(5,v)})}return e.$$set=d=>{"lang"in d&&r(10,i=d.lang),"dailybackground"in d&&r(0,o=d.dailybackground),"dailyicon"in d&&r(1,s=d.dailyicon),"dailyday"in d&&r(2,a=d.dailyday),"dailydescription"in d&&r(11,h=d.dailydescription),"dailybuttontitle"in d&&r(3,u=d.dailybuttontitle),"index"in d&&r(4,l=d.index),"mbsource"in d&&r(12,f=d.mbsource),"clientstyling"in d&&r(13,c=d.clientstyling),"clientstylingurl"in d&&r(14,p=d.clientstylingurl),"translationurl"in d&&r(15,g=d.translationurl)},e.$$.update=()=>{e.$$.dirty&1024&&i&&E(),e.$$.dirty&33792&&i&&g&&N(),e.$$.dirty&2063&&s&&a&&h&&u&&o&&T(),e.$$.dirty&8224&&c&&v&&Ji(v,c),e.$$.dirty&16416&&p&&v&&Yi(v,p),e.$$.dirty&4128&&f&&v&&Ki(v,`${f}.Style`)},[o,s,a,u,l,v,m,L,n,C,i,h,f,c,p,g,F,ae,H]}class yr extends Vr{constructor(t){super(),jr(this,t,ro,to,$t,{lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,mbsource:12,clientstyling:13,clientstylingurl:14,translationurl:15},eo)}get lang(){return this.$$.ctx[10]}set lang(t){this.$$set({lang:t}),O()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(t){this.$$set({dailybackground:t}),O()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(t){this.$$set({dailyicon:t}),O()}get dailyday(){return this.$$.ctx[2]}set dailyday(t){this.$$set({dailyday:t}),O()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(t){this.$$set({dailydescription:t}),O()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(t){this.$$set({dailybuttontitle:t}),O()}get index(){return this.$$.ctx[4]}set index(t){this.$$set({index:t}),O()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),O()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),O()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),O()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),O()}}kr(yr,{lang:{},dailybackground:{},dailyicon:{},dailyday:{},dailydescription:{},dailybuttontitle:{},index:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=yr;
@@ -4269,7 +4269,9 @@ const Lt = [], Nt = {}, Zi = (e, t = 0) => {
4269
4269
  return Nt[e];
4270
4270
  };
4271
4271
  window.emWidgets = { topic: Zi };
4272
- const Qi = (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)), Mt = {
4272
+ const Qi = (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));
4273
+ String(Number.MAX_SAFE_INTEGER).length;
4274
+ const Mt = {
4273
4275
  en: {
4274
4276
  error: "500 Error - Internal Server Error",
4275
4277
  loading: "Loading ...",
@@ -4344,6 +4346,8 @@ function Ji(e, t) {
4344
4346
  }
4345
4347
  }
4346
4348
  function qi(e, t) {
4349
+ if (!e || !t)
4350
+ return;
4347
4351
  const r = new URL(t);
4348
4352
  fetch(r.href).then((n) => n.text()).then((n) => {
4349
4353
  const i = document.createElement("style");
@@ -1 +1 @@
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/CasinoCalendarDailyItem-B_X4xPrz.cjs")).then(({default:t})=>{!customElements.get("casino-calendar-daily-item")&&customElements.define("casino-calendar-daily-item",t.element)})}
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/CasinoCalendarDailyItem-B-Cr1dWA.cjs")).then(({default:t})=>{!customElements.get("casino-calendar-daily-item")&&customElements.define("casino-calendar-daily-item",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoCalendarDailyItem-BiIP9jy7.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoCalendarDailyItem-CLiGGzmf.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CasinoCalendarDailyItem-toJPW8h9.js";
1
+ import { C as s } from "../components/CasinoCalendarDailyItem-8MiuiKu9.js";
2
2
  function a(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-calendar-daily-item",
3
- "version": "1.85.16",
3
+ "version": "1.85.18",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-calendar-daily-item.cjs",
6
6
  "module": "esnext/casino-calendar-daily-item.js",