@everymatrix/casino-footer-v2 0.0.370 → 0.0.372

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.
@@ -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 c(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function u(e,t,n){e.$$.on_destroy.push(c(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 S(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function T(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=[],A=[],P=[],H=[],I=Promise.resolve();let F=!1;function $(e){P.push(e)}
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 S(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function T(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=[],A=[],P=[],H=[],I=Promise.resolve();let F=!1;function $(e){P.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,45 +27,45 @@ for(;N<O.length;){const e=O[N];N++,L(e),R(e.$$)}for(L(null),O.length=0,N=0;A.len
27
27
  // subsequent updates...
28
28
  for(let e=0;e<P.length;e+=1){const t=P[e];C.has(t)||(
29
29
  // ...so guard against infinite loops
30
- C.add(t),t())}P.length=0}while(O.length);for(;H.length;)H.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($)}}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,I.then(B)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function j(o,s,l,c,u,h,d,f=[-1]){const m=a;L(o);const g=o.$$={fragment:null,ctx:null,
30
+ C.add(t),t())}P.length=0}while(O.length);for(;H.length;)H.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($)}}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,I.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
- props:h,update:e,not_equal:u,bound:n(),
32
+ props:h,update:e,not_equal:c,bound:n(),
33
33
  // lifecycle
34
34
  on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(m?m.$$.context:[])),
35
35
  // everything else
36
- callbacks:n(),dirty:f,skip_bound:!1,root:s.target||m.$$.root};d&&d(g.root);let y=!1;if(g.ctx=l?l(o,s.props||{},((e,t,...n)=>{const r=n.length?n[0]:t;return g.ctx&&u(g.ctx[e],g.ctx[e]=r)&&(!g.skip_bound&&g.bound[e]&&g.bound[e](r),y&&G(o,e)),t})):[],g.update(),y=!0,r(g.before_update),
36
+ callbacks:n(),dirty:f,skip_bound:!1,root:s.target||m.$$.root};d&&d(g.root);let y=!1;if(g.ctx=l?l(o,s.props||{},((e,t,...n)=>{const r=n.length?n[0]:t;return g.ctx&&c(g.ctx[e],g.ctx[e]=r)&&(!g.skip_bound&&g.bound[e]&&g.bound[e](r),y&&G(o,e)),t})):[],g.update(),y=!0,r(g.before_update),
37
37
  // `false` as a special case of no DOM component
38
- g.fragment=!!c&&c(g.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);
38
+ g.fragment=!!u&&u(g.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);
39
39
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
40
40
  g.fragment&&g.fragment.l(e),e.forEach(p)}else
41
41
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
42
- g.fragment&&g.fragment.c();s.intro&&((b=o.$$.fragment)&&b.i&&(Y.delete(b),b.i(_))),function(e,n,o,s){const{fragment:a,on_mount:l,on_destroy:c,after_update:u}=e.$$;a&&a.m(n,o),s||
42
+ g.fragment&&g.fragment.c();s.intro&&((b=o.$$.fragment)&&b.i&&(Y.delete(b),b.i(_))),function(e,n,o,s){const{fragment:a,on_mount:l,on_destroy:u,after_update:c}=e.$$;a&&a.m(n,o),s||
43
43
  // onMount happens before the initial afterUpdate
44
- $((()=>{const n=l.map(t).filter(i);c?c.push(...n):
44
+ $((()=>{const n=l.map(t).filter(i);u?u.push(...n):
45
45
  // Edge case - component was destroyed immediately,
46
46
  // most likely as a result of a binding initialising
47
- r(n),e.$$.on_mount=[]})),u.forEach($)}(o,s.target,s.anchor,s.customElement),B()}var b,_;L(m)}let V;
47
+ r(n),e.$$.on_mount=[]})),c.forEach($)}(o,s.target,s.anchor,s.customElement),B()}var b,_;L(m)}let V;
48
48
  /* ../casino-footer-thumbnail/src/CasinoFooterThumbnail.svelte generated by Svelte v3.48.0 */
49
49
  function W(e){let t,n,r,i,o,s,a;return{c(){t=g("div"),n=g("a"),r=g("img"),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*sociallinkimage*/e[16])||k(r,"src",i),k(r,"title",/*sociallinktitle*/e[17]),k(n,"class",o="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",s="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",/*sociallinkurl*/e[15]),k(n,"target",a=/*target*/e[18]?/*target*/e[18]:"_blank"),k(t,"class","FooterItem SocialItem"),k(t,"part","FooterItem SocialItem")},m(e,i){f(e,t,i),d(t,n),d(n,r)},p(e,t){/*sociallinkimage*/65536&t&&!l(r.src,i=/*sociallinkimage*/e[16])&&k(r,"src",i),/*sociallinktitle*/131072&t&&k(r,"title",/*sociallinktitle*/e[17]),/*sociallinkurl*/32768&t&&o!==(o="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",o),/*sociallinkurl*/32768&t&&s!==(s="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",s),/*sociallinkurl*/32768&t&&k(n,"href",/*sociallinkurl*/e[15]),/*target*/262144&t&&a!==(a=/*target*/e[18]?/*target*/e[18]:"_blank")&&k(n,"target",a)},d(e){e&&p(t)}}}
50
- // (68:25)
50
+ // (70:25)
51
51
  function z(e){let t,n,r,i,o,s;return{c(){t=g("div"),n=g("a"),r=g("img"),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*licenseimage*/e[13])||k(r,"src",i),k(r,"title",/*licensetitle*/e[14]),k(n,"class",o="FooterLink "+(/*licenseurl*/e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",s="FooterLink "+(/*licenseurl*/e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",/*licenseurl*/e[12]),k(n,"target","_blank"),k(t,"class","FooterItem"),k(t,"part","FooterItem")},m(e,i){f(e,t,i),d(t,n),d(n,r)},p(e,t){/*licenseimage*/8192&t&&!l(r.src,i=/*licenseimage*/e[13])&&k(r,"src",i),/*licensetitle*/16384&t&&k(r,"title",/*licensetitle*/e[14]),/*licenseurl*/4096&t&&o!==(o="FooterLink "+(/*licenseurl*/e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",o),/*licenseurl*/4096&t&&s!==(s="FooterLink "+(/*licenseurl*/e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",s),/*licenseurl*/4096&t&&k(n,"href",/*licenseurl*/e[12])},d(e){e&&p(t)}}}
52
- // (59:28)
53
- function Z(e){let t,n,r,i,o,s,a,c,u=/*helperlinktitle*/e[11]&&J(e);return{c(){t=g("div"),n=g("a"),r=g("img"),o=_(),u&&u.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*helperlinkimage*/e[10])||k(r,"src",i),k(r,"title",/*helperlinktitle*/e[11]),k(n,"class",s=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",a=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",/*helperlinkurl*/e[9]),k(n,"target",/*target*/e[18]),k(t,"class",c="FooterItem HelperLinkItem "+(/*displaycolumn*/"true"==e[19]?"DisplayColumn":"")),k(t,"part","FooterItem HelperLinkItem")},m(e,i){f(e,t,i),d(t,n),d(n,r),d(n,o),u&&u.m(n,null)},p(e,o){/*helperlinkimage*/1024&o&&!l(r.src,i=/*helperlinkimage*/e[10])&&k(r,"src",i),/*helperlinktitle*/2048&o&&k(r,"title",/*helperlinktitle*/e[11]),/*helperlinktitle*/e[11]?u?u.p(e,o):(u=J(e),u.c(),u.m(n,null)):u&&(u.d(1),u=null),/*helperlinktitle, helperlinkurl*/2560&o&&s!==(s=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s),/*helperlinktitle, helperlinkurl*/2560&o&&a!==(a=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",a),/*helperlinkurl*/512&o&&k(n,"href",/*helperlinkurl*/e[9]),/*target*/262144&o&&k(n,"target",/*target*/e[18]),/*displaycolumn*/524288&o&&c!==(c="FooterItem HelperLinkItem "+(/*displaycolumn*/"true"==e[19]?"DisplayColumn":""))&&k(t,"class",c)},d(e){e&&p(t),u&&u.d()}}}
54
- // (53:25)
52
+ // (60:28)
53
+ function Z(e){let t,n,r,i,o,s,a,u,c,h=/*helperlinktitle*/e[11]&&J(e);return{c(){t=g("div"),n=g("a"),r=g("img"),o=_(),h&&h.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*helperlinkimage*/e[10])||k(r,"src",i),k(r,"title",/*helperlinktitle*/e[11]),k(n,"class",s=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",a=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",u=/*baseurl*/e[20].length>0?/*baseurl*/e[20]+/*helperlinkurl*/e[9]:/*helperlinkurl*/e[9]),k(n,"target",/*target*/e[18]),k(t,"class",c="FooterItem HelperLinkItem "+(/*displaycolumn*/"true"==e[19]?"DisplayColumn":"")),k(t,"part","FooterItem HelperLinkItem")},m(e,i){f(e,t,i),d(t,n),d(n,r),d(n,o),h&&h.m(n,null)},p(e,o){/*helperlinkimage*/1024&o&&!l(r.src,i=/*helperlinkimage*/e[10])&&k(r,"src",i),/*helperlinktitle*/2048&o&&k(r,"title",/*helperlinktitle*/e[11]),/*helperlinktitle*/e[11]?h?h.p(e,o):(h=J(e),h.c(),h.m(n,null)):h&&(h.d(1),h=null),/*helperlinktitle, helperlinkurl*/2560&o&&s!==(s=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s),/*helperlinktitle, helperlinkurl*/2560&o&&a!==(a=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",a),/*baseurl, helperlinkurl*/1049088&o&&u!==(u=/*baseurl*/e[20].length>0?/*baseurl*/e[20]+/*helperlinkurl*/e[9]:/*helperlinkurl*/e[9])&&k(n,"href",u),/*target*/262144&o&&k(n,"target",/*target*/e[18]),/*displaycolumn*/524288&o&&c!==(c="FooterItem HelperLinkItem "+(/*displaycolumn*/"true"==e[19]?"DisplayColumn":""))&&k(t,"class",c)},d(e){e&&p(t),h&&h.d()}}}
54
+ // (54:25)
55
55
  function X(e){let t,n,r,i,o,s;return{c(){t=g("div"),n=g("a"),r=g("img"),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*vendorimage*/e[7])||k(r,"src",i),k(r,"title",/*vendortitle*/e[8]),k(n,"href",/*vendorurl*/e[6]),k(n,"class",o=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",s=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"target","_blank"),k(t,"class","FooterItem GameVendorItem"),k(t,"part","FooterItem GameVendorItem")},m(e,i){f(e,t,i),d(t,n),d(n,r)},p(e,t){/*vendorimage*/128&t&&!l(r.src,i=/*vendorimage*/e[7])&&k(r,"src",i),/*vendortitle*/256&t&&k(r,"title",/*vendortitle*/e[8]),/*vendorurl*/64&t&&k(n,"href",/*vendorurl*/e[6]),/*vendorurl*/64&t&&o!==(o=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",o),/*vendorurl*/64&t&&s!==(s=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",s)},d(e){e&&p(t)}}}
56
- // (44:25)
57
- function K(e){let t,n,r,i,o,s,a,c=/*paymenttitle*/e[5]&&Q(e);return{c(){t=g("div"),n=g("a"),r=g("img"),o=_(),c&&c.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*paymentimage*/e[4])||k(r,"src",i),k(r,"title",/*paymenttitle*/e[5]),k(n,"class",s=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",a=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",/*paymenturl*/e[3]),k(n,"target","_blank"),k(t,"class","FooterItem PaymentItem"),k(t,"part","FooterItem PaymentItem")},m(e,i){f(e,t,i),d(t,n),d(n,r),d(n,o),c&&c.m(n,null)},p(e,t){/*paymentimage*/16&t&&!l(r.src,i=/*paymentimage*/e[4])&&k(r,"src",i),/*paymenttitle*/32&t&&k(r,"title",/*paymenttitle*/e[5]),/*paymenttitle*/e[5]?c?c.p(e,t):(c=Q(e),c.c(),c.m(n,null)):c&&(c.d(1),c=null),/*paymenttitle, paymenturl*/40&t&&s!==(s=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s),/*paymenttitle, paymenturl*/40&t&&a!==(a=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",a),/*paymenturl*/8&t&&k(n,"href",/*paymenturl*/e[3])},d(e){e&&p(t),c&&c.d()}}}
58
- // (35:2) {#if sponsorimage}
59
- function q(e){let t,n,r,i,o,s,a,c=/*sponsortitle*/e[2]&&ee(e);return{c(){t=g("div"),n=g("a"),r=g("img"),o=_(),c&&c.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*sponsorimage*/e[1])||k(r,"src",i),k(r,"title",/*sponsorimage*/e[1]),k(n,"class",s=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",a=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",/*sponsorurl*/e[0]),k(n,"target","_blank"),k(t,"class","FooterItem SponsorItem"),k(t,"part","FooterItem SponsorItem")},m(e,i){f(e,t,i),d(t,n),d(n,r),d(n,o),c&&c.m(n,null)},p(e,t){/*sponsorimage*/2&t&&!l(r.src,i=/*sponsorimage*/e[1])&&k(r,"src",i),/*sponsorimage*/2&t&&k(r,"title",/*sponsorimage*/e[1]),/*sponsortitle*/e[2]?c?c.p(e,t):(c=ee(e),c.c(),c.m(n,null)):c&&(c.d(1),c=null),/*sponsortitle, sponsorurl*/5&t&&s!==(s=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s),/*sponsortitle, sponsorurl*/5&t&&a!==(a=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",a),/*sponsorurl*/1&t&&k(n,"href",/*sponsorurl*/e[0])},d(e){e&&p(t),c&&c.d()}}}
60
- // (63:8) {#if helperlinktitle}
56
+ // (45:25)
57
+ function K(e){let t,n,r,i,o,s,a,u=/*paymenttitle*/e[5]&&Q(e);return{c(){t=g("div"),n=g("a"),r=g("img"),o=_(),u&&u.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*paymentimage*/e[4])||k(r,"src",i),k(r,"title",/*paymenttitle*/e[5]),k(n,"class",s=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",a=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",/*paymenturl*/e[3]),k(n,"target","_blank"),k(t,"class","FooterItem PaymentItem"),k(t,"part","FooterItem PaymentItem")},m(e,i){f(e,t,i),d(t,n),d(n,r),d(n,o),u&&u.m(n,null)},p(e,t){/*paymentimage*/16&t&&!l(r.src,i=/*paymentimage*/e[4])&&k(r,"src",i),/*paymenttitle*/32&t&&k(r,"title",/*paymenttitle*/e[5]),/*paymenttitle*/e[5]?u?u.p(e,t):(u=Q(e),u.c(),u.m(n,null)):u&&(u.d(1),u=null),/*paymenttitle, paymenturl*/40&t&&s!==(s=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s),/*paymenttitle, paymenturl*/40&t&&a!==(a=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",a),/*paymenturl*/8&t&&k(n,"href",/*paymenturl*/e[3])},d(e){e&&p(t),u&&u.d()}}}
58
+ // (36:2) {#if sponsorimage}
59
+ function q(e){let t,n,r,i,o,s,a,u=/*sponsortitle*/e[2]&&ee(e);return{c(){t=g("div"),n=g("a"),r=g("img"),o=_(),u&&u.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*sponsorimage*/e[1])||k(r,"src",i),k(r,"title",/*sponsorimage*/e[1]),k(n,"class",s=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",a=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",/*sponsorurl*/e[0]),k(n,"target","_blank"),k(t,"class","FooterItem SponsorItem"),k(t,"part","FooterItem SponsorItem")},m(e,i){f(e,t,i),d(t,n),d(n,r),d(n,o),u&&u.m(n,null)},p(e,t){/*sponsorimage*/2&t&&!l(r.src,i=/*sponsorimage*/e[1])&&k(r,"src",i),/*sponsorimage*/2&t&&k(r,"title",/*sponsorimage*/e[1]),/*sponsortitle*/e[2]?u?u.p(e,t):(u=ee(e),u.c(),u.m(n,null)):u&&(u.d(1),u=null),/*sponsortitle, sponsorurl*/5&t&&s!==(s=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s),/*sponsortitle, sponsorurl*/5&t&&a!==(a=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",a),/*sponsorurl*/1&t&&k(n,"href",/*sponsorurl*/e[0])},d(e){e&&p(t),u&&u.d()}}}
60
+ // (65:8) {#if helperlinktitle}
61
61
  function J(e){let t,n;return{c(){t=g("p"),n=b(/*helperlinktitle*/e[11]),k(t,"class","HelperTitle"),k(t,"part","HelperTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*helperlinktitle*/2048&t&&S(n,/*helperlinktitle*/e[11])},d(e){e&&p(t)}}}
62
- // (48:8) {#if paymenttitle}
62
+ // (49:8) {#if paymenttitle}
63
63
  function Q(e){let t,n;return{c(){t=g("p"),n=b(/*paymenttitle*/e[5]),k(t,"class","PaymentTitle"),k(t,"part","PaymentTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*paymenttitle*/32&t&&S(n,/*paymenttitle*/e[5])},d(e){e&&p(t)}}}
64
- // (39:8) {#if sponsortitle}
64
+ // (40:8) {#if sponsortitle}
65
65
  function ee(e){let t,n;return{c(){t=g("p"),n=b(/*sponsortitle*/e[2]),k(t,"class","SponsorTitle"),k(t,"part","SponsorTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*sponsortitle*/4&t&&S(n,/*sponsortitle*/e[2])},d(e){e&&p(t)}}}function te(t){let n;function r(e,t){/*sponsorimage*/
66
66
  return e[1]?q:/*paymentimage*/e[4]?K:/*vendorimage*/e[7]?X:/*helperlinkimage*/e[10]?Z:/*licenseimage*/e[13]?z:/*sociallinkimage*/e[16]?W:void 0}let i=r(t),o=i&&i(t);return{c(){n=g("div"),o&&o.c(),this.c=e,k(n,"class","ThumbnailContainer"),k(n,"part","ThumbnailContainer")},m(e,r){f(e,n,r),o&&o.m(n,null)
67
- /*div_binding*/,t[23](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()
68
- /*div_binding*/,t[23](null)}}}function ne(e,t,n){let r,{sponsorurl:i=""}=t,{sponsorimage:o=""}=t,{sponsortitle:s=""}=t,{paymenturl:a=""}=t,{paymentimage:l=""}=t,{paymenttitle:c=""}=t,{vendorurl:u=""}=t,{vendorimage:h=""}=t,{vendortitle:d=""}=t,{helperlinkurl:f=""}=t,{helperlinkimage:p=""}=t,{helperlinktitle:m=""}=t,{licenseurl:g=""}=t,{licenseimage:y=""}=t,{licensetitle:b=""}=t,{sociallinkurl:_=""}=t,{sociallinkimage:v=""}=t,{sociallinktitle:w=""}=t,{clientstyling:k=""}=t,{target:E="_self"}=t,{displaycolumn:S=""}=t,{helperlinkblank:T="false"}=t;return e.$$set=e=>{"sponsorurl"in e&&n(0,i=e.sponsorurl),"sponsorimage"in e&&n(1,o=e.sponsorimage),"sponsortitle"in e&&n(2,s=e.sponsortitle),"paymenturl"in e&&n(3,a=e.paymenturl),"paymentimage"in e&&n(4,l=e.paymentimage),"paymenttitle"in e&&n(5,c=e.paymenttitle),"vendorurl"in e&&n(6,u=e.vendorurl),"vendorimage"in e&&n(7,h=e.vendorimage),"vendortitle"in e&&n(8,d=e.vendortitle),"helperlinkurl"in e&&n(9,f=e.helperlinkurl),"helperlinkimage"in e&&n(10,p=e.helperlinkimage),"helperlinktitle"in e&&n(11,m=e.helperlinktitle),"licenseurl"in e&&n(12,g=e.licenseurl),"licenseimage"in e&&n(13,y=e.licenseimage),"licensetitle"in e&&n(14,b=e.licensetitle),"sociallinkurl"in e&&n(15,_=e.sociallinkurl),"sociallinkimage"in e&&n(16,v=e.sociallinkimage),"sociallinktitle"in e&&n(17,w=e.sociallinktitle),"clientstyling"in e&&n(21,k=e.clientstyling),"target"in e&&n(18,E=e.target),"displaycolumn"in e&&n(19,S=e.displaycolumn),"helperlinkblank"in e&&n(22,T=e.helperlinkblank)},e.$$.update=()=>{/*clientstyling*/2097152&e.$$.dirty&&k&&(()=>{let e=document.createElement("style");e.innerHTML=k,r.appendChild(e)})()},[i,o,s,a,l,c,u,h,d,f,p,m,g,y,b,_,v,w,E,S,r,k,T,function(e){A[e?"unshift":"push"]((()=>{r=e,n(20,r)}))}]}"function"==typeof HTMLElement&&(V=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);
67
+ /*div_binding*/,t[24](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()
68
+ /*div_binding*/,t[24](null)}}}function ne(e,t,n){let r,{sponsorurl:i=""}=t,{sponsorimage:o=""}=t,{sponsortitle:s=""}=t,{paymenturl:a=""}=t,{paymentimage:l=""}=t,{paymenttitle:u=""}=t,{vendorurl:c=""}=t,{vendorimage:h=""}=t,{vendortitle:d=""}=t,{helperlinkurl:f=""}=t,{helperlinkimage:p=""}=t,{helperlinktitle:m=""}=t,{licenseurl:g=""}=t,{licenseimage:y=""}=t,{licensetitle:b=""}=t,{sociallinkurl:_=""}=t,{sociallinkimage:v=""}=t,{sociallinktitle:w=""}=t,{clientstyling:k=""}=t,{target:E="_self"}=t,{displaycolumn:S=""}=t,{helperlinkblank:T="false"}=t,{baseurl:x=""}=t;return e.$$set=e=>{"sponsorurl"in e&&n(0,i=e.sponsorurl),"sponsorimage"in e&&n(1,o=e.sponsorimage),"sponsortitle"in e&&n(2,s=e.sponsortitle),"paymenturl"in e&&n(3,a=e.paymenturl),"paymentimage"in e&&n(4,l=e.paymentimage),"paymenttitle"in e&&n(5,u=e.paymenttitle),"vendorurl"in e&&n(6,c=e.vendorurl),"vendorimage"in e&&n(7,h=e.vendorimage),"vendortitle"in e&&n(8,d=e.vendortitle),"helperlinkurl"in e&&n(9,f=e.helperlinkurl),"helperlinkimage"in e&&n(10,p=e.helperlinkimage),"helperlinktitle"in e&&n(11,m=e.helperlinktitle),"licenseurl"in e&&n(12,g=e.licenseurl),"licenseimage"in e&&n(13,y=e.licenseimage),"licensetitle"in e&&n(14,b=e.licensetitle),"sociallinkurl"in e&&n(15,_=e.sociallinkurl),"sociallinkimage"in e&&n(16,v=e.sociallinkimage),"sociallinktitle"in e&&n(17,w=e.sociallinktitle),"clientstyling"in e&&n(22,k=e.clientstyling),"target"in e&&n(18,E=e.target),"displaycolumn"in e&&n(19,S=e.displaycolumn),"helperlinkblank"in e&&n(23,T=e.helperlinkblank),"baseurl"in e&&n(20,x=e.baseurl)},e.$$.update=()=>{/*clientstyling*/4194304&e.$$.dirty&&k&&(()=>{let e=document.createElement("style");e.innerHTML=k,r.appendChild(e)})()},[i,o,s,a,l,u,c,h,d,f,p,m,g,y,b,_,v,w,E,S,x,r,k,T,function(e){A[e?"unshift":"push"]((()=>{r=e,n(21,r)}))}]}"function"==typeof HTMLElement&&(V=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);
69
69
  // @ts-ignore todo: improve typings
70
70
  for(const e in this.$$.slotted)
71
71
  // @ts-ignore todo: improve typings
@@ -76,34 +76,34 @@ 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[26]=t[n],r}function ie(e,t,n){const r=e.slice();return r[26]=t[n],r}function oe(e,t,n){const r=e.slice();return r[26]=t[n],r}function se(e,t,n){const r=e.slice();return r[26]=t[n],r}function ae(e,t,n){const r=e.slice();return r[23]=t[n],r}function le(e,t,n){const r=e.slice();return r[20]=t[n],r}
80
- // (83:51)
81
- function ce(e){let t,n=/*footersociallinks*/e[14],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, target*/16576&i[0]){let o;for(n=/*footersociallinks*/e[14],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
- // (77:49)
83
- function ue(e){let t,n=/*footerlicenses*/e[13],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, target*/8384&i[0]){let o;for(n=/*footerlicenses*/e[13],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
- // (71:51)
85
- function he(e){let t,n,r=/*footerhelperlinks*/e[12],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[8]?"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, displaycolumn*/4416&o[0]){let n;for(r=/*footerhelperlinks*/e[12],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*/256&o[0]&&n!==(n="FooterSectionInnerContainer "+(/*displaycolumn*/"true"==e[8]?"DisplayColumn":""))&&k(t,"class",n)},d(e){e&&p(t),m(i,e)}}}
86
- // (65:47)
87
- function de(e){let t,n=/*footervendors*/e[11],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, target*/2240&i[0]){let o;for(n=/*footervendors*/e[11],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
- // (59:48)
89
- function fe(e){let t,n=/*footerpayment*/e[10],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, target*/1216&i[0]){let o;for(n=/*footerpayment*/e[10],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
- // (53:2) {#if sponsorflag && footersponsors.length}
91
- function pe(e){let t,n=/*footersponsors*/e[9],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, target*/704&i[0]){let o;for(n=/*footersponsors*/e[9],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
- // (85:6) {#each footersociallinks as footerData}
93
- function me(e){let t,n,r,i;return{c(){t=g("casino-footer-thumbnail"),E(t,"sociallinkurl",n=/*footerData*/e[26].socialLinkUrl),E(t,"sociallinkimage",r=/*footerData*/e[26].socialLinkImage),E(t,"sociallinktitle",i=/*footerData*/e[26].socialLinkTitle),E(t,"clientstyling",/*clientstyling*/e[6]),E(t,"target",/*target*/e[7])},m(e,n){f(e,t,n)},p(e,o){/*footersociallinks*/16384&o[0]&&n!==(n=/*footerData*/e[26].socialLinkUrl)&&E(t,"sociallinkurl",n),/*footersociallinks*/16384&o[0]&&r!==(r=/*footerData*/e[26].socialLinkImage)&&E(t,"sociallinkimage",r),/*footersociallinks*/16384&o[0]&&i!==(i=/*footerData*/e[26].socialLinkTitle)&&E(t,"sociallinktitle",i),/*clientstyling*/64&o[0]&&E(t,"clientstyling",/*clientstyling*/e[6]),/*target*/128&o[0]&&E(t,"target",/*target*/e[7])},d(e){e&&p(t)}}}
94
- // (79:6) {#each footerlicenses as footerData}
95
- function ge(e){let t,n,r,i;return{c(){t=g("casino-footer-thumbnail"),E(t,"licenseurl",n=/*footerData*/e[26].licenseUrl),E(t,"licenseimage",r=/*footerData*/e[26].licenseImage),E(t,"licensetitle",i=/*footerData*/e[26].licenseTitle),E(t,"clientstyling",/*clientstyling*/e[6]),E(t,"target",/*target*/e[7])},m(e,n){f(e,t,n)},p(e,o){/*footerlicenses*/8192&o[0]&&n!==(n=/*footerData*/e[26].licenseUrl)&&E(t,"licenseurl",n),/*footerlicenses*/8192&o[0]&&r!==(r=/*footerData*/e[26].licenseImage)&&E(t,"licenseimage",r),/*footerlicenses*/8192&o[0]&&i!==(i=/*footerData*/e[26].licenseTitle)&&E(t,"licensetitle",i),/*clientstyling*/64&o[0]&&E(t,"clientstyling",/*clientstyling*/e[6]),/*target*/128&o[0]&&E(t,"target",/*target*/e[7])},d(e){e&&p(t)}}}
96
- // (73:6) {#each footerhelperlinks as footerData}
97
- function ye(e){let t,n,r,i,o;return{c(){t=g("casino-footer-thumbnail"),E(t,"helperlinkurl",n=/*footerData*/e[26].helpLinkUrl),E(t,"helperlinkimage",r=/*footerData*/e[26].helpLinkImage),E(t,"helperlinktitle",i=/*footerData*/e[26].helpLinkTitle),E(t,"clientstyling",/*clientstyling*/e[6]),E(t,"displaycolumn",/*displaycolumn*/e[8]),E(t,"target",o=/*footerData*/1==e[26].helpLinkType?"_blank":"")},m(e,n){f(e,t,n)},p(e,s){/*footerhelperlinks*/4096&s[0]&&n!==(n=/*footerData*/e[26].helpLinkUrl)&&E(t,"helperlinkurl",n),/*footerhelperlinks*/4096&s[0]&&r!==(r=/*footerData*/e[26].helpLinkImage)&&E(t,"helperlinkimage",r),/*footerhelperlinks*/4096&s[0]&&i!==(i=/*footerData*/e[26].helpLinkTitle)&&E(t,"helperlinktitle",i),/*clientstyling*/64&s[0]&&E(t,"clientstyling",/*clientstyling*/e[6]),/*displaycolumn*/256&s[0]&&E(t,"displaycolumn",/*displaycolumn*/e[8]),/*footerhelperlinks*/4096&s[0]&&o!==(o=/*footerData*/1==e[26].helpLinkType?"_blank":"")&&E(t,"target",o)},d(e){e&&p(t)}}}
98
- // (67:6) {#each footervendors as footerData}
99
- function be(e){let t,n,r,i;return{c(){t=g("casino-footer-thumbnail"),E(t,"vendorurl",n=/*footerData*/e[26].gameVendorUrl),E(t,"vendorimage",r=/*footerData*/e[26].gameVendorImage),E(t,"vendortitle",i=/*footerData*/e[26].gameVendorTitle),E(t,"clientstyling",/*clientstyling*/e[6]),E(t,"target",/*target*/e[7])},m(e,n){f(e,t,n)},p(e,o){/*footervendors*/2048&o[0]&&n!==(n=/*footerData*/e[26].gameVendorUrl)&&E(t,"vendorurl",n),/*footervendors*/2048&o[0]&&r!==(r=/*footerData*/e[26].gameVendorImage)&&E(t,"vendorimage",r),/*footervendors*/2048&o[0]&&i!==(i=/*footerData*/e[26].gameVendorTitle)&&E(t,"vendortitle",i),/*clientstyling*/64&o[0]&&E(t,"clientstyling",/*clientstyling*/e[6]),/*target*/128&o[0]&&E(t,"target",/*target*/e[7])},d(e){e&&p(t)}}}
100
- // (61:4) {#each footerpayment as paymentData}
101
- function _e(e){let t,n,r,i;return{c(){t=g("casino-footer-thumbnail"),E(t,"paymenturl",n=/*paymentData*/e[23].paymentMethodUrl),E(t,"paymentimage",r=/*paymentData*/e[23].paymentMethodImage),E(t,"paymenttitle",i=/*paymentData*/e[23].paymentMethodTitle),E(t,"clientstyling",/*clientstyling*/e[6]),E(t,"target",/*target*/e[7])},m(e,n){f(e,t,n)},p(e,o){/*footerpayment*/1024&o[0]&&n!==(n=/*paymentData*/e[23].paymentMethodUrl)&&E(t,"paymenturl",n),/*footerpayment*/1024&o[0]&&r!==(r=/*paymentData*/e[23].paymentMethodImage)&&E(t,"paymentimage",r),/*footerpayment*/1024&o[0]&&i!==(i=/*paymentData*/e[23].paymentMethodTitle)&&E(t,"paymenttitle",i),/*clientstyling*/64&o[0]&&E(t,"clientstyling",/*clientstyling*/e[6]),/*target*/128&o[0]&&E(t,"target",/*target*/e[7])},d(e){e&&p(t)}}}
102
- // (55:6) {#each footersponsors as sponsorData}
103
- function ve(e){let t,n,r,i;return{c(){t=g("casino-footer-thumbnail"),E(t,"sponsorurl",n=/*sponsorData*/e[20].sponsorUrl),E(t,"sponsorimage",r=/*sponsorData*/e[20].sponsorImage),E(t,"sponsortitle",i=/*sponsorData*/e[20].sponsorTitle),E(t,"clientstyling",/*clientstyling*/e[6]),E(t,"target",/*target*/e[7])},m(e,n){f(e,t,n)},p(e,o){/*footersponsors*/512&o[0]&&n!==(n=/*sponsorData*/e[20].sponsorUrl)&&E(t,"sponsorurl",n),/*footersponsors*/512&o[0]&&r!==(r=/*sponsorData*/e[20].sponsorImage)&&E(t,"sponsorimage",r),/*footersponsors*/512&o[0]&&i!==(i=/*sponsorData*/e[20].sponsorTitle)&&E(t,"sponsortitle",i),/*clientstyling*/64&o[0]&&E(t,"clientstyling",/*clientstyling*/e[6]),/*target*/128&o[0]&&E(t,"target",/*target*/e[7])},d(e){e&&p(t)}}}function we(t){let n;function r(e,t){/*sponsorflag*/
104
- return e[0]&&/*footersponsors*/e[9].length?pe:/*paymentflag*/e[1]&&/*footerpayment*/e[10].length?fe:/*vendorflag*/e[2]&&/*footervendors*/e[11].length?de:/*helperflag*/e[3]&&/*footerhelperlinks*/e[12].length?he:/*licenseflag*/e[4]&&/*footerlicenses*/e[13].length?ue:/*socialflag*/e[5]&&/*footersociallinks*/e[14].length?ce: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[17](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[17](null)}}}function ke(e,t,n){let r,{sponsorflag:i=""}=t,{paymentflag:o=""}=t,{vendorflag:s=""}=t,{helperflag:a=""}=t,{licenseflag:l=""}=t,{socialflag:c=""}=t,{clientstyling:u=""}=t,{target:h=""}=t,{displaycolumn:d=""}=t,{category:f=""}=t,p=[],m=[],g=[],y=[],b=[],_=[];const v=e=>{e.data&&"FooterData"===e.data.type&&(n(9,p=e.data.sponsorsRepeater),n(10,m=e.data.paymentMethodsRepeater),n(11,g=e.data.gameVendorsRepeater),n(12,y=e.data.helpLinksRepeater),f&&n(12,y=y.filter((e=>e.key==f))),n(12,y=y[0].value),n(13,b=e.data.licensesRepeater),n(14,_=e.data.socialLinksRepeater))};return D((()=>(window.addEventListener("message",v,!1),()=>{window.removeEventListener("message",v)}))),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,c=e.socialflag),"clientstyling"in e&&n(6,u=e.clientstyling),"target"in e&&n(7,h=e.target),"displaycolumn"in e&&n(8,d=e.displaycolumn),"category"in e&&n(16,f=e.category)},e.$$.update=()=>{/*clientstyling*/64&e.$$.dirty[0]&&u&&(()=>{let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)})()},[i,o,s,a,l,c,u,h,d,p,m,g,y,b,_,r,f,function(e){A[e?"unshift":"push"]((()=>{r=e,n(15,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, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.FooterItem{display:inline-block;padding:0 15px}.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,.FooterItem .HelperTitle{font-size:9px;text-decoration:none;color:var(--emfe-w-color-gray-150, #828282);text-align:center}.FooterItem .HelperTitle{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,clientstyling:21,target:18,displaycolumn:19,helperlinkblank:22},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","clientstyling","target","displaycolumn","helperlinkblank"]}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 clientstyling(){return this.$$.ctx[21]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),B()}get displaycolumn(){return this.$$.ctx[19]}set displaycolumn(e){this.$$set({displaycolumn:e}),B()}get helperlinkblank(){return this.$$.ctx[22]}set helperlinkblank(e){this.$$set({helperlinkblank: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, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.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,clientstyling:6,target:7,displaycolumn:8,category:16},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","clientstyling","target","displaycolumn","category"]}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 clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get target(){return this.$$.ctx[7]}set target(e){this.$$set({target:e}),B()}get displaycolumn(){return this.$$.ctx[8]}set displaycolumn(e){this.$$set({displaycolumn:e}),B()}get category(){return this.$$.ctx[16]}set category(e){this.$$set({category:e}),B()}});var Ee="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==Ee&&Ee,Se="URLSearchParams"in Ee,Te="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 Ae(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 Pe(e){return"string"!=typeof e&&(e=String(e)),e}
79
+ function re(e,t,n){const r=e.slice();return r[27]=t[n],r}function ie(e,t,n){const r=e.slice();return r[27]=t[n],r}function oe(e,t,n){const r=e.slice();return r[27]=t[n],r}function se(e,t,n){const r=e.slice();return r[27]=t[n],r}function ae(e,t,n){const r=e.slice();return r[24]=t[n],r}function le(e,t,n){const r=e.slice();return r[21]=t[n],r}
80
+ // (84:51)
81
+ function ue(e){let t,n=/*footersociallinks*/e[15],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, target*/32960&i[0]){let o;for(n=/*footersociallinks*/e[15],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
+ // (78:49)
83
+ function ce(e){let t,n=/*footerlicenses*/e[14],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, target*/16576&i[0]){let o;for(n=/*footerlicenses*/e[14],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
+ // (72:51)
85
+ function he(e){let t,n,r=/*footerhelperlinks*/e[13],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[8]?"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(/*baseurl, footerhelperlinks, clientstyling, displaycolumn*/9024&o[0]){let n;for(r=/*footerhelperlinks*/e[13],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*/256&o[0]&&n!==(n="FooterSectionInnerContainer "+(/*displaycolumn*/"true"==e[8]?"DisplayColumn":""))&&k(t,"class",n)},d(e){e&&p(t),m(i,e)}}}
86
+ // (66:47)
87
+ function de(e){let t,n=/*footervendors*/e[12],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, target*/4288&i[0]){let o;for(n=/*footervendors*/e[12],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
+ // (60:48)
89
+ function fe(e){let t,n=/*footerpayment*/e[11],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, target*/2240&i[0]){let o;for(n=/*footerpayment*/e[11],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
+ // (54:2) {#if sponsorflag && footersponsors.length}
91
+ function pe(e){let t,n=/*footersponsors*/e[10],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, target*/1216&i[0]){let o;for(n=/*footersponsors*/e[10],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
+ // (86:6) {#each footersociallinks as footerData}
93
+ function me(e){let t,n,r,i;return{c(){t=g("casino-footer-thumbnail"),E(t,"sociallinkurl",n=/*footerData*/e[27].socialLinkUrl),E(t,"sociallinkimage",r=/*footerData*/e[27].socialLinkImage),E(t,"sociallinktitle",i=/*footerData*/e[27].socialLinkTitle),E(t,"clientstyling",/*clientstyling*/e[6]),E(t,"target",/*target*/e[7])},m(e,n){f(e,t,n)},p(e,o){/*footersociallinks*/32768&o[0]&&n!==(n=/*footerData*/e[27].socialLinkUrl)&&E(t,"sociallinkurl",n),/*footersociallinks*/32768&o[0]&&r!==(r=/*footerData*/e[27].socialLinkImage)&&E(t,"sociallinkimage",r),/*footersociallinks*/32768&o[0]&&i!==(i=/*footerData*/e[27].socialLinkTitle)&&E(t,"sociallinktitle",i),/*clientstyling*/64&o[0]&&E(t,"clientstyling",/*clientstyling*/e[6]),/*target*/128&o[0]&&E(t,"target",/*target*/e[7])},d(e){e&&p(t)}}}
94
+ // (80:6) {#each footerlicenses as footerData}
95
+ function ge(e){let t,n,r,i;return{c(){t=g("casino-footer-thumbnail"),E(t,"licenseurl",n=/*footerData*/e[27].licenseUrl),E(t,"licenseimage",r=/*footerData*/e[27].licenseImage),E(t,"licensetitle",i=/*footerData*/e[27].licenseTitle),E(t,"clientstyling",/*clientstyling*/e[6]),E(t,"target",/*target*/e[7])},m(e,n){f(e,t,n)},p(e,o){/*footerlicenses*/16384&o[0]&&n!==(n=/*footerData*/e[27].licenseUrl)&&E(t,"licenseurl",n),/*footerlicenses*/16384&o[0]&&r!==(r=/*footerData*/e[27].licenseImage)&&E(t,"licenseimage",r),/*footerlicenses*/16384&o[0]&&i!==(i=/*footerData*/e[27].licenseTitle)&&E(t,"licensetitle",i),/*clientstyling*/64&o[0]&&E(t,"clientstyling",/*clientstyling*/e[6]),/*target*/128&o[0]&&E(t,"target",/*target*/e[7])},d(e){e&&p(t)}}}
96
+ // (74:6) {#each footerhelperlinks as footerData}
97
+ function ye(e){let t,n,r,i,o;return{c(){t=g("casino-footer-thumbnail"),E(t,"baseurl",/*baseurl*/e[9]),E(t,"helperlinkurl",n=/*footerData*/e[27].helpLinkUrl),E(t,"helperlinkimage",r=/*footerData*/e[27].helpLinkImage),E(t,"helperlinktitle",i=/*footerData*/e[27].helpLinkTitle),E(t,"clientstyling",/*clientstyling*/e[6]),E(t,"displaycolumn",/*displaycolumn*/e[8]),E(t,"target",o=/*footerData*/1==e[27].helpLinkType?"_blank":"")},m(e,n){f(e,t,n)},p(e,s){/*baseurl*/512&s[0]&&E(t,"baseurl",/*baseurl*/e[9]),/*footerhelperlinks*/8192&s[0]&&n!==(n=/*footerData*/e[27].helpLinkUrl)&&E(t,"helperlinkurl",n),/*footerhelperlinks*/8192&s[0]&&r!==(r=/*footerData*/e[27].helpLinkImage)&&E(t,"helperlinkimage",r),/*footerhelperlinks*/8192&s[0]&&i!==(i=/*footerData*/e[27].helpLinkTitle)&&E(t,"helperlinktitle",i),/*clientstyling*/64&s[0]&&E(t,"clientstyling",/*clientstyling*/e[6]),/*displaycolumn*/256&s[0]&&E(t,"displaycolumn",/*displaycolumn*/e[8]),/*footerhelperlinks*/8192&s[0]&&o!==(o=/*footerData*/1==e[27].helpLinkType?"_blank":"")&&E(t,"target",o)},d(e){e&&p(t)}}}
98
+ // (68:6) {#each footervendors as footerData}
99
+ function be(e){let t,n,r,i;return{c(){t=g("casino-footer-thumbnail"),E(t,"vendorurl",n=/*footerData*/e[27].gameVendorUrl),E(t,"vendorimage",r=/*footerData*/e[27].gameVendorImage),E(t,"vendortitle",i=/*footerData*/e[27].gameVendorTitle),E(t,"clientstyling",/*clientstyling*/e[6]),E(t,"target",/*target*/e[7])},m(e,n){f(e,t,n)},p(e,o){/*footervendors*/4096&o[0]&&n!==(n=/*footerData*/e[27].gameVendorUrl)&&E(t,"vendorurl",n),/*footervendors*/4096&o[0]&&r!==(r=/*footerData*/e[27].gameVendorImage)&&E(t,"vendorimage",r),/*footervendors*/4096&o[0]&&i!==(i=/*footerData*/e[27].gameVendorTitle)&&E(t,"vendortitle",i),/*clientstyling*/64&o[0]&&E(t,"clientstyling",/*clientstyling*/e[6]),/*target*/128&o[0]&&E(t,"target",/*target*/e[7])},d(e){e&&p(t)}}}
100
+ // (62:4) {#each footerpayment as paymentData}
101
+ function _e(e){let t,n,r,i;return{c(){t=g("casino-footer-thumbnail"),E(t,"paymenturl",n=/*paymentData*/e[24].paymentMethodUrl),E(t,"paymentimage",r=/*paymentData*/e[24].paymentMethodImage),E(t,"paymenttitle",i=/*paymentData*/e[24].paymentMethodTitle),E(t,"clientstyling",/*clientstyling*/e[6]),E(t,"target",/*target*/e[7])},m(e,n){f(e,t,n)},p(e,o){/*footerpayment*/2048&o[0]&&n!==(n=/*paymentData*/e[24].paymentMethodUrl)&&E(t,"paymenturl",n),/*footerpayment*/2048&o[0]&&r!==(r=/*paymentData*/e[24].paymentMethodImage)&&E(t,"paymentimage",r),/*footerpayment*/2048&o[0]&&i!==(i=/*paymentData*/e[24].paymentMethodTitle)&&E(t,"paymenttitle",i),/*clientstyling*/64&o[0]&&E(t,"clientstyling",/*clientstyling*/e[6]),/*target*/128&o[0]&&E(t,"target",/*target*/e[7])},d(e){e&&p(t)}}}
102
+ // (56:6) {#each footersponsors as sponsorData}
103
+ function ve(e){let t,n,r,i;return{c(){t=g("casino-footer-thumbnail"),E(t,"sponsorurl",n=/*sponsorData*/e[21].sponsorUrl),E(t,"sponsorimage",r=/*sponsorData*/e[21].sponsorImage),E(t,"sponsortitle",i=/*sponsorData*/e[21].sponsorTitle),E(t,"clientstyling",/*clientstyling*/e[6]),E(t,"target",/*target*/e[7])},m(e,n){f(e,t,n)},p(e,o){/*footersponsors*/1024&o[0]&&n!==(n=/*sponsorData*/e[21].sponsorUrl)&&E(t,"sponsorurl",n),/*footersponsors*/1024&o[0]&&r!==(r=/*sponsorData*/e[21].sponsorImage)&&E(t,"sponsorimage",r),/*footersponsors*/1024&o[0]&&i!==(i=/*sponsorData*/e[21].sponsorTitle)&&E(t,"sponsortitle",i),/*clientstyling*/64&o[0]&&E(t,"clientstyling",/*clientstyling*/e[6]),/*target*/128&o[0]&&E(t,"target",/*target*/e[7])},d(e){e&&p(t)}}}function we(t){let n;function r(e,t){/*sponsorflag*/
104
+ return e[0]&&/*footersponsors*/e[10].length?pe:/*paymentflag*/e[1]&&/*footerpayment*/e[11].length?fe:/*vendorflag*/e[2]&&/*footervendors*/e[12].length?de:/*helperflag*/e[3]&&/*footerhelperlinks*/e[13].length?he:/*licenseflag*/e[4]&&/*footerlicenses*/e[14].length?ce:/*socialflag*/e[5]&&/*footersociallinks*/e[15].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[18](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[18](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,{clientstyling:c=""}=t,{target:h=""}=t,{displaycolumn:d=""}=t,{category:f=""}=t,{baseurl:p=""}=t,m=[],g=[],y=[],b=[],_=[],v=[];const w=e=>{e.data&&"FooterData"===e.data.type&&(n(10,m=e.data.sponsorsRepeater),n(11,g=e.data.paymentMethodsRepeater),n(12,y=e.data.gameVendorsRepeater),n(13,b=e.data.helpLinksRepeater),f&&n(13,b=b.filter((e=>e.key==f))),n(13,b=b[0].value),n(14,_=e.data.licensesRepeater),n(15,v=e.data.socialLinksRepeater))};return D((()=>(window.addEventListener("message",w,!1),()=>{window.removeEventListener("message",w)}))),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),"clientstyling"in e&&n(6,c=e.clientstyling),"target"in e&&n(7,h=e.target),"displaycolumn"in e&&n(8,d=e.displaycolumn),"category"in e&&n(17,f=e.category),"baseurl"in e&&n(9,p=e.baseurl)},e.$$.update=()=>{/*clientstyling*/64&e.$$.dirty[0]&&c&&(()=>{let e=document.createElement("style");e.innerHTML=c,r.appendChild(e)})()},[i,o,s,a,l,u,c,h,d,p,m,g,y,b,_,v,r,f,function(e){A[e?"unshift":"push"]((()=>{r=e,n(16,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, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.FooterItem{display:inline-block;padding:0 15px}.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,clientstyling:22,target:18,displaycolumn:19,helperlinkblank:23,baseurl:20},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","clientstyling","target","displaycolumn","helperlinkblank","baseurl"]}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 clientstyling(){return this.$$.ctx[22]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),B()}get displaycolumn(){return this.$$.ctx[19]}set displaycolumn(e){this.$$set({displaycolumn:e}),B()}get helperlinkblank(){return this.$$.ctx[23]}set helperlinkblank(e){this.$$set({helperlinkblank:e}),B()}get baseurl(){return this.$$.ctx[20]}set baseurl(e){this.$$set({baseurl: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, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.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,clientstyling:6,target:7,displaycolumn:8,category:17,baseurl:9},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","clientstyling","target","displaycolumn","category","baseurl"]}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 clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get target(){return this.$$.ctx[7]}set target(e){this.$$set({target:e}),B()}get displaycolumn(){return this.$$.ctx[8]}set displaycolumn(e){this.$$set({displaycolumn:e}),B()}get category(){return this.$$.ctx[17]}set category(e){this.$$set({category:e}),B()}get baseurl(){return this.$$.ctx[9]}set baseurl(e){this.$$set({baseurl:e}),B()}});var Ee="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==Ee&&Ee,Se="URLSearchParams"in Ee,Te="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 Ae(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 Pe(e){return"string"!=typeof e&&(e=String(e)),e}
107
107
  // Build a destructive iterator for the value list
108
108
  function He(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return Te&&(t[Symbol.iterator]=function(){return t}),t}function Ie(e){this.map={},e instanceof Ie?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 $e(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=$e(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
109
  /*
@@ -150,7 +150,7 @@ var Ze=self.fetch.bind(self),Xe=function(e,t){return Xe=Object.setPrototypeOf||{
150
150
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
151
151
  PERFORMANCE OF THIS SOFTWARE.
152
152
  ***************************************************************************** */
153
- /* global Reflect, Promise */function Ke(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Xe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function qe(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Je(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function Qe(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function et(e){return"function"==typeof e}function tt(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var nt=tt((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function rt(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var it=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=qe(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);var l=this.initialTeardown;if(et(l))try{l()}catch(e){i=e instanceof nt?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=qe(c),h=u.next();!h.done;h=u.next()){var d=h.value;try{at(d)}catch(e){i=null!=i?i:[],e instanceof nt?i=Qe(Qe([],Je(i)),Je(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new nt(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)at(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&rt(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&rt(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),ot=it.EMPTY;function st(e){return e instanceof it||e&&"closed"in e&&et(e.remove)&&et(e.add)&&et(e.unsubscribe)}function at(e){et(e)?e():e.unsubscribe()}var lt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ct={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=ct.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,Qe([e,t],Je(n))):setTimeout.apply(void 0,Qe([e,t],Je(n)))},clearTimeout:function(e){var t=ct.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ut(){}var ht=null;function dt(e){if(lt.useDeprecatedSynchronousErrorHandling){var t=!ht;if(t&&(ht={errorThrown:!1,error:null}),e(),t){var n=ht,r=n.errorThrown,i=n.error;if(ht=null,r)throw i}}else e()}var ft=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,st(t)&&t.add(n)):n.destination=_t,n}return Ke(t,e),t.create=function(e,t,n){return new yt(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(it),pt=Function.prototype.bind;function mt(e,t){return pt.call(e,t)}var gt=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){bt(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){bt(e)}else bt(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){bt(e)}},e}(),yt=function(e){function t(t,n,r){var i,o,s=e.call(this)||this;et(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&lt.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&mt(t.next,o),error:t.error&&mt(t.error,o),complete:t.complete&&mt(t.complete,o)}):i=t;return s.destination=new gt(i),s}return Ke(t,e),t}(ft);function bt(e){var t;t=e,ct.setTimeout((function(){throw t}))}var _t={closed:!0,next:ut,error:function(e){throw e},complete:ut},vt="function"==typeof Symbol&&Symbol.observable||"@@observable";function wt(e){return e}function kt(e){return 0===e.length?wt:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var Et=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,i=this,o=(r=e)&&r instanceof ft||function(e){return e&&et(e.next)&&et(e.error)&&et(e.complete)}(r)&&st(r)?e:new yt(e,t,n);return dt((function(){var e=i,t=e.operator,n=e.source;o.add(t?t.call(o,n):n?i._subscribe(o):i._trySubscribe(o))})),o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=St(t))((function(t,r){var i=new yt({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[vt]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return kt(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=St(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function St(e){var t;return null!==(t=null!=e?e:lt.Promise)&&void 0!==t?t:Promise}var Tt=tt((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),xt=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return Ke(t,e),t.prototype.lift=function(e){var t=new Mt(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Tt},t.prototype.next=function(e){var t=this;dt((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=qe(t.currentObservers),o=i.next();!o.done;o=i.next()){o.value.next(e)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;dt((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;dt((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,o=n.observers;return r||i?ot:(this.currentObservers=null,o.push(e),new it((function(){t.currentObservers=null,rt(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new Et;return e.source=this,e},t.create=function(e,t){return new Mt(e,t)},t}(Et),Mt=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return Ke(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:ot},t}(xt),Lt={now:function(){return(Lt.delegate||Date).now()},delegate:void 0},Dt=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Lt);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return Ke(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,o=n._infiniteTimeWindow,s=n._timestampProvider,a=n._windowTime;r||(i.push(t),!o&&i.push(s.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,o=(i?1:2)*t;if(t<1/0&&o<r.length&&r.splice(0,r.length-o),!i){for(var s=n.now(),a=0,l=1;l<r.length&&r[l]<=s;l+=2)a=l;a&&r.splice(0,a+1)}},t}(xt);let Ot=[],At={};
153
+ /* global Reflect, Promise */function Ke(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Xe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function qe(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Je(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function Qe(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function et(e){return"function"==typeof e}function tt(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var nt=tt((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function rt(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var it=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=qe(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);var l=this.initialTeardown;if(et(l))try{l()}catch(e){i=e instanceof nt?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=qe(u),h=c.next();!h.done;h=c.next()){var d=h.value;try{at(d)}catch(e){i=null!=i?i:[],e instanceof nt?i=Qe(Qe([],Je(i)),Je(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}if(i)throw new nt(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)at(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&rt(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&rt(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),ot=it.EMPTY;function st(e){return e instanceof it||e&&"closed"in e&&et(e.remove)&&et(e.add)&&et(e.unsubscribe)}function at(e){et(e)?e():e.unsubscribe()}var lt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ut={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=ut.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,Qe([e,t],Je(n))):setTimeout.apply(void 0,Qe([e,t],Je(n)))},clearTimeout:function(e){var t=ut.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ct(){}var ht=null;function dt(e){if(lt.useDeprecatedSynchronousErrorHandling){var t=!ht;if(t&&(ht={errorThrown:!1,error:null}),e(),t){var n=ht,r=n.errorThrown,i=n.error;if(ht=null,r)throw i}}else e()}var ft=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,st(t)&&t.add(n)):n.destination=_t,n}return Ke(t,e),t.create=function(e,t,n){return new yt(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(it),pt=Function.prototype.bind;function mt(e,t){return pt.call(e,t)}var gt=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){bt(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){bt(e)}else bt(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){bt(e)}},e}(),yt=function(e){function t(t,n,r){var i,o,s=e.call(this)||this;et(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&lt.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&mt(t.next,o),error:t.error&&mt(t.error,o),complete:t.complete&&mt(t.complete,o)}):i=t;return s.destination=new gt(i),s}return Ke(t,e),t}(ft);function bt(e){var t;t=e,ut.setTimeout((function(){throw t}))}var _t={closed:!0,next:ct,error:function(e){throw e},complete:ct},vt="function"==typeof Symbol&&Symbol.observable||"@@observable";function wt(e){return e}function kt(e){return 0===e.length?wt:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var Et=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,i=this,o=(r=e)&&r instanceof ft||function(e){return e&&et(e.next)&&et(e.error)&&et(e.complete)}(r)&&st(r)?e:new yt(e,t,n);return dt((function(){var e=i,t=e.operator,n=e.source;o.add(t?t.call(o,n):n?i._subscribe(o):i._trySubscribe(o))})),o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=St(t))((function(t,r){var i=new yt({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[vt]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return kt(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=St(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function St(e){var t;return null!==(t=null!=e?e:lt.Promise)&&void 0!==t?t:Promise}var Tt=tt((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),xt=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return Ke(t,e),t.prototype.lift=function(e){var t=new Mt(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Tt},t.prototype.next=function(e){var t=this;dt((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=qe(t.currentObservers),o=i.next();!o.done;o=i.next()){o.value.next(e)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;dt((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;dt((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,o=n.observers;return r||i?ot:(this.currentObservers=null,o.push(e),new it((function(){t.currentObservers=null,rt(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new Et;return e.source=this,e},t.create=function(e,t){return new Mt(e,t)},t}(Et),Mt=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return Ke(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:ot},t}(xt),Lt={now:function(){return(Lt.delegate||Date).now()},delegate:void 0},Dt=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Lt);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return Ke(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,o=n._infiniteTimeWindow,s=n._timestampProvider,a=n._windowTime;r||(i.push(t),!o&&i.push(s.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,o=(i?1:2)*t;if(t<1/0&&o<r.length&&r.splice(0,r.length-o),!i){for(var s=n.now(),a=0,l=1;l<r.length&&r[l]<=s;l+=2)a=l;a&&r.splice(0,a+1)}},t}(xt);let Ot=[],At={};
154
154
  /**
155
155
  * @name topic
156
156
  * @description A small wrapper over the rxjs to offer the topic method on top of it
@@ -165,13 +165,13 @@ const Pt=[];
165
165
  * @param {StartStopNotifier=}start start and stop notifications for subscriptions
166
166
  */
167
167
  function Ht(t,n=e){let r;const i=new Set;function s(e){if(o(t,e)&&(t=e,r)){// store is ready
168
- const e=!Pt.length;for(const e of i)e[1](),Pt.push(e,t);if(e){for(let e=0;e<Pt.length;e+=2)Pt[e][0](Pt[e+1]);Pt.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 It(t,n,o){const s=!Array.isArray(t),a=s?[t]:t,l=n.length<2;return u=t=>{let o=!1;const u=[];let h=0,d=e;const f=()=>{if(h)return;d();const r=n(s?u[0]:u,t);l?t(r):d=i(r)?r:e},p=a.map(((e,t)=>c(e,(e=>{u[t]=e,h&=~(1<<t),o&&f()}),(()=>{h|=1<<t}))));return o=!0,f(),function(){r(p),d()}},{subscribe:Ht(o,u).subscribe};
168
+ const e=!Pt.length;for(const e of i)e[1](),Pt.push(e,t);if(e){for(let e=0;e<Pt.length;e+=2)Pt[e][0](Pt[e+1]);Pt.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 It(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:Ht(o,c).subscribe};
169
169
  /**
170
170
  * Creates a `Readable` store that allows reading by subscription.
171
171
  * @param value initial value
172
172
  * @param {StartStopNotifier}start start and stop notifications for subscriptions
173
173
  */
174
- var u}var Ft=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===$t}(e)}
174
+ var c}var Ft=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===$t}(e)}
175
175
  // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
176
176
  (e)};var $t="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Ct(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ut((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function Nt(e,t,n){return e.concat(t).map((function(e){return Ct(e,n)}))}function Bt(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function Rt(e,t){try{return t in e}catch(e){return!1}}
177
177
  // Protects from prototype poisoning and unexpected merging up the prototype chain.
@@ -282,7 +282,7 @@ e[e.pound=7]="pound",
282
282
  /**
283
283
  * XML-like tag
284
284
  */
285
- e[e.tag=8]="tag"}(zt||(zt={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(Zt||(Zt={}));var cn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,un=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
285
+ e[e.tag=8]="tag"}(zt||(zt={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(Zt||(Zt={}));var un=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,cn=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
286
286
  /**
287
287
  * https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
288
288
  * Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js
@@ -294,7 +294,7 @@ e[e.tag=8]="tag"}(zt||(zt={})),function(e){e[e.number=0]="number",e[e.dateTime=1
294
294
  * @public
295
295
  * @param skeleton skeleton string
296
296
  */
297
- function hn(e){var t={};return e.replace(un,(function(e){var n=e.length;switch(e[0]){
297
+ function hn(e){var t={};return e.replace(cn,(function(e){var n=e.length;switch(e[0]){
298
298
  // Era
299
299
  case"G":t.era=4===n?"long":5===n?"narrow":"short";break;
300
300
  // Year
@@ -375,7 +375,7 @@ e.hourCycles.length&&(
375
375
  // @ts-ignore
376
376
  t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}
377
377
  // TODO: Once hourCycle is fully supported remove the following with data generation
378
- var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(En[n||""]||En[r||""]||En["".concat(r,"-001")]||En["001"])[0]}var Tn=new RegExp("^".concat(cn.source,"*")),xn=new RegExp("".concat(cn.source,"*$"));function Mn(e,t){return{start:e,end:t}}
378
+ var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(En[n||""]||En[r||""]||En["".concat(r,"-001")]||En["001"])[0]}var Tn=new RegExp("^".concat(un.source,"*")),xn=new RegExp("".concat(un.source,"*$"));function Mn(e,t){return{start:e,end:t}}
379
379
  // #region Ponyfills
380
380
  // Consolidate these variables up top for easier toggling during debugging
381
381
  var Ln=!!String.prototype.startsWith,Dn=!!String.fromCodePoint,On=!!Object.fromEntries,An=!!String.prototype.codePointAt,Pn=!!String.prototype.trimStart,Hn=!!String.prototype.trimEnd,In=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Fn=!0;try{
@@ -482,17 +482,17 @@ return this.error(Wt.EXPECT_ARGUMENT_TYPE,Mn(o,a));case"number":case"date":case"
482
482
  // Parse this range:
483
483
  // {name, number, style}
484
484
  // ^-------^
485
- this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(f=Un(y.val)).length)return this.error(Wt.EXPECT_ARGUMENT_STYLE,Mn(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:Mn(c,this.clonePosition())}}if((b=this.tryParseArgumentClose(r)).err)return b;var u=Mn(r,this.clonePosition());
485
+ this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(f=Un(y.val)).length)return this.error(Wt.EXPECT_ARGUMENT_STYLE,Mn(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:Mn(u,this.clonePosition())}}if((b=this.tryParseArgumentClose(r)).err)return b;var c=Mn(r,this.clonePosition());
486
486
  // Extract style or skeleton
487
487
  if(l&&Cn(null==l?void 0:l.style,"::",0)){
488
488
  // Skeleton starts with `::`.
489
- var h=Yn(l.style.slice(2));if("number"===s)return(y=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?y:{val:{type:zt.number,value:n,location:u,style:y.val},err:null};if(0===h.length)return this.error(Wt.EXPECT_DATE_TIME_SKELETON,u);var d=h;
489
+ var h=Yn(l.style.slice(2));if("number"===s)return(y=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?y:{val:{type:zt.number,value:n,location:c,style:y.val},err:null};if(0===h.length)return this.error(Wt.EXPECT_DATE_TIME_SKELETON,c);var d=h;
490
490
  // Get "best match" pattern only if locale is passed, if not, let it
491
491
  // pass as-is where `parseDateTimeSkeleton()` will throw an error
492
492
  // for unsupported patterns.
493
- this.locale&&(d=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=Sn(t);for("H"!=l&&"k"!=l||(a=0);a-- >0;)n+="a";for(;s-- >0;)n=l+n}else n+="J"===i?"H":i}return n}(h,this.locale));var f={type:Zt.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?hn(d):{}};return{val:{type:"date"===s?zt.date:zt.time,value:n,location:u,style:f},err:null}}
493
+ this.locale&&(d=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=Sn(t);for("H"!=l&&"k"!=l||(a=0);a-- >0;)n+="a";for(;s-- >0;)n=l+n}else n+="J"===i?"H":i}return n}(h,this.locale));var f={type:Zt.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?hn(d):{}};return{val:{type:"date"===s?zt.date:zt.time,value:n,location:c,style:f},err:null}}
494
494
  // Regular style or no style.
495
- return{val:{type:"number"===s?zt.number:"date"===s?zt.date:zt.time,value:n,location:u,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":
495
+ return{val:{type:"number"===s?zt.number:"date"===s?zt.date:zt.time,value:n,location:c,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":
496
496
  // Parse this range:
497
497
  // {name, plural, options}
498
498
  // ^---------^
@@ -516,7 +516,7 @@ e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePos
516
516
  // Find the end of the quoted literal text.
517
517
  this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Wt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Mn(n,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
518
518
  // Parse the skeleton
519
- for(var t=e.split(dn).filter((function(e){return e.length>0})),n=[],r=0,i=t;r<i.length;r++){var o=i[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var s=o[0],a=o.slice(1),l=0,c=a;l<c.length;l++)if(0===c[l].length)throw new Error("Invalid number skeleton");n.push({stem:s,options:a})}return n}(e)}catch(e){return this.error(Wt.INVALID_NUMBER_SKELETON,t)}return{val:{type:Zt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?wn(n):{}},err:null}},
519
+ for(var t=e.split(dn).filter((function(e){return e.length>0})),n=[],r=0,i=t;r<i.length;r++){var o=i[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var s=o[0],a=o.slice(1),l=0,u=a;l<u.length;l++)if(0===u[l].length)throw new Error("Invalid number skeleton");n.push({stem:s,options:a})}return n}(e)}catch(e){return this.error(Wt.INVALID_NUMBER_SKELETON,t)}return{val:{type:Zt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?wn(n):{}},err:null}},
520
520
  /**
521
521
  * @param nesting_level The current nesting level of messages.
522
522
  * This can be positive when parsing message fragment in select or plural argument options.
@@ -531,11 +531,11 @@ e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){
531
531
  // Parse:
532
532
  // one {one apple}
533
533
  // ^--^
534
- for(var i,o=!1,s=[],a=new Set,l=r.value,c=r.location;;){if(0===l.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
534
+ for(var i,o=!1,s=[],a=new Set,l=r.value,u=r.location;;){if(0===l.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
535
535
  // Try parse `={number}` selector
536
- var h=this.tryParseDecimalInteger(Wt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Wt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;c=Mn(u,this.clonePosition()),l=this.message.slice(u.offset,this.offset())}
536
+ var h=this.tryParseDecimalInteger(Wt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Wt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=Mn(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}
537
537
  // Duplicate selector clauses
538
- if(a.has(l))return this.error("select"===t?Wt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Wt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(o=!0),
538
+ if(a.has(l))return this.error("select"===t?Wt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Wt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(o=!0),
539
539
  // Parse:
540
540
  // one {one apple}
541
541
  // ^----------^
@@ -543,7 +543,7 @@ this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.err
543
543
  // Keep track of the existing selectors
544
544
  a.add(l),
545
545
  // Prep next selector clause.
546
- this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,c=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?In(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(){
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?In(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
547
  // This is much faster than `Object.assign` or spread.
548
548
  return{offset:this.position.offset,line:this.position.line,column:this.position.column}},
549
549
  /**
@@ -617,24 +617,24 @@ e.MISSING_VALUE="MISSING_VALUE",
617
617
  // When value supplied is invalid
618
618
  e.INVALID_VALUE="INVALID_VALUE",
619
619
  // When we need specific Intl API but it's not available
620
- e.MISSING_INTL_API="MISSING_INTL_API"}(or||(or={}));var lr,cr=/** @class */function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return Vt(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),ur=/** @class */function(e){function t(t,n,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),or.INVALID_VALUE,i)||this}return Vt(t,e),t}(cr),hr=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),or.INVALID_VALUE,r)||this}return Vt(t,e),t}(cr),dr=/** @class */function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),or.MISSING_VALUE,n)||this}return Vt(t,e),t}(cr);function fr(e){return"function"==typeof e}
620
+ e.MISSING_INTL_API="MISSING_INTL_API"}(or||(or={}));var lr,ur=/** @class */function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return Vt(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),cr=/** @class */function(e){function t(t,n,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),or.INVALID_VALUE,i)||this}return Vt(t,e),t}(ur),hr=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),or.INVALID_VALUE,r)||this}return Vt(t,e),t}(ur),dr=/** @class */function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),or.MISSING_VALUE,n)||this}return Vt(t,e),t}(ur);function fr(e){return"function"==typeof e}
621
621
  // TODO(skeleton): add skeleton support
622
622
  function pr(e,t,n,r,i,o,
623
623
  // For debugging
624
624
  s){
625
625
  // Hot path for straight simple msg translations
626
- if(1===e.length&&qt(e[0]))return[{type:lr.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];
626
+ if(1===e.length&&qt(e[0]))return[{type:lr.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];
627
627
  // Exit early for string parts.
628
- if(qt(u))a.push({type:lr.literal,value:u.value});else
628
+ if(qt(c))a.push({type:lr.literal,value:c.value});else
629
629
  // TODO: should this part be literal type?
630
630
  // Replace `#` in plural rules with the actual numeric value.
631
- if(on(u))"number"==typeof o&&a.push({type:lr.literal,value:n.getNumberFormat(t).format(o)});else{var h=u.value;
631
+ if(on(c))"number"==typeof o&&a.push({type:lr.literal,value:n.getNumberFormat(t).format(o)});else{var h=c.value;
632
632
  // Enforce that all required values are provided by the caller.
633
- if(!i||!(h in i))throw new dr(h,s);var d=i[h];if(Jt(u))d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),a.push({type:"string"==typeof d?lr.literal:lr.object,value:d});else
633
+ if(!i||!(h in i))throw new dr(h,s);var d=i[h];if(Jt(c))d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),a.push({type:"string"==typeof d?lr.literal:lr.object,value:d});else
634
634
  // Recursively format plural and select parts' option — which can be a
635
635
  // nested pattern structure. The choosing of the option to use is
636
636
  // abstracted-by and delegated-to the part helper object.
637
- if(en(u)){var f="string"==typeof u.style?r.date[u.style]:ln(u.style)?u.style.parsedOptions:void 0;a.push({type:lr.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(tn(u)){f="string"==typeof u.style?r.time[u.style]:ln(u.style)?u.style.parsedOptions:r.time.medium;a.push({type:lr.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(Qt(u)){(f="string"==typeof u.style?r.number[u.style]:an(u.style)?u.style.parsedOptions:void 0)&&f.scale&&(d*=f.scale||1),a.push({type:lr.literal,value:n.getNumberFormat(t,f).format(d)})}else{if(sn(u)){var p=u.children,m=u.value,g=i[m];if(!fr(g))throw new hr(m,"function",s);var y=g(pr(p,t,n,r,i,o).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),a.push.apply(a,y.map((function(e){return{type:"string"==typeof e?lr.literal:lr.object,value:e}})))}if(nn(u)){if(!(b=u.options[d]||u.options.other))throw new ur(u.value,d,Object.keys(u.options),s);a.push.apply(a,pr(b.value,t,n,r,i))}else if(rn(u)){var b;if(!(b=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new cr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',or.MISSING_INTL_API,s);var _=n.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0));b=u.options[_]||u.options.other}if(!b)throw new ur(u.value,d,Object.keys(u.options),s);a.push.apply(a,pr(b.value,t,n,r,i,d-(u.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===lr.literal&&t.type===lr.literal?n.value+=t.value:e.push(t),e}),[])}(a)}
637
+ if(en(c)){var f="string"==typeof c.style?r.date[c.style]:ln(c.style)?c.style.parsedOptions:void 0;a.push({type:lr.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(tn(c)){f="string"==typeof c.style?r.time[c.style]:ln(c.style)?c.style.parsedOptions:r.time.medium;a.push({type:lr.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(Qt(c)){(f="string"==typeof c.style?r.number[c.style]:an(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(d*=f.scale||1),a.push({type:lr.literal,value:n.getNumberFormat(t,f).format(d)})}else{if(sn(c)){var p=c.children,m=c.value,g=i[m];if(!fr(g))throw new hr(m,"function",s);var y=g(pr(p,t,n,r,i,o).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),a.push.apply(a,y.map((function(e){return{type:"string"==typeof e?lr.literal:lr.object,value:e}})))}if(nn(c)){if(!(b=c.options[d]||c.options.other))throw new cr(c.value,d,Object.keys(c.options),s);a.push.apply(a,pr(b.value,t,n,r,i))}else if(rn(c)){var b;if(!(b=c.options["=".concat(d)])){if(!Intl.PluralRules)throw new ur('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',or.MISSING_INTL_API,s);var _=n.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));b=c.options[_]||c.options.other}if(!b)throw new cr(c.value,d,Object.keys(c.options),s);a.push.apply(a,pr(b.value,t,n,r,i,d-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===lr.literal&&t.type===lr.literal?n.value+=t.value:e.push(t),e}),[])}(a)}
638
638
  /*
639
639
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
640
640
  Copyrights licensed under the New BSD License.
@@ -673,7 +673,7 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
673
673
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
674
674
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
675
675
  PERFORMANCE OF THIS SOFTWARE.
676
- ***************************************************************************** */function Pr(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 Hr={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 Ir(){return Hr}const Fr=Ht(!1);let $r;const Cr=Ht(null);function Nr(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function Br(e,t=Ir().fallbackLocale){const n=Nr(e);return t?[...new Set([...n,...Nr(t)])]:n}function Rr(){return null!=$r?$r:void 0}Cr.subscribe((e=>{$r=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(Sr(n))return n}}(e)&&Dr(e)){const{loadingDelay:t}=Ir();let n;return"undefined"!=typeof window&&null!=Rr()&&t?n=window.setTimeout((()=>Fr.set(!0)),t):Fr.set(!0),Ar(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}=Ir();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=Pr(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=Pr(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=Pr(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,Ir().formats,{ignoreTag:Ir().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:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=wr(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!==(o=null!==(i=null===(r=(n=Ir()).handleMissingMessage)||void 0===r?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))&&void 0!==i?i:c)&&void 0!==o?o:e;if(!a)return u;let h=u;try{h=zr(u,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=Pr(e,["locale"]);return Wr(Object.assign({locale:t},n))})(t).format(e),Kr=(e,t)=>((e={})=>{var{locale:t=Rr()}=e,n=Pr(e,["locale"]);return Vr(Object.assign({locale:t},n))})(t).format(e),qr=(e,t)=>((e={})=>{var{locale:t=Rr()}=e,n=Pr(e,["locale"]);return jr(Object.assign({locale:t},n))})(t).format(e),Jr=(e,t=Rr())=>wr(e,t),Qr=It([Yr,Er],(()=>Zr));It([Yr],(()=>Xr)),It([Yr],(()=>Kr)),It([Yr],(()=>qr)),It([Yr,Er],(()=>Jr)),window.emWidgets={topic:(e,t=0)=>{if(-1==Ot.indexOf(e)){let n=new Dt(t);At[e]=n,Ot.push(e)}return At[e]}};
676
+ ***************************************************************************** */function Pr(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 Hr={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 Ir(){return Hr}const Fr=Ht(!1);let $r;const Cr=Ht(null);function Nr(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function Br(e,t=Ir().fallbackLocale){const n=Nr(e);return t?[...new Set([...n,...Nr(t)])]:n}function Rr(){return null!=$r?$r:void 0}Cr.subscribe((e=>{$r=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(Sr(n))return n}}(e)&&Dr(e)){const{loadingDelay:t}=Ir();let n;return"undefined"!=typeof window&&null!=Rr()&&t?n=window.setTimeout((()=>Fr.set(!0)),t):Fr.set(!0),Ar(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}=Ir();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=Pr(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=Pr(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=Pr(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,Ir().formats,{ignoreTag:Ir().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=Ir()).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=Pr(e,["locale"]);return Wr(Object.assign({locale:t},n))})(t).format(e),Kr=(e,t)=>((e={})=>{var{locale:t=Rr()}=e,n=Pr(e,["locale"]);return Vr(Object.assign({locale:t},n))})(t).format(e),qr=(e,t)=>((e={})=>{var{locale:t=Rr()}=e,n=Pr(e,["locale"]);return jr(Object.assign({locale:t},n))})(t).format(e),Jr=(e,t=Rr())=>wr(e,t),Qr=It([Yr,Er],(()=>Zr));It([Yr],(()=>Xr)),It([Yr],(()=>Kr)),It([Yr],(()=>qr)),It([Yr,Er],(()=>Jr)),window.emWidgets={topic:(e,t=0)=>{if(-1==Ot.indexOf(e)){let n=new Dt(t);At[e]=n,Ot.push(e)}return At[e]}};
677
677
  /**
678
678
  * @name isMobile
679
679
  * @description A method that returns if the browser used to access the app is from a mobile device or not
@@ -691,27 +691,27 @@ const ei=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/i
691
691
  /*button_binding*/t[10](i),
692
692
  /*div1_binding*/t[11](n)},p(e,[t]){/*customtext, $_*/33&t&&a!==(a=/*customtext*/(e[0]||/*$_*/e[5]("panicButton.panicButtonString"))+"")&&S(o,a),/*panicLoading*/16&t&&x(i,"PanicButtonAnimation",/*panicLoading*/e[4]),/*alternativestyling*/2&t&&s!==(s=/*alternativestyling*/"true"==e[1]?"PanicButtonV2":"")&&k(n,"class",s)},i:e,o:e,d(e){e&&p(n)
693
693
  /*button_binding*/,t[10](null),
694
- /*div1_binding*/t[11](null)}}}function ri(e,t,n){let r;u(e,Qr,(e=>n(5,r=e)));let i,o,s,{lang:a="en"}=t,{customtext:l=""}=t,{clientstyling:c=""}=t,{clientstylingurl:h=""}=t,{alternativestyling:d=""}=t,f=!1,p=0,m=window.navigator.userAgent;Object.keys(ti).forEach((e=>{!function(e,t){xr(e,t)}(e,ti[e])}));const g=()=>{p=0,n(4,f=!0),s=setInterval((()=>{p++,p>=2&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(s))}),1e3)},y=()=>{n(4,f=!1),clearInterval(s)};return D((()=>()=>{n(4,f=!1),null==i||i.removeEventListener("mousedown",g),null==i||i.removeEventListener("touchstart",g),
694
+ /*div1_binding*/t[11](null)}}}function ri(e,t,n){let r;c(e,Qr,(e=>n(5,r=e)));let i,o,s,{lang:a="en"}=t,{customtext:l=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{alternativestyling:d=""}=t,f=!1,p=0,m=window.navigator.userAgent;Object.keys(ti).forEach((e=>{!function(e,t){xr(e,t)}(e,ti[e])}));const g=()=>{p=0,n(4,f=!0),s=setInterval((()=>{p++,p>=2&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(s))}),1e3)},y=()=>{n(4,f=!1),clearInterval(s)};return D((()=>()=>{n(4,f=!1),null==i||i.removeEventListener("mousedown",g),null==i||i.removeEventListener("touchstart",g),
695
695
  // on mouseup stop interval count
696
- null==i||i.removeEventListener("mouseup",y),null==i||i.removeEventListener("touchend",y)})),e.$$set=e=>{"lang"in e&&n(7,a=e.lang),"customtext"in e&&n(0,l=e.customtext),"clientstyling"in e&&n(8,c=e.clientstyling),"clientstylingurl"in e&&n(9,h=e.clientstylingurl),"alternativestyling"in e&&n(1,d=e.alternativestyling)},e.$$.update=()=>{var t;/*panicButton*/4&e.$$.dirty&&i&&(null==i||i.addEventListener("mousedown",g,!1),null==i||i.addEventListener("touchstart",g,!1),
696
+ null==i||i.removeEventListener("mouseup",y),null==i||i.removeEventListener("touchend",y)})),e.$$set=e=>{"lang"in e&&n(7,a=e.lang),"customtext"in e&&n(0,l=e.customtext),"clientstyling"in e&&n(8,u=e.clientstyling),"clientstylingurl"in e&&n(9,h=e.clientstylingurl),"alternativestyling"in e&&n(1,d=e.alternativestyling)},e.$$.update=()=>{var t;/*panicButton*/4&e.$$.dirty&&i&&(null==i||i.addEventListener("mousedown",g,!1),null==i||i.addEventListener("touchstart",g,!1),
697
697
  // on mouseup stop interval count
698
- null==i||i.addEventListener("mouseup",y,!1),null==i||i.addEventListener("touchend",y,!1)),/*lang*/128&e.$$.dirty&&a&&(t=a,Yr.set(t)),/*clientstyling*/256&e.$$.dirty&&c&&(()=>{let e=document.createElement("style");e.innerHTML=c,o.appendChild(e)})(),/*clientstylingurl*/512&e.$$.dirty&&h&&(()=>{let e=new URL(h),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,o&&setTimeout((()=>{o.appendChild(t)}),1)}))})()},[l,d,i,o,f,r,m,a,c,h,function(e){A[e?"unshift":"push"]((()=>{i=e,n(2,i)}))},function(e){A[e?"unshift":"push"]((()=>{o=e,n(3,o)}))}]}!customElements.get("panic-button")&&customElements.define("panic-button",class extends V{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{border-radius:5px;border:1px solid #D0046C;background-color:#D0046C;font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid #D0046C;background-color:#D0046C;width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:#D0046C;width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{border:1px solid #F57F17;background-color:#F57F17;width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid #F57F17;background-color:#F57F17;font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:#F57F17;width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}</style>",j(this,{target:this.shadowRoot,props:M(this.attributes),customElement:!0},ri,ni,o,{lang:7,customtext:0,clientstyling:8,clientstylingurl:9,alternativestyling:1},null),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["lang","customtext","clientstyling","clientstylingurl","alternativestyling"]}get lang(){return this.$$.ctx[7]}set lang(e){this.$$set({lang:e}),B()}get customtext(){return this.$$.ctx[0]}set customtext(e){this.$$set({customtext:e}),B()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get alternativestyling(){return this.$$.ctx[1]}set alternativestyling(e){this.$$set({alternativestyling:e}),B()}});var ii=function(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return ze(null==t&&n.path)}},n.exports),n.exports}((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}
698
+ null==i||i.addEventListener("mouseup",y,!1),null==i||i.addEventListener("touchend",y,!1)),/*lang*/128&e.$$.dirty&&a&&(t=a,Yr.set(t)),/*clientstyling*/256&e.$$.dirty&&u&&(()=>{let e=document.createElement("style");e.innerHTML=u,o.appendChild(e)})(),/*clientstylingurl*/512&e.$$.dirty&&h&&(()=>{let e=new URL(h),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,o&&setTimeout((()=>{o.appendChild(t)}),1)}))})()},[l,d,i,o,f,r,m,a,u,h,function(e){A[e?"unshift":"push"]((()=>{i=e,n(2,i)}))},function(e){A[e?"unshift":"push"]((()=>{o=e,n(3,o)}))}]}!customElements.get("panic-button")&&customElements.define("panic-button",class extends V{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{border-radius:5px;border:1px solid #D0046C;background-color:#D0046C;font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid #D0046C;background-color:#D0046C;width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:#D0046C;width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{border:1px solid #F57F17;background-color:#F57F17;width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid #F57F17;background-color:#F57F17;font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:#F57F17;width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}</style>",j(this,{target:this.shadowRoot,props:M(this.attributes),customElement:!0},ri,ni,o,{lang:7,customtext:0,clientstyling:8,clientstylingurl:9,alternativestyling:1},null),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["lang","customtext","clientstyling","clientstylingurl","alternativestyling"]}get lang(){return this.$$.ctx[7]}set lang(e){this.$$set({lang:e}),B()}get customtext(){return this.$$.ctx[0]}set customtext(e){this.$$set({customtext:e}),B()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get alternativestyling(){return this.$$.ctx[1]}set alternativestyling(e){this.$$set({alternativestyling:e}),B()}});var ii=function(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return ze(null==t&&n.path)}},n.exports),n.exports}((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}
699
699
  // This is done to register the method called with moment()
700
700
  // without creating circular dependencies.
701
701
  function i(e){t=e}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){
702
702
  // IE8 will treat undefined and null as object if it wasn't for
703
703
  // input != null
704
- return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(a(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var n,r=[],i=e.length;for(n=0;n<i;++n)r.push(t(e[n],n));return r}function f(e,t){for(var n in t)a(t,n)&&(e[n]=t[n]);return a(t,"toString")&&(e.toString=t.toString),a(t,"valueOf")&&(e.valueOf=t.valueOf),e}function p(e,t,n,r){return Xn(e,t,n,r,!0).utc()}function m(){
704
+ return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(a(e,t))return!1;return!0}function u(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var n,r=[],i=e.length;for(n=0;n<i;++n)r.push(t(e[n],n));return r}function f(e,t){for(var n in t)a(t,n)&&(e[n]=t[n]);return a(t,"toString")&&(e.toString=t.toString),a(t,"valueOf")&&(e.valueOf=t.valueOf),e}function p(e,t,n,r){return Xn(e,t,n,r,!0).utc()}function m(){
705
705
  // We need to deep clone this object.
706
706
  return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function g(e){return null==e._pf&&(e._pf=m()),e._pf}function y(e){if(null==e._isValid){var t=g(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function b(e){var t=p(NaN);return null!=e?f(g(t),e):g(t).userInvalidated=!0,t}
707
707
  // Plugins that add properties should also add the key here (null value),
708
708
  // so we can properly clone ourselves.
709
- n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var _=r.momentProperties=[],v=!1;function w(e,t){var n,r,i,o=_.length;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=g(t)),c(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)c(i=t[r=_[n]])||(e[r]=i);return e}
709
+ n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var _=r.momentProperties=[],v=!1;function w(e,t){var n,r,i,o=_.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=g(t)),u(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)u(i=t[r=_[n]])||(e[r]=i);return e}
710
710
  // Moment prototype object
711
711
  function k(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),
712
712
  // Prevent infinite loop in case updateOffset creates new moment
713
713
  // objects.
714
- !1===v&&(v=!0,r.updateOffset(this),v=!1)}function E(e){return e instanceof k||null!=e&&null!=e._isAMomentObject}function S(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function T(e,t){var n=!0;return f((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,o,s,l=[],c=arguments.length;for(o=0;o<c;o++){if(i="","object"==typeof arguments[o]){for(s in i+="\n["+o+"] ",arguments[0])a(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[o];l.push(i)}S(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var x,M={};function L(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),M[e]||(S(t),M[e]=!0)}function D(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function O(e){var t,n;for(n in e)a(e,n)&&(D(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,
714
+ !1===v&&(v=!0,r.updateOffset(this),v=!1)}function E(e){return e instanceof k||null!=e&&null!=e._isAMomentObject}function S(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function T(e,t){var n=!0;return f((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,o,s,l=[],u=arguments.length;for(o=0;o<u;o++){if(i="","object"==typeof arguments[o]){for(s in i+="\n["+o+"] ",arguments[0])a(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[o];l.push(i)}S(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var x,M={};function L(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),M[e]||(S(t),M[e]=!0)}function D(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function O(e){var t,n;for(n in e)a(e,n)&&(D(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,
715
715
  // Lenient ordinal parsing accepts just a number in addition to
716
716
  // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
717
717
  // TODO: Remove "ordinalParse" fallback in next major release.
@@ -724,7 +724,7 @@ r[n]=f({},r[n]));return r}function P(e){null!=e&&this.set(e)}r.suppressDeprecati
724
724
  // callback: function () { this.month() + 1 }
725
725
  function R(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(B[e]=i),t&&(B[t[0]]=function(){return F(i.apply(this,arguments),t[1],t[2])}),n&&(B[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Y(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,r=e.match($);for(t=0,n=r.length;t<n;t++)B[r[t]]?r[t]=B[r[t]]:r[t]=Y(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=D(r[i])?r[i].call(t,e):r[i];return o}}
726
726
  // format date using native date object
727
- function G(e,t){return e.isValid()?(t=j(t,e.localeData()),N[t]=N[t]||U(t),N[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(C.lastIndex=0;n>=0&&C.test(e);)e=e.replace(C,r),C.lastIndex=0,n-=1;return e}var V={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function W(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match($).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var z="Invalid date";function Z(){return this._invalidDate}var X="%d",K=/\d{1,2}/;function q(e){return this._ordinal.replace("%d",e)}var J={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Q(e,t,n,r){var i=this._relativeTime[n];return D(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return D(n)?n(t):n.replace(/%s/i,t)}var te={};function ne(e,t){var n=e.toLowerCase();te[n]=te[n+"s"]=te[t]=e}function re(e){return"string"==typeof e?te[e]||te[e.toLowerCase()]:void 0}function ie(e){var t,n,r={};for(n in e)a(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var oe={};function se(e,t){oe[e]=t}function ae(e){var t,n=[];for(t in e)a(e,t)&&n.push({unit:t,priority:oe[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function le(e){return e%4==0&&e%100!=0||e%400==0}function ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ue(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ce(t)),n}function he(e,t){return function(n){return null!=n?(fe(this,e,n),r.updateOffset(this,t),this):de(this,e)}}function de(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=ue(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
727
+ function G(e,t){return e.isValid()?(t=j(t,e.localeData()),N[t]=N[t]||U(t),N[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(C.lastIndex=0;n>=0&&C.test(e);)e=e.replace(C,r),C.lastIndex=0,n-=1;return e}var V={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function W(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match($).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var z="Invalid date";function Z(){return this._invalidDate}var X="%d",K=/\d{1,2}/;function q(e){return this._ordinal.replace("%d",e)}var J={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Q(e,t,n,r){var i=this._relativeTime[n];return D(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return D(n)?n(t):n.replace(/%s/i,t)}var te={};function ne(e,t){var n=e.toLowerCase();te[n]=te[n+"s"]=te[t]=e}function re(e){return"string"==typeof e?te[e]||te[e.toLowerCase()]:void 0}function ie(e){var t,n,r={};for(n in e)a(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var oe={};function se(e,t){oe[e]=t}function ae(e){var t,n=[];for(t in e)a(e,t)&&n.push({unit:t,priority:oe[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function le(e){return e%4==0&&e%100!=0||e%400==0}function ue(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ce(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ue(t)),n}function he(e,t){return function(n){return null!=n?(fe(this,e,n),r.updateOffset(this,t),this):de(this,e)}}function de(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=ce(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
728
728
  // MOMENTS
729
729
  function pe(e){return D(this[e=re(e)])?this[e]():this}function me(e,t){if("object"==typeof e){var n,r=ae(e=ie(e)),i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(D(this[e=re(e)]))return this[e](t);return this}var ge,ye=/\d/,// 0 - 9
730
730
  be=/\d\d/,// 00 - 99
@@ -746,7 +746,7 @@ Pe=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
746
746
  // includes scottish gaelic two word and hyphenated months
747
747
  He=/[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 Ie(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($e(e))}
748
748
  // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
749
- function $e(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]),u(t)&&(i=function(e,n){n[t]=ue(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}
749
+ function $e(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
750
  // FORMATTING
751
751
  Ue=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
752
752
  // I know
@@ -756,13 +756,13 @@ ne("month","M"),
756
756
  // PRIORITY
757
757
  se("month",8),
758
758
  // PARSING
759
- Ie("M",ke),Ie("MM",ke,be),Ie("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ie("MMMM",(function(e,t){return t.monthsRegex(e)})),Be(["M","MM"],(function(e,t){t[je]=ue(e)-1})),Be(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);
759
+ Ie("M",ke),Ie("MM",ke,be),Ie("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ie("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
760
  // if we didn't find a month name, mark the date as invalid.
761
761
  null!=i?t[je]=i:g(n).invalidMonth=e}));
762
762
  // LOCALES
763
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=He,ot=He;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
764
  // this is not used
765
- 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 ct(e,t,n){var r,i,o;if(this._monthsParseExact)return lt.call(this,e,t,n);
765
+ 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
766
  // TODO: add sorting
767
767
  // Sorting makes sure if one month (or abbr) is a prefix of another
768
768
  // see sorting in computeMonthsParse
@@ -772,11 +772,11 @@ if(
772
772
  // make the regex if we don't have it already
773
773
  i=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}
774
774
  // MOMENTS
775
- function ut(e,t){var n;if(!e.isValid())
775
+ function ct(e,t){var n;if(!e.isValid())
776
776
  // No op
777
- return e;if("string"==typeof t)if(/^\d+$/.test(t))t=ue(t);else
777
+ return e;if("string"==typeof t)if(/^\d+$/.test(t))t=ce(t);else
778
778
  // TODO: Another silent failure?
779
- if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),et(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function ht(e){return null!=e?(ut(this,e),r.updateOffset(this,!0),this):de(this,"Month")}function dt(){return et(this.year(),this.month())}function ft(e){return this._monthsParseExact?(a(this,"_monthsRegex")||mt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=it),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function pt(e){return this._monthsParseExact?(a(this,"_monthsRegex")||mt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=ot),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function mt(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)
779
+ if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),et(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function ht(e){return null!=e?(ct(this,e),r.updateOffset(this,!0),this):de(this,"Month")}function dt(){return et(this.year(),this.month())}function ft(e){return this._monthsParseExact?(a(this,"_monthsRegex")||mt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=it),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function pt(e){return this._monthsParseExact?(a(this,"_monthsRegex")||mt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=ot),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function mt(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)
780
780
  // make the regex if we don't have it already
781
781
  n=p([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));
782
782
  // Sorting makes sure if one month (or abbr) is a prefix of another it
@@ -792,7 +792,7 @@ ne("year","y"),
792
792
  // PRIORITIES
793
793
  se("year",1),
794
794
  // PARSING
795
- Ie("Y",De),Ie("YY",ke,be),Ie("YYYY",xe,ve),Ie("YYYYY",Me,we),Ie("YYYYYY",Me,we),Be(["YYYYY","YYYYYY"],Ge),Be("YYYY",(function(e,t){t[Ge]=2===e.length?r.parseTwoDigitYear(e):ue(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 ue(e)+(ue(e)>68?1900:2e3)};
795
+ Ie("Y",De),Ie("YY",ke,be),Ie("YYYY",xe,ve),Ie("YYYYY",Me,we),Ie("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
796
  // MOMENTS
797
797
  var yt=he("FullYear",!0);function bt(){return le(this.year())}function _t(e,t,n,r,i,o,s){
798
798
  // can't just apply() to create a date:
@@ -820,7 +820,7 @@ ne("week","w"),ne("isoWeek","W"),
820
820
  // PRIORITIES
821
821
  se("week",5),se("isoWeek",5),
822
822
  // PARSING
823
- Ie("w",ke),Ie("ww",ke,be),Ie("W",ke),Ie("WW",ke,be),Re(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=ue(e)}));var xt={dow:0,// Sunday is the first day of the week.
823
+ Ie("w",ke),Ie("ww",ke,be),Ie("W",ke),Ie("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
824
  doy:6};function Mt(){return this._week.dow}function Lt(){return this._week.doy}
825
825
  // MOMENTS
826
826
  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")}
@@ -836,7 +836,7 @@ se("day",11),se("weekday",11),se("isoWeekday",11),
836
836
  // PARSING
837
837
  Ie("d",ke),Ie("e",ke),Ie("E",ke),Ie("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ie("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ie("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
838
  // 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]=ue(e)}));var It="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ft="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$t="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ct=He,Nt=He,Bt=He;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?Ht(n,this._week.dow):e?n[e.day()]:n}function Yt(e){return!0===e?Ht(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?Ht(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++){
839
+ null!=i?t.d=i:g(n).invalidWeekday=e})),Re(["d","e","E"],(function(e,t,n,r){t[r]=ce(e)}));var It="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ft="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$t="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ct=He,Nt=He,Bt=He;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?Ht(n,this._week.dow):e?n[e.day()]:n}function Yt(e){return!0===e?Ht(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?Ht(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
840
  // test the regex
841
841
  if(
842
842
  // make the regex if we don't have it already
@@ -846,12 +846,12 @@ function Vt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this
846
846
  // behaves the same as moment#day except
847
847
  // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
848
848
  // as a setter, sunday should belong to the previous week.
849
- if(null!=e){var t=Pt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Ct),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Nt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Bt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function qt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,s=[],a=[],l=[],c=[];for(t=0;t<7;t++)
849
+ if(null!=e){var t=Pt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Ct),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Nt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Bt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function qt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,s=[],a=[],l=[],u=[];for(t=0;t<7;t++)
850
850
  // make the regex if we don't have it already
851
- n=p([2e3,1]).day(t),r=Ce(this.weekdaysMin(n,"")),i=Ce(this.weekdaysShort(n,"")),o=Ce(this.weekdays(n,"")),s.push(r),a.push(i),l.push(o),c.push(r),c.push(i),c.push(o);
851
+ n=p([2e3,1]).day(t),r=Ce(this.weekdaysMin(n,"")),i=Ce(this.weekdaysShort(n,"")),o=Ce(this.weekdays(n,"")),s.push(r),a.push(i),l.push(o),u.push(r),u.push(i),u.push(o);
852
852
  // Sorting makes sure if one weekday (or abbr) is a prefix of another it
853
853
  // will match the longer piece.
854
- s.sort(e),a.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}
854
+ s.sort(e),a.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}
855
855
  // FORMATTING
856
856
  function Jt(){return this.hours()%12||12}function Qt(){return this.hours()||24}function en(e,t){R(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}
857
857
  // PARSING
@@ -864,12 +864,12 @@ return"p"===(e+"").toLowerCase().charAt(0)}R("H",["HH",2],0,"hour"),R("h",["hh",
864
864
  // ALIASES
865
865
  ne("hour","h"),
866
866
  // PRIORITY
867
- se("hour",13),Ie("a",tn),Ie("A",tn),Ie("H",ke),Ie("h",ke),Ie("k",ke),Ie("HH",ke,be),Ie("hh",ke,be),Ie("kk",ke,be),Ie("hmm",Ee),Ie("hmmss",Se),Ie("Hmm",Ee),Ie("Hmmss",Se),Be(["H","HH"],We),Be(["k","kk"],(function(e,t,n){var r=ue(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]=ue(e),g(n).bigHour=!0})),Be("hmm",(function(e,t,n){var r=e.length-2;t[We]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r)),g(n).bigHour=!0})),Be("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[We]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r,2)),t[Xe]=ue(e.substr(i)),g(n).bigHour=!0})),Be("Hmm",(function(e,t,n){var r=e.length-2;t[We]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r))})),Be("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[We]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r,2)),t[Xe]=ue(e.substr(i))}));var rn=/[ap]\.?m?\.?/i,
867
+ se("hour",13),Ie("a",tn),Ie("A",tn),Ie("H",ke),Ie("h",ke),Ie("k",ke),Ie("HH",ke,be),Ie("hh",ke,be),Ie("kk",ke,be),Ie("hmm",Ee),Ie("hmmss",Se),Ie("Hmm",Ee),Ie("Hmmss",Se),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
868
  // Setting the hour should keep the time, because the user explicitly
869
869
  // specified which hour they want. So trying to maintain the same hour (in
870
870
  // a new timezone) makes sense. Adding/subtracting hours does not follow
871
871
  // 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:H,longDateFormat:V,invalidDate:z,ordinal:X,dayOfMonthOrdinalParse:K,relativeTime:J,months:tt,monthsShort:nt,week:xt,weekdays:It,weekdaysMin:$t,weekdaysShort:Ft,meridiemParse:rn},cn={},un={};
872
+ on=he("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,ln={calendar:H,longDateFormat:V,invalidDate:z,ordinal:X,dayOfMonthOrdinalParse:K,relativeTime:J,months:tt,monthsShort:nt,week:xt,weekdays:It,weekdaysMin:$t,weekdaysShort:Ft,meridiemParse:rn},un={},cn={};
873
873
  // internal storage for locale config files
874
874
  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
875
  // pick the locale from the array
@@ -881,41 +881,41 @@ break;t--}o++}return an}function pn(e){
881
881
  // Prevent names that look like filesystem paths, i.e contain '/' or '\'
882
882
  return null!=e.match("^[^/\\\\]*$")}function mn(t){var n=null;
883
883
  // TODO: Find a better way to register and load all the locales in Node
884
- if(void 0===cn[t]&&e&&e.exports&&pn(t))try{n=an._abbr,ze(),gn(n)}catch(e){
884
+ if(void 0===un[t]&&e&&e.exports&&pn(t))try{n=an._abbr,ze(),gn(n)}catch(e){
885
885
  // mark as not found to avoid repeating expensive file require call causing high CPU
886
886
  // when trying to find en-US, en_US, en-us for every format call
887
- cn[t]=null;// null means not found
888
- }return cn[t]}
887
+ un[t]=null;// null means not found
888
+ }return un[t]}
889
889
  // This function will load locale and then set the global locale. If
890
890
  // no arguments are passed in, it will simply return the current global
891
891
  // locale key.
892
- function gn(e,t){var n;return e&&((n=c(t)?_n(e):yn(e,t))?
892
+ function gn(e,t){var n;return e&&((n=u(t)?_n(e):yn(e,t))?
893
893
  // moment.duration._locale = moment._locale = data;
894
894
  an=n:"undefined"!=typeof console&&console.warn&&
895
895
  //warn user if arguments are passed but the locale could not be set
896
- console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function yn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=cn[e])L("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=cn[e]._config;else if(null!=t.parentLocale)if(null!=cn[t.parentLocale])r=cn[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;r=n._config}return cn[e]=new P(A(r,t)),un[e]&&un[e].forEach((function(e){yn(e.name,e.config)})),
896
+ console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function yn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=un[e])L("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=un[e]._config;else if(null!=t.parentLocale)if(null!=un[t.parentLocale])r=un[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return un[e]=new P(A(r,t)),cn[e]&&cn[e].forEach((function(e){yn(e.name,e.config)})),
897
897
  // backwards compat for now: also set the locale
898
898
  // make sure we set the locale AFTER all child locales have been
899
899
  // created, so we won't end up with the child locale set.
900
- gn(e),cn[e]}
900
+ gn(e),un[e]}
901
901
  // useful for testing
902
- return delete cn[e],null}function bn(e,t){if(null!=t){var n,r,i=ln;null!=cn[e]&&null!=cn[e].parentLocale?
902
+ return delete un[e],null}function bn(e,t){if(null!=t){var n,r,i=ln;null!=un[e]&&null!=un[e].parentLocale?
903
903
  // Update existing child locale in-place to avoid memory-leaks
904
- cn[e].set(A(cn[e]._config,t)):(
904
+ un[e].set(A(un[e]._config,t)):(
905
905
  // MERGE
906
906
  null!=(r=mn(e))&&(i=r._config),t=A(i,t),null==r&&(
907
907
  // updateLocale is called for creating a new locale
908
908
  // Set abbr so it will have a name (getters return
909
909
  // undefined otherwise).
910
- t.abbr=e),(n=new P(t)).parentLocale=cn[e],cn[e]=n),
910
+ t.abbr=e),(n=new P(t)).parentLocale=un[e],un[e]=n),
911
911
  // backwards compat for now: also set the locale
912
912
  gn(e)}else
913
913
  // pass null for config to unupdate, useful for tests
914
- null!=cn[e]&&(null!=cn[e].parentLocale?(cn[e]=cn[e].parentLocale,e===gn()&&gn(e)):null!=cn[e]&&delete cn[e]);return cn[e]}
914
+ null!=un[e]&&(null!=un[e].parentLocale?(un[e]=un[e].parentLocale,e===gn()&&gn(e)):null!=un[e]&&delete un[e]);return un[e]}
915
915
  // returns locale data
916
916
  function _n(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!o(e)){if(
917
917
  //short-circuit everything else
918
- t=mn(e))return t;e=[e]}return fn(e)}function vn(){return x(cn)}function wn(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[je]<0||n[je]>11?je:n[Ve]<1||n[Ve]>et(n[Ge],n[je])?Ve:n[We]<0||n[We]>24||24===n[We]&&(0!==n[Ze]||0!==n[Xe]||0!==n[Ke])?We:n[Ze]<0||n[Ze]>59?Ze:n[Xe]<0||n[Xe]>59?Xe:n[Ke]<0||n[Ke]>999?Ke:-1,g(e)._overflowDayOfYear&&(t<Ge||t>Ve)&&(t=Ve),g(e)._overflowWeeks&&-1===t&&(t=qe),g(e)._overflowWeekday&&-1===t&&(t=Je),g(e).overflow=t),e}
918
+ t=mn(e))return t;e=[e]}return fn(e)}function vn(){return x(un)}function wn(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[je]<0||n[je]>11?je:n[Ve]<1||n[Ve]>et(n[Ge],n[je])?Ve:n[We]<0||n[We]>24||24===n[We]&&(0!==n[Ze]||0!==n[Xe]||0!==n[Ke])?We:n[Ze]<0||n[Ze]>59?Ze:n[Xe]<0||n[Xe]>59?Xe:n[Ke]<0||n[Ke]>999?Ke:-1,g(e)._overflowDayOfYear&&(t<Ge||t>Ve)&&(t=Ve),g(e)._overflowWeeks&&-1===t&&(t=qe),g(e)._overflowWeekday&&-1===t&&(t=Je),g(e).overflow=t),e}
919
919
  // iso 8601 regex
920
920
  // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
921
921
  var kn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,En=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Sn=/Z|[+-]\d\d(?::?\d\d)?/,Tn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],
@@ -924,7 +924,7 @@ xn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+
924
924
  // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
925
925
  Ln=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Dn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};
926
926
  // date from iso format
927
- function On(e){var t,n,r,i,o,s,a=e._i,l=kn.exec(a)||En.exec(a),c=Tn.length,u=xn.length;if(l){for(g(e).iso=!0,t=0,n=c;t<n;t++)if(Tn[t][1].exec(l[1])){i=Tn[t][0],r=!1!==Tn[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(xn[t][1].exec(l[3])){
927
+ function On(e){var t,n,r,i,o,s,a=e._i,l=kn.exec(a)||En.exec(a),u=Tn.length,c=xn.length;if(l){for(g(e).iso=!0,t=0,n=u;t<n;t++)if(Tn[t][1].exec(l[1])){i=Tn[t][0],r=!1!==Tn[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
928
  // match[2] should be 'T' or space
929
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(!Sn.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=i+(o||"")+(s||""),Un(e)}else e._isValid=!1}function An(e,t,n,r,i,o){var s=[Pn(e),nt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&s.push(parseInt(o,10)),s}function Pn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Hn(e){
930
930
  // Remove comments and folding whitespace and replace multiple-spaces with a single space
@@ -964,14 +964,14 @@ for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];
964
964
  // with parseZone.
965
965
  null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[We]=24),
966
966
  // check for mismatching day of week
967
- e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function Yn(e){var t,n,r,i,o,s,a,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,s=4,
967
+ e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function Yn(e){var t,n,r,i,o,s,a,l,u;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,s=4,
968
968
  // TODO: We need to take the current isoWeekYear, but that depends on
969
969
  // how we interpret now (local, utc, fixed offset). So create
970
970
  // a now version of current config (take local/utc/offset flags, and
971
971
  // create now).
972
- n=Nn(t.GG,e._a[Ge],Et(Kn(),1,4).year),r=Nn(t.W,1),((i=Nn(t.E,1))<1||i>7)&&(l=!0)):(o=e._locale._week.dow,s=e._locale._week.doy,c=Et(Kn(),o,s),n=Nn(t.gg,e._a[Ge],c.year),
972
+ n=Nn(t.GG,e._a[Ge],Et(Kn(),1,4).year),r=Nn(t.W,1),((i=Nn(t.E,1))<1||i>7)&&(l=!0)):(o=e._locale._week.dow,s=e._locale._week.doy,u=Et(Kn(),o,s),n=Nn(t.gg,e._a[Ge],u.year),
973
973
  // Default to current week.
974
- r=Nn(t.w,c.week),null!=t.d?((
974
+ r=Nn(t.w,u.week),null!=t.d?((
975
975
  // weekday -- low day numbers are considered next week
976
976
  i=t.d)<0||i>6)&&(l=!0):null!=t.e?(
977
977
  // local weekday -- counting starts from beginning of week
@@ -984,11 +984,11 @@ function Un(e){
984
984
  // TODO: Move this to another part of the creation flow to prevent circular deps
985
985
  if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],g(e).empty=!0;
986
986
  // This array is used to make a Date, either with `new Date` or `Date.UTC`
987
- var t,n,i,o,s,a,l,c=""+e._i,u=c.length,h=0;for(l=(i=j(e._f,e._locale).match($)||[]).length,t=0;t<l;t++)o=i[t],(n=(c.match(Fe(o,e))||[])[0])&&((s=c.substr(0,c.indexOf(n))).length>0&&g(e).unusedInput.push(s),c=c.slice(c.indexOf(n)+n.length),h+=n.length),
987
+ var t,n,i,o,s,a,l,u=""+e._i,c=u.length,h=0;for(l=(i=j(e._f,e._locale).match($)||[]).length,t=0;t<l;t++)o=i[t],(n=(u.match(Fe(o,e))||[])[0])&&((s=u.substr(0,u.indexOf(n))).length>0&&g(e).unusedInput.push(s),u=u.slice(u.indexOf(n)+n.length),h+=n.length),
988
988
  // don't parse if it's not a known token
989
989
  B[o]?(n?g(e).empty=!1:g(e).unusedTokens.push(o),Ye(o,n,e)):e._strict&&!n&&g(e).unusedTokens.push(o);
990
990
  // add remaining unparsed input length to the string
991
- g(e).charsLeftOver=u-h,c.length>0&&g(e).unusedInput.push(c),
991
+ g(e).charsLeftOver=c-h,u.length>0&&g(e).unusedInput.push(u),
992
992
  // clear _12h flag if hour is <= 12
993
993
  e._a[We]<=12&&!0===g(e).bigHour&&e._a[We]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,
994
994
  // handle meridiem
@@ -1004,7 +1004,7 @@ o+=g(t).charsLeftOver,
1004
1004
  //or tokens
1005
1005
  o+=10*g(t).unusedTokens.length,g(t).score=o,a?o<r&&(r=o,n=t):(null==r||o<r||s)&&(r=o,n=t,s&&(a=!0));f(e,n||t)}function Vn(e){if(!e._d){var t=ie(e._i),n=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Rn(e)}}function Wn(e){var t=new k(wn(zn(e)));return t._nextDay&&(
1006
1006
  // Adding is smart enough around DST
1007
- t.add(1,"d"),t._nextDay=void 0),t}function zn(e){var t=e._i,n=e._f;return e._locale=e._locale||_n(e._l),null===t||void 0===n&&""===t?b({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),E(t)?new k(wn(t)):(h(t)?e._d=t:o(n)?jn(e):n?Un(e):Zn(e),y(e)||(e._d=null),e))}function Zn(e){var t=e._i;c(t)?e._d=new Date(r.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Cn(e):o(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),Rn(e)):s(t)?Vn(e):u(t)?
1007
+ t.add(1,"d"),t._nextDay=void 0),t}function zn(e){var t=e._i,n=e._f;return e._locale=e._locale||_n(e._l),null===t||void 0===n&&""===t?b({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),E(t)?new k(wn(t)):(h(t)?e._d=t:o(n)?jn(e):n?Un(e):Zn(e),y(e)||(e._d=null),e))}function Zn(e){var t=e._i;u(t)?e._d=new Date(r.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Cn(e):o(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),Rn(e)):s(t)?Vn(e):c(t)?
1008
1008
  // from milliseconds
1009
1009
  e._d=new Date(t):r.createFromInputFallback(e)}function Xn(e,t,n,r,i){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),
1010
1010
  // object construction must be done this way.
@@ -1020,9 +1020,9 @@ r.RFC_2822=function(){};var qn=T("moment().min is deprecated, use moment.max ins
1020
1020
  function Qn(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Kn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}
1021
1021
  // TODO: Use [].sort instead?
1022
1022
  function er(){return Qn("isBefore",[].slice.call(arguments,0))}function tr(){return Qn("isAfter",[].slice.call(arguments,0))}var nr=function(){return Date.now?Date.now():+new Date},rr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ir(e){var t,n,r=!1,i=rr.length;for(t in e)if(a(e,t)&&(-1===Ue.call(rr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[rr[n]]){if(r)return!1;// only allow non-integers for smallest unit
1023
- parseFloat(e[rr[n]])!==ue(e[rr[n]])&&(r=!0)}return!0}function or(){return this._isValid}function sr(){return Dr(NaN)}function ar(e){var t=ie(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,s=t.day||0,a=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=ir(t),
1023
+ parseFloat(e[rr[n]])!==ce(e[rr[n]])&&(r=!0)}return!0}function or(){return this._isValid}function sr(){return Dr(NaN)}function ar(e){var t=ie(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,s=t.day||0,a=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=ir(t),
1024
1024
  // representation for dateAddRemove
1025
- this._milliseconds=+u+1e3*c+// 1000
1025
+ this._milliseconds=+c+1e3*u+// 1000
1026
1026
  6e4*l+// 1000 * 60
1027
1027
  1e3*a*60*60,//using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978
1028
1028
  // Because of dateAddRemove treats 24 hours as different from a
@@ -1031,9 +1031,9 @@ this._days=+s+7*o,
1031
1031
  // It is impossible to translate months into days without knowing
1032
1032
  // which months you are are talking about, so we have to store
1033
1033
  // it separately.
1034
- this._months=+i+3*r+12*n,this._data={},this._locale=_n(),this._bubble()}function lr(e){return e instanceof ar}function cr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}
1034
+ this._months=+i+3*r+12*n,this._data={},this._locale=_n(),this._bubble()}function lr(e){return e instanceof ar}function ur(e){return e<0?-1*Math.round(-1*e):Math.round(e)}
1035
1035
  // compare two arrays, return the number of differences
1036
- function ur(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),s=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&ue(e[r])!==ue(t[r]))&&s++;return s+o}
1036
+ function cr(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),s=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&ce(e[r])!==ce(t[r]))&&s++;return s+o}
1037
1037
  // FORMATTING
1038
1038
  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
1039
  // PARSING
@@ -1042,7 +1042,7 @@ Ie("Z",Ae),Ie("ZZ",Ae),Be(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fr(Ae,
1042
1042
  // timezone chunker
1043
1043
  // '+10:00' > ['10', '00']
1044
1044
  // '-1530' > ['-15', '30']
1045
- var dr=/([\+\-]|\d\d)/gi;function fr(e,t){var n,r,i=(t||"").match(e);return null===i?null:0===(r=60*(n=((i[i.length-1]||[])+"").match(dr)||["-",0,0])[1]+ue(n[2]))?0:"+"===n[0]?r:-r}
1045
+ var dr=/([\+\-]|\d\d)/gi;function fr(e,t){var n,r,i=(t||"").match(e);return null===i?null:0===(r=60*(n=((i[i.length-1]||[])+"").match(dr)||["-",0,0])[1]+ce(n[2]))?0:"+"===n[0]?r:-r}
1046
1046
  // Return a moment from input, that is local/utc/zone equivalent to model.
1047
1047
  function pr(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(E(e)||h(e)?e.valueOf():Kn(e).valueOf())-n.valueOf(),
1048
1048
  // Use low-level api, because this fn is low-level api.
@@ -1063,7 +1063,7 @@ return-Math.round(e._d.getTimezoneOffset())}
1063
1063
  // a second time. In case it wants us to change the offset again
1064
1064
  // _changeInProgress == true case, then we have to adjust, because
1065
1065
  // 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(Ae,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?Ir(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(!c(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()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Sr(){return!!this.isValid()&&!this._isUTC}function Tr(){return!!this.isValid()&&this._isUTC}function xr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
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(Ae,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?Ir(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 Sr(){return!!this.isValid()&&!this._isUTC}function Tr(){return!!this.isValid()&&this._isUTC}function xr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
1067
1067
  // ASP.NET json date format regex
1068
1068
  r.updateOffset=function(){};var Mr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
1069
1069
  // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
@@ -1071,7 +1071,7 @@ r.updateOffset=function(){};var Mr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\
1071
1071
  // and further modified to allow for strings containing both week and day
1072
1072
  Lr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Dr(e,t){var n,r,i,o=e,
1073
1073
  // matching against regexp is expensive, do it on demand
1074
- s=null;return lr(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(s=Mr.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:ue(s[Ve])*n,h:ue(s[We])*n,m:ue(s[Ze])*n,s:ue(s[Xe])*n,ms:ue(cr(1e3*s[Ke]))*n}):(s=Lr.exec(e))?(n="-"===s[1]?-1:1,o={y:Or(s[2],n),M:Or(s[3],n),w:Or(s[4],n),d:Or(s[5],n),h:Or(s[6],n),m:Or(s[7],n),s:Or(s[8],n)}):null==o?
1074
+ s=null;return lr(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(s=Mr.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:ce(s[Ve])*n,h:ce(s[We])*n,m:ce(s[Ze])*n,s:ce(s[Xe])*n,ms:ce(ur(1e3*s[Ke]))*n}):(s=Lr.exec(e))?(n="-"===s[1]?-1:1,o={y:Or(s[2],n),M:Or(s[3],n),w:Or(s[4],n),d:Or(s[5],n),h:Or(s[6],n),m:Or(s[7],n),s:Or(s[8],n)}):null==o?
1075
1075
  // checks for null or undefined
1076
1076
  o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Pr(Kn(o.from),Kn(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),r=new ar(o),lr(e)&&a(e,"_locale")&&(r._locale=e._locale),lr(e)&&a(e,"_isValid")&&(r._isValid=e._isValid),r}function Or(e,t){
1077
1077
  // We'd normally use ~~inp for this, but unfortunately it also
@@ -1083,9 +1083,9 @@ return(isNaN(n)?0:n)*t}function Ar(e,t){var n={};return n.months=t.month()-e.mon
1083
1083
  // TODO: remove 'name' arg after deprecation is removed
1084
1084
  function Hr(e,t){return function(n,r){var i;
1085
1085
  //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),Ir(this,Dr(n,r),e),this}}function Ir(e,t,n,i){var o=t._milliseconds,s=cr(t._days),a=cr(t._months);e.isValid()&&(i=null==i||i,a&&ut(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=Hr(1,"add"),$r=Hr(-1,"subtract");function Cr(e){return"string"==typeof e||e instanceof String}
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),Ir(this,Dr(n,r),e),this}}function Ir(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=Hr(1,"add"),$r=Hr(-1,"subtract");function Cr(e){return"string"==typeof e||e instanceof String}
1087
1087
  // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
1088
- function Nr(e){return E(e)||h(e)||Cr(e)||u(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"],c=o.length;for(t=0;t<c;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!u(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){
1088
+ 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
1089
  // Support for single parameter, formats only overload to the calendar function
1090
1090
  1===arguments.length&&(arguments[0]?Nr(arguments[0])?(e=arguments[0],t=void 0):Yr(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));
1091
1091
  // We want to compare the start of today, vs this.
@@ -1095,7 +1095,7 @@ case"minute":o=(this-r)/6e4;break;// 1000 * 60
1095
1095
  case"hour":o=(this-r)/36e5;break;// 1000 * 60 * 60
1096
1096
  case"day":o=(this-r-i)/864e5;break;// 1000 * 60 * 60 * 24, negate dst
1097
1097
  case"week":o=(this-r-i)/6048e5;break;// 1000 * 60 * 60 * 24 * 7, negate dst
1098
- default:o=this-r}return n?o:ce(o)}function Jr(e,t){if(e.date()<t.date())
1098
+ default:o=this-r}return n?o:ue(o)}function Jr(e,t){if(e.date()<t.date())
1099
1099
  // end-of-month calculations work correct when the start month has more
1100
1100
  // days than the end month.
1101
1101
  return-Jr(t,e);
@@ -1116,13 +1116,13 @@ t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).t
1116
1116
  // If passed a locale key, it will set the locale for this
1117
1117
  // instance. Otherwise, it will return the locale configuration
1118
1118
  // variables for this instance.
1119
- function ai(e){var t;return void 0===e?this._locale._abbr:(null!=(t=_n(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var li=T("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ci(){return this._locale}var ui=1e3,hi=60*ui,di=60*hi,fi=3506328*di;
1119
+ function ai(e){var t;return void 0===e?this._locale._abbr:(null!=(t=_n(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var li=T("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ui(){return this._locale}var ci=1e3,hi=60*ci,di=60*hi,fi=3506328*di;
1120
1120
  // actual modulo - handles negative numbers (for dates before 1970):
1121
1121
  function pi(e,t){return(e%t+t)%t}function mi(e,t,n){
1122
1122
  // the date constructor remaps years 0-99 to 1900-1999
1123
1123
  return e<100&&e>=0?new Date(e+400,t,n)-fi:new Date(e,t,n).valueOf()}function gi(e,t,n){
1124
1124
  // Date.UTC remaps years 0-99 to 1900-1999
1125
- return e<100&&e>=0?Date.UTC(e+400,t,n)-fi:Date.UTC(e,t,n)}function yi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:mi,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=pi(t+(this._isUTC?0:this.utcOffset()*hi),di);break;case"minute":t=this._d.valueOf(),t-=pi(t,hi);break;case"second":t=this._d.valueOf(),t-=pi(t,ui)}return this._d.setTime(t),r.updateOffset(this,!0),this}function bi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:mi,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=di-pi(t+(this._isUTC?0:this.utcOffset()*hi),di)-1;break;case"minute":t=this._d.valueOf(),t+=hi-pi(t,hi)-1;break;case"second":t=this._d.valueOf(),t+=ui-pi(t,ui)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function _i(){return this._d.valueOf()-6e4*(this._offset||0)}function vi(){return Math.floor(this.valueOf()/1e3)}function wi(){return new Date(this.valueOf())}function ki(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ei(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Si(){
1125
+ return e<100&&e>=0?Date.UTC(e+400,t,n)-fi:Date.UTC(e,t,n)}function yi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:mi,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=pi(t+(this._isUTC?0:this.utcOffset()*hi),di);break;case"minute":t=this._d.valueOf(),t-=pi(t,hi);break;case"second":t=this._d.valueOf(),t-=pi(t,ci)}return this._d.setTime(t),r.updateOffset(this,!0),this}function bi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:mi,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=di-pi(t+(this._isUTC?0:this.utcOffset()*hi),di)-1;break;case"minute":t=this._d.valueOf(),t+=hi-pi(t,hi)-1;break;case"second":t=this._d.valueOf(),t+=ci-pi(t,ci)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function _i(){return this._d.valueOf()-6e4*(this._offset||0)}function vi(){return Math.floor(this.valueOf()/1e3)}function wi(){return new Date(this.valueOf())}function ki(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ei(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Si(){
1126
1126
  // new Date(NaN).toJSON() === null
1127
1127
  return this.isValid()?this.toISOString():null}function Ti(){return y(this)}function xi(){return f({},g(this))}function Mi(){return g(this).overflow}function Li(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Di(e,t){var n,i,o,s=this._eras||_n("en")._eras;for(n=0,i=s.length;n<i;++n)switch("string"==typeof s[n].since&&(
1128
1128
  // truncate time
@@ -1151,13 +1151,13 @@ ne("weekYear","gg"),ne("isoWeekYear","GG"),
1151
1151
  // PRIORITY
1152
1152
  se("weekYear",1),se("isoWeekYear",1),
1153
1153
  // PARSING
1154
- Ie("G",De),Ie("g",De),Ie("GG",ke,be),Ie("gg",ke,be),Ie("GGGG",xe,ve),Ie("gggg",xe,ve),Ie("GGGGG",Me,we),Ie("ggggg",Me,we),Re(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ue(e)})),Re(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),R("Q",0,"Qo","quarter"),
1154
+ Ie("G",De),Ie("g",De),Ie("GG",ke,be),Ie("gg",ke,be),Ie("GGGG",xe,ve),Ie("gggg",xe,ve),Ie("GGGGG",Me,we),Ie("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
1155
  // ALIASES
1156
1156
  ne("quarter","Q"),
1157
1157
  // PRIORITY
1158
1158
  se("quarter",7),
1159
1159
  // PARSING
1160
- Ie("Q",ye),Be("Q",(function(e,t){t[je]=3*(ue(e)-1)})),R("D",["DD",2],"Do","date"),
1160
+ Ie("Q",ye),Be("Q",(function(e,t){t[je]=3*(ce(e)-1)})),R("D",["DD",2],"Do","date"),
1161
1161
  // ALIASES
1162
1162
  ne("date","D"),
1163
1163
  // PRIORITY
@@ -1165,7 +1165,7 @@ se("date",9),
1165
1165
  // PARSING
1166
1166
  Ie("D",ke),Ie("DD",ke,be),Ie("Do",(function(e,t){
1167
1167
  // TODO: Remove "ordinalParse" fallback in next major release.
1168
- return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Be(["D","DD"],Ve),Be("Do",(function(e,t){t[Ve]=ue(e.match(ke)[0])}));
1168
+ 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
1169
  // MOMENTS
1170
1170
  var eo=he("Date",!0);
1171
1171
  // FORMATTING
@@ -1179,7 +1179,7 @@ ne("dayOfYear","DDD"),
1179
1179
  // PRIORITY
1180
1180
  se("dayOfYear",4),
1181
1181
  // PARSING
1182
- Ie("DDD",Te),Ie("DDDD",_e),Be(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ue(e)})),R("m",["mm",2],0,"minute"),
1182
+ Ie("DDD",Te),Ie("DDDD",_e),Be(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ce(e)})),R("m",["mm",2],0,"minute"),
1183
1183
  // ALIASES
1184
1184
  ne("minute","m"),
1185
1185
  // PRIORITY
@@ -1205,11 +1205,11 @@ ne("millisecond","ms"),
1205
1205
  // PRIORITY
1206
1206
  se("millisecond",16),
1207
1207
  // PARSING
1208
- Ie("S",Te,ye),Ie("SS",Te,be),Ie("SSS",Te,_e),ro="SSSS";ro.length<=9;ro+="S")Ie(ro,Le);function so(e,t){t[Ke]=ue(1e3*("0."+e))}for(ro="S";ro.length<=9;ro+="S")Be(ro,so);
1208
+ Ie("S",Te,ye),Ie("SS",Te,be),Ie("SSS",Te,_e),ro="SSSS";ro.length<=9;ro+="S")Ie(ro,Le);function so(e,t){t[Ke]=ce(1e3*("0."+e))}for(ro="S";ro.length<=9;ro+="S")Be(ro,so);
1209
1209
  // MOMENTS
1210
1210
  function ao(){return this._isUTC?"UTC":""}function lo(){return this._isUTC?"Coordinated Universal Time":""}io=he("Milliseconds",!1),
1211
1211
  // FORMATTING
1212
- R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var co=k.prototype;function uo(e){return Kn(1e3*e)}function ho(){return Kn.apply(null,arguments).parseZone()}function fo(e){return e}co.add=Fr,co.calendar=Gr,co.clone=jr,co.diff=qr,co.endOf=bi,co.format=ni,co.from=ri,co.fromNow=ii,co.to=oi,co.toNow=si,co.get=pe,co.invalidAt=Mi,co.isAfter=Vr,co.isBefore=Wr,co.isBetween=zr,co.isSame=Zr,co.isSameOrAfter=Xr,co.isSameOrBefore=Kr,co.isValid=Ti,co.lang=li,co.locale=ai,co.localeData=ci,co.max=Jn,co.min=qn,co.parsingFlags=xi,co.set=me,co.startOf=yi,co.subtract=$r,co.toArray=ki,co.toObject=Ei,co.toDate=wi,co.toISOString=ei,co.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(co[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),co.toJSON=Si,co.toString=Qr,co.unix=vi,co.valueOf=_i,co.creationData=Li,co.eraName=Pi,co.eraNarrow=Hi,co.eraAbbr=Ii,co.eraYear=Fi,co.year=yt,co.isLeapYear=bt,co.weekYear=Vi,co.isoWeekYear=Wi,co.quarter=co.quarters=Qi,co.month=ht,co.daysInMonth=dt,co.week=co.weeks=Dt,co.isoWeek=co.isoWeeks=Ot,co.weeksInYear=Xi,co.weeksInWeekYear=Ki,co.isoWeeksInYear=zi,co.isoWeeksInISOWeekYear=Zi,co.date=eo,co.day=co.days=Vt,co.weekday=Wt,co.isoWeekday=zt,co.dayOfYear=to,co.hour=co.hours=on,co.minute=co.minutes=no,co.second=co.seconds=oo,co.millisecond=co.milliseconds=io,co.utcOffset=gr,co.utc=br,co.local=_r,co.parseZone=vr,co.hasAlignedHourOffset=wr,co.isDST=kr,co.isLocal=Sr,co.isUtcOffset=Tr,co.isUtc=xr,co.isUTC=xr,co.zoneAbbr=ao,co.zoneName=lo,co.dates=T("dates accessor is deprecated. Use date instead.",eo),co.months=T("months accessor is deprecated. Use month instead",ht),co.years=T("years accessor is deprecated. Use year instead",yt),co.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),co.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Er);var po=P.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(u(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}
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=Ti,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=$r,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=Si,uo.toString=Qr,uo.unix=vi,uo.valueOf=_i,uo.creationData=Li,uo.eraName=Pi,uo.eraNarrow=Hi,uo.eraAbbr=Ii,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=Sr,uo.isUtcOffset=Tr,uo.isUtc=xr,uo.isUTC=xr,uo.zoneAbbr=ao,uo.zoneName=lo,uo.dates=T("dates accessor is deprecated. Use date instead.",eo),uo.months=T("months accessor is deprecated. Use month instead",ht),uo.years=T("years accessor is deprecated. Use year instead",yt),uo.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),uo.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Er);var po=P.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
1213
  // ()
1214
1214
  // (5)
1215
1215
  // (fmt, 5)
@@ -1218,7 +1218,7 @@ R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var co=k.prototype;function uo(e){r
1218
1218
  // (true, 5)
1219
1219
  // (true, fmt, 5)
1220
1220
  // (true, fmt)
1221
- function yo(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(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=I,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=Ai,po.erasAbbrRegex=Ci,po.erasNameRegex=$i,po.erasNarrowRegex=Ni,po.months=st,po.monthsShort=at,po.monthsParse=ct,po.monthsRegex=pt,po.monthsShortRegex=ft,po.week=Tt,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===ue(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
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=I,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=Ai,po.erasAbbrRegex=Ci,po.erasNameRegex=$i,po.erasNarrowRegex=Ni,po.months=st,po.monthsShort=at,po.monthsParse=ut,po.monthsRegex=pt,po.monthsShortRegex=ft,po.week=Tt,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
1222
  // Side effect imports
1223
1223
  r.lang=T("moment.lang is deprecated. Use moment.locale instead.",gn),r.langData=T("moment.langData is deprecated. Use moment.localeData instead.",_n);var Eo=Math.abs;function So(){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 To(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
1224
  // supports only 2.0-style add(1, 's') or add(duration)
@@ -1230,11 +1230,11 @@ function Mo(e,t){return To(this,e,t,-1)}function Lo(e){return e<0?Math.floor(e):
1230
1230
  return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*Lo(Ao(a)+s),s=0,a=0),
1231
1231
  // The following code bubbles up values, see the tests for
1232
1232
  // examples of what that means.
1233
- l.milliseconds=o%1e3,e=ce(o/1e3),l.seconds=e%60,t=ce(e/60),l.minutes=t%60,n=ce(t/60),l.hours=n%24,s+=ce(n/24),a+=
1233
+ l.milliseconds=o%1e3,e=ue(o/1e3),l.seconds=e%60,t=ue(e/60),l.minutes=t%60,n=ue(t/60),l.hours=n%24,s+=ue(n/24),a+=
1234
1234
  // convert days to months
1235
- i=ce(Oo(s)),s-=Lo(Ao(i)),
1235
+ i=ue(Oo(s)),s-=Lo(Ao(i)),
1236
1236
  // 12 months -> 1 year
1237
- r=ce(a/12),a%=12,l.days=s,l.months=a,l.years=r,this}function Oo(e){
1237
+ r=ue(a/12),a%=12,l.days=s,l.months=a,l.years=r,this}function Oo(e){
1238
1238
  // 400 years have 146097 days (taking into account leap year rules)
1239
1239
  // 400 years have 12 months === 4800
1240
1240
  return 4800*e/146097}function Ao(e){
@@ -1245,7 +1245,7 @@ t=this._days+Math.round(Ao(this._months)),e){case"week":return t/7+r/6048e5;case
1245
1245
  // Math.floor prevents floating point math errors here
1246
1246
  case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}
1247
1247
  // TODO: Use this.as('ms')?
1248
- function Ho(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ue(this._months/12):NaN}function Io(e){return function(){return this.as(e)}}var Fo=Io("ms"),$o=Io("s"),Co=Io("m"),No=Io("h"),Bo=Io("d"),Ro=Io("w"),Yo=Io("M"),Uo=Io("Q"),Go=Io("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 ce(this.days()/7)}var ts=Math.round,ns={ss:44,// a few seconds to seconds
1248
+ function Ho(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ce(this._months/12):NaN}function Io(e){return function(){return this.as(e)}}var Fo=Io("ms"),$o=Io("s"),Co=Io("m"),No=Io("h"),Bo=Io("d"),Ro=Io("w"),Yo=Io("M"),Uo=Io("Q"),Go=Io("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
1249
  s:45,// seconds to minute
1250
1250
  m:45,// minutes to hour
1251
1251
  h:22,// hours to day
@@ -1253,11 +1253,11 @@ d:26,// days to month/week
1253
1253
  w:null,// weeks to month
1254
1254
  M:11};
1255
1255
  // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize
1256
- function rs(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function is(e,t,n,r){var i=Dr(e).abs(),o=ts(i.as("s")),s=ts(i.as("m")),a=ts(i.as("h")),l=ts(i.as("d")),c=ts(i.as("M")),u=ts(i.as("w")),h=ts(i.as("y")),d=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(d=d||u<=1&&["w"]||u<n.w&&["ww",u]),(d=d||c<=1&&["M"]||c<n.M&&["MM",c]||h<=1&&["y"]||["yy",h])[2]=t,d[3]=+e>0,d[4]=r,rs.apply(null,d)}
1256
+ function rs(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function is(e,t,n,r){var i=Dr(e).abs(),o=ts(i.as("s")),s=ts(i.as("m")),a=ts(i.as("h")),l=ts(i.as("d")),u=ts(i.as("M")),c=ts(i.as("w")),h=ts(i.as("y")),d=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(d=d||c<=1&&["w"]||c<n.w&&["ww",c]),(d=d||u<=1&&["M"]||u<n.M&&["MM",u]||h<=1&&["y"]||["yy",h])[2]=t,d[3]=+e>0,d[4]=r,rs.apply(null,d)}
1257
1257
  // This function allows you to set the rounding function for relative time strings
1258
1258
  function os(e){return void 0===e?ts:"function"==typeof e&&(ts=e,!0)}
1259
1259
  // This function allows you to set a threshold for relative time strings
1260
- function ss(e,t){return void 0!==ns[e]&&(void 0===t?ns[e]:(ns[e]=t,"s"===e&&(ns.ss=t-1),!0))}function as(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=ns;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(o=Object.assign({},ns,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),r=is(this,!i,o,n=this.localeData()),i&&(r=n.pastFuture(+this,r)),n.postformat(r)}var ls=Math.abs;function cs(e){return(e>0)-(e<0)||+e}function us(){
1260
+ function ss(e,t){return void 0!==ns[e]&&(void 0===t?ns[e]:(ns[e]=t,"s"===e&&(ns.ss=t-1),!0))}function as(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=ns;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(o=Object.assign({},ns,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),r=is(this,!i,o,n=this.localeData()),i&&(r=n.pastFuture(+this,r)),n.postformat(r)}var ls=Math.abs;function us(e){return(e>0)-(e<0)||+e}function cs(){
1261
1261
  // for ISO strings we do not use the normal bubbling rules:
1262
1262
  // * milliseconds bubble up until they become hours
1263
1263
  // * days do not bubble at all
@@ -1265,19 +1265,19 @@ function ss(e,t){return void 0!==ns[e]&&(void 0===t?ns[e]:(ns[e]=t,"s"===e&&(ns.
1265
1265
  // This is because there is no context-free conversion between hours and days
1266
1266
  // (think of clock changes)
1267
1267
  // and also not between days and months (28-31 days per month)
1268
- if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,s,a,l=ls(this._milliseconds)/1e3,c=ls(this._days),u=ls(this._months),h=this.asSeconds();return h?(
1268
+ if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,s,a,l=ls(this._milliseconds)/1e3,u=ls(this._days),c=ls(this._months),h=this.asSeconds();return h?(
1269
1269
  // 3600 seconds -> 60 minutes -> 1 hour
1270
- e=ce(l/60),t=ce(e/60),l%=60,e%=60,
1270
+ e=ue(l/60),t=ue(e/60),l%=60,e%=60,
1271
1271
  // 12 months -> 1 year
1272
- n=ce(u/12),u%=12,
1272
+ n=ue(c/12),c%=12,
1273
1273
  // 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=cs(this._months)!==cs(h)?"-":"",s=cs(this._days)!==cs(h)?"-":"",a=cs(this._milliseconds)!==cs(h)?"-":"",i+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?s+c+"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=So,hs.add=xo,hs.subtract=Mo,hs.as=Po,hs.asMilliseconds=Fo,hs.asSeconds=$o,hs.asMinutes=Co,hs.asHours=No,hs.asDays=Bo,hs.asWeeks=Ro,hs.asMonths=Yo,hs.asQuarters=Uo,hs.asYears=Go,hs.valueOf=Ho,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=us,hs.toString=us,hs.toJSON=us,hs.locale=ai,hs.localeData=ci,hs.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",us),hs.lang=li,
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=So,hs.add=xo,hs.subtract=Mo,hs.as=Po,hs.asMilliseconds=Fo,hs.asSeconds=$o,hs.asMinutes=Co,hs.asHours=No,hs.asDays=Bo,hs.asWeeks=Ro,hs.asMonths=Yo,hs.asQuarters=Uo,hs.asYears=Go,hs.valueOf=Ho,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=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",cs),hs.lang=li,
1275
1275
  // FORMATTING
1276
1276
  R("X",0,0,"unix"),R("x",0,0,"valueOf"),
1277
1277
  // PARSING
1278
- Ie("x",De),Ie("X",Pe),Be("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Be("x",(function(e,t,n){n._d=new Date(ue(e))})),
1278
+ Ie("x",De),Ie("X",Pe),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
1279
  //! moment.js
1280
- r.version="2.29.3",i(Kn),r.fn=co,r.min=er,r.max=tr,r.now=nr,r.utc=p,r.unix=uo,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=co,
1280
+ 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
1281
  // currently HTML5 input type only supports 24-hour formats
1282
1282
  r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",// <input type="datetime-local" />
1283
1283
  DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",// <input type="datetime-local" step="1" />
@@ -1288,68 +1288,66 @@ TIME_SECONDS:"HH:mm:ss",// <input type="time" step="1" />
1288
1288
  TIME_MS:"HH:mm:ss.SSS",// <input type="time" step="0.001" />
1289
1289
  WEEK:"GGGG-[W]WW",// <input type="week" />
1290
1290
  MONTH:"YYYY-MM"},r}()}));const oi={en:{casinoFooter:{timeText:"Time",sessionTimer:"logged in for"}},de:{casinoFooter:{timeText:"Time",sessionTimer:"logged in for"}},fr:{casinoFooter:{timeText:"Catégories",sessionTimer:"logged in for"}},ro:{casinoFooter:{timeText:"Ora",sessionTimer:"online de"}},es:{casinoFooter:{timeText:"Categorías",sessionTimer:"logged in for"}},pt:{casinoFooter:{timeText:"Categorias",sessionTimer:"logged in for"}}},{document:si}=U;
1291
- /* src/CasinoFooterV2.svelte generated by Svelte v3.48.0 */function ai(e,t,n){const r=e.slice();return r[76]=t[n],r}function li(e,t,n){const r=e.slice();return r[79]=t[n],r}function ci(e,t,n){const r=e.slice();return r[82]=t[n],r}
1291
+ /* src/CasinoFooterV2.svelte generated by Svelte v3.48.0 */function ai(e,t,n){const r=e.slice();return r[78]=t[n],r}function li(e,t,n){const r=e.slice();return r[81]=t[n],r}function ui(e,t,n){const r=e.slice();return r[84]=t[n],r}
1292
1292
  // (267:2) {#if headScript}
1293
- function ui(e){let t,n;return{c(){t=g("script"),l(t.src,n=/*licenseScriptSrc*/e[22])||k(t,"src",n)},m(e,n){f(e,t,n)},p(e,r){/*licenseScriptSrc*/4194304&r[0]&&!l(t.src,n=/*licenseScriptSrc*/e[22])&&k(t,"src",n)},d(e){e&&p(t)}}}
1293
+ function ci(e){let t,n;return{c(){t=g("script"),l(t.src,n=/*licenseScriptSrc*/e[23])||k(t,"src",n)},m(e,n){f(e,t,n)},p(e,r){/*licenseScriptSrc*/8388608&r[0]&&!l(t.src,n=/*licenseScriptSrc*/e[23])&&k(t,"src",n)},d(e){e&&p(t)}}}
1294
1294
  // (278:2) {:else}
1295
- function hi(e){let t,n,r,i,o,s,a,l,c,u,h,m,y=/*helpLinksRepeater*/e[12]&&pi(e),b=/*gameVendorsRepeater*/e[7]&&yi(e),v=/*paymentMethodsRepeater*/e[9]&&_i(e),w=/*panicbuttonenabled*/"true"===e[4]&&/*isLoggedIn*/e[24]&&wi(e),E=/*licensesRepeater*/e[14]&&ki(e),S=/*sponsorsRepeater*/e[11]&&Ti(e),T=/*socialLinksRepeater*/e[16]&&Li(e),x=/*languageselectorenabled*/"true"===e[3]&&/*languagePackLoaded*/e[30]&&/*selectedLanguage*/e[25]&&Oi(e),M=/*copyright*/e[17]&&Hi(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(),c=_(),S&&S.c(),u=_(),T&&T.c(),h=_(),x&&x.c(),m=_(),M&&M.c(),k(n,"class",r="FooterSide "+(/*isOnMobile*/e[32]&&/*isLoggedIn*/e[24]?"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,c),S&&S.m(o,null),d(o,u),T&&T.m(o,null),d(o,h),x&&x.m(o,null),d(o,m),M&&M.m(o,null)
1296
- /*div2_binding*/,e[54](t)},p(e,t){/*helpLinksRepeater*/e[12]?y?y.p(e,t):(y=pi(e),y.c(),y.m(n,null)):y&&(y.d(1),y=null),/*isLoggedIn*/16777216&t[0]&&r!==(r="FooterSide "+(/*isOnMobile*/e[32]&&/*isLoggedIn*/e[24]?"FooterSideMobile":""))&&k(n,"class",r),/*gameVendorsRepeater*/e[7]?b?b.p(e,t):(b=yi(e),b.c(),b.m(o,s)):b&&(b.d(1),b=null),/*paymentMethodsRepeater*/e[9]?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[24]?w?w.p(e,t):(w=wi(e),w.c(),w.m(o,l)):w&&(w.d(1),w=null),/*licensesRepeater*/e[14]?E?E.p(e,t):(E=ki(e),E.c(),E.m(o,c)):E&&(E.d(1),E=null),/*sponsorsRepeater*/e[11]?S?S.p(e,t):(S=Ti(e),S.c(),S.m(o,u)):S&&(S.d(1),S=null),/*socialLinksRepeater*/e[16]?T?T.p(e,t):(T=Li(e),T.c(),T.m(o,h)):T&&(T.d(1),T=null),/*languageselectorenabled*/"true"===e[3]&&/*languagePackLoaded*/e[30]&&/*selectedLanguage*/e[25]?x?x.p(e,t):(x=Oi(e),x.c(),x.m(o,m)):x&&(x.d(1),x=null),/*copyright*/e[17]?M?M.p(e,t):(M=Hi(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(),S&&S.d(),T&&T.d(),x&&x.d(),M&&M.d()
1297
- /*div2_binding*/,e[54](null)}}}
1295
+ function hi(e){let t,n,r,i,o,s,a,l,u,c,h,m,y=/*helpLinksRepeater*/e[13]&&pi(e),b=/*gameVendorsRepeater*/e[8]&&yi(e),v=/*paymentMethodsRepeater*/e[10]&&_i(e),w=/*panicbuttonenabled*/"true"===e[4]&&/*isLoggedIn*/e[25]&&wi(e),E=/*licensesRepeater*/e[15]&&ki(e),S=/*sponsorsRepeater*/e[12]&&Ti(e),T=/*socialLinksRepeater*/e[17]&&Li(e),x=/*languageselectorenabled*/"true"===e[3]&&/*languagePackLoaded*/e[31]&&/*selectedLanguage*/e[26]&&Oi(e),M=/*copyright*/e[18]&&Hi(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=_(),S&&S.c(),c=_(),T&&T.c(),h=_(),x&&x.c(),m=_(),M&&M.c(),k(n,"class",r="FooterSide "+(/*isOnMobile*/e[33]&&/*isLoggedIn*/e[25]?"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),S&&S.m(o,null),d(o,c),T&&T.m(o,null),d(o,h),x&&x.m(o,null),d(o,m),M&&M.m(o,null)
1296
+ /*div2_binding*/,e[55](t)},p(e,t){/*helpLinksRepeater*/e[13]?y?y.p(e,t):(y=pi(e),y.c(),y.m(n,null)):y&&(y.d(1),y=null),/*isLoggedIn*/33554432&t[0]&&r!==(r="FooterSide "+(/*isOnMobile*/e[33]&&/*isLoggedIn*/e[25]?"FooterSideMobile":""))&&k(n,"class",r),/*gameVendorsRepeater*/e[8]?b?b.p(e,t):(b=yi(e),b.c(),b.m(o,s)):b&&(b.d(1),b=null),/*paymentMethodsRepeater*/e[10]?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[25]?w?w.p(e,t):(w=wi(e),w.c(),w.m(o,l)):w&&(w.d(1),w=null),/*licensesRepeater*/e[15]?E?E.p(e,t):(E=ki(e),E.c(),E.m(o,u)):E&&(E.d(1),E=null),/*sponsorsRepeater*/e[12]?S?S.p(e,t):(S=Ti(e),S.c(),S.m(o,c)):S&&(S.d(1),S=null),/*socialLinksRepeater*/e[17]?T?T.p(e,t):(T=Li(e),T.c(),T.m(o,h)):T&&(T.d(1),T=null),/*languageselectorenabled*/"true"===e[3]&&/*languagePackLoaded*/e[31]&&/*selectedLanguage*/e[26]?x?x.p(e,t):(x=Oi(e),x.c(),x.m(o,m)):x&&(x.d(1),x=null),/*copyright*/e[18]?M?M.p(e,t):(M=Hi(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(),S&&S.d(),T&&T.d(),x&&x.d(),M&&M.d()
1297
+ /*div2_binding*/,e[55](null)}}}
1298
1298
  // (276:2) {#if isLoading}
1299
1299
  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)}}}
1300
1300
  // (273:0) {#if hasErrors}
1301
1301
  function fi(t){let n;return{c(){n=g("p"),n.textContent="500 Error - Internal Server Error",k(n,"class","SearchLoading")},m(e,t){f(e,n,t)},p:e,d(e){e&&p(n)}}}
1302
1302
  // (283:8) {#if helpLinksRepeater}
1303
- function pi(e){let t,n=/*helpLinksRepeater*/e[12],r=[];for(let t=0;t<n.length;t+=1)r[t]=gi(ci(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=v()},m(e,n){for(let t=0;t<r.length;t+=1)r[t].m(e,n);f(e,t,n)},p(e,i){if(/*helpLinksRepeater, target*/4100&i[0]){let o;for(n=/*helpLinksRepeater*/e[12],o=0;o<n.length;o+=1){const s=ci(e,n,o);r[o]?r[o].p(s,i):(r[o]=gi(s),r[o].c(),r[o].m(t.parentNode,t))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length}},d(e){m(r,e),e&&p(t)}}}
1303
+ function pi(e){let t,n=/*helpLinksRepeater*/e[13],r=[];for(let t=0;t<n.length;t+=1)r[t]=gi(ui(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=v()},m(e,n){for(let t=0;t<r.length;t+=1)r[t].m(e,n);f(e,t,n)},p(e,i){if(/*helpLinksRepeater, target, baseurl*/8228&i[0]){let o;for(n=/*helpLinksRepeater*/e[13],o=0;o<n.length;o+=1){const s=ui(e,n,o);r[o]?r[o].p(s,i):(r[o]=gi(s),r[o].c(),r[o].m(t.parentNode,t))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length}},d(e){m(r,e),e&&p(t)}}}
1304
1304
  // (285:12) {#if category.key}
1305
- function mi(e){let t,n,r=/*category*/e[82].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*/4096&t[0]&&r!==(r=/*category*/e[82].key+"")&&S(n,r)},d(e){e&&p(t)}}}
1305
+ function mi(e){let t,n,r=/*category*/e[84].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*/8192&t[0]&&r!==(r=/*category*/e[84].key+"")&&S(n,r)},d(e){e&&p(t)}}}
1306
1306
  // (284:10) {#each helpLinksRepeater as category}
1307
- function gi(e){let t,n,r,i=/*category*/e[82].key&&mi(e);return{c(){i&&i.c(),t=_(),n=g("casino-footer-section"),E(n,"helperflag","1"),E(n,"clientstyling",Fi),E(n,"category",r=/*category*/e[82].key),E(n,"target",/*target*/e[2]),E(n,"displaycolumn","true")},m(e,r){i&&i.m(e,r),f(e,t,r),f(e,n,r)},p(e,o){/*category*/e[82].key?i?i.p(e,o):(i=mi(e),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),/*helpLinksRepeater*/4096&o[0]&&r!==(r=/*category*/e[82].key)&&E(n,"category",r),/*target*/4&o[0]&&E(n,"target",/*target*/e[2])},d(e){i&&i.d(e),e&&p(t),e&&p(n)}}}
1307
+ function gi(e){let t,n,r,i=/*category*/e[84].key&&mi(e);return{c(){i&&i.c(),t=_(),n=g("casino-footer-section"),E(n,"helperflag","1"),E(n,"clientstyling",Fi),E(n,"category",r=/*category*/e[84].key),E(n,"target",/*target*/e[2]),E(n,"displaycolumn","true"),E(n,"baseurl",/*baseurl*/e[5])},m(e,r){i&&i.m(e,r),f(e,t,r),f(e,n,r)},p(e,o){/*category*/e[84].key?i?i.p(e,o):(i=mi(e),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),/*helpLinksRepeater*/8192&o[0]&&r!==(r=/*category*/e[84].key)&&E(n,"category",r),/*target*/4&o[0]&&E(n,"target",/*target*/e[2]),/*baseurl*/32&o[0]&&E(n,"baseurl",/*baseurl*/e[5])},d(e){i&&i.d(e),e&&p(t),e&&p(n)}}}
1308
1308
  // (295:8) {#if gameVendorsRepeater}
1309
- function yi(e){let t,n,r,i,o=/*gameVendorsLinksTitle*/e[6]&&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",Fi),E(i,"target",/*target*/e[2]),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[6]?o?o.p(e,t):(o=bi(e),o.c(),o.m(n,r)):o&&(o.d(1),o=null),/*target*/4&t[0]&&E(i,"target",/*target*/e[2])},d(e){e&&p(t),o&&o.d()}}}
1309
+ function yi(e){let t,n,r,i,o=/*gameVendorsLinksTitle*/e[7]&&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",Fi),E(i,"target",/*target*/e[2]),E(i,"baseurl",/*baseurl*/e[5]),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[7]?o?o.p(e,t):(o=bi(e),o.c(),o.m(n,r)):o&&(o.d(1),o=null),/*target*/4&t[0]&&E(i,"target",/*target*/e[2]),/*baseurl*/32&t[0]&&E(i,"baseurl",/*baseurl*/e[5])},d(e){e&&p(t),o&&o.d()}}}
1310
1310
  // (298:14) {#if gameVendorsLinksTitle}
1311
- function bi(e){let t,n;return{c(){t=g("p"),n=b(/*gameVendorsLinksTitle*/e[6]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*gameVendorsLinksTitle*/64&t[0]&&S(n,/*gameVendorsLinksTitle*/e[6])},d(e){e&&p(t)}}}
1311
+ function bi(e){let t,n;return{c(){t=g("p"),n=b(/*gameVendorsLinksTitle*/e[7]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*gameVendorsLinksTitle*/128&t[0]&&S(n,/*gameVendorsLinksTitle*/e[7])},d(e){e&&p(t)}}}
1312
1312
  // (307:6) {#if paymentMethodsRepeater}
1313
- function _i(e){let t,n,r,i,o=/*paymentLinksTitle*/e[8]&&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",Fi),E(i,"target",/*target*/e[2]),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[8]?o?o.p(e,t):(o=vi(e),o.c(),o.m(n,r)):o&&(o.d(1),o=null),/*target*/4&t[0]&&E(i,"target",/*target*/e[2])},d(e){e&&p(t),o&&o.d()}}}
1313
+ function _i(e){let t,n,r,i,o=/*paymentLinksTitle*/e[9]&&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",Fi),E(i,"target",/*target*/e[2]),E(i,"baseurl",/*baseurl*/e[5]),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[9]?o?o.p(e,t):(o=vi(e),o.c(),o.m(n,r)):o&&(o.d(1),o=null),/*target*/4&t[0]&&E(i,"target",/*target*/e[2]),/*baseurl*/32&t[0]&&E(i,"baseurl",/*baseurl*/e[5])},d(e){e&&p(t),o&&o.d()}}}
1314
1314
  // (310:12) {#if paymentLinksTitle}
1315
- function vi(e){let t,n;return{c(){t=g("p"),n=b(/*paymentLinksTitle*/e[8]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*paymentLinksTitle*/256&t[0]&&S(n,/*paymentLinksTitle*/e[8])},d(e){e&&p(t)}}}
1315
+ function vi(e){let t,n;return{c(){t=g("p"),n=b(/*paymentLinksTitle*/e[9]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*paymentLinksTitle*/512&t[0]&&S(n,/*paymentLinksTitle*/e[9])},d(e){e&&p(t)}}}
1316
1316
  // (320:6) {#if panicbuttonenabled === "true" && isLoggedIn}
1317
1317
  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])},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])},d(e){e&&p(t)}}}
1318
1318
  // (330:6) {#if licensesRepeater}
1319
- function ki(e){let t,n,r,i,o,s,a=/*licensesLinksTitle*/e[13]&&Ei(e),l=/*licenseDesc*/e[18]&&Si(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",Fi),E(i,"target",/*target*/e[2]),k(n,"class","LicenseLinks"),k(s,"class","LicenseDesc"),k(t,"class","GridRow")},m(e,c){f(e,t,c),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[13]?a?a.p(e,t):(a=Ei(e),a.c(),a.m(n,r)):a&&(a.d(1),a=null),/*target*/4&t[0]&&E(i,"target",/*target*/e[2]),/*licenseDesc*/e[18]?l?l.p(e,t):(l=Si(e),l.c(),l.m(s,null)):l&&(l.d(1),l=null)},d(e){e&&p(t),a&&a.d(),l&&l.d()}}}
1319
+ function ki(e){let t,n,r,i,o,s,a=/*licensesLinksTitle*/e[14]&&Ei(e),l=/*licenseDesc*/e[19]&&Si(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",Fi),E(i,"target",/*target*/e[2]),E(i,"baseurl",/*baseurl*/e[5]),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[14]?a?a.p(e,t):(a=Ei(e),a.c(),a.m(n,r)):a&&(a.d(1),a=null),/*target*/4&t[0]&&E(i,"target",/*target*/e[2]),/*baseurl*/32&t[0]&&E(i,"baseurl",/*baseurl*/e[5]),/*licenseDesc*/e[19]?l?l.p(e,t):(l=Si(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
  // (333:12) {#if licensesLinksTitle}
1321
- function Ei(e){let t,n;return{c(){t=g("p"),n=b(/*licensesLinksTitle*/e[13]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*licensesLinksTitle*/8192&t[0]&&S(n,/*licensesLinksTitle*/e[13])},d(e){e&&p(t)}}}
1321
+ function Ei(e){let t,n;return{c(){t=g("p"),n=b(/*licensesLinksTitle*/e[14]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*licensesLinksTitle*/16384&t[0]&&S(n,/*licensesLinksTitle*/e[14])},d(e){e&&p(t)}}}
1322
1322
  // (340:12) {#if licenseDesc}
1323
- function Si(e){let t,n,o,s,a,l,c;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||(c=[h(n=/*setContent*/e[33].call(null,t,/*licenseDesc*/e[18])),h(a=/*setContent*/e[33].call(null,s,/*licenseScript*/e[23]))],l=!0)},p(e,t){n&&i(n.update)&&/*licenseDesc*/262144&t[0]&&n.update.call(null,/*licenseDesc*/e[18]),a&&i(a.update)&&/*licenseScript*/8388608&t[0]&&a.update.call(null,/*licenseScript*/e[23])},d(e){e&&p(t),e&&p(o),e&&p(s),l=!1,r(c)}}}
1323
+ function Si(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[19])),h(a=/*setContent*/e[34].call(null,s,/*licenseScript*/e[24]))],l=!0)},p(e,t){n&&i(n.update)&&/*licenseDesc*/524288&t[0]&&n.update.call(null,/*licenseDesc*/e[19]),a&&i(a.update)&&/*licenseScript*/16777216&t[0]&&a.update.call(null,/*licenseScript*/e[24])},d(e){e&&p(t),e&&p(o),e&&p(s),l=!1,r(u)}}}
1324
1324
  // (351:6) {#if sponsorsRepeater}
1325
- function Ti(e){let t,n=/*sponsorsRepeater*/e[11]&&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[11]?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()}}}
1325
+ function Ti(e){let t,n=/*sponsorsRepeater*/e[12]&&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[12]?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
1326
  // (353:10) {#if sponsorsRepeater}
1327
- function xi(e){let t,n,r,i=/*sponsorsLinksTitle*/e[10]&&Mi(e);return{c(){t=g("div"),i&&i.c(),n=_(),r=g("casino-footer-section"),E(r,"sponsorflag","1"),E(r,"clientstyling",Fi),E(r,"target",/*target*/e[2])},m(e,o){f(e,t,o),i&&i.m(t,null),d(t,n),d(t,r)},p(e,o){/*sponsorsLinksTitle*/e[10]?i?i.p(e,o):(i=Mi(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*target*/4&o[0]&&E(r,"target",/*target*/e[2])},d(e){e&&p(t),i&&i.d()}}}
1327
+ function xi(e){let t,n,r,i=/*sponsorsLinksTitle*/e[11]&&Mi(e);return{c(){t=g("div"),i&&i.c(),n=_(),r=g("casino-footer-section"),E(r,"sponsorflag","1"),E(r,"clientstyling",Fi),E(r,"target",/*target*/e[2]),E(r,"baseurl",/*baseurl*/e[5])},m(e,o){f(e,t,o),i&&i.m(t,null),d(t,n),d(t,r)},p(e,o){/*sponsorsLinksTitle*/e[11]?i?i.p(e,o):(i=Mi(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*target*/4&o[0]&&E(r,"target",/*target*/e[2]),/*baseurl*/32&o[0]&&E(r,"baseurl",/*baseurl*/e[5])},d(e){e&&p(t),i&&i.d()}}}
1328
1328
  // (355:12) {#if sponsorsLinksTitle}
1329
- function Mi(e){let t,n;return{c(){t=g("p"),n=b(/*sponsorsLinksTitle*/e[10]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*sponsorsLinksTitle*/1024&t[0]&&S(n,/*sponsorsLinksTitle*/e[10])},d(e){e&&p(t)}}}
1329
+ function Mi(e){let t,n;return{c(){t=g("p"),n=b(/*sponsorsLinksTitle*/e[11]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*sponsorsLinksTitle*/2048&t[0]&&S(n,/*sponsorsLinksTitle*/e[11])},d(e){e&&p(t)}}}
1330
1330
  // (366:8) {#if socialLinksRepeater}
1331
- function Li(e){let t,n,r,i=/*socialLinksTitle*/e[15]&&Di(e);return{c(){t=g("div"),i&&i.c(),n=_(),r=g("casino-footer-section"),E(r,"socialflag","1"),E(r,"clientstyling",Fi),E(r,"target",/*target*/e[2]),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[15]?i?i.p(e,o):(i=Di(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*target*/4&o[0]&&E(r,"target",/*target*/e[2])},d(e){e&&p(t),i&&i.d()}}}
1331
+ function Li(e){let t,n,r,i=/*socialLinksTitle*/e[16]&&Di(e);return{c(){t=g("div"),i&&i.c(),n=_(),r=g("casino-footer-section"),E(r,"socialflag","1"),E(r,"clientstyling",Fi),E(r,"target",/*target*/e[2]),E(r,"baseurl",/*baseurl*/e[5]),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[16]?i?i.p(e,o):(i=Di(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*target*/4&o[0]&&E(r,"target",/*target*/e[2]),/*baseurl*/32&o[0]&&E(r,"baseurl",/*baseurl*/e[5])},d(e){e&&p(t),i&&i.d()}}}
1332
1332
  // (368:12) {#if socialLinksTitle}
1333
- function Di(e){let t,n;return{c(){t=g("p"),n=b(/*socialLinksTitle*/e[15]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*socialLinksTitle*/32768&t[0]&&S(n,/*socialLinksTitle*/e[15])},d(e){e&&p(t)}}}
1333
+ function Di(e){let t,n;return{c(){t=g("p"),n=b(/*socialLinksTitle*/e[16]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*socialLinksTitle*/65536&t[0]&&S(n,/*socialLinksTitle*/e[16])},d(e){e&&p(t)}}}
1334
1334
  // (377:6) {#if (languageselectorenabled==="true" && languagePackLoaded && selectedLanguage)}
1335
- function Oi(e){let t,n,i,o,s,a,c,u,h,v,E,x,M,L,D,O,A,P=/*languagesArray*/e[26],H=[];for(let t=0;t<P.length;t+=1)H[t]=Ai(li(e,P,t));let I=/*languages*/e[5],F=[];for(let t=0;t<I.length;t+=1)F[t]=Pi(ai(e,I,t));return{c(){t=g("div"),n=g("div"),i=g("select");for(let e=0;e<H.length;e+=1)H[e].c();o=_(),s=g("div"),a=g("button"),c=g("img"),h=b(/*languageDisplayName*/e[28]),v=_(),E=y("svg"),x=y("path"),M=_(),L=g("div"),D=g("ul");for(let e=0;e<F.length;e+=1)F[e].c();k(i,"class","Item ItemLanguage"),/*selectedLanguage*/void 0===e[25]&&$((()=>/*select_change_handler*/e[51].call(i))),k(c,"class","LanguageFlag"),l(c.src,u=/*currentLanguageFlag*/e[29])||k(c,"src",u),k(x,"opacity","0.4"),k(x,"d","M0.94 0L4.00067 3.05467L7.06 0L8 0.940667L4.00067 4.94133L0 0.940667L0.94 0Z"),k(x,"fill","black"),k(E,"width","8"),k(E,"height","5"),k(E,"viewBox","0 0 8 5"),k(E,"fill","none"),k(E,"xmlns","http://www.w3.org/2000/svg"),k(a,"class","DrawerButton"),a.value=/*selectedLanguage*/e[25],k(D,"id","LanguageList"),k(L,"class","LanguageDrawer hidden"),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<H.length;e+=1)H[e].m(i,null);T(i,/*selectedLanguage*/e[25]),d(n,o),d(n,s),d(s,a),d(a,c),d(a,h),d(a,v),d(a,E),d(E,x),d(s,M),d(s,L),d(L,D);for(let e=0;e<F.length;e+=1)F[e].m(D,null);
1336
- /*div0_binding*/e[53](L),O||(A=[w(i,"change",/*select_change_handler*/e[51]),w(i,"change",/*change_handler*/e[52]),w(a,"click",/*toggleLanguageDrawer*/e[35])],O=!0)},p(e,t){if(/*languagesArray*/67108864&t[0]){let n;for(P=/*languagesArray*/e[26],n=0;n<P.length;n+=1){const r=li(e,P,n);H[n]?H[n].p(r,t):(H[n]=Ai(r),H[n].c(),H[n].m(i,null))}for(;n<H.length;n+=1)H[n].d(1);H.length=P.length}if(/*selectedLanguage, languagesArray*/100663296&t[0]&&T(i,/*selectedLanguage*/e[25]),/*currentLanguageFlag*/536870912&t[0]&&!l(c.src,u=/*currentLanguageFlag*/e[29])&&k(c,"src",u),/*languageDisplayName*/268435456&t[0]&&S(h,/*languageDisplayName*/e[28]),/*selectedLanguage, languagesArray*/100663296&t[0]&&(a.value=/*selectedLanguage*/e[25]),/*languages*/32&t[0]|/*overlayOptionTrigger*/32&t[1]){let n;for(I=/*languages*/e[5],n=0;n<I.length;n+=1){const r=ai(e,I,n);F[n]?F[n].p(r,t):(F[n]=Pi(r),F[n].c(),F[n].m(D,null))}for(;n<F.length;n+=1)F[n].d(1);F.length=I.length}},d(n){n&&p(t),m(H,n),m(F,n),
1337
- /*div0_binding*/e[53](null),O=!1,r(A)}}}
1335
+ function Oi(e){let t,n,i,o,s,a,u,c,h,v,E,x,M,L,D,O,A,P=/*languagesArray*/e[27],H=[];for(let t=0;t<P.length;t+=1)H[t]=Ai(li(e,P,t));let I=/*languages*/e[6],F=[];for(let t=0;t<I.length;t+=1)F[t]=Pi(ai(e,I,t));return{c(){t=g("div"),n=g("div"),i=g("select");for(let e=0;e<H.length;e+=1)H[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[29]),M=_(),L=y("svg"),D=y("path"),k(i,"class","Item ItemLanguage"),/*selectedLanguage*/void 0===e[26]&&$((()=>/*select_change_handler*/e[52].call(i))),k(u,"id","LanguageList"),k(a,"class","LanguageDrawer hidden"),k(v,"class","LanguageFlag"),l(v.src,E=/*currentLanguageFlag*/e[30])||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[26],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<H.length;e+=1)H[e].m(i,null);T(i,/*selectedLanguage*/e[26]),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);
1336
+ /*div0_binding*/e[54](a),d(s,c),d(s,h),d(h,v),d(h,x),d(h,M),d(h,L),d(L,D),O||(A=[w(i,"change",/*select_change_handler*/e[52]),w(i,"change",/*change_handler*/e[53]),w(h,"click",/*toggleLanguageDrawer*/e[36])],O=!0)},p(e,t){if(/*languagesArray*/134217728&t[0]){let n;for(P=/*languagesArray*/e[27],n=0;n<P.length;n+=1){const r=li(e,P,n);H[n]?H[n].p(r,t):(H[n]=Ai(r),H[n].c(),H[n].m(i,null))}for(;n<H.length;n+=1)H[n].d(1);H.length=P.length}if(/*selectedLanguage, languagesArray*/201326592&t[0]&&T(i,/*selectedLanguage*/e[26]),/*languages*/64&t[0]|/*overlayOptionTrigger*/64&t[1]){let n;for(I=/*languages*/e[6],n=0;n<I.length;n+=1){const r=ai(e,I,n);F[n]?F[n].p(r,t):(F[n]=Pi(r),F[n].c(),F[n].m(u,null))}for(;n<F.length;n+=1)F[n].d(1);F.length=I.length}/*currentLanguageFlag*/1073741824&t[0]&&!l(v.src,E=/*currentLanguageFlag*/e[30])&&k(v,"src",E),/*languageDisplayName*/536870912&t[0]&&S(x,/*languageDisplayName*/e[29]),/*selectedLanguage, languagesArray*/201326592&t[0]&&(h.value=/*selectedLanguage*/e[26])},d(n){n&&p(t),m(H,n),m(F,n),
1337
+ /*div0_binding*/e[54](null),O=!1,r(A)}}}
1338
1338
  // (382:14) {#each languagesArray as operatorLanguage}
1339
- function Ai(e){let t,n,r,i=/*operatorLanguage*/e[79]+"";return{c(){t=g("option"),n=b(i),t.__value=r=/*operatorLanguage*/e[79],t.value=t.__value,t.selected=!0},m(e,r){f(e,t,r),d(t,n)},p(e,o){/*languagesArray*/67108864&o[0]&&i!==(i=/*operatorLanguage*/e[79]+"")&&S(n,i),/*languagesArray*/67108864&o[0]&&r!==(r=/*operatorLanguage*/e[79])&&(t.__value=r,t.value=t.__value)},d(e){e&&p(t)}}}
1340
- // (396:20) {#each languages as language}
1341
- function Pi(e){let t,n,r,i,o,s,a,c,u,h=/*language*/e[76].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[76].flag_icon_editable)||k(n,"src",r),k(i,"href","javascript:void(0)"),k(t,"class","OverlayLanguageOption"),k(t,"data-lang",a=/*language*/e[76].code)},m(r,a){f(r,t,a),d(t,n),d(t,i),d(i,o),d(o,s),c||(u=w(t,"click",/*overlayOptionTrigger*/e[36]),c=!0)},p(e,i){/*languages*/32&i[0]&&!l(n.src,r=/*language*/e[76].flag_icon_editable)&&k(n,"src",r),/*languages*/32&i[0]&&h!==(h=/*language*/e[76].name+"")&&S(s,h),/*languages*/32&i[0]&&a!==(a=/*language*/e[76].code)&&k(t,"data-lang",a)},d(e){e&&p(t),c=!1,u()}}}
1339
+ function Ai(e){let t,n,r,i=/*operatorLanguage*/e[81]+"";return{c(){t=g("option"),n=b(i),t.__value=r=/*operatorLanguage*/e[81],t.value=t.__value,t.selected=!0},m(e,r){f(e,t,r),d(t,n)},p(e,o){/*languagesArray*/134217728&o[0]&&i!==(i=/*operatorLanguage*/e[81]+"")&&S(n,i),/*languagesArray*/134217728&o[0]&&r!==(r=/*operatorLanguage*/e[81])&&(t.__value=r,t.value=t.__value)},d(e){e&&p(t)}}}
1340
+ // (391:18) {#each languages as language}
1341
+ function Pi(e){let t,n,r,i,o,s,a,u,c,h=/*language*/e[78].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[78].flag_icon_editable)||k(n,"src",r),k(i,"href","javascript:void(0)"),k(t,"class","OverlayLanguageOption"),k(t,"data-lang",a=/*language*/e[78].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[78].flag_icon_editable)&&k(n,"src",r),/*languages*/64&i[0]&&h!==(h=/*language*/e[78].name+"")&&S(s,h),/*languages*/64&i[0]&&a!==(a=/*language*/e[78].code)&&k(t,"data-lang",a)},d(e){e&&p(t),u=!1,c()}}}
1342
1342
  // (407:6) {#if copyright}
1343
- function Hi(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[33].call(null,t,/*copyright*/e[17])),r=!0)},p(e,t){n&&i(n.update)&&/*copyright*/131072&t[0]&&n.update.call(null,/*copyright*/e[17])},d(e){e&&p(t),r=!1,o()}}}function Ii(t){let n,r,i,o=/*headScript*/t[21]&&ui(t);function s(e,t){/*hasErrors*/
1344
- return e[19]?fi:/*isLoading*/e[20]?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","http://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[21]?o?o.p(e,t):(o=ui(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)}}}let Fi="";function $i(e,t,n){let r;u(e,Qr,(e=>n(65,r=e)));let i,o,s,a,l,c,h,{endpoint:d=""}=t,{lang:f="en"}=t,{env:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{target:y=""}=t,{clockenabled:b=""}=t,{clocksecondsenabled:_=""}=t,{clockcustomformat:v=""}=t,{clocktext:w="Time:"}=t,{languageselectorenabled:k="true"}=t,{languageslist:E="en, ro"}=t,{languagedisplaytype:S="name"}=t,{session:T=""}=t,{userid:x=""}=t,{userendpoint:M=""}=t,{panicbuttonenabled:L="true"}=t,{sessiontimerenabled:O="true"}=t,{grouplink:P="true"}=t,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)))(window.navigator.userAgent),I="",F=[],$="",C=[],N="",B=[],R="",Y=[],U="",G=[],j="",V=[],W="",z="",Z=!1,X=!1,K=!1,q="",J="",Q=!1,ee="hr",te=[],ne=[],re="",ie="",oe=!1,se="",ae=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
1343
+ function Hi(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[18])),r=!0)},p(e,t){n&&i(n.update)&&/*copyright*/262144&t[0]&&n.update.call(null,/*copyright*/e[18])},d(e){e&&p(t),r=!1,o()}}}function Ii(t){let n,r,i,o=/*headScript*/t[22]&&ci(t);function s(e,t){/*hasErrors*/
1344
+ return e[20]?fi:/*isLoading*/e[21]?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","http://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[22]?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)}}}let Fi="";function $i(e,t,n){let r;c(e,Qr,(e=>n(67,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,{target:y=""}=t,{clockenabled:b=""}=t,{clocksecondsenabled:_=""}=t,{clockcustomformat:v=""}=t,{clocktext:w="Time:"}=t,{languageselectorenabled:k="true"}=t,{languageslist:E="en, ro"}=t,{languagedisplaytype:S="name"}=t,{session:T=""}=t,{userid:x=""}=t,{userendpoint:M=""}=t,{panicbuttonenabled:L="true"}=t,{sessiontimerenabled:O="true"}=t,{grouplink:P="true"}=t,{baseurl:H=""}=t,I=(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)))(window.navigator.userAgent),F="",$=[],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
1345
  /*dictionary.set(translations);
1346
- locale.set(_locale);*/}({withLocale:"en",translations:{}}),Object.keys(oi).forEach((e=>{!function(e,t){xr(e,t)}(e,oi[e])}));
1347
- // needed for session timer
1348
- const le=()=>{(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)))}))})(M,T).then((e=>{e.Guid,e.UserID,n(24,Q=!0),ce(e)}),(e=>{n(24,Q=!1),console.error("Error while checking the session - ",e)}))},ce=e=>{
1346
+ 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)))}))})(M,T).then((e=>{e.Guid,e.UserID,n(25,ee=!0),he(e)}),(e=>{n(25,ee=!1),console.error("Error while checking the session - ",e)}))},he=e=>{
1349
1347
  // using Date instead of moment because they recommend in their docs to stop using it for new projects
1350
- const t=new Date(e.Login),n=(new Date).getTimezoneOffset()/60;let i=(new Date).getTime()-t.getTime(),o=Math.floor(i/36e5)+n,s=Math.floor(i%36e5/6e4),a=Math.floor(i%6e4/1e3);c=setInterval((()=>{o=Math.floor(i/36e5)+n,s=Math.floor(i%36e5/6e4),a=Math.floor(i%6e4/1e3),se=`${o>9?o:"0"+o}:${s>9?s:"0"+s}:${a>9?a:"0"+a}`,ae.innerHTML=` ${r("casinoFooter.sessionTimer")} ${se}`,i+=1e3}),1e3)},ue=()=>{const e="false"!=v?v:`hh:mm${"true"===_?":ss":""} (UTC Z)`;o=ii().format(e)},he=()=>{window.postMessage({type:"LanguageChanged",selectedLanguage:ee},window.location.href)},de=()=>{let e=!1;te.forEach(((t,r)=>{if(t.code==ee.toLowerCase()){let r="";switch(e=!0,n(29,ie=t.flag_icon_editable),S){case"name":r=t.name;break;case"translatedName":r=t.translated_name;break;default:r=t.code}n(28,re=r)}})),e||n(28,re=ee)};D((()=>()=>{clearInterval(l),clearInterval(c)}));return e.$$set=e=>{"endpoint"in e&&n(37,d=e.endpoint),"lang"in e&&n(0,f=e.lang),"env"in e&&n(38,p=e.env),"clientstyling"in e&&n(1,m=e.clientstyling),"clientstylingurl"in e&&n(39,g=e.clientstylingurl),"target"in e&&n(2,y=e.target),"clockenabled"in e&&n(40,b=e.clockenabled),"clocksecondsenabled"in e&&n(41,_=e.clocksecondsenabled),"clockcustomformat"in e&&n(42,v=e.clockcustomformat),"clocktext"in e&&n(43,w=e.clocktext),"languageselectorenabled"in e&&n(3,k=e.languageselectorenabled),"languageslist"in e&&n(44,E=e.languageslist),"languagedisplaytype"in e&&n(45,S=e.languagedisplaytype),"session"in e&&n(46,T=e.session),"userid"in e&&n(47,x=e.userid),"userendpoint"in e&&n(48,M=e.userendpoint),"panicbuttonenabled"in e&&n(4,L=e.panicbuttonenabled),"sessiontimerenabled"in e&&n(49,O=e.sessiontimerenabled),"grouplink"in e&&n(50,P=e.grouplink)},e.$$.update=()=>{var t;/*lang*/1&e.$$.dirty[0]&&f&&(t=f,Yr.set(t)),/*languageslist*/8192&e.$$.dirty[1]&&E&&(n(26,ne=E.replace(/ /g,"").split(",")),n(26,ne=ne.map((e=>e.toUpperCase())))),/*session, userid, userendpoint*/229376&e.$$.dirty[1]&&T&&x&&M&&le(),/*lang*/1&e.$$.dirty[0]|/*endpoint, env*/192&e.$$.dirty[1]&&d&&f&&p&&(()=>{let e=new URL(`${d}/${f}/footer-raw-data`);e.searchParams.append("env",p),"true"==P&&e.searchParams.append("helpLinks_groupby","helpLinkCategory"),n(20,X=!0),fetch(e.href).then((e=>e.json())).then((e=>{let t,r,o;n(20,X=!1),i=e,n(6,({gameVendorsLinksTitle:I,gameVendorsRepeater:F,paymentLinksTitle:$,paymentMethodsRepeater:C,sponsorsLinksTitle:N,sponsorsRepeater:B,helpLinksTitle:R,helpLinksRepeater:Y,licensesLinksTitle:U,licensesRepeater:G,socialLinksTitle:j,socialLinksRepeater:V,copyright:W,licenseDesc:z,licenseHeadScriptSrc:t,licenseScriptBody:r,licenseEvent:o,language:te}=i),I,n(7,F),n(8,$),n(9,C),n(10,N),n(11,B),n(12,Y),n(13,U),n(14,G),n(15,j),n(16,V),n(17,W),n(18,z),n(5,te)),te&&(n(30,oe=!0),de()),(null==t?void 0:t.length)>0&&(n(21,K=!0),n(22,q=t)),(null==r?void 0:r.length)>0&&n(23,J=r),window.postMessage({type:o},window.location.href),window.postMessage({type:"FooterData",gameVendorsRepeater:F,paymentMethodsRepeater:C,sponsorsRepeater:B,helpLinksRepeater:Y,licensesRepeater:G,socialLinksRepeater:V},window.location.href)})).catch((e=>{n(19,Z=!0),n(20,X=!1),console.error(e)}))})(),/*clockenabled, clocksecondsenabled, clockcustomformat*/3584&e.$$.dirty[1]&&"false"!==b&&_&&v&&ue(),/*clockenabled, clocksecondsenabled*/1536&e.$$.dirty[1]&&"false"!==b&&_&&(s="true"==_?1e3:6e4)&&(l=setInterval((()=>{ue()}),s)),/*lang, languages*/33&e.$$.dirty[0]&&f&&n(25,ee=f)&&te&&te.length>0&&de(),/*clientstyling*/2&e.$$.dirty[0]&&m&&(()=>{let e=document.createElement("style");e.innerHTML=m,h&&h.appendChild(e)})(),/*clientstylingurl*/256&e.$$.dirty[1]&&g&&(()=>{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,y,k,L,te,I,F,$,C,N,B,Y,U,G,j,V,W,z,Z,X,K,q,J,Q,ee,ne,a,re,ie,oe,h,H,(e,t)=>{let n=document.createElement("div");
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"!=v?v:`hh:mm${"true"===_?":ss":""} (UTC Z)`;o=ii().format(e),ue.innerHTML=` ${w} ${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(30,oe=t.flag_icon_editable),S){case"name":r=t.name;break;case"translatedName":r=t.translated_name;break;default:r=t.code}n(29,ie=r)}})),e||n(29,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(40,g=e.clientstylingurl),"target"in e&&n(2,y=e.target),"clockenabled"in e&&n(41,b=e.clockenabled),"clocksecondsenabled"in e&&n(42,_=e.clocksecondsenabled),"clockcustomformat"in e&&n(43,v=e.clockcustomformat),"clocktext"in e&&n(44,w=e.clocktext),"languageselectorenabled"in e&&n(3,k=e.languageselectorenabled),"languageslist"in e&&n(45,E=e.languageslist),"languagedisplaytype"in e&&n(46,S=e.languagedisplaytype),"session"in e&&n(47,T=e.session),"userid"in e&&n(48,x=e.userid),"userendpoint"in e&&n(49,M=e.userendpoint),"panicbuttonenabled"in e&&n(4,L=e.panicbuttonenabled),"sessiontimerenabled"in e&&n(50,O=e.sessiontimerenabled),"grouplink"in e&&n(51,P=e.grouplink),"baseurl"in e&&n(5,H=e.baseurl)},e.$$.update=()=>{var t;/*lang*/1&e.$$.dirty[0]&&f&&(t=f,Yr.set(t)),/*languageslist*/16384&e.$$.dirty[1]&&E&&(n(27,re=E.replace(/ /g,"").split(",")),n(27,re=re.map((e=>e.toUpperCase())))),/*session, userid, userendpoint*/458752&e.$$.dirty[1]&&T&&x&&M&&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),"true"==P&&e.searchParams.append("helpLinks_groupby","helpLinkCategory"),n(21,K=!0),fetch(e.href).then((e=>e.json())).then((e=>{let t,r,o;n(21,K=!1),i=e,n(7,({gameVendorsLinksTitle:F,gameVendorsRepeater:$,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(8,$),n(9,C),n(10,N),n(11,B),n(12,R),n(13,U),n(14,G),n(15,j),n(16,V),n(17,W),n(18,z),n(19,Z),n(6,ne)),ne&&(n(31,se=!0),pe()),(null==t?void 0:t.length)>0&&(n(22,q=!0),n(23,J=t)),(null==r?void 0:r.length)>0&&n(24,Q=r),window.postMessage({type:o},window.location.href),window.postMessage({type:"FooterData",gameVendorsRepeater:$,paymentMethodsRepeater:N,sponsorsRepeater:R,helpLinksRepeater:U,licensesRepeater:j,socialLinksRepeater:W},window.location.href)})).catch((e=>{n(20,X=!0),n(21,K=!1),console.error(e)}))})(),/*clockenabled, clocksecondsenabled, clockcustomformat*/7168&e.$$.dirty[1]&&"false"!==b&&_&&v&&de(),/*clockenabled, clocksecondsenabled*/3072&e.$$.dirty[1]&&"false"!==b&&_&&(s="true"==_?1e3:6e4)&&(l=setInterval((()=>{de()}),s)),/*lang, languages*/65&e.$$.dirty[0]&&f&&n(26,te=f)&&ne&&ne.length>0&&pe(),/*clientstyling*/2&e.$$.dirty[0]&&m&&(()=>{let e=document.createElement("style");e.innerHTML=m,h&&h.appendChild(e)})(),/*clientstylingurl*/512&e.$$.dirty[1]&&g&&(()=>{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,y,k,L,H,ne,F,$,C,N,B,R,U,G,j,V,W,z,Z,X,K,q,J,Q,ee,te,re,a,ie,oe,se,h,I,(e,t)=>{let n=document.createElement("div");n.innerHTML=t,e.append(n),
1351
1349
  //Add clock
1352
- if(n.innerHTML=t,e.append(n),"true"===b&&e.classList.contains("DetailedLicenses")){const t=document.createElement("p");t.innerHTML=` ${w} ${o}`,e.children[0].children[0].append(t)}
1350
+ "true"===b&&e.classList.contains("DetailedLicenses")&&e.children[0].children[0].append(ue),
1353
1351
  //Add session timer
1354
- "true"==O&&e.classList.contains("DetailedLicenses")&&e.children[0].children[0].append(ae)},he,()=>{a.classList.toggle("hidden")},e=>{let t=e.target.closest(".OverlayLanguageOption");n(25,ee=t.getAttribute("data-lang")),he(),de(),a.classList.toggle("hidden")},d,p,g,b,_,v,w,E,S,T,x,M,O,P,function(){ee=function(e){const t=e.querySelector(":checked")||e.options[0];return t&&t.__value}(this),n(25,ee),n(0,f),n(5,te),n(26,ne)},()=>he(),function(e){A[e?"unshift":"push"]((()=>{a=e,n(27,a)}))},function(e){A[e?"unshift":"push"]((()=>{h=e,n(31,h)}))}]}class Ci extends V{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.Footer{background-color:#E8E9EB;position:relative}.FooterSideMobile{margin-top:66px}.FooterSide{justify-content:center;height:100%;display:flex;flex-direction:column;position:absolute;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:0 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}.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}.LanguageDrawer{position:absolute;background:#E8E9EB;width:150px;top: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{list-style:none;width:24px;position:relative;padding:0;justify-content:center}.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},$i,Ii,o,{endpoint:37,lang:0,env:38,clientstyling:1,clientstylingurl:39,target: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},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","target","clockenabled","clocksecondsenabled","clockcustomformat","clocktext","languageselectorenabled","languageslist","languagedisplaytype","session","userid","userendpoint","panicbuttonenabled","sessiontimerenabled","grouplink"]}get endpoint(){return this.$$.ctx[37]}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[38]}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[39]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get target(){return this.$$.ctx[2]}set target(e){this.$$set({target: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()}}return!customElements.get("casino-footer-v2")&&customElements.define("casino-footer-v2",Ci),Ci}));
1352
+ "true"==O&&e.classList.contains("DetailedLicenses")&&e.children[0].children[0].append(le)},fe,()=>{a.classList.toggle("hidden")},e=>{let t=e.target.closest(".OverlayLanguageOption");n(26,te=t.getAttribute("data-lang")),fe(),pe(),a.classList.toggle("hidden")},d,p,g,b,_,v,w,E,S,T,x,M,O,P,function(){te=function(e){const t=e.querySelector(":checked")||e.options[0];return t&&t.__value}(this),n(26,te),n(0,f),n(6,ne),n(27,re)},()=>fe(),function(e){A[e?"unshift":"push"]((()=>{a=e,n(28,a)}))},function(e){A[e?"unshift":"push"]((()=>{h=e,n(32,h)}))}]}class Ci extends V{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.Footer{background-color:#E8E9EB;display:flex;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:0 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},$i,Ii,o,{endpoint:38,lang:0,env:39,clientstyling:1,clientstylingurl:40,target:2,clockenabled:41,clocksecondsenabled:42,clockcustomformat:43,clocktext:44,languageselectorenabled:3,languageslist:45,languagedisplaytype:46,session:47,userid:48,userendpoint:49,panicbuttonenabled:4,sessiontimerenabled:50,grouplink:51,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","target","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[40]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get target(){return this.$$.ctx[2]}set target(e){this.$$set({target:e}),B()}get clockenabled(){return this.$$.ctx[41]}set clockenabled(e){this.$$set({clockenabled:e}),B()}get clocksecondsenabled(){return this.$$.ctx[42]}set clocksecondsenabled(e){this.$$set({clocksecondsenabled:e}),B()}get clockcustomformat(){return this.$$.ctx[43]}set clockcustomformat(e){this.$$set({clockcustomformat:e}),B()}get clocktext(){return this.$$.ctx[44]}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[45]}set languageslist(e){this.$$set({languageslist:e}),B()}get languagedisplaytype(){return this.$$.ctx[46]}set languagedisplaytype(e){this.$$set({languagedisplaytype:e}),B()}get session(){return this.$$.ctx[47]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[48]}set userid(e){this.$$set({userid:e}),B()}get userendpoint(){return this.$$.ctx[49]}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[50]}set sessiontimerenabled(e){this.$$set({sessiontimerenabled:e}),B()}get grouplink(){return this.$$.ctx[51]}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",Ci),Ci}));
1355
1353
  //# sourceMappingURL=casino-footer-v2.js.map