@everymatrix/casino-bonuses-controller 1.29.2 → 1.29.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@ for(const n in t)e[n]=t[n];return e}function n(e){return e()}function r(){return
9
9
  * If this list becomes too big, rethink this approach.
10
10
  */const x=["width","height"];function E(e,t){
11
11
  // @ts-ignore
12
- const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const r in t)null==t[r]?e.removeAttribute(r):"style"===r?e.style.cssText=t[r]:"__value"===r?e.value=e[r]=t[r]:n[r]&&n[r].set&&-1===x.indexOf(r)?e[r]=t[r]:C(e,r,t[r])}function A(e,t){for(const n in t)C(e,n,t[n])}function T(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:C(e,t,n)}function S(e){return""===e?null:+e}function P(e,t){t=""+t,e.data!==t&&(e.data=t)}function D(e,t,n){~d.indexOf(n)?function(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}(e,t):P(e,t)}function k(e,t){e.value=null==t?"":t}function M(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function B(e,t,n){e.classList[n?"add":"remove"](t)}function O(e){const t={};for(const n of e)t[n.name]=n.value;return t}let N;function I(e){N=e}
12
+ const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const r in t)null==t[r]?e.removeAttribute(r):"style"===r?e.style.cssText=t[r]:"__value"===r?e.value=e[r]=t[r]:n[r]&&n[r].set&&-1===x.indexOf(r)?e[r]=t[r]:C(e,r,t[r])}function A(e,t){for(const n in t)C(e,n,t[n])}function T(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:C(e,t,n)}function S(e){return""===e?null:+e}function P(e,t){t=""+t,e.data!==t&&(e.data=t)}function D(e,t,n){~d.indexOf(n)?function(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}(e,t):P(e,t)}function k(e,t){e.value=null==t?"":t}function M(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function B(e,t,n){e.classList[n?"add":"remove"](t)}function O(e){const t={};for(const n of e)t[n.name]=n.value;return t}let N;function L(e){N=e}
13
13
  /**
14
14
  * The `onMount` function schedules a callback to run as soon as the component has been mounted to the DOM.
15
15
  * It must be called during the component's initialisation (but doesn't need to live *inside* the component;
@@ -19,7 +19,7 @@ const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const r in t)null==t[r
19
19
  *
20
20
  * https://svelte.dev/docs#run-time-svelte-onmount
21
21
  */
22
- function L(e){(function(){if(!N)throw new Error("Function called outside component initialization");return N})().$$.on_mount.push(e)}const H=[],F=[];let R=[];const $=[],Y=Promise.resolve();let U=!1;function z(e){R.push(e)}
22
+ function I(e){(function(){if(!N)throw new Error("Function called outside component initialization");return N})().$$.on_mount.push(e)}const H=[],F=[];let R=[];const $=[],Y=Promise.resolve();let U=!1;function z(e){R.push(e)}
23
23
  // flush() calls callbacks in this order:
24
24
  // 1. All beforeUpdate callbacks, in order: parents before children
25
25
  // 2. All bind:this callbacks, in reverse order: children before parents.
@@ -46,21 +46,21 @@ function j(){
46
46
  if(0!==V)return;const e=N;do{
47
47
  // first, call beforeUpdate functions
48
48
  // and update components
49
- try{for(;V<H.length;){const e=H[V];V++,I(e),G(e.$$)}}catch(e){
49
+ try{for(;V<H.length;){const e=H[V];V++,L(e),G(e.$$)}}catch(e){
50
50
  // reset dirty state to not end up in a deadlocked state and then rethrow
51
- throw H.length=0,V=0,e}for(I(null),H.length=0,V=0;F.length;)F.pop()();
51
+ throw H.length=0,V=0,e}for(L(null),H.length=0,V=0;F.length;)F.pop()();
52
52
  // then, once components are updated, call
53
53
  // afterUpdate functions. This may cause
54
54
  // subsequent updates...
55
55
  for(let e=0;e<R.length;e+=1){const t=R[e];W.has(t)||(
56
56
  // ...so guard against infinite loops
57
- W.add(t),t())}R.length=0}while(H.length);for(;$.length;)$.pop()();U=!1,W.clear(),I(e)}function G(e){if(null!==e.fragment){e.update(),o(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(z)}}
57
+ W.add(t),t())}R.length=0}while(H.length);for(;$.length;)$.pop()();U=!1,W.clear(),L(e)}function G(e){if(null!==e.fragment){e.update(),o(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(z)}}
58
58
  /**
59
59
  * Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
60
60
  */const q=new Set;function Z(e,t){const n={},r={},o={$$scope:1};let i=e.length;for(;i--;){const s=e[i],a=t[i];if(a){for(const e in s)e in a||(r[e]=1);for(const e in a)o[e]||(n[e]=a[e],o[e]=1);e[i]=a}else for(const e in s)o[e]=1}for(const e in r)e in n||(n[e]=void 0);return n}function K(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];R.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),R=t}(n.after_update),o(n.on_destroy),n.fragment&&n.fragment.d(t),
61
61
  // TODO null out other refs, including component.$$ (but need to
62
62
  // preserve final state?)
63
- n.on_destroy=n.fragment=null,n.ctx=[])}function X(e,t){-1===e.$$.dirty[0]&&(H.push(e),U||(U=!0,Y.then(j)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function J(t,s,a,l,u,c,d,h=[-1]){const p=N;I(t);const m=t.$$={fragment:null,ctx:[],
63
+ n.on_destroy=n.fragment=null,n.ctx=[])}function X(e,t){-1===e.$$.dirty[0]&&(H.push(e),U||(U=!0,Y.then(j)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function J(t,s,a,l,u,c,d,h=[-1]){const p=N;L(t);const m=t.$$={fragment:null,ctx:[],
64
64
  // state
65
65
  props:c,update:e,not_equal:u,bound:r(),
66
66
  // lifecycle
@@ -81,7 +81,7 @@ z((()=>{const t=e.$$.on_mount.map(n).filter(i);
81
81
  e.$$.on_destroy?e.$$.on_destroy.push(...t):
82
82
  // Edge case - component was destroyed immediately,
83
83
  // most likely as a result of a binding initialising
84
- o(t),e.$$.on_mount=[]})),l.forEach(z)}(t,s.target,s.anchor,s.customElement),j()}var g,y;I(p)}let Q;"function"==typeof HTMLElement&&(Q=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(n).filter(i);
84
+ o(t),e.$$.on_mount=[]})),l.forEach(z)}(t,s.target,s.anchor,s.customElement),j()}var g,y;L(p)}let Q;"function"==typeof HTMLElement&&(Q=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(n).filter(i);
85
85
  // @ts-ignore todo: improve typings
86
86
  for(const e in this.$$.slotted)
87
87
  // @ts-ignore todo: improve typings
@@ -260,7 +260,7 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
260
260
  case"x":// 1, 2, 3, 4: The ISO8601 varios formats
261
261
  throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
262
262
  // @generated from regex-gen.ts
263
- var Oe=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Ne=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ie=/^(@+)?(\+|#+)?[rs]?$/g,Le=/(\*)(0+)|(#+)(0+)|(0+)/g,He=/^(0+)$/;function Fe(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Ie,(function(e,n,r){
263
+ var Oe=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Ne=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Le=/^(@+)?(\+|#+)?[rs]?$/g,Ie=/(\*)(0+)|(#+)(0+)|(0+)/g,He=/^(0+)$/;function Fe(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Le,(function(e,n,r){
264
264
  // @@@ case
265
265
  return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function Re(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function $e(e){
266
266
  // Engineering
@@ -271,7 +271,7 @@ var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===
271
271
  // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
272
272
  case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;
273
273
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
274
- case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Le,(function(e,n,r,o,i,s){if(n)t.minimumIntegerDigits=r.length;else{if(o&&i)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}
274
+ case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Ie,(function(e,n,r,o,i,s){if(n)t.minimumIntegerDigits=r.length;else{if(o&&i)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}
275
275
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
276
276
  if(He.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(Ne.test(o.stem)){
277
277
  // Precision
@@ -283,7 +283,7 @@ return"*"===r?t.minimumFractionDigits=n.length:o&&"#"===o[0]?t.maximumFractionDi
283
283
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
284
284
  "w"===i?t=ge(ge({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=ge(ge({},t),Fe(i)))}
285
285
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
286
- else if(Ie.test(o.stem))t=ge(ge({},t),Fe(o.stem));else{var s=Re(o.stem);s&&(t=ge(ge({},t),s));var a=$e(o.stem);a&&(t=ge(ge({},t),a))}}return t}
286
+ else if(Le.test(o.stem))t=ge(ge({},t),Fe(o.stem));else{var s=Re(o.stem);s&&(t=ge(ge({},t),s));var a=$e(o.stem);a&&(t=ge(ge({},t),a))}}return t}
287
287
  // @generated from time-data-gen.ts
288
288
  // prettier-ignore
289
289
  var ze,We={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};
@@ -551,7 +551,7 @@ e.INVALID_VALUE="INVALID_VALUE",
551
551
  // When we need specific Intl API but it's not available
552
552
  e.MISSING_INTL_API="MISSING_INTL_API"}(Tt||(Tt={}));var Dt,kt=/** @class */function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return pe(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Mt=/** @class */function(e){function t(t,n,r,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Tt.INVALID_VALUE,o)||this}return pe(t,e),t}(kt),Bt=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),Tt.INVALID_VALUE,r)||this}return pe(t,e),t}(kt),Ot=/** @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,'"'),Tt.MISSING_VALUE,n)||this}return pe(t,e),t}(kt);function Nt(e){return"function"==typeof e}
553
553
  // TODO(skeleton): add skeleton support
554
- function It(e,t,n,r,o,i,
554
+ function Lt(e,t,n,r,o,i,
555
555
  // For debugging
556
556
  s){
557
557
  // Hot path for straight simple msg translations
@@ -566,29 +566,29 @@ if(!o||!(d in o))throw new Ot(d,s);var h=o[d];if(ve(c))h&&"string"!=typeof h&&"n
566
566
  // Recursively format plural and select parts' option — which can be a
567
567
  // nested pattern structure. The choosing of the option to use is
568
568
  // abstracted-by and delegated-to the part helper object.
569
- if(Ce(c)){var p="string"==typeof c.style?r.date[c.style]:De(c.style)?c.style.parsedOptions:void 0;a.push({type:Dt.literal,value:n.getDateTimeFormat(t,p).format(h)})}else if(xe(c)){p="string"==typeof c.style?r.time[c.style]:De(c.style)?c.style.parsedOptions:r.time.medium;a.push({type:Dt.literal,value:n.getDateTimeFormat(t,p).format(h)})}else if(we(c)){(p="string"==typeof c.style?r.number[c.style]:Pe(c.style)?c.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),a.push({type:Dt.literal,value:n.getNumberFormat(t,p).format(h)})}else{if(Se(c)){var f=c.children,m=c.value,_=o[m];if(!Nt(_))throw new Bt(m,"function",s);var g=_(It(f,t,n,r,o,i).map((function(e){return e.value})));Array.isArray(g)||(g=[g]),a.push.apply(a,g.map((function(e){return{type:"string"==typeof e?Dt.literal:Dt.object,value:e}})))}if(Ee(c)){if(!(y=c.options[h]||c.options.other))throw new Mt(c.value,h,Object.keys(c.options),s);a.push.apply(a,It(y.value,t,n,r,o))}else if(Ae(c)){var y;if(!(y=c.options["=".concat(h)])){if(!Intl.PluralRules)throw new kt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Tt.MISSING_INTL_API,s);var b=n.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0));y=c.options[b]||c.options.other}if(!y)throw new Mt(c.value,h,Object.keys(c.options),s);a.push.apply(a,It(y.value,t,n,r,o,h-(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===Dt.literal&&t.type===Dt.literal?n.value+=t.value:e.push(t),e}),[])}(a)}
569
+ if(Ce(c)){var p="string"==typeof c.style?r.date[c.style]:De(c.style)?c.style.parsedOptions:void 0;a.push({type:Dt.literal,value:n.getDateTimeFormat(t,p).format(h)})}else if(xe(c)){p="string"==typeof c.style?r.time[c.style]:De(c.style)?c.style.parsedOptions:r.time.medium;a.push({type:Dt.literal,value:n.getDateTimeFormat(t,p).format(h)})}else if(we(c)){(p="string"==typeof c.style?r.number[c.style]:Pe(c.style)?c.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),a.push({type:Dt.literal,value:n.getNumberFormat(t,p).format(h)})}else{if(Se(c)){var f=c.children,m=c.value,_=o[m];if(!Nt(_))throw new Bt(m,"function",s);var g=_(Lt(f,t,n,r,o,i).map((function(e){return e.value})));Array.isArray(g)||(g=[g]),a.push.apply(a,g.map((function(e){return{type:"string"==typeof e?Dt.literal:Dt.object,value:e}})))}if(Ee(c)){if(!(y=c.options[h]||c.options.other))throw new Mt(c.value,h,Object.keys(c.options),s);a.push.apply(a,Lt(y.value,t,n,r,o))}else if(Ae(c)){var y;if(!(y=c.options["=".concat(h)])){if(!Intl.PluralRules)throw new kt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Tt.MISSING_INTL_API,s);var b=n.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0));y=c.options[b]||c.options.other}if(!y)throw new Mt(c.value,h,Object.keys(c.options),s);a.push.apply(a,Lt(y.value,t,n,r,o,h-(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===Dt.literal&&t.type===Dt.literal?n.value+=t.value:e.push(t),e}),[])}(a)}
570
570
  /*
571
571
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
572
572
  Copyrights licensed under the New BSD License.
573
573
  See the accompanying LICENSE file for terms.
574
574
  */
575
575
  // -- MessageFormat --------------------------------------------------------
576
- function Lt(e,t){return t?Object.keys(e).reduce((function(n,r){var o,i;return n[r]=(o=e[r],(i=t[r])?ge(ge(ge({},o||{}),i||{}),Object.keys(o).reduce((function(e,t){return e[t]=ge(ge({},o[t]),i[t]||{}),e}),{})):o),n}),ge({},e)):e}function Ht(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Dt||(Dt={}));var Ft=/** @class */function(){function e(t,n,r,o){var i,s=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);
576
+ function It(e,t){return t?Object.keys(e).reduce((function(n,r){var o,i;return n[r]=(o=e[r],(i=t[r])?ge(ge(ge({},o||{}),i||{}),Object.keys(o).reduce((function(e,t){return e[t]=ge(ge({},o[t]),i[t]||{}),e}),{})):o),n}),ge({},e)):e}function Ht(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Dt||(Dt={}));var Ft=/** @class */function(){function e(t,n,r,o){var i,s=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);
577
577
  // Hot path for straight simple msg translations
578
- if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===Dt.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return It(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},
578
+ if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===Dt.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return Lt(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},
579
579
  // Defined first because it's used to build the format pattern.
580
580
  this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
581
581
  // Parse string messages into an AST.
582
582
  this.ast=e.__parse(t,{ignoreTag:null==o?void 0:o.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");
583
583
  // Creates a new object with the specified `formats` merged with the default
584
584
  // formats.
585
- this.formats=Lt(e.formats,r),this.formatters=o&&o.formatters||(void 0===(i=this.formatterCache)&&(i={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:bt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,ye([void 0],t,!1)))}),{cache:Ht(i.number),strategy:Pt.variadic}),getDateTimeFormat:bt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,ye([void 0],t,!1)))}),{cache:Ht(i.dateTime),strategy:Pt.variadic}),getPluralRules:bt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,ye([void 0],t,!1)))}),{cache:Ht(i.pluralRules),strategy:Pt.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=yt,
585
+ this.formats=It(e.formats,r),this.formatters=o&&o.formatters||(void 0===(i=this.formatterCache)&&(i={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:bt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,ye([void 0],t,!1)))}),{cache:Ht(i.number),strategy:Pt.variadic}),getDateTimeFormat:bt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,ye([void 0],t,!1)))}),{cache:Ht(i.dateTime),strategy:Pt.variadic}),getPluralRules:bt((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,ye([void 0],t,!1)))}),{cache:Ht(i.pluralRules),strategy:Pt.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=yt,
586
586
  // Default format options used as the prototype of the `formats` provided to the
587
587
  // constructor. These are used when constructing the internal Intl.NumberFormat
588
588
  // and Intl.DateTimeFormat instances.
589
589
  e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},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"}}},e}();const Rt={},$t=(e,t,n)=>n?(t in Rt||(Rt[t]={}),e in Rt[t]||(Rt[t][e]=n),n):n,Yt=(e,t)=>{if(null==t)return;if(t in Rt&&e in Rt[t])return Rt[t][e];const n=pn(t);for(let r=0;r<n.length;r++){const o=Vt(n[r],e);if(o)return $t(e,t,o)}};let Ut;const zt=te({});function Wt(e){return e in Ut}function Vt(e,t){if(!Wt(e))return null;const n=function(e){return Ut[e]||null}(e),r=function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(e>0){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(n,t);return r}function jt(e,...t){delete Rt[e],zt.update((n=>(n[e]=de.all([n[e]||{},...t]),n)))}ne([zt],(([e])=>Object.keys(e))),zt.subscribe((e=>Ut=e));const Gt={};function qt(e){return Gt[e]}function Zt(e){return null!=e&&pn(e).some((e=>{var t;return null==(t=qt(e))?void 0:t.size}))}function Kt(e,t){const n=Promise.all(t.map((t=>(function(e,t){Gt[e].delete(t),0===Gt[e].size&&delete Gt[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>jt(e,...t)))}const Xt={};function Jt(e){if(!Zt(e))return e in Xt?Xt[e]:Promise.resolve();const t=function(e){return pn(e).map((e=>{const t=qt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Xt[e]=Promise.all(t.map((([e,t])=>Kt(e,t)))).then((()=>{if(Zt(e))return Jt(e);delete Xt[e]})),Xt[e]}const Qt={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 en(){return Qt}const tn=te(!1);var nn=Object.defineProperty,rn=Object.defineProperties,on=Object.getOwnPropertyDescriptors,sn=Object.getOwnPropertySymbols,an=Object.prototype.hasOwnProperty,ln=Object.prototype.propertyIsEnumerable,un=(e,t,n)=>t in e?nn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let cn;const dn=te(null);function hn(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function pn(e,t=en().fallbackLocale){const n=hn(e);return t?[...new Set([...n,...hn(t)])]:n}function fn(){return null!=cn?cn:void 0}dn.subscribe((e=>{cn=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const mn=((e,t)=>rn(e,on(t)))(((e,t)=>{for(var n in t||(t={}))an.call(t,n)&&un(e,n,t[n]);if(sn)for(var n of sn(t))ln.call(t,n)&&un(e,n,t[n]);return e})({},dn),{set:e=>{if(e&&function(e){if(null==e)return;const t=pn(e);for(let e=0;e<t.length;e++){const n=t[e];if(Wt(n))return n}}(e)&&Zt(e)){const{loadingDelay:t}=en();let n;return"undefined"!=typeof window&&null!=fn()&&t?n=window.setTimeout((()=>tn.set(!0)),t):tn.set(!0),Jt(e).then((()=>{dn.set(e)})).finally((()=>{clearTimeout(n),tn.set(!1)}))}return dn.set(e)}}),_n=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var gn=Object.defineProperty,yn=Object.getOwnPropertySymbols,bn=Object.prototype.hasOwnProperty,vn=Object.prototype.propertyIsEnumerable,wn=(e,t,n)=>t in e?gn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Cn=(e,t)=>{for(var n in t||(t={}))bn.call(t,n)&&wn(e,n,t[n]);if(yn)for(var n of yn(t))vn.call(t,n)&&wn(e,n,t[n]);return e},xn=(e,t)=>{var n={};for(var r in e)bn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&yn)for(var r of yn(e))t.indexOf(r)<0&&vn.call(e,r)&&(n[r]=e[r]);return n};const En=(e,t)=>{const{formats:n}=en();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},An=_n((e=>{var t=e,{locale:n,format:r}=t,o=xn(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(o=En("number",r)),new Intl.NumberFormat(n,o)})),Tn=_n((e=>{var t=e,{locale:n,format:r}=t,o=xn(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?o=En("date",r):0===Object.keys(o).length&&(o=En("date","short")),new Intl.DateTimeFormat(n,o)})),Sn=_n((e=>{var t=e,{locale:n,format:r}=t,o=xn(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?o=En("time",r):0===Object.keys(o).length&&(o=En("time","short")),new Intl.DateTimeFormat(n,o)})),Pn=_n((
590
590
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
591
- (e,t=fn())=>new Ft(e,t,en().formats,{ignoreTag:en().ignoreTag}))),Dn=(e,t={})=>{var n,r,o,i;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=fn(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Yt(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!=(i=null!=(o=null==(r=(n=en()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:u}))?o:u)?i:e;if(!a)return c;let d=c;try{d=Pn(c,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d},kn=(e,t)=>((e={})=>{var t=e,{locale:n=fn()}=t,r=xn(t,["locale"]);return Sn(Cn({locale:n},r))})(t).format(e),Mn=(e,t)=>((e={})=>{var t=e,{locale:n=fn()}=t,r=xn(t,["locale"]);return Tn(Cn({locale:n},r))})(t).format(e),Bn=(e,t)=>((e={})=>{var t=e,{locale:n=fn()}=t,r=xn(t,["locale"]);return An(Cn({locale:n},r))})(t).format(e),On=(e,t=fn())=>Yt(e,t),Nn=ne([mn,zt],(()=>Dn));function In(e,t){jt(e,t)}function Ln(e){mn.set(e)}
591
+ (e,t=fn())=>new Ft(e,t,en().formats,{ignoreTag:en().ignoreTag}))),Dn=(e,t={})=>{var n,r,o,i;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=fn(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Yt(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!=(i=null!=(o=null==(r=(n=en()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:u}))?o:u)?i:e;if(!a)return c;let d=c;try{d=Pn(c,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d},kn=(e,t)=>((e={})=>{var t=e,{locale:n=fn()}=t,r=xn(t,["locale"]);return Sn(Cn({locale:n},r))})(t).format(e),Mn=(e,t)=>((e={})=>{var t=e,{locale:n=fn()}=t,r=xn(t,["locale"]);return Tn(Cn({locale:n},r))})(t).format(e),Bn=(e,t)=>((e={})=>{var t=e,{locale:n=fn()}=t,r=xn(t,["locale"]);return An(Cn({locale:n},r))})(t).format(e),On=(e,t=fn())=>Yt(e,t),Nn=ne([mn,zt],(()=>Dn));function Ln(e,t){jt(e,t)}function In(e){mn.set(e)}
592
592
  /* eslint-disable no-prototype-builtins */ne([mn],(()=>kn)),ne([mn],(()=>Mn)),ne([mn],(()=>Bn)),ne([mn,zt],(()=>On));var Hn="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
593
593
  // eslint-disable-next-line no-undef
594
594
  "undefined"!=typeof global&&global||{},Fn="URLSearchParams"in Hn,Rn="Symbol"in Hn&&"iterator"in Symbol,$n="FileReader"in Hn&&"Blob"in Hn&&function(){try{return new Blob,!0}catch(e){return!1}}(),Yn="FormData"in Hn,Un="ArrayBuffer"in Hn;if(Un)var zn=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Wn=ArrayBuffer.isView||function(e){return e&&zn.indexOf(Object.prototype.toString.call(e))>-1};function Vn(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 jn(e){return"string"!=typeof e&&(e=String(e)),e}
@@ -643,14 +643,14 @@ self.fetch.bind(self);
643
643
  PERFORMANCE OF THIS SOFTWARE.
644
644
  ***************************************************************************** */
645
645
  /* global Reflect, Promise, SuppressedError, Symbol */
646
- var lr=function(e,t){return lr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},lr(e,t)};function ur(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}lr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function cr(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 dr(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function hr(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function pr(e){return"function"==typeof e}function fr(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}"function"==typeof SuppressedError&&SuppressedError;var mr=fr((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 _r(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var gr=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,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=cr(i),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 i.remove(this);var l=this.initialTeardown;if(pr(l))try{l()}catch(e){o=e instanceof mr?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=cr(u),d=c.next();!d.done;d=c.next()){var h=d.value;try{vr(h)}catch(e){o=null!=o?o:[],e instanceof mr?o=hr(hr([],dr(o)),dr(e.errors)):o.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}if(o)throw new mr(o)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)vr(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)&&_r(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&_r(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),yr=gr.EMPTY;function br(e){return e instanceof gr||e&&"closed"in e&&pr(e.remove)&&pr(e.add)&&pr(e.unsubscribe)}function vr(e){pr(e)?e():e.unsubscribe()}var wr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Cr={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=Cr.delegate;return(null==o?void 0:o.setTimeout)?o.setTimeout.apply(o,hr([e,t],dr(n))):setTimeout.apply(void 0,hr([e,t],dr(n)))},clearTimeout:function(e){var t=Cr.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function xr(){}var Er=null;function Ar(e){if(wr.useDeprecatedSynchronousErrorHandling){var t=!Er;if(t&&(Er={errorThrown:!1,error:null}),e(),t){var n=Er,r=n.errorThrown,o=n.error;if(Er=null,r)throw o}}else e()}var Tr=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,br(t)&&t.add(n)):n.destination=Br,n}return ur(t,e),t.create=function(e,t,n){return new kr(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}(gr),Sr=Function.prototype.bind;function Pr(e,t){return Sr.call(e,t)}var Dr=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){Mr(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Mr(e)}else Mr(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Mr(e)}},e}(),kr=function(e){function t(t,n,r){var o,i,s=e.call(this)||this;pr(t)||!t?o={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&wr.useDeprecatedNextContext?((i=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},o={next:t.next&&Pr(t.next,i),error:t.error&&Pr(t.error,i),complete:t.complete&&Pr(t.complete,i)}):o=t;return s.destination=new Dr(o),s}return ur(t,e),t}(Tr);function Mr(e){var t;t=e,Cr.setTimeout((function(){throw t}))}var Br={closed:!0,next:xr,error:function(e){throw e},complete:xr},Or="function"==typeof Symbol&&Symbol.observable||"@@observable";function Nr(e){return e}var Ir=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,o=this,i=(r=e)&&r instanceof Tr||function(e){return e&&pr(e.next)&&pr(e.error)&&pr(e.complete)}(r)&&br(r)?e:new kr(e,t,n);return Ar((function(){var e=o,t=e.operator,n=e.source;i.add(t?t.call(i,n):n?o._subscribe(i):o._trySubscribe(i))})),i},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=Lr(t))((function(t,r){var o=new kr({next:function(t){try{e(t)}catch(e){r(e),o.unsubscribe()}},error:r,complete:t});n.subscribe(o)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Or]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?Nr:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=Lr(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 Lr(e){var t;return null!==(t=null!=e?e:wr.Promise)&&void 0!==t?t:Promise}var Hr=fr((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Fr=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 ur(t,e),t.prototype.lift=function(e){var t=new Rr(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Hr},t.prototype.next=function(e){var t=this;Ar((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var o=cr(t.currentObservers),i=o.next();!i.done;i=o.next()){i.value.next(e)}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;Ar((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;Ar((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,o=n.isStopped,i=n.observers;return r||o?yr:(this.currentObservers=null,i.push(e),new gr((function(){t.currentObservers=null,_r(i,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,o=t.isStopped;n?e.error(r):o&&e.complete()},t.prototype.asObservable=function(){var e=new Ir;return e.source=this,e},t.create=function(e,t){return new Rr(e,t)},t}(Ir),Rr=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ur(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:yr},t}(Fr),$r={now:function(){return($r.delegate||Date).now()},delegate:void 0},Yr=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=$r);var o=e.call(this)||this;return o._bufferSize=t,o._windowTime=n,o._timestampProvider=r,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,t),o._windowTime=Math.max(1,n),o}return ur(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,o=n._buffer,i=n._infiniteTimeWindow,s=n._timestampProvider,a=n._windowTime;r||(o.push(t),!i&&o.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(),o=0;o<r.length&&!e.closed;o+=n?1:2)e.next(r[o]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,o=e._infiniteTimeWindow,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){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}(Fr);let Ur=[],zr={};window.emWidgets={topic:(e,t=0)=>{if(-1==Ur.indexOf(e)){let n=new Yr(t);zr[e]=n,Ur.push(e)}return zr[e]}};
646
+ var lr=function(e,t){return lr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},lr(e,t)};function ur(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}lr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function cr(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 dr(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function hr(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function pr(e){return"function"==typeof e}function fr(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}"function"==typeof SuppressedError&&SuppressedError;var mr=fr((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 _r(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var gr=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,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=cr(i),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 i.remove(this);var l=this.initialTeardown;if(pr(l))try{l()}catch(e){o=e instanceof mr?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=cr(u),d=c.next();!d.done;d=c.next()){var h=d.value;try{vr(h)}catch(e){o=null!=o?o:[],e instanceof mr?o=hr(hr([],dr(o)),dr(e.errors)):o.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}if(o)throw new mr(o)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)vr(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)&&_r(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&_r(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),yr=gr.EMPTY;function br(e){return e instanceof gr||e&&"closed"in e&&pr(e.remove)&&pr(e.add)&&pr(e.unsubscribe)}function vr(e){pr(e)?e():e.unsubscribe()}var wr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Cr={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=Cr.delegate;return(null==o?void 0:o.setTimeout)?o.setTimeout.apply(o,hr([e,t],dr(n))):setTimeout.apply(void 0,hr([e,t],dr(n)))},clearTimeout:function(e){var t=Cr.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function xr(){}var Er=null;function Ar(e){if(wr.useDeprecatedSynchronousErrorHandling){var t=!Er;if(t&&(Er={errorThrown:!1,error:null}),e(),t){var n=Er,r=n.errorThrown,o=n.error;if(Er=null,r)throw o}}else e()}var Tr=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,br(t)&&t.add(n)):n.destination=Br,n}return ur(t,e),t.create=function(e,t,n){return new kr(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}(gr),Sr=Function.prototype.bind;function Pr(e,t){return Sr.call(e,t)}var Dr=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){Mr(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Mr(e)}else Mr(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Mr(e)}},e}(),kr=function(e){function t(t,n,r){var o,i,s=e.call(this)||this;pr(t)||!t?o={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&wr.useDeprecatedNextContext?((i=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},o={next:t.next&&Pr(t.next,i),error:t.error&&Pr(t.error,i),complete:t.complete&&Pr(t.complete,i)}):o=t;return s.destination=new Dr(o),s}return ur(t,e),t}(Tr);function Mr(e){var t;t=e,Cr.setTimeout((function(){throw t}))}var Br={closed:!0,next:xr,error:function(e){throw e},complete:xr},Or="function"==typeof Symbol&&Symbol.observable||"@@observable";function Nr(e){return e}var Lr=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,o=this,i=(r=e)&&r instanceof Tr||function(e){return e&&pr(e.next)&&pr(e.error)&&pr(e.complete)}(r)&&br(r)?e:new kr(e,t,n);return Ar((function(){var e=o,t=e.operator,n=e.source;i.add(t?t.call(i,n):n?o._subscribe(i):o._trySubscribe(i))})),i},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=Ir(t))((function(t,r){var o=new kr({next:function(t){try{e(t)}catch(e){r(e),o.unsubscribe()}},error:r,complete:t});n.subscribe(o)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Or]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?Nr:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=Ir(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 Ir(e){var t;return null!==(t=null!=e?e:wr.Promise)&&void 0!==t?t:Promise}var Hr=fr((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Fr=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 ur(t,e),t.prototype.lift=function(e){var t=new Rr(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Hr},t.prototype.next=function(e){var t=this;Ar((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var o=cr(t.currentObservers),i=o.next();!i.done;i=o.next()){i.value.next(e)}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;Ar((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;Ar((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,o=n.isStopped,i=n.observers;return r||o?yr:(this.currentObservers=null,i.push(e),new gr((function(){t.currentObservers=null,_r(i,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,o=t.isStopped;n?e.error(r):o&&e.complete()},t.prototype.asObservable=function(){var e=new Lr;return e.source=this,e},t.create=function(e,t){return new Rr(e,t)},t}(Lr),Rr=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ur(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:yr},t}(Fr),$r={now:function(){return($r.delegate||Date).now()},delegate:void 0},Yr=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=$r);var o=e.call(this)||this;return o._bufferSize=t,o._windowTime=n,o._timestampProvider=r,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,t),o._windowTime=Math.max(1,n),o}return ur(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,o=n._buffer,i=n._infiniteTimeWindow,s=n._timestampProvider,a=n._windowTime;r||(o.push(t),!i&&o.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(),o=0;o<r.length&&!e.closed;o+=n?1:2)e.next(r[o]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,o=e._infiniteTimeWindow,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){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}(Fr);let Ur=[],zr={};window.emWidgets={topic:(e,t=0)=>{if(-1==Ur.indexOf(e)){let n=new Yr(t);zr[e]=n,Ur.push(e)}return zr[e]}};
647
647
  /**
648
648
  * @name isMobile
649
649
  * @description A method that returns if the browser used to access the app is from a mobile device or not
650
650
  * @param {String} userAgent window.navigator.userAgent
651
651
  * @returns {Boolean} true or false
652
652
  */
653
- const Wr=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)),Vr={en:{bonus:{bonusCode:"Do you have a bonus code",placeholder:"Enter your bonus code here",invalidBonusCode:"Invalid bonus code",claim:"Claim Bonus",from:"From",to:"to",noBonus:"No bonuses found",filter:"Filter",error:"Error",forfeit:"Forfeit",invalidBonusCode:"The bonus code provided is invalid.",noActiveBonuses:"You have no active bonuses at the moment.",forfeitMessage:"Are you sure want to forfeit bonus?",forfeitConfirm:"Confirm",forfeitCancel:"Cancel",claimSuccessMessage:"Bonus claimed!",canlendarTitle:"Select the period",show:"Show"},bonusType:{standard:"Bonus Money",freeBet:"Free Bet",freeRound:"Free Spins",wagering:"Wagering Challenge",cashBack:"Cash Back",oddsBoost:"Odds Boost",stakeBack:"Stake Back",tournamentTicket:"Ticket"},bonusCard:{level:"Level",current:"Current",next:"Next",first:"First",last:"Last",previous:"Previous",startChallenge:"START CHALLENGE",rewards:"Rewards",join:"Join",forfeit:"Forfeit",terms:"Terms and Conditions",bonusType:"Bonus Type",levels:"Levels",validity:"Validity",bonusStatus:"Bonus Status",bonusAmount:"Bonus Amount",wagered:"Wagered",wageredAmount:"Wagered Amount",roundNumber:"Number of freespins",game:"Game",validUntil:"Valid Until",wageringType:"Wagering Type",remaining:"Remaining",money:"Money Wagering",betCount:"Bet Count",allRewards:"All Rewards",error:"Join failed, please try again.",playNow:"Play Now"}}};var jr=function(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return ar(null==t&&n.path)}},n.exports),n.exports}((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}
653
+ const Wr=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)),Vr={en:{bonus:{bonusCode:"Do you have a bonus code",placeholder:"Enter your bonus code here",claim:"Claim Bonus",from:"From",to:"to",noBonus:"No bonuses found",filter:"Filter",error:"Error",forfeit:"Forfeit",invalidBonusCode:"The bonus code provided is invalid.",noActiveBonuses:"You have no active bonuses at the moment.",forfeitMessage:"Are you sure want to forfeit bonus?",forfeitConfirm:"Confirm",forfeitCancel:"Cancel",claimSuccessMessage:"Bonus claimed!",canlendarTitle:"Select the period",show:"Show"},bonusType:{standard:"Bonus Money",freeBet:"Free Bet",freeRound:"Free Spins",wagering:"Wagering Challenge",cashBack:"Cash Back",oddsBoost:"Odds Boost",stakeBack:"Stake Back",tournamentTicket:"Ticket"},bonusCard:{level:"Level",current:"Current",next:"Next",first:"First",last:"Last",previous:"Previous",startChallenge:"START CHALLENGE",rewards:"Rewards",join:"Join",forfeit:"Forfeit",terms:"Terms and Conditions",bonusType:"Bonus Type",levels:"Levels",validity:"Validity",bonusStatus:"Bonus Status",bonusAmount:"Bonus Amount",wagered:"Wagered",wageredAmount:"Wagered Amount",roundNumber:"Number of freespins",game:"Game",validUntil:"Valid Until",wageringType:"Wagering Type",remaining:"Remaining",money:"Money Wagering",betCount:"Bet Count",allRewards:"All Rewards",error:"Join failed, please try again.",playNow:"Play Now"}}};var jr=function(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return ar(null==t&&n.path)}},n.exports),n.exports}((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}
654
654
  // This is done to register the method called with moment()
655
655
  // without creating circular dependencies.
656
656
  function o(e){t=e}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){
@@ -672,14 +672,14 @@ function C(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isV
672
672
  // TODO: Remove "ordinalParse" fallback in next major release.
673
673
  this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function M(e,t){var n,r=p({},e);for(n in t)a(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},p(r[n],e[n]),p(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)a(e,n)&&!a(t,n)&&s(e[n])&&(
674
674
  // make sure changes to properties don't modify parent config
675
- r[n]=p({},r[n]));return r}function B(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,T=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var O={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function N(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return D(r)?r.call(t,n):r}function I(e,t,n){var r=""+Math.abs(e),o=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var L=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},R={};
675
+ r[n]=p({},r[n]));return r}function B(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,T=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var O={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function N(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return D(r)?r.call(t,n):r}function L(e,t,n){var r=""+Math.abs(e),o=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},R={};
676
676
  // token: 'M'
677
677
  // padded: ['MM', 2]
678
678
  // ordinal: 'Mo'
679
679
  // callback: function () { this.month() + 1 }
680
- function $(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(R[e]=o),t&&(R[t[0]]=function(){return I(o.apply(this,arguments),t[1],t[2])}),n&&(R[n]=function(){return this.localeData().ordinal(o.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(L);for(t=0,n=r.length;t<n;t++)R[r[t]]?r[t]=R[r[t]]:r[t]=Y(r[t]);return function(t){var o,i="";for(o=0;o<n;o++)i+=D(r[o])?r[o].call(t,e):r[o];return i}}
680
+ function $(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(R[e]=o),t&&(R[t[0]]=function(){return L(o.apply(this,arguments),t[1],t[2])}),n&&(R[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function Y(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,r=e.match(I);for(t=0,n=r.length;t<n;t++)R[r[t]]?r[t]=R[r[t]]:r[t]=Y(r[t]);return function(t){var o,i="";for(o=0;o<n;o++)i+=D(r[o])?r[o].call(t,e):r[o];return i}}
681
681
  // format date using native date object
682
- function z(e,t){return e.isValid()?(t=W(t,e.localeData()),F[t]=F[t]||U(t),F[t](e)):e.localeData().invalidDate()}function W(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(H.lastIndex=0;n>=0&&H.test(e);)e=e.replace(H,r),H.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 j(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(L).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var G="Invalid date";function q(){return this._invalidDate}var Z="%d",K=/\d{1,2}/;function X(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 o=this._relativeTime[n];return D(o)?o(e,t,n,r):o.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 oe(e){var t,n,r={};for(n in e)a(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var ie={};function se(e,t){ie[e]=t}function ae(e){var t,n=[];for(t in e)a(e,t)&&n.push({unit:t,priority:ie[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 de(e,t){return function(n){return null!=n?(pe(this,e,n),r.updateOffset(this,t),this):he(this,e)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(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(),Qe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
682
+ function z(e,t){return e.isValid()?(t=W(t,e.localeData()),F[t]=F[t]||U(t),F[t](e)):e.localeData().invalidDate()}function W(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(H.lastIndex=0;n>=0&&H.test(e);)e=e.replace(H,r),H.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 j(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(I).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var G="Invalid date";function q(){return this._invalidDate}var Z="%d",K=/\d{1,2}/;function X(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 o=this._relativeTime[n];return D(o)?o(e,t,n,r):o.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 oe(e){var t,n,r={};for(n in e)a(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var ie={};function se(e,t){ie[e]=t}function ae(e){var t,n=[];for(t in e)a(e,t)&&n.push({unit:t,priority:ie[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 de(e,t){return function(n){return null!=n?(pe(this,e,n),r.updateOffset(this,t),this):he(this,e)}}function he(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(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(),Qe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
683
683
  // MOMENTS
684
684
  function fe(e){return D(this[e=re(e)])?this[e]():this}function me(e,t){if("object"==typeof e){var n,r=ae(e=oe(e)),o=r.length;for(n=0;n<o;n++)this[r[n].unit](e[r[n].unit])}else if(D(this[e=re(e)]))return this[e](t);return this}var _e,ge=/\d/,// 0 - 9
685
685
  ye=/\d\d/,// 00 - 99
@@ -699,9 +699,9 @@ Me=/Z|[+-]\d\d(?::?\d\d)?/gi,// +00 -00 +00:00 -00:00 +0000 -0000 or Z
699
699
  Be=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
700
700
  // any word (or two) characters or numbers including two/three word month in arabic.
701
701
  // includes scottish gaelic two word and hyphenated months
702
- Oe=/[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 Ne(e,t,n){_e[e]=D(t)?t:function(e,r){return e&&n?n:t}}function Ie(e,t){return a(_e,e)?_e[e](t._strict,t._locale):new RegExp(Le(e))}
702
+ Oe=/[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 Ne(e,t,n){_e[e]=D(t)?t:function(e,r){return e&&n?n:t}}function Le(e,t){return a(_e,e)?_e[e](t._strict,t._locale):new RegExp(Ie(e))}
703
703
  // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
704
- function Le(e){return He(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o})))}function He(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}_e={};var Fe={};function Re(e,t){var n,r,o=t;for("string"==typeof e&&(e=[e]),c(t)&&(o=function(e,n){n[t]=ce(e)}),r=e.length,n=0;n<r;n++)Fe[e[n]]=o}function $e(e,t){Re(e,(function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)}))}function Ye(e,t,n){null!=t&&a(Fe,e)&&Fe[e](t,n._a,n,e)}var Ue,ze=0,We=1,Ve=2,je=3,Ge=4,qe=5,Ze=6,Ke=7,Xe=8;function Je(e,t){return(e%t+t)%t}function Qe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Je(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}
704
+ function Ie(e){return He(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o})))}function He(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}_e={};var Fe={};function Re(e,t){var n,r,o=t;for("string"==typeof e&&(e=[e]),c(t)&&(o=function(e,n){n[t]=ce(e)}),r=e.length,n=0;n<r;n++)Fe[e[n]]=o}function $e(e,t){Re(e,(function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)}))}function Ye(e,t,n){null!=t&&a(Fe,e)&&Fe[e](t,n._a,n,e)}var Ue,ze=0,We=1,Ve=2,je=3,Ge=4,qe=5,Ze=6,Ke=7,Xe=8;function Je(e,t){return(e%t+t)%t}function Qe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Je(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}
705
705
  // FORMATTING
706
706
  Ue=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
707
707
  // I know
@@ -741,7 +741,7 @@ for(r.sort(e),o.sort(e),i.sort(e),t=0;t<12;t++)r[t]=He(r[t]),o[t]=He(o[t]);for(t
741
741
  // HELPERS
742
742
  function mt(e){return le(e)?366:365}
743
743
  // HOOKS
744
- $("Y",0,0,(function(){var e=this.year();return e<=9999?I(e,4):"+"+e})),$(0,["YY",2],0,(function(){return this.year()%100})),$(0,["YYYY",4],0,"year"),$(0,["YYYYY",5],0,"year"),$(0,["YYYYYY",6,!0],0,"year"),
744
+ $("Y",0,0,(function(){var e=this.year();return e<=9999?L(e,4):"+"+e})),$(0,["YY",2],0,(function(){return this.year()%100})),$(0,["YYYY",4],0,"year"),$(0,["YYYYY",5],0,"year"),$(0,["YYYYYY",6,!0],0,"year"),
745
745
  // ALIASES
746
746
  ne("year","y"),
747
747
  // PRIORITIES
@@ -791,7 +791,7 @@ se("day",11),se("weekday",11),se("isoWeekday",11),
791
791
  // PARSING
792
792
  Ne("d",Ce),Ne("e",Ce),Ne("E",Ce),Ne("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ne("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ne("dddd",(function(e,t){return t.weekdaysRegex(e)})),$e(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);
793
793
  // if we didn't get a weekday name, mark the date as invalid
794
- null!=o?t.d=o:_(n).invalidWeekday=e})),$e(["d","e","E"],(function(e,t,n,r){t[r]=ce(e)}));var Ot="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Nt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),It="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Lt=Oe,Ht=Oe,Ft=Oe;function Rt(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Bt(n,this._week.dow):e?n[e.day()]:n}function $t(e){return!0===e?Bt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Yt(e){return!0===e?Bt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ut(e,t,n){var r,o,i,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=Ue.call(this._weekdaysParse,s))?o:null:"ddd"===t?-1!==(o=Ue.call(this._shortWeekdaysParse,s))?o:null:-1!==(o=Ue.call(this._minWeekdaysParse,s))?o:null:"dddd"===t?-1!==(o=Ue.call(this._weekdaysParse,s))||-1!==(o=Ue.call(this._shortWeekdaysParse,s))||-1!==(o=Ue.call(this._minWeekdaysParse,s))?o:null:"ddd"===t?-1!==(o=Ue.call(this._shortWeekdaysParse,s))||-1!==(o=Ue.call(this._weekdaysParse,s))||-1!==(o=Ue.call(this._minWeekdaysParse,s))?o:null:-1!==(o=Ue.call(this._minWeekdaysParse,s))||-1!==(o=Ue.call(this._weekdaysParse,s))||-1!==(o=Ue.call(this._shortWeekdaysParse,s))?o:null}function zt(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Ut.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){
794
+ null!=o?t.d=o:_(n).invalidWeekday=e})),$e(["d","e","E"],(function(e,t,n,r){t[r]=ce(e)}));var Ot="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Nt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Lt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),It=Oe,Ht=Oe,Ft=Oe;function Rt(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Bt(n,this._week.dow):e?n[e.day()]:n}function $t(e){return!0===e?Bt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Yt(e){return!0===e?Bt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ut(e,t,n){var r,o,i,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=Ue.call(this._weekdaysParse,s))?o:null:"ddd"===t?-1!==(o=Ue.call(this._shortWeekdaysParse,s))?o:null:-1!==(o=Ue.call(this._minWeekdaysParse,s))?o:null:"dddd"===t?-1!==(o=Ue.call(this._weekdaysParse,s))||-1!==(o=Ue.call(this._shortWeekdaysParse,s))||-1!==(o=Ue.call(this._minWeekdaysParse,s))?o:null:"ddd"===t?-1!==(o=Ue.call(this._shortWeekdaysParse,s))||-1!==(o=Ue.call(this._weekdaysParse,s))||-1!==(o=Ue.call(this._minWeekdaysParse,s))?o:null:-1!==(o=Ue.call(this._minWeekdaysParse,s))||-1!==(o=Ue.call(this._weekdaysParse,s))||-1!==(o=Ue.call(this._shortWeekdaysParse,s))?o:null}function zt(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Ut.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){
795
795
  // test the regex
796
796
  if(
797
797
  // make the regex if we don't have it already
@@ -801,7 +801,7 @@ function Wt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this
801
801
  // behaves the same as moment#day except
802
802
  // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
803
803
  // as a setter, sunday should belong to the previous week.
804
- if(null!=e){var t=Mt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Gt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Lt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function qt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ht),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Zt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ft),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Kt(){function e(e,t){return t.length-e.length}var t,n,r,o,i,s=[],a=[],l=[],u=[];for(t=0;t<7;t++)
804
+ if(null!=e){var t=Mt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Gt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=It),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function qt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ht),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Zt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ft),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Kt(){function e(e,t){return t.length-e.length}var t,n,r,o,i,s=[],a=[],l=[],u=[];for(t=0;t<7;t++)
805
805
  // make the regex if we don't have it already
806
806
  n=f([2e3,1]).day(t),r=He(this.weekdaysMin(n,"")),o=He(this.weekdaysShort(n,"")),i=He(this.weekdays(n,"")),s.push(r),a.push(o),l.push(i),u.push(r),u.push(o),u.push(i);
807
807
  // Sorting makes sure if one weekday (or abbr) is a prefix of another it
@@ -815,7 +815,7 @@ function en(e,t){return t._meridiemParse}
815
815
  function tn(e){
816
816
  // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
817
817
  // Using charAt should be more compatible.
818
- return"p"===(e+"").toLowerCase().charAt(0)}$("H",["HH",2],0,"hour"),$("h",["hh",2],0,Xt),$("k",["kk",2],0,Jt),$("hmm",0,0,(function(){return""+Xt.apply(this)+I(this.minutes(),2)})),$("hmmss",0,0,(function(){return""+Xt.apply(this)+I(this.minutes(),2)+I(this.seconds(),2)})),$("Hmm",0,0,(function(){return""+this.hours()+I(this.minutes(),2)})),$("Hmmss",0,0,(function(){return""+this.hours()+I(this.minutes(),2)+I(this.seconds(),2)})),Qt("a",!0),Qt("A",!1),
818
+ return"p"===(e+"").toLowerCase().charAt(0)}$("H",["HH",2],0,"hour"),$("h",["hh",2],0,Xt),$("k",["kk",2],0,Jt),$("hmm",0,0,(function(){return""+Xt.apply(this)+L(this.minutes(),2)})),$("hmmss",0,0,(function(){return""+Xt.apply(this)+L(this.minutes(),2)+L(this.seconds(),2)})),$("Hmm",0,0,(function(){return""+this.hours()+L(this.minutes(),2)})),$("Hmmss",0,0,(function(){return""+this.hours()+L(this.minutes(),2)+L(this.seconds(),2)})),Qt("a",!0),Qt("A",!1),
819
819
  // ALIASES
820
820
  ne("hour","h"),
821
821
  // PRIORITY
@@ -824,7 +824,7 @@ se("hour",13),Ne("a",en),Ne("A",en),Ne("H",Ce),Ne("h",Ce),Ne("k",Ce),Ne("HH",Ce,
824
824
  // specified which hour they want. So trying to maintain the same hour (in
825
825
  // a new timezone) makes sense. Adding/subtracting hours does not follow
826
826
  // this rule.
827
- rn=de("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var sn,an={calendar:O,longDateFormat:V,invalidDate:G,ordinal:Z,dayOfMonthOrdinalParse:K,relativeTime:J,months:et,monthsShort:tt,week:At,weekdays:Ot,weekdaysMin:It,weekdaysShort:Nt,meridiemParse:nn},ln={},un={};
827
+ rn=de("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var sn,an={calendar:O,longDateFormat:V,invalidDate:G,ordinal:Z,dayOfMonthOrdinalParse:K,relativeTime:J,months:et,monthsShort:tt,week:At,weekdays:Ot,weekdaysMin:Lt,weekdaysShort:Nt,meridiemParse:nn},ln={},un={};
828
828
  // internal storage for locale config files
829
829
  function cn(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}
830
830
  // pick the locale from the array
@@ -887,9 +887,9 @@ return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\
887
887
  // the only allowed military tz is Z
888
888
  return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}
889
889
  // date and time from ref 2822 format
890
- function In(e){var t,n=Sn.exec(Bn(e._i));if(n){if(t=kn(n[4],n[3],n[2],n[5],n[6],n[7]),!On(n[1],t,e))return;e._a=t,e._tzm=Nn(n[8],n[9],n[10]),e._d=bt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),_(e).rfc2822=!0}else e._isValid=!1}
890
+ function Ln(e){var t,n=Sn.exec(Bn(e._i));if(n){if(t=kn(n[4],n[3],n[2],n[5],n[6],n[7]),!On(n[1],t,e))return;e._a=t,e._tzm=Nn(n[8],n[9],n[10]),e._d=bt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),_(e).rfc2822=!0}else e._isValid=!1}
891
891
  // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
892
- function Ln(e){var t=Tn.exec(e._i);null===t?(Dn(e),!1===e._isValid&&(delete e._isValid,In(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
892
+ function In(e){var t=Tn.exec(e._i);null===t?(Dn(e),!1===e._isValid&&(delete e._isValid,Ln(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
893
893
  // Final attempt, use Input Fallback
894
894
  r.createFromInputFallback(e)))):e._d=new Date(+t[1])}
895
895
  // Pick the first defined of two or three arguments.
@@ -939,7 +939,7 @@ function Yn(e){
939
939
  // TODO: Move this to another part of the creation flow to prevent circular deps
940
940
  if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],_(e).empty=!0;
941
941
  // This array is used to make a Date, either with `new Date` or `Date.UTC`
942
- var t,n,o,i,s,a,l,u=""+e._i,c=u.length,d=0;for(l=(o=W(e._f,e._locale).match(L)||[]).length,t=0;t<l;t++)i=o[t],(n=(u.match(Ie(i,e))||[])[0])&&((s=u.substr(0,u.indexOf(n))).length>0&&_(e).unusedInput.push(s),u=u.slice(u.indexOf(n)+n.length),d+=n.length),
942
+ var t,n,o,i,s,a,l,u=""+e._i,c=u.length,d=0;for(l=(o=W(e._f,e._locale).match(I)||[]).length,t=0;t<l;t++)i=o[t],(n=(u.match(Le(i,e))||[])[0])&&((s=u.substr(0,u.indexOf(n))).length>0&&_(e).unusedInput.push(s),u=u.slice(u.indexOf(n)+n.length),d+=n.length),
943
943
  // don't parse if it's not a known token
944
944
  R[i]?(n?_(e).empty=!1:_(e).unusedTokens.push(i),Ye(i,n,e)):e._strict&&!n&&_(e).unusedTokens.push(i);
945
945
  // add remaining unparsed input length to the string
@@ -949,7 +949,7 @@ e._a[je]<=12&&!0===_(e).bigHour&&e._a[je]>0&&(_(e).bigHour=void 0),_(e).parsedDa
949
949
  // handle meridiem
950
950
  e._a[je]=Un(e._locale,e._a[je],e._meridiem),null!==(
951
951
  // handle era
952
- a=_(e).era)&&(e._a[ze]=e._locale.erasConvertYear(a,e._a[ze])),Rn(e),vn(e)}else In(e);else Dn(e)}function Un(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(
952
+ a=_(e).era)&&(e._a[ze]=e._locale.erasConvertYear(a,e._a[ze])),Rn(e),vn(e)}else Ln(e);else Dn(e)}function Un(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(
953
953
  // Fallback
954
954
  (r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}
955
955
  // date from string and array of format strings
@@ -959,7 +959,7 @@ i+=_(t).charsLeftOver,
959
959
  //or tokens
960
960
  i+=10*_(t).unusedTokens.length,_(t).score=i,a?i<r&&(r=i,n=t):(null==r||i<r||s)&&(r=i,n=t,s&&(a=!0));p(e,n||t)}function Wn(e){if(!e._d){var t=oe(e._i),n=void 0===t.day?t.date:t.day;e._a=h([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Rn(e)}}function Vn(e){var t=new C(vn(jn(e)));return t._nextDay&&(
961
961
  // Adding is smart enough around DST
962
- t.add(1,"d"),t._nextDay=void 0),t}function jn(e){var t=e._i,n=e._f;return e._locale=e._locale||yn(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new C(vn(t)):(d(t)?e._d=t:i(n)?zn(e):n?Yn(e):Gn(e),g(e)||(e._d=null),e))}function Gn(e){var t=e._i;u(t)?e._d=new Date(r.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Ln(e):i(t)?(e._a=h(t.slice(0),(function(e){return parseInt(e,10)})),Rn(e)):s(t)?Wn(e):c(t)?
962
+ t.add(1,"d"),t._nextDay=void 0),t}function jn(e){var t=e._i,n=e._f;return e._locale=e._locale||yn(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new C(vn(t)):(d(t)?e._d=t:i(n)?zn(e):n?Yn(e):Gn(e),g(e)||(e._d=null),e))}function Gn(e){var t=e._i;u(t)?e._d=new Date(r.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?In(e):i(t)?(e._a=h(t.slice(0),(function(e){return parseInt(e,10)})),Rn(e)):s(t)?Wn(e):c(t)?
963
963
  // from milliseconds
964
964
  e._d=new Date(t):r.createFromInputFallback(e)}function qn(e,t,n,r,o){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)||i(e)&&0===e.length)&&(e=void 0),
965
965
  // object construction must be done this way.
@@ -990,7 +990,7 @@ this._months=+o+3*r+12*n,this._data={},this._locale=yn(),this._bubble()}function
990
990
  // compare two arrays, return the number of differences
991
991
  function cr(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),s=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&ce(e[r])!==ce(t[r]))&&s++;return s+i}
992
992
  // FORMATTING
993
- function dr(e,t){$(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+I(~~(e/60),2)+t+I(~~e%60,2)}))}dr("Z",":"),dr("ZZ",""),
993
+ function dr(e,t){$(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+L(~~(e/60),2)+t+L(~~e%60,2)}))}dr("Z",":"),dr("ZZ",""),
994
994
  // PARSING
995
995
  Ne("Z",Me),Ne("ZZ",Me),Re(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=pr(Me,e)}));
996
996
  // HELPERS
@@ -1038,7 +1038,7 @@ return(isNaN(n)?0:n)*t}function Mr(e,t){var n={};return n.months=t.month()-e.mon
1038
1038
  // TODO: remove 'name' arg after deprecation is removed
1039
1039
  function Or(e,t){return function(n,r){var o;
1040
1040
  //invert the arguments, but complain about it
1041
- return null===r||isNaN(+r)||(P(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."),o=n,n=r,r=o),Nr(this,Dr(n,r),e),this}}function Nr(e,t,n,o){var i=t._milliseconds,s=ur(t._days),a=ur(t._months);e.isValid()&&(o=null==o||o,a&&ut(e,he(e,"Month")+a*n),s&&pe(e,"Date",he(e,"Date")+s*n),i&&e._d.setTime(e._d.valueOf()+i*n),o&&r.updateOffset(e,s||a))}Dr.fn=sr.prototype,Dr.invalid=ir;var Ir=Or(1,"add"),Lr=Or(-1,"subtract");function Hr(e){return"string"==typeof e||e instanceof String}
1041
+ return null===r||isNaN(+r)||(P(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."),o=n,n=r,r=o),Nr(this,Dr(n,r),e),this}}function Nr(e,t,n,o){var i=t._milliseconds,s=ur(t._days),a=ur(t._months);e.isValid()&&(o=null==o||o,a&&ut(e,he(e,"Month")+a*n),s&&pe(e,"Date",he(e,"Date")+s*n),i&&e._d.setTime(e._d.valueOf()+i*n),o&&r.updateOffset(e,s||a))}Dr.fn=sr.prototype,Dr.invalid=ir;var Lr=Or(1,"add"),Ir=Or(-1,"subtract");function Hr(e){return"string"==typeof e||e instanceof String}
1042
1042
  // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
1043
1043
  function Fr(e){return x(e)||d(e)||Hr(e)||c(e)||$r(e)||Rr(e)||null==e}function Rr(e){var t,n,r=s(e)&&!l(e),o=!1,i=["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=i.length;for(t=0;t<u;t+=1)n=i[t],o=o||a(e,n);return r&&o}function $r(e){var t=i(e),n=!1;return t&&(n=0===e.filter((function(t){return!c(t)&&Hr(e)})).length),t&&n}function Yr(e){var t,n,r=s(e)&&!l(e),o=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<i.length;t+=1)n=i[t],o=o||a(e,n);return r&&o}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 zr(e,t){
1044
1044
  // Support for single parameter, formats only overload to the calendar function
@@ -1087,9 +1087,9 @@ i=r(s[n].until).startOf("day").valueOf(),s[n].until=i.valueOf()}return s}functio
1087
1087
  // truncate time
1088
1088
  n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function No(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1089
1089
  // truncate time
1090
- n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Io(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1090
+ n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Lo(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1091
1091
  // truncate time
1092
- n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Lo(){var e,t,n,o,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,
1092
+ n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Io(){var e,t,n,o,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,
1093
1093
  // truncate time
1094
1094
  o=this.clone().startOf("day").valueOf(),i[e].since<=o&&o<=i[e].until||i[e].until<=o&&o<=i[e].since)return(this.year()-r(i[e].since).year())*n+i[e].offset;return this.year()}function Ho(e){return a(this,"_erasNameRegex")||Wo.call(this),e?this._erasNameRegex:this._erasRegex}function Fo(e){return a(this,"_erasAbbrRegex")||Wo.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ro(e){return a(this,"_erasNarrowRegex")||Wo.call(this),e?this._erasNarrowRegex:this._erasRegex}function $o(e,t){return t.erasAbbrRegex(e)}function Yo(e,t){return t.erasNameRegex(e)}function Uo(e,t){return t.erasNarrowRegex(e)}function zo(e,t){return t._eraYearOrdinalRegex||Pe}function Wo(){var e,t,n=[],r=[],o=[],i=[],s=this.eras();for(e=0,t=s.length;e<t;++e)r.push(He(s[e].name)),n.push(He(s[e].abbr)),o.push(He(s[e].narrow)),i.push(He(s[e].name)),i.push(He(s[e].abbr)),i.push(He(s[e].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+o.join("|")+")","i")}
1095
1095
  // FORMATTING
@@ -1164,7 +1164,7 @@ Ne("S",Ae,ge),Ne("SS",Ae,ye),Ne("SSS",Ae,be),oi="SSSS";oi.length<=9;oi+="S")Ne(o
1164
1164
  // MOMENTS
1165
1165
  function li(){return this._isUTC?"UTC":""}function ui(){return this._isUTC?"Coordinated Universal Time":""}ii=de("Milliseconds",!1),
1166
1166
  // FORMATTING
1167
- $("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var ci=C.prototype;function di(e){return Zn(1e3*e)}function hi(){return Zn.apply(null,arguments).parseZone()}function pi(e){return e}ci.add=Ir,ci.calendar=zr,ci.clone=Wr,ci.diff=Xr,ci.endOf=bo,ci.format=no,ci.from=ro,ci.fromNow=oo,ci.to=io,ci.toNow=so,ci.get=fe,ci.invalidAt=Po,ci.isAfter=Vr,ci.isBefore=jr,ci.isBetween=Gr,ci.isSame=qr,ci.isSameOrAfter=Zr,ci.isSameOrBefore=Kr,ci.isValid=To,ci.lang=lo,ci.locale=ao,ci.localeData=uo,ci.max=Xn,ci.min=Kn,ci.parsingFlags=So,ci.set=me,ci.startOf=yo,ci.subtract=Lr,ci.toArray=xo,ci.toObject=Eo,ci.toDate=Co,ci.toISOString=eo,ci.inspect=to,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ci[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ci.toJSON=Ao,ci.toString=Qr,ci.unix=wo,ci.valueOf=vo,ci.creationData=Do,ci.eraName=Oo,ci.eraNarrow=No,ci.eraAbbr=Io,ci.eraYear=Lo,ci.year=_t,ci.isLeapYear=gt,ci.weekYear=jo,ci.isoWeekYear=Go,ci.quarter=ci.quarters=ei,ci.month=ct,ci.daysInMonth=dt,ci.week=ci.weeks=Pt,ci.isoWeek=ci.isoWeeks=Dt,ci.weeksInYear=Ko,ci.weeksInWeekYear=Xo,ci.isoWeeksInYear=qo,ci.isoWeeksInISOWeekYear=Zo,ci.date=ti,ci.day=ci.days=Wt,ci.weekday=Vt,ci.isoWeekday=jt,ci.dayOfYear=ni,ci.hour=ci.hours=rn,ci.minute=ci.minutes=ri,ci.second=ci.seconds=si,ci.millisecond=ci.milliseconds=ii,ci.utcOffset=_r,ci.utc=yr,ci.local=br,ci.parseZone=vr,ci.hasAlignedHourOffset=wr,ci.isDST=Cr,ci.isLocal=Er,ci.isUtcOffset=Ar,ci.isUtc=Tr,ci.isUTC=Tr,ci.zoneAbbr=li,ci.zoneName=ui,ci.dates=A("dates accessor is deprecated. Use date instead.",ti),ci.months=A("months accessor is deprecated. Use month instead",ct),ci.years=A("years accessor is deprecated. Use year instead",_t),ci.zone=A("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gr),ci.isDSTShifted=A("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",xr);var fi=B.prototype;function mi(e,t,n,r){var o=yn(),i=f().set(r,t);return o[n](i,e)}function _i(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return mi(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=mi(e,r,n,"month");return o}
1167
+ $("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var ci=C.prototype;function di(e){return Zn(1e3*e)}function hi(){return Zn.apply(null,arguments).parseZone()}function pi(e){return e}ci.add=Lr,ci.calendar=zr,ci.clone=Wr,ci.diff=Xr,ci.endOf=bo,ci.format=no,ci.from=ro,ci.fromNow=oo,ci.to=io,ci.toNow=so,ci.get=fe,ci.invalidAt=Po,ci.isAfter=Vr,ci.isBefore=jr,ci.isBetween=Gr,ci.isSame=qr,ci.isSameOrAfter=Zr,ci.isSameOrBefore=Kr,ci.isValid=To,ci.lang=lo,ci.locale=ao,ci.localeData=uo,ci.max=Xn,ci.min=Kn,ci.parsingFlags=So,ci.set=me,ci.startOf=yo,ci.subtract=Ir,ci.toArray=xo,ci.toObject=Eo,ci.toDate=Co,ci.toISOString=eo,ci.inspect=to,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ci[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ci.toJSON=Ao,ci.toString=Qr,ci.unix=wo,ci.valueOf=vo,ci.creationData=Do,ci.eraName=Oo,ci.eraNarrow=No,ci.eraAbbr=Lo,ci.eraYear=Io,ci.year=_t,ci.isLeapYear=gt,ci.weekYear=jo,ci.isoWeekYear=Go,ci.quarter=ci.quarters=ei,ci.month=ct,ci.daysInMonth=dt,ci.week=ci.weeks=Pt,ci.isoWeek=ci.isoWeeks=Dt,ci.weeksInYear=Ko,ci.weeksInWeekYear=Xo,ci.isoWeeksInYear=qo,ci.isoWeeksInISOWeekYear=Zo,ci.date=ti,ci.day=ci.days=Wt,ci.weekday=Vt,ci.isoWeekday=jt,ci.dayOfYear=ni,ci.hour=ci.hours=rn,ci.minute=ci.minutes=ri,ci.second=ci.seconds=si,ci.millisecond=ci.milliseconds=ii,ci.utcOffset=_r,ci.utc=yr,ci.local=br,ci.parseZone=vr,ci.hasAlignedHourOffset=wr,ci.isDST=Cr,ci.isLocal=Er,ci.isUtcOffset=Ar,ci.isUtc=Tr,ci.isUTC=Tr,ci.zoneAbbr=li,ci.zoneName=ui,ci.dates=A("dates accessor is deprecated. Use date instead.",ti),ci.months=A("months accessor is deprecated. Use month instead",ct),ci.years=A("years accessor is deprecated. Use year instead",_t),ci.zone=A("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gr),ci.isDSTShifted=A("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",xr);var fi=B.prototype;function mi(e,t,n,r){var o=yn(),i=f().set(r,t);return o[n](i,e)}function _i(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return mi(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=mi(e,r,n,"month");return o}
1168
1168
  // ()
1169
1169
  // (5)
1170
1170
  // (fmt, 5)
@@ -1200,7 +1200,7 @@ t=this._days+Math.round(Mi(this._months)),e){case"week":return t/7+r/6048e5;case
1200
1200
  // Math.floor prevents floating point math errors here
1201
1201
  case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}
1202
1202
  // TODO: Use this.as('ms')?
1203
- function Oi(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ce(this._months/12):NaN}function Ni(e){return function(){return this.as(e)}}var Ii=Ni("ms"),Li=Ni("s"),Hi=Ni("m"),Fi=Ni("h"),Ri=Ni("d"),$i=Ni("w"),Yi=Ni("M"),Ui=Ni("Q"),zi=Ni("y");function Wi(){return Dr(this)}function Vi(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function ji(e){return function(){return this.isValid()?this._data[e]:NaN}}var Gi=ji("milliseconds"),qi=ji("seconds"),Zi=ji("minutes"),Ki=ji("hours"),Xi=ji("days"),Ji=ji("months"),Qi=ji("years");function es(){return ue(this.days()/7)}var ts=Math.round,ns={ss:44,// a few seconds to seconds
1203
+ function Oi(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ce(this._months/12):NaN}function Ni(e){return function(){return this.as(e)}}var Li=Ni("ms"),Ii=Ni("s"),Hi=Ni("m"),Fi=Ni("h"),Ri=Ni("d"),$i=Ni("w"),Yi=Ni("M"),Ui=Ni("Q"),zi=Ni("y");function Wi(){return Dr(this)}function Vi(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function ji(e){return function(){return this.isValid()?this._data[e]:NaN}}var Gi=ji("milliseconds"),qi=ji("seconds"),Zi=ji("minutes"),Ki=ji("hours"),Xi=ji("days"),Ji=ji("months"),Qi=ji("years");function es(){return ue(this.days()/7)}var ts=Math.round,ns={ss:44,// a few seconds to seconds
1204
1204
  s:45,// seconds to minute
1205
1205
  m:45,// minutes to hour
1206
1206
  h:22,// hours to day
@@ -1226,7 +1226,7 @@ e=ue(l/60),t=ue(e/60),l%=60,e%=60,
1226
1226
  // 12 months -> 1 year
1227
1227
  n=ue(c/12),c%=12,
1228
1228
  // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
1229
- r=l?l.toFixed(3).replace(/\.?0+$/,""):"",o=d<0?"-":"",i=us(this._months)!==us(d)?"-":"",s=us(this._days)!==us(d)?"-":"",a=us(this._milliseconds)!==us(d)?"-":"",o+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(u?s+u+"D":"")+(t||e||l?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(l?a+r+"S":"")):"P0D"}var ds=sr.prototype;return ds.isValid=or,ds.abs=Ei,ds.add=Ti,ds.subtract=Si,ds.as=Bi,ds.asMilliseconds=Ii,ds.asSeconds=Li,ds.asMinutes=Hi,ds.asHours=Fi,ds.asDays=Ri,ds.asWeeks=$i,ds.asMonths=Yi,ds.asQuarters=Ui,ds.asYears=zi,ds.valueOf=Oi,ds._bubble=Di,ds.clone=Wi,ds.get=Vi,ds.milliseconds=Gi,ds.seconds=qi,ds.minutes=Zi,ds.hours=Ki,ds.days=Xi,ds.weeks=es,ds.months=Ji,ds.years=Qi,ds.humanize=as,ds.toISOString=cs,ds.toString=cs,ds.toJSON=cs,ds.locale=ao,ds.localeData=uo,ds.toIsoString=A("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",cs),ds.lang=lo,
1229
+ r=l?l.toFixed(3).replace(/\.?0+$/,""):"",o=d<0?"-":"",i=us(this._months)!==us(d)?"-":"",s=us(this._days)!==us(d)?"-":"",a=us(this._milliseconds)!==us(d)?"-":"",o+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(u?s+u+"D":"")+(t||e||l?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(l?a+r+"S":"")):"P0D"}var ds=sr.prototype;return ds.isValid=or,ds.abs=Ei,ds.add=Ti,ds.subtract=Si,ds.as=Bi,ds.asMilliseconds=Li,ds.asSeconds=Ii,ds.asMinutes=Hi,ds.asHours=Fi,ds.asDays=Ri,ds.asWeeks=$i,ds.asMonths=Yi,ds.asQuarters=Ui,ds.asYears=zi,ds.valueOf=Oi,ds._bubble=Di,ds.clone=Wi,ds.get=Vi,ds.milliseconds=Gi,ds.seconds=qi,ds.minutes=Zi,ds.hours=Ki,ds.days=Xi,ds.weeks=es,ds.months=Ji,ds.years=Qi,ds.humanize=as,ds.toISOString=cs,ds.toString=cs,ds.toJSON=cs,ds.locale=ao,ds.localeData=uo,ds.toIsoString=A("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",cs),ds.lang=lo,
1230
1230
  // FORMATTING
1231
1231
  $("X",0,0,"unix"),$("x",0,0,"valueOf"),
1232
1232
  // PARSING
@@ -1277,7 +1277,7 @@ const Zr=window,Kr=Zr.ShadowRoot&&(void 0===Zr.ShadyCSS||Zr.ShadyCSS.nativeShado
1277
1277
  * Copyright 2017 Google LLC
1278
1278
  * SPDX-License-Identifier: BSD-3-Clause
1279
1279
  */
1280
- var po;ho[co]=!0,ho.elementProperties=new Map,ho.elementStyles=[],ho.shadowRootOptions={mode:"open"},null==so||so({ReactiveElement:ho}),(null!==(no=ro.reactiveElementVersions)&&void 0!==no?no:ro.reactiveElementVersions=[]).push("1.6.3");const fo=window,mo=fo.trustedTypes,_o=mo?mo.createPolicy("lit-html",{createHTML:e=>e}):void 0,go="$lit$",yo=`lit$${(Math.random()+"").slice(9)}$`,bo="?"+yo,vo=`<${bo}>`,wo=document,Co=()=>wo.createComment(""),xo=e=>null===e||"object"!=typeof e&&"function"!=typeof e,Eo=Array.isArray,Ao="[ \t\n\f\r]",To=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,So=/-->/g,Po=/>/g,Do=RegExp(`>|${Ao}(?:([^\\s"'>=/]+)(${Ao}*=${Ao}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),ko=/'/g,Mo=/"/g,Bo=/^(?:script|style|textarea|title)$/i,Oo=Symbol.for("lit-noChange"),No=Symbol.for("lit-nothing"),Io=new WeakMap,Lo=wo.createTreeWalker(wo,129,null,!1);function Ho(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==_o?_o.createHTML(t):t}const Fo=(e,t)=>{const n=e.length-1,r=[];let o,i=2===t?"<svg>":"",s=To;for(let t=0;t<n;t++){const n=e[t];let a,l,u=-1,c=0;for(;c<n.length&&(s.lastIndex=c,l=s.exec(n),null!==l);)c=s.lastIndex,s===To?"!--"===l[1]?s=So:void 0!==l[1]?s=Po:void 0!==l[2]?(Bo.test(l[2])&&(o=RegExp("</"+l[2],"g")),s=Do):void 0!==l[3]&&(s=Do):s===Do?">"===l[0]?(s=null!=o?o:To,u=-1):void 0===l[1]?u=-2:(u=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?Do:'"'===l[3]?Mo:ko):s===Mo||s===ko?s=Do:s===So||s===Po?s=To:(s=Do,o=void 0);const d=s===Do&&e[t+1].startsWith("/>")?" ":"";i+=s===To?n+vo:u>=0?(r.push(a),n.slice(0,u)+go+n.slice(u)+yo+d):n+yo+(-2===u?(r.push(void 0),t):d)}return[Ho(e,i+(e[n]||"<?>")+(2===t?"</svg>":"")),r]};class Ro{constructor({strings:e,_$litType$:t},n){let r;this.parts=[];let o=0,i=0;const s=e.length-1,a=this.parts,[l,u]=Fo(e,t);if(this.el=Ro.createElement(l,n),Lo.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(r=Lo.nextNode())&&a.length<s;){if(1===r.nodeType){if(r.hasAttributes()){const e=[];for(const t of r.getAttributeNames())if(t.endsWith(go)||t.startsWith(yo)){const n=u[i++];if(e.push(t),void 0!==n){const e=r.getAttribute(n.toLowerCase()+go).split(yo),t=/([.?@])?(.*)/.exec(n);a.push({type:1,index:o,name:t[2],strings:e,ctor:"."===t[1]?Wo:"?"===t[1]?jo:"@"===t[1]?Go:zo})}else a.push({type:6,index:o})}for(const t of e)r.removeAttribute(t)}if(Bo.test(r.tagName)){const e=r.textContent.split(yo),t=e.length-1;if(t>0){r.textContent=mo?mo.emptyScript:"";for(let n=0;n<t;n++)r.append(e[n],Co()),Lo.nextNode(),a.push({type:2,index:++o});r.append(e[t],Co())}}}else if(8===r.nodeType)if(r.data===bo)a.push({type:2,index:o});else{let e=-1;for(;-1!==(e=r.data.indexOf(yo,e+1));)a.push({type:7,index:o}),e+=yo.length-1}o++}}static createElement(e,t){const n=wo.createElement("template");return n.innerHTML=e,n}}function $o(e,t,n=e,r){var o,i,s,a;if(t===Oo)return t;let l=void 0!==r?null===(o=n._$Co)||void 0===o?void 0:o[r]:n._$Cl;const u=xo(t)?void 0:t._$litDirective$;return(null==l?void 0:l.constructor)!==u&&(null===(i=null==l?void 0:l._$AO)||void 0===i||i.call(l,!1),void 0===u?l=void 0:(l=new u(e),l._$AT(e,n,r)),void 0!==r?(null!==(s=(a=n)._$Co)&&void 0!==s?s:a._$Co=[])[r]=l:n._$Cl=l),void 0!==l&&(t=$o(e,l._$AS(e,t.values),l,r)),t}class Yo{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var t;const{el:{content:n},parts:r}=this._$AD,o=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:wo).importNode(n,!0);Lo.currentNode=o;let i=Lo.nextNode(),s=0,a=0,l=r[0];for(;void 0!==l;){if(s===l.index){let t;2===l.type?t=new Uo(i,i.nextSibling,this,e):1===l.type?t=new l.ctor(i,l.name,l.strings,this,e):6===l.type&&(t=new qo(i,this,e)),this._$AV.push(t),l=r[++a]}s!==(null==l?void 0:l.index)&&(i=Lo.nextNode(),s++)}return Lo.currentNode=wo,o}v(e){let t=0;for(const n of this._$AV)void 0!==n&&(void 0!==n.strings?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}}class Uo{constructor(e,t,n,r){var o;this.type=2,this._$AH=No,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=r,this._$Cp=null===(o=null==r?void 0:r.isConnected)||void 0===o||o}get _$AU(){var e,t;return null!==(t=null===(e=this._$AM)||void 0===e?void 0:e._$AU)&&void 0!==t?t:this._$Cp}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===(null==e?void 0:e.nodeType)&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=$o(this,e,t),xo(e)?e===No||null==e||""===e?(this._$AH!==No&&this._$AR(),this._$AH=No):e!==this._$AH&&e!==Oo&&this._(e):void 0!==e._$litType$?this.g(e):void 0!==e.nodeType?this.$(e):(e=>Eo(e)||"function"==typeof(null==e?void 0:e[Symbol.iterator]))(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==No&&xo(this._$AH)?this._$AA.nextSibling.data=e:this.$(wo.createTextNode(e)),this._$AH=e}g(e){var t;const{values:n,_$litType$:r}=e,o="number"==typeof r?this._$AC(e):(void 0===r.el&&(r.el=Ro.createElement(Ho(r.h,r.h[0]),this.options)),r);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===o)this._$AH.v(n);else{const e=new Yo(o,this),t=e.u(this.options);e.v(n),this.$(t),this._$AH=e}}_$AC(e){let t=Io.get(e.strings);return void 0===t&&Io.set(e.strings,t=new Ro(e)),t}T(e){Eo(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let n,r=0;for(const o of e)r===t.length?t.push(n=new Uo(this.k(Co()),this.k(Co()),this,this.options)):n=t[r],n._$AI(o),r++;r<t.length&&(this._$AR(n&&n._$AB.nextSibling,r),t.length=r)}_$AR(e=this._$AA.nextSibling,t){var n;for(null===(n=this._$AP)||void 0===n||n.call(this,!1,!0,t);e&&e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){var t;void 0===this._$AM&&(this._$Cp=e,null===(t=this._$AP)||void 0===t||t.call(this,e))}}class zo{constructor(e,t,n,r,o){this.type=1,this._$AH=No,this._$AN=void 0,this.element=e,this.name=t,this._$AM=r,this.options=o,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=No}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,n,r){const o=this.strings;let i=!1;if(void 0===o)e=$o(this,e,t,0),i=!xo(e)||e!==this._$AH&&e!==Oo,i&&(this._$AH=e);else{const r=e;let s,a;for(e=o[0],s=0;s<o.length-1;s++)a=$o(this,r[n+s],t,s),a===Oo&&(a=this._$AH[s]),i||(i=!xo(a)||a!==this._$AH[s]),a===No?e=No:e!==No&&(e+=(null!=a?a:"")+o[s+1]),this._$AH[s]=a}i&&!r&&this.j(e)}j(e){e===No?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}class Wo extends zo{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===No?void 0:e}}const Vo=mo?mo.emptyScript:"";class jo extends zo{constructor(){super(...arguments),this.type=4}j(e){e&&e!==No?this.element.setAttribute(this.name,Vo):this.element.removeAttribute(this.name)}}class Go extends zo{constructor(e,t,n,r,o){super(e,t,n,r,o),this.type=5}_$AI(e,t=this){var n;if((e=null!==(n=$o(this,e,t,0))&&void 0!==n?n:No)===Oo)return;const r=this._$AH,o=e===No&&r!==No||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,i=e!==No&&(r===No||o);o&&this.element.removeEventListener(this.name,this,r),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,n;"function"==typeof this._$AH?this._$AH.call(null!==(n=null===(t=this.options)||void 0===t?void 0:t.host)&&void 0!==n?n:this.element,e):this._$AH.handleEvent(e)}}class qo{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){$o(this,e)}}const Zo=fo.litHtmlPolyfillSupport;null==Zo||Zo(Ro,Uo),(null!==(po=fo.litHtmlVersions)&&void 0!==po?po:fo.litHtmlVersions=[]).push("2.8.0");
1280
+ var po;ho[co]=!0,ho.elementProperties=new Map,ho.elementStyles=[],ho.shadowRootOptions={mode:"open"},null==so||so({ReactiveElement:ho}),(null!==(no=ro.reactiveElementVersions)&&void 0!==no?no:ro.reactiveElementVersions=[]).push("1.6.3");const fo=window,mo=fo.trustedTypes,_o=mo?mo.createPolicy("lit-html",{createHTML:e=>e}):void 0,go="$lit$",yo=`lit$${(Math.random()+"").slice(9)}$`,bo="?"+yo,vo=`<${bo}>`,wo=document,Co=()=>wo.createComment(""),xo=e=>null===e||"object"!=typeof e&&"function"!=typeof e,Eo=Array.isArray,Ao="[ \t\n\f\r]",To=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,So=/-->/g,Po=/>/g,Do=RegExp(`>|${Ao}(?:([^\\s"'>=/]+)(${Ao}*=${Ao}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),ko=/'/g,Mo=/"/g,Bo=/^(?:script|style|textarea|title)$/i,Oo=Symbol.for("lit-noChange"),No=Symbol.for("lit-nothing"),Lo=new WeakMap,Io=wo.createTreeWalker(wo,129,null,!1);function Ho(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==_o?_o.createHTML(t):t}const Fo=(e,t)=>{const n=e.length-1,r=[];let o,i=2===t?"<svg>":"",s=To;for(let t=0;t<n;t++){const n=e[t];let a,l,u=-1,c=0;for(;c<n.length&&(s.lastIndex=c,l=s.exec(n),null!==l);)c=s.lastIndex,s===To?"!--"===l[1]?s=So:void 0!==l[1]?s=Po:void 0!==l[2]?(Bo.test(l[2])&&(o=RegExp("</"+l[2],"g")),s=Do):void 0!==l[3]&&(s=Do):s===Do?">"===l[0]?(s=null!=o?o:To,u=-1):void 0===l[1]?u=-2:(u=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?Do:'"'===l[3]?Mo:ko):s===Mo||s===ko?s=Do:s===So||s===Po?s=To:(s=Do,o=void 0);const d=s===Do&&e[t+1].startsWith("/>")?" ":"";i+=s===To?n+vo:u>=0?(r.push(a),n.slice(0,u)+go+n.slice(u)+yo+d):n+yo+(-2===u?(r.push(void 0),t):d)}return[Ho(e,i+(e[n]||"<?>")+(2===t?"</svg>":"")),r]};class Ro{constructor({strings:e,_$litType$:t},n){let r;this.parts=[];let o=0,i=0;const s=e.length-1,a=this.parts,[l,u]=Fo(e,t);if(this.el=Ro.createElement(l,n),Io.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(r=Io.nextNode())&&a.length<s;){if(1===r.nodeType){if(r.hasAttributes()){const e=[];for(const t of r.getAttributeNames())if(t.endsWith(go)||t.startsWith(yo)){const n=u[i++];if(e.push(t),void 0!==n){const e=r.getAttribute(n.toLowerCase()+go).split(yo),t=/([.?@])?(.*)/.exec(n);a.push({type:1,index:o,name:t[2],strings:e,ctor:"."===t[1]?Wo:"?"===t[1]?jo:"@"===t[1]?Go:zo})}else a.push({type:6,index:o})}for(const t of e)r.removeAttribute(t)}if(Bo.test(r.tagName)){const e=r.textContent.split(yo),t=e.length-1;if(t>0){r.textContent=mo?mo.emptyScript:"";for(let n=0;n<t;n++)r.append(e[n],Co()),Io.nextNode(),a.push({type:2,index:++o});r.append(e[t],Co())}}}else if(8===r.nodeType)if(r.data===bo)a.push({type:2,index:o});else{let e=-1;for(;-1!==(e=r.data.indexOf(yo,e+1));)a.push({type:7,index:o}),e+=yo.length-1}o++}}static createElement(e,t){const n=wo.createElement("template");return n.innerHTML=e,n}}function $o(e,t,n=e,r){var o,i,s,a;if(t===Oo)return t;let l=void 0!==r?null===(o=n._$Co)||void 0===o?void 0:o[r]:n._$Cl;const u=xo(t)?void 0:t._$litDirective$;return(null==l?void 0:l.constructor)!==u&&(null===(i=null==l?void 0:l._$AO)||void 0===i||i.call(l,!1),void 0===u?l=void 0:(l=new u(e),l._$AT(e,n,r)),void 0!==r?(null!==(s=(a=n)._$Co)&&void 0!==s?s:a._$Co=[])[r]=l:n._$Cl=l),void 0!==l&&(t=$o(e,l._$AS(e,t.values),l,r)),t}class Yo{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var t;const{el:{content:n},parts:r}=this._$AD,o=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:wo).importNode(n,!0);Io.currentNode=o;let i=Io.nextNode(),s=0,a=0,l=r[0];for(;void 0!==l;){if(s===l.index){let t;2===l.type?t=new Uo(i,i.nextSibling,this,e):1===l.type?t=new l.ctor(i,l.name,l.strings,this,e):6===l.type&&(t=new qo(i,this,e)),this._$AV.push(t),l=r[++a]}s!==(null==l?void 0:l.index)&&(i=Io.nextNode(),s++)}return Io.currentNode=wo,o}v(e){let t=0;for(const n of this._$AV)void 0!==n&&(void 0!==n.strings?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}}class Uo{constructor(e,t,n,r){var o;this.type=2,this._$AH=No,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=r,this._$Cp=null===(o=null==r?void 0:r.isConnected)||void 0===o||o}get _$AU(){var e,t;return null!==(t=null===(e=this._$AM)||void 0===e?void 0:e._$AU)&&void 0!==t?t:this._$Cp}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===(null==e?void 0:e.nodeType)&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=$o(this,e,t),xo(e)?e===No||null==e||""===e?(this._$AH!==No&&this._$AR(),this._$AH=No):e!==this._$AH&&e!==Oo&&this._(e):void 0!==e._$litType$?this.g(e):void 0!==e.nodeType?this.$(e):(e=>Eo(e)||"function"==typeof(null==e?void 0:e[Symbol.iterator]))(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==No&&xo(this._$AH)?this._$AA.nextSibling.data=e:this.$(wo.createTextNode(e)),this._$AH=e}g(e){var t;const{values:n,_$litType$:r}=e,o="number"==typeof r?this._$AC(e):(void 0===r.el&&(r.el=Ro.createElement(Ho(r.h,r.h[0]),this.options)),r);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===o)this._$AH.v(n);else{const e=new Yo(o,this),t=e.u(this.options);e.v(n),this.$(t),this._$AH=e}}_$AC(e){let t=Lo.get(e.strings);return void 0===t&&Lo.set(e.strings,t=new Ro(e)),t}T(e){Eo(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let n,r=0;for(const o of e)r===t.length?t.push(n=new Uo(this.k(Co()),this.k(Co()),this,this.options)):n=t[r],n._$AI(o),r++;r<t.length&&(this._$AR(n&&n._$AB.nextSibling,r),t.length=r)}_$AR(e=this._$AA.nextSibling,t){var n;for(null===(n=this._$AP)||void 0===n||n.call(this,!1,!0,t);e&&e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){var t;void 0===this._$AM&&(this._$Cp=e,null===(t=this._$AP)||void 0===t||t.call(this,e))}}class zo{constructor(e,t,n,r,o){this.type=1,this._$AH=No,this._$AN=void 0,this.element=e,this.name=t,this._$AM=r,this.options=o,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=No}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,n,r){const o=this.strings;let i=!1;if(void 0===o)e=$o(this,e,t,0),i=!xo(e)||e!==this._$AH&&e!==Oo,i&&(this._$AH=e);else{const r=e;let s,a;for(e=o[0],s=0;s<o.length-1;s++)a=$o(this,r[n+s],t,s),a===Oo&&(a=this._$AH[s]),i||(i=!xo(a)||a!==this._$AH[s]),a===No?e=No:e!==No&&(e+=(null!=a?a:"")+o[s+1]),this._$AH[s]=a}i&&!r&&this.j(e)}j(e){e===No?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}class Wo extends zo{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===No?void 0:e}}const Vo=mo?mo.emptyScript:"";class jo extends zo{constructor(){super(...arguments),this.type=4}j(e){e&&e!==No?this.element.setAttribute(this.name,Vo):this.element.removeAttribute(this.name)}}class Go extends zo{constructor(e,t,n,r,o){super(e,t,n,r,o),this.type=5}_$AI(e,t=this){var n;if((e=null!==(n=$o(this,e,t,0))&&void 0!==n?n:No)===Oo)return;const r=this._$AH,o=e===No&&r!==No||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,i=e!==No&&(r===No||o);o&&this.element.removeEventListener(this.name,this,r),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,n;"function"==typeof this._$AH?this._$AH.call(null!==(n=null===(t=this.options)||void 0===t?void 0:t.host)&&void 0!==n?n:this.element,e):this._$AH.handleEvent(e)}}class qo{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){$o(this,e)}}const Zo=fo.litHtmlPolyfillSupport;null==Zo||Zo(Ro,Uo),(null!==(po=fo.litHtmlVersions)&&void 0!==po?po:fo.litHtmlVersions=[]).push("2.8.0");
1281
1281
  /**
1282
1282
  * @license
1283
1283
  * Copyright 2017 Google LLC
@@ -2134,7 +2134,7 @@ let t=Object.create(/** @type {!MixinFunction} */s.__mixinSet||o||null);t[n]=!0,
2134
2134
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2135
2135
  Code distributed by Google as part of the polymer project is also
2136
2136
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2137
- */let Ii={},Li={};
2137
+ */let Li={},Ii={};
2138
2138
  /**
2139
2139
  * Sets a dom-module into the global registry by id.
2140
2140
  *
@@ -2146,13 +2146,13 @@ function Hi(e,t){
2146
2146
  // store id separate from lowercased id so that
2147
2147
  // in all cases mixedCase id will stored distinctly
2148
2148
  // and lowercase version is a fallback
2149
- Ii[e]=Li[e.toLowerCase()]=t}
2149
+ Li[e]=Ii[e.toLowerCase()]=t}
2150
2150
  /**
2151
2151
  * Retrieves a dom-module from the global registry by id.
2152
2152
  *
2153
2153
  * @param {string} id dom-module id
2154
2154
  * @return {DomModule!} dom-module instance
2155
- */function Fi(e){return Ii[e]||Li[e.toLowerCase()]}
2155
+ */function Fi(e){return Li[e]||Ii[e.toLowerCase()]}
2156
2156
  /**
2157
2157
  * The `dom-module` element registers the dom it contains to the name given
2158
2158
  * by the module's id attribute. It provides a unified database of dom
@@ -2227,7 +2227,7 @@ const e=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForEl
2227
2227
  */register(e){if(e=e||this.id){
2228
2228
  // Under strictTemplatePolicy, reject and null out any re-registered
2229
2229
  // dom-module since it is ambiguous whether first-in or last-in is trusted
2230
- if(Ci&&void 0!==Fi(e))throw Hi(e,null),new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);this.id=e,Hi(e,this),(t=this).querySelector("style")&&console.warn("dom-module %s has style outside template",t.id)}var t}}Ri.prototype.modules=Ii,customElements.define("dom-module",Ri);
2230
+ if(Ci&&void 0!==Fi(e))throw Hi(e,null),new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);this.id=e,Hi(e,this),(t=this).querySelector("style")&&console.warn("dom-module %s has style outside template",t.id)}var t}}Ri.prototype.modules=Li,customElements.define("dom-module",Ri);
2231
2231
  /**
2232
2232
  @license
2233
2233
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -3491,7 +3491,7 @@ return e=e._methodHost||e,function(t){e[n]?e[n](t,t.detail):console.warn("listen
3491
3491
  */
3492
3492
  // Monotonically increasing unique ID used for de-duping effects triggered
3493
3493
  // from multiple properties in the same turn
3494
- let Is=0;const Ls=[],Hs={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},Fs="__computeInfo",Rs=/[A-Z]/;
3494
+ let Ls=0;const Is=[],Hs={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},Fs="__computeInfo",Rs=/[A-Z]/;
3495
3495
  /**
3496
3496
  * Property effect types; effects are stored on the prototype using these keys
3497
3497
  * @enum {string}
@@ -3536,7 +3536,7 @@ for(let e=0;e<t.length;e++)n[e]=t[e]}}else r=e[t]={};return r}
3536
3536
  * @param {*=} extraArgs Additional metadata to pass to effect function
3537
3537
  * @return {boolean} True if an effect ran for this property
3538
3538
  * @private
3539
- */function Ys(e,t,n,r,o,i){if(t){let s=!1;const a=Is++;for(let l in n){
3539
+ */function Ys(e,t,n,r,o,i){if(t){let s=!1;const a=Ls++;for(let l in n){
3540
3540
  // Inline `runEffectsForProperty` for perf.
3541
3541
  let u=t[o?Xi(l):l];if(u)for(let t,c=0,d=u.length;c<d&&(t=u[c]);c++)t.info&&t.info.lastRun===a||o&&!zs(l,t.trigger)||(t.info&&(t.info.lastRun=a),t.fn(e,l,n,r,t.info,o,i),s=!0)}return s}return!1}
3542
3542
  /**
@@ -3703,7 +3703,7 @@ function qs(e,t,n,r,o){let i=e.__data[t];wi&&(i=wi(i,o.attrName,"attribute",/**
3703
3703
  // Runs computed effects in efficient order by keeping a topologically-
3704
3704
  // sorted queue of compute effects to run, and inserting subsequently
3705
3705
  // invalidated effects as they are run
3706
- Is++;const i=
3706
+ Ls++;const i=
3707
3707
  /**
3708
3708
  * Generates and retrieves a memoized map of computed property name to its
3709
3709
  * topologically-sorted order.
@@ -3779,7 +3779,7 @@ let i=t;for(;Ys(e,o,i,n,r);)Object.assign(/** @type {!Object} */n,e.__dataOld),O
3779
3779
  */const Ks=(e,t,n)=>{let r=0,o=t.length-1,i=-1;for(;r<=o;){const s=r+o>>1,a=n.get(t[s].methodInfo)-n.get(e.methodInfo);
3780
3780
  // Note `methodInfo` is where the computed property name is stored in
3781
3781
  // the effect metadata
3782
- if(a<0)r=s+1;else{if(!(a>0)){i=s;break}o=s-1}}i<0&&(i=o+1),t.splice(i,0,e)},Xs=(e,t,n,r,o)=>{const i=t[o?Xi(e):e];if(i)for(let t=0;t<i.length;t++){const s=i[t];s.info.lastRun===Is||o&&!zs(e,s.trigger)||(s.info.lastRun=Is,Ks(s.info,n,r))}};
3782
+ if(a<0)r=s+1;else{if(!(a>0)){i=s;break}o=s-1}}i<0&&(i=o+1),t.splice(i,0,e)},Xs=(e,t,n,r,o)=>{const i=t[o?Xi(e):e];if(i)for(let t=0;t<i.length;t++){const s=i[t];s.info.lastRun===Ls||o&&!zs(e,s.trigger)||(s.info.lastRun=Ls,Ks(s.info,n,r))}};
3783
3783
  /**
3784
3784
  * Inserts all downstream computed effects invalidated by the specified property
3785
3785
  * into the topologically-sorted queue of effects to be run.
@@ -3797,7 +3797,7 @@ if(a<0)r=s+1;else{if(!(a>0)){i=s;break}o=s-1}}i<0&&(i=o+1),t.splice(i,0,e)},Xs=(
3797
3797
  // Dirty check dependencies and run if any invalid
3798
3798
  let i=ia(e,t,n,r,o);
3799
3799
  // Abort if method returns a no-op result
3800
- if(i===Ls)return!1;let s=o.methodInfo;return e.__dataHasAccessor&&e.__dataHasAccessor[s]?e._setPendingProperty(s,i,!0):(e[s]=i,!1)}
3800
+ if(i===Is)return!1;let s=o.methodInfo;return e.__dataHasAccessor&&e.__dataHasAccessor[s]?e._setPendingProperty(s,i,!0):(e[s]=i,!1)}
3801
3801
  /**
3802
3802
  * Computes path changes based on path links set up using the `linkPaths`
3803
3803
  * API.
@@ -3894,7 +3894,7 @@ let l=t.nodeInfoList.length;for(let n=0;n<a.parts.length;n++){let r=a.parts[n];r
3894
3894
  if(i&&u.source&&t.length>u.source.length&&"property"==l.kind&&!l.isCompound&&a.__isPropertyEffectsClient&&a.__dataHasAccessor&&a.__dataHasAccessor[l.target]){let r=n[t];t=es(u.source,l.target,t),a._setPendingPropertyOrPath(t,r,!1,!0)&&e._enqueueClient(a)}else{let s=o.evaluator._evaluateBinding(e,u,t,n,r,i);
3895
3895
  // Propagate value to child
3896
3896
  // Abort if value is a no-op result
3897
- s!==Ls&&
3897
+ s!==Is&&
3898
3898
  /**
3899
3899
  * Sets the value for an "binding" (binding) effect to a node,
3900
3900
  * either as a property or attribute.
@@ -3998,7 +3998,7 @@ t.literal&&"property"==t.kind&&(
3998
3998
  */function ia(e,t,n,r,o){
3999
3999
  // Instances can optionally have a _methodHost which allows redirecting where
4000
4000
  // to find methods. Currently used by `templatize`.
4001
- let i=e._methodHost||e,s=i[o.methodName];if(s){let r=e._marshalArgs(o.args,t,n);return r===Ls?Ls:s.apply(i,r)}o.dynamicFn||console.warn("method `"+o.methodName+"` not defined")}const sa=[],aa="(?:[a-zA-Z_$][\\w.:$\\-*]*)",la="(?:("+aa+"|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)",ua=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?"+("("+aa+"\\s*"+("(?:\\(\\s*(?:"+("(?:"+la+"(?:,\\s*"+la+")*)")+"?)\\)\\s*)")+"?)")+"(?:]]|}})","g");
4001
+ let i=e._methodHost||e,s=i[o.methodName];if(s){let r=e._marshalArgs(o.args,t,n);return r===Is?Is:s.apply(i,r)}o.dynamicFn||console.warn("method `"+o.methodName+"` not defined")}const sa=[],aa="(?:[a-zA-Z_$][\\w.:$\\-*]*)",la="(?:("+aa+"|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)",ua=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?"+("("+aa+"\\s*"+("(?:\\(\\s*(?:"+("(?:"+la+"(?:,\\s*"+la+")*)")+"?)\\)\\s*)")+"?)")+"(?:]]|}})","g");
4002
4002
  // Regular expressions used for binding
4003
4003
  /**
4004
4004
  * Create a string from binding parts of all the literal parts
@@ -4552,7 +4552,7 @@ Ys(this,this[Hs.OBSERVE],t,n,o),
4552
4552
  // Notify properties to host
4553
4553
  r&&function(e,t,n,r,o){
4554
4554
  // Notify
4555
- let i,s,a=e[Hs.NOTIFY],l=Is++;
4555
+ let i,s,a=e[Hs.NOTIFY],l=Ls++;
4556
4556
  // Try normal notify effects; if none, fall back to try path notification
4557
4557
  for(let s in t)t[s]&&(a&&Us(e,a,l,s,n,r,o)||o&&Vs(e,s,n))&&(i=!0);
4558
4558
  // Flush host if we actually notified and host was batching
@@ -4863,7 +4863,7 @@ $s(this,Fs)[e]=o}
4863
4863
  */_marshalArgs(e,t,n){const r=this.__data,o=[];for(let i=0,s=e.length;i<s;i++){let{name:s,structured:a,wildcard:l,value:u,literal:c}=e[i];if(!c)if(l){const e=Qi(s,t),o=pa(r,n,e?t:s);u={path:e?t:s,value:o,base:e?rs(r,s):o}}else u=a?pa(r,n,s):r[s];
4864
4864
  // When the `legacyUndefined` flag is enabled, pass a no-op value
4865
4865
  // so that the observer, computed property, or compound binding is aborted.
4866
- if(Si&&!this._overrideLegacyUndefined&&void 0===u&&e.length>1)return Ls;o[i]=u}return o}
4866
+ if(Si&&!this._overrideLegacyUndefined&&void 0===u&&e.length>1)return Is;o[i]=u}return o}
4867
4867
  // -- static class methods ------------
4868
4868
  /**
4869
4869
  * Ensures an accessor exists for the specified property, and adds
@@ -6321,7 +6321,7 @@ const Na=eo`
6321
6321
  opacity: 0;
6322
6322
  }
6323
6323
  }
6324
- `;ri("",Na,{moduleId:"lumo-menu-overlay-core"});const Ia=[Oa,Na,eo`
6324
+ `;ri("",Na,{moduleId:"lumo-menu-overlay-core"});const La=[Oa,Na,eo`
6325
6325
  /* Small viewport (bottom sheet) styles */
6326
6326
  /* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
6327
6327
  @media (max-width: 420px), (max-height: 420px) {
@@ -6383,7 +6383,7 @@ const Na=eo`
6383
6383
  transform: translateY(150%);
6384
6384
  }
6385
6385
  }
6386
- `];ri("",Ia,{moduleId:"lumo-menu-overlay"});ri("vaadin-date-picker-overlay",[Ia,eo`
6386
+ `];ri("",La,{moduleId:"lumo-menu-overlay"});ri("vaadin-date-picker-overlay",[La,eo`
6387
6387
  [part='overlay'] {
6388
6388
  /*
6389
6389
  Width:
@@ -6695,7 +6695,7 @@ const Na=eo`
6695
6695
  *
6696
6696
  * @polymerMixin
6697
6697
  */
6698
- const La=Ni((e=>
6698
+ const Ia=Ni((e=>
6699
6699
  // If the superclass extends from LitElement,
6700
6700
  // use its own controllers implementation.
6701
6701
  "function"==typeof e.prototype.addController?e:class extends e{constructor(){super(),
@@ -7775,7 +7775,7 @@ return t.length>0?t[0]:e.target}
7775
7775
  * @param {TouchEvent} ev Event.
7776
7776
  * @return {void}
7777
7777
  */
7778
- function(e){const t=e.changedTouches[0],n=e.type;if("touchstart"===n)El.touch.x=t.clientX,El.touch.y=t.clientY,El.touch.scrollDecided=!1;else if("touchmove"===n){if(El.touch.scrollDecided)return;El.touch.scrollDecided=!0;const n=function(e){let t="auto";const n=Sl(e);for(let e,r=0;r<n.length;r++)if(e=n[r],e[fl]){t=e[fl];break}return t}(e);let r=!1;const o=Math.abs(El.touch.x-t.clientX),i=Math.abs(El.touch.y-t.clientY);e.cancelable&&("none"===n?r=!0:"pan-x"===n?r=i>o:"pan-y"===n&&(r=o>i)),r?e.preventDefault():Ll("track")}}
7778
+ function(e){const t=e.changedTouches[0],n=e.type;if("touchstart"===n)El.touch.x=t.clientX,El.touch.y=t.clientY,El.touch.scrollDecided=!1;else if("touchmove"===n){if(El.touch.scrollDecided)return;El.touch.scrollDecided=!0;const n=function(e){let t="auto";const n=Sl(e);for(let e,r=0;r<n.length;r++)if(e=n[r],e[fl]){t=e[fl];break}return t}(e);let r=!1;const o=Math.abs(El.touch.x-t.clientX),i=Math.abs(El.touch.y-t.clientY);e.cancelable&&("none"===n?r=!0:"pan-x"===n?r=i>o:"pan-y"===n&&(r=o>i)),r?e.preventDefault():Il("track")}}
7779
7779
  /**
7780
7780
  * Adds an event listener to a node for the given gesture type.
7781
7781
  *
@@ -7838,7 +7838,7 @@ qa.run((()=>{e.style.touchAction=t})),e[fl]=t}
7838
7838
  * @param {string} type The type of event to fire.
7839
7839
  * @param {!Object=} detail The detail object to populate on the event.
7840
7840
  * @return {void}
7841
- */function Il(e,t,n){const r=new Event(t,{bubbles:!0,cancelable:!0,composed:!0});
7841
+ */function Ll(e,t,n){const r=new Event(t,{bubbles:!0,cancelable:!0,composed:!0});
7842
7842
  // Forward `preventDefault` in a clean way
7843
7843
  if(r.detail=n,cl(/** @type {!Node} */e).dispatchEvent(r),r.defaultPrevented){const e=n.preventer||n.sourceEvent;e&&e.preventDefault&&e.preventDefault()}}
7844
7844
  /**
@@ -7846,7 +7846,7 @@ if(r.detail=n,cl(/** @type {!Node} */e).dispatchEvent(r),r.defaultPrevented){con
7846
7846
  *
7847
7847
  * @param {string} evName Event name.
7848
7848
  * @return {void}
7849
- */function Ll(e){const t=function(e){for(let t,n=0;n<Dl.length;n++){t=Dl[n];for(let n,r=0;r<t.emits.length;r++)if(n=t.emits[r],n===e)return t}return null}(e);t.info&&(t.info.prevent=!0)}
7849
+ */function Il(e){const t=function(e){for(let t,n=0;n<Dl.length;n++){t=Dl[n];for(let n,r=0;r<t.emits.length;r++)if(n=t.emits[r],n===e)return t}return null}(e);t.info&&(t.info.prevent=!0)}
7850
7850
  /**
7851
7851
  * @param {string} type
7852
7852
  * @param {EventTarget} target
@@ -7854,7 +7854,7 @@ if(r.detail=n,cl(/** @type {!Node} */e).dispatchEvent(r),r.defaultPrevented){con
7854
7854
  * @param {Event=} preventer
7855
7855
  * @return {void}
7856
7856
  */
7857
- function Hl(e,t,n,r){t&&Il(t,e,{x:n.clientX,y:n.clientY,sourceEvent:n,preventer:r,prevent:e=>Ll(e)})}
7857
+ function Hl(e,t,n,r){t&&Ll(t,e,{x:n.clientX,y:n.clientY,sourceEvent:n,preventer:r,prevent:e=>Il(e)})}
7858
7858
  /**
7859
7859
  * @param {!GestureInfo} info
7860
7860
  * @param {number} x
@@ -7867,7 +7867,7 @@ function Fl(e,t,n){if(e.prevent)return!1;if(e.started)return!0;const r=Math.abs(
7867
7867
  * @param {?EventTarget} target
7868
7868
  * @param {Touch} touch
7869
7869
  * @return {void}
7870
- */function Rl(e,t,n){if(!t)return;const r=e.moves[e.moves.length-2],o=e.moves[e.moves.length-1],i=o.x-e.x,s=o.y-e.y;let a,l=0;r&&(a=o.x-r.x,l=o.y-r.y),Il(t,"track",{state:e.state,x:n.clientX,y:n.clientY,dx:i,dy:s,ddx:a,ddy:l,sourceEvent:n,hover:()=>
7870
+ */function Rl(e,t,n){if(!t)return;const r=e.moves[e.moves.length-2],o=e.moves[e.moves.length-1],i=o.x-e.x,s=o.y-e.y;let a,l=0;r&&(a=o.x-r.x,l=o.y-r.y),Ll(t,"track",{state:e.state,x:n.clientX,y:n.clientY,dx:i,dy:s,ddx:a,ddy:l,sourceEvent:n,hover:()=>
7871
7871
  /**
7872
7872
  * Finds the element rendered on the screen at the provided coordinates.
7873
7873
  *
@@ -7910,7 +7910,7 @@ if(!t.nodeType||/** @type {Element} */t.nodeType!==Node.ELEMENT_NODE)return!0;co
7910
7910
  // Ev is a synthetic click if the position is outside the bounding box of the target
7911
7911
  return!(r>=n.left&&r<=n.right&&o>=n.top&&o<=n.bottom)}return!1}(t))&&(
7912
7912
  // Prevent taps from being generated if an event has canceled them
7913
- e.prevent||Il(i,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:n}))}
7913
+ e.prevent||Ll(i,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:n}))}
7914
7914
  /**
7915
7915
  * @license
7916
7916
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
@@ -7962,7 +7962,7 @@ mousedown(e){if(!xl(e))return;const t=kl(e),n=this,r=e=>{const r=e.clientX,o=e.c
7962
7962
  // First move is 'start', subsequent moves are 'move', mouseup is 'end'
7963
7963
  n.info.state=n.info.started?"mouseup"===e.type?"end":"track":"start","start"===n.info.state&&
7964
7964
  // If and only if tracking, always prevent tap
7965
- Ll("tap"),n.info.addMove({x:r,y:o}),xl(e)||(
7965
+ Il("tap"),n.info.addMove({x:r,y:o}),xl(e)||(
7966
7966
  // Always fire "end"
7967
7967
  n.info.state="end",Tl(n.info)),t&&Rl(n.info,t,e),n.info.started=!0)};
7968
7968
  // eslint-disable-next-line @typescript-eslint/no-this-alias
@@ -7983,7 +7983,7 @@ touchstart(e){const t=e.changedTouches[0];this.info.x=t.clientX,this.info.y=t.cl
7983
7983
  */
7984
7984
  touchmove(e){const t=kl(e),n=e.changedTouches[0],r=n.clientX,o=n.clientY;Fl(this.info,r,o)&&("start"===this.info.state&&
7985
7985
  // If and only if tracking, always prevent tap
7986
- Ll("tap"),this.info.addMove({x:r,y:o}),Rl(this.info,t,n),this.info.state="track",this.info.started=!0)},
7986
+ Il("tap"),this.info.addMove({x:r,y:o}),Rl(this.info,t,n),this.info.state="track",this.info.started=!0)},
7987
7987
  /**
7988
7988
  * @this {GestureRecognizer}
7989
7989
  * @param {TouchEvent} e
@@ -8437,7 +8437,7 @@ this.click())}}
8437
8437
  * @mixes ElementMixin
8438
8438
  * @mixes ThemableMixin
8439
8439
  */
8440
- class Ql extends(Jl(Qa(li(La(Ta))))){static get is(){return"vaadin-button"}static get template(){return(e=>e`
8440
+ class Ql extends(Jl(Qa(li(Ia(Ta))))){static get is(){return"vaadin-button"}static get template(){return(e=>e`
8441
8441
  <div class="vaadin-button-container">
8442
8442
  <span part="prefix" aria-hidden="true">
8443
8443
  <slot name="prefix"></slot>
@@ -9407,7 +9407,7 @@ return Zl(e,t)?Gl(t):t}(this.__trapNode)}
9407
9407
  /**
9408
9408
  * @polymerMixin
9409
9409
  * @mixes ControllerMixin
9410
- */const Du=e=>class extends(La(e)){static get properties(){return{
9410
+ */const Du=e=>class extends(Ia(e)){static get properties(){return{
9411
9411
  /**
9412
9412
  * When true, opening the overlay moves focus to the first focusable child,
9413
9413
  * or to the overlay part with tabindex if there are no focusable children.
@@ -9637,7 +9637,7 @@ delete this._$litPart$),r&&e&&(i||s||o)&&this.requestContentUpdate()}
9637
9637
  * @license
9638
9638
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
9639
9639
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
9640
- */,Ou={start:"top",end:"bottom"},Nu={start:"left",end:"right"},Iu=new ResizeObserver((e=>{setTimeout((()=>{e.forEach((e=>{e.target.__overlay&&e.target.__overlay._updatePosition()}))}))})),Lu=e=>class extends e{static get properties(){return{
9640
+ */,Ou={start:"top",end:"bottom"},Nu={start:"left",end:"right"},Lu=new ResizeObserver((e=>{setTimeout((()=>{e.forEach((e=>{e.target.__overlay&&e.target.__overlay._updatePosition()}))}))})),Iu=e=>class extends e{static get properties(){return{
9641
9641
  /**
9642
9642
  * The element next to which this overlay should be aligned.
9643
9643
  * The position of the overlay relative to the positionTarget can be adjusted
@@ -9693,7 +9693,7 @@ requiredVerticalSpace:{type:Number,value:0}}}static get observers(){return["__po
9693
9693
  /** @protected */disconnectedCallback(){super.disconnectedCallback(),this.__removeUpdatePositionEventListeners()}
9694
9694
  /** @private */__addUpdatePositionEventListeners(){window.addEventListener("resize",this._updatePosition),this.__positionTargetAncestorRootNodes=function(e){const t=[];for(;e;){if(e.nodeType===Node.DOCUMENT_NODE){t.push(e);break}e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE?e=e.assignedSlot?e.assignedSlot:e.parentNode:(t.push(e),e=e.host)}return t}(this.positionTarget),this.__positionTargetAncestorRootNodes.forEach((e=>{e.addEventListener("scroll",this.__onScroll,!0)}))}
9695
9695
  /** @private */__removeUpdatePositionEventListeners(){window.removeEventListener("resize",this._updatePosition),this.__positionTargetAncestorRootNodes&&(this.__positionTargetAncestorRootNodes.forEach((e=>{e.removeEventListener("scroll",this.__onScroll,!0)})),this.__positionTargetAncestorRootNodes=null)}
9696
- /** @private */__overlayOpenedChanged(e,t){if(this.__removeUpdatePositionEventListeners(),t&&(t.__overlay=null,Iu.unobserve(t),e&&(this.__addUpdatePositionEventListeners(),t.__overlay=this,Iu.observe(t))),e){const e=getComputedStyle(this);this.__margins||(this.__margins={},["top","bottom","left","right"].forEach((t=>{this.__margins[t]=parseInt(e[t],10)}))),this.setAttribute("dir",e.direction),this._updatePosition(),
9696
+ /** @private */__overlayOpenedChanged(e,t){if(this.__removeUpdatePositionEventListeners(),t&&(t.__overlay=null,Lu.unobserve(t),e&&(this.__addUpdatePositionEventListeners(),t.__overlay=this,Lu.observe(t))),e){const e=getComputedStyle(this);this.__margins||(this.__margins={},["top","bottom","left","right"].forEach((t=>{this.__margins[t]=parseInt(e[t],10)}))),this.setAttribute("dir",e.direction),this._updatePosition(),
9697
9697
  // Schedule another position update (to cover virtual keyboard opening for example)
9698
9698
  requestAnimationFrame((()=>this._updatePosition()))}}__positionSettingsChanged(){this._updatePosition()}
9699
9699
  /** @private */__onScroll(e){
@@ -9830,7 +9830,7 @@ ri("vaadin-date-picker-overlay",[eo`
9830
9830
  * @mixes ThemableMixin
9831
9831
  * @private
9832
9832
  */
9833
- class Hu extends(Lu(Bu(Ma(li(Ta))))){static get is(){return"vaadin-date-picker-overlay"}static get template(){return Ea`
9833
+ class Hu extends(Iu(Bu(Ma(li(Ta))))){static get is(){return"vaadin-date-picker-overlay"}static get template(){return Ea`
9834
9834
  <div id="backdrop" part="backdrop" hidden$="[[!withBackdrop]]"></div>
9835
9835
  <div part="overlay" id="overlay">
9836
9836
  <div part="content" id="content">
@@ -11653,7 +11653,7 @@ ri("vaadin-date-picker-overlay-content",eo`
11653
11653
  * @extends HTMLElement
11654
11654
  * @private
11655
11655
  */
11656
- class Cc extends(wc(La(li(Ma(Ta))))){static get template(){return Ea`
11656
+ class Cc extends(wc(Ia(li(Ma(Ta))))){static get template(){return Ea`
11657
11657
  <div part="overlay-header" on-touchend="_preventDefault" aria-hidden="true">
11658
11658
  <div part="label">[[_formatDisplayed(selectedDate, i18n, label)]]</div>
11659
11659
  <div part="clear-button" hidden$="[[!selectedDate]]"></div>
@@ -12260,7 +12260,7 @@ const t=!this.nodes||e===this.nodes[0];e.nodeType!==Node.ELEMENT_NODE||this.mult
12260
12260
  */
12261
12261
  /**
12262
12262
  * A controller that manages the error message node content.
12263
- */class Ic extends Nc{constructor(e){super(e,"error-message","div")}
12263
+ */class Lc extends Nc{constructor(e){super(e,"error-message","div")}
12264
12264
  /**
12265
12265
  * Set the error message element text content.
12266
12266
  *
@@ -12329,7 +12329,7 @@ super.updateDefaultNode(e)}}
12329
12329
  */
12330
12330
  /**
12331
12331
  * A controller that manages the helper node content.
12332
- */class Lc extends Nc{constructor(e){
12332
+ */class Ic extends Nc{constructor(e){
12333
12333
  // Do not provide tag name, as we create helper lazily.
12334
12334
  super(e,"helper",null)}
12335
12335
  /**
@@ -12425,7 +12425,7 @@ super.initCustomNode(e),this.observeNode(e)}}
12425
12425
  *
12426
12426
  * @polymerMixin
12427
12427
  * @mixes ControllerMixin
12428
- */const Fc=Ni((e=>class extends(La(e)){static get properties(){return{
12428
+ */const Fc=Ni((e=>class extends(Ia(e)){static get properties(){return{
12429
12429
  /**
12430
12430
  * The label text for the input node.
12431
12431
  * When no light dom defined via [slot=label], this value will be used.
@@ -12472,7 +12472,7 @@ required:{type:Boolean,reflectToAttribute:!0}}}
12472
12472
  * @event validated
12473
12473
  * @param {Object} detail
12474
12474
  * @param {boolean} detail.valid the result of the validation.
12475
- */})),$c=e=>class extends(Rc(Fc(La(e)))){static get properties(){return{
12475
+ */})),$c=e=>class extends(Rc(Fc(Ia(e)))){static get properties(){return{
12476
12476
  /**
12477
12477
  * A target element to which ARIA attributes are set.
12478
12478
  * @protected
@@ -12498,7 +12498,7 @@ accessibleName:{type:String,observer:"_accessibleNameChanged"},
12498
12498
  * Id of the element used as label of the component to screen reader users.
12499
12499
  * @attr {string} accessible-name-ref
12500
12500
  */
12501
- accessibleNameRef:{type:String,observer:"_accessibleNameRefChanged"}}}static get observers(){return["_invalidChanged(invalid)","_requiredChanged(required)"]}constructor(){super(),this._fieldAriaController=new Oc(this),this._helperController=new Lc(this),this._errorController=new Ic(this),this._errorController.addEventListener("slot-content-changed",(e=>{this.toggleAttribute("has-error-message",e.detail.hasContent)})),this._labelController.addEventListener("slot-content-changed",(e=>{const{hasContent:t,node:n}=e.detail;this.__labelChanged(t,n)})),this._helperController.addEventListener("slot-content-changed",(e=>{const{hasContent:t,node:n}=e.detail;this.toggleAttribute("has-helper",t),this.__helperChanged(t,n)}))}
12501
+ accessibleNameRef:{type:String,observer:"_accessibleNameRefChanged"}}}static get observers(){return["_invalidChanged(invalid)","_requiredChanged(required)"]}constructor(){super(),this._fieldAriaController=new Oc(this),this._helperController=new Ic(this),this._errorController=new Lc(this),this._errorController.addEventListener("slot-content-changed",(e=>{this.toggleAttribute("has-error-message",e.detail.hasContent)})),this._labelController.addEventListener("slot-content-changed",(e=>{const{hasContent:t,node:n}=e.detail;this.__labelChanged(t,n)})),this._helperController.addEventListener("slot-content-changed",(e=>{const{hasContent:t,node:n}=e.detail;this.toggleAttribute("has-helper",t),this.__helperChanged(t,n)}))}
12502
12502
  /**
12503
12503
  * @protected
12504
12504
  * @return {HTMLElement}
@@ -12889,7 +12889,7 @@ e.addEventListener("touchstart",(()=>this.__setVirtualKeyboardEnabled(!0)))}
12889
12889
  * @mixes KeyboardMixin
12890
12890
  * @mixes OverlayClassMixin
12891
12891
  * @param {function(new:HTMLElement)} subclass
12892
- */const Zc=e=>class extends(Gc(La(xc(Uc(Ul(e)))))){static get properties(){return{
12892
+ */const Zc=e=>class extends(Gc(Ia(xc(Uc(Ul(e)))))){static get properties(){return{
12893
12893
  /**
12894
12894
  * The current selected date.
12895
12895
  * @type {Date | undefined}
@@ -13537,14 +13537,14 @@ function Xc(t){let n,r,o,i,s,a,l,u,c,d,m,v;return{c(){n=_("div"),r=g("svg"),o=g(
13537
13537
  function td(e,t,n){const r=e.slice();return r[77]=t[n],r[79]=n,r}function nd(e,t,n){const r=e.slice();return r[80]=t[n],r}function rd(e,t,n){const r=e.slice();return r[71]=t[n],r}function od(e,t,n){const r=e.slice();return r[74]=t[n],r}function id(e,t,n){const r=e.slice();return r[83]=t[n],r[85]=n,r}
13538
13538
  // (418:0) {#if bonus}
13539
13539
  function sd(e){let n,r,o,i,s,a,l,u,c,d,m,g,v,w,C=/*getProduct*/e[31](/*bonus*/e[3]).indexOf("Casino")>-1,x=/*getProduct*/e[31](/*bonus*/e[3]).indexOf("Sports")>-1,A=/*bonus*/(e[3].name||/*bonus*/e[3].presentation?.name.content)+"",T=C&&ad(e),S=x&&ld(e),P=[/*classWithPart*/e[34]("TitleIcon")],k={};for(let e=0;e<P.length;e+=1)k=t(k,P[e]);let M=[/*classWithPart*/e[34]("BonusCardRowTitle")],O={};for(let e=0;e<M.length;e+=1)O=t(O,M[e]);function N(e,t){/*status*/
13540
- return"active"===e[0]?cd:/*status*/"completed"===e[0]?ud:void 0}let I=N(e),L=I&&I(e),H=[/*classWithPart*/e[34]("BonusCardHeader")],F={};for(let e=0;e<H.length;e+=1)F=t(F,H[e]);let R=
13540
+ return"active"===e[0]?cd:/*status*/"completed"===e[0]?ud:void 0}let L=N(e),I=L&&L(e),H=[/*classWithPart*/e[34]("BonusCardHeader")],F={};for(let e=0;e<H.length;e+=1)F=t(F,H[e]);let R=
13541
13541
  // (466:4) {#if showDataSection}
13542
13542
  function(e){let n,r,o;function i(e,t){/*status*/
13543
13543
  return"claimable"===e[0]?hd:dd}let s=i(e),a=s(e),l=[/*classWithPart*/e[34]("BonusCardDataContent")],u={};for(let e=0;e<l.length;e+=1)u=t(u,l[e]);let c=/*status*/("active"===e[0]||/*status*/"completed"===e[0])&&Od(e),d=[/*classWithPart*/e[34]("BonusCardData")],m={};for(let e=0;e<d.length;e+=1)m=t(m,d[e]);return{c(){n=_("div"),r=_("div"),a.c(),o=b(),c&&c.c(),E(r,u),E(n,m)},m(e,t){p(e,n,t),h(n,r),a.m(r,null),h(n,o),c&&c.m(n,null)},p(e,t){s===(s=i(e))&&a?a.p(e,t):(a.d(1),a=s(e),a&&(a.c(),a.m(r,null))),/*status*/"active"===e[0]||/*status*/"completed"===e[0]?c?c.p(e,t):(c=Od(e),c.c(),c.m(n,null)):c&&(c.d(1),c=null)},d(e){e&&f(n),a.d(),c&&c.d()}}}
13544
13544
  // (492:10) {:else}
13545
13545
  (e),$=/*showAdditionalSection*/e[8]&&Fd(e);function Y(e,t){/*showTerms*/
13546
- return e[12]?Kd:Zd}let U=Y(e),z=U(e),W=[/*classWithPart*/e[34]("BonusCardFooter")],V={};for(let e=0;e<W.length;e+=1)V=t(V,W[e]);let j=[/*classWithPart*/e[34]("BonusCardInfo")],G={};for(let e=0;e<j.length;e+=1)G=t(G,j[e]);let q=/*showActionSection*/e[7]&&eh(e),Z=[/*classWithPart*/e[34]("BonusCard")],K={};for(let e=0;e<Z.length;e+=1)K=t(K,Z[e]);return{c(){n=_("div"),r=_("div"),o=_("div"),i=_("p"),s=_("span"),T&&T.c(),a=b(),S&&S.c(),l=b(),u=y(A),c=b(),L&&L.c(),d=b(),R&&R.c(),m=b(),g=_("div"),$&&$.c(),v=b(),z.c(),w=b(),q&&q.c(),E(s,k),E(i,O),E(o,F),E(g,V),B(g,"Active",/*showAdditionalSectionContent*/e[9]||/*showTermsSectionContent*/e[10]),E(r,G),E(n,K)},m(t,f){p(t,n,f),h(n,r),h(r,o),h(o,i),h(i,s),T&&T.m(s,null),h(s,a),S&&S.m(s,null),h(i,l),h(i,u),h(o,c),L&&L.m(o,null),h(r,d),R&&R.m(r,null),h(r,m),h(r,g),$&&$.m(g,null),h(g,v),z.m(g,null),h(n,w),q&&q.m(n,null)
13547
- /*div3_binding*/,e[52](n)},p(e,t){/*bonus*/8&t[0]&&(C=/*getProduct*/e[31](/*bonus*/e[3]).indexOf("Casino")>-1),C?T?T.p(e,t):(T=ad(e),T.c(),T.m(s,a)):T&&(T.d(1),T=null),/*bonus*/8&t[0]&&(x=/*getProduct*/e[31](/*bonus*/e[3]).indexOf("Sports")>-1),x?S?S.p(e,t):(S=ld(e),S.c(),S.m(s,null)):S&&(S.d(1),S=null),/*bonus*/8&t[0]&&A!==(A=/*bonus*/(e[3].name||/*bonus*/e[3].presentation?.name.content)+"")&&D(u,A,O.contenteditable),I===(I=N(e))&&L?L.p(e,t):(L&&L.d(1),L=I&&I(e),L&&(L.c(),L.m(o,null))),R.p(e,t),/*showAdditionalSection*/e[8]?$?$.p(e,t):($=Fd(e),$.c(),$.m(g,v)):$&&($.d(1),$=null),U===(U=Y(e))&&z?z.p(e,t):(z.d(1),z=U(e),z&&(z.c(),z.m(g,null))),/*showAdditionalSectionContent, showTermsSectionContent*/1536&t[0]&&B(g,"Active",/*showAdditionalSectionContent*/e[9]||/*showTermsSectionContent*/e[10]),/*showActionSection*/e[7]?q?q.p(e,t):(q=eh(e),q.c(),q.m(n,null)):q&&(q.d(1),q=null)},d(t){t&&f(n),T&&T.d(),S&&S.d(),L&&L.d(),R&&R.d(),$&&$.d(),z.d(),q&&q.d()
13546
+ return e[12]?Kd:Zd}let U=Y(e),z=U(e),W=[/*classWithPart*/e[34]("BonusCardFooter")],V={};for(let e=0;e<W.length;e+=1)V=t(V,W[e]);let j=[/*classWithPart*/e[34]("BonusCardInfo")],G={};for(let e=0;e<j.length;e+=1)G=t(G,j[e]);let q=/*showActionSection*/e[7]&&eh(e),Z=[/*classWithPart*/e[34]("BonusCard")],K={};for(let e=0;e<Z.length;e+=1)K=t(K,Z[e]);return{c(){n=_("div"),r=_("div"),o=_("div"),i=_("p"),s=_("span"),T&&T.c(),a=b(),S&&S.c(),l=b(),u=y(A),c=b(),I&&I.c(),d=b(),R&&R.c(),m=b(),g=_("div"),$&&$.c(),v=b(),z.c(),w=b(),q&&q.c(),E(s,k),E(i,O),E(o,F),E(g,V),B(g,"Active",/*showAdditionalSectionContent*/e[9]||/*showTermsSectionContent*/e[10]),E(r,G),E(n,K)},m(t,f){p(t,n,f),h(n,r),h(r,o),h(o,i),h(i,s),T&&T.m(s,null),h(s,a),S&&S.m(s,null),h(i,l),h(i,u),h(o,c),I&&I.m(o,null),h(r,d),R&&R.m(r,null),h(r,m),h(r,g),$&&$.m(g,null),h(g,v),z.m(g,null),h(n,w),q&&q.m(n,null)
13547
+ /*div3_binding*/,e[52](n)},p(e,t){/*bonus*/8&t[0]&&(C=/*getProduct*/e[31](/*bonus*/e[3]).indexOf("Casino")>-1),C?T?T.p(e,t):(T=ad(e),T.c(),T.m(s,a)):T&&(T.d(1),T=null),/*bonus*/8&t[0]&&(x=/*getProduct*/e[31](/*bonus*/e[3]).indexOf("Sports")>-1),x?S?S.p(e,t):(S=ld(e),S.c(),S.m(s,null)):S&&(S.d(1),S=null),/*bonus*/8&t[0]&&A!==(A=/*bonus*/(e[3].name||/*bonus*/e[3].presentation?.name.content)+"")&&D(u,A,O.contenteditable),L===(L=N(e))&&I?I.p(e,t):(I&&I.d(1),I=L&&L(e),I&&(I.c(),I.m(o,null))),R.p(e,t),/*showAdditionalSection*/e[8]?$?$.p(e,t):($=Fd(e),$.c(),$.m(g,v)):$&&($.d(1),$=null),U===(U=Y(e))&&z?z.p(e,t):(z.d(1),z=U(e),z&&(z.c(),z.m(g,null))),/*showAdditionalSectionContent, showTermsSectionContent*/1536&t[0]&&B(g,"Active",/*showAdditionalSectionContent*/e[9]||/*showTermsSectionContent*/e[10]),/*showActionSection*/e[7]?q?q.p(e,t):(q=eh(e),q.c(),q.m(n,null)):q&&(q.d(1),q=null)},d(t){t&&f(n),T&&T.d(),S&&S.d(),I&&I.d(),R&&R.d(),$&&$.d(),z.d(),q&&q.d()
13548
13548
  /*div3_binding*/,e[52](null)}}}
13549
13549
  // (424:10) {#if getProduct(bonus).indexOf('Casino') > -1}
13550
13550
  function ad(n){let r,o,i,s,a,l,u,c,d,m,_,y,b,v=[/*classWithPart*/n[34]("CasinoIcon"),{viewBox:"0 0 41 41"}],w={};for(let e=0;e<v.length;e+=1)w=t(w,v[e]);return{c(){r=g("svg"),o=g("path"),i=g("path"),s=g("path"),a=g("path"),l=g("path"),u=g("path"),c=g("path"),d=g("path"),m=g("path"),_=g("path"),y=g("circle"),b=g("circle"),C(o,"d","M21.2942 0V5.23421C24.916 5.42484 28.1964 6.86246 30.7301 9.14994L34.4393 5.44072C30.9525 2.22394 26.3616 0.190624 21.2942 0Z"),C(o,"fill","black"),C(i,"d","M30.7301 31.8501C28.2043 34.1296 24.916 35.5752 21.2942 35.7658V41C26.3616 40.8094 30.9525 38.7761 34.4313 35.5593L30.7221 31.8501H30.7301Z"),C(i,"fill","black"),C(s,"d","M35.7658 21.2943C35.5752 24.9162 34.1376 28.1965 31.8501 30.7302L35.5593 34.4394C38.7761 30.9605 40.8094 26.3697 41 21.3023H35.7658V21.2943Z"),C(s,"fill","black"),C(a,"d","M19.7056 35.7658C16.0838 35.5752 12.8035 34.1376 10.2698 31.8501L6.56055 35.5593C10.0394 38.7761 14.6382 40.8094 19.6977 41V35.7658H19.7056Z"),C(a,"fill","black"),C(l,"d","M31.8501 10.2698C34.1296 12.7955 35.5752 16.0838 35.7658 19.7056H41C40.8094 14.6382 38.7761 10.0474 35.5593 6.56848L31.8501 10.2777V10.2698Z"),C(l,"fill","black"),C(u,"d","M19.7058 0C14.6383 0.190624 10.0395 2.22394 6.5686 5.44072L10.2778 9.14994C12.8036 6.8704 16.0918 5.42484 19.7137 5.23421V0H19.7058Z"),C(u,"fill","black"),C(c,"d","M9.14994 30.7302C6.8704 28.2044 5.42484 24.9162 5.23421 21.2943H0C0.190624 26.3617 2.22394 30.9526 5.44072 34.4315L9.14994 30.7222V30.7302Z"),C(c,"fill","black"),C(d,"d","M5.23421 19.7058C5.42484 16.0839 6.86246 12.8036 9.14994 10.2699L5.44072 6.56067C2.22394 10.0475 0.190624 14.6384 0 19.7058H5.23421Z"),C(d,"fill","black"),C(m,"fill-rule","evenodd"),C(m,"clip-rule","evenodd"),C(m,"d","M20.5 31.825C26.7547 31.825 31.825 26.7547 31.825 20.5C31.825 14.2454 26.7547 9.17505 20.5 9.17505C14.2454 9.17505 9.17505 14.2454 9.17505 20.5C9.17505 26.7547 14.2454 31.825 20.5 31.825ZM20.5 33.825C27.8592 33.825 33.825 27.8592 33.825 20.5C33.825 13.1409 27.8592 7.17505 20.5 7.17505C13.1409 7.17505 7.17505 13.1409 7.17505 20.5C7.17505 27.8592 13.1409 33.825 20.5 33.825Z"),C(m,"fill","black"),C(_,"d","M21.6173 27.6413V28.7H19.3741V27.6413C17.3997 27.3092 16.3999 26.0428 16.3999 24.0707V23.0742H18.996V24.216C18.996 25.254 19.5421 25.6276 20.4159 25.6276C21.2897 25.6276 21.8358 25.254 21.8358 24.216C21.8442 21.2266 16.4755 21.0813 16.4755 16.9294C16.4755 14.978 17.4501 13.7325 19.3741 13.3795V12.3H21.6173V13.3795C23.5665 13.7117 24.5663 14.9573 24.5663 16.9294V17.3861H21.9702V16.7841C21.9702 15.7461 21.4745 15.3517 20.6007 15.3517C19.727 15.3517 19.2313 15.7461 19.2313 16.7841C19.2313 19.7735 24.5999 19.9188 24.5999 24.0707C24.5999 26.0428 23.5749 27.3092 21.6257 27.6413H21.6173Z"),C(_,"fill","black"),C(y,"cx","28.1874"),C(y,"cy","21.0125"),C(y,"r","1.5375"),C(y,"fill","black"),C(b,"cx","12.8124"),C(b,"cy","21.0125"),C(b,"r","1.5375"),C(b,"fill","black"),A(r,w)},m(e,t){p(e,r,t),h(r,o),h(r,i),h(r,s),h(r,a),h(r,l),h(r,u),h(r,c),h(r,d),h(r,m),h(r,_),h(r,y),h(r,b)},p:e,d(e){e&&f(r)}}}
@@ -13553,17 +13553,17 @@ function ld(n){let r,o,i,s,a,l,u=[/*classWithPart*/n[34]("SportsIcon"),{viewBox:
13553
13553
  // (462:39)
13554
13554
  function ud(e){let n,r,o=/*bonus*/e[3].status+"",i=[/*classWithPart*/e[34]("BonusCardTitleSub")],s={};for(let e=0;e<i.length;e+=1)s=t(s,i[e]);return{c(){n=_("p"),r=y(o),E(n,s)},m(e,t){p(e,n,t),h(n,r)},p(e,t){/*bonus*/8&t[0]&&o!==(o=/*bonus*/e[3].status+"")&&D(r,o,s.contenteditable)},d(e){e&&f(n)}}}
13555
13555
  // (455:6) {#if status === 'active'}
13556
- function cd(e){let n,r,o,i,s,a=[/*classWithPart*/e[34]("BonusCardTitleSub")],l={};for(let e=0;e<a.length;e+=1)l=t(l,a[e]);return{c(){n=_("span"),r=g("svg"),o=g("path"),i=b(),s=y(/*expiryTime*/e[16]),C(o,"d","M16 0H8V2.66667H16V0ZM10.6667 17.3333H13.3333V9.33333H10.6667V17.3333ZM21.3667 8.51333L23.2667 6.61333C22.6933 5.92667 22.0667 5.3 21.38 4.72667L19.48 6.62667C17.3568 4.92342 14.7153 3.99668 11.9933 4C5.36 4 0 9.37333 0 16C0 22.6267 5.36 28 11.9933 28C18.6267 28 24 22.6267 24 16C24 13.1667 23.0133 10.5667 21.3667 8.51333ZM12 25.3333C6.84667 25.3333 2.66667 21.1533 2.66667 16C2.66667 10.8467 6.84667 6.66667 12 6.66667C17.1533 6.66667 21.3333 10.8467 21.3333 16C21.3333 21.1533 17.1533 25.3333 12 25.3333Z"),C(o,"fill","#6D6D6D"),C(r,"width","24"),C(r,"height","28"),C(r,"viewBox","0 0 24 28"),C(r,"fill","none"),C(r,"xmlns","http://www.w3.org/2000/svg"),E(n,l)},m(e,t){p(e,n,t),h(n,r),h(r,o),h(n,i),h(n,s)},p(e,t){/*expiryTime*/65536&t[0]&&D(s,/*expiryTime*/e[16],l.contenteditable)},d(e){e&&f(n)}}}function dd(e){let n,r,o,i,s,a,l,u,c,d,m,g,w,C,x,A,T,S,P,k,M=/*$_*/e[23]("bonusCard.bonusStatus")+"",O=/*$_*/e[23]("bonusCard.bonusType")+"",N=/*$_*/e[23](`bonusType.${/*bonus*/e[3].type}`)+"",I=[/*classWithPart*/e[34]("BonusCardLabel")],L={};for(let e=0;e<I.length;e+=1)L=t(L,I[e]);function H(e,t){/*status*/
13557
- return"active"===e[0]?fd:pd}let F=H(e),R=F(e),$=[/*classWithPart*/e[34]("BonusCardRowText")],Y={};for(let e=0;e<$.length;e+=1)Y=t(Y,$[e]);let U=[/*classWithPart*/e[34]("BonusCardRow")],z={};for(let e=0;e<U.length;e+=1)z=t(z,U[e]);let W=[/*classWithPart*/e[34]("BonusCardLabel")],V={};for(let e=0;e<W.length;e+=1)V=t(V,W[e]);let j=[/*classWithPart*/e[34]("BonusCardRowText","Type")],G={};for(let e=0;e<j.length;e+=1)G=t(G,j[e]);let q=[/*classWithPart*/e[34]("BonusCardRow")],Z={};for(let e=0;e<q.length;e+=1)Z=t(Z,q[e]);let K=/*bonus*/"standard"===e[3].type&&md(e),X=/*bonus*/"freeBet"===e[3].type&&yd(e),J=/*bonus*/"freeRound"===e[3].type&&bd(e),Q=/*bonus*/"wagering"===e[3].type&&Cd(e),ee=/*bonus*/e[3].endTime&&/*status*/"active"===e[0]&&/*bonus*/"wagering"!==e[3].type&&Dd(e);return{c(){n=_("p"),r=_("span"),o=y(M),i=y(":"),s=b(),a=_("span"),R.c(),l=b(),u=_("p"),c=_("span"),d=y(O),m=y(":"),g=b(),w=_("span"),C=y(N),x=b(),K&&K.c(),A=b(),X&&X.c(),T=b(),J&&J.c(),S=b(),Q&&Q.c(),P=b(),ee&&ee.c(),k=v(),E(r,L),E(a,Y),B(a,"StatusActive",/*status*/"active"===e[0]),B(a,"StatusCompleted",/*status*/"completed"===e[0]),B(a,"StatusClaimable",/*status*/"claimable"===e[0]),E(n,z),E(c,V),E(w,G),E(u,Z)},m(e,t){p(e,n,t),h(n,r),h(r,o),h(r,i),h(n,s),h(n,a),R.m(a,null),p(e,l,t),p(e,u,t),h(u,c),h(c,d),h(c,m),h(u,g),h(u,w),h(w,C),p(e,x,t),K&&K.m(e,t),p(e,A,t),X&&X.m(e,t),p(e,T,t),J&&J.m(e,t),p(e,S,t),Q&&Q.m(e,t),p(e,P,t),ee&&ee.m(e,t),p(e,k,t)},p(e,t){/*$_*/8388608&t[0]&&M!==(M=/*$_*/e[23]("bonusCard.bonusStatus")+"")&&D(o,M,L.contenteditable),F===(F=H(e))&&R?R.p(e,t):(R.d(1),R=F(e),R&&(R.c(),R.m(a,null))),/*status*/1&t[0]&&B(a,"StatusActive",/*status*/"active"===e[0]),/*status*/1&t[0]&&B(a,"StatusCompleted",/*status*/"completed"===e[0]),/*status*/1&t[0]&&B(a,"StatusClaimable",/*status*/"claimable"===e[0]),/*$_*/8388608&t[0]&&O!==(O=/*$_*/e[23]("bonusCard.bonusType")+"")&&D(d,O,V.contenteditable),/*$_, bonus*/8388616&t[0]&&N!==(N=/*$_*/e[23](`bonusType.${/*bonus*/e[3].type}`)+"")&&D(C,N,G.contenteditable),/*bonus*/"standard"===e[3].type?K?K.p(e,t):(K=md(e),K.c(),K.m(A.parentNode,A)):K&&(K.d(1),K=null),/*bonus*/"freeBet"===e[3].type?X?X.p(e,t):(X=yd(e),X.c(),X.m(T.parentNode,T)):X&&(X.d(1),X=null),/*bonus*/"freeRound"===e[3].type?J?J.p(e,t):(J=bd(e),J.c(),J.m(S.parentNode,S)):J&&(J.d(1),J=null),/*bonus*/"wagering"===e[3].type?Q?Q.p(e,t):(Q=Cd(e),Q.c(),Q.m(P.parentNode,P)):Q&&(Q.d(1),Q=null),/*bonus*/e[3].endTime&&/*status*/"active"===e[0]&&/*bonus*/"wagering"!==e[3].type?ee?ee.p(e,t):(ee=Dd(e),ee.c(),ee.m(k.parentNode,k)):ee&&(ee.d(1),ee=null)},d(e){e&&f(n),R.d(),e&&f(l),e&&f(u),e&&f(x),K&&K.d(e),e&&f(A),X&&X.d(e),e&&f(T),J&&J.d(e),e&&f(S),Q&&Q.d(e),e&&f(P),ee&&ee.d(e),e&&f(k)}}}
13556
+ function cd(e){let n,r,o,i,s,a=[/*classWithPart*/e[34]("BonusCardTitleSub")],l={};for(let e=0;e<a.length;e+=1)l=t(l,a[e]);return{c(){n=_("span"),r=g("svg"),o=g("path"),i=b(),s=y(/*expiryTime*/e[16]),C(o,"d","M16 0H8V2.66667H16V0ZM10.6667 17.3333H13.3333V9.33333H10.6667V17.3333ZM21.3667 8.51333L23.2667 6.61333C22.6933 5.92667 22.0667 5.3 21.38 4.72667L19.48 6.62667C17.3568 4.92342 14.7153 3.99668 11.9933 4C5.36 4 0 9.37333 0 16C0 22.6267 5.36 28 11.9933 28C18.6267 28 24 22.6267 24 16C24 13.1667 23.0133 10.5667 21.3667 8.51333ZM12 25.3333C6.84667 25.3333 2.66667 21.1533 2.66667 16C2.66667 10.8467 6.84667 6.66667 12 6.66667C17.1533 6.66667 21.3333 10.8467 21.3333 16C21.3333 21.1533 17.1533 25.3333 12 25.3333Z"),C(o,"fill","#6D6D6D"),C(r,"width","24"),C(r,"height","28"),C(r,"viewBox","0 0 24 28"),C(r,"fill","none"),C(r,"xmlns","http://www.w3.org/2000/svg"),E(n,l)},m(e,t){p(e,n,t),h(n,r),h(r,o),h(n,i),h(n,s)},p(e,t){/*expiryTime*/65536&t[0]&&D(s,/*expiryTime*/e[16],l.contenteditable)},d(e){e&&f(n)}}}function dd(e){let n,r,o,i,s,a,l,u,c,d,m,g,w,C,x,A,T,S,P,k,M=/*$_*/e[23]("bonusCard.bonusStatus")+"",O=/*$_*/e[23]("bonusCard.bonusType")+"",N=/*$_*/e[23](`bonusType.${/*bonus*/e[3].type}`)+"",L=[/*classWithPart*/e[34]("BonusCardLabel")],I={};for(let e=0;e<L.length;e+=1)I=t(I,L[e]);function H(e,t){/*status*/
13557
+ return"active"===e[0]?fd:pd}let F=H(e),R=F(e),$=[/*classWithPart*/e[34]("BonusCardRowText")],Y={};for(let e=0;e<$.length;e+=1)Y=t(Y,$[e]);let U=[/*classWithPart*/e[34]("BonusCardRow")],z={};for(let e=0;e<U.length;e+=1)z=t(z,U[e]);let W=[/*classWithPart*/e[34]("BonusCardLabel")],V={};for(let e=0;e<W.length;e+=1)V=t(V,W[e]);let j=[/*classWithPart*/e[34]("BonusCardRowText","Type")],G={};for(let e=0;e<j.length;e+=1)G=t(G,j[e]);let q=[/*classWithPart*/e[34]("BonusCardRow")],Z={};for(let e=0;e<q.length;e+=1)Z=t(Z,q[e]);let K=/*bonus*/"standard"===e[3].type&&md(e),X=/*bonus*/"freeBet"===e[3].type&&yd(e),J=/*bonus*/"freeRound"===e[3].type&&bd(e),Q=/*bonus*/"wagering"===e[3].type&&Cd(e),ee=/*bonus*/e[3].endTime&&/*status*/"active"===e[0]&&/*bonus*/"wagering"!==e[3].type&&Dd(e);return{c(){n=_("p"),r=_("span"),o=y(M),i=y(":"),s=b(),a=_("span"),R.c(),l=b(),u=_("p"),c=_("span"),d=y(O),m=y(":"),g=b(),w=_("span"),C=y(N),x=b(),K&&K.c(),A=b(),X&&X.c(),T=b(),J&&J.c(),S=b(),Q&&Q.c(),P=b(),ee&&ee.c(),k=v(),E(r,I),E(a,Y),B(a,"StatusActive",/*status*/"active"===e[0]),B(a,"StatusCompleted",/*status*/"completed"===e[0]),B(a,"StatusClaimable",/*status*/"claimable"===e[0]),E(n,z),E(c,V),E(w,G),E(u,Z)},m(e,t){p(e,n,t),h(n,r),h(r,o),h(r,i),h(n,s),h(n,a),R.m(a,null),p(e,l,t),p(e,u,t),h(u,c),h(c,d),h(c,m),h(u,g),h(u,w),h(w,C),p(e,x,t),K&&K.m(e,t),p(e,A,t),X&&X.m(e,t),p(e,T,t),J&&J.m(e,t),p(e,S,t),Q&&Q.m(e,t),p(e,P,t),ee&&ee.m(e,t),p(e,k,t)},p(e,t){/*$_*/8388608&t[0]&&M!==(M=/*$_*/e[23]("bonusCard.bonusStatus")+"")&&D(o,M,I.contenteditable),F===(F=H(e))&&R?R.p(e,t):(R.d(1),R=F(e),R&&(R.c(),R.m(a,null))),/*status*/1&t[0]&&B(a,"StatusActive",/*status*/"active"===e[0]),/*status*/1&t[0]&&B(a,"StatusCompleted",/*status*/"completed"===e[0]),/*status*/1&t[0]&&B(a,"StatusClaimable",/*status*/"claimable"===e[0]),/*$_*/8388608&t[0]&&O!==(O=/*$_*/e[23]("bonusCard.bonusType")+"")&&D(d,O,V.contenteditable),/*$_, bonus*/8388616&t[0]&&N!==(N=/*$_*/e[23](`bonusType.${/*bonus*/e[3].type}`)+"")&&D(C,N,G.contenteditable),/*bonus*/"standard"===e[3].type?K?K.p(e,t):(K=md(e),K.c(),K.m(A.parentNode,A)):K&&(K.d(1),K=null),/*bonus*/"freeBet"===e[3].type?X?X.p(e,t):(X=yd(e),X.c(),X.m(T.parentNode,T)):X&&(X.d(1),X=null),/*bonus*/"freeRound"===e[3].type?J?J.p(e,t):(J=bd(e),J.c(),J.m(S.parentNode,S)):J&&(J.d(1),J=null),/*bonus*/"wagering"===e[3].type?Q?Q.p(e,t):(Q=Cd(e),Q.c(),Q.m(P.parentNode,P)):Q&&(Q.d(1),Q=null),/*bonus*/e[3].endTime&&/*status*/"active"===e[0]&&/*bonus*/"wagering"!==e[3].type?ee?ee.p(e,t):(ee=Dd(e),ee.c(),ee.m(k.parentNode,k)):ee&&(ee.d(1),ee=null)},d(e){e&&f(n),R.d(),e&&f(l),e&&f(u),e&&f(x),K&&K.d(e),e&&f(A),X&&X.d(e),e&&f(T),J&&J.d(e),e&&f(S),Q&&Q.d(e),e&&f(P),ee&&ee.d(e),e&&f(k)}}}
13558
13558
  // (469:10) {#if status === 'claimable'}
13559
- function hd(e){let n,r,o,i,s,a,l,u,c,d,m,g,v,w,C,x,A=/*$_*/e[23]("bonusCard.bonusType")+"",T=/*$_*/e[23](`bonusType.${/*bonus*/e[3].type}`)+"",S=/*$_*/e[23]("bonusCard.validity")+"",P=/*getValidity*/e[30](/*bonus*/e[3])+"",k=[/*classWithPart*/e[34]("BonusCardLabel")],M={};for(let e=0;e<k.length;e+=1)M=t(M,k[e]);let B=[/*classWithPart*/e[34]("BonusCardRowText","Type")],O={};for(let e=0;e<B.length;e+=1)O=t(O,B[e]);let N=[/*classWithPart*/e[34]("BonusCardRow")],I={};for(let e=0;e<N.length;e+=1)I=t(I,N[e]);let L=/*bonus*/"wagering"===e[3].type&&kd(e),H=[/*classWithPart*/e[34]("BonusCardLabel")],F={};for(let e=0;e<H.length;e+=1)F=t(F,H[e]);let R=[/*classWithPart*/e[34]("BonusCardRowText")],$={};for(let e=0;e<R.length;e+=1)$=t($,R[e]);let Y=[/*classWithPart*/e[34]("BonusCardRow")],U={};for(let e=0;e<Y.length;e+=1)U=t(U,Y[e]);return{c(){n=_("p"),r=_("span"),o=y(A),i=y(":"),s=b(),a=_("span"),l=y(T),u=b(),L&&L.c(),c=b(),d=_("p"),m=_("span"),g=y(S),v=y(":"),w=b(),C=_("span"),x=y(P),E(r,M),E(a,O),E(n,I),E(m,F),E(C,$),E(d,U)},m(e,t){p(e,n,t),h(n,r),h(r,o),h(r,i),h(n,s),h(n,a),h(a,l),p(e,u,t),L&&L.m(e,t),p(e,c,t),p(e,d,t),h(d,m),h(m,g),h(m,v),h(d,w),h(d,C),h(C,x)},p(e,t){/*$_*/8388608&t[0]&&A!==(A=/*$_*/e[23]("bonusCard.bonusType")+"")&&D(o,A,M.contenteditable),/*$_, bonus*/8388616&t[0]&&T!==(T=/*$_*/e[23](`bonusType.${/*bonus*/e[3].type}`)+"")&&D(l,T,O.contenteditable),/*bonus*/"wagering"===e[3].type?L?L.p(e,t):(L=kd(e),L.c(),L.m(c.parentNode,c)):L&&(L.d(1),L=null),/*$_*/8388608&t[0]&&S!==(S=/*$_*/e[23]("bonusCard.validity")+"")&&D(g,S,F.contenteditable),/*bonus*/8&t[0]&&P!==(P=/*getValidity*/e[30](/*bonus*/e[3])+"")&&D(x,P,$.contenteditable)},d(e){e&&f(n),e&&f(u),L&&L.d(e),e&&f(c),e&&f(d)}}}
13559
+ function hd(e){let n,r,o,i,s,a,l,u,c,d,m,g,v,w,C,x,A=/*$_*/e[23]("bonusCard.bonusType")+"",T=/*$_*/e[23](`bonusType.${/*bonus*/e[3].type}`)+"",S=/*$_*/e[23]("bonusCard.validity")+"",P=/*getValidity*/e[30](/*bonus*/e[3])+"",k=[/*classWithPart*/e[34]("BonusCardLabel")],M={};for(let e=0;e<k.length;e+=1)M=t(M,k[e]);let B=[/*classWithPart*/e[34]("BonusCardRowText","Type")],O={};for(let e=0;e<B.length;e+=1)O=t(O,B[e]);let N=[/*classWithPart*/e[34]("BonusCardRow")],L={};for(let e=0;e<N.length;e+=1)L=t(L,N[e]);let I=/*bonus*/"wagering"===e[3].type&&kd(e),H=[/*classWithPart*/e[34]("BonusCardLabel")],F={};for(let e=0;e<H.length;e+=1)F=t(F,H[e]);let R=[/*classWithPart*/e[34]("BonusCardRowText")],$={};for(let e=0;e<R.length;e+=1)$=t($,R[e]);let Y=[/*classWithPart*/e[34]("BonusCardRow")],U={};for(let e=0;e<Y.length;e+=1)U=t(U,Y[e]);return{c(){n=_("p"),r=_("span"),o=y(A),i=y(":"),s=b(),a=_("span"),l=y(T),u=b(),I&&I.c(),c=b(),d=_("p"),m=_("span"),g=y(S),v=y(":"),w=b(),C=_("span"),x=y(P),E(r,M),E(a,O),E(n,L),E(m,F),E(C,$),E(d,U)},m(e,t){p(e,n,t),h(n,r),h(r,o),h(r,i),h(n,s),h(n,a),h(a,l),p(e,u,t),I&&I.m(e,t),p(e,c,t),p(e,d,t),h(d,m),h(m,g),h(m,v),h(d,w),h(d,C),h(C,x)},p(e,t){/*$_*/8388608&t[0]&&A!==(A=/*$_*/e[23]("bonusCard.bonusType")+"")&&D(o,A,M.contenteditable),/*$_, bonus*/8388616&t[0]&&T!==(T=/*$_*/e[23](`bonusType.${/*bonus*/e[3].type}`)+"")&&D(l,T,O.contenteditable),/*bonus*/"wagering"===e[3].type?I?I.p(e,t):(I=kd(e),I.c(),I.m(c.parentNode,c)):I&&(I.d(1),I=null),/*$_*/8388608&t[0]&&S!==(S=/*$_*/e[23]("bonusCard.validity")+"")&&D(g,S,F.contenteditable),/*bonus*/8&t[0]&&P!==(P=/*getValidity*/e[30](/*bonus*/e[3])+"")&&D(x,P,$.contenteditable)},d(e){e&&f(n),e&&f(u),I&&I.d(e),e&&f(c),e&&f(d)}}}
13560
13560
  // (501:16) {:else}
13561
13561
  function pd(e){let t,n=/*bonus*/e[3].status+"";return{c(){t=y(n)},m(e,n){p(e,t,n)},p(e,r){/*bonus*/8&r[0]&&n!==(n=/*bonus*/e[3].status+"")&&P(t,n)},d(e){e&&f(t)}}}
13562
13562
  // (499:16) {#if status === 'active'}
13563
13563
  function fd(e){let t;return{c(){t=y(/*status*/e[0])},m(e,n){p(e,t,n)},p(e,n){/*status*/1&n[0]&&P(t,/*status*/e[0])},d(e){e&&f(t)}}}
13564
13564
  // (510:12) {#if bonus.type === 'standard'}
13565
- function md(e){let n,r,o,i,s,a,l,u,c,d,m,g,v,w,C,x,A,T,S,k,M,O,N=/*$_*/e[23]("bonusCard.bonusAmount")+"",I=/*bonus*/e[3].remainingAmount+"",L=/*bonus*/e[3].amount+"",H=/*$_*/e[23]("bonusCard.wageredAmount")+"",F=/*getWagered*/e[26](/*bonus*/e[3])+/*currencySymbol*/e[15]+"",R=[/*classWithPart*/e[34]("BonusCardLabel")],$={};for(let e=0;e<R.length;e+=1)$=t($,R[e]);let Y=[/*classWithPart*/e[34]("BonusCardRowText")],U={};for(let e=0;e<Y.length;e+=1)U=t(U,Y[e]);let z=[/*classWithPart*/e[34]("BonusCardRow")],W={};for(let e=0;e<z.length;e+=1)W=t(W,z[e]);let V=[/*classWithPart*/e[34]("BonusCardLabel")],j={};for(let e=0;e<V.length;e+=1)j=t(j,V[e]);function G(e,t){/*bonus*/
13566
- return e[3].initialWagerRequirementAmount>=2147483647?gd:_d}let q=G(e),Z=q(e),K=[/*classWithPart*/e[34]("BonusCardRowText")],X={};for(let e=0;e<K.length;e+=1)X=t(X,K[e]);let J=[/*classWithPart*/e[34]("BonusCardRow")],Q={};for(let e=0;e<J.length;e+=1)Q=t(Q,J[e]);return{c(){n=_("p"),r=_("span"),o=y(N),i=y(":"),s=b(),a=_("span"),l=_("span"),u=y(I),c=y(/*currencySymbol*/e[15]),d=y(" /\n "),m=_("span"),g=y(L),v=y(/*currencySymbol*/e[15]),w=b(),C=_("p"),x=_("span"),A=y(H),T=y(":"),S=b(),k=_("span"),M=y(F),O=y(" /\n "),Z.c(),E(r,$),B(l,"BonusAmount",/*status*/"active"===e[0]),B(m,"Amount",/*status*/"active"===e[0]),E(a,U),E(n,W),E(x,j),E(k,X),E(C,Q)},m(e,t){p(e,n,t),h(n,r),h(r,o),h(r,i),h(n,s),h(n,a),h(a,l),h(l,u),h(l,c),h(a,d),h(a,m),h(m,g),h(m,v),p(e,w,t),p(e,C,t),h(C,x),h(x,A),h(x,T),h(C,S),h(C,k),h(k,M),h(k,O),Z.m(k,null)},p(e,t){/*$_*/8388608&t[0]&&N!==(N=/*$_*/e[23]("bonusCard.bonusAmount")+"")&&D(o,N,$.contenteditable),/*bonus*/8&t[0]&&I!==(I=/*bonus*/e[3].remainingAmount+"")&&P(u,I),/*currencySymbol*/32768&t[0]&&P(c,/*currencySymbol*/e[15]),/*status*/1&t[0]&&B(l,"BonusAmount",/*status*/"active"===e[0]),/*bonus*/8&t[0]&&L!==(L=/*bonus*/e[3].amount+"")&&P(g,L),/*currencySymbol*/32768&t[0]&&P(v,/*currencySymbol*/e[15]),/*status*/1&t[0]&&B(m,"Amount",/*status*/"active"===e[0]),/*$_*/8388608&t[0]&&H!==(H=/*$_*/e[23]("bonusCard.wageredAmount")+"")&&D(A,H,j.contenteditable),/*bonus, currencySymbol*/32776&t[0]&&F!==(F=/*getWagered*/e[26](/*bonus*/e[3])+/*currencySymbol*/e[15]+"")&&D(M,F,X.contenteditable),q===(q=G(e))&&Z?Z.p(e,t):(Z.d(1),Z=q(e),Z&&(Z.c(),Z.m(k,null)))},d(e){e&&f(n),e&&f(w),e&&f(C),Z.d()}}}
13565
+ function md(e){let n,r,o,i,s,a,l,u,c,d,m,g,v,w,C,x,A,T,S,k,M,O,N=/*$_*/e[23]("bonusCard.bonusAmount")+"",L=/*bonus*/e[3].remainingAmount+"",I=/*bonus*/e[3].amount+"",H=/*$_*/e[23]("bonusCard.wageredAmount")+"",F=/*getWagered*/e[26](/*bonus*/e[3])+/*currencySymbol*/e[15]+"",R=[/*classWithPart*/e[34]("BonusCardLabel")],$={};for(let e=0;e<R.length;e+=1)$=t($,R[e]);let Y=[/*classWithPart*/e[34]("BonusCardRowText")],U={};for(let e=0;e<Y.length;e+=1)U=t(U,Y[e]);let z=[/*classWithPart*/e[34]("BonusCardRow")],W={};for(let e=0;e<z.length;e+=1)W=t(W,z[e]);let V=[/*classWithPart*/e[34]("BonusCardLabel")],j={};for(let e=0;e<V.length;e+=1)j=t(j,V[e]);function G(e,t){/*bonus*/
13566
+ return e[3].initialWagerRequirementAmount>=2147483647?gd:_d}let q=G(e),Z=q(e),K=[/*classWithPart*/e[34]("BonusCardRowText")],X={};for(let e=0;e<K.length;e+=1)X=t(X,K[e]);let J=[/*classWithPart*/e[34]("BonusCardRow")],Q={};for(let e=0;e<J.length;e+=1)Q=t(Q,J[e]);return{c(){n=_("p"),r=_("span"),o=y(N),i=y(":"),s=b(),a=_("span"),l=_("span"),u=y(L),c=y(/*currencySymbol*/e[15]),d=y(" /\n "),m=_("span"),g=y(I),v=y(/*currencySymbol*/e[15]),w=b(),C=_("p"),x=_("span"),A=y(H),T=y(":"),S=b(),k=_("span"),M=y(F),O=y(" /\n "),Z.c(),E(r,$),B(l,"BonusAmount",/*status*/"active"===e[0]),B(m,"Amount",/*status*/"active"===e[0]),E(a,U),E(n,W),E(x,j),E(k,X),E(C,Q)},m(e,t){p(e,n,t),h(n,r),h(r,o),h(r,i),h(n,s),h(n,a),h(a,l),h(l,u),h(l,c),h(a,d),h(a,m),h(m,g),h(m,v),p(e,w,t),p(e,C,t),h(C,x),h(x,A),h(x,T),h(C,S),h(C,k),h(k,M),h(k,O),Z.m(k,null)},p(e,t){/*$_*/8388608&t[0]&&N!==(N=/*$_*/e[23]("bonusCard.bonusAmount")+"")&&D(o,N,$.contenteditable),/*bonus*/8&t[0]&&L!==(L=/*bonus*/e[3].remainingAmount+"")&&P(u,L),/*currencySymbol*/32768&t[0]&&P(c,/*currencySymbol*/e[15]),/*status*/1&t[0]&&B(l,"BonusAmount",/*status*/"active"===e[0]),/*bonus*/8&t[0]&&I!==(I=/*bonus*/e[3].amount+"")&&P(g,I),/*currencySymbol*/32768&t[0]&&P(v,/*currencySymbol*/e[15]),/*status*/1&t[0]&&B(m,"Amount",/*status*/"active"===e[0]),/*$_*/8388608&t[0]&&H!==(H=/*$_*/e[23]("bonusCard.wageredAmount")+"")&&D(A,H,j.contenteditable),/*bonus, currencySymbol*/32776&t[0]&&F!==(F=/*getWagered*/e[26](/*bonus*/e[3])+/*currencySymbol*/e[15]+"")&&D(M,F,X.contenteditable),q===(q=G(e))&&Z?Z.p(e,t):(Z.d(1),Z=q(e),Z&&(Z.c(),Z.m(k,null)))},d(e){e&&f(n),e&&f(w),e&&f(C),Z.d()}}}
13567
13567
  // (524:18) {:else}
13568
13568
  function _d(e){let t,n=/*bonus*/e[3].initialWagerRequirementAmount+/*currencySymbol*/e[15]+"";return{c(){t=y(n)},m(e,n){p(e,t,n)},p(e,r){/*bonus, currencySymbol*/32776&r[0]&&n!==(n=/*bonus*/e[3].initialWagerRequirementAmount+/*currencySymbol*/e[15]+"")&&P(t,n)},d(e){e&&f(t)}}}
13569
13569
  // (522:18) {#if bonus.initialWagerRequirementAmount >= 2147483647}
@@ -13573,14 +13573,14 @@ function yd(e){let n,r,o,i,s,a,l,u,c,d=/*$_*/e[23]("bonusCard.bonusAmount")+"",m
13573
13573
  // (538:12) {#if bonus.type === 'freeRound'}
13574
13574
  function bd(e){let t,n=/*bonus*/"active"===e[3].status&&vd(e);return{c(){n&&n.c(),t=v()},m(e,r){n&&n.m(e,r),p(e,t,r)},p(e,r){/*bonus*/"active"===e[3].status?n?n.p(e,r):(n=vd(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&f(t)}}}
13575
13575
  // (539:14) {#if bonus.status === 'active'}
13576
- function vd(e){let n,r,i,s,a,l,u,c,d,v,x,A,T,S,P,k,O,N,I,L,H,F,R,$,Y,U,z,W,V,j=/*$_*/e[23]("bonusCard.roundNumber")+"",G=/*bonus*/e[3].numberOfFreeSpin+"",q=/*$_*/e[23]("bonusCard.game")+"",Z=[/*classWithPart*/e[34]("BonusCardLabel")],K={};for(let e=0;e<Z.length;e+=1)K=t(K,Z[e]);let X=[/*classWithPart*/e[34]("BonusCardRowText")],J={};for(let e=0;e<X.length;e+=1)J=t(J,X[e]);let Q=[/*classWithPart*/e[34]("BonusCardRow")],ee={};for(let e=0;e<Q.length;e+=1)ee=t(ee,Q[e]);let te=[/*classWithPart*/e[34]("BonusCardLabel")],ne={};for(let e=0;e<te.length;e+=1)ne=t(ne,te[e]);let re=/*games*/e[21],oe=[];for(let t=0;t<re.length;t+=1)oe[t]=wd(id(e,re,t));let ie=[/*classWithPart*/e[34]("BonusCardRowText")],se={};for(let e=0;e<ie.length;e+=1)se=t(se,ie[e]);let ae=[/*classWithPart*/e[34]("BonusCardRow")],le={};for(let e=0;e<ae.length;e+=1)le=t(le,ae[e]);return{c(){n=_("p"),r=_("span"),i=y(j),s=y(":"),a=b(),l=_("span"),u=y(G),c=b(),d=_("div"),v=_("div"),x=y(q),A=y(":"),T=b(),S=_("div"),P=_("div"),k=_("button"),O=g("svg"),N=g("path"),L=b(),H=_("div"),F=_("span");for(let e=0;e<oe.length;e+=1)oe[e].c();R=b(),$=_("button"),Y=g("svg"),U=g("path"),E(r,K),E(l,J),E(n,ee),E(v,ne),C(N,"stroke-linecap","round"),C(N,"stroke-linejoin","round"),C(N,"stroke-width","2"),C(N,"d","M15 19l-7-7 7-7"),C(O,"fill","none"),C(O,"stroke","currentColor"),C(O,"viewBox","0 0 24 24"),C(O,"xmlns","http://www.w3.org/2000/svg"),C(k,"class","SliderNavButton"),C(k,"part","SliderNavButton"),k.disabled=I=/*sliderOffset*/0==e[22],B(k,"Hide",/*games*/e[21].length<=3),C(F,"class","Games"),M(F,"transform","translateX("+/*sliderOffset*/e[22]+"px)"),C(H,"class","Main"),C(U,"stroke-linecap","round"),C(U,"stroke-linejoin","round"),C(U,"stroke-width","2"),C(U,"d","M9 5l7 7-7 7"),C(Y,"fill","none"),C(Y,"stroke","currentColor"),C(Y,"viewBox","0 0 24 24"),C(Y,"xmlns","http://www.w3.org/2000/svg"),C($,"class","SliderNavButton"),C($,"part","SliderNavButton"),$.disabled=z=/*sliderOffset*/e[22]<=100*-(/*games*/e[21].length-3),B($,"Hide",/*games*/e[21].length<=3),C(P,"class","BonusGamesSlider"),E(S,se),E(d,le)},m(t,o){p(t,n,o),h(n,r),h(r,i),h(r,s),h(n,a),h(n,l),h(l,u),p(t,c,o),p(t,d,o),h(d,v),h(v,x),h(v,A),h(d,T),h(d,S),h(S,P),h(P,k),h(k,O),h(O,N),h(P,L),h(P,H),h(H,F);for(let e=0;e<oe.length;e+=1)oe[e]&&oe[e].m(F,null);h(P,R),h(P,$),h($,Y),h(Y,U),W||(V=[w(k,"click",/*click_handler*/e[44]),w($,"click",/*click_handler_2*/e[48])],W=!0)},p(e,t){if(/*$_*/8388608&t[0]&&j!==(j=/*$_*/e[23]("bonusCard.roundNumber")+"")&&D(i,j,K.contenteditable),/*bonus*/8&t[0]&&G!==(G=/*bonus*/e[3].numberOfFreeSpin+"")&&D(u,G,J.contenteditable),/*$_*/8388608&t[0]&&q!==(q=/*$_*/e[23]("bonusCard.game")+"")&&D(x,q,ne.contenteditable),/*sliderOffset*/4194304&t[0]&&I!==(I=/*sliderOffset*/0==e[22])&&(k.disabled=I),/*games*/2097152&t[0]&&B(k,"Hide",/*games*/e[21].length<=3),/*games, hover, hoverIndex, $_*/12058624&t[0]|/*gameClicked, enter, leave*/112&t[1]){let n;for(re=/*games*/e[21],n=0;n<re.length;n+=1){const r=id(e,re,n);oe[n]?oe[n].p(r,t):(oe[n]=wd(r),oe[n].c(),oe[n].m(F,null))}for(;n<oe.length;n+=1)oe[n].d(1);oe.length=re.length}/*sliderOffset*/4194304&t[0]&&M(F,"transform","translateX("+/*sliderOffset*/e[22]+"px)"),/*sliderOffset, games*/6291456&t[0]&&z!==(z=/*sliderOffset*/e[22]<=100*-(/*games*/e[21].length-3))&&($.disabled=z),/*games*/2097152&t[0]&&B($,"Hide",/*games*/e[21].length<=3)},d(e){e&&f(n),e&&f(c),e&&f(d),m(oe,e),W=!1,o(V)}}}
13576
+ function vd(e){let n,r,i,s,a,l,u,c,d,v,x,A,T,S,P,k,O,N,L,I,H,F,R,$,Y,U,z,W,V,j=/*$_*/e[23]("bonusCard.roundNumber")+"",G=/*bonus*/e[3].numberOfFreeSpin+"",q=/*$_*/e[23]("bonusCard.game")+"",Z=[/*classWithPart*/e[34]("BonusCardLabel")],K={};for(let e=0;e<Z.length;e+=1)K=t(K,Z[e]);let X=[/*classWithPart*/e[34]("BonusCardRowText")],J={};for(let e=0;e<X.length;e+=1)J=t(J,X[e]);let Q=[/*classWithPart*/e[34]("BonusCardRow")],ee={};for(let e=0;e<Q.length;e+=1)ee=t(ee,Q[e]);let te=[/*classWithPart*/e[34]("BonusCardLabel")],ne={};for(let e=0;e<te.length;e+=1)ne=t(ne,te[e]);let re=/*games*/e[21],oe=[];for(let t=0;t<re.length;t+=1)oe[t]=wd(id(e,re,t));let ie=[/*classWithPart*/e[34]("BonusCardRowText")],se={};for(let e=0;e<ie.length;e+=1)se=t(se,ie[e]);let ae=[/*classWithPart*/e[34]("BonusCardRow")],le={};for(let e=0;e<ae.length;e+=1)le=t(le,ae[e]);return{c(){n=_("p"),r=_("span"),i=y(j),s=y(":"),a=b(),l=_("span"),u=y(G),c=b(),d=_("div"),v=_("div"),x=y(q),A=y(":"),T=b(),S=_("div"),P=_("div"),k=_("button"),O=g("svg"),N=g("path"),I=b(),H=_("div"),F=_("span");for(let e=0;e<oe.length;e+=1)oe[e].c();R=b(),$=_("button"),Y=g("svg"),U=g("path"),E(r,K),E(l,J),E(n,ee),E(v,ne),C(N,"stroke-linecap","round"),C(N,"stroke-linejoin","round"),C(N,"stroke-width","2"),C(N,"d","M15 19l-7-7 7-7"),C(O,"fill","none"),C(O,"stroke","currentColor"),C(O,"viewBox","0 0 24 24"),C(O,"xmlns","http://www.w3.org/2000/svg"),C(k,"class","SliderNavButton"),C(k,"part","SliderNavButton"),k.disabled=L=/*sliderOffset*/0==e[22],B(k,"Hide",/*games*/e[21].length<=3),C(F,"class","Games"),M(F,"transform","translateX("+/*sliderOffset*/e[22]+"px)"),C(H,"class","Main"),C(U,"stroke-linecap","round"),C(U,"stroke-linejoin","round"),C(U,"stroke-width","2"),C(U,"d","M9 5l7 7-7 7"),C(Y,"fill","none"),C(Y,"stroke","currentColor"),C(Y,"viewBox","0 0 24 24"),C(Y,"xmlns","http://www.w3.org/2000/svg"),C($,"class","SliderNavButton"),C($,"part","SliderNavButton"),$.disabled=z=/*sliderOffset*/e[22]<=100*-(/*games*/e[21].length-3),B($,"Hide",/*games*/e[21].length<=3),C(P,"class","BonusGamesSlider"),E(S,se),E(d,le)},m(t,o){p(t,n,o),h(n,r),h(r,i),h(r,s),h(n,a),h(n,l),h(l,u),p(t,c,o),p(t,d,o),h(d,v),h(v,x),h(v,A),h(d,T),h(d,S),h(S,P),h(P,k),h(k,O),h(O,N),h(P,I),h(P,H),h(H,F);for(let e=0;e<oe.length;e+=1)oe[e]&&oe[e].m(F,null);h(P,R),h(P,$),h($,Y),h(Y,U),W||(V=[w(k,"click",/*click_handler*/e[44]),w($,"click",/*click_handler_2*/e[48])],W=!0)},p(e,t){if(/*$_*/8388608&t[0]&&j!==(j=/*$_*/e[23]("bonusCard.roundNumber")+"")&&D(i,j,K.contenteditable),/*bonus*/8&t[0]&&G!==(G=/*bonus*/e[3].numberOfFreeSpin+"")&&D(u,G,J.contenteditable),/*$_*/8388608&t[0]&&q!==(q=/*$_*/e[23]("bonusCard.game")+"")&&D(x,q,ne.contenteditable),/*sliderOffset*/4194304&t[0]&&L!==(L=/*sliderOffset*/0==e[22])&&(k.disabled=L),/*games*/2097152&t[0]&&B(k,"Hide",/*games*/e[21].length<=3),/*games, hover, hoverIndex, $_*/12058624&t[0]|/*gameClicked, enter, leave*/112&t[1]){let n;for(re=/*games*/e[21],n=0;n<re.length;n+=1){const r=id(e,re,n);oe[n]?oe[n].p(r,t):(oe[n]=wd(r),oe[n].c(),oe[n].m(F,null))}for(;n<oe.length;n+=1)oe[n].d(1);oe.length=re.length}/*sliderOffset*/4194304&t[0]&&M(F,"transform","translateX("+/*sliderOffset*/e[22]+"px)"),/*sliderOffset, games*/6291456&t[0]&&z!==(z=/*sliderOffset*/e[22]<=100*-(/*games*/e[21].length-3))&&($.disabled=z),/*games*/2097152&t[0]&&B($,"Hide",/*games*/e[21].length<=3)},d(e){e&&f(n),e&&f(c),e&&f(d),m(oe,e),W=!1,o(V)}}}
13577
13577
  // (556:24) {#each games as game, i}
13578
13578
  function wd(e){let t,n,r,i,s,a,u,c,d,m,g,v,x,E=/*$_*/e[23]("bonusCard.playNow")+"";function A(){/*click_handler_1*/
13579
13579
  return e[45](/*game*/e[83])}function T(){/*mouseenter_handler*/
13580
13580
  return e[46](/*i*/e[85])}return{c(){t=_("span"),n=_("span"),r=y(E),a=b(),u=_("img"),g=b(),C(n,"class",i="PlayNowButton "+(/*hover*/e[19]&&/*hoverIndex*/e[20]==/*i*/e[85]?"ItemHover":"")),C(n,"part",s="PlayNowButton "+(/*hover*/e[19]&&/*hoverIndex*/e[20]==/*i*/e[85]?"itemHover":"")),l(u.src,c=/*game*/e[83].thumbnail)||C(u,"src",c),C(u,"width","100px"),C(u,"height","75px"),C(u,"alt",d=/*game*/e[83].name),C(u,"title",m=/*game*/e[83].name),C(t,"class","Game"),C(t,"part","Game")},m(o,i){p(o,t,i),h(t,n),h(n,r),h(t,a),h(t,u),h(t,g),v||(x=[w(t,"click",A),w(t,"mouseenter",T),w(t,"mouseleave",/*mouseleave_handler*/e[47])],v=!0)},p(t,o){e=t,/*$_*/8388608&o[0]&&E!==(E=/*$_*/e[23]("bonusCard.playNow")+"")&&P(r,E),/*hover, hoverIndex*/1572864&o[0]&&i!==(i="PlayNowButton "+(/*hover*/e[19]&&/*hoverIndex*/e[20]==/*i*/e[85]?"ItemHover":""))&&C(n,"class",i),/*hover, hoverIndex*/1572864&o[0]&&s!==(s="PlayNowButton "+(/*hover*/e[19]&&/*hoverIndex*/e[20]==/*i*/e[85]?"itemHover":""))&&C(n,"part",s),/*games*/2097152&o[0]&&!l(u.src,c=/*game*/e[83].thumbnail)&&C(u,"src",c),/*games*/2097152&o[0]&&d!==(d=/*game*/e[83].name)&&C(u,"alt",d),/*games*/2097152&o[0]&&m!==(m=/*game*/e[83].name)&&C(u,"title",m)},d(e){e&&f(t),v=!1,o(x)}}}
13581
13581
  // (575:12) {#if bonus.type === 'wagering'}
13582
- function Cd(e){let n,r,o,i,s,a,l,u,c,d,m,g,v,w,C=/*$_*/e[23]("bonusCard.wageringType")+"",x=/*$_*/e[23](`bonusCard.${/*bonus*/e[3].wageringType}`)+"",A=/*$_*/e[23]("bonusCard.wagered")+"",T=[/*classWithPart*/e[34]("BonusCardLabel")],S={};for(let e=0;e<T.length;e+=1)S=t(S,T[e]);let P=[/*classWithPart*/e[34]("BonusCardRowText")],k={};for(let e=0;e<P.length;e+=1)k=t(k,P[e]);let M=[/*classWithPart*/e[34]("BonusCardRow")],B={};for(let e=0;e<M.length;e+=1)B=t(B,M[e]);let O=[/*classWithPart*/e[34]("BonusCardLabel")],N={};for(let e=0;e<O.length;e+=1)N=t(N,O[e]);function I(e,t){/*bonus*/
13583
- return"money"===e[3].wageringType?Ed:xd}let L=I(e),H=L(e),F=[/*classWithPart*/e[34]("BonusCardRowText")],R={};for(let e=0;e<F.length;e+=1)R=t(R,F[e]);let $=[/*classWithPart*/e[34]("BonusCardRow")],Y={};for(let e=0;e<$.length;e+=1)Y=t(Y,$[e]);return{c(){n=_("p"),r=_("span"),o=y(C),i=y(":"),s=b(),a=_("span"),l=y(x),u=b(),c=_("p"),d=_("span"),m=y(A),g=y(":"),v=b(),w=_("span"),H.c(),E(r,S),E(a,k),E(n,B),E(d,N),E(w,R),E(c,Y)},m(e,t){p(e,n,t),h(n,r),h(r,o),h(r,i),h(n,s),h(n,a),h(a,l),p(e,u,t),p(e,c,t),h(c,d),h(d,m),h(d,g),h(c,v),h(c,w),H.m(w,null)},p(e,t){/*$_*/8388608&t[0]&&C!==(C=/*$_*/e[23]("bonusCard.wageringType")+"")&&D(o,C,S.contenteditable),/*$_, bonus*/8388616&t[0]&&x!==(x=/*$_*/e[23](`bonusCard.${/*bonus*/e[3].wageringType}`)+"")&&D(l,x,k.contenteditable),/*$_*/8388608&t[0]&&A!==(A=/*$_*/e[23]("bonusCard.wagered")+"")&&D(m,A,N.contenteditable),L===(L=I(e))&&H?H.p(e,t):(H.d(1),H=L(e),H&&(H.c(),H.m(w,null)))},d(e){e&&f(n),e&&f(u),e&&f(c),H.d()}}}
13582
+ function Cd(e){let n,r,o,i,s,a,l,u,c,d,m,g,v,w,C=/*$_*/e[23]("bonusCard.wageringType")+"",x=/*$_*/e[23](`bonusCard.${/*bonus*/e[3].wageringType}`)+"",A=/*$_*/e[23]("bonusCard.wagered")+"",T=[/*classWithPart*/e[34]("BonusCardLabel")],S={};for(let e=0;e<T.length;e+=1)S=t(S,T[e]);let P=[/*classWithPart*/e[34]("BonusCardRowText")],k={};for(let e=0;e<P.length;e+=1)k=t(k,P[e]);let M=[/*classWithPart*/e[34]("BonusCardRow")],B={};for(let e=0;e<M.length;e+=1)B=t(B,M[e]);let O=[/*classWithPart*/e[34]("BonusCardLabel")],N={};for(let e=0;e<O.length;e+=1)N=t(N,O[e]);function L(e,t){/*bonus*/
13583
+ return"money"===e[3].wageringType?Ed:xd}let I=L(e),H=I(e),F=[/*classWithPart*/e[34]("BonusCardRowText")],R={};for(let e=0;e<F.length;e+=1)R=t(R,F[e]);let $=[/*classWithPart*/e[34]("BonusCardRow")],Y={};for(let e=0;e<$.length;e+=1)Y=t(Y,$[e]);return{c(){n=_("p"),r=_("span"),o=y(C),i=y(":"),s=b(),a=_("span"),l=y(x),u=b(),c=_("p"),d=_("span"),m=y(A),g=y(":"),v=b(),w=_("span"),H.c(),E(r,S),E(a,k),E(n,B),E(d,N),E(w,R),E(c,Y)},m(e,t){p(e,n,t),h(n,r),h(r,o),h(r,i),h(n,s),h(n,a),h(a,l),p(e,u,t),p(e,c,t),h(c,d),h(d,m),h(d,g),h(c,v),h(c,w),H.m(w,null)},p(e,t){/*$_*/8388608&t[0]&&C!==(C=/*$_*/e[23]("bonusCard.wageringType")+"")&&D(o,C,S.contenteditable),/*$_, bonus*/8388616&t[0]&&x!==(x=/*$_*/e[23](`bonusCard.${/*bonus*/e[3].wageringType}`)+"")&&D(l,x,k.contenteditable),/*$_*/8388608&t[0]&&A!==(A=/*$_*/e[23]("bonusCard.wagered")+"")&&D(m,A,N.contenteditable),I===(I=L(e))&&H?H.p(e,t):(H.d(1),H=I(e),H&&(H.c(),H.m(w,null)))},d(e){e&&f(n),e&&f(u),e&&f(c),H.d()}}}
13584
13584
  // (596:20) {:else}
13585
13585
  function xd(t){return{c:e,m:e,p:e,d:e}}
13586
13586
  // (584:20) {#if bonus.wageringType === 'money'}
@@ -13605,23 +13605,23 @@ function Md(t){let n;return{c(){n=y("∞")},m(e,t){p(e,n,t)},p:e,d(e){e&&f(n)}}}
13605
13605
  // (479:18) {#if levelCount > 0}
13606
13606
  function Bd(e){let t;return{c(){t=y(/*levelCount*/e[6])},m(e,n){p(e,t,n)},p(e,n){/*levelCount*/64&n[0]&&P(t,/*levelCount*/e[6])},d(e){e&&f(t)}}}
13607
13607
  // (611:8) {#if status === 'active' || status === 'completed'}
13608
- function Od(e){let t,n,r=/*bonus*/"standard"===e[3].type&&Nd(e),o=/*bonus*/"wagering"===e[3].type&&Id(e);return{c(){r&&r.c(),t=b(),o&&o.c(),n=v()},m(e,i){r&&r.m(e,i),p(e,t,i),o&&o.m(e,i),p(e,n,i)},p(e,i){/*bonus*/"standard"===e[3].type?r?r.p(e,i):(r=Nd(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),/*bonus*/"wagering"===e[3].type?o?o.p(e,i):(o=Id(e),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(e){r&&r.d(e),e&&f(t),o&&o.d(e),e&&f(n)}}}
13608
+ function Od(e){let t,n,r=/*bonus*/"standard"===e[3].type&&Nd(e),o=/*bonus*/"wagering"===e[3].type&&Ld(e);return{c(){r&&r.c(),t=b(),o&&o.c(),n=v()},m(e,i){r&&r.m(e,i),p(e,t,i),o&&o.m(e,i),p(e,n,i)},p(e,i){/*bonus*/"standard"===e[3].type?r?r.p(e,i):(r=Nd(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),/*bonus*/"wagering"===e[3].type?o?o.p(e,i):(o=Ld(e),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(e){r&&r.d(e),e&&f(t),o&&o.d(e),e&&f(n)}}}
13609
13609
  // (612:10) {#if bonus.type === 'standard'}
13610
13610
  function Nd(e){let n,r,o,i=[
13611
13611
  /*classWithPart*/e[34]("CircularProgress"),{value:o=/*getProgressValue*/e[28](/*bonus*/e[3])},{status:/*status*/e[0]},{clientstyling:/*clientstyling*/e[1]},{clientstylingurl:/*clientstylingurl*/e[2]}],s={};for(let e=0;e<i.length;e+=1)s=t(s,i[e]);let a=[/*classWithPart*/e[34]("BonusCardProgress")],l={};for(let e=0;e<a.length;e+=1)l=t(l,a[e]);return{c(){n=_("div"),r=_("casino-bonus-progress"),E(r,s),E(n,l)},m(e,t){p(e,n,t),h(n,r)},p(e,t){E(r,s=Z(i,[
13612
13612
  /*classWithPart*/e[34]("CircularProgress"),/*bonus*/8&t[0]&&o!==(o=/*getProgressValue*/e[28](/*bonus*/e[3]))&&{value:o},/*status*/1&t[0]&&{status:/*status*/e[0]},/*clientstyling*/2&t[0]&&{clientstyling:/*clientstyling*/e[1]},/*clientstylingurl*/4&t[0]&&{clientstylingurl:/*clientstylingurl*/e[2]}]))},d(e){e&&f(n)}}}
13613
13613
  // (618:10) {#if bonus.type === 'wagering'}
13614
- function Id(e){let n,r,o,i,s,a,l,u,c,d=/*$_*/e[23]("bonusCard.level")+"",m=/*bonus*/(e[3].wageringProgress?.currentLevel||1)+"",g=[
13614
+ function Ld(e){let n,r,o,i,s,a,l,u,c,d=/*$_*/e[23]("bonusCard.level")+"",m=/*bonus*/(e[3].wageringProgress?.currentLevel||1)+"",g=[
13615
13615
  /*classWithPart*/e[34]("CircularProgress"),{value:o=/*getProgressValue*/e[28](/*bonus*/e[3])},{status:/*status*/e[0]},{clientstyling:/*clientstyling*/e[1]},{clientstylingurl:/*clientstylingurl*/e[2]}],v={};for(let e=0;e<g.length;e+=1)v=t(v,g[e]);function w(e,t){/*levelCount*/
13616
- return e[6]>0?Hd:Ld}let C=w(e),x=C(e),A=[/*classWithPart*/e[34]("CircularProgressText")],T={};for(let e=0;e<A.length;e+=1)T=t(T,A[e]);let S=[/*classWithPart*/e[34]("BonusCardProgress")],P={};for(let e=0;e<S.length;e+=1)P=t(P,S[e]);return{c(){n=_("div"),r=_("casino-bonus-progress"),i=b(),s=_("div"),a=y(d),l=y(": "),u=y(m),c=y(" / \n "),x.c(),E(r,v),E(s,T),E(n,P)},m(e,t){p(e,n,t),h(n,r),h(n,i),h(n,s),h(s,a),h(s,l),h(s,u),h(s,c),x.m(s,null)},p(e,t){E(r,v=Z(g,[
13616
+ return e[6]>0?Hd:Id}let C=w(e),x=C(e),A=[/*classWithPart*/e[34]("CircularProgressText")],T={};for(let e=0;e<A.length;e+=1)T=t(T,A[e]);let S=[/*classWithPart*/e[34]("BonusCardProgress")],P={};for(let e=0;e<S.length;e+=1)P=t(P,S[e]);return{c(){n=_("div"),r=_("casino-bonus-progress"),i=b(),s=_("div"),a=y(d),l=y(": "),u=y(m),c=y(" / \n "),x.c(),E(r,v),E(s,T),E(n,P)},m(e,t){p(e,n,t),h(n,r),h(n,i),h(n,s),h(s,a),h(s,l),h(s,u),h(s,c),x.m(s,null)},p(e,t){E(r,v=Z(g,[
13617
13617
  /*classWithPart*/e[34]("CircularProgress"),/*bonus*/8&t[0]&&o!==(o=/*getProgressValue*/e[28](/*bonus*/e[3]))&&{value:o},/*status*/1&t[0]&&{status:/*status*/e[0]},/*clientstyling*/2&t[0]&&{clientstyling:/*clientstyling*/e[1]},/*clientstylingurl*/4&t[0]&&{clientstylingurl:/*clientstylingurl*/e[2]}])),/*$_*/8388608&t[0]&&d!==(d=/*$_*/e[23]("bonusCard.level")+"")&&D(a,d,T.contenteditable),/*bonus*/8&t[0]&&m!==(m=/*bonus*/(e[3].wageringProgress?.currentLevel||1)+"")&&D(u,m,T.contenteditable),C===(C=w(e))&&x?x.p(e,t):(x.d(1),x=C(e),x&&(x.c(),x.m(s,null)))},d(e){e&&f(n),x.d()}}}
13618
13618
  // (624:16) {:else}
13619
- function Ld(t){let n;return{c(){n=y("∞")},m(e,t){p(e,n,t)},p:e,d(e){e&&f(n)}}}
13619
+ function Id(t){let n;return{c(){n=y("∞")},m(e,t){p(e,n,t)},p:e,d(e){e&&f(n)}}}
13620
13620
  // (622:16) {#if levelCount > 0}
13621
13621
  function Hd(e){let t;return{c(){t=y(/*levelCount*/e[6])},m(e,n){p(e,t,n)},p(e,n){/*levelCount*/64&n[0]&&P(t,/*levelCount*/e[6])},d(e){e&&f(t)}}}
13622
13622
  // (634:6) {#if showAdditionalSection}
13623
13623
  function Fd(e){let n,r,o,i,s,a,l,u,c,d,m,v,x=/*$_*/e[23]("bonusCard.rewards")+"",A=[/*classWithPart*/e[34]("BonusCardAdditionalTitle")],T={};for(let e=0;e<A.length;e+=1)T=t(T,A[e]);function S(e,t){/*showAdditionalSectionContent*/
13624
- return e[9]?Rd:$d}let P=S(e),k=P(e),M=[/*classWithPart*/e[34]("BonusCardAdditionalButton")],O={};for(let e=0;e<M.length;e+=1)O=t(O,M[e]);let N=[/*classWithPart*/e[34]("BonusCardAdditionalHeader")],I={};for(let e=0;e<N.length;e+=1)I=t(I,N[e]);let L=/*showAdditionalSectionContent*/e[9]&&Yd(e),H=[/*classWithPart*/e[34]("BonusCardAdditional")],F={};for(let e=0;e<H.length;e+=1)F=t(F,H[e]);return{c(){n=_("div"),r=_("div"),o=_("span"),i=g("svg"),s=g("path"),a=b(),l=y(x),u=b(),c=_("span"),k.c(),d=b(),L&&L.c(),C(s,"d","M18 5.97075H14.885C15.3396 5.74285 15.7565 5.44638 16.121 5.09175C16.6824 4.52865 16.9977 3.76592 16.9977 2.97075C16.9977 2.17558 16.6824 1.41285 16.121 0.84975C14.987 -0.28325 13.013 -0.28325 11.879 0.84975C10.243 2.48675 10.02 5.56775 10 5.91375C9.98 5.56775 9.757 2.48675 8.121 0.85075C6.987 -0.28225 5.011 -0.28125 3.879 0.85075C3.312 1.41675 3 2.16975 3 2.97075C3 3.77175 3.312 4.52575 3.878 5.09175C4.24311 5.4461 4.66027 5.74253 5.115 5.97075H2C0.897 5.97075 0 6.86875 0 7.97075V10.9707C0 11.236 0.105357 11.4903 0.292893 11.6779C0.48043 11.8654 0.734784 11.9707 1 11.9707V17.9708C1 19.0738 1.897 19.9708 3 19.9708H17C18.103 19.9708 19 19.0738 19 17.9708V11.9707C19.2652 11.9707 19.5196 11.8654 19.7071 11.6779C19.8946 11.4903 20 11.236 20 10.9707V7.97075C20 6.86875 19.103 5.97075 18 5.97075ZM6 17.9708H3V11.9707H6V17.9708ZM6 9.97075H2V7.97075H6V9.97075ZM5.293 3.67775C5.19982 3.58514 5.12595 3.47497 5.07565 3.35361C5.02536 3.23225 4.99964 3.10212 5 2.97075C4.99947 2.83933 5.02498 2.7091 5.07506 2.58759C5.12514 2.46608 5.1988 2.3557 5.29177 2.26281C5.38475 2.16993 5.49521 2.09639 5.61677 2.04643C5.73833 1.99647 5.86858 1.97109 6 1.97175C6.268 1.97175 6.519 2.07575 6.708 2.26475C7.298 2.85375 7.642 3.91275 7.826 4.79475C6.945 4.60975 5.88 4.26475 5.293 3.67775ZM12 17.9708H8V11.9707H12V17.9708ZM12 9.97075H8V7.97075H12V9.97075ZM13.293 2.26475C13.482 2.07575 13.733 1.97175 14 1.97175C14.267 1.97175 14.518 2.07575 14.707 2.26375C14.8945 2.45128 14.9998 2.70559 14.9998 2.97075C14.9998 3.23591 14.8945 3.49022 14.707 3.67775C14.117 4.26975 13.058 4.61375 12.175 4.79875C12.358 3.91375 12.703 2.85475 13.293 2.26475ZM17 17.9708H14V11.9707H17V17.9708ZM18 9.97075H14V7.97075H18V9.97075Z"),C(s,"fill","black"),C(i,"width","20"),C(i,"height","20"),C(i,"viewBox","0 0 20 20"),C(i,"fill","none"),C(i,"xmlns","http://www.w3.org/2000/svg"),E(o,T),E(c,O),E(r,I),B(r,"Active",/*showAdditionalSectionContent*/e[9]),E(n,F)},m(t,f){p(t,n,f),h(n,r),h(r,o),h(o,i),h(i,s),h(o,a),h(o,l),h(r,u),h(r,c),k.m(c,null),h(n,d),L&&L.m(n,null),m||(v=w(r,"click",/*click_handler_3*/e[49]),m=!0)},p(e,t){/*$_*/8388608&t[0]&&x!==(x=/*$_*/e[23]("bonusCard.rewards")+"")&&D(l,x,T.contenteditable),P!==(P=S(e))&&(k.d(1),k=P(e),k&&(k.c(),k.m(c,null))),/*showAdditionalSectionContent*/512&t[0]&&B(r,"Active",/*showAdditionalSectionContent*/e[9]),/*showAdditionalSectionContent*/e[9]?L?L.p(e,t):(L=Yd(e),L.c(),L.m(n,null)):L&&(L.d(1),L=null)},d(e){e&&f(n),k.d(),L&&L.d(),m=!1,v()}}}
13624
+ return e[9]?Rd:$d}let P=S(e),k=P(e),M=[/*classWithPart*/e[34]("BonusCardAdditionalButton")],O={};for(let e=0;e<M.length;e+=1)O=t(O,M[e]);let N=[/*classWithPart*/e[34]("BonusCardAdditionalHeader")],L={};for(let e=0;e<N.length;e+=1)L=t(L,N[e]);let I=/*showAdditionalSectionContent*/e[9]&&Yd(e),H=[/*classWithPart*/e[34]("BonusCardAdditional")],F={};for(let e=0;e<H.length;e+=1)F=t(F,H[e]);return{c(){n=_("div"),r=_("div"),o=_("span"),i=g("svg"),s=g("path"),a=b(),l=y(x),u=b(),c=_("span"),k.c(),d=b(),I&&I.c(),C(s,"d","M18 5.97075H14.885C15.3396 5.74285 15.7565 5.44638 16.121 5.09175C16.6824 4.52865 16.9977 3.76592 16.9977 2.97075C16.9977 2.17558 16.6824 1.41285 16.121 0.84975C14.987 -0.28325 13.013 -0.28325 11.879 0.84975C10.243 2.48675 10.02 5.56775 10 5.91375C9.98 5.56775 9.757 2.48675 8.121 0.85075C6.987 -0.28225 5.011 -0.28125 3.879 0.85075C3.312 1.41675 3 2.16975 3 2.97075C3 3.77175 3.312 4.52575 3.878 5.09175C4.24311 5.4461 4.66027 5.74253 5.115 5.97075H2C0.897 5.97075 0 6.86875 0 7.97075V10.9707C0 11.236 0.105357 11.4903 0.292893 11.6779C0.48043 11.8654 0.734784 11.9707 1 11.9707V17.9708C1 19.0738 1.897 19.9708 3 19.9708H17C18.103 19.9708 19 19.0738 19 17.9708V11.9707C19.2652 11.9707 19.5196 11.8654 19.7071 11.6779C19.8946 11.4903 20 11.236 20 10.9707V7.97075C20 6.86875 19.103 5.97075 18 5.97075ZM6 17.9708H3V11.9707H6V17.9708ZM6 9.97075H2V7.97075H6V9.97075ZM5.293 3.67775C5.19982 3.58514 5.12595 3.47497 5.07565 3.35361C5.02536 3.23225 4.99964 3.10212 5 2.97075C4.99947 2.83933 5.02498 2.7091 5.07506 2.58759C5.12514 2.46608 5.1988 2.3557 5.29177 2.26281C5.38475 2.16993 5.49521 2.09639 5.61677 2.04643C5.73833 1.99647 5.86858 1.97109 6 1.97175C6.268 1.97175 6.519 2.07575 6.708 2.26475C7.298 2.85375 7.642 3.91275 7.826 4.79475C6.945 4.60975 5.88 4.26475 5.293 3.67775ZM12 17.9708H8V11.9707H12V17.9708ZM12 9.97075H8V7.97075H12V9.97075ZM13.293 2.26475C13.482 2.07575 13.733 1.97175 14 1.97175C14.267 1.97175 14.518 2.07575 14.707 2.26375C14.8945 2.45128 14.9998 2.70559 14.9998 2.97075C14.9998 3.23591 14.8945 3.49022 14.707 3.67775C14.117 4.26975 13.058 4.61375 12.175 4.79875C12.358 3.91375 12.703 2.85475 13.293 2.26475ZM17 17.9708H14V11.9707H17V17.9708ZM18 9.97075H14V7.97075H18V9.97075Z"),C(s,"fill","black"),C(i,"width","20"),C(i,"height","20"),C(i,"viewBox","0 0 20 20"),C(i,"fill","none"),C(i,"xmlns","http://www.w3.org/2000/svg"),E(o,T),E(c,O),E(r,L),B(r,"Active",/*showAdditionalSectionContent*/e[9]),E(n,F)},m(t,f){p(t,n,f),h(n,r),h(r,o),h(o,i),h(i,s),h(o,a),h(o,l),h(r,u),h(r,c),k.m(c,null),h(n,d),I&&I.m(n,null),m||(v=w(r,"click",/*click_handler_3*/e[49]),m=!0)},p(e,t){/*$_*/8388608&t[0]&&x!==(x=/*$_*/e[23]("bonusCard.rewards")+"")&&D(l,x,T.contenteditable),P!==(P=S(e))&&(k.d(1),k=P(e),k&&(k.c(),k.m(c,null))),/*showAdditionalSectionContent*/512&t[0]&&B(r,"Active",/*showAdditionalSectionContent*/e[9]),/*showAdditionalSectionContent*/e[9]?I?I.p(e,t):(I=Yd(e),I.c(),I.m(n,null)):I&&(I.d(1),I=null)},d(e){e&&f(n),k.d(),I&&I.d(),m=!1,v()}}}
13625
13625
  // (647:14) {:else}
13626
13626
  function Rd(e){let t,n;return{c(){t=g("svg"),n=g("path"),C(n,"d","M16.1422 10.071L9.07108 2.99998L2.00002 10.071"),C(n,"stroke","black"),C(n,"stroke-width","3"),C(n,"stroke-linecap","round"),C(t,"width","18"),C(t,"height","12"),C(t,"viewBox","0 0 18 12"),C(t,"fill","none"),C(t,"xmlns","http://www.w3.org/2000/svg")},m(e,r){p(e,t,r),h(t,n)},d(e){e&&f(t)}}}
13627
13627
  // (643:14) {#if !showAdditionalSectionContent}
@@ -13650,7 +13650,7 @@ function Zd(e){let n,r,o,i,s,a,l,u,c,d,m,v=/*$_*/e[23]("bonusCard.terms")+"",w=[
13650
13650
  /*classWithPart*/e[34]("BonusCardTermsLink"),/*tcurl*/262144&t[0]&&{href:/*tcurl*/e[18]},{target:"__blank"}]))},d(e){e&&f(n)}}}
13651
13651
  // (694:6) {#if showTerms}
13652
13652
  function Kd(e){let n,r,o,i,s,a,l,u,c,d,m,v,x,A,T,S,P,k=/*$_*/e[23]("bonusCard.terms")+"",M=[/*classWithPart*/e[34]("BonusCardTermsTitle")],O={};for(let e=0;e<M.length;e+=1)O=t(O,M[e]);function N(e,t){/*showTermsSectionContent*/
13653
- return e[10]?Xd:Jd}let I=N(e),L=I(e),H=[/*classWithPart*/e[34]("BonusCardTermsButton")],F={};for(let e=0;e<H.length;e+=1)F=t(F,H[e]);let R=[/*classWithPart*/e[34]("BonusCardTermsHeader")],$={};for(let e=0;e<R.length;e+=1)$=t($,R[e]);let Y=/*showTermsSectionContent*/e[10]&&Qd(e),U=[/*classWithPart*/e[34]("BonusCardTerms")],z={};for(let e=0;e<U.length;e+=1)z=t(z,U[e]);return{c(){n=_("div"),r=_("div"),o=_("span"),i=g("svg"),s=g("path"),a=g("path"),l=g("path"),u=g("path"),c=g("path"),d=g("path"),m=b(),v=y(k),x=b(),A=_("span"),L.c(),T=b(),Y&&Y.c(),C(s,"fill-rule","evenodd"),C(s,"clip-rule","evenodd"),C(s,"d","M0.5 3.675C0.5 1.64535 2.14535 0 4.175 0H14.675C16.7046 0 18.35 1.64535 18.35 3.675V13.4312C18.35 14.4319 17.9419 15.3893 17.2201 16.0823L13.164 19.9761C12.4796 20.6331 11.5676 21 10.6189 21H4.175C2.14536 21 0.5 19.3546 0.5 17.325V3.675ZM4.175 2.1C3.30515 2.1 2.6 2.80515 2.6 3.675V17.325C2.6 18.1948 3.30515 18.9 4.175 18.9H10.6189C11.0255 18.9 11.4164 18.7428 11.7097 18.4612L15.7657 14.5674C16.0751 14.2704 16.25 13.86 16.25 13.4312V3.675C16.25 2.80515 15.5448 2.1 14.675 2.1H4.175Z"),C(s,"fill","black"),C(a,"fill-rule","evenodd"),C(a,"clip-rule","evenodd"),C(a,"d","M16.775 14.9625L12.575 14.9625C12.1401 14.9625 11.7875 15.3151 11.7875 15.75L11.7875 19.95L10.2125 19.95L10.2125 15.75C10.2125 14.4452 11.2703 13.3875 12.575 13.3875L16.775 13.3875L16.775 14.9625Z"),C(a,"fill","black"),C(l,"fill-rule","evenodd"),C(l,"clip-rule","evenodd"),C(l,"d","M6.27502 4.9875C6.27502 4.55258 6.6276 4.2 7.06252 4.2H11.7875C12.2224 4.2 12.575 4.55258 12.575 4.9875C12.575 5.42242 12.2224 5.775 11.7875 5.775H7.06252C6.6276 5.775 6.27502 5.42242 6.27502 4.9875Z"),C(l,"fill","black"),C(u,"fill-rule","evenodd"),C(u,"clip-rule","evenodd"),C(u,"d","M4.70001 8.1375C4.70001 7.70258 5.05259 7.35 5.48751 7.35H13.3625C13.7974 7.35 14.15 7.70258 14.15 8.1375C14.15 8.57242 13.7974 8.925 13.3625 8.925H5.48751C5.05259 8.925 4.70001 8.57242 4.70001 8.1375Z"),C(u,"fill","black"),C(c,"fill-rule","evenodd"),C(c,"clip-rule","evenodd"),C(c,"d","M4.70001 11.8125C4.70001 11.3776 5.05259 11.025 5.48751 11.025H13.3625C13.7974 11.025 14.15 11.3776 14.15 11.8125C14.15 12.2474 13.7974 12.6 13.3625 12.6H5.48751C5.05259 12.6 4.70001 12.2474 4.70001 11.8125Z"),C(c,"fill","black"),C(d,"fill-rule","evenodd"),C(d,"clip-rule","evenodd"),C(d,"d","M4.70001 15.4875C4.70001 15.0526 5.05259 14.7 5.48751 14.7H8.11251C8.54744 14.7 8.90001 15.0526 8.90001 15.4875C8.90001 15.9224 8.54744 16.275 8.11251 16.275H5.48751C5.05259 16.275 4.70001 15.9224 4.70001 15.4875Z"),C(d,"fill","black"),C(i,"width","19"),C(i,"height","21"),C(i,"viewBox","0 0 19 21"),C(i,"fill","none"),C(i,"xmlns","http://www.w3.org/2000/svg"),E(o,O),E(A,F),E(r,$),B(r,"Active",/*showTermsSectionContent*/e[10]),E(n,z)},m(t,f){p(t,n,f),h(n,r),h(r,o),h(o,i),h(i,s),h(i,a),h(i,l),h(i,u),h(i,c),h(i,d),h(o,m),h(o,v),h(r,x),h(r,A),L.m(A,null),h(n,T),Y&&Y.m(n,null),S||(P=w(r,"click",/*click_handler_5*/e[51]),S=!0)},p(e,t){/*$_*/8388608&t[0]&&k!==(k=/*$_*/e[23]("bonusCard.terms")+"")&&D(v,k,O.contenteditable),I!==(I=N(e))&&(L.d(1),L=I(e),L&&(L.c(),L.m(A,null))),/*showTermsSectionContent*/1024&t[0]&&B(r,"Active",/*showTermsSectionContent*/e[10]),/*showTermsSectionContent*/e[10]?Y?Y.p(e,t):(Y=Qd(e),Y.c(),Y.m(n,null)):Y&&(Y.d(1),Y=null)},d(e){e&&f(n),L.d(),Y&&Y.d(),S=!1,P()}}}
13653
+ return e[10]?Xd:Jd}let L=N(e),I=L(e),H=[/*classWithPart*/e[34]("BonusCardTermsButton")],F={};for(let e=0;e<H.length;e+=1)F=t(F,H[e]);let R=[/*classWithPart*/e[34]("BonusCardTermsHeader")],$={};for(let e=0;e<R.length;e+=1)$=t($,R[e]);let Y=/*showTermsSectionContent*/e[10]&&Qd(e),U=[/*classWithPart*/e[34]("BonusCardTerms")],z={};for(let e=0;e<U.length;e+=1)z=t(z,U[e]);return{c(){n=_("div"),r=_("div"),o=_("span"),i=g("svg"),s=g("path"),a=g("path"),l=g("path"),u=g("path"),c=g("path"),d=g("path"),m=b(),v=y(k),x=b(),A=_("span"),I.c(),T=b(),Y&&Y.c(),C(s,"fill-rule","evenodd"),C(s,"clip-rule","evenodd"),C(s,"d","M0.5 3.675C0.5 1.64535 2.14535 0 4.175 0H14.675C16.7046 0 18.35 1.64535 18.35 3.675V13.4312C18.35 14.4319 17.9419 15.3893 17.2201 16.0823L13.164 19.9761C12.4796 20.6331 11.5676 21 10.6189 21H4.175C2.14536 21 0.5 19.3546 0.5 17.325V3.675ZM4.175 2.1C3.30515 2.1 2.6 2.80515 2.6 3.675V17.325C2.6 18.1948 3.30515 18.9 4.175 18.9H10.6189C11.0255 18.9 11.4164 18.7428 11.7097 18.4612L15.7657 14.5674C16.0751 14.2704 16.25 13.86 16.25 13.4312V3.675C16.25 2.80515 15.5448 2.1 14.675 2.1H4.175Z"),C(s,"fill","black"),C(a,"fill-rule","evenodd"),C(a,"clip-rule","evenodd"),C(a,"d","M16.775 14.9625L12.575 14.9625C12.1401 14.9625 11.7875 15.3151 11.7875 15.75L11.7875 19.95L10.2125 19.95L10.2125 15.75C10.2125 14.4452 11.2703 13.3875 12.575 13.3875L16.775 13.3875L16.775 14.9625Z"),C(a,"fill","black"),C(l,"fill-rule","evenodd"),C(l,"clip-rule","evenodd"),C(l,"d","M6.27502 4.9875C6.27502 4.55258 6.6276 4.2 7.06252 4.2H11.7875C12.2224 4.2 12.575 4.55258 12.575 4.9875C12.575 5.42242 12.2224 5.775 11.7875 5.775H7.06252C6.6276 5.775 6.27502 5.42242 6.27502 4.9875Z"),C(l,"fill","black"),C(u,"fill-rule","evenodd"),C(u,"clip-rule","evenodd"),C(u,"d","M4.70001 8.1375C4.70001 7.70258 5.05259 7.35 5.48751 7.35H13.3625C13.7974 7.35 14.15 7.70258 14.15 8.1375C14.15 8.57242 13.7974 8.925 13.3625 8.925H5.48751C5.05259 8.925 4.70001 8.57242 4.70001 8.1375Z"),C(u,"fill","black"),C(c,"fill-rule","evenodd"),C(c,"clip-rule","evenodd"),C(c,"d","M4.70001 11.8125C4.70001 11.3776 5.05259 11.025 5.48751 11.025H13.3625C13.7974 11.025 14.15 11.3776 14.15 11.8125C14.15 12.2474 13.7974 12.6 13.3625 12.6H5.48751C5.05259 12.6 4.70001 12.2474 4.70001 11.8125Z"),C(c,"fill","black"),C(d,"fill-rule","evenodd"),C(d,"clip-rule","evenodd"),C(d,"d","M4.70001 15.4875C4.70001 15.0526 5.05259 14.7 5.48751 14.7H8.11251C8.54744 14.7 8.90001 15.0526 8.90001 15.4875C8.90001 15.9224 8.54744 16.275 8.11251 16.275H5.48751C5.05259 16.275 4.70001 15.9224 4.70001 15.4875Z"),C(d,"fill","black"),C(i,"width","19"),C(i,"height","21"),C(i,"viewBox","0 0 19 21"),C(i,"fill","none"),C(i,"xmlns","http://www.w3.org/2000/svg"),E(o,O),E(A,F),E(r,$),B(r,"Active",/*showTermsSectionContent*/e[10]),E(n,z)},m(t,f){p(t,n,f),h(n,r),h(r,o),h(o,i),h(i,s),h(i,a),h(i,l),h(i,u),h(i,c),h(i,d),h(o,m),h(o,v),h(r,x),h(r,A),I.m(A,null),h(n,T),Y&&Y.m(n,null),S||(P=w(r,"click",/*click_handler_5*/e[51]),S=!0)},p(e,t){/*$_*/8388608&t[0]&&k!==(k=/*$_*/e[23]("bonusCard.terms")+"")&&D(v,k,O.contenteditable),L!==(L=N(e))&&(I.d(1),I=L(e),I&&(I.c(),I.m(A,null))),/*showTermsSectionContent*/1024&t[0]&&B(r,"Active",/*showTermsSectionContent*/e[10]),/*showTermsSectionContent*/e[10]?Y?Y.p(e,t):(Y=Qd(e),Y.c(),Y.m(n,null)):Y&&(Y.d(1),Y=null)},d(e){e&&f(n),I.d(),Y&&Y.d(),S=!1,P()}}}
13654
13654
  // (714:14) {:else}
13655
13655
  function Xd(e){let t,n;return{c(){t=g("svg"),n=g("path"),C(n,"d","M16.1422 10.071L9.07108 2.99998L2.00002 10.071"),C(n,"stroke","black"),C(n,"stroke-width","3"),C(n,"stroke-linecap","round"),C(t,"width","18"),C(t,"height","12"),C(t,"viewBox","0 0 18 12"),C(t,"fill","none"),C(t,"xmlns","http://www.w3.org/2000/svg")},m(e,r){p(e,t,r),h(t,n)},d(e){e&&f(t)}}}
13656
13656
  // (710:14) {#if !showTermsSectionContent}
@@ -13668,9 +13668,9 @@ function nh(e){let n,r,o=/*$_*/e[23]("bonusCard.error")+"",i=[/*classWithPart*/e
13668
13668
  // (763:8) {#if status === 'active' && bonus.status === 'active'}
13669
13669
  function rh(e){let n,r,o,i,s,a=/*$_*/e[23]("bonusCard.forfeit")+"",l=[
13670
13670
  /*classWithPart*/e[34]("BonusForfeitButton"),{type:"button"},{disabled:o=!/*isButtonClickable*/e[11]}],u={};for(let e=0;e<l.length;e+=1)u=t(u,l[e]);return{c(){n=_("button"),r=y(a),E(n,u)},m(t,o){p(t,n,o),h(n,r),n.autofocus&&n.focus(),i||(s=w(n,"click",/*eventForfeitBonus*/e[25]),i=!0)},p(e,t){/*$_*/8388608&t[0]&&a!==(a=/*$_*/e[23]("bonusCard.forfeit")+"")&&D(r,a,u.contenteditable),E(n,u=Z(l,[
13671
- /*classWithPart*/e[34]("BonusForfeitButton"),{type:"button"},/*isButtonClickable*/2048&t[0]&&o!==(o=!/*isButtonClickable*/e[11])&&{disabled:o}]))},d(e){e&&f(n),i=!1,s()}}}function oh(t){let n,r=/*bonus*/t[3]&&sd(t);return{c(){r&&r.c(),n=v(),this.c=e},m(e,t){r&&r.m(e,t),p(e,n,t)},p(e,t){/*bonus*/e[3]?r?r.p(e,t):(r=sd(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},i:e,o:e,d(e){r&&r.d(e),e&&f(n)}}}function ih(e,t,n){let r,o;c(e,Nn,(e=>n(23,o=e)));var i=this&&this.__rest||function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};let s,a,l,u,d,h,{rawbonus:p=""}=t,{lang:f="en"}=t,{status:m=""}=t,{clientstyling:_=""}=t,{clientstylingurl:g=""}=t,{cmsendpoint:y=""}=t,{translationurl:b=""}=t,v=[],w=!1,C=!1,x=!1,E=!1,A=!0,T=!1,S=!1,P={},D="",k="",M=!1,B=[],O=0;Object.keys(Vr).forEach((e=>{In(e,Vr[e])})),L((()=>(window.addEventListener("message",H,!1),()=>{window.removeEventListener("message",H)})));const N=e=>{if(!e||!e.vendorGamesDetail)return[];let t=[];return Object.keys(e.vendorGamesDetail).length>0&&Object.keys(e.vendorGamesDetail).forEach((n=>{t=e.vendorGamesDetail[n]})),t},I=e=>{if(!e)return[];const t=[];let r=!1;return e.map(((e,n)=>{const{maxRepeats:o,completedTime:s}=e,a=i(e,["maxRepeats","completedTime"]);0===o&&(r=!0);for(let e=0;e<o;e++)t.push(Object.assign({},a))})),n(6,a=r?0:t.length),t},H=e=>{switch(e.data.type){case"OnBonusClaimedDone":n(11,A=!0);break;case"OnBonusForfeitedDone":n(11,A=!0);case"OnBonusClaimError":e.data.bonusCode===s.code&&n(13,S=!0)}},R=(e,t)=>({remainder:e%t,quotient:Math.floor(e/t)}),$=e=>{const t=new Date;return new Date(e).getTime()-t.getTime()},Y=e=>{const t=$(e)/6e4,{quotient:n,remainder:r}=R(t,1440),{quotient:o,remainder:i}=R(r,60),s=Math.floor(i);return[{value:n,symbol:"d"},{value:o,symbol:"h"},{value:s,symbol:"m"}].map((e=>{return t=e.value,(Math.abs(t)<10?`0${t}`:t)+e.symbol;var t})).join(" ")},U=(e,t,n,r)=>{const o=$(e);o<0?n():(r(Y(e)),
13671
+ /*classWithPart*/e[34]("BonusForfeitButton"),{type:"button"},/*isButtonClickable*/2048&t[0]&&o!==(o=!/*isButtonClickable*/e[11])&&{disabled:o}]))},d(e){e&&f(n),i=!1,s()}}}function oh(t){let n,r=/*bonus*/t[3]&&sd(t);return{c(){r&&r.c(),n=v(),this.c=e},m(e,t){r&&r.m(e,t),p(e,n,t)},p(e,t){/*bonus*/e[3]?r?r.p(e,t):(r=sd(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},i:e,o:e,d(e){r&&r.d(e),e&&f(n)}}}function ih(e,t,n){let r,o;c(e,Nn,(e=>n(23,o=e)));var i=this&&this.__rest||function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};let s,a,l,u,d,h,{rawbonus:p=""}=t,{lang:f="en"}=t,{status:m=""}=t,{clientstyling:_=""}=t,{clientstylingurl:g=""}=t,{cmsendpoint:y=""}=t,{translationurl:b=""}=t,v=[],w=!1,C=!1,x=!1,E=!1,A=!0,T=!1,S=!1,P={},D="",k="",M=!1,B=[],O=0;Object.keys(Vr).forEach((e=>{Ln(e,Vr[e])})),I((()=>(window.addEventListener("message",H,!1),()=>{window.removeEventListener("message",H)})));const N=e=>{if(!e||!e.vendorGamesDetail)return[];let t=[];return Object.keys(e.vendorGamesDetail).length>0&&Object.keys(e.vendorGamesDetail).forEach((n=>{t=e.vendorGamesDetail[n]})),t},L=e=>{if(!e)return[];const t=[];let r=!1;return e.map(((e,n)=>{const{maxRepeats:o,completedTime:s}=e,a=i(e,["maxRepeats","completedTime"]);0===o&&(r=!0);for(let e=0;e<o;e++)t.push(Object.assign({},a))})),n(6,a=r?0:t.length),t},H=e=>{switch(e.data.type){case"OnBonusClaimedDone":n(11,A=!0);break;case"OnBonusForfeitedDone":n(11,A=!0);case"OnBonusClaimError":e.data.bonusCode===s.code&&n(13,S=!0)}},R=(e,t)=>({remainder:e%t,quotient:Math.floor(e/t)}),$=e=>{const t=new Date;return new Date(e).getTime()-t.getTime()},Y=e=>{const t=$(e)/6e4,{quotient:n,remainder:r}=R(t,1440),{quotient:o,remainder:i}=R(r,60),s=Math.floor(i);return[{value:n,symbol:"d"},{value:o,symbol:"h"},{value:s,symbol:"m"}].map((e=>{return t=e.value,(Math.abs(t)<10?`0${t}`:t)+e.symbol;var t})).join(" ")},U=(e,t,n,r)=>{const o=$(e);o<0?n():(r(Y(e)),
13672
13672
  // check if bonus will expire
13673
- o<t&&setTimeout((()=>{window.postMessage({type:"OnWageringBonusExpired"})}),o))},z=()=>{s&&((s.endTime||s.trigger&&s.trigger.endTime)&&U(s.endTime||s.trigger.endTime,3e4,(()=>n(17,D="Expired")),(e=>n(17,D=e))),s.expiryDate&&U(s.expiryDate,3e4,(()=>n(16,u="Expired")),(e=>n(16,u=e))))},W=(e,t)=>{switch(t.type){case"standard":case"freeBet":return((e,t)=>{let n;n=o(`bonusType.${t.type}`);const r=Qc(Object.keys(e.increment)[0]);return"percentage"===t.mode?`${100*t.bonusAmount}% up to ${r}${t.capAmount} ${n}`:"fixed"===t.mode?`${r}${t.bonusAmount} ${n}`:void 0})(e,t);case"freeRound":return`${t.freespinNumber} Free Spins`;case"tournamentTicket":return"Enroll to Tournament Ticket";case"oddsBoost":return"Enroll to Odds Boost";case"cashBack":return"Enroll to Cash Back";case"stakeBack":return"Enroll to Stake Back"}},V=e=>{window.postMessage({type:"BonusGameAction",gameId:e.id,name:e.name,gameLaunchUrl:e.href},window.location.href)},j=e=>{n(19,M=!0),n(20,h=e)},G=()=>{n(19,M=!1),n(20,h=-1)};return e.$$set=e=>{"rawbonus"in e&&n(39,p=e.rawbonus),"lang"in e&&n(40,f=e.lang),"status"in e&&n(0,m=e.status),"clientstyling"in e&&n(1,_=e.clientstyling),"clientstylingurl"in e&&n(2,g=e.clientstylingurl),"cmsendpoint"in e&&n(41,y=e.cmsendpoint),"translationurl"in e&&n(42,b=e.translationurl)},e.$$.update=()=>{var t;/*status*/1&e.$$.dirty[0]&&("claimable"===m&&n(7,w=!0),"active"===m&&n(7,w=!0)),/*status*/1&e.$$.dirty[0]|/*rawbonus, lang*/768&e.$$.dirty[1]&&n(43,r=p&&f&&m),/*initialLoad*/4096&e.$$.dirty[1]&&r&&(()=>{try{n(3,s=JSON.parse(p))}catch(e){}s&&("wagering"===s.type&&n(8,C=!0),n(15,l=Qc(s.currency)),n(5,v=I(s.levels)),"freeRound"===s.type&&n(21,B=N(s.freeSpin)),z())})(),/*bonus*/8&e.$$.dirty[0]|/*initialLoad, lang, cmsendpoint*/5632&e.$$.dirty[1]&&r&&s&&(f&&Ln(f),y?(t=s.id,fetch(`${y}/${f}/bonuses-information/${t}`).then((e=>e.json())).then((e=>{e&&e[t]&&(n(12,T=!0),n(14,P=e[t]))}))):(e=>{var t,r;n(18,k=e.url?e.url:null===(r=null===(t=e.presentation)||void 0===t?void 0:t.url)||void 0===r?void 0:r.content)})(s)),/*clientstyling, customStylingContainer*/18&e.$$.dirty[0]&&_&&d&&(()=>{let e=document.createElement("style");e.innerHTML=_,d.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/20&e.$$.dirty[0]&&g&&d&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{d.appendChild(t)}),1)}))})(),/*translationurl*/2048&e.$$.dirty[1]&&b&&fetch(b).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{In(t,e[t])}))})).catch((e=>{console.log(e)}))},[m,_,g,s,d,v,a,w,C,x,E,A,T,S,P,l,u,D,k,M,h,B,O,o,()=>{n(11,A=!1),n(13,S=!1),window.postMessage({type:"OnBonusClaimed",bonusCode:s.code})},()=>{n(11,A=!1),window.postMessage({type:"OnBonusForfeit",bonus:s})},e=>{let t=(10*e.initialWagerRequirementAmount-10*e.remainingWagerRequirementAmount)/10;return"released"===e.status&&(t+=e.remainingAmount),t},e=>{var t,n;return((10*(null===(t=e.wageringProgress)||void 0===t?void 0:t.currentLevelIncrement)-10*(null===(n=e.wageringProgress)||void 0===n?void 0:n.gap))/10).toFixed(1)},e=>{var t,n,r;let o,i;return"wagering"===e.type&&"active"===e.status&&"money"===e.wageringType?(i=null===(t=e.wageringProgress)||void 0===t?void 0:t.currentLevelIncrement,0!=i&&(o=(((null===(n=e.wageringProgress)||void 0===n?void 0:n.currentLevelIncrement)-(null===(r=e.wageringProgress)||void 0===r?void 0:r.gap))/i*100).toFixed(1))):"released"==e.status?o=100:(i=e.initialWagerRequirementAmount,0!=i&&(o=((e.initialWagerRequirementAmount-e.remainingWagerRequirementAmount)/i*100).toFixed(1))),Number(o)},e=>jr(e).format("YYYY-MM-DD hh:mm:ss"),e=>{if(!e.wallet)return;let t=e.wallet.validityMinutes;return 0===t?"infinite":Math.round(t/1440)+" days"},e=>{if(e.products)return e.products;{let t=[];return e.wallet&&(e.wallet.casino&&t.push("Casino"),e.wallet.sports&&t.push("Sports")),t}},W,(e,t)=>{var n;const r=(null===(n=e.wageringProgress)||void 0===n?void 0:n.currentLevel)-1,o=t.length-1,i=e=>e.filter((e=>e.index>=0&&e.index<=o)).map((e=>{const n=t[e.index];return{label:e.label,desc:n.bonuses.map((e=>W(n,e)))}}));return"active"===e.status?i([{label:"current",index:r},{label:"next",index:r+1}]):e.status?i([{label:"last",index:o},{label:"previous",index:o-1}]):i([{label:"first",index:0},{label:"next",index:1}])},(e,t="")=>({part:e,class:[e,t].join(" ")}),V,j,G,(e,t)=>{let n=document.createElement("div");n.innerHTML=t,e.append(n)},p,f,y,b,r,()=>n(22,O+=300),e=>V(e),e=>j(e),()=>G(),()=>n(22,O-=300),()=>{n(9,x=!x)},()=>window.postMessage({type:"OnWageringBonusAllRewardsClick",bonusWalletID:s.id}),()=>{n(10,E=!E)},function(e){F[e?"unshift":"push"]((()=>{d=e,n(4,d)}))}]}function sh({totalItems:e,pageSize:t,currentPage:n,limit:r}){const o=Math.ceil(e/t),i=r&&o>function(e){return 2*e+3+2}
13673
+ o<t&&setTimeout((()=>{window.postMessage({type:"OnWageringBonusExpired"})}),o))},z=()=>{s&&((s.endTime||s.trigger&&s.trigger.endTime)&&U(s.endTime||s.trigger.endTime,3e4,(()=>n(17,D="Expired")),(e=>n(17,D=e))),s.expiryDate&&U(s.expiryDate,3e4,(()=>n(16,u="Expired")),(e=>n(16,u=e))))},W=(e,t)=>{switch(t.type){case"standard":case"freeBet":return((e,t)=>{let n;n=o(`bonusType.${t.type}`);const r=Qc(Object.keys(e.increment)[0]);return"percentage"===t.mode?`${100*t.bonusAmount}% up to ${r}${t.capAmount} ${n}`:"fixed"===t.mode?`${r}${t.bonusAmount} ${n}`:void 0})(e,t);case"freeRound":return`${t.freespinNumber} Free Spins`;case"tournamentTicket":return"Enroll to Tournament Ticket";case"oddsBoost":return"Enroll to Odds Boost";case"cashBack":return"Enroll to Cash Back";case"stakeBack":return"Enroll to Stake Back"}},V=e=>{window.postMessage({type:"BonusGameAction",gameId:e.id,name:e.name,gameLaunchUrl:e.href},window.location.href)},j=e=>{n(19,M=!0),n(20,h=e)},G=()=>{n(19,M=!1),n(20,h=-1)};return e.$$set=e=>{"rawbonus"in e&&n(39,p=e.rawbonus),"lang"in e&&n(40,f=e.lang),"status"in e&&n(0,m=e.status),"clientstyling"in e&&n(1,_=e.clientstyling),"clientstylingurl"in e&&n(2,g=e.clientstylingurl),"cmsendpoint"in e&&n(41,y=e.cmsendpoint),"translationurl"in e&&n(42,b=e.translationurl)},e.$$.update=()=>{var t;/*status*/1&e.$$.dirty[0]&&("claimable"===m&&n(7,w=!0),"active"===m&&n(7,w=!0)),/*status*/1&e.$$.dirty[0]|/*rawbonus, lang*/768&e.$$.dirty[1]&&n(43,r=p&&f&&m),/*initialLoad*/4096&e.$$.dirty[1]&&r&&(()=>{try{n(3,s=JSON.parse(p))}catch(e){}s&&("wagering"===s.type&&n(8,C=!0),n(15,l=Qc(s.currency)),n(5,v=L(s.levels)),"freeRound"===s.type&&n(21,B=N(s.freeSpin)),z())})(),/*bonus*/8&e.$$.dirty[0]|/*initialLoad, lang, cmsendpoint*/5632&e.$$.dirty[1]&&r&&s&&(f&&In(f),y?(t=s.id,fetch(`${y}/${f}/bonuses-information/${t}`).then((e=>e.json())).then((e=>{e&&e[t]&&(n(12,T=!0),n(14,P=e[t]))}))):(e=>{var t,r;n(18,k=e.url?e.url:null===(r=null===(t=e.presentation)||void 0===t?void 0:t.url)||void 0===r?void 0:r.content)})(s)),/*clientstyling, customStylingContainer*/18&e.$$.dirty[0]&&_&&d&&(()=>{let e=document.createElement("style");e.innerHTML=_,d.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/20&e.$$.dirty[0]&&g&&d&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{d.appendChild(t)}),1)}))})(),/*translationurl*/2048&e.$$.dirty[1]&&b&&fetch(b).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Ln(t,e[t])}))})).catch((e=>{console.log(e)}))},[m,_,g,s,d,v,a,w,C,x,E,A,T,S,P,l,u,D,k,M,h,B,O,o,()=>{n(11,A=!1),n(13,S=!1),window.postMessage({type:"OnBonusClaimed",bonusCode:s.code})},()=>{n(11,A=!1),window.postMessage({type:"OnBonusForfeit",bonus:s})},e=>{let t=(10*e.initialWagerRequirementAmount-10*e.remainingWagerRequirementAmount)/10;return"released"===e.status&&(t+=e.remainingAmount),t},e=>{var t,n;return((10*(null===(t=e.wageringProgress)||void 0===t?void 0:t.currentLevelIncrement)-10*(null===(n=e.wageringProgress)||void 0===n?void 0:n.gap))/10).toFixed(1)},e=>{var t,n,r;let o,i;return"wagering"===e.type&&"active"===e.status&&"money"===e.wageringType?(i=null===(t=e.wageringProgress)||void 0===t?void 0:t.currentLevelIncrement,0!=i&&(o=(((null===(n=e.wageringProgress)||void 0===n?void 0:n.currentLevelIncrement)-(null===(r=e.wageringProgress)||void 0===r?void 0:r.gap))/i*100).toFixed(1))):"released"==e.status?o=100:(i=e.initialWagerRequirementAmount,0!=i&&(o=((e.initialWagerRequirementAmount-e.remainingWagerRequirementAmount)/i*100).toFixed(1))),Number(o)},e=>jr(e).format("YYYY-MM-DD hh:mm:ss"),e=>{if(!e.wallet)return;let t=e.wallet.validityMinutes;return 0===t?"infinite":Math.round(t/1440)+" days"},e=>{if(e.products)return e.products;{let t=[];return e.wallet&&(e.wallet.casino&&t.push("Casino"),e.wallet.sports&&t.push("Sports")),t}},W,(e,t)=>{var n;const r=(null===(n=e.wageringProgress)||void 0===n?void 0:n.currentLevel)-1,o=t.length-1,i=e=>e.filter((e=>e.index>=0&&e.index<=o)).map((e=>{const n=t[e.index];return{label:e.label,desc:n.bonuses.map((e=>W(n,e)))}}));return"active"===e.status?i([{label:"current",index:r},{label:"next",index:r+1}]):e.status?i([{label:"last",index:o},{label:"previous",index:o-1}]):i([{label:"first",index:0},{label:"next",index:1}])},(e,t="")=>({part:e,class:[e,t].join(" ")}),V,j,G,(e,t)=>{let n=document.createElement("div");n.innerHTML=t,e.append(n)},p,f,y,b,r,()=>n(22,O+=300),e=>V(e),e=>j(e),()=>G(),()=>n(22,O-=300),()=>{n(9,x=!x)},()=>window.postMessage({type:"OnWageringBonusAllRewardsClick",bonusWalletID:s.id}),()=>{n(10,E=!E)},function(e){F[e?"unshift":"push"]((()=>{d=e,n(4,d)}))}]}function sh({totalItems:e,pageSize:t,currentPage:n,limit:r}){const o=Math.ceil(e/t),i=r&&o>function(e){return 2*e+3+2}
13674
13674
  /* src/component/CasinoBonusPagination.svelte generated by Svelte v3.59.2 */(r),s=i?function({totalPages:e,limit:t,currentPage:n}){const r=2*t+2,o=1+r,i=e-r,s=o+2;if(n<=o-t)return Array(s).fill(null).map(((t,n)=>n===s-1?{type:"number",value:e}:n===s-2?{type:"symbol",symbol:".",value:o+1}:{type:"number",value:n+1}));if(n>=i+t)return Array(s).fill(null).map(((e,t)=>0===t?{type:"number",value:1}:1===t?{type:"symbol",symbol:".",value:i-1}:{type:"number",value:i+t-2}));if(n>=o-t&&n<=i+t)return Array(s).fill(null).map(((r,o)=>0===o?{type:"number",value:1}:1===o?{type:"symbol",symbol:".",value:n-t+(o-2)}:o===s-1?{type:"number",value:e}:o===s-2?{type:"symbol",symbol:".",value:n+t+1}:{type:"number",value:n-t+(o-2)}));return[]}({totalPages:o,limit:r,currentPage:n}):function({totalPages:e}){return new Array(e).fill(null).map(((e,t)=>({type:"number",value:t+1})))}({totalPages:o});return[{type:"symbol",symbol:"&lt;",value:n<=1?1:n-1},...s||[],{type:"symbol",symbol:"&gt;",value:n>=o?o:n+1}]}function ah(e,t,n){const r=e.slice();return r[27]=t[n],r}
13675
13675
  // (90:69)
13676
13676
  function lh(t){let n;return{c(){n=_("slot"),n.textContent=">",C(n,"name","next")},m(e,t){p(e,n,t)},p:e,d(e){e&&f(n)}}}
@@ -13695,12 +13695,12 @@ function yh(e){let n,r,o,i,s=/*status*/e[67]+"",a=[{type:"button"},
13695
13695
  /*classWithPartMatchMobile*/e[24]("BonusStatusFilter"),{disabled:/*isLoading*/e[10]}],l={};for(let e=0;e<a.length;e+=1)l=t(l,a[e]);function u(){/*click_handler*/
13696
13696
  return e[38](/*status*/e[67])}return{c(){n=_("button"),r=y(s),E(n,l),B(n,"active",/*status*/e[67]===/*bonusStatus*/e[21])},m(e,t){p(e,n,t),h(n,r),n.autofocus&&n.focus(),o||(i=w(n,"click",u),o=!0)},p(t,r){e=t,E(n,l=Z(a,[{type:"button"},/*classWithPartMatchMobile*/16777216&r[0]&&/*classWithPartMatchMobile*/e[24]("BonusStatusFilter"),/*isLoading*/1024&r[0]&&{disabled:/*isLoading*/e[10]}])),B(n,"active",/*status*/e[67]===/*bonusStatus*/e[21])},d(e){e&&f(n),o=!1,i()}}}
13697
13697
  // (311:40)
13698
- function bh(e){let n,r,o,i,s,a,l,u,c,d,m,g,v,x,A,T,S,k,M,B,O,N,I=/*$_*/e[25]("bonus.canlendarTitle")+"",L=/*$_*/e[25]("bonus.from")+"",H=/*$_*/e[25]("bonus.to")+"",F=/*$_*/e[25]("bonus.filter")+"",R=[/*classWithPart*/e[31]("BonusCalendarTitle")],$={};for(let e=0;e<R.length;e+=1)$=t($,R[e]);let Y=[{max:/*maxDate*/e[15]},{value:/*lastMonth*/e[16]},{placeholder:"From"},
13698
+ function bh(e){let n,r,o,i,s,a,l,u,c,d,m,g,v,x,A,T,S,k,M,B,O,N,L=/*$_*/e[25]("bonus.canlendarTitle")+"",I=/*$_*/e[25]("bonus.from")+"",H=/*$_*/e[25]("bonus.to")+"",F=/*$_*/e[25]("bonus.filter")+"",R=[/*classWithPart*/e[31]("BonusCalendarTitle")],$={};for(let e=0;e<R.length;e+=1)$=t($,R[e]);let Y=[{max:/*maxDate*/e[15]},{value:/*lastMonth*/e[16]},{placeholder:"From"},
13699
13699
  /*classWithPart*/e[31]("VaadinDatePicker")],U={};for(let e=0;e<Y.length;e+=1)U=t(U,Y[e]);let z=[/*classWithPartMatchMobile*/e[24]("BonusCalendarStartDate")],W={};for(let e=0;e<z.length;e+=1)W=t(W,z[e]);let V=[{value:/*maxDate*/e[15]},{placeholder:"To"},
13700
13700
  /*classWithPart*/e[31]("VaadinDatePicker")],j={};for(let e=0;e<V.length;e+=1)j=t(j,V[e]);let G=[/*classWithPartMatchMobile*/e[24]("BonusCalendarEndDate")],q={};for(let e=0;e<G.length;e+=1)q=t(q,G[e]);let K=[/*classWithPartMatchMobile*/e[24]("BonusCalendarContainer")],X={};for(let e=0;e<K.length;e+=1)X=t(X,K[e]);let J=[
13701
- /*classWithPartMatchMobile*/e[24]("BonusFilterButton"),{disabled:/*isLoading*/e[10]}],Q={};for(let e=0;e<J.length;e+=1)Q=t(Q,J[e]);let ee=[/*classWithPart*/e[31]("BonusCalendarContent")],te={};for(let e=0;e<ee.length;e+=1)te=t(te,ee[e]);let ne=[/*classWithPartMatchMobile*/e[24]("BonusCalendarWrapper")],re={};for(let e=0;e<ne.length;e+=1)re=t(re,ne[e]);return{c(){n=_("div"),r=_("div"),o=y(I),i=b(),s=_("div"),a=_("div"),l=_("div"),u=_("label"),c=y(L),d=b(),m=_("vaadin-date-picker"),g=b(),v=_("div"),x=_("label"),A=y(H),T=b(),S=_("vaadin-date-picker"),k=b(),M=_("button"),B=y(F),E(r,$),C(u,"for","BonusCalendarStartDate"),E(m,U),E(l,W),C(x,"for","BonusCalendarEndDate"),E(S,j),E(v,q),E(a,X),E(M,Q),E(s,te),E(n,re)},m(t,f){p(t,n,f),h(n,r),h(r,o),h(n,i),h(n,s),h(s,a),h(a,l),h(l,u),h(u,c),h(l,d),h(l,m),
13701
+ /*classWithPartMatchMobile*/e[24]("BonusFilterButton"),{disabled:/*isLoading*/e[10]}],Q={};for(let e=0;e<J.length;e+=1)Q=t(Q,J[e]);let ee=[/*classWithPart*/e[31]("BonusCalendarContent")],te={};for(let e=0;e<ee.length;e+=1)te=t(te,ee[e]);let ne=[/*classWithPartMatchMobile*/e[24]("BonusCalendarWrapper")],re={};for(let e=0;e<ne.length;e+=1)re=t(re,ne[e]);return{c(){n=_("div"),r=_("div"),o=y(L),i=b(),s=_("div"),a=_("div"),l=_("div"),u=_("label"),c=y(I),d=b(),m=_("vaadin-date-picker"),g=b(),v=_("div"),x=_("label"),A=y(H),T=b(),S=_("vaadin-date-picker"),k=b(),M=_("button"),B=y(F),E(r,$),C(u,"for","BonusCalendarStartDate"),E(m,U),E(l,W),C(x,"for","BonusCalendarEndDate"),E(S,j),E(v,q),E(a,X),E(M,Q),E(s,te),E(n,re)},m(t,f){p(t,n,f),h(n,r),h(r,o),h(n,i),h(n,s),h(s,a),h(a,l),h(l,u),h(u,c),h(l,d),h(l,m),
13702
13702
  /*vaadin_date_picker0_binding*/e[41](m),h(a,g),h(a,v),h(v,x),h(x,A),h(v,T),h(v,S),
13703
- /*vaadin_date_picker1_binding*/e[42](S),h(s,k),h(s,M),h(M,B),M.autofocus&&M.focus(),O||(N=w(M,"click",/*click_handler_2*/e[43]),O=!0)},p(e,t){/*$_*/33554432&t[0]&&I!==(I=/*$_*/e[25]("bonus.canlendarTitle")+"")&&D(o,I,$.contenteditable),/*$_*/33554432&t[0]&&L!==(L=/*$_*/e[25]("bonus.from")+"")&&P(c,L),E(m,U=Z(Y,[/*maxDate*/32768&t[0]&&{max:/*maxDate*/e[15]},/*lastMonth*/65536&t[0]&&{value:/*lastMonth*/e[16]},{placeholder:"From"},
13703
+ /*vaadin_date_picker1_binding*/e[42](S),h(s,k),h(s,M),h(M,B),M.autofocus&&M.focus(),O||(N=w(M,"click",/*click_handler_2*/e[43]),O=!0)},p(e,t){/*$_*/33554432&t[0]&&L!==(L=/*$_*/e[25]("bonus.canlendarTitle")+"")&&D(o,L,$.contenteditable),/*$_*/33554432&t[0]&&I!==(I=/*$_*/e[25]("bonus.from")+"")&&P(c,I),E(m,U=Z(Y,[/*maxDate*/32768&t[0]&&{max:/*maxDate*/e[15]},/*lastMonth*/65536&t[0]&&{value:/*lastMonth*/e[16]},{placeholder:"From"},
13704
13704
  /*classWithPart*/e[31]("VaadinDatePicker")])),E(l,W=Z(z,[/*classWithPartMatchMobile*/16777216&t[0]&&/*classWithPartMatchMobile*/e[24]("BonusCalendarStartDate")])),/*$_*/33554432&t[0]&&H!==(H=/*$_*/e[25]("bonus.to")+"")&&P(A,H),E(S,j=Z(V,[/*maxDate*/32768&t[0]&&{value:/*maxDate*/e[15]},{placeholder:"To"},
13705
13705
  /*classWithPart*/e[31]("VaadinDatePicker")])),E(v,q=Z(G,[/*classWithPartMatchMobile*/16777216&t[0]&&/*classWithPartMatchMobile*/e[24]("BonusCalendarEndDate")])),E(a,X=Z(K,[/*classWithPartMatchMobile*/16777216&t[0]&&/*classWithPartMatchMobile*/e[24]("BonusCalendarContainer")])),/*$_*/33554432&t[0]&&F!==(F=/*$_*/e[25]("bonus.filter")+"")&&D(B,F,Q.contenteditable),E(M,Q=Z(J,[/*classWithPartMatchMobile*/16777216&t[0]&&/*classWithPartMatchMobile*/e[24]("BonusFilterButton"),/*isLoading*/1024&t[0]&&{disabled:/*isLoading*/e[10]}])),E(n,re=Z(ne,[/*classWithPartMatchMobile*/16777216&t[0]&&/*classWithPartMatchMobile*/e[24]("BonusCalendarWrapper")]))},d(t){t&&f(n)
13706
13706
  /*vaadin_date_picker0_binding*/,e[41](null),
@@ -13708,7 +13708,7 @@ function bh(e){let n,r,o,i,s,a,l,u,c,d,m,g,v,x,A,T,S,k,M,B,O,N,I=/*$_*/e[25]("bo
13708
13708
  // (300:2) {#if bonusStatus === 'claimable'}
13709
13709
  function vh(e){let n,r,i,s,a,l,u,c,d,m,g,v,x,A,T,S=/*$_*/e[25]("bonus.bonusCode")+"",M=/*$_*/e[25]("bonus.claim")+"",B=[
13710
13710
  /*classWithPartMatchMobile*/e[24]("BonusCodeInput"),{type:"text"},{id:"BonusCode"},{placeholder:c=/*$_*/e[25]("bonus.placeholder")}],O={};for(let e=0;e<B.length;e+=1)O=t(O,B[e]);let N=[
13711
- /*classWithPartMatchMobile*/e[24]("BonusClaimButton"),{disabled:v=/*invalidBonusField*/e[18]||!/*isButtonClickable*/e[22]}],I={};for(let e=0;e<N.length;e+=1)I=t(I,N[e]);let L=[/*classWithPartMatchMobile*/e[24]("BonusCodeWrapper")],H={};for(let e=0;e<L.length;e+=1)H=t(H,L[e]);let F=/*invalidBonusCode*/e[19]&&wh(e),R=[/*classWithPartMatchMobile*/e[24]("BonusCodeContainer")],$={};for(let e=0;e<R.length;e+=1)$=t($,R[e]);return{c(){n=_("div"),r=_("label"),i=_("span"),i.textContent="*",s=y(S),a=b(),l=_("div"),u=_("input"),d=b(),m=_("button"),g=y(M),x=b(),F&&F.c(),C(i,"class","Asterisk"),C(r,"for","BonusCode"),E(u,O),E(m,I),E(l,H),E(n,$)},m(t,o){p(t,n,o),h(n,r),h(r,i),h(r,s),h(n,a),h(n,l),h(l,u),u.autofocus&&u.focus(),k(u,/*bonusCode*/e[17]),h(l,d),h(l,m),h(m,g),m.autofocus&&m.focus(),h(n,x),F&&F.m(n,null),A||(T=[w(u,"input",/*input_input_handler*/e[39]),w(u,"keyup",/*validateBonusCode*/e[32]),w(m,"click",/*click_handler_1*/e[40])],A=!0)},p(e,t){/*$_*/33554432&t[0]&&S!==(S=/*$_*/e[25]("bonus.bonusCode")+"")&&P(s,S),E(u,O=Z(B,[/*classWithPartMatchMobile*/16777216&t[0]&&/*classWithPartMatchMobile*/e[24]("BonusCodeInput"),{type:"text"},{id:"BonusCode"},/*$_*/33554432&t[0]&&c!==(c=/*$_*/e[25]("bonus.placeholder"))&&{placeholder:c}])),/*bonusCode*/131072&t[0]&&u.value!==/*bonusCode*/e[17]&&k(u,/*bonusCode*/e[17]),/*$_*/33554432&t[0]&&M!==(M=/*$_*/e[25]("bonus.claim")+"")&&D(g,M,I.contenteditable),E(m,I=Z(N,[/*classWithPartMatchMobile*/16777216&t[0]&&/*classWithPartMatchMobile*/e[24]("BonusClaimButton"),/*invalidBonusField, isButtonClickable*/4456448&t[0]&&v!==(v=/*invalidBonusField*/e[18]||!/*isButtonClickable*/e[22])&&{disabled:v}])),E(l,H=Z(L,[/*classWithPartMatchMobile*/16777216&t[0]&&/*classWithPartMatchMobile*/e[24]("BonusCodeWrapper")])),/*invalidBonusCode*/e[19]?F?F.p(e,t):(F=wh(e),F.c(),F.m(n,null)):F&&(F.d(1),F=null),E(n,$=Z(R,[/*classWithPartMatchMobile*/16777216&t[0]&&/*classWithPartMatchMobile*/e[24]("BonusCodeContainer")]))},d(e){e&&f(n),F&&F.d(),A=!1,o(T)}}}
13711
+ /*classWithPartMatchMobile*/e[24]("BonusClaimButton"),{disabled:v=/*invalidBonusField*/e[18]||!/*isButtonClickable*/e[22]}],L={};for(let e=0;e<N.length;e+=1)L=t(L,N[e]);let I=[/*classWithPartMatchMobile*/e[24]("BonusCodeWrapper")],H={};for(let e=0;e<I.length;e+=1)H=t(H,I[e]);let F=/*invalidBonusCode*/e[19]&&wh(e),R=[/*classWithPartMatchMobile*/e[24]("BonusCodeContainer")],$={};for(let e=0;e<R.length;e+=1)$=t($,R[e]);return{c(){n=_("div"),r=_("label"),i=_("span"),i.textContent="*",s=y(S),a=b(),l=_("div"),u=_("input"),d=b(),m=_("button"),g=y(M),x=b(),F&&F.c(),C(i,"class","Asterisk"),C(r,"for","BonusCode"),E(u,O),E(m,L),E(l,H),E(n,$)},m(t,o){p(t,n,o),h(n,r),h(r,i),h(r,s),h(n,a),h(n,l),h(l,u),u.autofocus&&u.focus(),k(u,/*bonusCode*/e[17]),h(l,d),h(l,m),h(m,g),m.autofocus&&m.focus(),h(n,x),F&&F.m(n,null),A||(T=[w(u,"input",/*input_input_handler*/e[39]),w(u,"keyup",/*validateBonusCode*/e[32]),w(m,"click",/*click_handler_1*/e[40])],A=!0)},p(e,t){/*$_*/33554432&t[0]&&S!==(S=/*$_*/e[25]("bonus.bonusCode")+"")&&P(s,S),E(u,O=Z(B,[/*classWithPartMatchMobile*/16777216&t[0]&&/*classWithPartMatchMobile*/e[24]("BonusCodeInput"),{type:"text"},{id:"BonusCode"},/*$_*/33554432&t[0]&&c!==(c=/*$_*/e[25]("bonus.placeholder"))&&{placeholder:c}])),/*bonusCode*/131072&t[0]&&u.value!==/*bonusCode*/e[17]&&k(u,/*bonusCode*/e[17]),/*$_*/33554432&t[0]&&M!==(M=/*$_*/e[25]("bonus.claim")+"")&&D(g,M,L.contenteditable),E(m,L=Z(N,[/*classWithPartMatchMobile*/16777216&t[0]&&/*classWithPartMatchMobile*/e[24]("BonusClaimButton"),/*invalidBonusField, isButtonClickable*/4456448&t[0]&&v!==(v=/*invalidBonusField*/e[18]||!/*isButtonClickable*/e[22])&&{disabled:v}])),E(l,H=Z(I,[/*classWithPartMatchMobile*/16777216&t[0]&&/*classWithPartMatchMobile*/e[24]("BonusCodeWrapper")])),/*invalidBonusCode*/e[19]?F?F.p(e,t):(F=wh(e),F.c(),F.m(n,null)):F&&(F.d(1),F=null),E(n,$=Z(R,[/*classWithPartMatchMobile*/16777216&t[0]&&/*classWithPartMatchMobile*/e[24]("BonusCodeContainer")]))},d(e){e&&f(n),F&&F.d(),A=!1,o(T)}}}
13712
13712
  // (307:4) {#if invalidBonusCode}
13713
13713
  function wh(e){let t,n,r=/*$_*/e[25]("bonus.invalidBonusCode")+"";return{c(){t=_("p"),n=y(r),C(t,"class","InvalidBonusCodeMessage"),C(t,"part","InvalidBonusCodeMessage")},m(e,r){p(e,t,r),h(t,n)},p(e,t){/*$_*/33554432&t[0]&&r!==(r=/*$_*/e[25]("bonus.invalidBonusCode")+"")&&P(n,r)},d(e){e&&f(t)}}}
13714
13714
  // (336:2) {:else}
@@ -13727,9 +13727,9 @@ function Sh(e){let n,r,o,i=[{rawbonus:JSON.stringify(/*item*/e[64]),status:/*bon
13727
13727
  // (361:4) {#if bonuses.length !== 0}
13728
13728
  function Ph(e){let t;return{c(){t=_("casino-bonus-pagination"),T(t,"totalitems",/*totalItems*/e[13]),T(t,"currentpage",/*currentPage*/e[12]),T(t,"pagesize",/*limit*/e[1]),T(t,"limit",/*paginationLimit*/e[14]),T(t,"clientstyling",/*clientstyling*/e[3]),T(t,"clientstylingurl",/*clientstylingurl*/e[4])},m(e,n){p(e,t,n)},p(e,n){/*totalItems*/8192&n[0]&&T(t,"totalitems",/*totalItems*/e[13]),/*currentPage*/4096&n[0]&&T(t,"currentpage",/*currentPage*/e[12]),/*limit*/2&n[0]&&T(t,"pagesize",/*limit*/e[1]),/*paginationLimit*/16384&n[0]&&T(t,"limit",/*paginationLimit*/e[14]),/*clientstyling*/8&n[0]&&T(t,"clientstyling",/*clientstyling*/e[3]),/*clientstylingurl*/16&n[0]&&T(t,"clientstylingurl",/*clientstylingurl*/e[4])},d(e){e&&f(t)}}}
13729
13729
  // (366:2) {#if bonusModal}
13730
- function Dh(e){let n,r,i,s,a,l,u,c,d,m,g,v,C,x,A=/*$_*/e[25]("bonus.forfeitMessage")+"",T=/*$_*/e[25]("bonus.forfeitCancel")+"",S=/*$_*/e[25]("bonus.forfeitConfirm")+"",P=[/*classWithPart*/e[31]("ModalText")],k={};for(let e=0;e<P.length;e+=1)k=t(k,P[e]);let M=[/*classWithPart*/e[31]("ModalCancel")],B={};for(let e=0;e<M.length;e+=1)B=t(B,M[e]);let O=[/*classWithPart*/e[31]("ModalConfirm")],N={};for(let e=0;e<O.length;e+=1)N=t(N,O[e]);let I=[/*classWithPart*/e[31]("ModalButtons")],L={};for(let e=0;e<I.length;e+=1)L=t(L,I[e]);let H=[/*classWithPart*/e[31]("ModalBody")],F={};for(let e=0;e<H.length;e+=1)F=t(F,H[e]);let R=[/*classWithPart*/e[31]("ModalContent")],$={};for(let e=0;e<R.length;e+=1)$=t($,R[e]);let Y=[/*classWithPartMatchMobile*/e[24]("ModalWrapper")],U={};for(let e=0;e<Y.length;e+=1)U=t(U,Y[e]);return{c(){n=_("div"),r=_("div"),i=_("div"),s=_("p"),a=y(A),l=b(),u=_("div"),c=_("button"),d=y(T),m=b(),g=_("button"),v=y(S),E(s,k),E(c,B),E(g,N),E(u,L),E(i,F),E(r,$),E(n,U)},m(t,o){p(t,n,o),h(n,r),h(r,i),h(i,s),h(s,a),h(i,l),h(i,u),h(u,c),h(c,d),c.autofocus&&c.focus(),h(u,m),h(u,g),h(g,v),g.autofocus&&g.focus(),C||(x=[w(c,"click",/*closeBonusModal*/e[29]),w(g,"click",/*click_handler_3*/e[44])],C=!0)},p(e,t){/*$_*/33554432&t[0]&&A!==(A=/*$_*/e[25]("bonus.forfeitMessage")+"")&&D(a,A,k.contenteditable),/*$_*/33554432&t[0]&&T!==(T=/*$_*/e[25]("bonus.forfeitCancel")+"")&&D(d,T,B.contenteditable),/*$_*/33554432&t[0]&&S!==(S=/*$_*/e[25]("bonus.forfeitConfirm")+"")&&D(v,S,N.contenteditable),E(n,U=Z(Y,[/*classWithPartMatchMobile*/16777216&t[0]&&/*classWithPartMatchMobile*/e[24]("ModalWrapper")]))},d(e){e&&f(n),C=!1,o(x)}}}function kh(n){let r,o,i,s,a,l,u=/*StatusForFilter*/n[26],c=[];for(let e=0;e<u.length;e+=1)c[e]=yh(gh(n,u,e));let d=[/*classWithPartMatchMobile*/n[24]("BonusFilterWrapper")],g={};for(let e=0;e<d.length;e+=1)g=t(g,d[e]);function y(e,t){/*bonusStatus*/
13730
+ function Dh(e){let n,r,i,s,a,l,u,c,d,m,g,v,C,x,A=/*$_*/e[25]("bonus.forfeitMessage")+"",T=/*$_*/e[25]("bonus.forfeitCancel")+"",S=/*$_*/e[25]("bonus.forfeitConfirm")+"",P=[/*classWithPart*/e[31]("ModalText")],k={};for(let e=0;e<P.length;e+=1)k=t(k,P[e]);let M=[/*classWithPart*/e[31]("ModalCancel")],B={};for(let e=0;e<M.length;e+=1)B=t(B,M[e]);let O=[/*classWithPart*/e[31]("ModalConfirm")],N={};for(let e=0;e<O.length;e+=1)N=t(N,O[e]);let L=[/*classWithPart*/e[31]("ModalButtons")],I={};for(let e=0;e<L.length;e+=1)I=t(I,L[e]);let H=[/*classWithPart*/e[31]("ModalBody")],F={};for(let e=0;e<H.length;e+=1)F=t(F,H[e]);let R=[/*classWithPart*/e[31]("ModalContent")],$={};for(let e=0;e<R.length;e+=1)$=t($,R[e]);let Y=[/*classWithPartMatchMobile*/e[24]("ModalWrapper")],U={};for(let e=0;e<Y.length;e+=1)U=t(U,Y[e]);return{c(){n=_("div"),r=_("div"),i=_("div"),s=_("p"),a=y(A),l=b(),u=_("div"),c=_("button"),d=y(T),m=b(),g=_("button"),v=y(S),E(s,k),E(c,B),E(g,N),E(u,I),E(i,F),E(r,$),E(n,U)},m(t,o){p(t,n,o),h(n,r),h(r,i),h(i,s),h(s,a),h(i,l),h(i,u),h(u,c),h(c,d),c.autofocus&&c.focus(),h(u,m),h(u,g),h(g,v),g.autofocus&&g.focus(),C||(x=[w(c,"click",/*closeBonusModal*/e[29]),w(g,"click",/*click_handler_3*/e[44])],C=!0)},p(e,t){/*$_*/33554432&t[0]&&A!==(A=/*$_*/e[25]("bonus.forfeitMessage")+"")&&D(a,A,k.contenteditable),/*$_*/33554432&t[0]&&T!==(T=/*$_*/e[25]("bonus.forfeitCancel")+"")&&D(d,T,B.contenteditable),/*$_*/33554432&t[0]&&S!==(S=/*$_*/e[25]("bonus.forfeitConfirm")+"")&&D(v,S,N.contenteditable),E(n,U=Z(Y,[/*classWithPartMatchMobile*/16777216&t[0]&&/*classWithPartMatchMobile*/e[24]("ModalWrapper")]))},d(e){e&&f(n),C=!1,o(x)}}}function kh(n){let r,o,i,s,a,l,u=/*StatusForFilter*/n[26],c=[];for(let e=0;e<u.length;e+=1)c[e]=yh(gh(n,u,e));let d=[/*classWithPartMatchMobile*/n[24]("BonusFilterWrapper")],g={};for(let e=0;e<d.length;e+=1)g=t(g,d[e]);function y(e,t){/*bonusStatus*/
13731
13731
  return"claimable"===e[21]?vh:/*bonusStatus*/"completed"===e[21]?bh:void 0}let v=y(n),w=v&&v(n);function x(e,t){/*isLoading*/
13732
13732
  return e[10]?xh:Ch}let A=x(n),T=A(n),S=/*bonusModal*/n[20]&&Dh(n),P=[/*classWithPart*/n[31]("BonusesController")],D={};for(let e=0;e<P.length;e+=1)D=t(D,P[e]);return{c(){r=_("div"),o=_("div"),i=_("div");for(let e=0;e<c.length;e+=1)c[e].c();s=b(),w&&w.c(),a=b(),T.c(),l=b(),S&&S.c(),this.c=e,C(i,"class","BonusFilterContainer"),C(i,"part","BonusFilterContainer"),E(o,g),E(r,D)},m(e,t){p(e,r,t),h(r,o),h(o,i);for(let e=0;e<c.length;e+=1)c[e]&&c[e].m(i,null);h(r,s),w&&w.m(r,null),h(r,a),T.m(r,null),h(r,l),S&&S.m(r,null)
13733
13733
  /*div2_binding*/,n[45](r)},p(e,t){if(/*classWithPartMatchMobile, isLoading, StatusForFilter, bonusStatus, getPage*/1159726080&t[0]){let n;for(u=/*StatusForFilter*/e[26],n=0;n<u.length;n+=1){const r=gh(e,u,n);c[n]?c[n].p(r,t):(c[n]=yh(r),c[n].c(),c[n].m(i,null))}for(;n<c.length;n+=1)c[n].d(1);c.length=u.length}E(o,g=Z(d,[/*classWithPartMatchMobile*/16777216&t[0]&&/*classWithPartMatchMobile*/e[24]("BonusFilterWrapper")])),v===(v=y(e))&&w?w.p(e,t):(w&&w.d(1),w=v&&v(e),w&&(w.c(),w.m(r,a))),A===(A=x(e))&&T?T.p(e,t):(T.d(1),T=A(e),T&&(T.c(),T.m(r,l))),/*bonusModal*/e[20]?S?S.p(e,t):(S=Dh(e),S.c(),S.m(r,null)):S&&(S.d(1),S=null)},i:e,o:e,d(e){e&&f(r),m(c,e),w&&w.d(),T.d(),S&&S.d()
13734
- /*div2_binding*/,n[45](null)}}}function Mh(e,t,n){let r,o,i;c(e,Nn,(e=>n(25,i=e)));var s=this&&this.__rest||function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};let a,l,u,{endpoint:d=""}=t,{lang:h="en"}=t,{session:p=""}=t,{currency:f="EUR"}=t,{limit:m=""}=t,{cmsendpoint:_=""}=t,{clientstyling:g=""}=t,{clientstylingurl:y=""}=t,{translationurl:b=""}=t,v=window.navigator.userAgent,w=!1,C=[],x=!0,E="",A=1,T=0,S=2,P="",D=!0,k=!1,M=!1;a=jr(new Date).format("YYYY-MM-DD"),l=jr(new Date).subtract(3,"months").format("YYYY-MM-DD");let B,O,N=l,I=a,H="active",R=!0,$="";Wr(v)&&(w=!0,S=1);Object.keys(Vr).forEach((e=>{In(e,Vr[e])})),L((()=>(window.addEventListener("message",Y,!1),()=>{B.removeEventListener("change",K),O.removeEventListener("change",X),window.removeEventListener("message",Y)})));const Y=e=>{switch(e.data.type){case"PaginationChange":n(12,A=e.data.page),j(A);break;case"OnBonusClaimed":U(e.data.bonusCode);break;case"OnBonusForfeit":n(23,$=e.data.bonus.id),n(20,M=!0)}},U=async(e,t)=>{n(22,R=!1);const r=await z(e);r.success?(n(19,k=!1),j(1)):(n(11,E=r.errorMessage),t?n(19,k=!0):window.postMessage({type:"OnBonusClaimError",message:E,bonusCode:e})),window.postMessage({type:"OnBonusClaimedDone"}),n(22,R=!0)},z=async e=>await Z(d+"/v1/bonus/claim",{method:"PUT",body:JSON.stringify({bonusCode:e,currency:f}),headers:{"x-SessionId":p,accept:"text/plain","Content-Type":"application/json-patch+json"}}),W=async e=>{n(22,R=!1);const t=await V(e);t.success?j(1):n(11,E=t.errorMessage),window.postMessage({type:"OnBonusForfeitedDone"}),n(22,R=!0),n(20,M=!1)},V=async e=>{const t=new URL(`${d}/v1/bonus/forfeit`),n={bonusID:e,lang:h};return Object.keys(n).map((e=>{t.searchParams.append(e,n[e])})),await Z(t,{method:"DELETE",headers:{"x-SessionId":p,accept:"text/plain"}})},j=async e=>{A!==e&&n(12,A=e);const t=(e-1)*Number(m);n(10,x=!0),n(9,C=[]);const r=await G(d,p,t,{lang:h,limit:m});r.success?(n(13,T=r.total),n(9,C=r.items||r.bonuses)):n(11,E=r.errorMessage),n(10,x=!1)},G=async(e,t,n,r={})=>{const{limit:o,lang:i}=r,a=s(r,["limit","lang"]),l="claimable"===H?H:"granted",u=Object.assign(Object.assign({pagination:`limit=${o},offset=${n}`,language:i},a),{sortOrder:"desc"});if("completed"===H){let e=new Date(N).toISOString(),t=new Date(I+" 23:59:59").toISOString();u.startTime=e,u.endTime=t,u.type="standard,freeBet,freeRound,cashBack,stakeBack,oddsBoost,wagering",u.status="completed,released,forfeited,expired,closed"}"active"===H&&(u.type="standard,freeBet,freeRound,cashBack,stakeBack,oddsBoost,wagering",u.status="active");const c=new URL(`${e}/v1/bonus/${l}`);return"claimable"!==H?c.searchParams.append("expand","freeSpin"):delete u.sortOrder,Object.keys(u).map((e=>{c.searchParams.append(e,u[e])})),await Z(c,{headers:Object.assign({},t?{"x-SessionId":t}:{})})},q=(e,t="")=>({part:e,class:[e,t].join(" ")}),Z=async(e,t={})=>{let n;return n=await fetch(e,t),!1===n.ok?{errorMessage:n.status}:(n=await n.json(),n)},K=e=>{N=e.target.value},X=e=>{I=e.target.value};return e.$$set=e=>{"endpoint"in e&&n(33,d=e.endpoint),"lang"in e&&n(0,h=e.lang),"session"in e&&n(34,p=e.session),"currency"in e&&n(35,f=e.currency),"limit"in e&&n(1,m=e.limit),"cmsendpoint"in e&&n(2,_=e.cmsendpoint),"clientstyling"in e&&n(3,g=e.clientstyling),"clientstylingurl"in e&&n(4,y=e.clientstylingurl),"translationurl"in e&&n(5,b=e.translationurl)},e.$$.update=()=>{/*startCalendar, endCalendar*/384&e.$$.dirty[0]&&B&&O&&(B.addEventListener("change",K,!1),O.addEventListener("change",X,!1)),/*mobileView*/32&e.$$.dirty[1]&&n(24,r=(e,t="")=>q(`${e}${w?` ${e}Mobile`:""}`,t)),/*lang, limit*/3&e.$$.dirty[0]|/*endpoint, session*/12&e.$$.dirty[1]&&n(37,o=d&&p&&h&&m),/*initialLoad*/64&e.$$.dirty[1]&&o&&(async()=>{j(1),Ln(h)})(),/*clientstyling, customStylingContainer*/72&e.$$.dirty[0]&&g&&u&&(()=>{let e=document.createElement("style");e.innerHTML=g,u.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/80&e.$$.dirty[0]&&y&&u&&(()=>{let e=new URL(y),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{u.appendChild(t)}),1)}))})(),/*translationurl*/32&e.$$.dirty[0]&&b&&fetch(b).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{In(t,e[t])}))})).catch((e=>{console.log(e)}))},[h,m,_,g,y,b,u,B,O,C,x,E,A,T,S,a,l,P,D,k,M,H,R,$,r,i,["active","completed","claimable"],U,W,()=>{window.postMessage({type:"EnableScroll"},window.location.href),window.postMessage({type:"OnBonusForfeitedDone"}),n(20,M=!1)},j,q,()=>{n(18,(n(19,k=!1),D=!P))},d,p,f,w,o,e=>{n(21,H=e),j(1)},function(){P=this.value,n(17,P)},()=>{U(P,!0)},function(e){F[e?"unshift":"push"]((()=>{B=e,n(7,B)}))},function(e){F[e?"unshift":"push"]((()=>{O=e,n(8,O)}))},()=>j(1),()=>W($),function(e){F[e?"unshift":"push"]((()=>{u=e,n(6,u)}))}]}class Bh extends Q{constructor(e){super();const t=document.createElement("style");t.textContent=':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}.BonusList{display:flex;flex-wrap:wrap}.BonusItem{flex:0 0 50%;max-width:50%;padding:10px}.BonusItemMobile{flex:0 0 100%;max-width:100%}.BonusPaginationWrapper{margin:40px 0;display:flex;justify-content:center}.BonusPaginationWrapper.BonusPaginationWrapperMobile{flex-wrap:wrap;text-align:center}.BonusPaginationWrapper .BonusesFirst,.BonusPaginationWrapper .BonusesPrev,.BonusPaginationWrapper .BonusesNext,.BonusPaginationWrapper .BonusesLast{color:var(--emfe-w-bonus-pagination-primary, var(--emfe-w-color-blue, #00AEEF));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusPaginationWrapper .BonusesFirst.Inactive,.BonusPaginationWrapper .BonusesPrev.Inactive,.BonusPaginationWrapper .BonusesNext.Inactive,.BonusPaginationWrapper .BonusesLast.Inactive{color:var(--emfe-w-bonus-pagination-inactive-text, var(--emfe-w-color-gray-100, #E6E6E6));cursor:default}.BonusPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emfe-w-bonus-pagination-text, var(--emfe-w-color-gray-300, #58586B));font-size:16px;cursor:pointer;padding:5px 10px}.BonusPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emfe-w-bonus-pagination-active-bg, var(--emfe-w-color-white, #FFFFFF));font-weight:700}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-bonus-pagination-border, var(--emfe-w-color-blue, #00AEEF));border-color:var(--emfe-w-bonus-pagination-border, var(--emfe-w-color-blue, #00AEEF)) transparent var(--emfe-w-bonus-pagination-primary, var(--emfe-w-color-blue, #00AEEF)) transparent;animation:LoaderForModal 1.2s linear infinite}@keyframes LoaderForModal{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.BonusCalendarWrapper{display:flex;gap:20px;flex-wrap:wrap;background:var(--emfe-w-bonus-calendar-bg, var(--emfe-w-color-gray-50, #F4F4F4));border-radius:5px;padding:27px;width:calc(50% - 20px);margin:10px}.BonusCalendarContent{display:flex;gap:20px;flex-wrap:wrap}.BonusCalendarContainer{display:flex;gap:20px;flex-wrap:wrap;flex:4}.BonusCalendarContainer.BonusCalendarContainerMobile{flex-direction:row;gap:0;justify-content:space-between;padding-bottom:0;width:100%;flex-direction:column}.BonusCalendarTitle{font-size:18px;font-weight:700;width:100%;color:var(--emfe-w-bonus-calendar-text, var(--emfe-w-color-gray-300, #58586B))}.BonusCalendarStartDate,.BonusCalendarEndDate{color:var(--emfe-w-bonus-calendar-text, var(--emfe-w-color-gray-300, #58586B));display:flex;position:relative;align-items:center;gap:10px;min-width:140px;flex:0 0 47%;flex-wrap:wrap}.BonusCalendarStartDate vaadin-date-picker,.BonusCalendarEndDate vaadin-date-picker{width:100%}.BonusCalendarStartDate.BonusesCalendarMobile,.BonusCalendarEndDate.BonusesCalendarMobile{flex-direction:column;align-items:flex-start;gap:5px;width:100%}.BonusCalendarStartDate.BonusesCalendarMobile .VaadinDatePicker,.BonusCalendarEndDate.BonusesCalendarMobile .VaadinDatePicker{width:100%}.BonusCalendarStartDate label,.BonusCalendarEndDate label{font-size:14px;font-weight:300;width:100%;text-transform:capitalize}.BonusCalendarStartDate input,.BonusCalendarEndDate input{width:100%;height:44px;border:1px solid var(--emfe-w-bonus-calendar-border, var(--emfe-w-color-gray-100, #E6E6E6));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;outline-color:var(--emfe-w-bonus-calendar-outline, var(--emfe-w-color-primary, #00AEEF))}.BonusFilterButton{flex:2;background:var(--emfe-w-bonus-filter-bg, var(--emfe-w-color-yellow, #F39C12));outline:5px solid var(--emfe-w-bonus-filter-outline, var(--emfe-w-color-yellow, rgba(243, 156, 18, 0.3)));border-radius:9px;border:0;width:180px;max-width:180px;height:38px;font-size:18px;font-weight:400;text-align:center;transition-duration:0.5s;transition-property:outline, color, background;box-sizing:border-box;cursor:pointer;color:var(--emfe-w-bonus-filter-text, var(--emfe-w-color-white, #FFFFFF));align-self:end;margin-bottom:5px}.BonusFilterButton[disabled]{opacity:0.3;cursor:not-allowed}.BonusFilterButton.BonusFilterButtonMobile{width:100%;min-width:100%}.BonusFilterButton:hover{background:var(--emfe-w-bonus-filter-bg, var(--emfe-w-color-yellow, #F38B12));outline:0}.BonusFilterButton:active{background:var(--emfe-w-bonus-filter-bg, var(--emfe-w-color-yellow, #F38B12));outline-color:var(--emfe-w-bonus-filter-outline, var(--emfe-w-color-yellow, rgba(243, 156, 18, 0.6)))}.BonusFilterWrapper{display:flex;gap:15px;padding:10px;align-items:flex-start}.BonusFilterWrapper.BonusFilterWrapperMobile{width:100%;flex-direction:column;gap:10px;padding:0;padding-bottom:15px}.BonusFilterContainer{display:flex;gap:5px;border-bottom:5px solid var(--emfe-w-bonus-filter-border, var(--emfe-w-color-green, #53B65A));width:100%}.BonusStatusFilter{color:var(--emfe-w-bonus-status-filter-text, var(--emfe-w-color-gray-300, #6D6D6D));cursor:pointer;width:200px;height:50px;font-size:18px;text-transform:capitalize;text-align:center;transition-duration:0.5s;box-sizing:border-box;padding:15px;background:var(--emfe-w-bonus-status-filter-bg, var(--emfe-w-color-white, #FFFFFF));border:1px solid var(--emfe-w-bonus-status-filter-border, var(--emfe-w-color-gray-300, #767171));border-bottom:0;border-radius:5px 5px 0px 0px}.BonusStatusFilter.BonusStatusFilterMobile{width:100%;height:44px}.BonusStatusFilter.active{color:var(--emfe-w-bonus-status-active-bg, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-bonus-status-active-bg, var(--emfe-w-color-gray-300, #4E5662));border:0.5px solid var(--emfe-w-bonus-status-active-border, var(--emfe-w-color-gray-300, #767171))}.BonusPageNumber{color:var(--emfe-w-bonus-page-number-text, var(--emfe-w-color-gray-150, #9C9C9C));flex:1;display:flex;flex-wrap:wrap}.BonusPageNumberTabs{display:flex}.BonusPageNumberTabs .BonusPageNumberTab{cursor:pointer;width:36px;height:36px;padding:10px;text-align:center}.BonusPageNumberTabs .BonusPageNumberTab.active{color:var(--emfe-w-bonus-page-number-text, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-bonus-page-number-active, var(--emfe-w-color-yellow, #F39C12));border-radius:50%}.BonusCodeContainer{color:var(--emfe-w-bonus-page-number-text, var(--emfe-w-color-black, #000000));display:flex;flex-direction:column;position:relative;width:calc(50% - 20px);background:#F4F4F4;border-radius:5px;padding:36px;margin:10px}.BonusCodeContainer label{font-size:18px;font-weight:700;padding-bottom:20px}.BonusCodeContainer .Asterisk{color:var(--emfe-w-bonus-card-red, var(--emfe-w-color-red, #FD2839))}.BonusCodeContainer.BonusCodeContainerMobile{width:100%;margin:0 0 10px}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{flex:3;height:50px;border:1px solid var(--emfe-w-bonus-code-border, var(--emfe-w-color-gray-50, #D1D1D1));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:var(--emfe-w-bonus-code-outline, var(--emfe-w-color-gray-100, #C1C1C1))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .BonusClaimButton{background:var(--emfe-w-bonus-claim-bg, var(--emfe-w-color-yellow, #F39C12));outline:5px solid var(--emfe-w-bonus-claim-outline, var(--emfe-w-color-yellow, rgba(243, 156, 18, 0.3)));border-radius:9px;border:0;width:180px;height:38px;font-size:18px;font-weight:400;text-align:center;transition-duration:0.5s;box-sizing:border-box;margin-top:5px;cursor:pointer;color:var(--emfe-w-bonus-claim-text, var(--emfe-w-color-white, #FFFFFF))}.BonusCodeContainer .BonusCodeWrapper .BonusClaimButton[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .BonusClaimButton.BonusClaimButtonMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .BonusClaimButton:hover{background:var(--emfe-w-bonus-claim-hover-bg, var(--emfe-w-color-yellow, #F38B12));outline:0}.BonusCodeContainer .BonusCodeWrapper .BonusClaimButton:active{background:var(--emfe-w-bonus-claim-active-bg, var(--emfe-w-color-yellow, #F38B12));outline-color:var(--emfe-w-bonus-claim-active-outline, var(--emfe-w-color-white, rgba(243, 156, 18, 0.6)))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emfe-w-color-primary, #00AEEF);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #00AEEF)}.BonusCodeContainer .InvalidBonusCodeMessage{color:var(--emfe-w-color-error, #FD2839)}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emfe-w-bonus-modal-bg, var(--emfe-w-color-black, rgba(0, 0, 0, 0.7)));display:flex;justify-content:center;align-items:center;z-index:100}.ModalWrapper .ModalContent{background-color:var(--emfe-w-bonus-modal-bg, var(--emfe-w-color-white, #FFFFFF));position:relative;padding:30px;border-top:5px solid var(--emfe-w-bonus-modal-border, var(--emfe-w-color-primary, #00AEEF));border-radius:5px}.ModalWrapper .ModalBody{background-color:var(--emfe-w-bonus-modal-bg, var(--emfe-w-color-gray-50, #F9F8F8));padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:22px;margin-bottom:40px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emfe-w-bonus-modal-border, var(--emfe-w-color-gray-300, #58586B));color:var(--emfe-w-bonus-modal-text, var(--emfe-w-color-gray-300, #58586B));cursor:pointer;border-radius:5px;width:180px;height:38px;font-size:18px;text-transform:capitalize;text-align:center;transition-duration:0.5s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:var(--emfe-w-bonus-modal-bg, var(--emfe-w-color-primary, #00AEEF));border:1px solid var(--emfe-w-bonus-modal-bg, var(--emfe-w-color-primary, #00AEEF));color:var(--emfe-w-bonus-modal-text, var(--emfe-w-color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}@media only screen and (max-width: 1024px){.BonusCodeContainer{width:100%}.BonusCalendarWrapper,.BonusCalendarContent,.BonusCalendarContainer{width:100%;flex-wrap:wrap}.BonusCalendarWrapper{margin:10px 0 0 0}.BonusFilterWrapper{width:100%;flex-direction:column;gap:10px;padding:10px 0}.BonusStatusFilter{width:100%}.BonusFilterButton{margin-top:0}.BonusFilterButton,.BonusClaimButton{width:100%}.BonusItem{flex:0 0 100%;max-width:100%;padding:0;margin:10px 0 0 0}.BonusCalendarStartDate,.BonusCalendarEndDate{flex-direction:column;align-items:flex-start;gap:5px}.BonusCalendarStartDate .VaadinDatePicker,.BonusCalendarEndDate .VaadinDatePicker{width:100%}.BonusCalendarTitle{width:100%}}',this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Mh,kh,s,{endpoint:33,lang:0,session:34,currency:35,limit:1,cmsendpoint:2,clientstyling:3,clientstylingurl:4,translationurl:5},null,[-1,-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["endpoint","lang","session","currency","limit","cmsendpoint","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[33]}set endpoint(e){this.$$set({endpoint:e}),j()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),j()}get session(){return this.$$.ctx[34]}set session(e){this.$$set({session:e}),j()}get currency(){return this.$$.ctx[35]}set currency(e){this.$$set({currency:e}),j()}get limit(){return this.$$.ctx[1]}set limit(e){this.$$set({limit:e}),j()}get cmsendpoint(){return this.$$.ctx[2]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),j()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),j()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),j()}get translationurl(){return this.$$.ctx[5]}set translationurl(e){this.$$set({translationurl:e}),j()}}return!customElements.get("casino-bonuses-controller")&&customElements.define("casino-bonuses-controller",Bh),!customElements.get("casino-bonus-pagination")&&customElements.define("casino-bonus-pagination",class extends Q{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.GeneralPagination{margin:40px 0;display:flex}.PaginationWrapper{flex:1;display:flex;justify-content:center}.PaginationWrapper.PaginationWrapperMobile{flex-wrap:wrap;text-align:center}.PaginationWrapper .prev,.PaginationWrapper .next,.PaginationWrapper .number{color:var(--emfe-w-bonus-pagination-text, var(--emfe-w-color-contrast-600, #0D0D4D));font-size:16px;cursor:pointer;font-weight:700;border:1px solid var(--emfe-w-bonus-pagination-border, var(--emfe-w-color-gray-150, #828282));width:32px;height:32px;line-height:28px;text-align:center;margin-right:2px;border-radius:2px}.PaginationWrapper .prev.disabled,.PaginationWrapper .next.disabled,.PaginationWrapper .number.disabled{color:var(--emfe-w-bonus-pagination-disabled, var(--emfe-w-color-gray-100, #E6E6E6));border-color:var(--emfe-w-bonus-pagination-disabled, var(--emfe-w-color-gray-100, #E6E6E6));cursor:default}.PaginationWrapper .prev.active,.PaginationWrapper .next.active,.PaginationWrapper .number.active{background-color:var(--emfe-w-bonus-pagination-bg, var(--emfe-w-color-contrast, #00AEEF));color:var(--emfe-w-bonus-pagination-active, var(--emfe-w-color-white, #FFFFFF))}.PaginationWrapper .ellipsis{width:32px;margin-right:2px;text-align:center;line-height:20px}.PaginationInputWrapper{flex:1}.PaginationInputWrapper .PaginationInput{padding:7px 0 6px 0;width:32px;text-align:center}.PaginationInputWrapper .PaginationGoButton{background:none;border:none;cursor:pointer;font-size:18px}',this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},mh,fh,s,{totalitems:10,pagesize:11,currentpage:12,limit:13,showinput:14,clientstyling:15,clientstylingurl:16},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["totalitems","pagesize","currentpage","limit","showinput","clientstyling","clientstylingurl"]}get totalitems(){return this.$$.ctx[10]}set totalitems(e){this.$$set({totalitems:e}),j()}get pagesize(){return this.$$.ctx[11]}set pagesize(e){this.$$set({pagesize:e}),j()}get currentpage(){return this.$$.ctx[12]}set currentpage(e){this.$$set({currentpage:e}),j()}get limit(){return this.$$.ctx[13]}set limit(e){this.$$set({limit:e}),j()}get showinput(){return this.$$.ctx[14]}set showinput(e){this.$$set({showinput:e}),j()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),j()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),j()}}),!customElements.get("casino-bonus-card")&&customElements.define("casino-bonus-card",class extends Q{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.BonusCard{background-color:#F4F4F4;padding:10px 20px 20px;border-radius:5px;font-size:18px;font-weight:500;color:var(--emfe-w-bonus-card-text, var(--emfe-w-color-gray-300, #6D6D6D))}.BonusCardHeader{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #D1D1D1}.BonusCardHeader:nth-child(even){background-color:var(--emfe-w-bonus-card-bg, var(--emfe-w-color-gray-50, #F9F8F8))}.BonusCardRow{display:flex;padding:11px 0;margin:0;align-items:center}.BonusCardLabel{flex:3}.BonusCardRowTitle{color:var(--emfe-w-bonus-card-black, var(--emfe-w-color-black, #000000));font-weight:700;font-size:18px;display:flex;align-items:center;text-indent:10px}.BonusCardRowTitle span{font-weight:400;color:var(--emfe-w-bonus-card-span, var(--emfe-w-color-primary, #00AEEF))}.BonusCardTitleSub{display:flex;font-size:16px;text-indent:10px;align-items:center;font-weight:400}.BonusCardRowText{flex:2;color:#9C9C9C;text-transform:capitalize}.BonusCardRowText.BonusCardStatus{font-weight:700;color:var(--emfe-w-bonus-card-title, var(--emfe-w-color-black, #000000))}.BonusCardRowText.StatusActive{color:var(--emfe-w-bonus-card-green, var(--emfe-w-color-green, #53B65A))}.BonusCardRowText.Type{color:var(--emfe-w-bonus-card-black, var(--emfe-w-color-black, #000000))}.BonusCardRowText.StatusExpired{color:var(--emfe-w-bonus-card-red, var(--emfe-w-color-red, #FD2839))}.BonusCardRowText.StatusCompleted{color:var(--emfe-w-bonus-card-yellow, var(--emfe-w-color-yellow, #F39C12))}.BonusCardRowText.TextCapitalize{text-transform:capitalize}.BonusCardRowText .BonusAmount{color:var(--emfe-w-bonus-card-black, var(--emfe-w-color-black, #000000))}.BonusCardRowText .Amount{color:var(--emfe-w-bonus-card-green, var(--emfe-w-color-green, #53B65A))}.BonusCardAction{margin:20px 0 0;padding:10px 5px 0 0;display:flex;justify-content:end}.BonusCardAdditional,.BonusCardTerms{border:1px solid var(--emfe-w-bonus-card-border, var(--emfe-w-color-gray-100, #E6E6E6));background:var(--emfe-w-bonus-card-white, var(--emfe-w-color-white, #FFFFFF));color:var(--emfe-w-bonus-card-black, var(--emfe-w-color-black, #000000));padding:12px;border-radius:4px;position:relative;margin-top:10px;font-size:16px;transition:height 0.3s ease;will-change:height}.BonusCardAdditional.active,.BonusCardTerms.active{transition:height 0.3s ease}.BonusCardAdditionalTitle,.BonusCardTermsTitle{display:flex;align-items:center;text-indent:10px}.BonusCardAdditionalButton{font-weight:700;font-size:30px;position:absolute;top:0;right:10px;cursor:pointer}.BonusCardTermsButton{font-weight:700;font-size:30px;position:absolute;top:0;right:10px;cursor:pointer}.BonusCardTermsLink{display:flex;align-items:center;color:#000;text-indent:10px;cursor:pointer}.BonusCardJoinError{color:var(--emfe-w-bonus-card-red, var(--emfe-w-color-red, #FF0000));align-self:center}.BonusCardJoinCountdown{display:flex;align-items:center;text-indent:10px;font-size:16px;font-weight:400}.BonusCardJoinWrapper{display:flex;gap:30px}.BonusJoinButton{background:var(--emfe-w-bonus-card-green, var(--emfe-w-color-green, #53B65A));outline:5px solid var(--emfe-w-bonus-card-green, var(--emfe-w-color-green, rgba(83, 182, 90, 0.3)));border-radius:9px;border:0;width:180px;height:38px;font-size:18px;font-weight:400;text-align:center;transition-duration:0.5s;box-sizing:border-box;cursor:pointer;color:var(--emfe-w-bonus-card-white, var(--emfe-w-color-white, #FFFFFF))}.BonusJoinButton[disabled]{opacity:0.3;cursor:not-allowed}.BonusJoinButton.ClaimBonusButtonMobile{width:100%}.BonusJoinButton:hover{background:var(--emfe-w-bonus-card-green, var(--emfe-w-color-green, #25982D));outline:0}.BonusJoinButton:active{background:var(--emfe-w-bonus-card-green, var(--emfe-w-color-green, #25982D));outline-color:rgba(83, 182, 90, 0.6)}.BonusForfeitButton{background:var(--emfe-w-bonus-card-red, var(--emfe-w-color-red, #F32013));outline:5px solid var(--emfe-w-bonus-card-red, var(--emfe-w-color-red, rgba(243, 32, 19, 0.3)));border-radius:9px;border:0;width:180px;height:38px;font-size:18px;font-weight:400;text-align:center;transition-duration:0.5s;box-sizing:border-box;cursor:pointer;color:var(--emfe-w-color-white, #FFFFFF)}.BonusForfeitButton[disabled]{opacity:0.3;cursor:not-allowed}.BonusForfeitButton.ClaimBonusButtonMobile{width:100%}.BonusForfeitButton:hover{background:var(--emfe-w-bonus-card-red, var(--emfe-w-color-red, #C70C00));outline:0}.BonusForfeitButton:active{background:var(--emfe-w-bonus-card-red, var(--emfe-w-color-red, #C70C00));outline-color:var(--emfe-w-bonus-card-red, var(--emfe-w-color-red, rgba(243, 32, 19, 0.6)))}.BonusCardActionCountdown{margin-bottom:5px}.BonusCardData{display:flex}.BonusCardDataContent{flex:3;height:260px}.BonusCardFooter{height:100px}.BonusCardFooter.Active{height:auto}.BonusCardProgress{flex:1;max-width:147px;--progress-track-color:var(--emfe-w-bonus-card-blue,var(--emfe-w-color-blue, #00AEEF))}.BonusCardProgress .CircularProgress{display:flex;margin:15px;position:relative}.BonusCardProgress .CircularProgressText{text-align:center}.BonusActionWagering{display:flex;height:100px}.BonusWageringInfo{flex:60%}.BonusWageringButton{flex:40%}.TitleIcon{display:flex;max-width:83px;min-width:43px;height:41px}.CasinoIcon,.SportsIcon{fill:none}.BonusGamesSlider{display:flex}.SliderNavButton{border:0px;width:25px;display:flex;align-items:center;justify-content:center}.SliderNavButton svg{width:20px}.SliderNavButton.Hide{display:none}.Main{max-width:300px;overflow:hidden}.Games{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.Game{min-width:100px;height:75px;margin:0;color:var(--emfe-w-bonus-card-white, var(--emfe-w-color-white, #FFFFFF));display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.PlayNowButton{position:absolute;background:var(--emfe-w-bonus-card-green, var(--emfe-w-color-green, #48952a));display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emfe-w-bonus-card-white, var(--emfe-w-color-white, #FFFFFF));text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ItemHover{opacity:1}@media only screen and (max-width: 728px){.BonusCard{font-size:12px}.BonusCardRowTitle{font-size:14px}.BonusCardTitleSub{font-size:12px}.BonusCardAction,.BonusCardActionContent,.BonusForfeitButton,.BonusJoinButton{width:100%}.BonusCardAction{margin-top:10px}.TitleIcon{max-width:60px;min-width:30px;height:30px}.BonusCardAdditional,.BonusCardTerms{font-size:14px}.BonusCardProgress .CircularProgress{margin:10px 0}.BonusCardFooter{height:auto}.BonusCardDataContent{height:auto}.BonusCardJoinWrapper{flex-direction:column;gap:15px}.BonusCardJoinCountdown{font-size:12px}}',this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},ih,oh,s,{rawbonus:39,lang:40,status:0,clientstyling:1,clientstylingurl:2,cmsendpoint:41,translationurl:42},null,[-1,-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["rawbonus","lang","status","clientstyling","clientstylingurl","cmsendpoint","translationurl"]}get rawbonus(){return this.$$.ctx[39]}set rawbonus(e){this.$$set({rawbonus:e}),j()}get lang(){return this.$$.ctx[40]}set lang(e){this.$$set({lang:e}),j()}get status(){return this.$$.ctx[0]}set status(e){this.$$set({status:e}),j()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),j()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),j()}get cmsendpoint(){return this.$$.ctx[41]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),j()}get translationurl(){return this.$$.ctx[42]}set translationurl(e){this.$$set({translationurl:e}),j()}}),!customElements.get("casino-bonus-progress")&&customElements.define("casino-bonus-progress",class extends Q{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.CircularProgress{height:100%;position:relative;width:100%}.CircularProgressLineBg{stroke:var(--emfe-w-bonus-progress-primary, var(--emfe-w-color-gray-100, #D9D9D9))}.CircularProgressLine{stroke:var(--emfe-w-bonus-progress-primary, var(--emfe-w-color-primary, #00AEEF));transition:0.35s stroke-dashoffset;transform:rotate(-90deg);transform-origin:50% 50%;fill:transparent}.CircularProgressLine.Completed{stroke:var(--emfe-w-bonus-progress-bg, var(--emfe-w-color-gray-300, #A9A9A9))}.CircularProgressCenter{fill:var(--emfe-w-bonus-progress-primary, var(--emfe-w-color-primary, #00AEEF))}.CircularProgressCenter.Completed{fill:var(--emfe-w-bonus-progress-bg, var(--emfe-w-color-gray-100, #D9D9D9))}.CircularProgressText{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);color:var(--emfe-w-bonus-progress-text, var(--emfe-w-color-white, #FFFFFF))}',this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Jc,Xc,s,{value:0,status:1,clientstyling:6,clientstylingurl:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["value","status","clientstyling","clientstylingurl"]}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),j()}get status(){return this.$$.ctx[1]}set status(e){this.$$set({status:e}),j()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),j()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),j()}}),Bh}));
13734
+ /*div2_binding*/,n[45](null)}}}function Mh(e,t,n){let r,o,i;c(e,Nn,(e=>n(25,i=e)));var s=this&&this.__rest||function(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};let a,l,u,{endpoint:d=""}=t,{lang:h="en"}=t,{session:p=""}=t,{currency:f="EUR"}=t,{limit:m=""}=t,{cmsendpoint:_=""}=t,{clientstyling:g=""}=t,{clientstylingurl:y=""}=t,{translationurl:b=""}=t,v=window.navigator.userAgent,w=!1,C=[],x=!0,E="",A=1,T=0,S=2,P="",D=!0,k=!1,M=!1;a=jr(new Date).format("YYYY-MM-DD"),l=jr(new Date).subtract(3,"months").format("YYYY-MM-DD");let B,O,N=l,L=a,H="active",R=!0,$="";Wr(v)&&(w=!0,S=1);Object.keys(Vr).forEach((e=>{Ln(e,Vr[e])})),I((()=>(window.addEventListener("message",Y,!1),()=>{B.removeEventListener("change",K),O.removeEventListener("change",X),window.removeEventListener("message",Y)})));const Y=e=>{switch(e.data.type){case"PaginationChange":n(12,A=e.data.page),j(A);break;case"OnBonusClaimed":U(e.data.bonusCode);break;case"OnBonusForfeit":n(23,$=e.data.bonus.id),n(20,M=!0)}},U=async(e,t)=>{n(22,R=!1);const r=await z(e);r.success?(n(19,k=!1),j(1)):(n(11,E=r.errorMessage),t?n(19,k=!0):window.postMessage({type:"OnBonusClaimError",message:E,bonusCode:e})),window.postMessage({type:"OnBonusClaimedDone"}),n(22,R=!0)},z=async e=>await Z(d+"/v1/bonus/claim",{method:"PUT",body:JSON.stringify({bonusCode:e,currency:f}),headers:{"x-SessionId":p,accept:"text/plain","Content-Type":"application/json-patch+json"}}),W=async e=>{n(22,R=!1);const t=await V(e);t.success?j(1):n(11,E=t.errorMessage),window.postMessage({type:"OnBonusForfeitedDone"}),n(22,R=!0),n(20,M=!1)},V=async e=>{const t=new URL(`${d}/v1/bonus/forfeit`),n={bonusID:e,lang:h};return Object.keys(n).map((e=>{t.searchParams.append(e,n[e])})),await Z(t,{method:"DELETE",headers:{"x-SessionId":p,accept:"text/plain"}})},j=async e=>{A!==e&&n(12,A=e);const t=(e-1)*Number(m);n(10,x=!0),n(9,C=[]);const r=await G(d,p,t,{lang:h,limit:m});r.success?(n(13,T=r.total),n(9,C=r.items||r.bonuses)):n(11,E=r.errorMessage),n(10,x=!1)},G=async(e,t,n,r={})=>{const{limit:o,lang:i}=r,a=s(r,["limit","lang"]),l="claimable"===H?H:"granted",u=Object.assign(Object.assign({pagination:`limit=${o},offset=${n}`,language:i},a),{sortOrder:"desc"});if("completed"===H){let e=new Date(N).toISOString(),t=new Date(L+" 23:59:59").toISOString();u.startTime=e,u.endTime=t,u.type="standard,freeBet,freeRound,cashBack,stakeBack,oddsBoost,wagering",u.status="completed,released,forfeited,expired,closed"}"active"===H&&(u.type="standard,freeBet,freeRound,cashBack,stakeBack,oddsBoost,wagering",u.status="active");const c=new URL(`${e}/v1/bonus/${l}`);return"claimable"!==H?c.searchParams.append("expand","freeSpin"):delete u.sortOrder,Object.keys(u).map((e=>{c.searchParams.append(e,u[e])})),await Z(c,{headers:Object.assign({},t?{"x-SessionId":t}:{})})},q=(e,t="")=>({part:e,class:[e,t].join(" ")}),Z=async(e,t={})=>{let n;return n=await fetch(e,t),!1===n.ok?{errorMessage:n.status}:(n=await n.json(),n)},K=e=>{N=e.target.value},X=e=>{L=e.target.value};return e.$$set=e=>{"endpoint"in e&&n(33,d=e.endpoint),"lang"in e&&n(0,h=e.lang),"session"in e&&n(34,p=e.session),"currency"in e&&n(35,f=e.currency),"limit"in e&&n(1,m=e.limit),"cmsendpoint"in e&&n(2,_=e.cmsendpoint),"clientstyling"in e&&n(3,g=e.clientstyling),"clientstylingurl"in e&&n(4,y=e.clientstylingurl),"translationurl"in e&&n(5,b=e.translationurl)},e.$$.update=()=>{/*startCalendar, endCalendar*/384&e.$$.dirty[0]&&B&&O&&(B.addEventListener("change",K,!1),O.addEventListener("change",X,!1)),/*mobileView*/32&e.$$.dirty[1]&&n(24,r=(e,t="")=>q(`${e}${w?` ${e}Mobile`:""}`,t)),/*lang, limit*/3&e.$$.dirty[0]|/*endpoint, session*/12&e.$$.dirty[1]&&n(37,o=d&&p&&h&&m),/*initialLoad*/64&e.$$.dirty[1]&&o&&(async()=>{j(1),In(h)})(),/*clientstyling, customStylingContainer*/72&e.$$.dirty[0]&&g&&u&&(()=>{let e=document.createElement("style");e.innerHTML=g,u.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/80&e.$$.dirty[0]&&y&&u&&(()=>{let e=new URL(y),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{u.appendChild(t)}),1)}))})(),/*translationurl*/32&e.$$.dirty[0]&&b&&fetch(b).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Ln(t,e[t])}))})).catch((e=>{console.log(e)}))},[h,m,_,g,y,b,u,B,O,C,x,E,A,T,S,a,l,P,D,k,M,H,R,$,r,i,["active","completed","claimable"],U,W,()=>{window.postMessage({type:"EnableScroll"},window.location.href),window.postMessage({type:"OnBonusForfeitedDone"}),n(20,M=!1)},j,q,()=>{n(18,(n(19,k=!1),D=!P))},d,p,f,w,o,e=>{n(21,H=e),j(1)},function(){P=this.value,n(17,P)},()=>{U(P,!0)},function(e){F[e?"unshift":"push"]((()=>{B=e,n(7,B)}))},function(e){F[e?"unshift":"push"]((()=>{O=e,n(8,O)}))},()=>j(1),()=>W($),function(e){F[e?"unshift":"push"]((()=>{u=e,n(6,u)}))}]}class Bh extends Q{constructor(e){super();const t=document.createElement("style");t.textContent=':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}.BonusList{display:flex;flex-wrap:wrap}.BonusItem{flex:0 0 50%;max-width:50%;padding:10px}.BonusItemMobile{flex:0 0 100%;max-width:100%}.BonusPaginationWrapper{margin:40px 0;display:flex;justify-content:center}.BonusPaginationWrapper.BonusPaginationWrapperMobile{flex-wrap:wrap;text-align:center}.BonusPaginationWrapper .BonusesFirst,.BonusPaginationWrapper .BonusesPrev,.BonusPaginationWrapper .BonusesNext,.BonusPaginationWrapper .BonusesLast{color:var(--emfe-w-bonus-pagination-primary, var(--emfe-w-color-blue, #00AEEF));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusPaginationWrapper .BonusesFirst.Inactive,.BonusPaginationWrapper .BonusesPrev.Inactive,.BonusPaginationWrapper .BonusesNext.Inactive,.BonusPaginationWrapper .BonusesLast.Inactive{color:var(--emfe-w-bonus-pagination-inactive-text, var(--emfe-w-color-gray-100, #E6E6E6));cursor:default}.BonusPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emfe-w-bonus-pagination-text, var(--emfe-w-color-gray-300, #58586B));font-size:16px;cursor:pointer;padding:5px 10px}.BonusPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emfe-w-bonus-pagination-active-bg, var(--emfe-w-color-white, #FFFFFF));font-weight:700}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-bonus-pagination-border, var(--emfe-w-color-blue, #00AEEF));border-color:var(--emfe-w-bonus-pagination-border, var(--emfe-w-color-blue, #00AEEF)) transparent var(--emfe-w-bonus-pagination-primary, var(--emfe-w-color-blue, #00AEEF)) transparent;animation:LoaderForModal 1.2s linear infinite}@keyframes LoaderForModal{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.BonusCalendarWrapper{display:flex;gap:20px;flex-wrap:wrap;background:var(--emfe-w-bonus-calendar-bg, var(--emfe-w-color-gray-50, #F4F4F4));border-radius:5px;padding:27px;width:calc(50% - 20px);margin:10px}.BonusCalendarContent{display:flex;gap:20px;flex-wrap:wrap}.BonusCalendarContainer{display:flex;gap:20px;flex-wrap:wrap;flex:4}.BonusCalendarContainer.BonusCalendarContainerMobile{flex-direction:row;gap:0;justify-content:space-between;padding-bottom:0;width:100%;flex-direction:column}.BonusCalendarTitle{font-size:18px;font-weight:700;width:100%;color:var(--emfe-w-bonus-calendar-text, var(--emfe-w-color-gray-300, #58586B))}.BonusCalendarStartDate,.BonusCalendarEndDate{color:var(--emfe-w-bonus-calendar-text, var(--emfe-w-color-gray-300, #58586B));display:flex;position:relative;align-items:center;gap:10px;min-width:140px;flex:0 0 47%;flex-wrap:wrap}.BonusCalendarStartDate vaadin-date-picker,.BonusCalendarEndDate vaadin-date-picker{width:100%}.BonusCalendarStartDate.BonusesCalendarMobile,.BonusCalendarEndDate.BonusesCalendarMobile{flex-direction:column;align-items:flex-start;gap:5px;width:100%}.BonusCalendarStartDate.BonusesCalendarMobile .VaadinDatePicker,.BonusCalendarEndDate.BonusesCalendarMobile .VaadinDatePicker{width:100%}.BonusCalendarStartDate label,.BonusCalendarEndDate label{font-size:14px;font-weight:300;width:100%;text-transform:capitalize}.BonusCalendarStartDate input,.BonusCalendarEndDate input{width:100%;height:44px;border:1px solid var(--emfe-w-bonus-calendar-border, var(--emfe-w-color-gray-100, #E6E6E6));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;outline-color:var(--emfe-w-bonus-calendar-outline, var(--emfe-w-color-primary, #00AEEF))}.BonusFilterButton{flex:2;background:var(--emfe-w-bonus-filter-bg, var(--emfe-w-color-yellow, #F39C12));outline:5px solid var(--emfe-w-bonus-filter-outline, var(--emfe-w-color-yellow, rgba(243, 156, 18, 0.3)));border-radius:9px;border:0;width:180px;max-width:180px;height:38px;font-size:18px;font-weight:400;text-align:center;transition-duration:0.5s;transition-property:outline, color, background;box-sizing:border-box;cursor:pointer;color:var(--emfe-w-bonus-filter-text, var(--emfe-w-color-white, #FFFFFF));align-self:end;margin-bottom:5px}.BonusFilterButton[disabled]{opacity:0.3;cursor:not-allowed}.BonusFilterButton.BonusFilterButtonMobile{width:100%;min-width:100%}.BonusFilterButton:hover{background:var(--emfe-w-bonus-filter-bg, var(--emfe-w-color-yellow, #F38B12));outline:0}.BonusFilterButton:active{background:var(--emfe-w-bonus-filter-bg, var(--emfe-w-color-yellow, #F38B12));outline-color:var(--emfe-w-bonus-filter-outline, var(--emfe-w-color-yellow, rgba(243, 156, 18, 0.6)))}.BonusFilterWrapper{display:flex;gap:15px;padding:10px;align-items:flex-start}.BonusFilterWrapper.BonusFilterWrapperMobile{width:100%;flex-direction:column;gap:10px;padding:0;padding-bottom:15px}.BonusFilterContainer{display:flex;gap:5px;border-bottom:5px solid var(--emfe-w-bonus-filter-border, var(--emfe-w-color-green, #53B65A));width:100%}.BonusStatusFilter{color:var(--emfe-w-bonus-status-filter-text, var(--emfe-w-color-gray-300, #6D6D6D));cursor:pointer;width:200px;height:50px;font-size:18px;text-transform:capitalize;text-align:center;transition-duration:0.5s;box-sizing:border-box;padding:15px;background:var(--emfe-w-bonus-status-filter-bg, var(--emfe-w-color-white, #FFFFFF));border:1px solid var(--emfe-w-bonus-status-filter-border, var(--emfe-w-color-gray-300, #767171));border-bottom:0;border-radius:5px 5px 0px 0px}.BonusStatusFilter.BonusStatusFilterMobile{width:100%;height:44px}.BonusStatusFilter.active{color:var(--emfe-w-bonus-status-active-bg, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-bonus-status-active-bg, var(--emfe-w-color-gray-300, #4E5662));border:0.5px solid var(--emfe-w-bonus-status-active-border, var(--emfe-w-color-gray-300, #767171))}.BonusPageNumber{color:var(--emfe-w-bonus-page-number-text, var(--emfe-w-color-gray-150, #9C9C9C));flex:1;display:flex;flex-wrap:wrap}.BonusPageNumberTabs{display:flex}.BonusPageNumberTabs .BonusPageNumberTab{cursor:pointer;width:36px;height:36px;padding:10px;text-align:center}.BonusPageNumberTabs .BonusPageNumberTab.active{color:var(--emfe-w-bonus-page-number-text, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-bonus-page-number-active, var(--emfe-w-color-yellow, #F39C12));border-radius:50%}.BonusCodeContainer{color:var(--emfe-w-bonus-page-number-text, var(--emfe-w-color-black, #000000));display:flex;flex-direction:column;position:relative;width:calc(50% - 20px);background:#F4F4F4;border-radius:5px;padding:36px;margin:10px}.BonusCodeContainer label{font-size:18px;font-weight:700;padding-bottom:20px}.BonusCodeContainer .Asterisk{color:var(--emfe-w-bonus-card-red, var(--emfe-w-color-red, #FD2839))}.BonusCodeContainer.BonusCodeContainerMobile{width:100%;margin:0 0 10px}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{flex:3;height:50px;border:1px solid var(--emfe-w-bonus-code-border, var(--emfe-w-color-gray-50, #D1D1D1));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:var(--emfe-w-bonus-code-outline, var(--emfe-w-color-gray-100, #C1C1C1))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .BonusClaimButton{background:var(--emfe-w-bonus-claim-bg, var(--emfe-w-color-yellow, #F39C12));outline:5px solid var(--emfe-w-bonus-claim-outline, var(--emfe-w-color-yellow, rgba(243, 156, 18, 0.3)));border-radius:9px;border:0;width:180px;height:38px;font-size:18px;font-weight:400;text-align:center;transition-duration:0.5s;box-sizing:border-box;margin-top:5px;cursor:pointer;color:var(--emfe-w-bonus-claim-text, var(--emfe-w-color-white, #FFFFFF))}.BonusCodeContainer .BonusCodeWrapper .BonusClaimButton[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .BonusClaimButton.BonusClaimButtonMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .BonusClaimButton:hover{background:var(--emfe-w-bonus-claim-hover-bg, var(--emfe-w-color-yellow, #F38B12));outline:0}.BonusCodeContainer .BonusCodeWrapper .BonusClaimButton:active{background:var(--emfe-w-bonus-claim-active-bg, var(--emfe-w-color-yellow, #F38B12));outline-color:var(--emfe-w-bonus-claim-active-outline, var(--emfe-w-color-white, rgba(243, 156, 18, 0.6)))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emfe-w-color-primary, #00AEEF);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #00AEEF)}.BonusCodeContainer .InvalidBonusCodeMessage{color:var(--emfe-w-color-error, #FD2839)}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emfe-w-bonus-modal-bg, var(--emfe-w-color-black, rgba(0, 0, 0, 0.7)));display:flex;justify-content:center;align-items:center;z-index:100}.ModalWrapper .ModalContent{background-color:var(--emfe-w-bonus-modal-bg, var(--emfe-w-color-white, #FFFFFF));position:relative;padding:30px;border-top:5px solid var(--emfe-w-bonus-modal-border, var(--emfe-w-color-primary, #00AEEF));border-radius:5px}.ModalWrapper .ModalBody{background-color:var(--emfe-w-bonus-modal-bg, var(--emfe-w-color-gray-50, #F9F8F8));padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:22px;margin-bottom:40px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emfe-w-bonus-modal-border, var(--emfe-w-color-gray-300, #58586B));color:var(--emfe-w-bonus-modal-text, var(--emfe-w-color-gray-300, #58586B));cursor:pointer;border-radius:5px;width:180px;height:38px;font-size:18px;text-transform:capitalize;text-align:center;transition-duration:0.5s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:var(--emfe-w-bonus-modal-bg, var(--emfe-w-color-primary, #00AEEF));border:1px solid var(--emfe-w-bonus-modal-bg, var(--emfe-w-color-primary, #00AEEF));color:var(--emfe-w-bonus-modal-text, var(--emfe-w-color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}@media only screen and (max-width: 1024px){.BonusCodeContainer{width:100%}.BonusCalendarWrapper,.BonusCalendarContent,.BonusCalendarContainer{width:100%;flex-wrap:wrap}.BonusCalendarWrapper{margin:10px 0 0 0}.BonusFilterWrapper{width:100%;flex-direction:column;gap:10px;padding:10px 0}.BonusStatusFilter{width:100%}.BonusFilterButton{margin-top:0}.BonusFilterButton,.BonusClaimButton{width:100%}.BonusItem{flex:0 0 100%;max-width:100%;padding:0;margin:10px 0 0 0}.BonusCalendarStartDate,.BonusCalendarEndDate{flex-direction:column;align-items:flex-start;gap:5px}.BonusCalendarStartDate .VaadinDatePicker,.BonusCalendarEndDate .VaadinDatePicker{width:100%}.BonusCalendarTitle{width:100%}}',this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Mh,kh,s,{endpoint:33,lang:0,session:34,currency:35,limit:1,cmsendpoint:2,clientstyling:3,clientstylingurl:4,translationurl:5},null,[-1,-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["endpoint","lang","session","currency","limit","cmsendpoint","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[33]}set endpoint(e){this.$$set({endpoint:e}),j()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),j()}get session(){return this.$$.ctx[34]}set session(e){this.$$set({session:e}),j()}get currency(){return this.$$.ctx[35]}set currency(e){this.$$set({currency:e}),j()}get limit(){return this.$$.ctx[1]}set limit(e){this.$$set({limit:e}),j()}get cmsendpoint(){return this.$$.ctx[2]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),j()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),j()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),j()}get translationurl(){return this.$$.ctx[5]}set translationurl(e){this.$$set({translationurl:e}),j()}}return!customElements.get("casino-bonuses-controller")&&customElements.define("casino-bonuses-controller",Bh),!customElements.get("casino-bonus-pagination")&&customElements.define("casino-bonus-pagination",class extends Q{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.GeneralPagination{margin:40px 0;display:flex}.PaginationWrapper{flex:1;display:flex;justify-content:center}.PaginationWrapper.PaginationWrapperMobile{flex-wrap:wrap;text-align:center}.PaginationWrapper .prev,.PaginationWrapper .next,.PaginationWrapper .number{color:var(--emfe-w-bonus-pagination-text, var(--emfe-w-color-contrast-600, #0D0D4D));font-size:16px;cursor:pointer;font-weight:700;border:1px solid var(--emfe-w-bonus-pagination-border, var(--emfe-w-color-gray-150, #828282));width:32px;height:32px;line-height:28px;text-align:center;margin-right:2px;border-radius:2px}.PaginationWrapper .prev.disabled,.PaginationWrapper .next.disabled,.PaginationWrapper .number.disabled{color:var(--emfe-w-bonus-pagination-disabled, var(--emfe-w-color-gray-100, #E6E6E6));border-color:var(--emfe-w-bonus-pagination-disabled, var(--emfe-w-color-gray-100, #E6E6E6));cursor:default}.PaginationWrapper .prev.active,.PaginationWrapper .next.active,.PaginationWrapper .number.active{background-color:var(--emfe-w-bonus-pagination-bg, var(--emfe-w-color-contrast, #00AEEF));color:var(--emfe-w-bonus-pagination-active, var(--emfe-w-color-white, #FFFFFF))}.PaginationWrapper .ellipsis{width:32px;margin-right:2px;text-align:center;line-height:20px}.PaginationInputWrapper{flex:1}.PaginationInputWrapper .PaginationInput{padding:7px 0 6px 0;width:32px;text-align:center}.PaginationInputWrapper .PaginationGoButton{background:none;border:none;cursor:pointer;font-size:18px}',this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},mh,fh,s,{totalitems:10,pagesize:11,currentpage:12,limit:13,showinput:14,clientstyling:15,clientstylingurl:16},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["totalitems","pagesize","currentpage","limit","showinput","clientstyling","clientstylingurl"]}get totalitems(){return this.$$.ctx[10]}set totalitems(e){this.$$set({totalitems:e}),j()}get pagesize(){return this.$$.ctx[11]}set pagesize(e){this.$$set({pagesize:e}),j()}get currentpage(){return this.$$.ctx[12]}set currentpage(e){this.$$set({currentpage:e}),j()}get limit(){return this.$$.ctx[13]}set limit(e){this.$$set({limit:e}),j()}get showinput(){return this.$$.ctx[14]}set showinput(e){this.$$set({showinput:e}),j()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),j()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),j()}}),!customElements.get("casino-bonus-card")&&customElements.define("casino-bonus-card",class extends Q{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.BonusCard{background-color:#F4F4F4;padding:10px 20px 20px;border-radius:5px;font-size:18px;font-weight:500;color:var(--emfe-w-bonus-card-text, var(--emfe-w-color-gray-300, #6D6D6D))}.BonusCardHeader{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #D1D1D1}.BonusCardHeader:nth-child(even){background-color:var(--emfe-w-bonus-card-bg, var(--emfe-w-color-gray-50, #F9F8F8))}.BonusCardRow{display:flex;padding:11px 0;margin:0;align-items:center}.BonusCardLabel{flex:3}.BonusCardRowTitle{color:var(--emfe-w-bonus-card-black, var(--emfe-w-color-black, #000000));font-weight:700;font-size:18px;display:flex;align-items:center;text-indent:10px}.BonusCardRowTitle span{font-weight:400;color:var(--emfe-w-bonus-card-span, var(--emfe-w-color-primary, #00AEEF))}.BonusCardTitleSub{display:flex;font-size:16px;text-indent:10px;align-items:center;font-weight:400}.BonusCardRowText{flex:2;color:#9C9C9C;text-transform:capitalize}.BonusCardRowText.BonusCardStatus{font-weight:700;color:var(--emfe-w-bonus-card-title, var(--emfe-w-color-black, #000000))}.BonusCardRowText.StatusActive{color:var(--emfe-w-bonus-card-green, var(--emfe-w-color-green, #53B65A))}.BonusCardRowText.Type{color:var(--emfe-w-bonus-card-black, var(--emfe-w-color-black, #000000))}.BonusCardRowText.StatusExpired{color:var(--emfe-w-bonus-card-red, var(--emfe-w-color-red, #FD2839))}.BonusCardRowText.StatusCompleted{color:var(--emfe-w-bonus-card-yellow, var(--emfe-w-color-yellow, #F39C12))}.BonusCardRowText.TextCapitalize{text-transform:capitalize}.BonusCardRowText .BonusAmount{color:var(--emfe-w-bonus-card-black, var(--emfe-w-color-black, #000000))}.BonusCardRowText .Amount{color:var(--emfe-w-bonus-card-green, var(--emfe-w-color-green, #53B65A))}.BonusCardAction{margin:20px 0 0;padding:10px 5px 0 0;display:flex;justify-content:end}.BonusCardAdditional,.BonusCardTerms{border:1px solid var(--emfe-w-bonus-card-border, var(--emfe-w-color-gray-100, #E6E6E6));background:var(--emfe-w-bonus-card-white, var(--emfe-w-color-white, #FFFFFF));color:var(--emfe-w-bonus-card-black, var(--emfe-w-color-black, #000000));padding:12px;border-radius:4px;position:relative;margin-top:10px;font-size:16px;transition:height 0.3s ease;will-change:height}.BonusCardAdditional.active,.BonusCardTerms.active{transition:height 0.3s ease}.BonusCardAdditionalTitle,.BonusCardTermsTitle{display:flex;align-items:center;text-indent:10px}.BonusCardAdditionalButton{font-weight:700;font-size:30px;position:absolute;top:0;right:10px;cursor:pointer}.BonusCardTermsButton{font-weight:700;font-size:30px;position:absolute;top:0;right:10px;cursor:pointer}.BonusCardTermsLink{display:flex;align-items:center;color:#000;text-indent:10px;cursor:pointer}.BonusCardJoinError{color:var(--emfe-w-bonus-card-red, var(--emfe-w-color-red, #FF0000));align-self:center}.BonusCardJoinCountdown{display:flex;align-items:center;text-indent:10px;font-size:16px;font-weight:400}.BonusCardJoinWrapper{display:flex;gap:30px}.BonusJoinButton{background:var(--emfe-w-bonus-card-green, var(--emfe-w-color-green, #53B65A));outline:5px solid var(--emfe-w-bonus-card-green, var(--emfe-w-color-green, rgba(83, 182, 90, 0.3)));border-radius:9px;border:0;width:180px;height:38px;font-size:18px;font-weight:400;text-align:center;transition-duration:0.5s;box-sizing:border-box;cursor:pointer;color:var(--emfe-w-bonus-card-white, var(--emfe-w-color-white, #FFFFFF))}.BonusJoinButton[disabled]{opacity:0.3;cursor:not-allowed}.BonusJoinButton.ClaimBonusButtonMobile{width:100%}.BonusJoinButton:hover{background:var(--emfe-w-bonus-card-green, var(--emfe-w-color-green, #25982D));outline:0}.BonusJoinButton:active{background:var(--emfe-w-bonus-card-green, var(--emfe-w-color-green, #25982D));outline-color:rgba(83, 182, 90, 0.6)}.BonusForfeitButton{background:var(--emfe-w-bonus-card-red, var(--emfe-w-color-red, #F32013));outline:5px solid var(--emfe-w-bonus-card-red, var(--emfe-w-color-red, rgba(243, 32, 19, 0.3)));border-radius:9px;border:0;width:180px;height:38px;font-size:18px;font-weight:400;text-align:center;transition-duration:0.5s;box-sizing:border-box;cursor:pointer;color:var(--emfe-w-color-white, #FFFFFF)}.BonusForfeitButton[disabled]{opacity:0.3;cursor:not-allowed}.BonusForfeitButton.ClaimBonusButtonMobile{width:100%}.BonusForfeitButton:hover{background:var(--emfe-w-bonus-card-red, var(--emfe-w-color-red, #C70C00));outline:0}.BonusForfeitButton:active{background:var(--emfe-w-bonus-card-red, var(--emfe-w-color-red, #C70C00));outline-color:var(--emfe-w-bonus-card-red, var(--emfe-w-color-red, rgba(243, 32, 19, 0.6)))}.BonusCardActionCountdown{margin-bottom:5px}.BonusCardData{display:flex}.BonusCardDataContent{flex:3;height:260px}.BonusCardFooter{height:100px}.BonusCardFooter.Active{height:auto}.BonusCardProgress{flex:1;max-width:147px;--progress-track-color:var(--emfe-w-bonus-card-blue,var(--emfe-w-color-blue, #00AEEF))}.BonusCardProgress .CircularProgress{display:flex;margin:15px;position:relative}.BonusCardProgress .CircularProgressText{text-align:center}.BonusActionWagering{display:flex;height:100px}.BonusWageringInfo{flex:60%}.BonusWageringButton{flex:40%}.TitleIcon{display:flex;max-width:83px;min-width:43px;height:41px}.CasinoIcon,.SportsIcon{fill:none}.BonusGamesSlider{display:flex}.SliderNavButton{border:0px;width:25px;display:flex;align-items:center;justify-content:center}.SliderNavButton svg{width:20px}.SliderNavButton.Hide{display:none}.Main{max-width:300px;overflow:hidden}.Games{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.Game{min-width:100px;height:75px;margin:0;color:var(--emfe-w-bonus-card-white, var(--emfe-w-color-white, #FFFFFF));display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.PlayNowButton{position:absolute;background:var(--emfe-w-bonus-card-green, var(--emfe-w-color-green, #48952a));display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emfe-w-bonus-card-white, var(--emfe-w-color-white, #FFFFFF));text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ItemHover{opacity:1}@media only screen and (max-width: 728px){.BonusCard{font-size:12px}.BonusCardRowTitle{font-size:14px}.BonusCardTitleSub{font-size:12px}.BonusCardAction,.BonusCardActionContent,.BonusForfeitButton,.BonusJoinButton{width:100%}.BonusCardAction{margin-top:10px}.TitleIcon{max-width:60px;min-width:30px;height:30px}.BonusCardAdditional,.BonusCardTerms{font-size:14px}.BonusCardProgress .CircularProgress{margin:10px 0}.BonusCardFooter{height:auto}.BonusCardDataContent{height:auto}.BonusCardJoinWrapper{flex-direction:column;gap:15px}.BonusCardJoinCountdown{font-size:12px}}',this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},ih,oh,s,{rawbonus:39,lang:40,status:0,clientstyling:1,clientstylingurl:2,cmsendpoint:41,translationurl:42},null,[-1,-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["rawbonus","lang","status","clientstyling","clientstylingurl","cmsendpoint","translationurl"]}get rawbonus(){return this.$$.ctx[39]}set rawbonus(e){this.$$set({rawbonus:e}),j()}get lang(){return this.$$.ctx[40]}set lang(e){this.$$set({lang:e}),j()}get status(){return this.$$.ctx[0]}set status(e){this.$$set({status:e}),j()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),j()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),j()}get cmsendpoint(){return this.$$.ctx[41]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),j()}get translationurl(){return this.$$.ctx[42]}set translationurl(e){this.$$set({translationurl:e}),j()}}),!customElements.get("casino-bonus-progress")&&customElements.define("casino-bonus-progress",class extends Q{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.CircularProgress{height:100%;position:relative;width:100%}.CircularProgressLineBg{stroke:var(--emfe-w-bonus-progress-primary, var(--emfe-w-color-gray-100, #D9D9D9))}.CircularProgressLine{stroke:var(--emfe-w-bonus-progress-primary, var(--emfe-w-color-primary, #00AEEF));transition:0.35s stroke-dashoffset;transform:rotate(-90deg);transform-origin:50% 50%;fill:transparent}.CircularProgressLine.Completed{stroke:var(--emfe-w-bonus-progress-bg, var(--emfe-w-color-gray-300, #A9A9A9))}.CircularProgressCenter{fill:var(--emfe-w-bonus-progress-primary, var(--emfe-w-color-primary, #00AEEF))}.CircularProgressCenter.Completed{fill:var(--emfe-w-bonus-progress-bg, var(--emfe-w-color-gray-100, #D9D9D9))}.CircularProgressText{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);color:var(--emfe-w-bonus-progress-text, var(--emfe-w-color-white, #FFFFFF))}',this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Jc,Xc,s,{value:0,status:1,clientstyling:6,clientstylingurl:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),j()))}static get observedAttributes(){return["value","status","clientstyling","clientstylingurl"]}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),j()}get status(){return this.$$.ctx[1]}set status(e){this.$$set({status:e}),j()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),j()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),j()}}),Bh}));
13735
13735
  //# sourceMappingURL=casino-bonuses-controller.js.map