@everymatrix/casino-footer-v2 1.0.2 → 1.0.4

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.
@@ -17,17 +17,17 @@
17
17
  // 3. During afterUpdate, any updated components will NOT have their afterUpdate
18
18
  // callback called a second time; the seen_callbacks set, outside the flush()
19
19
  // function, guarantees this behavior.
20
- const C=new Set;let N=0;// Do *not* move this inside the flush() function
21
- function B(){const e=a;do{
20
+ const C=new Set;let B=0;// Do *not* move this inside the flush() function
21
+ function N(){const e=a;do{
22
22
  // first, call beforeUpdate functions
23
23
  // and update components
24
- for(;N<O.length;){const e=O[N];N++,L(e),R(e.$$)}for(L(null),O.length=0,N=0;P.length;)P.pop()();
24
+ for(;B<O.length;){const e=O[B];B++,L(e),R(e.$$)}for(L(null),O.length=0,B=0;P.length;)P.pop()();
25
25
  // then, once components are updated, call
26
26
  // afterUpdate functions. This may cause
27
27
  // subsequent updates...
28
28
  for(let e=0;e<A.length;e+=1){const t=A[e];C.has(t)||(
29
29
  // ...so guard against infinite loops
30
- C.add(t),t())}A.length=0}while(O.length);for(;$.length;)$.pop()();F=!1,C.clear(),L(e)}function R(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(I)}}const Y=new Set;const U="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function G(e,t){-1===e.$$.dirty[0]&&(O.push(e),F||(F=!0,H.then(B)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function j(o,s,l,u,c,h,d,f=[-1]){const m=a;L(o);const g=o.$$={fragment:null,ctx:null,
30
+ C.add(t),t())}A.length=0}while(O.length);for(;$.length;)$.pop()();F=!1,C.clear(),L(e)}function R(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(I)}}const Y=new Set;const U="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function G(e,t){-1===e.$$.dirty[0]&&(O.push(e),F||(F=!0,H.then(N)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function j(o,s,l,u,c,h,d,f=[-1]){const m=a;L(o);const g=o.$$={fragment:null,ctx:null,
31
31
  // state
32
32
  props:h,update:e,not_equal:c,bound:n(),
33
33
  // lifecycle
@@ -44,7 +44,7 @@ g.fragment&&g.fragment.c();s.intro&&((b=o.$$.fragment)&&b.i&&(Y.delete(b),b.i(_)
44
44
  I((()=>{const n=l.map(t).filter(i);u?u.push(...n):
45
45
  // Edge case - component was destroyed immediately,
46
46
  // most likely as a result of a binding initialising
47
- r(n),e.$$.on_mount=[]})),c.forEach(I)}(o,s.target,s.anchor,s.customElement),B()}var b,_;L(m)}let V;
47
+ r(n),e.$$.on_mount=[]})),c.forEach(I)}(o,s.target,s.anchor,s.customElement),N()}var b,_;L(m)}let V;
48
48
  /* ../casino-footer-thumbnail/src/CasinoFooterThumbnail.svelte generated by Svelte v3.48.0 */
49
49
  function W(e){let t,n,r,i,o,s,a,u;return{c(){t=g("div"),n=g("a"),r=g("img"),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*sociallinkimage*/e[16])||k(r,"src",i),k(r,"title",o=/*sociallinktitle*/e[17]||/*sociallinkurl*/e[15]),k(n,"class",s="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",a="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",u=/*linktype*/e[19]?/*sociallinkurl*/e[15]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*sociallinkurl*/+e[15]),k(n,"target",/*target*/e[18]),k(t,"class","FooterItem SocialItem"),k(t,"part","FooterItem SocialItem")},m(e,i){f(e,t,i),d(t,n),d(n,r)},p(e,t){/*sociallinkimage*/65536&t&&!l(r.src,i=/*sociallinkimage*/e[16])&&k(r,"src",i),/*sociallinktitle, sociallinkurl*/163840&t&&o!==(o=/*sociallinktitle*/e[17]||/*sociallinkurl*/e[15])&&k(r,"title",o),/*sociallinkurl*/32768&t&&s!==(s="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s),/*sociallinkurl*/32768&t&&a!==(a="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",a),/*linktype, sociallinkurl, baseurl, lang*/6848512&t&&u!==(u=/*linktype*/e[19]?/*sociallinkurl*/e[15]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*sociallinkurl*/+e[15])&&k(n,"href",u),/*target*/262144&t&&k(n,"target",/*target*/e[18])},d(e){e&&p(t)}}}
50
50
  // (96:25)
@@ -105,9 +105,9 @@ return e[0]&&/*footersponsors*/e[12].length?pe:/*paymentflag*/e[1]&&/*footerpaym
105
105
  /*div_binding*/,t[21](n)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o&&o.d(1),o=i&&i(e),o&&(o.c(),o.m(n,null)))},i:e,o:e,d(e){e&&p(n),o&&o.d()
106
106
  /*div_binding*/,t[21](null)}}}function ke(e,t,n){let r,{sponsorflag:i=""}=t,{paymentflag:o=""}=t,{vendorflag:s=""}=t,{helperflag:a=""}=t,{licenseflag:l=""}=t,{socialflag:u=""}=t,{target:c=""}=t,{displaycolumn:h=""}=t,{category:d=""}=t,{baseurl:f=""}=t,{lang:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{footertype:y=""}=t,b=[],_=[],v=[],w=[],k=[],E=[];const T=e=>{e.data&&"FooterData"===e.data.type&&(n(12,b=e.data.sponsorsRepeater),n(13,_=e.data.paymentMethodsRepeater),n(14,v=e.data.gameVendorsRepeater),n(15,w=e.data.helpLinksRepeater),n(16,k=e.data.licensesRepeater),n(17,E=e.data.socialLinksRepeater),d&&n(15,w=w.filter((e=>e.key==d))),
107
107
  // casino-footer-v2 uses a different structure for the CMS data for the helper links
108
- "footersecondary"===y&&n(15,w=w[0].value))};return D((()=>(window.addEventListener("message",T,!1),()=>{window.removeEventListener("message",T)}))),e.$$set=e=>{"sponsorflag"in e&&n(0,i=e.sponsorflag),"paymentflag"in e&&n(1,o=e.paymentflag),"vendorflag"in e&&n(2,s=e.vendorflag),"helperflag"in e&&n(3,a=e.helperflag),"licenseflag"in e&&n(4,l=e.licenseflag),"socialflag"in e&&n(5,u=e.socialflag),"target"in e&&n(18,c=e.target),"displaycolumn"in e&&n(6,h=e.displaycolumn),"category"in e&&n(19,d=e.category),"baseurl"in e&&n(7,f=e.baseurl),"lang"in e&&n(8,p=e.lang),"clientstyling"in e&&n(9,m=e.clientstyling),"clientstylingurl"in e&&n(10,g=e.clientstylingurl),"footertype"in e&&n(20,y=e.footertype)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/2560&e.$$.dirty[0]&&m&&r&&(()=>{let e=document.createElement("style");e.innerHTML=m,r.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/3072&e.$$.dirty[0]&&g&&r&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,r&&setTimeout((()=>{r.appendChild(t)}),1)}))})()},[i,o,s,a,l,u,h,f,p,m,g,r,b,_,v,w,k,E,c,d,y,function(e){P[e?"unshift":"push"]((()=>{r=e,n(11,r)}))}]}!customElements.get("casino-footer-thumbnail")&&customElements.define("casino-footer-thumbnail",class extends V{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterItem{display:inline-block;padding:0 12px}.FooterItem .FooterSponsorLink,.FooterItem .FooterPaymentLink{display:block}.FooterItem .FooterSponsorLink{display:flex;align-items:center}.FooterItem .FooterPaymentLink,.FooterItem .FooterHelperLink{display:flex;align-items:center;justify-content:center}.FooterItem .FooterLinkDisabled{pointer-events:none;cursor:auto}.FooterItem .SponsorTitle,.FooterItem .PaymentTitle{font-size:9px;text-decoration:none;color:var(--emfe-w-color-gray-150, #828282);text-align:center}.FooterItem .HelperTitle{color:#111111;font-size:8px}.FooterItem.HelperLinkItem p{font-size:10px}.FooterItem .FooterItemAnchor{display:flex;flex-direction:column;gap:6px;text-decoration:none}.FooterItem.SocialItem .FooterItemAnchor{width:42px;height:42px}.SponsorTitle{margin:0}.FooterLink{display:block;text-align:center}.DisplayColumn .FooterItemAnchor{flex-direction:row}.DisplayColumn .FooterImage{height:16px;width:16px}.DisplayColumn.FooterItem.HelperLinkItem p{font-size:12px}@media only screen and (max-width: 768px){.FooterItem{padding:0 5px}.FooterItem.PaymentItem{padding:15px 5px}.FooterItem.GameVendorItem{padding:0 10px}}</style>",j(this,{target:this.shadowRoot,props:M(this.attributes),customElement:!0},ne,te,o,{sponsorurl:0,sponsorimage:1,sponsortitle:2,paymenturl:3,paymentimage:4,paymenttitle:5,vendorurl:6,vendorimage:7,vendortitle:8,helperlinkurl:9,helperlinkimage:10,helperlinktitle:11,licenseurl:12,licenseimage:13,licensetitle:14,sociallinkurl:15,sociallinkimage:16,sociallinktitle:17,target:18,linktype:19,displaycolumn:20,baseurl:21,lang:22,clientstyling:24,clientstylingurl:25},null),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["sponsorurl","sponsorimage","sponsortitle","paymenturl","paymentimage","paymenttitle","vendorurl","vendorimage","vendortitle","helperlinkurl","helperlinkimage","helperlinktitle","licenseurl","licenseimage","licensetitle","sociallinkurl","sociallinkimage","sociallinktitle","target","linktype","displaycolumn","baseurl","lang","clientstyling","clientstylingurl"]}get sponsorurl(){return this.$$.ctx[0]}set sponsorurl(e){this.$$set({sponsorurl:e}),B()}get sponsorimage(){return this.$$.ctx[1]}set sponsorimage(e){this.$$set({sponsorimage:e}),B()}get sponsortitle(){return this.$$.ctx[2]}set sponsortitle(e){this.$$set({sponsortitle:e}),B()}get paymenturl(){return this.$$.ctx[3]}set paymenturl(e){this.$$set({paymenturl:e}),B()}get paymentimage(){return this.$$.ctx[4]}set paymentimage(e){this.$$set({paymentimage:e}),B()}get paymenttitle(){return this.$$.ctx[5]}set paymenttitle(e){this.$$set({paymenttitle:e}),B()}get vendorurl(){return this.$$.ctx[6]}set vendorurl(e){this.$$set({vendorurl:e}),B()}get vendorimage(){return this.$$.ctx[7]}set vendorimage(e){this.$$set({vendorimage:e}),B()}get vendortitle(){return this.$$.ctx[8]}set vendortitle(e){this.$$set({vendortitle:e}),B()}get helperlinkurl(){return this.$$.ctx[9]}set helperlinkurl(e){this.$$set({helperlinkurl:e}),B()}get helperlinkimage(){return this.$$.ctx[10]}set helperlinkimage(e){this.$$set({helperlinkimage:e}),B()}get helperlinktitle(){return this.$$.ctx[11]}set helperlinktitle(e){this.$$set({helperlinktitle:e}),B()}get licenseurl(){return this.$$.ctx[12]}set licenseurl(e){this.$$set({licenseurl:e}),B()}get licenseimage(){return this.$$.ctx[13]}set licenseimage(e){this.$$set({licenseimage:e}),B()}get licensetitle(){return this.$$.ctx[14]}set licensetitle(e){this.$$set({licensetitle:e}),B()}get sociallinkurl(){return this.$$.ctx[15]}set sociallinkurl(e){this.$$set({sociallinkurl:e}),B()}get sociallinkimage(){return this.$$.ctx[16]}set sociallinkimage(e){this.$$set({sociallinkimage:e}),B()}get sociallinktitle(){return this.$$.ctx[17]}set sociallinktitle(e){this.$$set({sociallinktitle:e}),B()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),B()}get linktype(){return this.$$.ctx[19]}set linktype(e){this.$$set({linktype:e}),B()}get displaycolumn(){return this.$$.ctx[20]}set displaycolumn(e){this.$$set({displaycolumn:e}),B()}get baseurl(){return this.$$.ctx[21]}set baseurl(e){this.$$set({baseurl:e}),B()}get lang(){return this.$$.ctx[22]}set lang(e){this.$$set({lang:e}),B()}get clientstyling(){return this.$$.ctx[24]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[25]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}});!customElements.get("casino-footer-section")&&customElements.define("casino-footer-section",class extends V{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterSectionInnerContainer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.DisplayColumn{flex-direction:column;align-items:flex-start}</style>",j(this,{target:this.shadowRoot,props:M(this.attributes),customElement:!0},ke,we,o,{sponsorflag:0,paymentflag:1,vendorflag:2,helperflag:3,licenseflag:4,socialflag:5,target:18,displaycolumn:6,category:19,baseurl:7,lang:8,clientstyling:9,clientstylingurl:10,footertype:20},null,[-1,-1]),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["sponsorflag","paymentflag","vendorflag","helperflag","licenseflag","socialflag","target","displaycolumn","category","baseurl","lang","clientstyling","clientstylingurl","footertype"]}get sponsorflag(){return this.$$.ctx[0]}set sponsorflag(e){this.$$set({sponsorflag:e}),B()}get paymentflag(){return this.$$.ctx[1]}set paymentflag(e){this.$$set({paymentflag:e}),B()}get vendorflag(){return this.$$.ctx[2]}set vendorflag(e){this.$$set({vendorflag:e}),B()}get helperflag(){return this.$$.ctx[3]}set helperflag(e){this.$$set({helperflag:e}),B()}get licenseflag(){return this.$$.ctx[4]}set licenseflag(e){this.$$set({licenseflag:e}),B()}get socialflag(){return this.$$.ctx[5]}set socialflag(e){this.$$set({socialflag:e}),B()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),B()}get displaycolumn(){return this.$$.ctx[6]}set displaycolumn(e){this.$$set({displaycolumn:e}),B()}get category(){return this.$$.ctx[19]}set category(e){this.$$set({category:e}),B()}get baseurl(){return this.$$.ctx[7]}set baseurl(e){this.$$set({baseurl:e}),B()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),B()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get footertype(){return this.$$.ctx[20]}set footertype(e){this.$$set({footertype:e}),B()}});var Ee="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==Ee&&Ee,Te="URLSearchParams"in Ee,Se="Symbol"in Ee&&"iterator"in Symbol,xe="FileReader"in Ee&&"Blob"in Ee&&function(){try{return new Blob,!0}catch(e){return!1}}(),Me="FormData"in Ee,Le="ArrayBuffer"in Ee;if(Le)var De=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Oe=ArrayBuffer.isView||function(e){return e&&De.indexOf(Object.prototype.toString.call(e))>-1};function Pe(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Ae(e){return"string"!=typeof e&&(e=String(e)),e}
108
+ "footersecondary"===y&&n(15,w=w[0].value))};return D((()=>(window.addEventListener("message",T,!1),()=>{window.removeEventListener("message",T)}))),e.$$set=e=>{"sponsorflag"in e&&n(0,i=e.sponsorflag),"paymentflag"in e&&n(1,o=e.paymentflag),"vendorflag"in e&&n(2,s=e.vendorflag),"helperflag"in e&&n(3,a=e.helperflag),"licenseflag"in e&&n(4,l=e.licenseflag),"socialflag"in e&&n(5,u=e.socialflag),"target"in e&&n(18,c=e.target),"displaycolumn"in e&&n(6,h=e.displaycolumn),"category"in e&&n(19,d=e.category),"baseurl"in e&&n(7,f=e.baseurl),"lang"in e&&n(8,p=e.lang),"clientstyling"in e&&n(9,m=e.clientstyling),"clientstylingurl"in e&&n(10,g=e.clientstylingurl),"footertype"in e&&n(20,y=e.footertype)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/2560&e.$$.dirty[0]&&m&&r&&(()=>{let e=document.createElement("style");e.innerHTML=m,r.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/3072&e.$$.dirty[0]&&g&&r&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,r&&setTimeout((()=>{r.appendChild(t)}),1)}))})()},[i,o,s,a,l,u,h,f,p,m,g,r,b,_,v,w,k,E,c,d,y,function(e){P[e?"unshift":"push"]((()=>{r=e,n(11,r)}))}]}!customElements.get("casino-footer-thumbnail")&&customElements.define("casino-footer-thumbnail",class extends V{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterItem{display:inline-block;padding:0 12px}.FooterItem .FooterSponsorLink,.FooterItem .FooterPaymentLink{display:block}.FooterItem .FooterSponsorLink{display:flex;align-items:center}.FooterItem .FooterPaymentLink,.FooterItem .FooterHelperLink{display:flex;align-items:center;justify-content:center}.FooterItem .FooterLinkDisabled{pointer-events:none;cursor:auto}.FooterItem .SponsorTitle,.FooterItem .PaymentTitle{font-size:9px;text-decoration:none;color:var(--emfe-w-color-gray-150, #828282);text-align:center}.FooterItem .HelperTitle{color:#111111;font-size:8px}.FooterItem.HelperLinkItem p{font-size:10px}.FooterItem .FooterItemAnchor{display:flex;flex-direction:column;gap:6px;text-decoration:none}.FooterItem.SocialItem .FooterItemAnchor{width:42px;height:42px}.SponsorTitle{margin:0}.FooterLink{display:block;text-align:center}.DisplayColumn .FooterItemAnchor{flex-direction:row}.DisplayColumn .FooterImage{height:16px;width:16px}.DisplayColumn.FooterItem.HelperLinkItem p{font-size:12px}@media only screen and (max-width: 768px){.FooterItem{padding:0 5px}.FooterItem.PaymentItem{padding:15px 5px}.FooterItem.GameVendorItem{padding:0 10px}}</style>",j(this,{target:this.shadowRoot,props:M(this.attributes),customElement:!0},ne,te,o,{sponsorurl:0,sponsorimage:1,sponsortitle:2,paymenturl:3,paymentimage:4,paymenttitle:5,vendorurl:6,vendorimage:7,vendortitle:8,helperlinkurl:9,helperlinkimage:10,helperlinktitle:11,licenseurl:12,licenseimage:13,licensetitle:14,sociallinkurl:15,sociallinkimage:16,sociallinktitle:17,target:18,linktype:19,displaycolumn:20,baseurl:21,lang:22,clientstyling:24,clientstylingurl:25},null),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["sponsorurl","sponsorimage","sponsortitle","paymenturl","paymentimage","paymenttitle","vendorurl","vendorimage","vendortitle","helperlinkurl","helperlinkimage","helperlinktitle","licenseurl","licenseimage","licensetitle","sociallinkurl","sociallinkimage","sociallinktitle","target","linktype","displaycolumn","baseurl","lang","clientstyling","clientstylingurl"]}get sponsorurl(){return this.$$.ctx[0]}set sponsorurl(e){this.$$set({sponsorurl:e}),N()}get sponsorimage(){return this.$$.ctx[1]}set sponsorimage(e){this.$$set({sponsorimage:e}),N()}get sponsortitle(){return this.$$.ctx[2]}set sponsortitle(e){this.$$set({sponsortitle:e}),N()}get paymenturl(){return this.$$.ctx[3]}set paymenturl(e){this.$$set({paymenturl:e}),N()}get paymentimage(){return this.$$.ctx[4]}set paymentimage(e){this.$$set({paymentimage:e}),N()}get paymenttitle(){return this.$$.ctx[5]}set paymenttitle(e){this.$$set({paymenttitle:e}),N()}get vendorurl(){return this.$$.ctx[6]}set vendorurl(e){this.$$set({vendorurl:e}),N()}get vendorimage(){return this.$$.ctx[7]}set vendorimage(e){this.$$set({vendorimage:e}),N()}get vendortitle(){return this.$$.ctx[8]}set vendortitle(e){this.$$set({vendortitle:e}),N()}get helperlinkurl(){return this.$$.ctx[9]}set helperlinkurl(e){this.$$set({helperlinkurl:e}),N()}get helperlinkimage(){return this.$$.ctx[10]}set helperlinkimage(e){this.$$set({helperlinkimage:e}),N()}get helperlinktitle(){return this.$$.ctx[11]}set helperlinktitle(e){this.$$set({helperlinktitle:e}),N()}get licenseurl(){return this.$$.ctx[12]}set licenseurl(e){this.$$set({licenseurl:e}),N()}get licenseimage(){return this.$$.ctx[13]}set licenseimage(e){this.$$set({licenseimage:e}),N()}get licensetitle(){return this.$$.ctx[14]}set licensetitle(e){this.$$set({licensetitle:e}),N()}get sociallinkurl(){return this.$$.ctx[15]}set sociallinkurl(e){this.$$set({sociallinkurl:e}),N()}get sociallinkimage(){return this.$$.ctx[16]}set sociallinkimage(e){this.$$set({sociallinkimage:e}),N()}get sociallinktitle(){return this.$$.ctx[17]}set sociallinktitle(e){this.$$set({sociallinktitle:e}),N()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),N()}get linktype(){return this.$$.ctx[19]}set linktype(e){this.$$set({linktype:e}),N()}get displaycolumn(){return this.$$.ctx[20]}set displaycolumn(e){this.$$set({displaycolumn:e}),N()}get baseurl(){return this.$$.ctx[21]}set baseurl(e){this.$$set({baseurl:e}),N()}get lang(){return this.$$.ctx[22]}set lang(e){this.$$set({lang:e}),N()}get clientstyling(){return this.$$.ctx[24]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[25]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}});!customElements.get("casino-footer-section")&&customElements.define("casino-footer-section",class extends V{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterSectionInnerContainer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.DisplayColumn{flex-direction:column;align-items:flex-start}</style>",j(this,{target:this.shadowRoot,props:M(this.attributes),customElement:!0},ke,we,o,{sponsorflag:0,paymentflag:1,vendorflag:2,helperflag:3,licenseflag:4,socialflag:5,target:18,displaycolumn:6,category:19,baseurl:7,lang:8,clientstyling:9,clientstylingurl:10,footertype:20},null,[-1,-1]),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["sponsorflag","paymentflag","vendorflag","helperflag","licenseflag","socialflag","target","displaycolumn","category","baseurl","lang","clientstyling","clientstylingurl","footertype"]}get sponsorflag(){return this.$$.ctx[0]}set sponsorflag(e){this.$$set({sponsorflag:e}),N()}get paymentflag(){return this.$$.ctx[1]}set paymentflag(e){this.$$set({paymentflag:e}),N()}get vendorflag(){return this.$$.ctx[2]}set vendorflag(e){this.$$set({vendorflag:e}),N()}get helperflag(){return this.$$.ctx[3]}set helperflag(e){this.$$set({helperflag:e}),N()}get licenseflag(){return this.$$.ctx[4]}set licenseflag(e){this.$$set({licenseflag:e}),N()}get socialflag(){return this.$$.ctx[5]}set socialflag(e){this.$$set({socialflag:e}),N()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),N()}get displaycolumn(){return this.$$.ctx[6]}set displaycolumn(e){this.$$set({displaycolumn:e}),N()}get category(){return this.$$.ctx[19]}set category(e){this.$$set({category:e}),N()}get baseurl(){return this.$$.ctx[7]}set baseurl(e){this.$$set({baseurl:e}),N()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),N()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}get footertype(){return this.$$.ctx[20]}set footertype(e){this.$$set({footertype:e}),N()}});var Ee="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==Ee&&Ee,Te="URLSearchParams"in Ee,Se="Symbol"in Ee&&"iterator"in Symbol,xe="FileReader"in Ee&&"Blob"in Ee&&function(){try{return new Blob,!0}catch(e){return!1}}(),Me="FormData"in Ee,Le="ArrayBuffer"in Ee;if(Le)var De=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Oe=ArrayBuffer.isView||function(e){return e&&De.indexOf(Object.prototype.toString.call(e))>-1};function Pe(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Ae(e){return"string"!=typeof e&&(e=String(e)),e}
109
109
  // Build a destructive iterator for the value list
110
- function $e(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return Se&&(t[Symbol.iterator]=function(){return t}),t}function He(e){this.map={},e instanceof He?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function Fe(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Ie(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function Ce(e){var t=new FileReader,n=Ie(t);return t.readAsArrayBuffer(e),n}function Ne(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Be(){return this.bodyUsed=!1,this._initBody=function(e){var t;
110
+ function $e(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return Se&&(t[Symbol.iterator]=function(){return t}),t}function He(e){this.map={},e instanceof He?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function Fe(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Ie(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function Ce(e){var t=new FileReader,n=Ie(t);return t.readAsArrayBuffer(e),n}function Be(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Ne(){return this.bodyUsed=!1,this._initBody=function(e){var t;
111
111
  /*
112
112
  fetch-mock wraps the Response object in an ES6 Proxy to
113
113
  provide useful test harness features such as flush. However, on
@@ -118,15 +118,15 @@ function $e(e){var t={next:function(){var t=e.shift();return{done:void 0===t,val
118
118
  semantic of setting Request.bodyUsed in the constructor before
119
119
  _initBody is called.
120
120
  */
121
- this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:xe&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Me&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Te&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Le&&xe&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=Ne(e.buffer),
121
+ this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:xe&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Me&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Te&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Le&&xe&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=Be(e.buffer),
122
122
  // IE 10-11 can't handle a DataView body.
123
- this._bodyInit=new Blob([this._bodyArrayBuffer])):Le&&(ArrayBuffer.prototype.isPrototypeOf(e)||Oe(e))?this._bodyArrayBuffer=Ne(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Te&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},xe&&(this.blob=function(){var e=Fe(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=Fe(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(Ce)}),this.text=function(){var e,t,n,r=Fe(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=Ie(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Me&&(this.formData=function(){return this.text().then(Ue)}),this.json=function(){return this.text().then(JSON.parse)},this}
123
+ this._bodyInit=new Blob([this._bodyArrayBuffer])):Le&&(ArrayBuffer.prototype.isPrototypeOf(e)||Oe(e))?this._bodyArrayBuffer=Be(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Te&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},xe&&(this.blob=function(){var e=Fe(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=Fe(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(Ce)}),this.text=function(){var e,t,n,r=Fe(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=Ie(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Me&&(this.formData=function(){return this.text().then(Ue)}),this.json=function(){return this.text().then(JSON.parse)},this}
124
124
  // HTTP methods whose capitalization should be normalized
125
125
  He.prototype.append=function(e,t){e=Pe(e),t=Ae(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},He.prototype.delete=function(e){delete this.map[Pe(e)]},He.prototype.get=function(e){return e=Pe(e),this.has(e)?this.map[e]:null},He.prototype.has=function(e){return this.map.hasOwnProperty(Pe(e))},He.prototype.set=function(e,t){this.map[Pe(e)]=Ae(t)},He.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},He.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),$e(e)},He.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),$e(e)},He.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),$e(e)},Se&&(He.prototype[Symbol.iterator]=He.prototype.entries);var Re=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Ye(e,t){if(!(this instanceof Ye))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,i=(t=t||{}).body;if(e instanceof Ye){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new He(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new He(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),Re.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){
126
126
  // Search for a '_' parameter in the query string
127
127
  var o=/([?&])_=[^&]*/;if(o.test(this.url))
128
128
  // If it already exists then set the value with the current time
129
- this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function Ue(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function Ge(e,t){if(!(this instanceof Ge))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new He(t.headers),this.url=t.url||"",this._initBody(e)}Ye.prototype.clone=function(){return new Ye(this,{body:this._bodyInit})},Be.call(Ye.prototype),Be.call(Ge.prototype),Ge.prototype.clone=function(){return new Ge(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new He(this.headers),url:this.url})},Ge.error=function(){var e=new Ge(null,{status:0,statusText:""});return e.type="error",e};var je=[301,302,303,307,308];Ge.redirect=function(e,t){if(-1===je.indexOf(t))throw new RangeError("Invalid status code");return new Ge(null,{status:t,headers:{location:e}})};var Ve=Ee.DOMException;try{new Ve}catch(e){(Ve=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),Ve.prototype.constructor=Ve}function We(e,t){return new Promise((function(n,r){var i=new Ye(e,t);if(i.signal&&i.signal.aborted)return r(new Ve("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}o.onload=function(){var e,t,r={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new He,
129
+ this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function Ue(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function Ge(e,t){if(!(this instanceof Ge))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new He(t.headers),this.url=t.url||"",this._initBody(e)}Ye.prototype.clone=function(){return new Ye(this,{body:this._bodyInit})},Ne.call(Ye.prototype),Ne.call(Ge.prototype),Ge.prototype.clone=function(){return new Ge(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new He(this.headers),url:this.url})},Ge.error=function(){var e=new Ge(null,{status:0,statusText:""});return e.type="error",e};var je=[301,302,303,307,308];Ge.redirect=function(e,t){if(-1===je.indexOf(t))throw new RangeError("Invalid status code");return new Ge(null,{status:t,headers:{location:e}})};var Ve=Ee.DOMException;try{new Ve}catch(e){(Ve=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),Ve.prototype.constructor=Ve}function We(e,t){return new Promise((function(n,r){var i=new Ye(e,t);if(i.signal&&i.signal.aborted)return r(new Ve("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}o.onload=function(){var e,t,r={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new He,
130
130
  // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill
131
131
  // https://github.com/github/fetch/issues/748
132
132
  // https://github.com/zloirock/core-js/issues/751
@@ -175,10 +175,10 @@ const e=!At.length;for(const e of i)e[1](),At.push(e,t);if(e){for(let e=0;e<At.l
175
175
  */
176
176
  var c}var Ft=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===It}(e)}
177
177
  // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
178
- (e)};var It="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Ct(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ut((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function Nt(e,t,n){return e.concat(t).map((function(e){return Ct(e,n)}))}function Bt(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function Rt(e,t){try{return t in e}catch(e){return!1}}
178
+ (e)};var It="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Ct(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ut((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function Bt(e,t,n){return e.concat(t).map((function(e){return Ct(e,n)}))}function Nt(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function Rt(e,t){try{return t in e}catch(e){return!1}}
179
179
  // Protects from prototype poisoning and unexpected merging up the prototype chain.
180
- function Yt(e,t,n){var r={};return n.isMergeableObject(e)&&Bt(e).forEach((function(t){r[t]=Ct(e[t],n)})),Bt(t).forEach((function(i){(function(e,t){return Rt(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
181
- })(e,i)||(Rt(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return Ut;var n=t.customMerge(e);return"function"==typeof n?n:Ut}(i,n)(e[i],t[i],n):r[i]=Ct(t[i],n))})),r}function Ut(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Nt,n.isMergeableObject=n.isMergeableObject||Ft,
180
+ function Yt(e,t,n){var r={};return n.isMergeableObject(e)&&Nt(e).forEach((function(t){r[t]=Ct(e[t],n)})),Nt(t).forEach((function(i){(function(e,t){return Rt(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
181
+ })(e,i)||(Rt(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return Ut;var n=t.customMerge(e);return"function"==typeof n?n:Ut}(i,n)(e[i],t[i],n):r[i]=Ct(t[i],n))})),r}function Ut(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Bt,n.isMergeableObject=n.isMergeableObject||Ft,
182
182
  // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
183
183
  // implementations can use it. The caller may not replace it.
184
184
  n.cloneUnlessOtherwiseSpecified=Ct;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):Yt(e,t,n):Ct(t,n)}Ut.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return Ut(e,n,t)}),{})};var Gt=Ut,jt=function(e,t){return jt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},jt(e,t)};function Vt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}jt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Wt,zt,Zt,Xt=function(){return Xt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Xt.apply(this,arguments)};function Kt(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}
@@ -389,8 +389,8 @@ var Ln=!!String.prototype.startsWith,Dn=!!String.fromCodePoint,On=!!Object.fromE
389
389
  */
390
390
  Fn="a"===(null===(kn=Gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===kn?void 0:kn[0])}catch(e){Fn=!1}var In,Cn=Ln?// Native
391
391
  function(e,t,n){return e.startsWith(t,n)}:// For IE11
392
- function(e,t,n){return e.slice(n,n+t.length)===t},Nn=Dn?String.fromCodePoint:// IE11
393
- function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;i>o;){if((n=e[o++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Bn=
392
+ function(e,t,n){return e.slice(n,n+t.length)===t},Bn=Dn?String.fromCodePoint:// IE11
393
+ function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;i>o;){if((n=e[o++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Nn=
394
394
  // native
395
395
  On?Object.fromEntries:// Ponyfill
396
396
  function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],s=i[1];t[o]=s}return t},Rn=Pn?// Native
@@ -407,7 +407,7 @@ if(Fn){
407
407
  // Native
408
408
  var jn=Gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");In=function(e,t){var n;return jn.lastIndex=t,null!==(n=jn.exec(e)[1])&&void 0!==n?n:""}}else
409
409
  // IE11
410
- In=function(e,t){for(var n=[];;){var r=Rn(e,t);if(void 0===r||Zn(r)||Xn(r))break;n.push(r),t+=r>=65536?2:1}return Nn.apply(void 0,n)};var Vn=/** @class */function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();if(123/* `{` */===i){if((o=this.parseArgument(e,n)).err)return o;r.push(o.val)}else{if(125/* `}` */===i&&e>0)break;if(35/* `#` */!==i||"plural"!==t&&"selectordinal"!==t){if(60/* `<` */===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Wt.UNMATCHED_CLOSING_TAG,Mn(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===i&&!this.ignoreTag&&Wn(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;r.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;r.push(o.val)}}else{var s=this.clonePosition();this.bump(),r.push({type:zt.pound,location:Mn(s,this.clonePosition())})}}}return{val:r,err:null}},
410
+ In=function(e,t){for(var n=[];;){var r=Rn(e,t);if(void 0===r||Zn(r)||Xn(r))break;n.push(r),t+=r>=65536?2:1}return Bn.apply(void 0,n)};var Vn=/** @class */function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();if(123/* `{` */===i){if((o=this.parseArgument(e,n)).err)return o;r.push(o.val)}else{if(125/* `}` */===i&&e>0)break;if(35/* `#` */!==i||"plural"!==t&&"selectordinal"!==t){if(60/* `<` */===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(Wt.UNMATCHED_CLOSING_TAG,Mn(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===i&&!this.ignoreTag&&Wn(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;r.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;r.push(o.val)}}else{var s=this.clonePosition();this.bump(),r.push({type:zt.pound,location:Mn(s,this.clonePosition())})}}}return{val:r,err:null}},
411
411
  /**
412
412
  * A tag name must start with an ASCII lower/upper case letter. The grammar is based on the
413
413
  * [custom element name][] except that a dash is NOT always mandatory and uppercase letters
@@ -458,7 +458,7 @@ for(this.bump();!this.isEOF();){var n=this.char();if(39/* `'` */===n){if(39/* `'
458
458
  // Optional closing apostrophe.
459
459
  this.bump();break}t.push(39),
460
460
  // Bump one more time because we need to skip 2 characters.
461
- this.bump()}else t.push(n);this.bump()}return Nn.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60/* `<` */===n||123/* `{` */===n||35/* `#` */===n&&("plural"===t||"selectordinal"===t)||125/* `}` */===n&&e>0?null:(this.bump(),Nn(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),// `{`
461
+ this.bump()}else t.push(n);this.bump()}return Bn.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60/* `<` */===n||123/* `{` */===n||35/* `#` */===n&&("plural"===t||"selectordinal"===t)||125/* `}` */===n&&e>0?null:(this.bump(),Bn(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),// `{`
462
462
  this.bumpSpace(),this.isEOF())return this.error(Wt.EXPECT_ARGUMENT_CLOSING_BRACE,Mn(n,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(Wt.EMPTY_ARGUMENT,Mn(n,this.clonePosition()));
463
463
  // argument name
464
464
  var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Wt.MALFORMED_ARGUMENT,Mn(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Wt.EXPECT_ARGUMENT_CLOSING_BRACE,Mn(n,this.clonePosition()));switch(this.char()){
@@ -507,7 +507,7 @@ var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.err
507
507
  // ^--^
508
508
  var m=this.parseIdentifierIfPossible(),g=0;if("select"!==s&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(Wt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Mn(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(Wt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Wt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;
509
509
  // Parse another identifier for option parsing
510
- this.bumpSpace(),m=this.parseIdentifierIfPossible(),g=y.val}var b,_=this.tryParsePluralOrSelectOptions(e,s,t,m);if(_.err)return _;if((b=this.tryParseArgumentClose(r)).err)return b;var v=Mn(r,this.clonePosition());return"select"===s?{val:{type:zt.select,value:n,options:Bn(_.val),location:v},err:null}:{val:{type:zt.plural,value:n,options:Bn(_.val),offset:g,pluralType:"plural"===s?"cardinal":"ordinal",location:v},err:null};default:return this.error(Wt.INVALID_ARGUMENT_TYPE,Mn(o,a))}},e.prototype.tryParseArgumentClose=function(e){
510
+ this.bumpSpace(),m=this.parseIdentifierIfPossible(),g=y.val}var b,_=this.tryParsePluralOrSelectOptions(e,s,t,m);if(_.err)return _;if((b=this.tryParseArgumentClose(r)).err)return b;var v=Mn(r,this.clonePosition());return"select"===s?{val:{type:zt.select,value:n,options:Nn(_.val),location:v},err:null}:{val:{type:zt.plural,value:n,options:Nn(_.val),offset:g,pluralType:"plural"===s?"cardinal":"ordinal",location:v},err:null};default:return this.error(Wt.INVALID_ARGUMENT_TYPE,Mn(o,a))}},e.prototype.tryParseArgumentClose=function(e){
511
511
  // Parse: {value, number, ::currency/GBP }
512
512
  return this.isEOF()||125/* `}` */!==this.char()?this.error(Wt.EXPECT_ARGUMENT_CLOSING_BRACE,Mn(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
513
513
  /**
@@ -661,7 +661,7 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
661
661
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
662
662
  Copyrights licensed under the New BSD License.
663
663
  See the accompanying LICENSE file for terms.
664
- */const _r={},vr=(e,t,n)=>n?(t in _r||(_r[t]={}),e in _r[t]||(_r[t][e]=n),n):n,wr=(e,t)=>{if(null==t)return;if(t in _r&&e in _r[t])return _r[t][e];const n=Br(t);for(let r=0;r<n.length;r++){const i=Sr(n[r],e);if(i)return vr(e,t,i)}};let kr;const Er=$t({});function Tr(e){return e in kr}function Sr(e,t){if(!Tr(e))return null;const n=function(e){return kr[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(e>0){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(n,t)}function xr(e,...t){delete _r[e],Er.update((n=>(n[e]=Gt.all([n[e]||{},...t]),n)))}Ht([Er],(([e])=>Object.keys(e))),Er.subscribe((e=>kr=e));const Mr={};function Lr(e){return Mr[e]}function Dr(e){return null!=e&&Br(e).some((e=>{var t;return null===(t=Lr(e))||void 0===t?void 0:t.size}))}const Or={};function Pr(e){if(!Dr(e))return e in Or?Or[e]:Promise.resolve();const t=function(e){return Br(e).map((e=>{const t=Lr(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Or[e]=Promise.all(t.map((([e,t])=>function(e,t){const n=Promise.all(t.map((t=>(function(e,t){Mr[e].delete(t),0===Mr[e].size&&delete Mr[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>xr(e,...t)))}(e,t)))).then((()=>{if(Dr(e))return Pr(e);delete Or[e]})),Or[e]}
664
+ */const _r={},vr=(e,t,n)=>n?(t in _r||(_r[t]={}),e in _r[t]||(_r[t][e]=n),n):n,wr=(e,t)=>{if(null==t)return;if(t in _r&&e in _r[t])return _r[t][e];const n=Nr(t);for(let r=0;r<n.length;r++){const i=Sr(n[r],e);if(i)return vr(e,t,i)}};let kr;const Er=$t({});function Tr(e){return e in kr}function Sr(e,t){if(!Tr(e))return null;const n=function(e){return kr[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(e>0){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(n,t)}function xr(e,...t){delete _r[e],Er.update((n=>(n[e]=Gt.all([n[e]||{},...t]),n)))}Ht([Er],(([e])=>Object.keys(e))),Er.subscribe((e=>kr=e));const Mr={};function Lr(e){return Mr[e]}function Dr(e){return null!=e&&Nr(e).some((e=>{var t;return null===(t=Lr(e))||void 0===t?void 0:t.size}))}const Or={};function Pr(e){if(!Dr(e))return e in Or?Or[e]:Promise.resolve();const t=function(e){return Nr(e).map((e=>{const t=Lr(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Or[e]=Promise.all(t.map((([e,t])=>function(e,t){const n=Promise.all(t.map((t=>(function(e,t){Mr[e].delete(t),0===Mr[e].size&&delete Mr[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>xr(e,...t)))}(e,t)))).then((()=>{if(Dr(e))return Pr(e);delete Or[e]})),Or[e]}
665
665
  /*! *****************************************************************************
666
666
  Copyright (c) Microsoft Corporation.
667
667
 
@@ -675,7 +675,7 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
675
675
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
676
676
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
677
677
  PERFORMANCE OF THIS SOFTWARE.
678
- ***************************************************************************** */function Ar(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}const $r={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Hr(){return $r}const Fr=$t(!1);let Ir;const Cr=$t(null);function Nr(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function Br(e,t=Hr().fallbackLocale){const n=Nr(e);return t?[...new Set([...n,...Nr(t)])]:n}function Rr(){return null!=Ir?Ir:void 0}Cr.subscribe((e=>{Ir=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const Yr=Object.assign(Object.assign({},Cr),{set:e=>{if(e&&function(e){if(null==e)return;const t=Br(e);for(let e=0;e<t.length;e++){const n=t[e];if(Tr(n))return n}}(e)&&Dr(e)){const{loadingDelay:t}=Hr();let n;return"undefined"!=typeof window&&null!=Rr()&&t?n=window.setTimeout((()=>Fr.set(!0)),t):Fr.set(!0),Pr(e).then((()=>{Cr.set(e)})).finally((()=>{clearTimeout(n),Fr.set(!1)}))}return Cr.set(e)}}),Ur=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}},Gr=(e,t)=>{const{formats:n}=Hr();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},jr=Ur((e=>{var{locale:t,format:n}=e,r=Ar(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=Gr("number",n)),new Intl.NumberFormat(t,r)})),Vr=Ur((e=>{var{locale:t,format:n}=e,r=Ar(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=Gr("date",n):0===Object.keys(r).length&&(r=Gr("date","short")),new Intl.DateTimeFormat(t,r)})),Wr=Ur((e=>{var{locale:t,format:n}=e,r=Ar(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=Gr("time",n):0===Object.keys(r).length&&(r=Gr("time","short")),new Intl.DateTimeFormat(t,r)})),zr=Ur(((e,t=Rr())=>new br(e,t,Hr().formats,{ignoreTag:Hr().ignoreTag}))),Zr=(e,t={})=>{var n,r,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Rr(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=wr(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!==(o=null!==(i=null===(r=(n=Hr()).handleMissingMessage)||void 0===r?void 0:r.call(n,{locale:l,id:e,defaultValue:u}))&&void 0!==i?i:u)&&void 0!==o?o:e;if(!a)return c;let h=c;try{h=zr(c,l).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},Xr=(e,t)=>((e={})=>{var{locale:t=Rr()}=e,n=Ar(e,["locale"]);return Wr(Object.assign({locale:t},n))})(t).format(e),Kr=(e,t)=>((e={})=>{var{locale:t=Rr()}=e,n=Ar(e,["locale"]);return Vr(Object.assign({locale:t},n))})(t).format(e),qr=(e,t)=>((e={})=>{var{locale:t=Rr()}=e,n=Ar(e,["locale"]);return jr(Object.assign({locale:t},n))})(t).format(e),Jr=(e,t=Rr())=>wr(e,t),Qr=Ht([Yr,Er],(()=>Zr));Ht([Yr],(()=>Xr)),Ht([Yr],(()=>Kr)),Ht([Yr],(()=>qr)),Ht([Yr,Er],(()=>Jr)),window.emWidgets={topic:(e,t=0)=>{if(-1==Ot.indexOf(e)){let n=new Dt(t);Pt[e]=n,Ot.push(e)}return Pt[e]}};
678
+ ***************************************************************************** */function Ar(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}const $r={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Hr(){return $r}const Fr=$t(!1);let Ir;const Cr=$t(null);function Br(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function Nr(e,t=Hr().fallbackLocale){const n=Br(e);return t?[...new Set([...n,...Br(t)])]:n}function Rr(){return null!=Ir?Ir:void 0}Cr.subscribe((e=>{Ir=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const Yr=Object.assign(Object.assign({},Cr),{set:e=>{if(e&&function(e){if(null==e)return;const t=Nr(e);for(let e=0;e<t.length;e++){const n=t[e];if(Tr(n))return n}}(e)&&Dr(e)){const{loadingDelay:t}=Hr();let n;return"undefined"!=typeof window&&null!=Rr()&&t?n=window.setTimeout((()=>Fr.set(!0)),t):Fr.set(!0),Pr(e).then((()=>{Cr.set(e)})).finally((()=>{clearTimeout(n),Fr.set(!1)}))}return Cr.set(e)}}),Ur=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}},Gr=(e,t)=>{const{formats:n}=Hr();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},jr=Ur((e=>{var{locale:t,format:n}=e,r=Ar(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=Gr("number",n)),new Intl.NumberFormat(t,r)})),Vr=Ur((e=>{var{locale:t,format:n}=e,r=Ar(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=Gr("date",n):0===Object.keys(r).length&&(r=Gr("date","short")),new Intl.DateTimeFormat(t,r)})),Wr=Ur((e=>{var{locale:t,format:n}=e,r=Ar(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=Gr("time",n):0===Object.keys(r).length&&(r=Gr("time","short")),new Intl.DateTimeFormat(t,r)})),zr=Ur(((e,t=Rr())=>new br(e,t,Hr().formats,{ignoreTag:Hr().ignoreTag}))),Zr=(e,t={})=>{var n,r,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Rr(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=wr(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!==(o=null!==(i=null===(r=(n=Hr()).handleMissingMessage)||void 0===r?void 0:r.call(n,{locale:l,id:e,defaultValue:u}))&&void 0!==i?i:u)&&void 0!==o?o:e;if(!a)return c;let h=c;try{h=zr(c,l).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},Xr=(e,t)=>((e={})=>{var{locale:t=Rr()}=e,n=Ar(e,["locale"]);return Wr(Object.assign({locale:t},n))})(t).format(e),Kr=(e,t)=>((e={})=>{var{locale:t=Rr()}=e,n=Ar(e,["locale"]);return Vr(Object.assign({locale:t},n))})(t).format(e),qr=(e,t)=>((e={})=>{var{locale:t=Rr()}=e,n=Ar(e,["locale"]);return jr(Object.assign({locale:t},n))})(t).format(e),Jr=(e,t=Rr())=>wr(e,t),Qr=Ht([Yr,Er],(()=>Zr));Ht([Yr],(()=>Xr)),Ht([Yr],(()=>Kr)),Ht([Yr],(()=>qr)),Ht([Yr,Er],(()=>Jr)),window.emWidgets={topic:(e,t=0)=>{if(-1==Ot.indexOf(e)){let n=new Dt(t);Pt[e]=n,Ot.push(e)}return Pt[e]}};
679
679
  /**
680
680
  * @name isMobile
681
681
  * @description A method that returns if the browser used to access the app is from a mobile device or not
@@ -693,11 +693,13 @@ const ei=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/i
693
693
  /*button_binding*/t[10](i),
694
694
  /*div1_binding*/t[11](n)},p(e,[t]){/*customtext, $_*/33&t&&a!==(a=/*customtext*/(e[0]||/*$_*/e[5]("panicButton.panicButtonString"))+"")&&T(o,a),/*panicLoading*/16&t&&x(i,"PanicButtonAnimation",/*panicLoading*/e[4]),/*alternativestyling*/2&t&&s!==(s=/*alternativestyling*/"true"==e[1]?"PanicButtonV2":"")&&k(n,"class",s)},i:e,o:e,d(e){e&&p(n)
695
695
  /*button_binding*/,t[10](null),
696
- /*div1_binding*/t[11](null)}}}function ri(e,t,n){let r;c(e,Qr,(e=>n(5,r=e)));let i,o,s,{lang:a="en"}=t,{customtext:l=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{alternativestyling:d=""}=t,f=!1,p=0,m=window.navigator.userAgent;Object.keys(ti).forEach((e=>{!function(e,t){xr(e,t)}(e,ti[e])}));const g=()=>{p=0,n(4,f=!0),s=setInterval((()=>{p++,p>=2&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(s))}),1e3)},y=()=>{n(4,f=!1),clearInterval(s)};return D((()=>()=>{n(4,f=!1),null==i||i.removeEventListener("mousedown",g),null==i||i.removeEventListener("touchstart",g),
696
+ /*div1_binding*/t[11](null)}}}function ri(e,t,n){let r;c(e,Qr,(e=>n(5,r=e)));let i,o,s,{lang:a="en"}=t,{customtext:l=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{alternativestyling:d=""}=t,f=!1,p=0,m=window.navigator.userAgent;Object.keys(ti).forEach((e=>{!function(e,t){xr(e,t)}(e,ti[e])}));const g=()=>{p=0,n(4,f=!0),s=setInterval((()=>{p++,p>=2&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(s),
697
+ //Analytics event
698
+ "function"==typeof gtag&&gtag("event","PanicButtonClicked",{context:"PanicButton"}))}),1e3)},y=()=>{n(4,f=!1),clearInterval(s)};return D((()=>()=>{n(4,f=!1),null==i||i.removeEventListener("mousedown",g),null==i||i.removeEventListener("touchstart",g),
697
699
  // on mouseup stop interval count
698
700
  null==i||i.removeEventListener("mouseup",y),null==i||i.removeEventListener("touchend",y)})),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)},e.$$.update=()=>{var t;/*panicButton*/4&e.$$.dirty&&i&&(null==i||i.addEventListener("mousedown",g,!1),null==i||i.addEventListener("touchstart",g,!1),
699
701
  // on mouseup stop interval count
700
- null==i||i.addEventListener("mouseup",y,!1),null==i||i.addEventListener("touchend",y,!1)),/*lang*/128&e.$$.dirty&&a&&(t=a,Yr.set(t)),/*clientstyling*/256&e.$$.dirty&&u&&(()=>{let e=document.createElement("style");e.innerHTML=u,o.appendChild(e)})(),/*clientstylingurl*/512&e.$$.dirty&&h&&(()=>{let e=new URL(h),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,o&&setTimeout((()=>{o.appendChild(t)}),1)}))})()},[l,d,i,o,f,r,m,a,u,h,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:10px 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},ri,ni,o,{lang:7,customtext:0,clientstyling:8,clientstylingurl:9,alternativestyling:1},null),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["lang","customtext","clientstyling","clientstylingurl","alternativestyling"]}get lang(){return this.$$.ctx[7]}set lang(e){this.$$set({lang:e}),B()}get customtext(){return this.$$.ctx[0]}set customtext(e){this.$$set({customtext:e}),B()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get alternativestyling(){return this.$$.ctx[1]}set alternativestyling(e){this.$$set({alternativestyling:e}),B()}});var ii=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)}
702
+ null==i||i.addEventListener("mouseup",y,!1),null==i||i.addEventListener("touchend",y,!1)),/*lang*/128&e.$$.dirty&&a&&(t=a,Yr.set(t)),/*clientstyling*/256&e.$$.dirty&&u&&(()=>{let e=document.createElement("style");e.innerHTML=u,o.appendChild(e)})(),/*clientstylingurl*/512&e.$$.dirty&&h&&(()=>{let e=new URL(h),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,o&&setTimeout((()=>{o.appendChild(t)}),1)}))})()},[l,d,i,o,f,r,m,a,u,h,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:10px 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},ri,ni,o,{lang:7,customtext:0,clientstyling:8,clientstylingurl:9,alternativestyling:1},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"]}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()}});var ii=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)}
701
703
  // This is done to register the method called with moment()
702
704
  // without creating circular dependencies.
703
705
  function i(e){t=e}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){
@@ -719,14 +721,14 @@ function k(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isV
719
721
  // TODO: Remove "ordinalParse" fallback in next major release.
720
722
  this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function P(e,t){var n,r=f({},e);for(n in t)a(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},f(r[n],e[n]),f(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)a(e,n)&&!a(t,n)&&s(e[n])&&(
721
723
  // make sure changes to properties don't modify parent config
722
- r[n]=f({},r[n]));return r}function A(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,x=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var $={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function H(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return D(r)?r.call(t,n):r}function F(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,C=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,N={},B={};
724
+ r[n]=f({},r[n]));return r}function A(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,x=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var $={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function H(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return D(r)?r.call(t,n):r}function F(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,C=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,B={},N={};
723
725
  // token: 'M'
724
726
  // padded: ['MM', 2]
725
727
  // ordinal: 'Mo'
726
728
  // callback: function () { this.month() + 1 }
727
- function R(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(B[e]=i),t&&(B[t[0]]=function(){return F(i.apply(this,arguments),t[1],t[2])}),n&&(B[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Y(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,r=e.match(I);for(t=0,n=r.length;t<n;t++)B[r[t]]?r[t]=B[r[t]]:r[t]=Y(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=D(r[i])?r[i].call(t,e):r[i];return o}}
729
+ function R(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(N[e]=i),t&&(N[t[0]]=function(){return F(i.apply(this,arguments),t[1],t[2])}),n&&(N[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Y(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,r=e.match(I);for(t=0,n=r.length;t<n;t++)N[r[t]]?r[t]=N[r[t]]:r[t]=Y(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=D(r[i])?r[i].call(t,e):r[i];return o}}
728
730
  // format date using native date object
729
- function G(e,t){return e.isValid()?(t=j(t,e.localeData()),N[t]=N[t]||U(t),N[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(C.lastIndex=0;n>=0&&C.test(e);)e=e.replace(C,r),C.lastIndex=0,n-=1;return e}var V={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function W(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(I).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var z="Invalid date";function Z(){return this._invalidDate}var X="%d",K=/\d{1,2}/;function q(e){return this._ordinal.replace("%d",e)}var J={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Q(e,t,n,r){var i=this._relativeTime[n];return D(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return D(n)?n(t):n.replace(/%s/i,t)}var te={};function ne(e,t){var n=e.toLowerCase();te[n]=te[n+"s"]=te[t]=e}function re(e){return"string"==typeof e?te[e]||te[e.toLowerCase()]:void 0}function ie(e){var t,n,r={};for(n in e)a(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var oe={};function se(e,t){oe[e]=t}function ae(e){var t,n=[];for(t in e)a(e,t)&&n.push({unit:t,priority:oe[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function le(e){return e%4==0&&e%100!=0||e%400==0}function ue(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ce(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ue(t)),n}function he(e,t){return function(n){return null!=n?(fe(this,e,n),r.updateOffset(this,t),this):de(this,e)}}function de(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=ce(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
731
+ function G(e,t){return e.isValid()?(t=j(t,e.localeData()),B[t]=B[t]||U(t),B[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(C.lastIndex=0;n>=0&&C.test(e);)e=e.replace(C,r),C.lastIndex=0,n-=1;return e}var V={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function W(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(I).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var z="Invalid date";function Z(){return this._invalidDate}var X="%d",K=/\d{1,2}/;function q(e){return this._ordinal.replace("%d",e)}var J={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Q(e,t,n,r){var i=this._relativeTime[n];return D(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return D(n)?n(t):n.replace(/%s/i,t)}var te={};function ne(e,t){var n=e.toLowerCase();te[n]=te[n+"s"]=te[t]=e}function re(e){return"string"==typeof e?te[e]||te[e.toLowerCase()]:void 0}function ie(e){var t,n,r={};for(n in e)a(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var oe={};function se(e,t){oe[e]=t}function ae(e){var t,n=[];for(t in e)a(e,t)&&n.push({unit:t,priority:oe[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function le(e){return e%4==0&&e%100!=0||e%400==0}function ue(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ce(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ue(t)),n}function he(e,t){return function(n){return null!=n?(fe(this,e,n),r.updateOffset(this,t),this):de(this,e)}}function de(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=ce(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
730
732
  // MOMENTS
731
733
  function pe(e){return D(this[e=re(e)])?this[e]():this}function me(e,t){if("object"==typeof e){var n,r=ae(e=ie(e)),i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(D(this[e=re(e)]))return this[e](t);return this}var ge,ye=/\d/,// 0 - 9
732
734
  be=/\d\d/,// 00 - 99
@@ -748,7 +750,7 @@ Ae=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
748
750
  // includes scottish gaelic two word and hyphenated months
749
751
  $e=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function He(e,t,n){ge[e]=D(t)?t:function(e,r){return e&&n?n:t}}function Fe(e,t){return a(ge,e)?ge[e](t._strict,t._locale):new RegExp(Ie(e))}
750
752
  // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
751
- function Ie(e){return Ce(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Ce(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ge={};var Ne={};function Be(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),c(t)&&(i=function(e,n){n[t]=ce(e)}),r=e.length,n=0;n<r;n++)Ne[e[n]]=i}function Re(e,t){Be(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Ye(e,t,n){null!=t&&a(Ne,e)&&Ne[e](t,n._a,n,e)}var Ue,Ge=0,je=1,Ve=2,We=3,Ze=4,Xe=5,Ke=6,qe=7,Je=8;function Qe(e,t){return(e%t+t)%t}function et(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Qe(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}
753
+ function Ie(e){return Ce(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Ce(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ge={};var Be={};function Ne(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),c(t)&&(i=function(e,n){n[t]=ce(e)}),r=e.length,n=0;n<r;n++)Be[e[n]]=i}function Re(e,t){Ne(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Ye(e,t,n){null!=t&&a(Be,e)&&Be[e](t,n._a,n,e)}var Ue,Ge=0,je=1,Ve=2,We=3,Ze=4,Xe=5,Ke=6,qe=7,Je=8;function Qe(e,t){return(e%t+t)%t}function et(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Qe(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}
752
754
  // FORMATTING
753
755
  Ue=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
754
756
  // I know
@@ -758,7 +760,7 @@ ne("month","M"),
758
760
  // PRIORITY
759
761
  se("month",8),
760
762
  // PARSING
761
- He("M",ke),He("MM",ke,be),He("MMM",(function(e,t){return t.monthsShortRegex(e)})),He("MMMM",(function(e,t){return t.monthsRegex(e)})),Be(["M","MM"],(function(e,t){t[je]=ce(e)-1})),Be(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);
763
+ He("M",ke),He("MM",ke,be),He("MMM",(function(e,t){return t.monthsShortRegex(e)})),He("MMMM",(function(e,t){return t.monthsRegex(e)})),Ne(["M","MM"],(function(e,t){t[je]=ce(e)-1})),Ne(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);
762
764
  // if we didn't find a month name, mark the date as invalid.
763
765
  null!=i?t[je]=i:g(n).invalidMonth=e}));
764
766
  // LOCALES
@@ -794,7 +796,7 @@ ne("year","y"),
794
796
  // PRIORITIES
795
797
  se("year",1),
796
798
  // PARSING
797
- He("Y",De),He("YY",ke,be),He("YYYY",xe,ve),He("YYYYY",Me,we),He("YYYYYY",Me,we),Be(["YYYYY","YYYYYY"],Ge),Be("YYYY",(function(e,t){t[Ge]=2===e.length?r.parseTwoDigitYear(e):ce(e)})),Be("YY",(function(e,t){t[Ge]=r.parseTwoDigitYear(e)})),Be("Y",(function(e,t){t[Ge]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return ce(e)+(ce(e)>68?1900:2e3)};
799
+ He("Y",De),He("YY",ke,be),He("YYYY",xe,ve),He("YYYYY",Me,we),He("YYYYYY",Me,we),Ne(["YYYYY","YYYYYY"],Ge),Ne("YYYY",(function(e,t){t[Ge]=2===e.length?r.parseTwoDigitYear(e):ce(e)})),Ne("YY",(function(e,t){t[Ge]=r.parseTwoDigitYear(e)})),Ne("Y",(function(e,t){t[Ge]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return ce(e)+(ce(e)>68?1900:2e3)};
798
800
  // MOMENTS
799
801
  var yt=he("FullYear",!0);function bt(){return le(this.year())}function _t(e,t,n,r,i,o,s){
800
802
  // can't just apply() to create a date:
@@ -838,7 +840,7 @@ se("day",11),se("weekday",11),se("isoWeekday",11),
838
840
  // PARSING
839
841
  He("d",ke),He("e",ke),He("E",ke),He("dd",(function(e,t){return t.weekdaysMinRegex(e)})),He("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),He("dddd",(function(e,t){return t.weekdaysRegex(e)})),Re(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);
840
842
  // if we didn't get a weekday name, mark the date as invalid
841
- null!=i?t.d=i:g(n).invalidWeekday=e})),Re(["d","e","E"],(function(e,t,n,r){t[r]=ce(e)}));var Ht="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ft="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),It="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ct=$e,Nt=$e,Bt=$e;function Rt(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?$t(n,this._week.dow):e?n[e.day()]:n}function Yt(e){return!0===e?$t(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?$t(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Gt(e,t,n){var r,i,o,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ue.call(this._weekdaysParse,s))?i:null:"ddd"===t?-1!==(i=Ue.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=Ue.call(this._minWeekdaysParse,s))?i:null:"dddd"===t?-1!==(i=Ue.call(this._weekdaysParse,s))||-1!==(i=Ue.call(this._shortWeekdaysParse,s))||-1!==(i=Ue.call(this._minWeekdaysParse,s))?i:null:"ddd"===t?-1!==(i=Ue.call(this._shortWeekdaysParse,s))||-1!==(i=Ue.call(this._weekdaysParse,s))||-1!==(i=Ue.call(this._minWeekdaysParse,s))?i:null:-1!==(i=Ue.call(this._minWeekdaysParse,s))||-1!==(i=Ue.call(this._weekdaysParse,s))||-1!==(i=Ue.call(this._shortWeekdaysParse,s))?i:null}function jt(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Gt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){
843
+ null!=i?t.d=i:g(n).invalidWeekday=e})),Re(["d","e","E"],(function(e,t,n,r){t[r]=ce(e)}));var Ht="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ft="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),It="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ct=$e,Bt=$e,Nt=$e;function Rt(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?$t(n,this._week.dow):e?n[e.day()]:n}function Yt(e){return!0===e?$t(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?$t(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Gt(e,t,n){var r,i,o,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ue.call(this._weekdaysParse,s))?i:null:"ddd"===t?-1!==(i=Ue.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=Ue.call(this._minWeekdaysParse,s))?i:null:"dddd"===t?-1!==(i=Ue.call(this._weekdaysParse,s))||-1!==(i=Ue.call(this._shortWeekdaysParse,s))||-1!==(i=Ue.call(this._minWeekdaysParse,s))?i:null:"ddd"===t?-1!==(i=Ue.call(this._shortWeekdaysParse,s))||-1!==(i=Ue.call(this._weekdaysParse,s))||-1!==(i=Ue.call(this._minWeekdaysParse,s))?i:null:-1!==(i=Ue.call(this._minWeekdaysParse,s))||-1!==(i=Ue.call(this._weekdaysParse,s))||-1!==(i=Ue.call(this._shortWeekdaysParse,s))?i:null}function jt(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Gt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){
842
844
  // test the regex
843
845
  if(
844
846
  // make the regex if we don't have it already
@@ -848,7 +850,7 @@ function Vt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this
848
850
  // behaves the same as moment#day except
849
851
  // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
850
852
  // as a setter, sunday should belong to the previous week.
851
- if(null!=e){var t=At(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Ct),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Nt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Bt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function qt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,s=[],a=[],l=[],u=[];for(t=0;t<7;t++)
853
+ if(null!=e){var t=At(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Ct),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Bt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function qt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,s=[],a=[],l=[],u=[];for(t=0;t<7;t++)
852
854
  // make the regex if we don't have it already
853
855
  n=p([2e3,1]).day(t),r=Ce(this.weekdaysMin(n,"")),i=Ce(this.weekdaysShort(n,"")),o=Ce(this.weekdays(n,"")),s.push(r),a.push(i),l.push(o),u.push(r),u.push(i),u.push(o);
854
856
  // Sorting makes sure if one weekday (or abbr) is a prefix of another it
@@ -866,7 +868,7 @@ return"p"===(e+"").toLowerCase().charAt(0)}R("H",["HH",2],0,"hour"),R("h",["hh",
866
868
  // ALIASES
867
869
  ne("hour","h"),
868
870
  // PRIORITY
869
- se("hour",13),He("a",tn),He("A",tn),He("H",ke),He("h",ke),He("k",ke),He("HH",ke,be),He("hh",ke,be),He("kk",ke,be),He("hmm",Ee),He("hmmss",Te),He("Hmm",Ee),He("Hmmss",Te),Be(["H","HH"],We),Be(["k","kk"],(function(e,t,n){var r=ce(e);t[We]=24===r?0:r})),Be(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Be(["h","hh"],(function(e,t,n){t[We]=ce(e),g(n).bigHour=!0})),Be("hmm",(function(e,t,n){var r=e.length-2;t[We]=ce(e.substr(0,r)),t[Ze]=ce(e.substr(r)),g(n).bigHour=!0})),Be("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[We]=ce(e.substr(0,r)),t[Ze]=ce(e.substr(r,2)),t[Xe]=ce(e.substr(i)),g(n).bigHour=!0})),Be("Hmm",(function(e,t,n){var r=e.length-2;t[We]=ce(e.substr(0,r)),t[Ze]=ce(e.substr(r))})),Be("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[We]=ce(e.substr(0,r)),t[Ze]=ce(e.substr(r,2)),t[Xe]=ce(e.substr(i))}));var rn=/[ap]\.?m?\.?/i,
871
+ se("hour",13),He("a",tn),He("A",tn),He("H",ke),He("h",ke),He("k",ke),He("HH",ke,be),He("hh",ke,be),He("kk",ke,be),He("hmm",Ee),He("hmmss",Te),He("Hmm",Ee),He("Hmmss",Te),Ne(["H","HH"],We),Ne(["k","kk"],(function(e,t,n){var r=ce(e);t[We]=24===r?0:r})),Ne(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Ne(["h","hh"],(function(e,t,n){t[We]=ce(e),g(n).bigHour=!0})),Ne("hmm",(function(e,t,n){var r=e.length-2;t[We]=ce(e.substr(0,r)),t[Ze]=ce(e.substr(r)),g(n).bigHour=!0})),Ne("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[We]=ce(e.substr(0,r)),t[Ze]=ce(e.substr(r,2)),t[Xe]=ce(e.substr(i)),g(n).bigHour=!0})),Ne("Hmm",(function(e,t,n){var r=e.length-2;t[We]=ce(e.substr(0,r)),t[Ze]=ce(e.substr(r))})),Ne("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[We]=ce(e.substr(0,r)),t[Ze]=ce(e.substr(r,2)),t[Xe]=ce(e.substr(i))}));var rn=/[ap]\.?m?\.?/i,
870
872
  // Setting the hour should keep the time, because the user explicitly
871
873
  // specified which hour they want. So trying to maintain the same hour (in
872
874
  // a new timezone) makes sense. Adding/subtracting hours does not follow
@@ -940,7 +942,7 @@ function Cn(e){var t=Mn.exec(e._i);null===t?(On(e),!1===e._isValid&&(delete e._i
940
942
  // Final attempt, use Input Fallback
941
943
  r.createFromInputFallback(e)))):e._d=new Date(+t[1])}
942
944
  // Pick the first defined of two or three arguments.
943
- function Nn(e,t,n){return null!=e?e:null!=t?t:n}function Bn(e){
945
+ function Bn(e,t,n){return null!=e?e:null!=t?t:n}function Nn(e){
944
946
  // hooks is actually the exported moment object
945
947
  var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}
946
948
  // convert an array to a date.
@@ -953,11 +955,11 @@ function Rn(e){var t,n,r,i,o,s=[];if(!e._d){
953
955
  // * if day of month is given, default month and year
954
956
  // * if month is given, default only year
955
957
  // * if year is given, don't default anything
956
- for(r=Bn(e),
958
+ for(r=Nn(e),
957
959
  //compute day of the year from weeks and weekdays
958
960
  e._w&&null==e._a[Ve]&&null==e._a[je]&&Yn(e),
959
961
  //if the day of the year is set, figure out what it is
960
- null!=e._dayOfYear&&(o=Nn(e._a[Ge],r[Ge]),(e._dayOfYear>gt(o)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=vt(o,0,e._dayOfYear),e._a[je]=n.getUTCMonth(),e._a[Ve]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];
962
+ null!=e._dayOfYear&&(o=Bn(e._a[Ge],r[Ge]),(e._dayOfYear>gt(o)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=vt(o,0,e._dayOfYear),e._a[je]=n.getUTCMonth(),e._a[Ve]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];
961
963
  // Zero out whatever was not defaulted, including time
962
964
  for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];
963
965
  // Check for 24:00:00.000
@@ -971,9 +973,9 @@ e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function Yn(e){var
971
973
  // how we interpret now (local, utc, fixed offset). So create
972
974
  // a now version of current config (take local/utc/offset flags, and
973
975
  // create now).
974
- n=Nn(t.GG,e._a[Ge],Et(Kn(),1,4).year),r=Nn(t.W,1),((i=Nn(t.E,1))<1||i>7)&&(l=!0)):(o=e._locale._week.dow,s=e._locale._week.doy,u=Et(Kn(),o,s),n=Nn(t.gg,e._a[Ge],u.year),
976
+ n=Bn(t.GG,e._a[Ge],Et(Kn(),1,4).year),r=Bn(t.W,1),((i=Bn(t.E,1))<1||i>7)&&(l=!0)):(o=e._locale._week.dow,s=e._locale._week.doy,u=Et(Kn(),o,s),n=Bn(t.gg,e._a[Ge],u.year),
975
977
  // Default to current week.
976
- r=Nn(t.w,u.week),null!=t.d?((
978
+ r=Bn(t.w,u.week),null!=t.d?((
977
979
  // weekday -- low day numbers are considered next week
978
980
  i=t.d)<0||i>6)&&(l=!0):null!=t.e?(
979
981
  // local weekday -- counting starts from beginning of week
@@ -988,7 +990,7 @@ if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],g(e).empty=!0;
988
990
  // This array is used to make a Date, either with `new Date` or `Date.UTC`
989
991
  var t,n,i,o,s,a,l,u=""+e._i,c=u.length,h=0;for(l=(i=j(e._f,e._locale).match(I)||[]).length,t=0;t<l;t++)o=i[t],(n=(u.match(Fe(o,e))||[])[0])&&((s=u.substr(0,u.indexOf(n))).length>0&&g(e).unusedInput.push(s),u=u.slice(u.indexOf(n)+n.length),h+=n.length),
990
992
  // don't parse if it's not a known token
991
- B[o]?(n?g(e).empty=!1:g(e).unusedTokens.push(o),Ye(o,n,e)):e._strict&&!n&&g(e).unusedTokens.push(o);
993
+ N[o]?(n?g(e).empty=!1:g(e).unusedTokens.push(o),Ye(o,n,e)):e._strict&&!n&&g(e).unusedTokens.push(o);
992
994
  // add remaining unparsed input length to the string
993
995
  g(e).charsLeftOver=c-h,u.length>0&&g(e).unusedInput.push(u),
994
996
  // clear _12h flag if hour is <= 12
@@ -1039,7 +1041,7 @@ function cr(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.len
1039
1041
  // FORMATTING
1040
1042
  function hr(e,t){R(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+F(~~(e/60),2)+t+F(~~e%60,2)}))}hr("Z",":"),hr("ZZ",""),
1041
1043
  // PARSING
1042
- He("Z",Pe),He("ZZ",Pe),Be(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fr(Pe,e)}));
1044
+ He("Z",Pe),He("ZZ",Pe),Ne(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fr(Pe,e)}));
1043
1045
  // HELPERS
1044
1046
  // timezone chunker
1045
1047
  // '+10:00' > ['10', '00']
@@ -1087,9 +1089,9 @@ function $r(e,t){return function(n,r){var i;
1087
1089
  //invert the arguments, but complain about it
1088
1090
  return null===r||isNaN(+r)||(L(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Hr(this,Dr(n,r),e),this}}function Hr(e,t,n,i){var o=t._milliseconds,s=ur(t._days),a=ur(t._months);e.isValid()&&(i=null==i||i,a&&ct(e,de(e,"Month")+a*n),s&&fe(e,"Date",de(e,"Date")+s*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&r.updateOffset(e,s||a))}Dr.fn=ar.prototype,Dr.invalid=sr;var Fr=$r(1,"add"),Ir=$r(-1,"subtract");function Cr(e){return"string"==typeof e||e instanceof String}
1089
1091
  // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
1090
- function Nr(e){return E(e)||h(e)||Cr(e)||c(e)||Rr(e)||Br(e)||null==e}function Br(e){var t,n,r=s(e)&&!l(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],u=o.length;for(t=0;t<u;t+=1)n=o[t],i=i||a(e,n);return r&&i}function Rr(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!c(t)&&Cr(e)})).length),t&&n}function Yr(e){var t,n,r=s(e)&&!l(e),i=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)n=o[t],i=i||a(e,n);return r&&i}function Ur(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gr(e,t){
1092
+ function Br(e){return E(e)||h(e)||Cr(e)||c(e)||Rr(e)||Nr(e)||null==e}function Nr(e){var t,n,r=s(e)&&!l(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],u=o.length;for(t=0;t<u;t+=1)n=o[t],i=i||a(e,n);return r&&i}function Rr(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!c(t)&&Cr(e)})).length),t&&n}function Yr(e){var t,n,r=s(e)&&!l(e),i=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)n=o[t],i=i||a(e,n);return r&&i}function Ur(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gr(e,t){
1091
1093
  // Support for single parameter, formats only overload to the calendar function
1092
- 1===arguments.length&&(arguments[0]?Nr(arguments[0])?(e=arguments[0],t=void 0):Yr(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));
1094
+ 1===arguments.length&&(arguments[0]?Br(arguments[0])?(e=arguments[0],t=void 0):Yr(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));
1093
1095
  // We want to compare the start of today, vs this.
1094
1096
  // Getting start-of-today depends on whether we're local/utc/offset or not.
1095
1097
  var n=e||Kn(),i=pr(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",s=t&&(D(t[o])?t[o].call(this,n):t[o]);return this.format(s||this.localeData().calendar(o,this,Kn(n)))}function jr(){return new k(this)}function Vr(e,t){var n=E(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Wr(e,t){var n=E(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function zr(e,t,n,r){var i=E(e)?e:Kn(e),o=E(t)?t:Kn(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n))}function Zr(e,t){var n,r=E(e)?e:Kn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Xr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Kr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function qr(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=pr(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=re(t)){case"year":o=Jr(this,r)/12;break;case"month":o=Jr(this,r);break;case"quarter":o=Jr(this,r)/3;break;case"second":o=(this-r)/1e3;break;// 1000
@@ -1138,7 +1140,7 @@ n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e]
1138
1140
  // truncate time
1139
1141
  n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Fi(){var e,t,n,i,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,
1140
1142
  // truncate time
1141
- i=this.clone().startOf("day").valueOf(),o[e].since<=i&&i<=o[e].until||o[e].until<=i&&i<=o[e].since)return(this.year()-r(o[e].since).year())*n+o[e].offset;return this.year()}function Ii(e){return a(this,"_erasNameRegex")||Gi.call(this),e?this._erasNameRegex:this._erasRegex}function Ci(e){return a(this,"_erasAbbrRegex")||Gi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ni(e){return a(this,"_erasNarrowRegex")||Gi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Bi(e,t){return t.erasAbbrRegex(e)}function Ri(e,t){return t.erasNameRegex(e)}function Yi(e,t){return t.erasNarrowRegex(e)}function Ui(e,t){return t._eraYearOrdinalRegex||Le}function Gi(){var e,t,n=[],r=[],i=[],o=[],s=this.eras();for(e=0,t=s.length;e<t;++e)r.push(Ce(s[e].name)),n.push(Ce(s[e].abbr)),i.push(Ce(s[e].narrow)),o.push(Ce(s[e].name)),o.push(Ce(s[e].abbr)),o.push(Ce(s[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}
1143
+ i=this.clone().startOf("day").valueOf(),o[e].since<=i&&i<=o[e].until||o[e].until<=i&&i<=o[e].since)return(this.year()-r(o[e].since).year())*n+o[e].offset;return this.year()}function Ii(e){return a(this,"_erasNameRegex")||Gi.call(this),e?this._erasNameRegex:this._erasRegex}function Ci(e){return a(this,"_erasAbbrRegex")||Gi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Bi(e){return a(this,"_erasNarrowRegex")||Gi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ni(e,t){return t.erasAbbrRegex(e)}function Ri(e,t){return t.erasNameRegex(e)}function Yi(e,t){return t.erasNarrowRegex(e)}function Ui(e,t){return t._eraYearOrdinalRegex||Le}function Gi(){var e,t,n=[],r=[],i=[],o=[],s=this.eras();for(e=0,t=s.length;e<t;++e)r.push(Ce(s[e].name)),n.push(Ce(s[e].abbr)),i.push(Ce(s[e].narrow)),o.push(Ce(s[e].name)),o.push(Ce(s[e].abbr)),o.push(Ce(s[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}
1142
1144
  // FORMATTING
1143
1145
  function ji(e,t){R(0,[e,e.length],0,t)}
1144
1146
  // MOMENTS
@@ -1147,7 +1149,7 @@ function Vi(e){return qi.call(this,e,this.week(),this.weekday(),this.localeData(
1147
1149
  // MOMENTS
1148
1150
  function Qi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}
1149
1151
  // FORMATTING
1150
- R("N",0,0,"eraAbbr"),R("NN",0,0,"eraAbbr"),R("NNN",0,0,"eraAbbr"),R("NNNN",0,0,"eraName"),R("NNNNN",0,0,"eraNarrow"),R("y",["y",1],"yo","eraYear"),R("y",["yy",2],0,"eraYear"),R("y",["yyy",3],0,"eraYear"),R("y",["yyyy",4],0,"eraYear"),He("N",Bi),He("NN",Bi),He("NNN",Bi),He("NNNN",Ri),He("NNNNN",Yi),Be(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?g(n).era=i:g(n).invalidEra=e})),He("y",Le),He("yy",Le),He("yyy",Le),He("yyyy",Le),He("yo",Ui),Be(["y","yy","yyy","yyyy"],Ge),Be(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ge]=n._locale.eraYearOrdinalParse(e,i):t[Ge]=parseInt(e,10)})),R(0,["gg",2],0,(function(){return this.weekYear()%100})),R(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ji("gggg","weekYear"),ji("ggggg","weekYear"),ji("GGGG","isoWeekYear"),ji("GGGGG","isoWeekYear"),
1152
+ R("N",0,0,"eraAbbr"),R("NN",0,0,"eraAbbr"),R("NNN",0,0,"eraAbbr"),R("NNNN",0,0,"eraName"),R("NNNNN",0,0,"eraNarrow"),R("y",["y",1],"yo","eraYear"),R("y",["yy",2],0,"eraYear"),R("y",["yyy",3],0,"eraYear"),R("y",["yyyy",4],0,"eraYear"),He("N",Ni),He("NN",Ni),He("NNN",Ni),He("NNNN",Ri),He("NNNNN",Yi),Ne(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?g(n).era=i:g(n).invalidEra=e})),He("y",Le),He("yy",Le),He("yyy",Le),He("yyyy",Le),He("yo",Ui),Ne(["y","yy","yyy","yyyy"],Ge),Ne(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ge]=n._locale.eraYearOrdinalParse(e,i):t[Ge]=parseInt(e,10)})),R(0,["gg",2],0,(function(){return this.weekYear()%100})),R(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ji("gggg","weekYear"),ji("ggggg","weekYear"),ji("GGGG","isoWeekYear"),ji("GGGGG","isoWeekYear"),
1151
1153
  // ALIASES
1152
1154
  ne("weekYear","gg"),ne("isoWeekYear","GG"),
1153
1155
  // PRIORITY
@@ -1159,7 +1161,7 @@ ne("quarter","Q"),
1159
1161
  // PRIORITY
1160
1162
  se("quarter",7),
1161
1163
  // PARSING
1162
- He("Q",ye),Be("Q",(function(e,t){t[je]=3*(ce(e)-1)})),R("D",["DD",2],"Do","date"),
1164
+ He("Q",ye),Ne("Q",(function(e,t){t[je]=3*(ce(e)-1)})),R("D",["DD",2],"Do","date"),
1163
1165
  // ALIASES
1164
1166
  ne("date","D"),
1165
1167
  // PRIORITY
@@ -1167,7 +1169,7 @@ se("date",9),
1167
1169
  // PARSING
1168
1170
  He("D",ke),He("DD",ke,be),He("Do",(function(e,t){
1169
1171
  // TODO: Remove "ordinalParse" fallback in next major release.
1170
- return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Be(["D","DD"],Ve),Be("Do",(function(e,t){t[Ve]=ce(e.match(ke)[0])}));
1172
+ return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ne(["D","DD"],Ve),Ne("Do",(function(e,t){t[Ve]=ce(e.match(ke)[0])}));
1171
1173
  // MOMENTS
1172
1174
  var eo=he("Date",!0);
1173
1175
  // FORMATTING
@@ -1181,13 +1183,13 @@ ne("dayOfYear","DDD"),
1181
1183
  // PRIORITY
1182
1184
  se("dayOfYear",4),
1183
1185
  // PARSING
1184
- He("DDD",Se),He("DDDD",_e),Be(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ce(e)})),R("m",["mm",2],0,"minute"),
1186
+ He("DDD",Se),He("DDDD",_e),Ne(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ce(e)})),R("m",["mm",2],0,"minute"),
1185
1187
  // ALIASES
1186
1188
  ne("minute","m"),
1187
1189
  // PRIORITY
1188
1190
  se("minute",14),
1189
1191
  // PARSING
1190
- He("m",ke),He("mm",ke,be),Be(["m","mm"],Ze);
1192
+ He("m",ke),He("mm",ke,be),Ne(["m","mm"],Ze);
1191
1193
  // MOMENTS
1192
1194
  var no=he("Minutes",!1);
1193
1195
  // FORMATTING
@@ -1197,7 +1199,7 @@ ne("second","s"),
1197
1199
  // PRIORITY
1198
1200
  se("second",15),
1199
1201
  // PARSING
1200
- He("s",ke),He("ss",ke,be),Be(["s","ss"],Xe);
1202
+ He("s",ke),He("ss",ke,be),Ne(["s","ss"],Xe);
1201
1203
  // MOMENTS
1202
1204
  var ro,io,oo=he("Seconds",!1);
1203
1205
  // FORMATTING
@@ -1207,7 +1209,7 @@ ne("millisecond","ms"),
1207
1209
  // PRIORITY
1208
1210
  se("millisecond",16),
1209
1211
  // PARSING
1210
- He("S",Se,ye),He("SS",Se,be),He("SSS",Se,_e),ro="SSSS";ro.length<=9;ro+="S")He(ro,Le);function so(e,t){t[Ke]=ce(1e3*("0."+e))}for(ro="S";ro.length<=9;ro+="S")Be(ro,so);
1212
+ He("S",Se,ye),He("SS",Se,be),He("SSS",Se,_e),ro="SSSS";ro.length<=9;ro+="S")He(ro,Le);function so(e,t){t[Ke]=ce(1e3*("0."+e))}for(ro="S";ro.length<=9;ro+="S")Ne(ro,so);
1211
1213
  // MOMENTS
1212
1214
  function ao(){return this._isUTC?"UTC":""}function lo(){return this._isUTC?"Coordinated Universal Time":""}io=he("Milliseconds",!1),
1213
1215
  // FORMATTING
@@ -1220,7 +1222,7 @@ R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var uo=k.prototype;function co(e){r
1220
1222
  // (true, 5)
1221
1223
  // (true, fmt, 5)
1222
1224
  // (true, fmt)
1223
- function yo(e,t,n,r){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,o=_n(),s=e?o._week.dow:0,a=[];if(null!=n)return mo(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=mo(t,(i+s)%7,r,"day");return a}function bo(e,t){return go(e,t,"months")}function _o(e,t){return go(e,t,"monthsShort")}function vo(e,t,n){return yo(e,t,n,"weekdays")}function wo(e,t,n){return yo(e,t,n,"weekdaysShort")}function ko(e,t,n){return yo(e,t,n,"weekdaysMin")}po.calendar=H,po.longDateFormat=W,po.invalidDate=Z,po.ordinal=q,po.preparse=fo,po.postformat=fo,po.relativeTime=Q,po.pastFuture=ee,po.set=O,po.eras=Di,po.erasParse=Oi,po.erasConvertYear=Pi,po.erasAbbrRegex=Ci,po.erasNameRegex=Ii,po.erasNarrowRegex=Ni,po.months=st,po.monthsShort=at,po.monthsParse=ut,po.monthsRegex=pt,po.monthsShortRegex=ft,po.week=St,po.firstDayOfYear=Lt,po.firstDayOfWeek=Mt,po.weekdays=Rt,po.weekdaysMin=Ut,po.weekdaysShort=Yt,po.weekdaysParse=jt,po.weekdaysRegex=Zt,po.weekdaysShortRegex=Xt,po.weekdaysMinRegex=Kt,po.isPM=nn,po.meridiem=sn,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ce(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
1225
+ function yo(e,t,n,r){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,o=_n(),s=e?o._week.dow:0,a=[];if(null!=n)return mo(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=mo(t,(i+s)%7,r,"day");return a}function bo(e,t){return go(e,t,"months")}function _o(e,t){return go(e,t,"monthsShort")}function vo(e,t,n){return yo(e,t,n,"weekdays")}function wo(e,t,n){return yo(e,t,n,"weekdaysShort")}function ko(e,t,n){return yo(e,t,n,"weekdaysMin")}po.calendar=H,po.longDateFormat=W,po.invalidDate=Z,po.ordinal=q,po.preparse=fo,po.postformat=fo,po.relativeTime=Q,po.pastFuture=ee,po.set=O,po.eras=Di,po.erasParse=Oi,po.erasConvertYear=Pi,po.erasAbbrRegex=Ci,po.erasNameRegex=Ii,po.erasNarrowRegex=Bi,po.months=st,po.monthsShort=at,po.monthsParse=ut,po.monthsRegex=pt,po.monthsShortRegex=ft,po.week=St,po.firstDayOfYear=Lt,po.firstDayOfWeek=Mt,po.weekdays=Rt,po.weekdaysMin=Ut,po.weekdaysShort=Yt,po.weekdaysParse=jt,po.weekdaysRegex=Zt,po.weekdaysShortRegex=Xt,po.weekdaysMinRegex=Kt,po.isPM=nn,po.meridiem=sn,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ce(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
1224
1226
  // Side effect imports
1225
1227
  r.lang=S("moment.lang is deprecated. Use moment.locale instead.",gn),r.langData=S("moment.langData is deprecated. Use moment.localeData instead.",_n);var Eo=Math.abs;function To(){var e=this._data;return this._milliseconds=Eo(this._milliseconds),this._days=Eo(this._days),this._months=Eo(this._months),e.milliseconds=Eo(e.milliseconds),e.seconds=Eo(e.seconds),e.minutes=Eo(e.minutes),e.hours=Eo(e.hours),e.months=Eo(e.months),e.years=Eo(e.years),this}function So(e,t,n,r){var i=Dr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}
1226
1228
  // supports only 2.0-style add(1, 's') or add(duration)
@@ -1247,7 +1249,7 @@ t=this._days+Math.round(Po(this._months)),e){case"week":return t/7+r/6048e5;case
1247
1249
  // Math.floor prevents floating point math errors here
1248
1250
  case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}
1249
1251
  // TODO: Use this.as('ms')?
1250
- function $o(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ce(this._months/12):NaN}function Ho(e){return function(){return this.as(e)}}var Fo=Ho("ms"),Io=Ho("s"),Co=Ho("m"),No=Ho("h"),Bo=Ho("d"),Ro=Ho("w"),Yo=Ho("M"),Uo=Ho("Q"),Go=Ho("y");function jo(){return Dr(this)}function Vo(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Wo(e){return function(){return this.isValid()?this._data[e]:NaN}}var zo=Wo("milliseconds"),Zo=Wo("seconds"),Xo=Wo("minutes"),Ko=Wo("hours"),qo=Wo("days"),Jo=Wo("months"),Qo=Wo("years");function es(){return ue(this.days()/7)}var ts=Math.round,ns={ss:44,// a few seconds to seconds
1252
+ function $o(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ce(this._months/12):NaN}function Ho(e){return function(){return this.as(e)}}var Fo=Ho("ms"),Io=Ho("s"),Co=Ho("m"),Bo=Ho("h"),No=Ho("d"),Ro=Ho("w"),Yo=Ho("M"),Uo=Ho("Q"),Go=Ho("y");function jo(){return Dr(this)}function Vo(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Wo(e){return function(){return this.isValid()?this._data[e]:NaN}}var zo=Wo("milliseconds"),Zo=Wo("seconds"),Xo=Wo("minutes"),Ko=Wo("hours"),qo=Wo("days"),Jo=Wo("months"),Qo=Wo("years");function es(){return ue(this.days()/7)}var ts=Math.round,ns={ss:44,// a few seconds to seconds
1251
1253
  s:45,// seconds to minute
1252
1254
  m:45,// minutes to hour
1253
1255
  h:22,// hours to day
@@ -1273,11 +1275,11 @@ e=ue(l/60),t=ue(e/60),l%=60,e%=60,
1273
1275
  // 12 months -> 1 year
1274
1276
  n=ue(c/12),c%=12,
1275
1277
  // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
1276
- r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",o=us(this._months)!==us(h)?"-":"",s=us(this._days)!==us(h)?"-":"",a=us(this._milliseconds)!==us(h)?"-":"",i+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(u?s+u+"D":"")+(t||e||l?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(l?a+r+"S":"")):"P0D"}var hs=ar.prototype;return hs.isValid=or,hs.abs=To,hs.add=xo,hs.subtract=Mo,hs.as=Ao,hs.asMilliseconds=Fo,hs.asSeconds=Io,hs.asMinutes=Co,hs.asHours=No,hs.asDays=Bo,hs.asWeeks=Ro,hs.asMonths=Yo,hs.asQuarters=Uo,hs.asYears=Go,hs.valueOf=$o,hs._bubble=Do,hs.clone=jo,hs.get=Vo,hs.milliseconds=zo,hs.seconds=Zo,hs.minutes=Xo,hs.hours=Ko,hs.days=qo,hs.weeks=es,hs.months=Jo,hs.years=Qo,hs.humanize=as,hs.toISOString=cs,hs.toString=cs,hs.toJSON=cs,hs.locale=ai,hs.localeData=ui,hs.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",cs),hs.lang=li,
1278
+ r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",o=us(this._months)!==us(h)?"-":"",s=us(this._days)!==us(h)?"-":"",a=us(this._milliseconds)!==us(h)?"-":"",i+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(u?s+u+"D":"")+(t||e||l?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(l?a+r+"S":"")):"P0D"}var hs=ar.prototype;return hs.isValid=or,hs.abs=To,hs.add=xo,hs.subtract=Mo,hs.as=Ao,hs.asMilliseconds=Fo,hs.asSeconds=Io,hs.asMinutes=Co,hs.asHours=Bo,hs.asDays=No,hs.asWeeks=Ro,hs.asMonths=Yo,hs.asQuarters=Uo,hs.asYears=Go,hs.valueOf=$o,hs._bubble=Do,hs.clone=jo,hs.get=Vo,hs.milliseconds=zo,hs.seconds=Zo,hs.minutes=Xo,hs.hours=Ko,hs.days=qo,hs.weeks=es,hs.months=Jo,hs.years=Qo,hs.humanize=as,hs.toISOString=cs,hs.toString=cs,hs.toJSON=cs,hs.locale=ai,hs.localeData=ui,hs.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",cs),hs.lang=li,
1277
1279
  // FORMATTING
1278
1280
  R("X",0,0,"unix"),R("x",0,0,"valueOf"),
1279
1281
  // PARSING
1280
- He("x",De),He("X",Ae),Be("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Be("x",(function(e,t,n){n._d=new Date(ce(e))})),
1282
+ He("x",De),He("X",Ae),Ne("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Ne("x",(function(e,t,n){n._d=new Date(ce(e))})),
1281
1283
  //! moment.js
1282
1284
  r.version="2.29.3",i(Kn),r.fn=uo,r.min=er,r.max=tr,r.now=nr,r.utc=p,r.unix=co,r.months=bo,r.isDate=h,r.locale=gn,r.invalid=b,r.duration=Dr,r.isMoment=E,r.weekdays=vo,r.parseZone=ho,r.localeData=_n,r.isDuration=lr,r.monthsShort=_o,r.weekdaysMin=ko,r.defineLocale=yn,r.updateLocale=bn,r.locales=vn,r.weekdaysShort=wo,r.normalizeUnits=re,r.relativeTimeRounding=os,r.relativeTimeThreshold=ss,r.calendarFormat=Ur,r.prototype=uo,
1283
1285
  // currently HTML5 input type only supports 24-hour formats
@@ -1343,13 +1345,13 @@ function Pi(e){let t,n,r,i=/*operatorLanguage*/e[80]+"";return{c(){t=g("option")
1343
1345
  function Ai(e){let t,n,r,i,o,s,a,u,c,h=/*language*/e[77].name+"";return{c(){t=g("li"),n=g("img"),i=g("a"),o=g("span"),s=b(h),k(n,"class","LanguageFlag"),l(n.src,r=/*language*/e[77].flag_icon_editable)||k(n,"src",r),k(i,"href","javascript:void(0)"),k(t,"class","OverlayLanguageOption"),k(t,"data-lang",a=/*language*/e[77].code)},m(r,a){f(r,t,a),d(t,n),d(t,i),d(i,o),d(o,s),u||(c=w(t,"click",/*overlayOptionTrigger*/e[37]),u=!0)},p(e,i){/*languages*/64&i[0]&&!l(n.src,r=/*language*/e[77].flag_icon_editable)&&k(n,"src",r),/*languages*/64&i[0]&&h!==(h=/*language*/e[77].name+"")&&T(s,h),/*languages*/64&i[0]&&a!==(a=/*language*/e[77].code)&&k(t,"data-lang",a)},d(e){e&&p(t),u=!1,c()}}}
1344
1346
  // (462:6) {#if copyright}
1345
1347
  function $i(e){let t,n,r,o;return{c(){t=g("div"),k(t,"class","CopyrightAreaRights CopyrightArea")},m(i,s){f(i,t,s),r||(o=h(n=/*setContent*/e[34].call(null,t,/*copyright*/e[19])),r=!0)},p(e,t){n&&i(n.update)&&/*copyright*/524288&t[0]&&n.update.call(null,/*copyright*/e[19])},d(e){e&&p(t),r=!1,o()}}}function Hi(t){let n,r,i,o=/*headScript*/t[23]&&ci(t);function s(e,t){/*hasErrors*/
1346
- return e[21]?fi:/*isLoading*/e[22]?di:hi}let a=s(t),l=a(t);return{c(){o&&o.c(),n=g("link"),r=_(),l.c(),i=v(),this.c=e,k(n,"href","https://fonts.googleapis.com/css?family=Roboto Condensed"),k(n,"rel","stylesheet"),k(n,"type","text/css")},m(e,t){o&&o.m(si.head,null),d(si.head,n),f(e,r,t),l.m(e,t),f(e,i,t)},p(e,t){/*headScript*/e[23]?o?o.p(e,t):(o=ci(e),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null),a===(a=s(e))&&l?l.p(e,t):(l.d(1),l=a(e),l&&(l.c(),l.m(i.parentNode,i)))},i:e,o:e,d(e){o&&o.d(e),p(n),e&&p(r),l.d(e),e&&p(i)}}}function Fi(e,t,n){let r;c(e,Qr,(e=>n(66,r=e)));let i,o,s,a,l,u,h,{endpoint:d=""}=t,{lang:f="en"}=t,{env:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{clockenabled:y=""}=t,{clocksecondsenabled:b=""}=t,{clockcustomformat:_=""}=t,{clocktext:v="Time:"}=t,{languageselectorenabled:w="true"}=t,{languageslist:k="en, ro"}=t,{languagedisplaytype:E="name"}=t,{session:T=""}=t,{userid:S=""}=t,{userendpoint:x=""}=t,{panicbuttonenabled:M="true"}=t,{sessiontimerenabled:L="true"}=t,{grouplink:O="true"}=t,{baseurl:A=""}=t,$=window.navigator.userAgent,H=(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)))($),F="",I=[],C="",N=[],B="",R=[],Y="",U=[],G="",j=[],V="",W=[],z="",Z="",X=!1,K=!1,q=!1,J="",Q="",ee=!1,te="hr",ne=[],re=[],ie="",oe="",se=!1,ae="",le=document.createElement("p"),ue=document.createElement("p");!function({withLocale:e,translations:t}){Yr.subscribe((n=>{null==n&&(Er.set(t),Yr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1348
+ return e[21]?fi:/*isLoading*/e[22]?di:hi}let a=s(t),l=a(t);return{c(){o&&o.c(),n=g("link"),r=_(),l.c(),i=v(),this.c=e,k(n,"href","https://fonts.googleapis.com/css?family=Roboto Condensed"),k(n,"rel","stylesheet"),k(n,"type","text/css")},m(e,t){o&&o.m(si.head,null),d(si.head,n),f(e,r,t),l.m(e,t),f(e,i,t)},p(e,t){/*headScript*/e[23]?o?o.p(e,t):(o=ci(e),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null),a===(a=s(e))&&l?l.p(e,t):(l.d(1),l=a(e),l&&(l.c(),l.m(i.parentNode,i)))},i:e,o:e,d(e){o&&o.d(e),p(n),e&&p(r),l.d(e),e&&p(i)}}}function Fi(e,t,n){let r;c(e,Qr,(e=>n(66,r=e)));let i,o,s,a,l,u,h,{endpoint:d=""}=t,{lang:f="en"}=t,{env:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{clockenabled:y=""}=t,{clocksecondsenabled:b=""}=t,{clockcustomformat:_=""}=t,{clocktext:v="Time:"}=t,{languageselectorenabled:w="true"}=t,{languageslist:k="en, ro"}=t,{languagedisplaytype:E="name"}=t,{session:T=""}=t,{userid:S=""}=t,{userendpoint:x=""}=t,{panicbuttonenabled:M="true"}=t,{sessiontimerenabled:L="true"}=t,{grouplink:O="true"}=t,{baseurl:A=""}=t,$=window.navigator.userAgent,H=(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)))($),F="",I=[],C="",B=[],N="",R=[],Y="",U=[],G="",j=[],V="",W=[],z="",Z="",X=!1,K=!1,q=!1,J="",Q="",ee=!1,te="hr",ne=[],re=[],ie="",oe="",se=!1,ae="",le=document.createElement("p"),ue=document.createElement("p");!function({withLocale:e,translations:t}){Yr.subscribe((n=>{null==n&&(Er.set(t),Yr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1347
1349
  /*dictionary.set(translations);
1348
1350
  locale.set(_locale);*/}({withLocale:"en",translations:{}}),Object.keys(oi).forEach((e=>{!function(e,t){xr(e,t)}(e,oi[e])}));const ce=()=>{(function(e,t){return new Promise(((n,r)=>{let i=new Headers;i.append("X-SessionID",t),Ze(`${e}/player/session/player`,{method:"GET",headers:i}).then((e=>e.json())).then((e=>n(e))).catch((e=>r(e)))}))})(x,T).then((e=>{e.Guid,e.UserID,n(26,ee=!0),he(e)}),(e=>{n(26,ee=!1),console.error("Error while checking the session - ",e)}))},he=e=>{
1349
1351
  // using Date instead of moment because they recommend in their docs to stop using it for new projects
1350
- const t=new Date(e.Login),n=(new Date).getTimezoneOffset()/60;let i=(new Date).getTime()-t.getTime(),o=Math.floor(i/36e5)+n,s=Math.floor(i%36e5/6e4),a=Math.floor(i%6e4/1e3);u=setInterval((()=>{o=Math.floor(i/36e5)+n,s=Math.floor(i%36e5/6e4),a=Math.floor(i%6e4/1e3),ae=`${o>9?o:"0"+o}:${s>9?s:"0"+s}:${a>9?a:"0"+a}`,le.innerHTML=` ${r("casinoFooter.sessionTimer")} ${ae}`,i+=1e3}),1e3)},de=()=>{const e="false"!=_?_:`hh:mm${"true"===b?":ss":""} (UTC Z)`;o=ii().format(e),ue.innerHTML=` ${v} ${o}`},fe=()=>{window.postMessage({type:"LanguageChanged",selectedLanguage:te},window.location.href)},pe=()=>{let e=!1;ne.forEach(((t,r)=>{if(t.code==te.toLowerCase()){let r="";switch(e=!0,n(31,oe=t.flag_icon_editable),E){case"name":r=t.name;break;case"translatedName":r=t.translated_name;break;default:r=t.code}n(30,ie=r)}})),e||n(30,ie=te)};D((()=>()=>{clearInterval(l),clearInterval(u)}));return e.$$set=e=>{"endpoint"in e&&n(38,d=e.endpoint),"lang"in e&&n(0,f=e.lang),"env"in e&&n(39,p=e.env),"clientstyling"in e&&n(1,m=e.clientstyling),"clientstylingurl"in e&&n(2,g=e.clientstylingurl),"clockenabled"in e&&n(40,y=e.clockenabled),"clocksecondsenabled"in e&&n(41,b=e.clocksecondsenabled),"clockcustomformat"in e&&n(42,_=e.clockcustomformat),"clocktext"in e&&n(43,v=e.clocktext),"languageselectorenabled"in e&&n(3,w=e.languageselectorenabled),"languageslist"in e&&n(44,k=e.languageslist),"languagedisplaytype"in e&&n(45,E=e.languagedisplaytype),"session"in e&&n(46,T=e.session),"userid"in e&&n(47,S=e.userid),"userendpoint"in e&&n(48,x=e.userendpoint),"panicbuttonenabled"in e&&n(4,M=e.panicbuttonenabled),"sessiontimerenabled"in e&&n(49,L=e.sessiontimerenabled),"grouplink"in e&&n(50,O=e.grouplink),"baseurl"in e&&n(5,A=e.baseurl)},e.$$.update=()=>{var t;/*lang*/1&e.$$.dirty[0]&&f&&(t=f,Yr.set(t)),/*languageslist*/8192&e.$$.dirty[1]&&k&&(n(28,re=k.replace(/ /g,"").split(",")),n(28,re=re.map((e=>e.toUpperCase())))),/*session, userid, userendpoint*/229376&e.$$.dirty[1]&&T&&S&&x&&ce(),/*lang*/1&e.$$.dirty[0]|/*endpoint, env*/384&e.$$.dirty[1]&&d&&f&&p&&(()=>{let e=new URL(`${d}/${f}/footer-raw-data`);e.searchParams.append("env",p);let t=ei($);t&&("PC"===t?e.searchParams.append("device","dk"):"iPad"===t||"iPhone"===t?e.searchParams.append("device","ios"):e.searchParams.append("device","mtWeb")),"true"==O&&e.searchParams.append("helpLinks_groupby","helpLinkCategory"),n(22,K=!0),fetch(e.href).then((e=>e.json())).then((e=>{let t,r,o;n(22,K=!1),i=e,n(8,({gameVendorsLinksTitle:F,gameVendorsRepeater:I,paymentLinksTitle:C,paymentMethodsRepeater:N,sponsorsLinksTitle:B,sponsorsRepeater:R,helpLinksTitle:Y,helpLinksRepeater:U,licensesLinksTitle:G,licensesRepeater:j,socialLinksTitle:V,socialLinksRepeater:W,copyright:z,licenseDesc:Z,licenseHeadScriptSrc:t,licenseScriptBody:r,licenseEvent:o,language:ne}=i),F,n(9,I),n(10,C),n(11,N),n(12,B),n(13,R),n(14,U),n(15,G),n(16,j),n(17,V),n(18,W),n(19,z),n(20,Z),n(6,ne)),ne&&(n(32,se=!0),pe()),(null==t?void 0:t.length)>0&&(n(23,q=!0),n(24,J=t)),(null==r?void 0:r.length)>0&&n(25,Q=r),window.postMessage({type:o},window.location.href),window.postMessage({type:"FooterData",gameVendorsRepeater:I,paymentMethodsRepeater:N,sponsorsRepeater:R,helpLinksRepeater:U,licensesRepeater:j,socialLinksRepeater:W},window.location.href)})).catch((e=>{n(21,X=!0),n(22,K=!1),console.error(e)}))})(),/*clockenabled, clocksecondsenabled, clockcustomformat*/3584&e.$$.dirty[1]&&"false"!==y&&b&&_&&de(),/*clockenabled, clocksecondsenabled*/1536&e.$$.dirty[1]&&"false"!==y&&b&&(s="true"==b?1e3:6e4)&&(l=setInterval((()=>{de()}),s)),/*lang, languages*/65&e.$$.dirty[0]&&f&&n(27,te=f)&&ne&&ne.length>0&&pe(),/*clientstyling, customStylingContainer*/130&e.$$.dirty[0]&&m&&h&&(()=>{let e=document.createElement("style");e.innerHTML=m,h&&h.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/132&e.$$.dirty[0]&&g&&h&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,h&&setTimeout((()=>{h.appendChild(t)}),1)}))})()},[f,m,g,w,M,A,ne,h,F,I,C,N,B,R,U,G,j,V,W,z,Z,X,K,q,J,Q,ee,te,re,a,ie,oe,se,H,(e,t)=>{let n=document.createElement("div");n.innerHTML=t,e.append(n),
1352
+ const t=new Date(e.Login),n=(new Date).getTimezoneOffset()/60;let i=(new Date).getTime()-t.getTime(),o=Math.floor(i/36e5)+n,s=Math.floor(i%36e5/6e4),a=Math.floor(i%6e4/1e3);u=setInterval((()=>{o=Math.floor(i/36e5)+n,s=Math.floor(i%36e5/6e4),a=Math.floor(i%6e4/1e3),ae=`${o>9?o:"0"+o}:${s>9?s:"0"+s}:${a>9?a:"0"+a}`,le.innerHTML=` ${r("casinoFooter.sessionTimer")} ${ae}`,i+=1e3}),1e3)},de=()=>{const e="false"!=_?_:`hh:mm${"true"===b?":ss":""} (UTC Z)`;o=ii().format(e),ue.innerHTML=` ${v} ${o}`},fe=()=>{window.postMessage({type:"LanguageChanged",selectedLanguage:te},window.location.href)},pe=()=>{let e=!1;ne.forEach(((t,r)=>{if(t.code==te.toLowerCase()){let r="";switch(e=!0,n(31,oe=t.flag_icon_editable),E){case"name":r=t.name;break;case"translatedName":r=t.translated_name;break;default:r=t.code}n(30,ie=r)}})),e||n(30,ie=te)};D((()=>()=>{clearInterval(l),clearInterval(u)}));return e.$$set=e=>{"endpoint"in e&&n(38,d=e.endpoint),"lang"in e&&n(0,f=e.lang),"env"in e&&n(39,p=e.env),"clientstyling"in e&&n(1,m=e.clientstyling),"clientstylingurl"in e&&n(2,g=e.clientstylingurl),"clockenabled"in e&&n(40,y=e.clockenabled),"clocksecondsenabled"in e&&n(41,b=e.clocksecondsenabled),"clockcustomformat"in e&&n(42,_=e.clockcustomformat),"clocktext"in e&&n(43,v=e.clocktext),"languageselectorenabled"in e&&n(3,w=e.languageselectorenabled),"languageslist"in e&&n(44,k=e.languageslist),"languagedisplaytype"in e&&n(45,E=e.languagedisplaytype),"session"in e&&n(46,T=e.session),"userid"in e&&n(47,S=e.userid),"userendpoint"in e&&n(48,x=e.userendpoint),"panicbuttonenabled"in e&&n(4,M=e.panicbuttonenabled),"sessiontimerenabled"in e&&n(49,L=e.sessiontimerenabled),"grouplink"in e&&n(50,O=e.grouplink),"baseurl"in e&&n(5,A=e.baseurl)},e.$$.update=()=>{var t;/*lang*/1&e.$$.dirty[0]&&f&&(t=f,Yr.set(t)),/*languageslist*/8192&e.$$.dirty[1]&&k&&(n(28,re=k.replace(/ /g,"").split(",")),n(28,re=re.map((e=>e.toUpperCase())))),/*session, userid, userendpoint*/229376&e.$$.dirty[1]&&T&&S&&x&&ce(),/*lang*/1&e.$$.dirty[0]|/*endpoint, env*/384&e.$$.dirty[1]&&d&&f&&p&&(()=>{let e=new URL(`${d}/${f}/footer-raw-data`);e.searchParams.append("env",p);let t=ei($);t&&("PC"===t?e.searchParams.append("device","dk"):"iPad"===t||"iPhone"===t?e.searchParams.append("device","ios"):e.searchParams.append("device","mtWeb")),"true"==O&&e.searchParams.append("helpLinks_groupby","helpLinkCategory"),n(22,K=!0),fetch(e.href).then((e=>e.json())).then((e=>{let t,r,o;n(22,K=!1),i=e,n(8,({gameVendorsLinksTitle:F,gameVendorsRepeater:I,paymentLinksTitle:C,paymentMethodsRepeater:B,sponsorsLinksTitle:N,sponsorsRepeater:R,helpLinksTitle:Y,helpLinksRepeater:U,licensesLinksTitle:G,licensesRepeater:j,socialLinksTitle:V,socialLinksRepeater:W,copyright:z,licenseDesc:Z,licenseHeadScriptSrc:t,licenseScriptBody:r,licenseEvent:o,language:ne}=i),F,n(9,I),n(10,C),n(11,B),n(12,N),n(13,R),n(14,U),n(15,G),n(16,j),n(17,V),n(18,W),n(19,z),n(20,Z),n(6,ne)),ne&&(n(32,se=!0),pe()),(null==t?void 0:t.length)>0&&(n(23,q=!0),n(24,J=t)),(null==r?void 0:r.length)>0&&n(25,Q=r),window.postMessage({type:o},window.location.href),window.postMessage({type:"FooterData",gameVendorsRepeater:I,paymentMethodsRepeater:B,sponsorsRepeater:R,helpLinksRepeater:U,licensesRepeater:j,socialLinksRepeater:W},window.location.href)})).catch((e=>{n(21,X=!0),n(22,K=!1),console.error(e)}))})(),/*clockenabled, clocksecondsenabled, clockcustomformat*/3584&e.$$.dirty[1]&&"false"!==y&&b&&_&&de(),/*clockenabled, clocksecondsenabled*/1536&e.$$.dirty[1]&&"false"!==y&&b&&(s="true"==b?1e3:6e4)&&(l=setInterval((()=>{de()}),s)),/*lang, languages*/65&e.$$.dirty[0]&&f&&n(27,te=f)&&ne&&ne.length>0&&pe(),/*clientstyling, customStylingContainer*/130&e.$$.dirty[0]&&m&&h&&(()=>{let e=document.createElement("style");e.innerHTML=m,h&&h.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/132&e.$$.dirty[0]&&g&&h&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,h&&setTimeout((()=>{h.appendChild(t)}),1)}))})()},[f,m,g,w,M,A,ne,h,F,I,C,B,N,R,U,G,j,V,W,z,Z,X,K,q,J,Q,ee,te,re,a,ie,oe,se,H,(e,t)=>{let n=document.createElement("div");n.innerHTML=t,e.append(n),
1351
1353
  //Add clock
1352
1354
  "true"===y&&e.classList.contains("DetailedLicenses")&&e.children[0].children[0].append(ue),
1353
1355
  //Add session timer
1354
- "true"==L&&e.classList.contains("DetailedLicenses")&&e.children[0].children[0].append(le)},fe,()=>{a.classList.toggle("hidden")},e=>{let t=e.target.closest(".OverlayLanguageOption");n(27,te=t.getAttribute("data-lang")),fe(),pe(),a.classList.toggle("hidden")},d,p,y,b,_,v,k,E,T,S,x,L,O,function(){te=function(e){const t=e.querySelector(":checked")||e.options[0];return t&&t.__value}(this),n(27,te),n(0,f),n(6,ne),n(28,re)},()=>fe(),function(e){P[e?"unshift":"push"]((()=>{a=e,n(29,a)}))},function(e){P[e?"unshift":"push"]((()=>{h=e,n(7,h)}))}]}class Ii 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{background-color:#E8E9EB;display:flex;padding:21px 12px;flex-direction:row}.FooterSideMobile{margin-top:66px}.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;padding:100px 0;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}.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}.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:3.9px}.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},Fi,Hi,o,{endpoint:38,lang:0,env:39,clientstyling:1,clientstylingurl:2,clockenabled:40,clocksecondsenabled:41,clockcustomformat:42,clocktext:43,languageselectorenabled:3,languageslist:44,languagedisplaytype:45,session:46,userid:47,userendpoint:48,panicbuttonenabled:4,sessiontimerenabled:49,grouplink:50,baseurl:5},null,[-1,-1,-1]),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","lang","env","clientstyling","clientstylingurl","clockenabled","clocksecondsenabled","clockcustomformat","clocktext","languageselectorenabled","languageslist","languagedisplaytype","session","userid","userendpoint","panicbuttonenabled","sessiontimerenabled","grouplink","baseurl"]}get endpoint(){return this.$$.ctx[38]}set endpoint(e){this.$$set({endpoint:e}),B()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),B()}get env(){return this.$$.ctx[39]}set env(e){this.$$set({env:e}),B()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get clockenabled(){return this.$$.ctx[40]}set clockenabled(e){this.$$set({clockenabled:e}),B()}get clocksecondsenabled(){return this.$$.ctx[41]}set clocksecondsenabled(e){this.$$set({clocksecondsenabled:e}),B()}get clockcustomformat(){return this.$$.ctx[42]}set clockcustomformat(e){this.$$set({clockcustomformat:e}),B()}get clocktext(){return this.$$.ctx[43]}set clocktext(e){this.$$set({clocktext:e}),B()}get languageselectorenabled(){return this.$$.ctx[3]}set languageselectorenabled(e){this.$$set({languageselectorenabled:e}),B()}get languageslist(){return this.$$.ctx[44]}set languageslist(e){this.$$set({languageslist:e}),B()}get languagedisplaytype(){return this.$$.ctx[45]}set languagedisplaytype(e){this.$$set({languagedisplaytype:e}),B()}get session(){return this.$$.ctx[46]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[47]}set userid(e){this.$$set({userid:e}),B()}get userendpoint(){return this.$$.ctx[48]}set userendpoint(e){this.$$set({userendpoint:e}),B()}get panicbuttonenabled(){return this.$$.ctx[4]}set panicbuttonenabled(e){this.$$set({panicbuttonenabled:e}),B()}get sessiontimerenabled(){return this.$$.ctx[49]}set sessiontimerenabled(e){this.$$set({sessiontimerenabled:e}),B()}get grouplink(){return this.$$.ctx[50]}set grouplink(e){this.$$set({grouplink:e}),B()}get baseurl(){return this.$$.ctx[5]}set baseurl(e){this.$$set({baseurl:e}),B()}}return!customElements.get("casino-footer-v2")&&customElements.define("casino-footer-v2",Ii),Ii}));
1356
+ "true"==L&&e.classList.contains("DetailedLicenses")&&e.children[0].children[0].append(le)},fe,()=>{a.classList.toggle("hidden")},e=>{let t=e.target.closest(".OverlayLanguageOption");n(27,te=t.getAttribute("data-lang")),fe(),pe(),a.classList.toggle("hidden")},d,p,y,b,_,v,k,E,T,S,x,L,O,function(){te=function(e){const t=e.querySelector(":checked")||e.options[0];return t&&t.__value}(this),n(27,te),n(0,f),n(6,ne),n(28,re)},()=>fe(),function(e){P[e?"unshift":"push"]((()=>{a=e,n(29,a)}))},function(e){P[e?"unshift":"push"]((()=>{h=e,n(7,h)}))}]}class Ii 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{background-color:#E8E9EB;display:flex;padding:21px 12px;flex-direction:row}.FooterSideMobile{margin-top:66px}.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;padding:100px 0;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}.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}.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:3.9px}.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},Fi,Hi,o,{endpoint:38,lang:0,env:39,clientstyling:1,clientstylingurl:2,clockenabled:40,clocksecondsenabled:41,clockcustomformat:42,clocktext:43,languageselectorenabled:3,languageslist:44,languagedisplaytype:45,session:46,userid:47,userendpoint:48,panicbuttonenabled:4,sessiontimerenabled:49,grouplink:50,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","clockenabled","clocksecondsenabled","clockcustomformat","clocktext","languageselectorenabled","languageslist","languagedisplaytype","session","userid","userendpoint","panicbuttonenabled","sessiontimerenabled","grouplink","baseurl"]}get endpoint(){return this.$$.ctx[38]}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[39]}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 clockenabled(){return this.$$.ctx[40]}set clockenabled(e){this.$$set({clockenabled:e}),N()}get clocksecondsenabled(){return this.$$.ctx[41]}set clocksecondsenabled(e){this.$$set({clocksecondsenabled:e}),N()}get clockcustomformat(){return this.$$.ctx[42]}set clockcustomformat(e){this.$$set({clockcustomformat:e}),N()}get clocktext(){return this.$$.ctx[43]}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[44]}set languageslist(e){this.$$set({languageslist:e}),N()}get languagedisplaytype(){return this.$$.ctx[45]}set languagedisplaytype(e){this.$$set({languagedisplaytype:e}),N()}get session(){return this.$$.ctx[46]}set session(e){this.$$set({session:e}),N()}get userid(){return this.$$.ctx[47]}set userid(e){this.$$set({userid:e}),N()}get userendpoint(){return this.$$.ctx[48]}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[49]}set sessiontimerenabled(e){this.$$set({sessiontimerenabled:e}),N()}get grouplink(){return this.$$.ctx[50]}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",Ii),Ii}));
1355
1357
  //# sourceMappingURL=casino-footer-v2.js.map