@everymatrix/casino-footer-v2 0.0.420 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/casino-footer-v2.js +101 -99
- package/dist/casino-footer-v2.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoFooterV2.svelte +12 -6
package/dist/casino-footer-v2.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function r(e){e.forEach(t)}function i(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s,a;function l(e,t){return s||(s=document.createElement("a")),s.href=t,e===s.href}function u(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function c(e,t,n){e.$$.on_destroy.push(u(t,n))}function h(t){return t&&i(t.destroy)?t.destroy:e}function d(e,t){e.appendChild(t)}function f(e,t,n){e.insertBefore(t,n||null)}function p(e){e.parentNode.removeChild(e)}function m(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function g(e){return document.createElement(e)}function y(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function b(e){return document.createTextNode(e)}function _(){return b(" ")}function v(){return b("")}function w(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function k(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function E(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:k(e,t,n)}function T(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function S(e,t){for(let n=0;n<e.options.length;n+=1){const r=e.options[n];if(r.__value===t)return void(r.selected=!0)}e.selectedIndex=-1}function x(e,t,n){e.classList[n?"add":"remove"](t)}function M(e){const t={};for(const n of e)t[n.name]=n.value;return t}function L(e){a=e}function D(e){(function(){if(!a)throw new Error("Function called outside component initialization");return a})().$$.on_mount.push(e)}const O=[],P=[],A=[],H=
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function r(e){e.forEach(t)}function i(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s,a;function l(e,t){return s||(s=document.createElement("a")),s.href=t,e===s.href}function u(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function c(e,t,n){e.$$.on_destroy.push(u(t,n))}function h(t){return t&&i(t.destroy)?t.destroy:e}function d(e,t){e.appendChild(t)}function f(e,t,n){e.insertBefore(t,n||null)}function p(e){e.parentNode.removeChild(e)}function m(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function g(e){return document.createElement(e)}function y(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function b(e){return document.createTextNode(e)}function _(){return b(" ")}function v(){return b("")}function w(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function k(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function E(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:k(e,t,n)}function T(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function S(e,t){for(let n=0;n<e.options.length;n+=1){const r=e.options[n];if(r.__value===t)return void(r.selected=!0)}e.selectedIndex=-1}function x(e,t,n){e.classList[n?"add":"remove"](t)}function M(e){const t={};for(const n of e)t[n.name]=n.value;return t}function L(e){a=e}function D(e){(function(){if(!a)throw new Error("Function called outside component initialization");return a})().$$.on_mount.push(e)}const O=[],P=[],A=[],$=[],H=Promise.resolve();let F=!1;function I(e){A.push(e)}
|
2
2
|
// flush() calls callbacks in this order:
|
3
3
|
// 1. All beforeUpdate callbacks, in order: parents before children
|
4
4
|
// 2. All bind:this callbacks, in reverse order: children before parents.
|
@@ -27,7 +27,7 @@ for(;N<O.length;){const e=O[N];N++,L(e),R(e.$$)}for(L(null),O.length=0,N=0;P.len
|
|
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(
|
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,
|
31
31
|
// state
|
32
32
|
props:h,update:e,not_equal:c,bound:n(),
|
33
33
|
// lifecycle
|
@@ -76,36 +76,38 @@ n.on_destroy=n.fragment=null,n.ctx=[])}(this,1),this.$destroy=e}$on(e,t){
|
|
76
76
|
// TODO should this delegate to addEventListener?
|
77
77
|
const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});
|
78
78
|
/* ../casino-footer-section/src/CasinoFooterSection.svelte generated by Svelte v3.48.0 */
|
79
|
-
function re(e,t,n){const r=e.slice();return r[
|
80
|
-
// (
|
79
|
+
function re(e,t,n){const r=e.slice();return r[31]=t[n],r}function ie(e,t,n){const r=e.slice();return r[31]=t[n],r}function oe(e,t,n){const r=e.slice();return r[31]=t[n],r}function se(e,t,n){const r=e.slice();return r[31]=t[n],r}function ae(e,t,n){const r=e.slice();return r[28]=t[n],r}function le(e,t,n){const r=e.slice();return r[25]=t[n],r}
|
80
|
+
// (149:51)
|
81
81
|
function ue(e){let t,n=/*footersociallinks*/e[17],r=[];for(let t=0;t<n.length;t+=1)r[t]=me(re(e,n,t));return{c(){t=g("div");for(let e=0;e<r.length;e+=1)r[e].c();k(t,"class","FooterSectionInnerContainer"),k(t,"part","FooterSectionInnerContainer")},m(e,n){f(e,t,n);for(let e=0;e<r.length;e+=1)r[e].m(t,null)},p(e,i){if(/*footersociallinks, clientstyling, clientstylingurl, baseurl, lang*/132992&i[0]){let o;for(n=/*footersociallinks*/e[17],o=0;o<n.length;o+=1){const s=re(e,n,o);r[o]?r[o].p(s,i):(r[o]=me(s),r[o].c(),r[o].m(t,null))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length}},d(e){e&&p(t),m(r,e)}}}
|
82
|
-
// (
|
82
|
+
// (134:49)
|
83
83
|
function ce(e){let t,n=/*footerlicenses*/e[16],r=[];for(let t=0;t<n.length;t+=1)r[t]=ge(ie(e,n,t));return{c(){t=g("div");for(let e=0;e<r.length;e+=1)r[e].c();k(t,"class","FooterSectionInnerContainer"),k(t,"part","FooterSectionInnerContainer")},m(e,n){f(e,t,n);for(let e=0;e<r.length;e+=1)r[e].m(t,null)},p(e,i){if(/*footerlicenses, clientstyling, clientstylingurl, baseurl, lang*/67456&i[0]){let o;for(n=/*footerlicenses*/e[16],o=0;o<n.length;o+=1){const s=ie(e,n,o);r[o]?r[o].p(s,i):(r[o]=ge(s),r[o].c(),r[o].m(t,null))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length}},d(e){e&&p(t),m(r,e)}}}
|
84
|
-
// (
|
84
|
+
// (118:51)
|
85
85
|
function he(e){let t,n,r=/*footerhelperlinks*/e[15],i=[];for(let t=0;t<r.length;t+=1)i[t]=ye(oe(e,r,t));return{c(){t=g("div");for(let e=0;e<i.length;e+=1)i[e].c();k(t,"class",n="FooterSectionInnerContainer "+(/*displaycolumn*/"true"==e[6]?"DisplayColumn":"")),k(t,"part","FooterSectionInnerContainer")},m(e,n){f(e,t,n);for(let e=0;e<i.length;e+=1)i[e].m(t,null)},p(e,o){if(/*footerhelperlinks, clientstyling, clientstylingurl, displaycolumn, baseurl, lang*/34752&o[0]){let n;for(r=/*footerhelperlinks*/e[15],n=0;n<r.length;n+=1){const s=oe(e,r,n);i[n]?i[n].p(s,o):(i[n]=ye(s),i[n].c(),i[n].m(t,null))}for(;n<i.length;n+=1)i[n].d(1);i.length=r.length}/*displaycolumn*/64&o[0]&&n!==(n="FooterSectionInnerContainer "+(/*displaycolumn*/"true"==e[6]?"DisplayColumn":""))&&k(t,"class",n)},d(e){e&&p(t),m(i,e)}}}
|
86
|
-
// (
|
86
|
+
// (103:47)
|
87
87
|
function de(e){let t,n=/*footervendors*/e[14],r=[];for(let t=0;t<n.length;t+=1)r[t]=be(se(e,n,t));return{c(){t=g("div");for(let e=0;e<r.length;e+=1)r[e].c();k(t,"class","FooterSectionInnerContainer"),k(t,"part","FooterSectionInnerContainer")},m(e,n){f(e,t,n);for(let e=0;e<r.length;e+=1)r[e].m(t,null)},p(e,i){if(/*footervendors, clientstyling, clientstylingurl, baseurl, lang*/18304&i[0]){let o;for(n=/*footervendors*/e[14],o=0;o<n.length;o+=1){const s=se(e,n,o);r[o]?r[o].p(s,i):(r[o]=be(s),r[o].c(),r[o].m(t,null))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length}},d(e){e&&p(t),m(r,e)}}}
|
88
|
-
// (
|
88
|
+
// (88:48)
|
89
89
|
function fe(e){let t,n=/*footerpayment*/e[13],r=[];for(let t=0;t<n.length;t+=1)r[t]=_e(ae(e,n,t));return{c(){t=g("div");for(let e=0;e<r.length;e+=1)r[e].c();k(t,"class","FooterSectionInnerContainer"),k(t,"part","FooterSectionInnerContainer")},m(e,n){f(e,t,n);for(let e=0;e<r.length;e+=1)r[e].m(t,null)},p(e,i){if(/*footerpayment, clientstyling, clientstylingurl, baseurl, lang*/10112&i[0]){let o;for(n=/*footerpayment*/e[13],o=0;o<n.length;o+=1){const s=ae(e,n,o);r[o]?r[o].p(s,i):(r[o]=_e(s),r[o].c(),r[o].m(t,null))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length}},d(e){e&&p(t),m(r,e)}}}
|
90
|
-
// (
|
90
|
+
// (73:2) {#if sponsorflag && footersponsors.length}
|
91
91
|
function pe(e){let t,n=/*footersponsors*/e[12],r=[];for(let t=0;t<n.length;t+=1)r[t]=ve(le(e,n,t));return{c(){t=g("div");for(let e=0;e<r.length;e+=1)r[e].c();k(t,"class","FooterSectionInnerContainer"),k(t,"part","FooterSectionInnerContainer")},m(e,n){f(e,t,n);for(let e=0;e<r.length;e+=1)r[e].m(t,null)},p(e,i){if(/*footersponsors, clientstyling, clientstylingurl, baseurl, lang*/6016&i[0]){let o;for(n=/*footersponsors*/e[12],o=0;o<n.length;o+=1){const s=le(e,n,o);r[o]?r[o].p(s,i):(r[o]=ve(s),r[o].c(),r[o].m(t,null))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length}},d(e){e&&p(t),m(r,e)}}}
|
92
|
-
// (
|
93
|
-
function me(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"sociallinkurl",n=/*footerData*/e[
|
94
|
-
// (
|
95
|
-
function ge(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"licenseurl",n=/*footerData*/e[
|
96
|
-
// (
|
97
|
-
function ye(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"helperlinkurl",n=/*footerData*/e[
|
98
|
-
// (
|
99
|
-
function be(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"vendorurl",n=/*footerData*/e[
|
100
|
-
// (
|
101
|
-
function _e(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"paymenturl",n=/*paymentData*/e[
|
102
|
-
// (
|
103
|
-
function ve(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"sponsorurl",n=/*sponsorData*/e[
|
92
|
+
// (151:6) {#each footersociallinks as footerData}
|
93
|
+
function me(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"sociallinkurl",n=/*footerData*/e[31].socialLinkUrl),E(t,"sociallinkimage",r=/*footerData*/e[31].socialLinkImage),E(t,"sociallinktitle",i=/*footerData*/e[31].socialLinkTitle),E(t,"clientstyling",/*clientstyling*/e[9]),E(t,"clientstylingurl",/*clientstylingurl*/e[10]),E(t,"linktype",o=/*footerData*/e[31]?.isExternalLink),E(t,"target",s=/*footerData*/e[31]?.target),E(t,"baseurl",/*baseurl*/e[7]),E(t,"lang",/*lang*/e[8])},m(e,n){f(e,t,n)},p(e,a){/*footersociallinks*/131072&a[0]&&n!==(n=/*footerData*/e[31].socialLinkUrl)&&E(t,"sociallinkurl",n),/*footersociallinks*/131072&a[0]&&r!==(r=/*footerData*/e[31].socialLinkImage)&&E(t,"sociallinkimage",r),/*footersociallinks*/131072&a[0]&&i!==(i=/*footerData*/e[31].socialLinkTitle)&&E(t,"sociallinktitle",i),/*clientstyling*/512&a[0]&&E(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&a[0]&&E(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*footersociallinks*/131072&a[0]&&o!==(o=/*footerData*/e[31]?.isExternalLink)&&E(t,"linktype",o),/*footersociallinks*/131072&a[0]&&s!==(s=/*footerData*/e[31]?.target)&&E(t,"target",s),/*baseurl*/128&a[0]&&E(t,"baseurl",/*baseurl*/e[7]),/*lang*/256&a[0]&&E(t,"lang",/*lang*/e[8])},d(e){e&&p(t)}}}
|
94
|
+
// (136:6) {#each footerlicenses as footerData}
|
95
|
+
function ge(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"licenseurl",n=/*footerData*/e[31].licenseUrl),E(t,"licenseimage",r=/*footerData*/e[31].licenseImage),E(t,"licensetitle",i=/*footerData*/e[31].licenseTitle),E(t,"clientstyling",/*clientstyling*/e[9]),E(t,"clientstylingurl",/*clientstylingurl*/e[10]),E(t,"linktype",o=/*footerData*/e[31]?.isExternalLink),E(t,"target",s=/*footerData*/e[31]?.target),E(t,"baseurl",/*baseurl*/e[7]),E(t,"lang",/*lang*/e[8])},m(e,n){f(e,t,n)},p(e,a){/*footerlicenses*/65536&a[0]&&n!==(n=/*footerData*/e[31].licenseUrl)&&E(t,"licenseurl",n),/*footerlicenses*/65536&a[0]&&r!==(r=/*footerData*/e[31].licenseImage)&&E(t,"licenseimage",r),/*footerlicenses*/65536&a[0]&&i!==(i=/*footerData*/e[31].licenseTitle)&&E(t,"licensetitle",i),/*clientstyling*/512&a[0]&&E(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&a[0]&&E(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*footerlicenses*/65536&a[0]&&o!==(o=/*footerData*/e[31]?.isExternalLink)&&E(t,"linktype",o),/*footerlicenses*/65536&a[0]&&s!==(s=/*footerData*/e[31]?.target)&&E(t,"target",s),/*baseurl*/128&a[0]&&E(t,"baseurl",/*baseurl*/e[7]),/*lang*/256&a[0]&&E(t,"lang",/*lang*/e[8])},d(e){e&&p(t)}}}
|
96
|
+
// (120:6) {#each footerhelperlinks as footerData}
|
97
|
+
function ye(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"helperlinkurl",n=/*footerData*/e[31].helpLinkUrl),E(t,"helperlinkimage",r=/*footerData*/e[31].helpLinkImage),E(t,"helperlinktitle",i=/*footerData*/e[31].helpLinkTitle),E(t,"clientstyling",/*clientstyling*/e[9]),E(t,"clientstylingurl",/*clientstylingurl*/e[10]),E(t,"displaycolumn",/*displaycolumn*/e[6]),E(t,"linktype",o=/*footerData*/e[31]?.helpLinkType),E(t,"target",s=/*footerData*/e[31]?.target),E(t,"baseurl",/*baseurl*/e[7]),E(t,"lang",/*lang*/e[8])},m(e,n){f(e,t,n)},p(e,a){/*footerhelperlinks*/32768&a[0]&&n!==(n=/*footerData*/e[31].helpLinkUrl)&&E(t,"helperlinkurl",n),/*footerhelperlinks*/32768&a[0]&&r!==(r=/*footerData*/e[31].helpLinkImage)&&E(t,"helperlinkimage",r),/*footerhelperlinks*/32768&a[0]&&i!==(i=/*footerData*/e[31].helpLinkTitle)&&E(t,"helperlinktitle",i),/*clientstyling*/512&a[0]&&E(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&a[0]&&E(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*displaycolumn*/64&a[0]&&E(t,"displaycolumn",/*displaycolumn*/e[6]),/*footerhelperlinks*/32768&a[0]&&o!==(o=/*footerData*/e[31]?.helpLinkType)&&E(t,"linktype",o),/*footerhelperlinks*/32768&a[0]&&s!==(s=/*footerData*/e[31]?.target)&&E(t,"target",s),/*baseurl*/128&a[0]&&E(t,"baseurl",/*baseurl*/e[7]),/*lang*/256&a[0]&&E(t,"lang",/*lang*/e[8])},d(e){e&&p(t)}}}
|
98
|
+
// (105:6) {#each footervendors as footerData}
|
99
|
+
function be(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"vendorurl",n=/*footerData*/e[31].gameVendorUrl),E(t,"vendorimage",r=/*footerData*/e[31].gameVendorImage),E(t,"vendortitle",i=/*footerData*/e[31].gameVendorTitle),E(t,"clientstyling",/*clientstyling*/e[9]),E(t,"clientstylingurl",/*clientstylingurl*/e[10]),E(t,"linktype",o=/*footerData*/e[31]?.isExternalLink),E(t,"target",s=/*footerData*/e[31]?.target),E(t,"baseurl",/*baseurl*/e[7]),E(t,"lang",/*lang*/e[8])},m(e,n){f(e,t,n)},p(e,a){/*footervendors*/16384&a[0]&&n!==(n=/*footerData*/e[31].gameVendorUrl)&&E(t,"vendorurl",n),/*footervendors*/16384&a[0]&&r!==(r=/*footerData*/e[31].gameVendorImage)&&E(t,"vendorimage",r),/*footervendors*/16384&a[0]&&i!==(i=/*footerData*/e[31].gameVendorTitle)&&E(t,"vendortitle",i),/*clientstyling*/512&a[0]&&E(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&a[0]&&E(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*footervendors*/16384&a[0]&&o!==(o=/*footerData*/e[31]?.isExternalLink)&&E(t,"linktype",o),/*footervendors*/16384&a[0]&&s!==(s=/*footerData*/e[31]?.target)&&E(t,"target",s),/*baseurl*/128&a[0]&&E(t,"baseurl",/*baseurl*/e[7]),/*lang*/256&a[0]&&E(t,"lang",/*lang*/e[8])},d(e){e&&p(t)}}}
|
100
|
+
// (90:4) {#each footerpayment as paymentData}
|
101
|
+
function _e(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"paymenturl",n=/*paymentData*/e[28].paymentMethodUrl),E(t,"paymentimage",r=/*paymentData*/e[28].paymentMethodImage),E(t,"paymenttitle",i=/*paymentData*/e[28].paymentMethodTitle),E(t,"clientstyling",/*clientstyling*/e[9]),E(t,"clientstylingurl",/*clientstylingurl*/e[10]),E(t,"linktype",o=/*paymentData*/e[28]?.isExternalLink),E(t,"target",s=/*paymentData*/e[28]?.target),E(t,"baseurl",/*baseurl*/e[7]),E(t,"lang",/*lang*/e[8])},m(e,n){f(e,t,n)},p(e,a){/*footerpayment*/8192&a[0]&&n!==(n=/*paymentData*/e[28].paymentMethodUrl)&&E(t,"paymenturl",n),/*footerpayment*/8192&a[0]&&r!==(r=/*paymentData*/e[28].paymentMethodImage)&&E(t,"paymentimage",r),/*footerpayment*/8192&a[0]&&i!==(i=/*paymentData*/e[28].paymentMethodTitle)&&E(t,"paymenttitle",i),/*clientstyling*/512&a[0]&&E(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&a[0]&&E(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*footerpayment*/8192&a[0]&&o!==(o=/*paymentData*/e[28]?.isExternalLink)&&E(t,"linktype",o),/*footerpayment*/8192&a[0]&&s!==(s=/*paymentData*/e[28]?.target)&&E(t,"target",s),/*baseurl*/128&a[0]&&E(t,"baseurl",/*baseurl*/e[7]),/*lang*/256&a[0]&&E(t,"lang",/*lang*/e[8])},d(e){e&&p(t)}}}
|
102
|
+
// (75:6) {#each footersponsors as sponsorData}
|
103
|
+
function ve(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"sponsorurl",n=/*sponsorData*/e[25].sponsorUrl),E(t,"sponsorimage",r=/*sponsorData*/e[25].sponsorImage),E(t,"sponsortitle",i=/*sponsorData*/e[25].sponsorTitle),E(t,"clientstyling",/*clientstyling*/e[9]),E(t,"clientstylingurl",/*clientstylingurl*/e[10]),E(t,"linktype",o=/*sponsorData*/e[25]?.isExternalLink),E(t,"target",s=/*sponsorData*/e[25]?.target),E(t,"baseurl",/*baseurl*/e[7]),E(t,"lang",/*lang*/e[8])},m(e,n){f(e,t,n)},p(e,a){/*footersponsors*/4096&a[0]&&n!==(n=/*sponsorData*/e[25].sponsorUrl)&&E(t,"sponsorurl",n),/*footersponsors*/4096&a[0]&&r!==(r=/*sponsorData*/e[25].sponsorImage)&&E(t,"sponsorimage",r),/*footersponsors*/4096&a[0]&&i!==(i=/*sponsorData*/e[25].sponsorTitle)&&E(t,"sponsortitle",i),/*clientstyling*/512&a[0]&&E(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&a[0]&&E(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*footersponsors*/4096&a[0]&&o!==(o=/*sponsorData*/e[25]?.isExternalLink)&&E(t,"linktype",o),/*footersponsors*/4096&a[0]&&s!==(s=/*sponsorData*/e[25]?.target)&&E(t,"target",s),/*baseurl*/128&a[0]&&E(t,"baseurl",/*baseurl*/e[7]),/*lang*/256&a[0]&&E(t,"lang",/*lang*/e[8])},d(e){e&&p(t)}}}function we(t){let n;function r(e,t){/*sponsorflag*/
|
104
104
|
return e[0]&&/*footersponsors*/e[12].length?pe:/*paymentflag*/e[1]&&/*footerpayment*/e[13].length?fe:/*vendorflag*/e[2]&&/*footervendors*/e[14].length?de:/*helperflag*/e[3]&&/*footerhelperlinks*/e[15].length?he:/*licenseflag*/e[4]&&/*footerlicenses*/e[16].length?ce:/*socialflag*/e[5]&&/*footersociallinks*/e[17].length?ue:void 0}let i=r(t),o=i&&i(t);return{c(){n=g("div"),o&&o.c(),this.c=e,k(n,"class","FooterSectionContainer"),k(n,"part","FooterSectionContainer")},m(e,r){f(e,n,r),o&&o.m(n,null)
|
105
|
-
/*div_binding*/,t[
|
106
|
-
/*div_binding*/,t[
|
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
|
+
/*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
|
+
// 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}
|
107
109
|
// Build a destructive iterator for the value list
|
108
|
-
function
|
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;
|
109
111
|
/*
|
110
112
|
fetch-mock wraps the Response object in an ES6 Proxy to
|
111
113
|
provide useful test harness features such as flush. However, on
|
@@ -120,17 +122,17 @@ this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText
|
|
120
122
|
// IE 10-11 can't handle a DataView body.
|
121
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}
|
122
124
|
// HTTP methods whose capitalization should be normalized
|
123
|
-
|
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)){
|
124
126
|
// Search for a '_' parameter in the query string
|
125
127
|
var o=/([?&])_=[^&]*/;if(o.test(this.url))
|
126
128
|
// If it already exists then set the value with the current time
|
127
|
-
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
|
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,
|
128
130
|
// Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill
|
129
131
|
// https://github.com/github/fetch/issues/748
|
130
132
|
// https://github.com/zloirock/core-js/issues/751
|
131
|
-
e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t)};r.url="responseURL"in o?o.responseURL:r.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;setTimeout((function(){n(new Ge(i,r))}),0)},o.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.onabort=function(){setTimeout((function(){r(new Ve("Aborted","AbortError"))}),0)},o.open(i.method,function(e){try{return""===e&&Ee.location.href?Ee.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&(xe?o.responseType="blob":Le&&i.headers.get("Content-Type")&&-1!==i.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof
|
133
|
+
e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t)};r.url="responseURL"in o?o.responseURL:r.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;setTimeout((function(){n(new Ge(i,r))}),0)},o.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.onabort=function(){setTimeout((function(){r(new Ve("Aborted","AbortError"))}),0)},o.open(i.method,function(e){try{return""===e&&Ee.location.href?Ee.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&(xe?o.responseType="blob":Le&&i.headers.get("Content-Type")&&-1!==i.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof He?i.headers.forEach((function(e,t){o.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){o.setRequestHeader(e,Ae(t.headers[e]))})),i.signal&&(i.signal.addEventListener("abort",s),o.onreadystatechange=function(){
|
132
134
|
// DONE (success or failure)
|
133
|
-
4===o.readyState&&i.signal.removeEventListener("abort",s)}),o.send(void 0===i._bodyInit?null:i._bodyInit)}))}We.polyfill=!0,Ee.fetch||(Ee.fetch=We,Ee.Headers
|
135
|
+
4===o.readyState&&i.signal.removeEventListener("abort",s)}),o.send(void 0===i._bodyInit?null:i._bodyInit)}))}We.polyfill=!0,Ee.fetch||(Ee.fetch=We,Ee.Headers=He,Ee.Request=Ye,Ee.Response=Ge);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function ze(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
|
134
136
|
// the whatwg-fetch polyfill installs the fetch() function
|
135
137
|
// on the global object (window or self)
|
136
138
|
|
@@ -164,8 +166,8 @@ const At=[];
|
|
164
166
|
* @param {*=}value initial value
|
165
167
|
* @param {StartStopNotifier=}start start and stop notifications for subscriptions
|
166
168
|
*/
|
167
|
-
function
|
168
|
-
const e=!At.length;for(const e of i)e[1](),At.push(e,t);if(e){for(let e=0;e<At.length;e+=2)At[e][0](At[e+1]);At.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const l=[o,a];return i.add(l),1===i.size&&(r=n(s)||e),o(t),()=>{i.delete(l),0===i.size&&(r(),r=null)}}}}function
|
169
|
+
function $t(t,n=e){let r;const i=new Set;function s(e){if(o(t,e)&&(t=e,r)){// store is ready
|
170
|
+
const e=!At.length;for(const e of i)e[1](),At.push(e,t);if(e){for(let e=0;e<At.length;e+=2)At[e][0](At[e+1]);At.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const l=[o,a];return i.add(l),1===i.size&&(r=n(s)||e),o(t),()=>{i.delete(l),0===i.size&&(r(),r=null)}}}}function Ht(t,n,o){const s=!Array.isArray(t),a=s?[t]:t,l=n.length<2;return c=t=>{let o=!1;const c=[];let h=0,d=e;const f=()=>{if(h)return;d();const r=n(s?c[0]:c,t);l?t(r):d=i(r)?r:e},p=a.map(((e,t)=>u(e,(e=>{c[t]=e,h&=~(1<<t),o&&f()}),(()=>{h|=1<<t}))));return o=!0,f(),function(){r(p),d()}},{subscribe:$t(o,c).subscribe};
|
169
171
|
/**
|
170
172
|
* Creates a `Readable` store that allows reading by subscription.
|
171
173
|
* @param value initial value
|
@@ -378,7 +380,7 @@ t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12"
|
|
378
380
|
var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(En[n||""]||En[r||""]||En["".concat(r,"-001")]||En["001"])[0]}var Sn=new RegExp("^".concat(un.source,"*")),xn=new RegExp("".concat(un.source,"*$"));function Mn(e,t){return{start:e,end:t}}
|
379
381
|
// #region Ponyfills
|
380
382
|
// Consolidate these variables up top for easier toggling during debugging
|
381
|
-
var Ln=!!String.prototype.startsWith,Dn=!!String.fromCodePoint,On=!!Object.fromEntries,Pn=!!String.prototype.codePointAt,An=!!String.prototype.trimStart
|
383
|
+
var Ln=!!String.prototype.startsWith,Dn=!!String.fromCodePoint,On=!!Object.fromEntries,Pn=!!String.prototype.codePointAt,An=!!String.prototype.trimStart,$n=!!String.prototype.trimEnd,Hn=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Fn=!0;try{
|
382
384
|
/**
|
383
385
|
* legacy Edge or Xbox One browser
|
384
386
|
* Unicode flag support: supported
|
@@ -395,7 +397,7 @@ 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
|
|
395
397
|
function(e,t){return e.codePointAt(t)}:// IE 11
|
396
398
|
function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:r-56320+(i-55296<<10)+65536}},Yn=An?// Native
|
397
399
|
function(e){return e.trimStart()}:// Ponyfill
|
398
|
-
function(e){return e.replace(Sn,"")},Un
|
400
|
+
function(e){return e.replace(Sn,"")},Un=$n?// Native
|
399
401
|
function(e){return e.trimEnd()}:// Ponyfill
|
400
402
|
function(e){return e.replace(xn,"")};
|
401
403
|
// Prevent minifier to translate new RegExp to literal form that might cause syntax error on IE11.
|
@@ -543,7 +545,7 @@ this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.err
|
|
543
545
|
// Keep track of the existing selectors
|
544
546
|
a.add(l),
|
545
547
|
// Prep next selector clause.
|
546
|
-
this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,u=i.location}return 0===s.length?this.error("select"===t?Wt.EXPECT_SELECT_ARGUMENT_SELECTOR:Wt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Mn(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(Wt.MISSING_OTHER_CLAUSE,Mn(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48/* `0` */&&s<=57/* `9` */))break;i=!0,o=10*o+(s-48),this.bump()}var a=Mn(r,this.clonePosition());return i
|
548
|
+
this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,u=i.location}return 0===s.length?this.error("select"===t?Wt.EXPECT_SELECT_ARGUMENT_SELECTOR:Wt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Mn(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(Wt.MISSING_OTHER_CLAUSE,Mn(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48/* `0` */&&s<=57/* `9` */))break;i=!0,o=10*o+(s-48),this.bump()}var a=Mn(r,this.clonePosition());return i?Hn(o*=n)?{val:o,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){
|
547
549
|
// This is much faster than `Object.assign` or spread.
|
548
550
|
return{offset:this.position.offset,line:this.position.line,column:this.position.column}},
|
549
551
|
/**
|
@@ -659,7 +661,7 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
|
|
659
661
|
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
|
660
662
|
Copyrights licensed under the New BSD License.
|
661
663
|
See the accompanying LICENSE file for terms.
|
662
|
-
*/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
|
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]}
|
663
665
|
/*! *****************************************************************************
|
664
666
|
Copyright (c) Microsoft Corporation.
|
665
667
|
|
@@ -673,7 +675,7 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
|
|
673
675
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
674
676
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
675
677
|
PERFORMANCE OF THIS SOFTWARE.
|
676
|
-
***************************************************************************** */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
|
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]}};
|
677
679
|
/**
|
678
680
|
* @name isMobile
|
679
681
|
* @description A method that returns if the browser used to access the app is from a mobile device or not
|
@@ -717,7 +719,7 @@ function k(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isV
|
|
717
719
|
// TODO: Remove "ordinalParse" fallback in next major release.
|
718
720
|
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])&&(
|
719
721
|
// make sure changes to properties don't modify parent config
|
720
|
-
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
|
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={};
|
721
723
|
// token: 'M'
|
722
724
|
// padded: ['MM', 2]
|
723
725
|
// ordinal: 'Mo'
|
@@ -744,7 +746,7 @@ Pe=/Z|[+-]\d\d(?::?\d\d)?/gi,// +00 -00 +00:00 -00:00 +0000 -0000 or Z
|
|
744
746
|
Ae=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
|
745
747
|
// any word (or two) characters or numbers including two/three word month in arabic.
|
746
748
|
// includes scottish gaelic two word and hyphenated months
|
747
|
-
|
749
|
+
$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))}
|
748
750
|
// Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
|
749
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}
|
750
752
|
// FORMATTING
|
@@ -756,11 +758,11 @@ ne("month","M"),
|
|
756
758
|
// PRIORITY
|
757
759
|
se("month",8),
|
758
760
|
// PARSING
|
759
|
-
|
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);
|
760
762
|
// if we didn't find a month name, mark the date as invalid.
|
761
763
|
null!=i?t[je]=i:g(n).invalidMonth=e}));
|
762
764
|
// LOCALES
|
763
|
-
var tt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,it
|
765
|
+
var tt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,it=$e,ot=$e;function st(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||rt).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone}function at(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[rt.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function lt(e,t,n){var r,i,o,s=e.toLocaleLowerCase();if(!this._monthsParse)for(
|
764
766
|
// this is not used
|
765
767
|
this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ue.call(this._shortMonthsParse,s))?i:null:-1!==(i=Ue.call(this._longMonthsParse,s))?i:null:"MMM"===t?-1!==(i=Ue.call(this._shortMonthsParse,s))||-1!==(i=Ue.call(this._longMonthsParse,s))?i:null:-1!==(i=Ue.call(this._longMonthsParse,s))||-1!==(i=Ue.call(this._shortMonthsParse,s))?i:null}function ut(e,t,n){var r,i,o;if(this._monthsParseExact)return lt.call(this,e,t,n);
|
766
768
|
// TODO: add sorting
|
@@ -792,7 +794,7 @@ ne("year","y"),
|
|
792
794
|
// PRIORITIES
|
793
795
|
se("year",1),
|
794
796
|
// PARSING
|
795
|
-
|
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)};
|
796
798
|
// MOMENTS
|
797
799
|
var yt=he("FullYear",!0);function bt(){return le(this.year())}function _t(e,t,n,r,i,o,s){
|
798
800
|
// can't just apply() to create a date:
|
@@ -820,7 +822,7 @@ ne("week","w"),ne("isoWeek","W"),
|
|
820
822
|
// PRIORITIES
|
821
823
|
se("week",5),se("isoWeek",5),
|
822
824
|
// PARSING
|
823
|
-
|
825
|
+
He("w",ke),He("ww",ke,be),He("W",ke),He("WW",ke,be),Re(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=ce(e)}));var xt={dow:0,// Sunday is the first day of the week.
|
824
826
|
doy:6};function Mt(){return this._week.dow}function Lt(){return this._week.doy}
|
825
827
|
// MOMENTS
|
826
828
|
function Dt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ot(e){var t=Et(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}
|
@@ -828,15 +830,15 @@ function Dt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e
|
|
828
830
|
// HELPERS
|
829
831
|
function Pt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function At(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}
|
830
832
|
// LOCALES
|
831
|
-
function
|
833
|
+
function $t(e,t){return e.slice(t,7).concat(e.slice(0,t))}R("d",0,"do","day"),R("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),R("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),R("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),
|
832
834
|
// ALIASES
|
833
835
|
ne("day","d"),ne("weekday","e"),ne("isoWeekday","E"),
|
834
836
|
// PRIORITY
|
835
837
|
se("day",11),se("weekday",11),se("isoWeekday",11),
|
836
838
|
// PARSING
|
837
|
-
|
839
|
+
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);
|
838
840
|
// if we didn't get a weekday name, mark the date as invalid
|
839
|
-
null!=i?t.d=i:g(n).invalidWeekday=e})),Re(["d","e","E"],(function(e,t,n,r){t[r]=ce(e)}));var
|
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++){
|
840
842
|
// test the regex
|
841
843
|
if(
|
842
844
|
// make the regex if we don't have it already
|
@@ -864,12 +866,12 @@ return"p"===(e+"").toLowerCase().charAt(0)}R("H",["HH",2],0,"hour"),R("h",["hh",
|
|
864
866
|
// ALIASES
|
865
867
|
ne("hour","h"),
|
866
868
|
// PRIORITY
|
867
|
-
se("hour",13)
|
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,
|
868
870
|
// Setting the hour should keep the time, because the user explicitly
|
869
871
|
// specified which hour they want. So trying to maintain the same hour (in
|
870
872
|
// a new timezone) makes sense. Adding/subtracting hours does not follow
|
871
873
|
// this rule.
|
872
|
-
on=he("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,ln={calendar
|
874
|
+
on=he("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,ln={calendar:$,longDateFormat:V,invalidDate:z,ordinal:X,dayOfMonthOrdinalParse:K,relativeTime:J,months:tt,monthsShort:nt,week:xt,weekdays:Ht,weekdaysMin:It,weekdaysShort:Ft,meridiemParse:rn},un={},cn={};
|
873
875
|
// internal storage for locale config files
|
874
876
|
function hn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function dn(e){return e?e.toLowerCase().replace("_","-"):e}
|
875
877
|
// pick the locale from the array
|
@@ -926,13 +928,13 @@ Ln=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|J
|
|
926
928
|
// date from iso format
|
927
929
|
function On(e){var t,n,r,i,o,s,a=e._i,l=kn.exec(a)||En.exec(a),u=Sn.length,c=xn.length;if(l){for(g(e).iso=!0,t=0,n=u;t<n;t++)if(Sn[t][1].exec(l[1])){i=Sn[t][0],r=!1!==Sn[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=c;t<n;t++)if(xn[t][1].exec(l[3])){
|
928
930
|
// match[2] should be 'T' or space
|
929
|
-
o=(l[2]||" ")+xn[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(l[4]){if(!Tn.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=i+(o||"")+(s||""),Un(e)}else e._isValid=!1}function Pn(e,t,n,r,i,o){var s=[An(e),nt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&s.push(parseInt(o,10)),s}function An(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function
|
931
|
+
o=(l[2]||" ")+xn[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(l[4]){if(!Tn.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=i+(o||"")+(s||""),Un(e)}else e._isValid=!1}function Pn(e,t,n,r,i,o){var s=[An(e),nt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&s.push(parseInt(o,10)),s}function An(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function $n(e){
|
930
932
|
// Remove comments and folding whitespace and replace multiple-spaces with a single space
|
931
|
-
return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function
|
933
|
+
return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Hn(e,t,n){return!e||Ft.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Fn(e,t,n){if(e)return Dn[e];if(t)
|
932
934
|
// the only allowed military tz is Z
|
933
935
|
return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}
|
934
936
|
// date and time from ref 2822 format
|
935
|
-
function In(e){var t,n=Ln.exec(
|
937
|
+
function In(e){var t,n=Ln.exec($n(e._i));if(n){if(t=Pn(n[4],n[3],n[2],n[5],n[6],n[7]),!Hn(n[1],t,e))return;e._a=t,e._tzm=Fn(n[8],n[9],n[10]),e._d=vt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}
|
936
938
|
// date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
|
937
939
|
function Cn(e){var t=Mn.exec(e._i);null===t?(On(e),!1===e._isValid&&(delete e._isValid,In(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
|
938
940
|
// Final attempt, use Input Fallback
|
@@ -1037,7 +1039,7 @@ function cr(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.len
|
|
1037
1039
|
// FORMATTING
|
1038
1040
|
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",""),
|
1039
1041
|
// PARSING
|
1040
|
-
|
1042
|
+
He("Z",Pe),He("ZZ",Pe),Be(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fr(Pe,e)}));
|
1041
1043
|
// HELPERS
|
1042
1044
|
// timezone chunker
|
1043
1045
|
// '+10:00' > ['10', '00']
|
@@ -1063,7 +1065,7 @@ return-Math.round(e._d.getTimezoneOffset())}
|
|
1063
1065
|
// a second time. In case it wants us to change the offset again
|
1064
1066
|
// _changeInProgress == true case, then we have to adjust, because
|
1065
1067
|
// there is no such time in the given timezone.
|
1066
|
-
function gr(e,t,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=fr(Pe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=mr(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress
|
1068
|
+
function gr(e,t,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=fr(Pe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=mr(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?Hr(this,Dr(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:mr(this)}function yr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function br(e){return this.utcOffset(0,e)}function _r(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(mr(this),"m")),this}function vr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=fr(Oe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function wr(e){return!!this.isValid()&&(e=e?Kn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function kr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Er(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=zn(t))._a?(e=t._isUTC?p(t._a):Kn(t._a),this._isDSTShifted=this.isValid()&&cr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Tr(){return!!this.isValid()&&!this._isUTC}function Sr(){return!!this.isValid()&&this._isUTC}function xr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
|
1067
1069
|
// ASP.NET json date format regex
|
1068
1070
|
r.updateOffset=function(){};var Mr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
|
1069
1071
|
// from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
|
@@ -1081,9 +1083,9 @@ var n=e&&parseFloat(e.replace(",","."));
|
|
1081
1083
|
// apply sign while we're at it
|
1082
1084
|
return(isNaN(n)?0:n)*t}function Pr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ar(e,t){var n;return e.isValid()&&t.isValid()?(t=pr(t,e),e.isBefore(t)?n=Pr(e,t):((n=Pr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}
|
1083
1085
|
// TODO: remove 'name' arg after deprecation is removed
|
1084
|
-
function
|
1086
|
+
function $r(e,t){return function(n,r){var i;
|
1085
1087
|
//invert the arguments, but complain about it
|
1086
|
-
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)
|
1088
|
+
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}
|
1087
1089
|
// type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
|
1088
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){
|
1089
1091
|
// Support for single parameter, formats only overload to the calendar function
|
@@ -1130,9 +1132,9 @@ o=r(s[n].since).startOf("day"),s[n].since=o.valueOf()),typeof s[n].until){case"u
|
|
1130
1132
|
// truncate time
|
1131
1133
|
o=r(s[n].until).startOf("day").valueOf(),s[n].until=o.valueOf()}return s}function Oi(e,t,n){var r,i,o,s,a,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),s=l[r].abbr.toUpperCase(),a=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(a===e)return l[r]}else if([o,s,a].indexOf(e)>=0)return l[r]}function Pi(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function Ai(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
|
1132
1134
|
// truncate time
|
1133
|
-
n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function
|
1135
|
+
n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function $i(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
|
1134
1136
|
// truncate time
|
1135
|
-
n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function
|
1137
|
+
n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Hi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
|
1136
1138
|
// truncate time
|
1137
1139
|
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,
|
1138
1140
|
// truncate time
|
@@ -1145,25 +1147,25 @@ function Vi(e){return qi.call(this,e,this.week(),this.weekday(),this.localeData(
|
|
1145
1147
|
// MOMENTS
|
1146
1148
|
function Qi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}
|
1147
1149
|
// FORMATTING
|
1148
|
-
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")
|
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"),
|
1149
1151
|
// ALIASES
|
1150
1152
|
ne("weekYear","gg"),ne("isoWeekYear","GG"),
|
1151
1153
|
// PRIORITY
|
1152
1154
|
se("weekYear",1),se("isoWeekYear",1),
|
1153
1155
|
// PARSING
|
1154
|
-
|
1156
|
+
He("G",De),He("g",De),He("GG",ke,be),He("gg",ke,be),He("GGGG",xe,ve),He("gggg",xe,ve),He("GGGGG",Me,we),He("ggggg",Me,we),Re(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ce(e)})),Re(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),R("Q",0,"Qo","quarter"),
|
1155
1157
|
// ALIASES
|
1156
1158
|
ne("quarter","Q"),
|
1157
1159
|
// PRIORITY
|
1158
1160
|
se("quarter",7),
|
1159
1161
|
// PARSING
|
1160
|
-
|
1162
|
+
He("Q",ye),Be("Q",(function(e,t){t[je]=3*(ce(e)-1)})),R("D",["DD",2],"Do","date"),
|
1161
1163
|
// ALIASES
|
1162
1164
|
ne("date","D"),
|
1163
1165
|
// PRIORITY
|
1164
1166
|
se("date",9),
|
1165
1167
|
// PARSING
|
1166
|
-
|
1168
|
+
He("D",ke),He("DD",ke,be),He("Do",(function(e,t){
|
1167
1169
|
// TODO: Remove "ordinalParse" fallback in next major release.
|
1168
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])}));
|
1169
1171
|
// MOMENTS
|
@@ -1179,13 +1181,13 @@ ne("dayOfYear","DDD"),
|
|
1179
1181
|
// PRIORITY
|
1180
1182
|
se("dayOfYear",4),
|
1181
1183
|
// PARSING
|
1182
|
-
|
1184
|
+
He("DDD",Se),He("DDDD",_e),Be(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ce(e)})),R("m",["mm",2],0,"minute"),
|
1183
1185
|
// ALIASES
|
1184
1186
|
ne("minute","m"),
|
1185
1187
|
// PRIORITY
|
1186
1188
|
se("minute",14),
|
1187
1189
|
// PARSING
|
1188
|
-
|
1190
|
+
He("m",ke),He("mm",ke,be),Be(["m","mm"],Ze);
|
1189
1191
|
// MOMENTS
|
1190
1192
|
var no=he("Minutes",!1);
|
1191
1193
|
// FORMATTING
|
@@ -1195,7 +1197,7 @@ ne("second","s"),
|
|
1195
1197
|
// PRIORITY
|
1196
1198
|
se("second",15),
|
1197
1199
|
// PARSING
|
1198
|
-
|
1200
|
+
He("s",ke),He("ss",ke,be),Be(["s","ss"],Xe);
|
1199
1201
|
// MOMENTS
|
1200
1202
|
var ro,io,oo=he("Seconds",!1);
|
1201
1203
|
// FORMATTING
|
@@ -1205,11 +1207,11 @@ ne("millisecond","ms"),
|
|
1205
1207
|
// PRIORITY
|
1206
1208
|
se("millisecond",16),
|
1207
1209
|
// PARSING
|
1208
|
-
|
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);
|
1209
1211
|
// MOMENTS
|
1210
1212
|
function ao(){return this._isUTC?"UTC":""}function lo(){return this._isUTC?"Coordinated Universal Time":""}io=he("Milliseconds",!1),
|
1211
1213
|
// FORMATTING
|
1212
|
-
R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var uo=k.prototype;function co(e){return Kn(1e3*e)}function ho(){return Kn.apply(null,arguments).parseZone()}function fo(e){return e}uo.add=Fr,uo.calendar=Gr,uo.clone=jr,uo.diff=qr,uo.endOf=bi,uo.format=ni,uo.from=ri,uo.fromNow=ii,uo.to=oi,uo.toNow=si,uo.get=pe,uo.invalidAt=Mi,uo.isAfter=Vr,uo.isBefore=Wr,uo.isBetween=zr,uo.isSame=Zr,uo.isSameOrAfter=Xr,uo.isSameOrBefore=Kr,uo.isValid=Si,uo.lang=li,uo.locale=ai,uo.localeData=ui,uo.max=Jn,uo.min=qn,uo.parsingFlags=xi,uo.set=me,uo.startOf=yi,uo.subtract=Ir,uo.toArray=ki,uo.toObject=Ei,uo.toDate=wi,uo.toISOString=ei,uo.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(uo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),uo.toJSON=Ti,uo.toString=Qr,uo.unix=vi,uo.valueOf=_i,uo.creationData=Li,uo.eraName=Ai,uo.eraNarrow
|
1214
|
+
R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var uo=k.prototype;function co(e){return Kn(1e3*e)}function ho(){return Kn.apply(null,arguments).parseZone()}function fo(e){return e}uo.add=Fr,uo.calendar=Gr,uo.clone=jr,uo.diff=qr,uo.endOf=bi,uo.format=ni,uo.from=ri,uo.fromNow=ii,uo.to=oi,uo.toNow=si,uo.get=pe,uo.invalidAt=Mi,uo.isAfter=Vr,uo.isBefore=Wr,uo.isBetween=zr,uo.isSame=Zr,uo.isSameOrAfter=Xr,uo.isSameOrBefore=Kr,uo.isValid=Si,uo.lang=li,uo.locale=ai,uo.localeData=ui,uo.max=Jn,uo.min=qn,uo.parsingFlags=xi,uo.set=me,uo.startOf=yi,uo.subtract=Ir,uo.toArray=ki,uo.toObject=Ei,uo.toDate=wi,uo.toISOString=ei,uo.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(uo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),uo.toJSON=Ti,uo.toString=Qr,uo.unix=vi,uo.valueOf=_i,uo.creationData=Li,uo.eraName=Ai,uo.eraNarrow=$i,uo.eraAbbr=Hi,uo.eraYear=Fi,uo.year=yt,uo.isLeapYear=bt,uo.weekYear=Vi,uo.isoWeekYear=Wi,uo.quarter=uo.quarters=Qi,uo.month=ht,uo.daysInMonth=dt,uo.week=uo.weeks=Dt,uo.isoWeek=uo.isoWeeks=Ot,uo.weeksInYear=Xi,uo.weeksInWeekYear=Ki,uo.isoWeeksInYear=zi,uo.isoWeeksInISOWeekYear=Zi,uo.date=eo,uo.day=uo.days=Vt,uo.weekday=Wt,uo.isoWeekday=zt,uo.dayOfYear=to,uo.hour=uo.hours=on,uo.minute=uo.minutes=no,uo.second=uo.seconds=oo,uo.millisecond=uo.milliseconds=io,uo.utcOffset=gr,uo.utc=br,uo.local=_r,uo.parseZone=vr,uo.hasAlignedHourOffset=wr,uo.isDST=kr,uo.isLocal=Tr,uo.isUtcOffset=Sr,uo.isUtc=xr,uo.isUTC=xr,uo.zoneAbbr=ao,uo.zoneName=lo,uo.dates=S("dates accessor is deprecated. Use date instead.",eo),uo.months=S("months accessor is deprecated. Use month instead",ht),uo.years=S("years accessor is deprecated. Use year instead",yt),uo.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),uo.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Er);var po=A.prototype;function mo(e,t,n,r){var i=_n(),o=p().set(r,t);return i[n](o,e)}function go(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return mo(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=mo(e,r,n,"month");return i}
|
1213
1215
|
// ()
|
1214
1216
|
// (5)
|
1215
1217
|
// (fmt, 5)
|
@@ -1218,7 +1220,7 @@ R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var uo=k.prototype;function co(e){r
|
|
1218
1220
|
// (true, 5)
|
1219
1221
|
// (true, fmt, 5)
|
1220
1222
|
// (true, fmt)
|
1221
|
-
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
|
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")}}),
|
1222
1224
|
// Side effect imports
|
1223
1225
|
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()}
|
1224
1226
|
// supports only 2.0-style add(1, 's') or add(duration)
|
@@ -1245,7 +1247,7 @@ t=this._days+Math.round(Po(this._months)),e){case"week":return t/7+r/6048e5;case
|
|
1245
1247
|
// Math.floor prevents floating point math errors here
|
1246
1248
|
case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}
|
1247
1249
|
// TODO: Use this.as('ms')?
|
1248
|
-
function
|
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
|
1249
1251
|
s:45,// seconds to minute
|
1250
1252
|
m:45,// minutes to hour
|
1251
1253
|
h:22,// hours to day
|
@@ -1271,11 +1273,11 @@ e=ue(l/60),t=ue(e/60),l%=60,e%=60,
|
|
1271
1273
|
// 12 months -> 1 year
|
1272
1274
|
n=ue(c/12),c%=12,
|
1273
1275
|
// inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
|
1274
|
-
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
|
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,
|
1275
1277
|
// FORMATTING
|
1276
1278
|
R("X",0,0,"unix"),R("x",0,0,"valueOf"),
|
1277
1279
|
// PARSING
|
1278
|
-
|
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))})),
|
1279
1281
|
//! moment.js
|
1280
1282
|
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,
|
1281
1283
|
// currently HTML5 input type only supports 24-hour formats
|
@@ -1292,8 +1294,8 @@ MONTH:"YYYY-MM"},r}()}));const oi={en:{casinoFooter:{timeText:"Time",sessionTime
|
|
1292
1294
|
// (277:2) {#if headScript}
|
1293
1295
|
function ci(e){let t,n;return{c(){t=g("script"),l(t.src,n=/*licenseScriptSrc*/e[24])||k(t,"src",n)},m(e,n){f(e,t,n)},p(e,r){/*licenseScriptSrc*/16777216&r[0]&&!l(t.src,n=/*licenseScriptSrc*/e[24])&&k(t,"src",n)},d(e){e&&p(t)}}}
|
1294
1296
|
// (288:2) {:else}
|
1295
|
-
function hi(e){let t,n,r,i,o,s,a,l,u,c,h,m,y=/*helpLinksRepeater*/e[14]&&pi(e),b=/*gameVendorsRepeater*/e[9]&&yi(e),v=/*paymentMethodsRepeater*/e[11]&&_i(e),w=/*panicbuttonenabled*/"true"===e[4]&&/*isLoggedIn*/e[26]&&wi(e),E=/*licensesRepeater*/e[16]&&ki(e),T=/*sponsorsRepeater*/e[13]&&Si(e),S=/*socialLinksRepeater*/e[18]&&Li(e),x=/*languageselectorenabled*/"true"===e[3]&&/*languagePackLoaded*/e[32]&&/*selectedLanguage*/e[27]&&Oi(e),M=/*copyright*/e[19]
|
1296
|
-
/*div2_binding*/,e[54](t)},p(e,t){/*helpLinksRepeater*/e[14]?y?y.p(e,t):(y=pi(e),y.c(),y.m(n,null)):y&&(y.d(1),y=null),/*isLoggedIn*/67108864&t[0]&&r!==(r="FooterSide "+(/*isOnMobile*/e[33]&&/*isLoggedIn*/e[26]?"FooterSideMobile":""))&&k(n,"class",r),/*gameVendorsRepeater*/e[9]?b?b.p(e,t):(b=yi(e),b.c(),b.m(o,s)):b&&(b.d(1),b=null),/*paymentMethodsRepeater*/e[11]?v?v.p(e,t):(v=_i(e),v.c(),v.m(o,a)):v&&(v.d(1),v=null),/*panicbuttonenabled*/"true"===e[4]&&/*isLoggedIn*/e[26]?w?w.p(e,t):(w=wi(e),w.c(),w.m(o,l)):w&&(w.d(1),w=null),/*licensesRepeater*/e[16]?E?E.p(e,t):(E=ki(e),E.c(),E.m(o,u)):E&&(E.d(1),E=null),/*sponsorsRepeater*/e[13]?T?T.p(e,t):(T=Si(e),T.c(),T.m(o,c)):T&&(T.d(1),T=null),/*socialLinksRepeater*/e[18]?S?S.p(e,t):(S=Li(e),S.c(),S.m(o,h)):S&&(S.d(1),S=null),/*languageselectorenabled*/"true"===e[3]&&/*languagePackLoaded*/e[32]&&/*selectedLanguage*/e[27]?x?x.p(e,t):(x=Oi(e),x.c(),x.m(o,m)):x&&(x.d(1),x=null),/*copyright*/e[19]?M?M.p(e,t):(M
|
1297
|
+
function hi(e){let t,n,r,i,o,s,a,l,u,c,h,m,y=/*helpLinksRepeater*/e[14]&&pi(e),b=/*gameVendorsRepeater*/e[9]&&yi(e),v=/*paymentMethodsRepeater*/e[11]&&_i(e),w=/*panicbuttonenabled*/"true"===e[4]&&/*isLoggedIn*/e[26]&&wi(e),E=/*licensesRepeater*/e[16]&&ki(e),T=/*sponsorsRepeater*/e[13]&&Si(e),S=/*socialLinksRepeater*/e[18]&&Li(e),x=/*languageselectorenabled*/"true"===e[3]&&/*languagePackLoaded*/e[32]&&/*selectedLanguage*/e[27]&&Oi(e),M=/*copyright*/e[19]&&$i(e);return{c(){t=g("div"),n=g("div"),y&&y.c(),i=_(),o=g("div"),b&&b.c(),s=_(),v&&v.c(),a=_(),w&&w.c(),l=_(),E&&E.c(),u=_(),T&&T.c(),c=_(),S&&S.c(),h=_(),x&&x.c(),m=_(),M&&M.c(),k(n,"class",r="FooterSide "+(/*isOnMobile*/e[33]&&/*isLoggedIn*/e[26]?"FooterSideMobile":"")),k(o,"class","FooterGrid"),k(t,"class","Footer")},m(r,p){f(r,t,p),d(t,n),y&&y.m(n,null),d(t,i),d(t,o),b&&b.m(o,null),d(o,s),v&&v.m(o,null),d(o,a),w&&w.m(o,null),d(o,l),E&&E.m(o,null),d(o,u),T&&T.m(o,null),d(o,c),S&&S.m(o,null),d(o,h),x&&x.m(o,null),d(o,m),M&&M.m(o,null)
|
1298
|
+
/*div2_binding*/,e[54](t)},p(e,t){/*helpLinksRepeater*/e[14]?y?y.p(e,t):(y=pi(e),y.c(),y.m(n,null)):y&&(y.d(1),y=null),/*isLoggedIn*/67108864&t[0]&&r!==(r="FooterSide "+(/*isOnMobile*/e[33]&&/*isLoggedIn*/e[26]?"FooterSideMobile":""))&&k(n,"class",r),/*gameVendorsRepeater*/e[9]?b?b.p(e,t):(b=yi(e),b.c(),b.m(o,s)):b&&(b.d(1),b=null),/*paymentMethodsRepeater*/e[11]?v?v.p(e,t):(v=_i(e),v.c(),v.m(o,a)):v&&(v.d(1),v=null),/*panicbuttonenabled*/"true"===e[4]&&/*isLoggedIn*/e[26]?w?w.p(e,t):(w=wi(e),w.c(),w.m(o,l)):w&&(w.d(1),w=null),/*licensesRepeater*/e[16]?E?E.p(e,t):(E=ki(e),E.c(),E.m(o,u)):E&&(E.d(1),E=null),/*sponsorsRepeater*/e[13]?T?T.p(e,t):(T=Si(e),T.c(),T.m(o,c)):T&&(T.d(1),T=null),/*socialLinksRepeater*/e[18]?S?S.p(e,t):(S=Li(e),S.c(),S.m(o,h)):S&&(S.d(1),S=null),/*languageselectorenabled*/"true"===e[3]&&/*languagePackLoaded*/e[32]&&/*selectedLanguage*/e[27]?x?x.p(e,t):(x=Oi(e),x.c(),x.m(o,m)):x&&(x.d(1),x=null),/*copyright*/e[19]?M?M.p(e,t):(M=$i(e),M.c(),M.m(o,null)):M&&(M.d(1),M=null)},d(n){n&&p(t),y&&y.d(),b&&b.d(),v&&v.d(),w&&w.d(),E&&E.d(),T&&T.d(),S&&S.d(),x&&x.d(),M&&M.d()
|
1297
1299
|
/*div2_binding*/,e[54](null)}}}
|
1298
1300
|
// (286:2) {#if isLoading}
|
1299
1301
|
function di(t){let n;return{c(){n=g("p"),n.textContent="Loading ...",k(n,"class","SearchLoading")},m(e,t){f(e,n,t)},p:e,d(e){e&&p(n)}}}
|
@@ -1304,50 +1306,50 @@ function pi(e){let t,n=/*helpLinksRepeater*/e[14],r=[];for(let t=0;t<n.length;t+
|
|
1304
1306
|
// (295:12) {#if category.key}
|
1305
1307
|
function mi(e){let t,n,r=/*category*/e[83].key+"";return{c(){t=g("p"),n=b(r),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*helpLinksRepeater*/16384&t[0]&&r!==(r=/*category*/e[83].key+"")&&T(n,r)},d(e){e&&p(t)}}}
|
1306
1308
|
// (294:10) {#each helpLinksRepeater as category}
|
1307
|
-
function gi(e){let t,n,r,i=/*category*/e[83].key&&mi(e);return{c(){i&&i.c(),t=_(),n=g("casino-footer-section"),E(n,"helperflag","1"),E(n,"clientstyling",/*clientstyling*/e[1]),E(n,"clientstylingurl",/*clientstylingurl*/e[2]),E(n,"category",r=/*category*/e[83].key),E(n,"displaycolumn","true"),E(n,"baseurl",/*baseurl*/e[5]),E(n,"lang",/*lang*/e[0])},m(e,r){i&&i.m(e,r),f(e,t,r),f(e,n,r)},p(e,o){/*category*/e[83].key?i?i.p(e,o):(i=mi(e),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),/*clientstyling*/2&o[0]&&E(n,"clientstyling",/*clientstyling*/e[1]),/*clientstylingurl*/4&o[0]&&E(n,"clientstylingurl",/*clientstylingurl*/e[2]),/*helpLinksRepeater*/16384&o[0]&&r!==(r=/*category*/e[83].key)&&E(n,"category",r),/*baseurl*/32&o[0]&&E(n,"baseurl",/*baseurl*/e[5]),/*lang*/1&o[0]&&E(n,"lang",/*lang*/e[0])},d(e){i&&i.d(e),e&&p(t),e&&p(n)}}}
|
1308
|
-
// (
|
1309
|
-
function yi(e){let t,n,r,i,o=/*gameVendorsLinksTitle*/e[8]&&bi(e);return{c(){t=g("div"),n=g("div"),o&&o.c(),r=_(),i=g("casino-footer-section"),E(i,"vendorflag","1"),E(i,"clientstyling",/*clientstyling*/e[1]),E(i,"clientstylingurl",/*clientstylingurl*/e[2]),E(i,"baseurl",/*baseurl*/e[5]),E(i,"lang",/*lang*/e[0]),k(t,"class","GridRow")},m(e,s){f(e,t,s),d(t,n),o&&o.m(n,null),d(n,r),d(n,i)},p(e,t){/*gameVendorsLinksTitle*/e[8]?o?o.p(e,t):(o=bi(e),o.c(),o.m(n,r)):o&&(o.d(1),o=null),/*clientstyling*/2&t[0]&&E(i,"clientstyling",/*clientstyling*/e[1]),/*clientstylingurl*/4&t[0]&&E(i,"clientstylingurl",/*clientstylingurl*/e[2]),/*baseurl*/32&t[0]&&E(i,"baseurl",/*baseurl*/e[5]),/*lang*/1&t[0]&&E(i,"lang",/*lang*/e[0])},d(e){e&&p(t),o&&o.d()}}}
|
1310
|
-
// (
|
1309
|
+
function gi(e){let t,n,r,i=/*category*/e[83].key&&mi(e);return{c(){i&&i.c(),t=_(),n=g("casino-footer-section"),E(n,"helperflag","1"),E(n,"clientstyling",/*clientstyling*/e[1]),E(n,"clientstylingurl",/*clientstylingurl*/e[2]),E(n,"category",r=/*category*/e[83].key),E(n,"displaycolumn","true"),E(n,"baseurl",/*baseurl*/e[5]),E(n,"lang",/*lang*/e[0]),E(n,"footertype","footersecondary")},m(e,r){i&&i.m(e,r),f(e,t,r),f(e,n,r)},p(e,o){/*category*/e[83].key?i?i.p(e,o):(i=mi(e),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),/*clientstyling*/2&o[0]&&E(n,"clientstyling",/*clientstyling*/e[1]),/*clientstylingurl*/4&o[0]&&E(n,"clientstylingurl",/*clientstylingurl*/e[2]),/*helpLinksRepeater*/16384&o[0]&&r!==(r=/*category*/e[83].key)&&E(n,"category",r),/*baseurl*/32&o[0]&&E(n,"baseurl",/*baseurl*/e[5]),/*lang*/1&o[0]&&E(n,"lang",/*lang*/e[0])},d(e){i&&i.d(e),e&&p(t),e&&p(n)}}}
|
1310
|
+
// (314:8) {#if gameVendorsRepeater}
|
1311
|
+
function yi(e){let t,n,r,i,o=/*gameVendorsLinksTitle*/e[8]&&bi(e);return{c(){t=g("div"),n=g("div"),o&&o.c(),r=_(),i=g("casino-footer-section"),E(i,"vendorflag","1"),E(i,"clientstyling",/*clientstyling*/e[1]),E(i,"clientstylingurl",/*clientstylingurl*/e[2]),E(i,"baseurl",/*baseurl*/e[5]),E(i,"lang",/*lang*/e[0]),E(i,"footertype","footersecondary"),k(t,"class","GridRow")},m(e,s){f(e,t,s),d(t,n),o&&o.m(n,null),d(n,r),d(n,i)},p(e,t){/*gameVendorsLinksTitle*/e[8]?o?o.p(e,t):(o=bi(e),o.c(),o.m(n,r)):o&&(o.d(1),o=null),/*clientstyling*/2&t[0]&&E(i,"clientstyling",/*clientstyling*/e[1]),/*clientstylingurl*/4&t[0]&&E(i,"clientstylingurl",/*clientstylingurl*/e[2]),/*baseurl*/32&t[0]&&E(i,"baseurl",/*baseurl*/e[5]),/*lang*/1&t[0]&&E(i,"lang",/*lang*/e[0])},d(e){e&&p(t),o&&o.d()}}}
|
1312
|
+
// (317:14) {#if gameVendorsLinksTitle}
|
1311
1313
|
function bi(e){let t,n;return{c(){t=g("p"),n=b(/*gameVendorsLinksTitle*/e[8]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*gameVendorsLinksTitle*/256&t[0]&&T(n,/*gameVendorsLinksTitle*/e[8])},d(e){e&&p(t)}}}
|
1312
|
-
// (
|
1313
|
-
function _i(e){let t,n,r,i,o=/*paymentLinksTitle*/e[10]&&vi(e);return{c(){t=g("div"),n=g("div"),o&&o.c(),r=_(),i=g("casino-footer-section"),E(i,"paymentflag","1"),E(i,"clientstyling",/*clientstyling*/e[1]),E(i,"clientstylingurl",/*clientstylingurl*/e[2]),E(i,"baseurl",/*baseurl*/e[5]),E(i,"lang",/*lang*/e[0]),k(t,"class","GridRow")},m(e,s){f(e,t,s),d(t,n),o&&o.m(n,null),d(n,r),d(n,i)},p(e,t){/*paymentLinksTitle*/e[10]?o?o.p(e,t):(o=vi(e),o.c(),o.m(n,r)):o&&(o.d(1),o=null),/*clientstyling*/2&t[0]&&E(i,"clientstyling",/*clientstyling*/e[1]),/*clientstylingurl*/4&t[0]&&E(i,"clientstylingurl",/*clientstylingurl*/e[2]),/*baseurl*/32&t[0]&&E(i,"baseurl",/*baseurl*/e[5]),/*lang*/1&t[0]&&E(i,"lang",/*lang*/e[0])},d(e){e&&p(t),o&&o.d()}}}
|
1314
|
-
// (
|
1314
|
+
// (333:6) {#if paymentMethodsRepeater}
|
1315
|
+
function _i(e){let t,n,r,i,o=/*paymentLinksTitle*/e[10]&&vi(e);return{c(){t=g("div"),n=g("div"),o&&o.c(),r=_(),i=g("casino-footer-section"),E(i,"paymentflag","1"),E(i,"clientstyling",/*clientstyling*/e[1]),E(i,"clientstylingurl",/*clientstylingurl*/e[2]),E(i,"baseurl",/*baseurl*/e[5]),E(i,"lang",/*lang*/e[0]),E(i,"footertype","footersecondary"),k(t,"class","GridRow")},m(e,s){f(e,t,s),d(t,n),o&&o.m(n,null),d(n,r),d(n,i)},p(e,t){/*paymentLinksTitle*/e[10]?o?o.p(e,t):(o=vi(e),o.c(),o.m(n,r)):o&&(o.d(1),o=null),/*clientstyling*/2&t[0]&&E(i,"clientstyling",/*clientstyling*/e[1]),/*clientstylingurl*/4&t[0]&&E(i,"clientstylingurl",/*clientstylingurl*/e[2]),/*baseurl*/32&t[0]&&E(i,"baseurl",/*baseurl*/e[5]),/*lang*/1&t[0]&&E(i,"lang",/*lang*/e[0])},d(e){e&&p(t),o&&o.d()}}}
|
1316
|
+
// (336:12) {#if paymentLinksTitle}
|
1315
1317
|
function vi(e){let t,n;return{c(){t=g("p"),n=b(/*paymentLinksTitle*/e[10]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*paymentLinksTitle*/1024&t[0]&&T(n,/*paymentLinksTitle*/e[10])},d(e){e&&p(t)}}}
|
1316
|
-
// (
|
1318
|
+
// (353:6) {#if panicbuttonenabled === "true" && isLoggedIn}
|
1317
1319
|
function wi(e){let t;return{c(){t=g("panic-button"),E(t,"customtext","Hold the button for 3 seconds to take 24 hours instant lock"),E(t,"alternativestyling","true"),E(t,"lang",/*lang*/e[0]),E(t,"clientstyling",/*clientstyling*/e[1]),E(t,"clientstylingurl",/*clientstylingurl*/e[2])},m(e,n){f(e,t,n)},p(e,n){/*lang*/1&n[0]&&E(t,"lang",/*lang*/e[0]),/*clientstyling*/2&n[0]&&E(t,"clientstyling",/*clientstyling*/e[1]),/*clientstylingurl*/4&n[0]&&E(t,"clientstylingurl",/*clientstylingurl*/e[2])},d(e){e&&p(t)}}}
|
1318
|
-
// (
|
1319
|
-
function ki(e){let t,n,r,i,o,s,a=/*licensesLinksTitle*/e[15]&&Ei(e),l=/*licenseDesc*/e[20]&&Ti(e);return{c(){t=g("div"),n=g("div"),a&&a.c(),r=_(),i=g("casino-footer-section"),o=_(),s=g("div"),l&&l.c(),E(i,"licenseflag","1"),E(i,"clientstyling",/*clientstyling*/e[1]),E(i,"clientstylingurl",/*clientstylingurl*/e[2]),E(i,"baseurl",/*baseurl*/e[5]),E(i,"lang",/*lang*/e[0]),k(n,"class","LicenseLinks"),k(s,"class","LicenseDesc"),k(t,"class","GridRow")},m(e,u){f(e,t,u),d(t,n),a&&a.m(n,null),d(n,r),d(n,i),d(t,o),d(t,s),l&&l.m(s,null)},p(e,t){/*licensesLinksTitle*/e[15]?a?a.p(e,t):(a=Ei(e),a.c(),a.m(n,r)):a&&(a.d(1),a=null),/*clientstyling*/2&t[0]&&E(i,"clientstyling",/*clientstyling*/e[1]),/*clientstylingurl*/4&t[0]&&E(i,"clientstylingurl",/*clientstylingurl*/e[2]),/*baseurl*/32&t[0]&&E(i,"baseurl",/*baseurl*/e[5]),/*lang*/1&t[0]&&E(i,"lang",/*lang*/e[0]),/*licenseDesc*/e[20]?l?l.p(e,t):(l=Ti(e),l.c(),l.m(s,null)):l&&(l.d(1),l=null)},d(e){e&&p(t),a&&a.d(),l&&l.d()}}}
|
1320
|
-
// (
|
1320
|
+
// (364:6) {#if licensesRepeater}
|
1321
|
+
function ki(e){let t,n,r,i,o,s,a=/*licensesLinksTitle*/e[15]&&Ei(e),l=/*licenseDesc*/e[20]&&Ti(e);return{c(){t=g("div"),n=g("div"),a&&a.c(),r=_(),i=g("casino-footer-section"),o=_(),s=g("div"),l&&l.c(),E(i,"licenseflag","1"),E(i,"clientstyling",/*clientstyling*/e[1]),E(i,"clientstylingurl",/*clientstylingurl*/e[2]),E(i,"baseurl",/*baseurl*/e[5]),E(i,"lang",/*lang*/e[0]),E(i,"footertype","footersecondary"),k(n,"class","LicenseLinks"),k(s,"class","LicenseDesc"),k(t,"class","GridRow")},m(e,u){f(e,t,u),d(t,n),a&&a.m(n,null),d(n,r),d(n,i),d(t,o),d(t,s),l&&l.m(s,null)},p(e,t){/*licensesLinksTitle*/e[15]?a?a.p(e,t):(a=Ei(e),a.c(),a.m(n,r)):a&&(a.d(1),a=null),/*clientstyling*/2&t[0]&&E(i,"clientstyling",/*clientstyling*/e[1]),/*clientstylingurl*/4&t[0]&&E(i,"clientstylingurl",/*clientstylingurl*/e[2]),/*baseurl*/32&t[0]&&E(i,"baseurl",/*baseurl*/e[5]),/*lang*/1&t[0]&&E(i,"lang",/*lang*/e[0]),/*licenseDesc*/e[20]?l?l.p(e,t):(l=Ti(e),l.c(),l.m(s,null)):l&&(l.d(1),l=null)},d(e){e&&p(t),a&&a.d(),l&&l.d()}}}
|
1322
|
+
// (367:12) {#if licensesLinksTitle}
|
1321
1323
|
function Ei(e){let t,n;return{c(){t=g("p"),n=b(/*licensesLinksTitle*/e[15]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*licensesLinksTitle*/32768&t[0]&&T(n,/*licensesLinksTitle*/e[15])},d(e){e&&p(t)}}}
|
1322
|
-
// (
|
1324
|
+
// (381:12) {#if licenseDesc}
|
1323
1325
|
function Ti(e){let t,n,o,s,a,l,u;return{c(){t=g("div"),o=_(),s=g("div"),k(t,"class","DetailedLicenses"),k(s,"class","DetailedCustomLicenses")},m(r,i){f(r,t,i),f(r,o,i),f(r,s,i),l||(u=[h(n=/*setContent*/e[34].call(null,t,/*licenseDesc*/e[20])),h(a=/*setContent*/e[34].call(null,s,/*licenseScript*/e[25]))],l=!0)},p(e,t){n&&i(n.update)&&/*licenseDesc*/1048576&t[0]&&n.update.call(null,/*licenseDesc*/e[20]),a&&i(a.update)&&/*licenseScript*/33554432&t[0]&&a.update.call(null,/*licenseScript*/e[25])},d(e){e&&p(t),e&&p(o),e&&p(s),l=!1,r(u)}}}
|
1324
|
-
// (
|
1326
|
+
// (392:6) {#if sponsorsRepeater}
|
1325
1327
|
function Si(e){let t,n=/*sponsorsRepeater*/e[13]&&xi(e);return{c(){t=g("div"),n&&n.c(),k(t,"class","GridRow")},m(e,r){f(e,t,r),n&&n.m(t,null)},p(e,r){/*sponsorsRepeater*/e[13]?n?n.p(e,r):(n=xi(e),n.c(),n.m(t,null)):n&&(n.d(1),n=null)},d(e){e&&p(t),n&&n.d()}}}
|
1326
|
-
// (
|
1327
|
-
function xi(e){let t,n,r,i=/*sponsorsLinksTitle*/e[12]&&Mi(e);return{c(){t=g("div"),i&&i.c(),n=_(),r=g("casino-footer-section"),E(r,"sponsorflag","1"),E(r,"clientstyling",/*clientstyling*/e[1]),E(r,"clientstylingurl",/*clientstylingurl*/e[2]),E(r,"baseurl",/*baseurl*/e[5]),E(r,"lang",/*lang*/e[0])},m(e,o){f(e,t,o),i&&i.m(t,null),d(t,n),d(t,r)},p(e,o){/*sponsorsLinksTitle*/e[12]?i?i.p(e,o):(i=Mi(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*clientstyling*/2&o[0]&&E(r,"clientstyling",/*clientstyling*/e[1]),/*clientstylingurl*/4&o[0]&&E(r,"clientstylingurl",/*clientstylingurl*/e[2]),/*baseurl*/32&o[0]&&E(r,"baseurl",/*baseurl*/e[5]),/*lang*/1&o[0]&&E(r,"lang",/*lang*/e[0])},d(e){e&&p(t),i&&i.d()}}}
|
1328
|
-
// (
|
1328
|
+
// (394:10) {#if sponsorsRepeater}
|
1329
|
+
function xi(e){let t,n,r,i=/*sponsorsLinksTitle*/e[12]&&Mi(e);return{c(){t=g("div"),i&&i.c(),n=_(),r=g("casino-footer-section"),E(r,"sponsorflag","1"),E(r,"clientstyling",/*clientstyling*/e[1]),E(r,"clientstylingurl",/*clientstylingurl*/e[2]),E(r,"baseurl",/*baseurl*/e[5]),E(r,"lang",/*lang*/e[0]),E(r,"footertype","footersecondary")},m(e,o){f(e,t,o),i&&i.m(t,null),d(t,n),d(t,r)},p(e,o){/*sponsorsLinksTitle*/e[12]?i?i.p(e,o):(i=Mi(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*clientstyling*/2&o[0]&&E(r,"clientstyling",/*clientstyling*/e[1]),/*clientstylingurl*/4&o[0]&&E(r,"clientstylingurl",/*clientstylingurl*/e[2]),/*baseurl*/32&o[0]&&E(r,"baseurl",/*baseurl*/e[5]),/*lang*/1&o[0]&&E(r,"lang",/*lang*/e[0])},d(e){e&&p(t),i&&i.d()}}}
|
1330
|
+
// (396:12) {#if sponsorsLinksTitle}
|
1329
1331
|
function Mi(e){let t,n;return{c(){t=g("p"),n=b(/*sponsorsLinksTitle*/e[12]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*sponsorsLinksTitle*/4096&t[0]&&T(n,/*sponsorsLinksTitle*/e[12])},d(e){e&&p(t)}}}
|
1330
|
-
// (
|
1331
|
-
function Li(e){let t,n,r,i=/*socialLinksTitle*/e[17]&&Di(e);return{c(){t=g("div"),i&&i.c(),n=_(),r=g("casino-footer-section"),E(r,"socialflag","1"),E(r,"clientstyling",/*clientstyling*/e[1]),E(r,"clientstylingurl",/*clientstylingurl*/e[2]),E(r,"baseurl",/*baseurl*/e[5]),E(r,"lang",/*lang*/e[0]),k(t,"class","GridRow")},m(e,o){f(e,t,o),i&&i.m(t,null),d(t,n),d(t,r)},p(e,o){/*socialLinksTitle*/e[17]?i?i.p(e,o):(i=Di(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*clientstyling*/2&o[0]&&E(r,"clientstyling",/*clientstyling*/e[1]),/*clientstylingurl*/4&o[0]&&E(r,"clientstylingurl",/*clientstylingurl*/e[2]),/*baseurl*/32&o[0]&&E(r,"baseurl",/*baseurl*/e[5]),/*lang*/1&o[0]&&E(r,"lang",/*lang*/e[0])},d(e){e&&p(t),i&&i.d()}}}
|
1332
|
-
// (
|
1332
|
+
// (414:8) {#if socialLinksRepeater}
|
1333
|
+
function Li(e){let t,n,r,i=/*socialLinksTitle*/e[17]&&Di(e);return{c(){t=g("div"),i&&i.c(),n=_(),r=g("casino-footer-section"),E(r,"socialflag","1"),E(r,"clientstyling",/*clientstyling*/e[1]),E(r,"clientstylingurl",/*clientstylingurl*/e[2]),E(r,"baseurl",/*baseurl*/e[5]),E(r,"lang",/*lang*/e[0]),E(r,"footertype","footersecondary"),k(t,"class","GridRow")},m(e,o){f(e,t,o),i&&i.m(t,null),d(t,n),d(t,r)},p(e,o){/*socialLinksTitle*/e[17]?i?i.p(e,o):(i=Di(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*clientstyling*/2&o[0]&&E(r,"clientstyling",/*clientstyling*/e[1]),/*clientstylingurl*/4&o[0]&&E(r,"clientstylingurl",/*clientstylingurl*/e[2]),/*baseurl*/32&o[0]&&E(r,"baseurl",/*baseurl*/e[5]),/*lang*/1&o[0]&&E(r,"lang",/*lang*/e[0])},d(e){e&&p(t),i&&i.d()}}}
|
1334
|
+
// (416:12) {#if socialLinksTitle}
|
1333
1335
|
function Di(e){let t,n;return{c(){t=g("p"),n=b(/*socialLinksTitle*/e[17]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*socialLinksTitle*/131072&t[0]&&T(n,/*socialLinksTitle*/e[17])},d(e){e&&p(t)}}}
|
1334
|
-
// (
|
1335
|
-
function Oi(e){let t,n,i,o,s,a,u,c,h,v,E,x,M,L,D,O,P,A=/*languagesArray*/e[28]
|
1336
|
-
/*div0_binding*/e[53](a),d(s,c),d(s,h),d(h,v),d(h,x),d(h,M),d(h,L),d(L,D),O||(P=[w(i,"change",/*select_change_handler*/e[51]),w(i,"change",/*change_handler*/e[52]),w(h,"click",/*toggleLanguageDrawer*/e[36])],O=!0)},p(e,t){if(/*languagesArray*/268435456&t[0]){let n;for(A=/*languagesArray*/e[28],n=0;n<A.length;n+=1){const r=li(e,A,n)
|
1336
|
+
// (432:6) {#if (languageselectorenabled==="true" && languagePackLoaded && selectedLanguage)}
|
1337
|
+
function Oi(e){let t,n,i,o,s,a,u,c,h,v,E,x,M,L,D,O,P,A=/*languagesArray*/e[28],$=[];for(let t=0;t<A.length;t+=1)$[t]=Pi(li(e,A,t));let H=/*languages*/e[6],F=[];for(let t=0;t<H.length;t+=1)F[t]=Ai(ai(e,H,t));return{c(){t=g("div"),n=g("div"),i=g("select");for(let e=0;e<$.length;e+=1)$[e].c();o=_(),s=g("div"),a=g("div"),u=g("ul");for(let e=0;e<F.length;e+=1)F[e].c();c=_(),h=g("button"),v=g("img"),x=b(/*languageDisplayName*/e[30]),M=_(),L=y("svg"),D=y("path"),k(i,"class","Item ItemLanguage"),/*selectedLanguage*/void 0===e[27]&&I((()=>/*select_change_handler*/e[51].call(i))),k(u,"id","LanguageList"),k(a,"class","LanguageDrawer hidden"),k(v,"class","LanguageFlag"),l(v.src,E=/*currentLanguageFlag*/e[31])||k(v,"src",E),k(D,"opacity","0.4"),k(D,"d","M0.94 0L4.00067 3.05467L7.06 0L8 0.940667L4.00067 4.94133L0 0.940667L0.94 0Z"),k(D,"fill","black"),k(L,"width","8"),k(L,"height","5"),k(L,"viewBox","0 0 8 5"),k(L,"fill","none"),k(L,"xmlns","http://www.w3.org/2000/svg"),k(h,"class","DrawerButton"),h.value=/*selectedLanguage*/e[27],k(s,"class","LanguageSelectorOverlay"),k(n,"class","languageSelectorContainer"),k(t,"class","GridRow")},m(r,l){f(r,t,l),d(t,n),d(n,i);for(let e=0;e<$.length;e+=1)$[e].m(i,null);S(i,/*selectedLanguage*/e[27]),d(n,o),d(n,s),d(s,a),d(a,u);for(let e=0;e<F.length;e+=1)F[e].m(u,null);
|
1338
|
+
/*div0_binding*/e[53](a),d(s,c),d(s,h),d(h,v),d(h,x),d(h,M),d(h,L),d(L,D),O||(P=[w(i,"change",/*select_change_handler*/e[51]),w(i,"change",/*change_handler*/e[52]),w(h,"click",/*toggleLanguageDrawer*/e[36])],O=!0)},p(e,t){if(/*languagesArray*/268435456&t[0]){let n;for(A=/*languagesArray*/e[28],n=0;n<A.length;n+=1){const r=li(e,A,n);$[n]?$[n].p(r,t):($[n]=Pi(r),$[n].c(),$[n].m(i,null))}for(;n<$.length;n+=1)$[n].d(1);$.length=A.length}if(/*selectedLanguage, languagesArray*/402653184&t[0]&&S(i,/*selectedLanguage*/e[27]),/*languages*/64&t[0]|/*overlayOptionTrigger*/64&t[1]){let n;for(H=/*languages*/e[6],n=0;n<H.length;n+=1){const r=ai(e,H,n);F[n]?F[n].p(r,t):(F[n]=Ai(r),F[n].c(),F[n].m(u,null))}for(;n<F.length;n+=1)F[n].d(1);F.length=H.length}/*currentLanguageFlag*/1&t[1]&&!l(v.src,E=/*currentLanguageFlag*/e[31])&&k(v,"src",E),/*languageDisplayName*/1073741824&t[0]&&T(x,/*languageDisplayName*/e[30]),/*selectedLanguage, languagesArray*/402653184&t[0]&&(h.value=/*selectedLanguage*/e[27])},d(n){n&&p(t),m($,n),m(F,n),
|
1337
1339
|
/*div0_binding*/e[53](null),O=!1,r(P)}}}
|
1338
|
-
// (
|
1340
|
+
// (437:14) {#each languagesArray as operatorLanguage}
|
1339
1341
|
function Pi(e){let t,n,r,i=/*operatorLanguage*/e[80]+"";return{c(){t=g("option"),n=b(i),t.__value=r=/*operatorLanguage*/e[80],t.value=t.__value,t.selected=!0},m(e,r){f(e,t,r),d(t,n)},p(e,o){/*languagesArray*/268435456&o[0]&&i!==(i=/*operatorLanguage*/e[80]+"")&&T(n,i),/*languagesArray*/268435456&o[0]&&r!==(r=/*operatorLanguage*/e[80])&&(t.__value=r,t.value=t.__value)},d(e){e&&p(t)}}}
|
1340
|
-
// (
|
1342
|
+
// (446:18) {#each languages as language}
|
1341
1343
|
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()}}}
|
1342
|
-
// (
|
1343
|
-
function
|
1344
|
-
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
|
1344
|
+
// (462:6) {#if copyright}
|
1345
|
+
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
|
1345
1347
|
/*dictionary.set(translations);
|
1346
1348
|
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=>{
|
1347
1349
|
// using Date instead of moment because they recommend in their docs to stop using it for new projects
|
1348
|
-
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(
|
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),
|
1349
1351
|
//Add clock
|
1350
1352
|
"true"===y&&e.classList.contains("DetailedLicenses")&&e.children[0].children[0].append(ue),
|
1351
1353
|
//Add session timer
|
1352
|
-
"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
|
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}));
|
1353
1355
|
//# sourceMappingURL=casino-footer-v2.js.map
|