@everymatrix/player-account-gaming-limits-wrapper-2 1.55.0 → 1.56.2

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.
Files changed (29) hide show
  1. package/components/{PlayerAccountGamingLimitsHistory2-4KF7-RcC.js → PlayerAccountGamingLimitsHistory2-B3PpGrMk.js} +1087 -965
  2. package/components/{PlayerAccountGamingLimitsHistory2-CBvsOjCi.js → PlayerAccountGamingLimitsHistory2-DIXg5IuM.js} +1121 -999
  3. package/components/PlayerAccountGamingLimitsHistory2-DOCZA8tu.cjs +18 -0
  4. package/components/{PlayerAccountGamingLimitsPage2Gm16-Dtq9wJaJ.js → PlayerAccountGamingLimitsPage2Gm16-CVQA1OzN.js} +1076 -1039
  5. package/components/{PlayerAccountGamingLimitsPage2Gm16-CuxJ8Xju.js → PlayerAccountGamingLimitsPage2Gm16-DAO9xs8v.js} +1177 -1140
  6. package/components/PlayerAccountGamingLimitsPage2Gm16-YT7q0L2x.cjs +21 -0
  7. package/components/PlayerAccountGamingLimitsWrapper2-BI1e7Suv.js +1011 -0
  8. package/components/PlayerAccountGamingLimitsWrapper2-D6BtA2Oq.cjs +1 -0
  9. package/components/PlayerAccountGamingLimitsWrapper2-T9cBmOrL.js +1017 -0
  10. package/es2015/player-account-gaming-limits-wrapper-2.cjs +1 -1
  11. package/es2015/player-account-gaming-limits-wrapper-2.js +1 -1
  12. package/esnext/player-account-gaming-limits-wrapper-2.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
  15. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  16. package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
  17. package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
  18. package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
  19. package/stencil/ui-skeleton-C1buDKbo.cjs +1 -0
  20. package/stencil/ui-skeleton-C5gPr5Xv.js +11 -0
  21. package/stencil/ui-skeleton-M7HNQCk1.js +29 -0
  22. package/stencil/ui-skeleton-a642cced-BFJMszWG.js +122 -0
  23. package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +1 -0
  24. package/stencil/ui-skeleton-a642cced-p8tGooXk.js +122 -0
  25. package/components/PlayerAccountGamingLimitsHistory2-7xNrE9YG.cjs +0 -5
  26. package/components/PlayerAccountGamingLimitsPage2Gm16--q4xUQS8.cjs +0 -21
  27. package/components/PlayerAccountGamingLimitsWrapper2-BOn1tC_K.cjs +0 -1
  28. package/components/PlayerAccountGamingLimitsWrapper2-Cjgpntyc.js +0 -866
  29. package/components/PlayerAccountGamingLimitsWrapper2-nKKqHfcg.js +0 -860
@@ -1,5 +1,6 @@
1
- import { a as ut, $ as dt, S as pt, i as ct, f as $, c as Lt, s as ft, b as gt, e as v, d as O, g as f, h as u, j as C, n as le, k as T, l as yt, m as ht, o as vt, p as Ye, t as ci, q as Xe, r as I, u as Li, v as ie, w as x, x as de, y as we, z as Ae, A as Te, B as fi, C as Se, D as kt, E as B, F as be } from "./PlayerAccountGamingLimitsHistory2-CBvsOjCi.js";
2
- const R = {
1
+ import { a as mi, $ as ui, S as di, i as pi, f as X, c as ci, s as Li, b as fi, e as k, d as B, g as c, h as u, j as T, n as Le, k as A, l as gi, m as yi, o as hi, p as ki, q as vi, r as Xe, t as Lt, u as Ze, v as bi, w as I, x as ft, y as te, z as N, A as le, B as _e, C as Se, D as Ce, E as gt, F as Te, G as wi, H as W, I as we } from "./PlayerAccountGamingLimitsHistory2-DIXg5IuM.js";
2
+ import "../stencil/ui-skeleton-C5gPr5Xv.js";
3
+ const O = {
3
4
  lugas: {
4
5
  title: "Deposit Limit",
5
6
  value: "lugas",
@@ -43,11 +44,11 @@ const R = {
43
44
  callValue16: "cumulativeSession"
44
45
  }
45
46
  };
46
- function Ze(a, e) {
47
- ut(a, e);
47
+ function Je(a, e) {
48
+ mi(a, e);
48
49
  }
49
- function bt(a) {
50
- dt.set(a);
50
+ function _i(a) {
51
+ ui.set(a);
51
52
  }
52
53
  const ue = {
53
54
  en: {
@@ -1063,254 +1064,258 @@ const ue = {
1063
1064
  "dataLayer-weekly": "Haftalık",
1064
1065
  "dataLayer-monthly": "Aylık"
1065
1066
  }
1066
- }, { document: wt } = vt;
1067
- function _t(a) {
1068
- gt(a, "svelte-1m8m6ib", ':host{font-family:system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}input:focus,input :focus-within,input :focus-visible,input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-page-2-gm16{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px;float:left}.LimitsInteractionArea .InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #FD2839));font-size:14px;padding:6px 0px;margin-bottom:6px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitCompliance{margin:20px 0px}.LimitCompliance .LimitComplianceText{font-size:14px}.LimitWrapper{background:var(--emw--color-white, #fff);font-size:1.3rem;border:1px solid var(--emw--color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.CloseButton{background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B);margin-top:8px;border-radius:2px;padding:12px;cursor:pointer}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{display:flex;width:100%;justify-content:space-between;align-items:center;padding-bottom:16px;gap:10px;font-size:1.3rem;color:var(--emw--color-black, #000000)}.PendingLimit{color:var(--emw--color-black, #000000)}.CurrentLimitContainer{width:100%;display:flex;flex-direction:column;gap:5px}.LimitTitle{font-size:0.9rem}.PopupOverlay{position:absolute;top:0;left:0;background:rgba(35, 38, 43, 0.7);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center;z-index:99}.PopupContainer{background:var(--emw--color-white, #FFFFFF);font-size:1.3rem;color:var(--emw--color-black, #000000);width:80vw;min-height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-black, #000000);font-size:1.3rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.ContainerLimitActions{display:flex;flex-direction:row;gap:10px}.ReloadLimitButton,.RemoveLimitButton,.ConfirmLimitButton,.CancelLimitButton{height:28px;width:100%;max-width:150px;font-size:0.7rem;background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer;white-space:nowrap}.ReloadLimitButton:hover,.RemoveLimitButton:hover,.ConfirmLimitButton:hover,.CancelLimitButton:hover{background:var(--emw--color-gray-300, #58586B);color:var(--emw--color-white, #FFFFFF)}.ReloadLimitButton.disabled,.RemoveLimitButton.disabled,.ConfirmLimitButton.disabled,.CancelLimitButton.disabled{color:var(--emw--bonus-pagination-disabled, var(--emw--color-gray-100, #E6E6E6));border-color:var(--emw--bonus-pagination-disabled, var(--emw--color-gray-100, #E6E6E6));cursor:default}.ReloadLimitButton.disabled:hover,.RemoveLimitButton.disabled:hover,.ConfirmLimitButton.disabled:hover,.CancelLimitButton.disabled:hover{background:none;color:none}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}');
1067
+ };
1068
+ function Si(a) {
1069
+ fi(a, "svelte-1cy3ex4", ':host{font-family:system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}input:focus,input :focus-within,input :focus-visible,input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-page-2-gm16{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px;float:left}.LimitsInteractionArea .InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #FD2839));font-size:14px;padding:6px 0px;margin-bottom:6px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitCompliance{margin:20px 0px}.LimitCompliance .LimitComplianceText{font-size:14px}.LimitWrapper{background:var(--emw--color-white, #fff);font-size:1.3rem;border:1px solid var(--emw--color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.CloseButton{background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B);margin-top:8px;border-radius:2px;padding:12px;cursor:pointer}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{display:flex;width:100%;justify-content:space-between;align-items:center;padding-bottom:16px;gap:10px;font-size:1.3rem;color:var(--emw--color-black, #000000)}.PendingLimit{color:var(--emw--color-black, #000000)}.CurrentLimitContainer{width:100%;display:flex;flex-direction:column;gap:5px}.LimitTitle{font-size:0.9rem}.PopupOverlay{position:absolute;top:0;left:0;background:rgba(35, 38, 43, 0.7);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center;z-index:99}.PopupContainer{background:var(--emw--color-white, #FFFFFF);font-size:1.3rem;color:var(--emw--color-black, #000000);width:80vw;min-height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-black, #000000);font-size:1.3rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.ContainerLimitActions{display:flex;flex-direction:row;gap:10px}.ReloadLimitButton,.RemoveLimitButton,.ConfirmLimitButton,.CancelLimitButton{height:28px;width:100%;max-width:150px;font-size:0.7rem;background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer;white-space:nowrap}.ReloadLimitButton:hover,.RemoveLimitButton:hover,.ConfirmLimitButton:hover,.CancelLimitButton:hover{background:var(--emw--color-gray-300, #58586B);color:var(--emw--color-white, #FFFFFF)}.ReloadLimitButton.disabled,.RemoveLimitButton.disabled,.ConfirmLimitButton.disabled,.CancelLimitButton.disabled{color:var(--emw--bonus-pagination-disabled, var(--emw--color-gray-100, #E6E6E6));border-color:var(--emw--bonus-pagination-disabled, var(--emw--color-gray-100, #E6E6E6));cursor:default}.ReloadLimitButton.disabled:hover,.RemoveLimitButton.disabled:hover,.ConfirmLimitButton.disabled:hover,.CancelLimitButton.disabled:hover{background:none;color:none}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}.skeletonLimitContainer{min-height:500px;max-height:650px;container-type:inline-size;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.skeletonLimitContainer .skeletonLimitWrapper{min-height:150px;max-height:400px;width:45%;display:flex;flex-direction:column;border:1px solid var(--emw--color-gray-300, #58586B);margin:12px;padding:8px 12px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitText{width:30%;margin-bottom:10px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding-left:5px;margin-bottom:30px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitAmount{width:100%}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitAmount .skeletonAmountText{width:40%}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitAmount .skeletonSubText{width:80%}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitButton{display:flex;flex-direction:row;width:20%;gap:10px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitButton div{width:100%}@container (max-width: 768px){.skeletonLimitContainer .skeletonLimitWrapper{width:100%;margin:0px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent{width:100%}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitButton{display:flex;flex-direction:row;width:40%;gap:10px}.skeletonLimitContainer .skeletonLimitWrapper .skeletonLimitContent .skeletonLimitButton div{width:100%}}.skeletonLimitContainer .skeletonInputWrapper{display:flex;flex-direction:column;width:320px;gap:10px}.skeletonLimitContainer .skeletonInputWrapper .skletonHeader{width:50%;margin-top:20px}.skeletonLimitContainer .skeletonInputWrapper .skeletonPeriod,.skeletonLimitContainer .skeletonInputWrapper .skeletonInputAmount,.skeletonLimitContainer .skeletonInputWrapper .skeletonButton{width:100%}@container (max-width: 768px){.skeletonLimitContainer .skeletonInputWrapper{width:100%}.skeletonLimitContainer .skeletonInputWrapper .skeletonPeriod,.skeletonLimitContainer .skeletonInputWrapper .skeletonInputAmount,.skeletonLimitContainer .skeletonInputWrapper .skeletonButton{width:inherit}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
1070
+ }
1071
+ function Qe(a, e, t) {
1072
+ const i = a.slice();
1073
+ return i[123] = e[t], i;
1069
1074
  }
1070
- function Je(a, e, i) {
1071
- const t = a.slice();
1072
- return t[120] = e[i], t;
1075
+ function $e(a, e, t) {
1076
+ const i = a.slice();
1077
+ return i[126] = e[t], i[128] = t, i;
1073
1078
  }
1074
- function Qe(a, e, i) {
1075
- const t = a.slice();
1076
- return t[123] = e[i], t[125] = i, t;
1079
+ function et(a, e, t) {
1080
+ const i = a.slice();
1081
+ return i[126] = e[t], i;
1077
1082
  }
1078
- function $e(a, e, i) {
1079
- const t = a.slice();
1080
- return t[123] = e[i], t;
1083
+ function tt(a, e, t) {
1084
+ const i = a.slice();
1085
+ return i[131] = e[t], i;
1081
1086
  }
1082
- function ei(a, e, i) {
1083
- const t = a.slice();
1084
- return t[128] = e[i], t;
1087
+ function Ai(a, e, t) {
1088
+ const i = a.slice();
1089
+ return i[120] = e[t], i;
1085
1090
  }
1086
- function ii(a) {
1087
- let e, i, t;
1088
- function o(p, c) {
1091
+ function it(a) {
1092
+ let e, t, i;
1093
+ function o(p, d) {
1089
1094
  return (
1090
1095
  /*popupReady*/
1091
- p[20] ? St : At
1096
+ p[20] ? Ti : Ci
1092
1097
  );
1093
1098
  }
1094
1099
  let s = o(a), r = s(a);
1095
1100
  return {
1096
1101
  c() {
1097
- e = v("div"), i = v("div"), r.c(), f(i, "class", t = "PopupContainer " + /*popupClass*/
1102
+ e = k("div"), t = k("div"), r.c(), c(t, "class", i = "PopupContainer " + /*popupClass*/
1098
1103
  a[22] + " " + /*isDesktop*/
1099
- (a[27] ? "Desktop" : "")), f(e, "class", "PopupOverlay");
1104
+ (a[27] ? "Desktop" : "")), c(e, "class", "PopupOverlay");
1100
1105
  },
1101
- m(p, c) {
1102
- C(p, e, c), u(e, i), r.m(i, null);
1106
+ m(p, d) {
1107
+ T(p, e, d), u(e, t), r.m(t, null);
1103
1108
  },
1104
- p(p, c) {
1105
- s === (s = o(p)) && r ? r.p(p, c) : (r.d(1), r = s(p), r && (r.c(), r.m(i, null))), c[0] & /*popupClass*/
1106
- 4194304 && t !== (t = "PopupContainer " + /*popupClass*/
1109
+ p(p, d) {
1110
+ s === (s = o(p)) && r ? r.p(p, d) : (r.d(1), r = s(p), r && (r.c(), r.m(t, null))), d[0] & /*popupClass*/
1111
+ 4194304 && i !== (i = "PopupContainer " + /*popupClass*/
1107
1112
  p[22] + " " + /*isDesktop*/
1108
- (p[27] ? "Desktop" : "")) && f(i, "class", t);
1113
+ (p[27] ? "Desktop" : "")) && c(t, "class", i);
1109
1114
  },
1110
1115
  d(p) {
1111
- p && T(e), r.d();
1116
+ p && A(e), r.d();
1112
1117
  }
1113
1118
  };
1114
1119
  }
1115
- function St(a) {
1116
- let e, i, t = (
1120
+ function Ti(a) {
1121
+ let e, t, i = (
1117
1122
  /*$_*/
1118
1123
  a[26]("popupTitle") + ""
1119
- ), o, s, r, p, c, m, L, y, E, _, D, H, G;
1120
- function F(k, j) {
1124
+ ), o, s, r, p, d, l, L, h, M, b, j, Y, K;
1125
+ function F(y, _) {
1121
1126
  return (
1122
1127
  /*popupErrorDisplay*/
1123
- k[18] ? Dt : (
1128
+ y[18] ? Ei : (
1124
1129
  /*popupVariant*/
1125
- k[23] == 2 ? Ct : Tt
1130
+ y[23] == 2 ? Di : ji
1126
1131
  )
1127
1132
  );
1128
1133
  }
1129
- let W = F(a), M = W(a);
1130
- function U(k, j) {
1134
+ let q = F(a), x = q(a);
1135
+ function U(y, _) {
1131
1136
  return (
1132
1137
  /*popupErrorDisplay*/
1133
- k[18] ? Mt : (
1138
+ y[18] ? Pi : (
1134
1139
  /*popupVariant*/
1135
- k[23] == 2 ? Et : jt
1140
+ y[23] == 2 ? xi : Mi
1136
1141
  )
1137
1142
  );
1138
1143
  }
1139
- let P = U(a), N = P(a);
1140
- function A(k, j) {
1144
+ let R = U(a), D = R(a);
1145
+ function w(y, _) {
1141
1146
  return (
1142
1147
  /*popupVariant*/
1143
- k[23] == 2 ? zt : Pt
1148
+ y[23] == 2 ? Ii : zi
1144
1149
  );
1145
1150
  }
1146
- let S = A(a), b = S(a);
1151
+ let P = w(a), S = P(a);
1147
1152
  return {
1148
1153
  c() {
1149
- e = v("div"), i = v("span"), o = I(t), s = O(), r = v("button"), r.textContent = "X", p = O(), c = v("div"), m = v("div"), M.c(), L = O(), N.c(), y = O(), E = v("p"), _ = O(), b.c(), D = Li(), f(i, "class", "PopupTitle"), f(r, "class", "ClosePopup"), f(e, "class", "PopupTitleWrapper"), f(m, "class", "ResultIconWrapper"), f(E, "class", "DescriptionParagraph"), f(c, "class", "DescriptionWrapper");
1154
+ e = k("div"), t = k("span"), o = I(i), s = B(), r = k("button"), r.textContent = "X", p = B(), d = k("div"), l = k("div"), x.c(), L = B(), D.c(), h = B(), M = k("p"), b = B(), S.c(), j = ft(), c(t, "class", "PopupTitle"), c(r, "class", "ClosePopup"), c(e, "class", "PopupTitleWrapper"), c(l, "class", "ResultIconWrapper"), c(M, "class", "DescriptionParagraph"), c(d, "class", "DescriptionWrapper");
1150
1155
  },
1151
- m(k, j) {
1152
- C(k, e, j), u(e, i), u(i, o), u(e, s), u(e, r), C(k, p, j), C(k, c, j), u(c, m), M.m(m, null), u(m, L), N.m(m, null), u(c, y), u(c, E), E.innerHTML = /*popupContent*/
1153
- a[21], C(k, _, j), b.m(k, j), C(k, D, j), H || (G = ie(
1156
+ m(y, _) {
1157
+ T(y, e, _), u(e, t), u(t, o), u(e, s), u(e, r), T(y, p, _), T(y, d, _), u(d, l), x.m(l, null), u(l, L), D.m(l, null), u(d, h), u(d, M), M.innerHTML = /*popupContent*/
1158
+ a[21], T(y, b, _), S.m(y, _), T(y, j, _), Y || (K = te(
1154
1159
  r,
1155
1160
  "click",
1156
1161
  /*closePopup*/
1157
1162
  a[39]
1158
- ), H = !0);
1163
+ ), Y = !0);
1159
1164
  },
1160
- p(k, j) {
1161
- j[0] & /*$_*/
1162
- 67108864 && t !== (t = /*$_*/
1163
- k[26]("popupTitle") + "") && x(o, t), W !== (W = F(k)) && (M.d(1), M = W(k), M && (M.c(), M.m(m, L))), P === (P = U(k)) && N ? N.p(k, j) : (N.d(1), N = P(k), N && (N.c(), N.m(m, null))), j[0] & /*popupContent*/
1164
- 2097152 && (E.innerHTML = /*popupContent*/
1165
- k[21]), S === (S = A(k)) && b ? b.p(k, j) : (b.d(1), b = S(k), b && (b.c(), b.m(D.parentNode, D)));
1165
+ p(y, _) {
1166
+ _[0] & /*$_*/
1167
+ 67108864 && i !== (i = /*$_*/
1168
+ y[26]("popupTitle") + "") && N(o, i), q !== (q = F(y)) && (x.d(1), x = q(y), x && (x.c(), x.m(l, L))), R === (R = U(y)) && D ? D.p(y, _) : (D.d(1), D = R(y), D && (D.c(), D.m(l, null))), _[0] & /*popupContent*/
1169
+ 2097152 && (M.innerHTML = /*popupContent*/
1170
+ y[21]), P === (P = w(y)) && S ? S.p(y, _) : (S.d(1), S = P(y), S && (S.c(), S.m(j.parentNode, j)));
1166
1171
  },
1167
- d(k) {
1168
- k && (T(e), T(p), T(c), T(_), T(D)), M.d(), N.d(), b.d(k), H = !1, G();
1172
+ d(y) {
1173
+ y && (A(e), A(p), A(d), A(b), A(j)), x.d(), D.d(), S.d(y), Y = !1, K();
1169
1174
  }
1170
1175
  };
1171
1176
  }
1172
- function At(a) {
1177
+ function Ci(a) {
1173
1178
  let e;
1174
1179
  return {
1175
1180
  c() {
1176
- e = v("div"), f(e, "class", "LoadingIndicator");
1181
+ e = k("div"), c(e, "class", "LoadingIndicator");
1177
1182
  },
1178
- m(i, t) {
1179
- C(i, e, t);
1183
+ m(t, i) {
1184
+ T(t, e, i);
1180
1185
  },
1181
- p: le,
1182
- d(i) {
1183
- i && T(e);
1186
+ p: Le,
1187
+ d(t) {
1188
+ t && A(e);
1184
1189
  }
1185
1190
  };
1186
1191
  }
1187
- function Tt(a) {
1188
- let e, i, t, o, s, r;
1192
+ function ji(a) {
1193
+ let e, t, i, o, s, r;
1189
1194
  return {
1190
1195
  c() {
1191
- e = B("svg"), i = B("defs"), t = B("style"), o = I(`.fil0 {fill:black;fill-rule:nonzero}
1192
- `), s = B("g"), r = B("polygon"), f(t, "type", "text/css"), f(r, "class", "fil0"), f(r, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), f(e, "xmlns", "http://www.w3.org/2000/svg"), f(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), f(e, "xml:space", "preserve"), f(e, "version", "1.1"), be(e, "shape-rendering", "geometricPrecision"), be(e, "text-rendering", "geometricPrecision"), be(e, "image-rendering", "optimizeQuality"), f(e, "viewBox", "0 0 90 69"), f(e, "x", "0px"), f(e, "y", "0px"), f(e, "fill-rule", "evenodd"), f(e, "clip-rule", "evenodd");
1196
+ e = W("svg"), t = W("defs"), i = W("style"), o = I(`.fil0 {fill:black;fill-rule:nonzero}
1197
+ `), s = W("g"), r = W("polygon"), c(i, "type", "text/css"), c(r, "class", "fil0"), c(r, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), c(e, "xmlns", "http://www.w3.org/2000/svg"), c(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), c(e, "xml:space", "preserve"), c(e, "version", "1.1"), we(e, "shape-rendering", "geometricPrecision"), we(e, "text-rendering", "geometricPrecision"), we(e, "image-rendering", "optimizeQuality"), c(e, "viewBox", "0 0 90 69"), c(e, "x", "0px"), c(e, "y", "0px"), c(e, "fill-rule", "evenodd"), c(e, "clip-rule", "evenodd");
1193
1198
  },
1194
- m(p, c) {
1195
- C(p, e, c), u(e, i), u(i, t), u(t, o), u(e, s), u(s, r);
1199
+ m(p, d) {
1200
+ T(p, e, d), u(e, t), u(t, i), u(i, o), u(e, s), u(s, r);
1196
1201
  },
1197
1202
  d(p) {
1198
- p && T(e);
1203
+ p && A(e);
1199
1204
  }
1200
1205
  };
1201
1206
  }
1202
- function Ct(a) {
1203
- let e, i, t;
1207
+ function Di(a) {
1208
+ let e, t, i;
1204
1209
  return {
1205
1210
  c() {
1206
- e = B("svg"), i = B("g"), t = B("path"), f(t, "id", "XMLID_6_"), f(t, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
1211
+ e = W("svg"), t = W("g"), i = W("path"), c(i, "id", "XMLID_6_"), c(i, "d", `M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360
1207
1212
  c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55
1208
1213
  c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1
1209
- h256.5v-82.1H429v366.5H429.9z`), f(i, "id", "XMLID_1_"), f(e, "version", "1.1"), f(e, "id", "Layer_1"), f(e, "xmlns", "http://www.w3.org/2000/svg"), f(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), f(e, "x", "0px"), f(e, "y", "0px"), f(e, "viewBox", "0 0 512 512"), be(e, "enable-background", "new 0 0 512 512"), f(e, "xml:space", "preserve");
1214
+ h256.5v-82.1H429v366.5H429.9z`), c(t, "id", "XMLID_1_"), c(e, "version", "1.1"), c(e, "id", "Layer_1"), c(e, "xmlns", "http://www.w3.org/2000/svg"), c(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), c(e, "x", "0px"), c(e, "y", "0px"), c(e, "viewBox", "0 0 512 512"), we(e, "enable-background", "new 0 0 512 512"), c(e, "xml:space", "preserve");
1210
1215
  },
1211
1216
  m(o, s) {
1212
- C(o, e, s), u(e, i), u(i, t);
1217
+ T(o, e, s), u(e, t), u(t, i);
1213
1218
  },
1214
1219
  d(o) {
1215
- o && T(e);
1220
+ o && A(e);
1216
1221
  }
1217
1222
  };
1218
1223
  }
1219
- function Dt(a) {
1220
- let e, i, t, o, s, r, p, c, m, L, y, E, _, D, H, G, F, W, M;
1224
+ function Ei(a) {
1225
+ let e, t, i, o, s, r, p, d, l, L, h, M, b, j, Y, K, F, q, x;
1221
1226
  return {
1222
1227
  c() {
1223
- e = B("svg"), i = B("g"), t = B("path"), o = B("path"), s = B("g"), r = B("g"), p = B("g"), c = B("g"), m = B("g"), L = B("g"), y = B("g"), E = B("g"), _ = B("g"), D = B("g"), H = B("g"), G = B("g"), F = B("g"), W = B("g"), M = B("g"), f(t, "d", `M26,0C11.664,0,0,11.663,0,26s11.664,26,26,26s26-11.663,26-26S40.336,0,26,0z M26,50C12.767,50,2,39.233,2,26
1224
- S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z`), f(o, "d", `M35.707,16.293c-0.391-0.391-1.023-0.391-1.414,0L26,24.586l-8.293-8.293c-0.391-0.391-1.023-0.391-1.414,0
1228
+ e = W("svg"), t = W("g"), i = W("path"), o = W("path"), s = W("g"), r = W("g"), p = W("g"), d = W("g"), l = W("g"), L = W("g"), h = W("g"), M = W("g"), b = W("g"), j = W("g"), Y = W("g"), K = W("g"), F = W("g"), q = W("g"), x = W("g"), c(i, "d", `M26,0C11.664,0,0,11.663,0,26s11.664,26,26,26s26-11.663,26-26S40.336,0,26,0z M26,50C12.767,50,2,39.233,2,26
1229
+ S12.767,2,26,2s24,10.767,24,24S39.233,50,26,50z`), c(o, "d", `M35.707,16.293c-0.391-0.391-1.023-0.391-1.414,0L26,24.586l-8.293-8.293c-0.391-0.391-1.023-0.391-1.414,0
1225
1230
  s-0.391,1.023,0,1.414L24.586,26l-8.293,8.293c-0.391,0.391-0.391,1.023,0,1.414C16.488,35.902,16.744,36,17,36
1226
1231
  s0.512-0.098,0.707-0.293L26,27.414l8.293,8.293C34.488,35.902,34.744,36,35,36s0.512-0.098,0.707-0.293
1227
- c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z`), f(e, "version", "1.1"), f(e, "id", "Capa_1"), f(e, "xmlns", "http://www.w3.org/2000/svg"), f(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), f(e, "x", "0px"), f(e, "y", "0px"), f(e, "viewBox", "0 0 52 52"), be(e, "enable-background", "new 0 0 52 52"), f(e, "xml:space", "preserve");
1232
+ c0.391-0.391,0.391-1.023,0-1.414L27.414,26l8.293-8.293C36.098,17.316,36.098,16.684,35.707,16.293z`), c(e, "version", "1.1"), c(e, "id", "Capa_1"), c(e, "xmlns", "http://www.w3.org/2000/svg"), c(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), c(e, "x", "0px"), c(e, "y", "0px"), c(e, "viewBox", "0 0 52 52"), we(e, "enable-background", "new 0 0 52 52"), c(e, "xml:space", "preserve");
1228
1233
  },
1229
- m(U, P) {
1230
- C(U, e, P), u(e, i), u(i, t), u(i, o), u(e, s), u(e, r), u(e, p), u(e, c), u(e, m), u(e, L), u(e, y), u(e, E), u(e, _), u(e, D), u(e, H), u(e, G), u(e, F), u(e, W), u(e, M);
1234
+ m(U, R) {
1235
+ T(U, e, R), u(e, t), u(t, i), u(t, o), u(e, s), u(e, r), u(e, p), u(e, d), u(e, l), u(e, L), u(e, h), u(e, M), u(e, b), u(e, j), u(e, Y), u(e, K), u(e, F), u(e, q), u(e, x);
1231
1236
  },
1232
1237
  d(U) {
1233
- U && T(e);
1238
+ U && A(e);
1234
1239
  }
1235
1240
  };
1236
1241
  }
1237
- function jt(a) {
1238
- let e, i = (
1242
+ function Mi(a) {
1243
+ let e, t = (
1239
1244
  /*$_*/
1240
1245
  a[26]("popupSuccess") + ""
1241
- ), t;
1246
+ ), i;
1242
1247
  return {
1243
1248
  c() {
1244
- e = v("p"), t = I(i);
1249
+ e = k("p"), i = I(t);
1245
1250
  },
1246
1251
  m(o, s) {
1247
- C(o, e, s), u(e, t);
1252
+ T(o, e, s), u(e, i);
1248
1253
  },
1249
1254
  p(o, s) {
1250
1255
  s[0] & /*$_*/
1251
- 67108864 && i !== (i = /*$_*/
1252
- o[26]("popupSuccess") + "") && x(t, i);
1256
+ 67108864 && t !== (t = /*$_*/
1257
+ o[26]("popupSuccess") + "") && N(i, t);
1253
1258
  },
1254
1259
  d(o) {
1255
- o && T(e);
1260
+ o && A(e);
1256
1261
  }
1257
1262
  };
1258
1263
  }
1259
- function Et(a) {
1260
- let e, i = (
1264
+ function xi(a) {
1265
+ let e, t = (
1261
1266
  /*$_*/
1262
1267
  a[26]("docsRequired") + ""
1263
- ), t;
1268
+ ), i;
1264
1269
  return {
1265
1270
  c() {
1266
- e = v("p"), t = I(i);
1271
+ e = k("p"), i = I(t);
1267
1272
  },
1268
1273
  m(o, s) {
1269
- C(o, e, s), u(e, t);
1274
+ T(o, e, s), u(e, i);
1270
1275
  },
1271
1276
  p(o, s) {
1272
1277
  s[0] & /*$_*/
1273
- 67108864 && i !== (i = /*$_*/
1274
- o[26]("docsRequired") + "") && x(t, i);
1278
+ 67108864 && t !== (t = /*$_*/
1279
+ o[26]("docsRequired") + "") && N(i, t);
1275
1280
  },
1276
1281
  d(o) {
1277
- o && T(e);
1282
+ o && A(e);
1278
1283
  }
1279
1284
  };
1280
1285
  }
1281
- function Mt(a) {
1282
- let e, i = (
1286
+ function Pi(a) {
1287
+ let e, t = (
1283
1288
  /*$_*/
1284
1289
  a[26]("popupError") + ""
1285
- ), t;
1290
+ ), i;
1286
1291
  return {
1287
1292
  c() {
1288
- e = v("p"), t = I(i);
1293
+ e = k("p"), i = I(t);
1289
1294
  },
1290
1295
  m(o, s) {
1291
- C(o, e, s), u(e, t);
1296
+ T(o, e, s), u(e, i);
1292
1297
  },
1293
1298
  p(o, s) {
1294
1299
  s[0] & /*$_*/
1295
- 67108864 && i !== (i = /*$_*/
1296
- o[26]("popupError") + "") && x(t, i);
1300
+ 67108864 && t !== (t = /*$_*/
1301
+ o[26]("popupError") + "") && N(i, t);
1297
1302
  },
1298
1303
  d(o) {
1299
- o && T(e);
1304
+ o && A(e);
1300
1305
  }
1301
1306
  };
1302
1307
  }
1303
- function Pt(a) {
1304
- let e, i = (
1308
+ function zi(a) {
1309
+ let e, t = (
1305
1310
  /*$_*/
1306
1311
  a[26]("okButton") + ""
1307
- ), t, o, s;
1312
+ ), i, o, s;
1308
1313
  return {
1309
1314
  c() {
1310
- e = v("button"), t = I(i), f(e, "class", "ConfirmButton");
1315
+ e = k("button"), i = I(t), c(e, "class", "ConfirmButton");
1311
1316
  },
1312
1317
  m(r, p) {
1313
- C(r, e, p), u(e, t), o || (s = ie(
1318
+ T(r, e, p), u(e, i), o || (s = te(
1314
1319
  e,
1315
1320
  "click",
1316
1321
  /*closePopup*/
@@ -1319,35 +1324,35 @@ function Pt(a) {
1319
1324
  },
1320
1325
  p(r, p) {
1321
1326
  p[0] & /*$_*/
1322
- 67108864 && i !== (i = /*$_*/
1323
- r[26]("okButton") + "") && x(t, i);
1327
+ 67108864 && t !== (t = /*$_*/
1328
+ r[26]("okButton") + "") && N(i, t);
1324
1329
  },
1325
1330
  d(r) {
1326
- r && T(e), o = !1, s();
1331
+ r && A(e), o = !1, s();
1327
1332
  }
1328
1333
  };
1329
1334
  }
1330
- function zt(a) {
1331
- let e, i = (
1335
+ function Ii(a) {
1336
+ let e, t = (
1332
1337
  /*$_*/
1333
1338
  a[26]("uploadDocumentsButton") + ""
1334
- ), t, o, s = (
1339
+ ), i, o, s = (
1335
1340
  /*$_*/
1336
1341
  a[26]("closeButton") + ""
1337
- ), r, p, c;
1342
+ ), r, p, d;
1338
1343
  return {
1339
1344
  c() {
1340
- e = v("button"), t = O(), o = v("button"), r = I(s), f(e, "class", "ConfirmButton"), f(o, "class", "CloseButton");
1345
+ e = k("button"), i = B(), o = k("button"), r = I(s), c(e, "class", "ConfirmButton"), c(o, "class", "CloseButton");
1341
1346
  },
1342
- m(m, L) {
1343
- C(m, e, L), e.innerHTML = i, C(m, t, L), C(m, o, L), u(o, r), p || (c = [
1344
- ie(
1347
+ m(l, L) {
1348
+ T(l, e, L), e.innerHTML = t, T(l, i, L), T(l, o, L), u(o, r), p || (d = [
1349
+ te(
1345
1350
  e,
1346
1351
  "click",
1347
1352
  /*uploadDocumentsTrigger*/
1348
1353
  a[40]
1349
1354
  ),
1350
- ie(
1355
+ te(
1351
1356
  o,
1352
1357
  "click",
1353
1358
  /*closePopup*/
@@ -1355,989 +1360,998 @@ function zt(a) {
1355
1360
  )
1356
1361
  ], p = !0);
1357
1362
  },
1358
- p(m, L) {
1363
+ p(l, L) {
1359
1364
  L[0] & /*$_*/
1360
- 67108864 && i !== (i = /*$_*/
1361
- m[26]("uploadDocumentsButton") + "") && (e.innerHTML = i), L[0] & /*$_*/
1365
+ 67108864 && t !== (t = /*$_*/
1366
+ l[26]("uploadDocumentsButton") + "") && (e.innerHTML = t), L[0] & /*$_*/
1362
1367
  67108864 && s !== (s = /*$_*/
1363
- m[26]("closeButton") + "") && x(r, s);
1368
+ l[26]("closeButton") + "") && N(r, s);
1364
1369
  },
1365
- d(m) {
1366
- m && (T(e), T(t), T(o)), p = !1, Te(c);
1370
+ d(l) {
1371
+ l && (A(e), A(i), A(o)), p = !1, Ce(d);
1367
1372
  }
1368
1373
  };
1369
1374
  }
1370
- function It(a) {
1371
- let e, i, t, o, s, r, p, c, m, L, y = (
1375
+ function Ui(a) {
1376
+ let e, t, i, o, s, r, p, d, l, L, h = (
1372
1377
  /*multiplePeriods*/
1373
1378
  a[15] ? `${/*$_*/
1374
1379
  a[26]("amount")}` : `${/*$_*/
1375
1380
  a[26](`new${/*selectedPeriod*/
1376
1381
  a[8]}Limit`)}`
1377
- ), E, _, D, H, G, F, W = (
1382
+ ), M, b, j, Y, K, F, q = (
1378
1383
  /*$_*/
1379
1384
  a[26]("setLimit") + ""
1380
- ), M, U, P, N, A = de(
1385
+ ), x, U, R, D, w = le(
1381
1386
  /*availableLimits*/
1382
1387
  a[6]
1383
- ), S = [];
1384
- for (let w = 0; w < A.length; w += 1)
1385
- S[w] = si($e(a, A, w));
1386
- let b = (
1388
+ ), P = [];
1389
+ for (let C = 0; C < w.length; C += 1)
1390
+ P[C] = rt(et(a, w, C));
1391
+ let S = (
1387
1392
  /*enablecompliancetext*/
1388
- a[1] === "true" && ri(a)
1389
- ), k = (
1393
+ a[1] === "true" && lt(a)
1394
+ ), y = (
1390
1395
  /*multipleLimits*/
1391
- a[14] && li(a)
1392
- ), j = (
1396
+ a[14] && mt(a)
1397
+ ), _ = (
1393
1398
  /*multiplePeriods*/
1394
- a[15] && ui(a)
1395
- ), K = (
1399
+ a[15] && dt(a)
1400
+ ), H = (
1396
1401
  /*invalidInput*/
1397
- a[24] && pi(a)
1402
+ a[24] && ct(a)
1398
1403
  );
1399
1404
  return {
1400
1405
  c() {
1401
- e = v("div"), i = v("div"), t = v("div");
1402
- for (let w = 0; w < S.length; w += 1)
1403
- S[w].c();
1404
- o = O(), s = v("form"), b && b.c(), r = O(), k && k.c(), p = O(), j && j.c(), c = O(), m = v("label"), L = v("span"), E = I(y), _ = O(), D = v("input"), H = O(), K && K.c(), G = O(), F = v("button"), M = I(W), f(t, "class", "LimitsList " + /*isDesktop*/
1405
- (a[27] ? "Desktop" : "")), f(L, "class", "LimitInputText"), f(D, "type", "number"), f(D, "pattern", "[0-9]*"), f(m, "class", "LimitAmountInputWrapper"), f(F, "class", "LimitSubmitButton"), f(F, "type", "button"), F.disabled = !0, f(s, "class", "LimitsInteractionArea " + /*isDesktop*/
1406
- (a[27] ? "Desktop" : "")), f(i, "class", "LimitsPageContainer"), f(e, "class", U = "player-account-gaming-limits-page-2-gm16 " + ("LimitTab" + /*limittabindex*/
1406
+ e = k("div"), t = k("div"), i = k("div");
1407
+ for (let C = 0; C < P.length; C += 1)
1408
+ P[C].c();
1409
+ o = B(), s = k("form"), S && S.c(), r = B(), y && y.c(), p = B(), _ && _.c(), d = B(), l = k("label"), L = k("span"), M = I(h), b = B(), j = k("input"), Y = B(), H && H.c(), K = B(), F = k("button"), x = I(q), c(i, "class", "LimitsList " + /*isDesktop*/
1410
+ (a[27] ? "Desktop" : "")), c(L, "class", "LimitInputText"), c(j, "type", "number"), c(j, "pattern", "[0-9]*"), c(l, "class", "LimitAmountInputWrapper"), c(F, "class", "LimitSubmitButton"), c(F, "type", "button"), F.disabled = !0, c(s, "class", "LimitsInteractionArea " + /*isDesktop*/
1411
+ (a[27] ? "Desktop" : "")), c(t, "class", "LimitsPageContainer"), c(e, "class", U = "player-account-gaming-limits-page-2-gm16 " + ("LimitTab" + /*limittabindex*/
1407
1412
  a[3]));
1408
1413
  },
1409
- m(w, Y) {
1410
- C(w, e, Y), u(e, i), u(i, t);
1411
- for (let q = 0; q < S.length; q += 1)
1412
- S[q] && S[q].m(t, null);
1413
- u(i, o), u(i, s), b && b.m(s, null), u(s, r), k && k.m(s, null), u(s, p), j && j.m(s, null), u(s, c), u(s, m), u(m, L), u(L, E), u(m, _), u(m, D), we(
1414
- D,
1414
+ m(C, E) {
1415
+ T(C, e, E), u(e, t), u(t, i);
1416
+ for (let G = 0; G < P.length; G += 1)
1417
+ P[G] && P[G].m(i, null);
1418
+ u(t, o), u(t, s), S && S.m(s, null), u(s, r), y && y.m(s, null), u(s, p), _ && _.m(s, null), u(s, d), u(s, l), u(l, L), u(L, M), u(l, b), u(l, j), _e(
1419
+ j,
1415
1420
  /*inputAmount*/
1416
1421
  a[10]
1417
- ), u(m, H), K && K.m(m, null), u(s, G), u(s, F), u(F, M), a[63](F), P || (N = [
1418
- ie(
1419
- D,
1422
+ ), u(l, Y), H && H.m(l, null), u(s, K), u(s, F), u(F, x), a[64](F), R || (D = [
1423
+ te(
1424
+ j,
1420
1425
  "input",
1421
1426
  /*input_input_handler*/
1422
- a[62]
1427
+ a[63]
1423
1428
  ),
1424
- ie(
1425
- D,
1429
+ te(
1430
+ j,
1426
1431
  "keydown",
1427
1432
  /*preventEnterSubmit*/
1428
1433
  a[41]
1429
1434
  ),
1430
- ie(
1431
- D,
1435
+ te(
1436
+ j,
1432
1437
  "keyup",
1433
1438
  /*updateInputValue*/
1434
1439
  a[32]
1435
1440
  ),
1436
- ie(
1441
+ te(
1437
1442
  F,
1438
1443
  "click",
1439
1444
  /*updateLimitsSwitch*/
1440
1445
  a[30]
1441
1446
  ),
1442
- ie(
1447
+ te(
1443
1448
  s,
1444
1449
  "submit",
1445
1450
  /*updateLimitsSwitch*/
1446
1451
  a[30]
1447
1452
  )
1448
- ], P = !0);
1453
+ ], R = !0);
1449
1454
  },
1450
- p(w, Y) {
1451
- if (Y[0] & /*isDesktop, $_, availableLimits, deletelimit, acknowledgedLimits*/
1452
- 234881092 | Y[1] & /*cancelLimitSwitch, confirmLimitSwitch, removeLimitSwitch, readLimitsSwitch, getFormatedAmount, determineLimitName*/
1455
+ p(C, E) {
1456
+ if (E[0] & /*isDesktop, $_, availableLimits, deletelimit, acknowledgedLimits*/
1457
+ 234881092 | E[1] & /*cancelLimitSwitch, confirmLimitSwitch, removeLimitSwitch, readLimitsSwitch, getFormatedAmount, determineLimitName*/
1453
1458
  249) {
1454
- A = de(
1459
+ w = le(
1455
1460
  /*availableLimits*/
1456
- w[6]
1461
+ C[6]
1457
1462
  );
1458
- let q;
1459
- for (q = 0; q < A.length; q += 1) {
1460
- const re = $e(w, A, q);
1461
- S[q] ? S[q].p(re, Y) : (S[q] = si(re), S[q].c(), S[q].m(t, null));
1463
+ let G;
1464
+ for (G = 0; G < w.length; G += 1) {
1465
+ const re = et(C, w, G);
1466
+ P[G] ? P[G].p(re, E) : (P[G] = rt(re), P[G].c(), P[G].m(i, null));
1462
1467
  }
1463
- for (; q < S.length; q += 1)
1464
- S[q].d(1);
1465
- S.length = A.length;
1468
+ for (; G < P.length; G += 1)
1469
+ P[G].d(1);
1470
+ P.length = w.length;
1466
1471
  }
1467
1472
  /*enablecompliancetext*/
1468
- w[1] === "true" ? b ? b.p(w, Y) : (b = ri(w), b.c(), b.m(s, r)) : b && (b.d(1), b = null), /*multipleLimits*/
1469
- w[14] ? k ? k.p(w, Y) : (k = li(w), k.c(), k.m(s, p)) : k && (k.d(1), k = null), /*multiplePeriods*/
1470
- w[15] ? j ? j.p(w, Y) : (j = ui(w), j.c(), j.m(s, c)) : j && (j.d(1), j = null), Y[0] & /*multiplePeriods, $_, selectedPeriod*/
1471
- 67141888 && y !== (y = /*multiplePeriods*/
1472
- w[15] ? `${/*$_*/
1473
- w[26]("amount")}` : `${/*$_*/
1474
- w[26](`new${/*selectedPeriod*/
1475
- w[8]}Limit`)}`) && x(E, y), Y[0] & /*inputAmount*/
1476
- 1024 && ci(D.value) !== /*inputAmount*/
1477
- w[10] && we(
1478
- D,
1473
+ C[1] === "true" ? S ? S.p(C, E) : (S = lt(C), S.c(), S.m(s, r)) : S && (S.d(1), S = null), /*multipleLimits*/
1474
+ C[14] ? y ? y.p(C, E) : (y = mt(C), y.c(), y.m(s, p)) : y && (y.d(1), y = null), /*multiplePeriods*/
1475
+ C[15] ? _ ? _.p(C, E) : (_ = dt(C), _.c(), _.m(s, d)) : _ && (_.d(1), _ = null), E[0] & /*multiplePeriods, $_, selectedPeriod*/
1476
+ 67141888 && h !== (h = /*multiplePeriods*/
1477
+ C[15] ? `${/*$_*/
1478
+ C[26]("amount")}` : `${/*$_*/
1479
+ C[26](`new${/*selectedPeriod*/
1480
+ C[8]}Limit`)}`) && N(M, h), E[0] & /*inputAmount*/
1481
+ 1024 && Lt(j.value) !== /*inputAmount*/
1482
+ C[10] && _e(
1483
+ j,
1479
1484
  /*inputAmount*/
1480
- w[10]
1485
+ C[10]
1481
1486
  ), /*invalidInput*/
1482
- w[24] ? K ? K.p(w, Y) : (K = pi(w), K.c(), K.m(m, null)) : K && (K.d(1), K = null), Y[0] & /*$_*/
1483
- 67108864 && W !== (W = /*$_*/
1484
- w[26]("setLimit") + "") && x(M, W), Y[0] & /*limittabindex*/
1487
+ C[24] ? H ? H.p(C, E) : (H = ct(C), H.c(), H.m(l, null)) : H && (H.d(1), H = null), E[0] & /*$_*/
1488
+ 67108864 && q !== (q = /*$_*/
1489
+ C[26]("setLimit") + "") && N(x, q), E[0] & /*limittabindex*/
1485
1490
  8 && U !== (U = "player-account-gaming-limits-page-2-gm16 " + ("LimitTab" + /*limittabindex*/
1486
- w[3])) && f(e, "class", U);
1491
+ C[3])) && c(e, "class", U);
1487
1492
  },
1488
- d(w) {
1489
- w && T(e), Ae(S, w), b && b.d(), k && k.d(), j && j.d(), K && K.d(), a[63](null), P = !1, Te(N);
1493
+ d(C) {
1494
+ C && A(e), Se(P, C), S && S.d(), y && y.d(), _ && _.d(), H && H.d(), a[64](null), R = !1, Ce(D);
1490
1495
  }
1491
1496
  };
1492
1497
  }
1493
- function Ut(a) {
1498
+ function Ni(a) {
1494
1499
  let e;
1495
1500
  return {
1496
1501
  c() {
1497
- e = v("p"), e.textContent = "500 Server error";
1502
+ e = k("p"), e.textContent = "500 Server error";
1498
1503
  },
1499
- m(i, t) {
1500
- C(i, e, t);
1504
+ m(t, i) {
1505
+ T(t, e, i);
1501
1506
  },
1502
- p: le,
1503
- d(i) {
1504
- i && T(e);
1507
+ p: Le,
1508
+ d(t) {
1509
+ t && A(e);
1505
1510
  }
1506
1511
  };
1507
1512
  }
1508
- function xt(a) {
1509
- return { c: le, m: le, p: le, d: le };
1510
- }
1511
- function Nt(a) {
1512
- let e;
1513
+ function Ri(a) {
1514
+ let e, t, i, o, s, r, p = le(Array(3)), d = [];
1515
+ for (let l = 0; l < p.length; l += 1)
1516
+ d[l] = Ji(Ai(a, p, l));
1513
1517
  return {
1514
1518
  c() {
1515
- e = v("div"), f(e, "class", "LoadingIndicator");
1516
- },
1517
- m(i, t) {
1518
- C(i, e, t);
1519
- },
1520
- p: le,
1521
- d(i) {
1522
- i && T(e);
1519
+ e = k("div"), t = k("div"), i = k("div"), i.innerHTML = '<ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton>', o = B();
1520
+ for (let l = 0; l < d.length; l += 1)
1521
+ d[l].c();
1522
+ s = B(), r = k("div"), r.innerHTML = '<div class="skletonHeader"><ui-skeleton width="auto" height="15px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeletonPeriod"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skletonHeader"><ui-skeleton width="auto" height="15px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeletonInputAmount"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeletonButton"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div>', c(i, "class", "skeletonLimitText"), c(t, "class", "skeletonLimitWrapper"), c(r, "class", "skeletonInputWrapper"), c(e, "class", "skeletonLimitContainer");
1523
+ },
1524
+ m(l, L) {
1525
+ T(l, e, L), u(e, t), u(t, i), u(t, o);
1526
+ for (let h = 0; h < d.length; h += 1)
1527
+ d[h] && d[h].m(t, null);
1528
+ u(e, s), u(e, r);
1529
+ },
1530
+ p: Le,
1531
+ d(l) {
1532
+ l && A(e), Se(d, l);
1523
1533
  }
1524
1534
  };
1525
1535
  }
1526
- function Rt(a) {
1527
- let e, i, t, o = (
1536
+ function Bi(a) {
1537
+ let e, t, i, o = (
1528
1538
  /*$_*/
1529
1539
  a[26]("noLimitText") + ""
1530
1540
  ), s;
1531
1541
  return {
1532
1542
  c() {
1533
- e = v("div"), i = v("div"), t = v("div"), s = I(o), f(t, "class", "LimitDetailsTextWrapper"), f(i, "class", "LimitDetailsWrapper"), f(e, "class", "LimitDetails");
1543
+ e = k("div"), t = k("div"), i = k("div"), s = I(o), c(i, "class", "LimitDetailsTextWrapper"), c(t, "class", "LimitDetailsWrapper"), c(e, "class", "LimitDetails");
1534
1544
  },
1535
1545
  m(r, p) {
1536
- C(r, e, p), u(e, i), u(i, t), u(t, s);
1546
+ T(r, e, p), u(e, t), u(t, i), u(i, s);
1537
1547
  },
1538
1548
  p(r, p) {
1539
1549
  p[0] & /*$_*/
1540
1550
  67108864 && o !== (o = /*$_*/
1541
- r[26]("noLimitText") + "") && x(s, o);
1551
+ r[26]("noLimitText") + "") && N(s, o);
1542
1552
  },
1543
1553
  d(r) {
1544
- r && T(e);
1554
+ r && A(e);
1545
1555
  }
1546
1556
  };
1547
1557
  }
1548
- function Bt(a) {
1549
- let e, i, t, o = (
1558
+ function Oi(a) {
1559
+ let e, t, i, o = (
1550
1560
  /*$_*/
1551
1561
  a[26]("lugasPrivacy") + ""
1552
1562
  ), s;
1553
1563
  return {
1554
1564
  c() {
1555
- e = v("div"), i = v("div"), t = v("div"), s = I(o), f(t, "class", "LimitDetailsTextWrapper"), f(i, "class", "LimitDetailsWrapper"), f(e, "class", "LimitDetails");
1565
+ e = k("div"), t = k("div"), i = k("div"), s = I(o), c(i, "class", "LimitDetailsTextWrapper"), c(t, "class", "LimitDetailsWrapper"), c(e, "class", "LimitDetails");
1556
1566
  },
1557
1567
  m(r, p) {
1558
- C(r, e, p), u(e, i), u(i, t), u(t, s);
1568
+ T(r, e, p), u(e, t), u(t, i), u(i, s);
1559
1569
  },
1560
1570
  p(r, p) {
1561
1571
  p[0] & /*$_*/
1562
1572
  67108864 && o !== (o = /*$_*/
1563
- r[26]("lugasPrivacy") + "") && x(s, o);
1573
+ r[26]("lugasPrivacy") + "") && N(s, o);
1564
1574
  },
1565
1575
  d(r) {
1566
- r && T(e);
1576
+ r && A(e);
1567
1577
  }
1568
1578
  };
1569
1579
  }
1570
- function Ot(a) {
1571
- let e, i = de(
1580
+ function Wi(a) {
1581
+ let e, t = le(
1572
1582
  /*limit*/
1573
- a[123].currentLimits
1574
- ), t = [];
1575
- for (let o = 0; o < i.length; o += 1)
1576
- t[o] = ni(ei(a, i, o));
1583
+ a[126].currentLimits
1584
+ ), i = [];
1585
+ for (let o = 0; o < t.length; o += 1)
1586
+ i[o] = st(tt(a, t, o));
1577
1587
  return {
1578
1588
  c() {
1579
- for (let o = 0; o < t.length; o += 1)
1580
- t[o].c();
1581
- e = Li();
1589
+ for (let o = 0; o < i.length; o += 1)
1590
+ i[o].c();
1591
+ e = ft();
1582
1592
  },
1583
1593
  m(o, s) {
1584
- for (let r = 0; r < t.length; r += 1)
1585
- t[r] && t[r].m(o, s);
1586
- C(o, e, s);
1594
+ for (let r = 0; r < i.length; r += 1)
1595
+ i[r] && i[r].m(o, s);
1596
+ T(o, e, s);
1587
1597
  },
1588
1598
  p(o, s) {
1589
1599
  if (s[0] & /*isDesktop, availableLimits, $_, deletelimit, acknowledgedLimits*/
1590
1600
  234881092 | s[1] & /*cancelLimitSwitch, confirmLimitSwitch, removeLimitSwitch, readLimitsSwitch, getFormatedAmount*/
1591
1601
  185) {
1592
- i = de(
1602
+ t = le(
1593
1603
  /*limit*/
1594
- o[123].currentLimits
1604
+ o[126].currentLimits
1595
1605
  );
1596
1606
  let r;
1597
- for (r = 0; r < i.length; r += 1) {
1598
- const p = ei(o, i, r);
1599
- t[r] ? t[r].p(p, s) : (t[r] = ni(p), t[r].c(), t[r].m(e.parentNode, e));
1607
+ for (r = 0; r < t.length; r += 1) {
1608
+ const p = tt(o, t, r);
1609
+ i[r] ? i[r].p(p, s) : (i[r] = st(p), i[r].c(), i[r].m(e.parentNode, e));
1600
1610
  }
1601
- for (; r < t.length; r += 1)
1602
- t[r].d(1);
1603
- t.length = i.length;
1611
+ for (; r < i.length; r += 1)
1612
+ i[r].d(1);
1613
+ i.length = t.length;
1604
1614
  }
1605
1615
  },
1606
1616
  d(o) {
1607
- o && T(e), Ae(t, o);
1617
+ o && A(e), Se(i, o);
1608
1618
  }
1609
1619
  };
1610
1620
  }
1611
- function Ft(a) {
1612
- let e, i, t, o = (
1621
+ function Fi(a) {
1622
+ let e, t, i, o = (
1613
1623
  /*$_*/
1614
1624
  a[26]("lugasPrivacy") + ""
1615
1625
  ), s;
1616
1626
  return {
1617
1627
  c() {
1618
- e = v("div"), i = v("div"), t = v("div"), s = I(o), f(t, "class", "LimitDetailsTextWrapper"), f(i, "class", "LimitDetailsWrapper"), f(e, "class", "LimitDetails");
1628
+ e = k("div"), t = k("div"), i = k("div"), s = I(o), c(i, "class", "LimitDetailsTextWrapper"), c(t, "class", "LimitDetailsWrapper"), c(e, "class", "LimitDetails");
1619
1629
  },
1620
1630
  m(r, p) {
1621
- C(r, e, p), u(e, i), u(i, t), u(t, s);
1631
+ T(r, e, p), u(e, t), u(t, i), u(i, s);
1622
1632
  },
1623
1633
  p(r, p) {
1624
1634
  p[0] & /*$_*/
1625
1635
  67108864 && o !== (o = /*$_*/
1626
- r[26]("lugasPrivacy") + "") && x(s, o);
1636
+ r[26]("lugasPrivacy") + "") && N(s, o);
1627
1637
  },
1628
1638
  d(r) {
1629
- r && T(e);
1639
+ r && A(e);
1630
1640
  }
1631
1641
  };
1632
1642
  }
1633
- function Vt(a) {
1634
- let e, i = `${/*getFormatedAmount*/
1643
+ function Vi(a) {
1644
+ let e, t = `${/*getFormatedAmount*/
1635
1645
  a[38](
1636
1646
  /*currentLimit*/
1637
- a[128]
1638
- )}`, t;
1647
+ a[131]
1648
+ )}`, i;
1639
1649
  return {
1640
1650
  c() {
1641
- e = v("span"), t = I(i);
1651
+ e = k("span"), i = I(t);
1642
1652
  },
1643
1653
  m(o, s) {
1644
- C(o, e, s), u(e, t);
1654
+ T(o, e, s), u(e, i);
1645
1655
  },
1646
1656
  p(o, s) {
1647
1657
  s[0] & /*availableLimits*/
1648
- 64 && i !== (i = `${/*getFormatedAmount*/
1658
+ 64 && t !== (t = `${/*getFormatedAmount*/
1649
1659
  o[38](
1650
1660
  /*currentLimit*/
1651
- o[128]
1652
- )}`) && x(t, i);
1661
+ o[131]
1662
+ )}`) && N(i, t);
1653
1663
  },
1654
1664
  d(o) {
1655
- o && T(e);
1665
+ o && A(e);
1656
1666
  }
1657
1667
  };
1658
1668
  }
1659
- function Wt(a) {
1660
- let e, i = `${/*getFormatedAmount*/
1669
+ function qi(a) {
1670
+ let e, t = `${/*getFormatedAmount*/
1661
1671
  a[38](
1662
1672
  /*currentLimit*/
1663
- a[128],
1673
+ a[131],
1664
1674
  !0
1665
- )}`, t;
1675
+ )}`, i;
1666
1676
  return {
1667
1677
  c() {
1668
- e = v("span"), t = I(i);
1678
+ e = k("span"), i = I(t);
1669
1679
  },
1670
1680
  m(o, s) {
1671
- C(o, e, s), u(e, t);
1681
+ T(o, e, s), u(e, i);
1672
1682
  },
1673
1683
  p(o, s) {
1674
1684
  s[0] & /*availableLimits*/
1675
- 64 && i !== (i = `${/*getFormatedAmount*/
1685
+ 64 && t !== (t = `${/*getFormatedAmount*/
1676
1686
  o[38](
1677
1687
  /*currentLimit*/
1678
- o[128],
1688
+ o[131],
1679
1689
  !0
1680
- )}`) && x(t, i);
1690
+ )}`) && N(i, t);
1681
1691
  },
1682
1692
  d(o) {
1683
- o && T(e);
1693
+ o && A(e);
1684
1694
  }
1685
1695
  };
1686
1696
  }
1687
- function qt(a) {
1688
- let e, i, t = `${/*getFormatedAmount*/
1697
+ function Gi(a) {
1698
+ let e, t, i = `${/*getFormatedAmount*/
1689
1699
  a[38](
1690
1700
  /*currentLimit*/
1691
- a[128],
1701
+ a[131],
1692
1702
  !0
1693
1703
  )}`, o, s;
1694
- function r(m, L) {
1704
+ function r(l, L) {
1695
1705
  return (
1696
1706
  /*currentLimit*/
1697
- m[128].isCoolOffCompleted ? Xt : Yt
1707
+ l[131].isCoolOffCompleted ? Zi : Xi
1698
1708
  );
1699
1709
  }
1700
- let p = r(a), c = p(a);
1710
+ let p = r(a), d = p(a);
1701
1711
  return {
1702
1712
  c() {
1703
- e = v("div"), i = v("span"), o = I(t), s = O(), c.c(), f(e, "class", "PendingLimit");
1713
+ e = k("div"), t = k("span"), o = I(i), s = B(), d.c(), c(e, "class", "PendingLimit");
1704
1714
  },
1705
- m(m, L) {
1706
- C(m, e, L), u(e, i), u(i, o), u(e, s), c.m(e, null);
1715
+ m(l, L) {
1716
+ T(l, e, L), u(e, t), u(t, o), u(e, s), d.m(e, null);
1707
1717
  },
1708
- p(m, L) {
1718
+ p(l, L) {
1709
1719
  L[0] & /*availableLimits*/
1710
- 64 && t !== (t = `${/*getFormatedAmount*/
1711
- m[38](
1720
+ 64 && i !== (i = `${/*getFormatedAmount*/
1721
+ l[38](
1712
1722
  /*currentLimit*/
1713
- m[128],
1723
+ l[131],
1714
1724
  !0
1715
- )}`) && x(o, t), p === (p = r(m)) && c ? c.p(m, L) : (c.d(1), c = p(m), c && (c.c(), c.m(e, null)));
1725
+ )}`) && N(o, i), p === (p = r(l)) && d ? d.p(l, L) : (d.d(1), d = p(l), d && (d.c(), d.m(e, null)));
1716
1726
  },
1717
- d(m) {
1718
- m && T(e), c.d();
1727
+ d(l) {
1728
+ l && A(e), d.d();
1719
1729
  }
1720
1730
  };
1721
1731
  }
1722
- function Gt(a) {
1723
- let e, i = `${/*$_*/
1732
+ function Ki(a) {
1733
+ let e, t = `${/*$_*/
1724
1734
  a[26]("removedLimitText")} ${/*currentLimit*/
1725
- a[128].expiryDate}`, t;
1735
+ a[131].expiryDate}`, i;
1726
1736
  return {
1727
1737
  c() {
1728
- e = v("div"), t = I(i), f(e, "class", "PendingLimit");
1738
+ e = k("div"), i = I(t), c(e, "class", "PendingLimit");
1729
1739
  },
1730
1740
  m(o, s) {
1731
- C(o, e, s), u(e, t);
1741
+ T(o, e, s), u(e, i);
1732
1742
  },
1733
1743
  p(o, s) {
1734
1744
  s[0] & /*$_, availableLimits*/
1735
- 67108928 && i !== (i = `${/*$_*/
1745
+ 67108928 && t !== (t = `${/*$_*/
1736
1746
  o[26]("removedLimitText")} ${/*currentLimit*/
1737
- o[128].expiryDate}`) && x(t, i);
1747
+ o[131].expiryDate}`) && N(i, t);
1738
1748
  },
1739
1749
  d(o) {
1740
- o && T(e);
1750
+ o && A(e);
1741
1751
  }
1742
1752
  };
1743
1753
  }
1744
- function Kt(a) {
1745
- let e, i = `${/*$_*/
1746
- a[26]("removeAfterConfirm")}`, t;
1754
+ function Hi(a) {
1755
+ let e, t = `${/*$_*/
1756
+ a[26]("removeAfterConfirm")}`, i;
1747
1757
  return {
1748
1758
  c() {
1749
- e = v("div"), t = I(i), f(e, "class", "PendingLimit");
1759
+ e = k("div"), i = I(t), c(e, "class", "PendingLimit");
1750
1760
  },
1751
1761
  m(o, s) {
1752
- C(o, e, s), u(e, t);
1762
+ T(o, e, s), u(e, i);
1753
1763
  },
1754
1764
  p(o, s) {
1755
1765
  s[0] & /*$_*/
1756
- 67108864 && i !== (i = `${/*$_*/
1757
- o[26]("removeAfterConfirm")}`) && x(t, i);
1766
+ 67108864 && t !== (t = `${/*$_*/
1767
+ o[26]("removeAfterConfirm")}`) && N(i, t);
1758
1768
  },
1759
1769
  d(o) {
1760
- o && T(e);
1770
+ o && A(e);
1761
1771
  }
1762
1772
  };
1763
1773
  }
1764
- function Ht(a) {
1765
- let e, i = `${/*$_*/
1766
- a[26]("acknowledgedLimit")}`, t;
1774
+ function Yi(a) {
1775
+ let e, t = `${/*$_*/
1776
+ a[26]("acknowledgedLimit")}`, i;
1767
1777
  return {
1768
1778
  c() {
1769
- e = v("div"), t = I(i), f(e, "class", "PendingLimit");
1779
+ e = k("div"), i = I(t), c(e, "class", "PendingLimit");
1770
1780
  },
1771
1781
  m(o, s) {
1772
- C(o, e, s), u(e, t);
1782
+ T(o, e, s), u(e, i);
1773
1783
  },
1774
1784
  p(o, s) {
1775
1785
  s[0] & /*$_*/
1776
- 67108864 && i !== (i = `${/*$_*/
1777
- o[26]("acknowledgedLimit")}`) && x(t, i);
1786
+ 67108864 && t !== (t = `${/*$_*/
1787
+ o[26]("acknowledgedLimit")}`) && N(i, t);
1778
1788
  },
1779
1789
  d(o) {
1780
- o && T(e);
1790
+ o && A(e);
1781
1791
  }
1782
1792
  };
1783
1793
  }
1784
- function Yt(a) {
1794
+ function Xi(a) {
1785
1795
  let e = `${/*currentLimit*/
1786
- a[128].period !== "None" || /*currentLimit*/
1787
- a[128].value !== "cumulativeSession" ? " " : (
1796
+ a[131].period !== "None" || /*currentLimit*/
1797
+ a[131].value !== "cumulativeSession" ? " " : (
1788
1798
  /*$_*/
1789
1799
  a[26]("per")
1790
1800
  )} ${/*$_*/
1791
1801
  a[26](`${/*currentLimit*/
1792
- a[128].period}`)} ${/*$_*/
1802
+ a[131].period}`)} ${/*$_*/
1793
1803
  a[26]("updateText")} ${/*currentLimit*/
1794
- a[128].expiryDate}`, i;
1804
+ a[131].expiryDate}`, t;
1795
1805
  return {
1796
1806
  c() {
1797
- i = I(e);
1807
+ t = I(e);
1798
1808
  },
1799
- m(t, o) {
1800
- C(t, i, o);
1809
+ m(i, o) {
1810
+ T(i, t, o);
1801
1811
  },
1802
- p(t, o) {
1812
+ p(i, o) {
1803
1813
  o[0] & /*availableLimits, $_*/
1804
1814
  67108928 && e !== (e = `${/*currentLimit*/
1805
- t[128].period !== "None" || /*currentLimit*/
1806
- t[128].value !== "cumulativeSession" ? " " : (
1815
+ i[131].period !== "None" || /*currentLimit*/
1816
+ i[131].value !== "cumulativeSession" ? " " : (
1807
1817
  /*$_*/
1808
- t[26]("per")
1818
+ i[26]("per")
1809
1819
  )} ${/*$_*/
1810
- t[26](`${/*currentLimit*/
1811
- t[128].period}`)} ${/*$_*/
1812
- t[26]("updateText")} ${/*currentLimit*/
1813
- t[128].expiryDate}`) && x(i, e);
1820
+ i[26](`${/*currentLimit*/
1821
+ i[131].period}`)} ${/*$_*/
1822
+ i[26]("updateText")} ${/*currentLimit*/
1823
+ i[131].expiryDate}`) && N(t, e);
1814
1824
  },
1815
- d(t) {
1816
- t && T(i);
1825
+ d(i) {
1826
+ i && A(t);
1817
1827
  }
1818
1828
  };
1819
1829
  }
1820
- function Xt(a) {
1830
+ function Zi(a) {
1821
1831
  let e = `${/*currentLimit*/
1822
- a[128].period !== "None" || /*currentLimit*/
1823
- a[128].value !== "cumulativeSession" ? " " : (
1832
+ a[131].period !== "None" || /*currentLimit*/
1833
+ a[131].value !== "cumulativeSession" ? " " : (
1824
1834
  /*$_*/
1825
1835
  a[26]("per")
1826
1836
  )} ${/*$_*/
1827
1837
  a[26](`${/*currentLimit*/
1828
- a[128].period}`)} ${/*$_*/
1829
- a[26]("updateAfterConfirm")}`, i;
1838
+ a[131].period}`)} ${/*$_*/
1839
+ a[26]("updateAfterConfirm")}`, t;
1830
1840
  return {
1831
1841
  c() {
1832
- i = I(e);
1842
+ t = I(e);
1833
1843
  },
1834
- m(t, o) {
1835
- C(t, i, o);
1844
+ m(i, o) {
1845
+ T(i, t, o);
1836
1846
  },
1837
- p(t, o) {
1847
+ p(i, o) {
1838
1848
  o[0] & /*availableLimits, $_*/
1839
1849
  67108928 && e !== (e = `${/*currentLimit*/
1840
- t[128].period !== "None" || /*currentLimit*/
1841
- t[128].value !== "cumulativeSession" ? " " : (
1850
+ i[131].period !== "None" || /*currentLimit*/
1851
+ i[131].value !== "cumulativeSession" ? " " : (
1842
1852
  /*$_*/
1843
- t[26]("per")
1853
+ i[26]("per")
1844
1854
  )} ${/*$_*/
1845
- t[26](`${/*currentLimit*/
1846
- t[128].period}`)} ${/*$_*/
1847
- t[26]("updateAfterConfirm")}`) && x(i, e);
1855
+ i[26](`${/*currentLimit*/
1856
+ i[131].period}`)} ${/*$_*/
1857
+ i[26]("updateAfterConfirm")}`) && N(t, e);
1848
1858
  },
1849
- d(t) {
1850
- t && T(i);
1859
+ d(i) {
1860
+ i && A(t);
1851
1861
  }
1852
1862
  };
1853
1863
  }
1854
- function ti(a) {
1855
- let e, i, t = (
1864
+ function at(a) {
1865
+ let e, t, i = (
1856
1866
  /*acknowledgedLimits*/
1857
1867
  a[25][
1858
1868
  /*currentLimit*/
1859
- a[128].scheduleId
1869
+ a[131].scheduleId
1860
1870
  ].timer + ""
1861
1871
  ), o, s, r, p;
1862
1872
  return {
1863
1873
  c() {
1864
- e = v("div"), i = v("button"), o = I(t), f(i, "class", s = "ReloadLimitButton " + (/*isDesktop*/
1874
+ e = k("div"), t = k("button"), o = I(i), c(t, "class", s = "ReloadLimitButton " + (/*isDesktop*/
1865
1875
  a[27] ? "" : "Mobile") + " " + /*acknowledgedLimits*/
1866
1876
  (a[25][
1867
1877
  /*currentLimit*/
1868
- a[128].scheduleId
1869
- ].timerStopped ? "" : "disabled")), f(e, "class", "ContainerLimitActions " + (/*isDesktop*/
1878
+ a[131].scheduleId
1879
+ ].timerStopped ? "" : "disabled")), c(e, "class", "ContainerLimitActions " + (/*isDesktop*/
1870
1880
  a[27] ? "" : "Mobile"));
1871
1881
  },
1872
- m(c, m) {
1873
- C(c, e, m), u(e, i), u(i, o), r || (p = ie(
1874
- i,
1882
+ m(d, l) {
1883
+ T(d, e, l), u(e, t), u(t, o), r || (p = te(
1884
+ t,
1875
1885
  "click",
1876
1886
  /*click_handler*/
1877
- a[55]
1887
+ a[56]
1878
1888
  ), r = !0);
1879
1889
  },
1880
- p(c, m) {
1881
- m[0] & /*acknowledgedLimits, availableLimits*/
1882
- 33554496 && t !== (t = /*acknowledgedLimits*/
1883
- c[25][
1890
+ p(d, l) {
1891
+ l[0] & /*acknowledgedLimits, availableLimits*/
1892
+ 33554496 && i !== (i = /*acknowledgedLimits*/
1893
+ d[25][
1884
1894
  /*currentLimit*/
1885
- c[128].scheduleId
1886
- ].timer + "") && x(o, t), m[0] & /*acknowledgedLimits, availableLimits*/
1895
+ d[131].scheduleId
1896
+ ].timer + "") && N(o, i), l[0] & /*acknowledgedLimits, availableLimits*/
1887
1897
  33554496 && s !== (s = "ReloadLimitButton " + (/*isDesktop*/
1888
- c[27] ? "" : "Mobile") + " " + /*acknowledgedLimits*/
1889
- (c[25][
1898
+ d[27] ? "" : "Mobile") + " " + /*acknowledgedLimits*/
1899
+ (d[25][
1890
1900
  /*currentLimit*/
1891
- c[128].scheduleId
1892
- ].timerStopped ? "" : "disabled")) && f(i, "class", s);
1901
+ d[131].scheduleId
1902
+ ].timerStopped ? "" : "disabled")) && c(t, "class", s);
1893
1903
  },
1894
- d(c) {
1895
- c && T(e), r = !1, p();
1904
+ d(d) {
1905
+ d && A(e), r = !1, p();
1896
1906
  }
1897
1907
  };
1898
1908
  }
1899
- function ai(a) {
1900
- let e, i, t = (
1909
+ function ot(a) {
1910
+ let e, t, i = (
1901
1911
  /*$_*/
1902
1912
  a[26]("removeLimit") + ""
1903
1913
  ), o, s, r;
1904
1914
  function p() {
1905
1915
  return (
1906
1916
  /*click_handler_1*/
1907
- a[56](
1917
+ a[57](
1908
1918
  /*currentLimit*/
1909
- a[128]
1919
+ a[131]
1910
1920
  )
1911
1921
  );
1912
1922
  }
1913
1923
  return {
1914
1924
  c() {
1915
- e = v("div"), i = v("button"), o = I(t), f(i, "class", "RemoveLimitButton " + (/*isDesktop*/
1916
- a[27] ? "" : "Mobile")), f(e, "class", "ContainerLimitActions " + (/*isDesktop*/
1925
+ e = k("div"), t = k("button"), o = I(i), c(t, "class", "RemoveLimitButton " + (/*isDesktop*/
1926
+ a[27] ? "" : "Mobile")), c(e, "class", "ContainerLimitActions " + (/*isDesktop*/
1917
1927
  a[27] ? "" : "Mobile"));
1918
1928
  },
1919
- m(c, m) {
1920
- C(c, e, m), u(e, i), u(i, o), s || (r = ie(i, "click", p), s = !0);
1929
+ m(d, l) {
1930
+ T(d, e, l), u(e, t), u(t, o), s || (r = te(t, "click", p), s = !0);
1921
1931
  },
1922
- p(c, m) {
1923
- a = c, m[0] & /*$_*/
1924
- 67108864 && t !== (t = /*$_*/
1925
- a[26]("removeLimit") + "") && x(o, t);
1932
+ p(d, l) {
1933
+ a = d, l[0] & /*$_*/
1934
+ 67108864 && i !== (i = /*$_*/
1935
+ a[26]("removeLimit") + "") && N(o, i);
1926
1936
  },
1927
- d(c) {
1928
- c && T(e), s = !1, r();
1937
+ d(d) {
1938
+ d && A(e), s = !1, r();
1929
1939
  }
1930
1940
  };
1931
1941
  }
1932
- function oi(a) {
1933
- let e, i, t = (
1942
+ function nt(a) {
1943
+ let e, t, i = (
1934
1944
  /*$_*/
1935
1945
  a[26]("confirmUpdateLimit") + ""
1936
1946
  ), o, s, r, p = (
1937
1947
  /*$_*/
1938
1948
  a[26]("cancelUpdateLimit") + ""
1939
- ), c, m, L;
1940
- function y() {
1949
+ ), d, l, L;
1950
+ function h() {
1941
1951
  return (
1942
1952
  /*click_handler_2*/
1943
- a[57](
1953
+ a[58](
1944
1954
  /*currentLimit*/
1945
- a[128]
1955
+ a[131]
1946
1956
  )
1947
1957
  );
1948
1958
  }
1949
- function E() {
1959
+ function M() {
1950
1960
  return (
1951
1961
  /*click_handler_3*/
1952
- a[58](
1962
+ a[59](
1953
1963
  /*currentLimit*/
1954
- a[128]
1964
+ a[131]
1955
1965
  )
1956
1966
  );
1957
1967
  }
1958
1968
  return {
1959
1969
  c() {
1960
- e = v("div"), i = v("button"), o = I(t), s = O(), r = v("button"), c = I(p), f(i, "class", "ConfirmLimitButton " + (/*isDesktop*/
1961
- a[27] ? "" : "Mobile")), f(r, "class", "CancelLimitButton " + (/*isDesktop*/
1962
- a[27] ? "" : "Mobile")), f(e, "class", "ContainerLimitActions " + (/*isDesktop*/
1970
+ e = k("div"), t = k("button"), o = I(i), s = B(), r = k("button"), d = I(p), c(t, "class", "ConfirmLimitButton " + (/*isDesktop*/
1971
+ a[27] ? "" : "Mobile")), c(r, "class", "CancelLimitButton " + (/*isDesktop*/
1972
+ a[27] ? "" : "Mobile")), c(e, "class", "ContainerLimitActions " + (/*isDesktop*/
1963
1973
  a[27] ? "" : "Mobile"));
1964
1974
  },
1965
- m(_, D) {
1966
- C(_, e, D), u(e, i), u(i, o), u(e, s), u(e, r), u(r, c), m || (L = [
1967
- ie(i, "click", y),
1968
- ie(r, "click", E)
1969
- ], m = !0);
1975
+ m(b, j) {
1976
+ T(b, e, j), u(e, t), u(t, o), u(e, s), u(e, r), u(r, d), l || (L = [
1977
+ te(t, "click", h),
1978
+ te(r, "click", M)
1979
+ ], l = !0);
1970
1980
  },
1971
- p(_, D) {
1972
- a = _, D[0] & /*$_*/
1973
- 67108864 && t !== (t = /*$_*/
1974
- a[26]("confirmUpdateLimit") + "") && x(o, t), D[0] & /*$_*/
1981
+ p(b, j) {
1982
+ a = b, j[0] & /*$_*/
1983
+ 67108864 && i !== (i = /*$_*/
1984
+ a[26]("confirmUpdateLimit") + "") && N(o, i), j[0] & /*$_*/
1975
1985
  67108864 && p !== (p = /*$_*/
1976
- a[26]("cancelUpdateLimit") + "") && x(c, p);
1986
+ a[26]("cancelUpdateLimit") + "") && N(d, p);
1977
1987
  },
1978
- d(_) {
1979
- _ && T(e), m = !1, Te(L);
1988
+ d(b) {
1989
+ b && A(e), l = !1, Ce(L);
1980
1990
  }
1981
1991
  };
1982
1992
  }
1983
- function ni(a) {
1984
- let e, i, t, o, s, r = `${/*currentLimit*/
1985
- a[128].period !== "None" || /*currentLimit*/
1986
- a[128].value !== "cumulativeSession" ? " " : (
1993
+ function st(a) {
1994
+ let e, t, i, o, s, r = `${/*currentLimit*/
1995
+ a[131].period !== "None" || /*currentLimit*/
1996
+ a[131].value !== "cumulativeSession" ? " " : (
1987
1997
  /*$_*/
1988
1998
  a[26]("per")
1989
1999
  )} ${/*$_*/
1990
2000
  a[26](`${/*currentLimit*/
1991
- a[128].period}`)}`, p, c, m, L, y = !/*currentLimit*/
1992
- a[128].isModified && /*deletelimit*/
2001
+ a[131].period}`)}`, p, d, l, L, h = !/*currentLimit*/
2002
+ a[131].isModified && /*deletelimit*/
1993
2003
  a[2].indexOf(
1994
2004
  /*limit*/
1995
- a[123].value
1996
- ) > -1, E, _;
1997
- function D(A, S) {
2005
+ a[126].value
2006
+ ) > -1, M, b;
2007
+ function j(w, P) {
1998
2008
  return (
1999
2009
  /*currentLimit*/
2000
- A[128].acknowledgedLimit ? Wt : Vt
2010
+ w[131].acknowledgedLimit ? qi : Vi
2001
2011
  );
2002
2012
  }
2003
- let H = D(a), G = H(a);
2004
- function F(A, S) {
2013
+ let Y = j(a), K = Y(a);
2014
+ function F(w, P) {
2005
2015
  if (
2006
2016
  /*currentLimit*/
2007
- A[128].acknowledgedLimit
2008
- ) return Ht;
2017
+ w[131].acknowledgedLimit
2018
+ )
2019
+ return Yi;
2009
2020
  if (
2010
2021
  /*currentLimit*/
2011
- A[128].isModified && /*currentLimit*/
2012
- A[128].updateAmount == 0 && /*currentLimit*/
2013
- A[128].isCoolOffCompleted
2014
- ) return Kt;
2022
+ w[131].isModified && /*currentLimit*/
2023
+ w[131].updateAmount == 0 && /*currentLimit*/
2024
+ w[131].isCoolOffCompleted
2025
+ )
2026
+ return Hi;
2015
2027
  if (
2016
2028
  /*currentLimit*/
2017
- A[128].isModified && /*currentLimit*/
2018
- A[128].updateAmount == 0 && !/*currentLimit*/
2019
- A[128].isCoolOffCompleted
2020
- ) return Gt;
2029
+ w[131].isModified && /*currentLimit*/
2030
+ w[131].updateAmount == 0 && !/*currentLimit*/
2031
+ w[131].isCoolOffCompleted
2032
+ )
2033
+ return Ki;
2021
2034
  if (
2022
2035
  /*currentLimit*/
2023
- A[128].isModified
2024
- ) return qt;
2036
+ w[131].isModified
2037
+ )
2038
+ return Gi;
2025
2039
  }
2026
- let W = F(a), M = W && W(a), U = (
2040
+ let q = F(a), x = q && q(a), U = (
2027
2041
  /*currentLimit*/
2028
- a[128].acknowledgedLimit && ti(a)
2029
- ), P = y && ai(a), N = (
2042
+ a[131].acknowledgedLimit && at(a)
2043
+ ), R = h && ot(a), D = (
2030
2044
  /*currentLimit*/
2031
- a[128].isCoolOffCompleted & !/*currentLimit*/
2032
- a[128].acknowledgedLimit && oi(a)
2045
+ a[131].isCoolOffCompleted & !/*currentLimit*/
2046
+ a[131].acknowledgedLimit && nt(a)
2033
2047
  );
2034
2048
  return {
2035
2049
  c() {
2036
- e = v("div"), i = v("div"), t = v("div"), o = v("div"), G.c(), s = O(), p = I(r), c = O(), M && M.c(), m = O(), U && U.c(), L = O(), P && P.c(), E = O(), N && N.c(), _ = O(), f(o, "class", "CurrentLimit"), f(t, "class", "CurrentLimitContainer"), f(i, "class", "LimitDetailsTextWrapper"), f(e, "class", "LimitDetails");
2050
+ e = k("div"), t = k("div"), i = k("div"), o = k("div"), K.c(), s = B(), p = I(r), d = B(), x && x.c(), l = B(), U && U.c(), L = B(), R && R.c(), M = B(), D && D.c(), b = B(), c(o, "class", "CurrentLimit"), c(i, "class", "CurrentLimitContainer"), c(t, "class", "LimitDetailsTextWrapper"), c(e, "class", "LimitDetails");
2037
2051
  },
2038
- m(A, S) {
2039
- C(A, e, S), u(e, i), u(i, t), u(t, o), G.m(o, null), u(o, s), u(o, p), u(t, c), M && M.m(t, null), u(i, m), U && U.m(i, null), u(i, L), P && P.m(i, null), u(i, E), N && N.m(i, null), u(e, _);
2052
+ m(w, P) {
2053
+ T(w, e, P), u(e, t), u(t, i), u(i, o), K.m(o, null), u(o, s), u(o, p), u(i, d), x && x.m(i, null), u(t, l), U && U.m(t, null), u(t, L), R && R.m(t, null), u(t, M), D && D.m(t, null), u(e, b);
2040
2054
  },
2041
- p(A, S) {
2042
- H === (H = D(A)) && G ? G.p(A, S) : (G.d(1), G = H(A), G && (G.c(), G.m(o, s))), S[0] & /*availableLimits, $_*/
2055
+ p(w, P) {
2056
+ Y === (Y = j(w)) && K ? K.p(w, P) : (K.d(1), K = Y(w), K && (K.c(), K.m(o, s))), P[0] & /*availableLimits, $_*/
2043
2057
  67108928 && r !== (r = `${/*currentLimit*/
2044
- A[128].period !== "None" || /*currentLimit*/
2045
- A[128].value !== "cumulativeSession" ? " " : (
2058
+ w[131].period !== "None" || /*currentLimit*/
2059
+ w[131].value !== "cumulativeSession" ? " " : (
2046
2060
  /*$_*/
2047
- A[26]("per")
2061
+ w[26]("per")
2048
2062
  )} ${/*$_*/
2049
- A[26](`${/*currentLimit*/
2050
- A[128].period}`)}`) && x(p, r), W === (W = F(A)) && M ? M.p(A, S) : (M && M.d(1), M = W && W(A), M && (M.c(), M.m(t, null))), /*currentLimit*/
2051
- A[128].acknowledgedLimit ? U ? U.p(A, S) : (U = ti(A), U.c(), U.m(i, L)) : U && (U.d(1), U = null), S[0] & /*availableLimits, deletelimit*/
2052
- 68 && (y = !/*currentLimit*/
2053
- A[128].isModified && /*deletelimit*/
2054
- A[2].indexOf(
2063
+ w[26](`${/*currentLimit*/
2064
+ w[131].period}`)}`) && N(p, r), q === (q = F(w)) && x ? x.p(w, P) : (x && x.d(1), x = q && q(w), x && (x.c(), x.m(i, null))), /*currentLimit*/
2065
+ w[131].acknowledgedLimit ? U ? U.p(w, P) : (U = at(w), U.c(), U.m(t, L)) : U && (U.d(1), U = null), P[0] & /*availableLimits, deletelimit*/
2066
+ 68 && (h = !/*currentLimit*/
2067
+ w[131].isModified && /*deletelimit*/
2068
+ w[2].indexOf(
2055
2069
  /*limit*/
2056
- A[123].value
2057
- ) > -1), y ? P ? P.p(A, S) : (P = ai(A), P.c(), P.m(i, E)) : P && (P.d(1), P = null), /*currentLimit*/
2058
- A[128].isCoolOffCompleted & !/*currentLimit*/
2059
- A[128].acknowledgedLimit ? N ? N.p(A, S) : (N = oi(A), N.c(), N.m(i, null)) : N && (N.d(1), N = null);
2070
+ w[126].value
2071
+ ) > -1), h ? R ? R.p(w, P) : (R = ot(w), R.c(), R.m(t, M)) : R && (R.d(1), R = null), /*currentLimit*/
2072
+ w[131].isCoolOffCompleted & !/*currentLimit*/
2073
+ w[131].acknowledgedLimit ? D ? D.p(w, P) : (D = nt(w), D.c(), D.m(t, null)) : D && (D.d(1), D = null);
2060
2074
  },
2061
- d(A) {
2062
- A && T(e), G.d(), M && M.d(), U && U.d(), P && P.d(), N && N.d();
2075
+ d(w) {
2076
+ w && A(e), K.d(), x && x.d(), U && U.d(), R && R.d(), D && D.d();
2063
2077
  }
2064
2078
  };
2065
2079
  }
2066
- function si(a) {
2067
- let e, i, t = (
2080
+ function rt(a) {
2081
+ let e, t, i = (
2068
2082
  /*determineLimitName*/
2069
2083
  a[37](
2070
2084
  /*limit*/
2071
- a[123]
2085
+ a[126]
2072
2086
  ) + ""
2073
2087
  ), o, s, r;
2074
- function p(L, y) {
2088
+ function p(L, h) {
2075
2089
  return (
2076
2090
  /*limit*/
2077
- L[123].value === "lugas" ? Ft : (
2091
+ L[126].value === "lugas" ? Fi : (
2078
2092
  /*limit*/
2079
- L[123].currentLimits.length > 0 ? Ot : (
2093
+ L[126].currentLimits.length > 0 ? Wi : (
2080
2094
  /*limit*/
2081
- L[123].value === "lugas" ? Bt : Rt
2095
+ L[126].value === "lugas" ? Oi : Bi
2082
2096
  )
2083
2097
  )
2084
2098
  );
2085
2099
  }
2086
- let c = p(a), m = c(a);
2100
+ let d = p(a), l = d(a);
2087
2101
  return {
2088
2102
  c() {
2089
- e = v("div"), i = v("p"), o = I(t), s = O(), m.c(), r = O(), f(i, "class", "LimitTitle"), f(e, "class", "LimitWrapper " + /*isDesktop*/
2103
+ e = k("div"), t = k("p"), o = I(i), s = B(), l.c(), r = B(), c(t, "class", "LimitTitle"), c(e, "class", "LimitWrapper " + /*isDesktop*/
2090
2104
  (a[27] ? "Desktop" : ""));
2091
2105
  },
2092
- m(L, y) {
2093
- C(L, e, y), u(e, i), u(i, o), u(e, s), m.m(e, null), u(e, r);
2106
+ m(L, h) {
2107
+ T(L, e, h), u(e, t), u(t, o), u(e, s), l.m(e, null), u(e, r);
2094
2108
  },
2095
- p(L, y) {
2096
- y[0] & /*availableLimits*/
2097
- 64 && t !== (t = /*determineLimitName*/
2109
+ p(L, h) {
2110
+ h[0] & /*availableLimits*/
2111
+ 64 && i !== (i = /*determineLimitName*/
2098
2112
  L[37](
2099
2113
  /*limit*/
2100
- L[123]
2101
- ) + "") && x(o, t), c === (c = p(L)) && m ? m.p(L, y) : (m.d(1), m = c(L), m && (m.c(), m.m(e, r)));
2114
+ L[126]
2115
+ ) + "") && N(o, i), d === (d = p(L)) && l ? l.p(L, h) : (l.d(1), l = d(L), l && (l.c(), l.m(e, r)));
2102
2116
  },
2103
2117
  d(L) {
2104
- L && T(e), m.d();
2118
+ L && A(e), l.d();
2105
2119
  }
2106
2120
  };
2107
2121
  }
2108
- function ri(a) {
2109
- let e, i, t = (
2122
+ function lt(a) {
2123
+ let e, t, i = (
2110
2124
  /*$_*/
2111
2125
  a[26]("complianceText") + ""
2112
2126
  ), o;
2113
2127
  return {
2114
2128
  c() {
2115
- e = v("div"), i = v("p"), o = I(t), f(i, "class", "LimitComplianceText"), f(e, "class", "LimitCompliance");
2129
+ e = k("div"), t = k("p"), o = I(i), c(t, "class", "LimitComplianceText"), c(e, "class", "LimitCompliance");
2116
2130
  },
2117
2131
  m(s, r) {
2118
- C(s, e, r), u(e, i), u(i, o);
2132
+ T(s, e, r), u(e, t), u(t, o);
2119
2133
  },
2120
2134
  p(s, r) {
2121
2135
  r[0] & /*$_*/
2122
- 67108864 && t !== (t = /*$_*/
2123
- s[26]("complianceText") + "") && x(o, t);
2136
+ 67108864 && i !== (i = /*$_*/
2137
+ s[26]("complianceText") + "") && N(o, i);
2124
2138
  },
2125
2139
  d(s) {
2126
- s && T(e);
2140
+ s && A(e);
2127
2141
  }
2128
2142
  };
2129
2143
  }
2130
- function li(a) {
2131
- let e, i, t = (
2144
+ function mt(a) {
2145
+ let e, t, i = (
2132
2146
  /*$_*/
2133
2147
  a[26]("limitType") + ""
2134
- ), o, s, r, p, c, m = de(
2148
+ ), o, s, r, p, d, l = le(
2135
2149
  /*availableLimits*/
2136
2150
  a[6]
2137
2151
  ), L = [];
2138
- for (let y = 0; y < m.length; y += 1)
2139
- L[y] = mi(Qe(a, m, y));
2152
+ for (let h = 0; h < l.length; h += 1)
2153
+ L[h] = ut($e(a, l, h));
2140
2154
  return {
2141
2155
  c() {
2142
- e = v("label"), i = v("span"), o = I(t), s = O(), r = v("select");
2143
- for (let y = 0; y < L.length; y += 1)
2144
- L[y].c();
2145
- f(i, "class", "LimitSelectText"), f(r, "name", ""), f(r, "id", ""), /*selectedIndex*/
2146
- a[9] === void 0 && fi(() => (
2156
+ e = k("label"), t = k("span"), o = I(i), s = B(), r = k("select");
2157
+ for (let h = 0; h < L.length; h += 1)
2158
+ L[h].c();
2159
+ c(t, "class", "LimitSelectText"), c(r, "name", ""), c(r, "id", ""), /*selectedIndex*/
2160
+ a[9] === void 0 && gt(() => (
2147
2161
  /*select_change_handler*/
2148
- a[59].call(r)
2149
- )), f(e, "class", "LimitTypeDropdownWrapper");
2150
- },
2151
- m(y, E) {
2152
- C(y, e, E), u(e, i), u(i, o), u(e, s), u(e, r);
2153
- for (let _ = 0; _ < L.length; _ += 1)
2154
- L[_] && L[_].m(r, null);
2155
- Se(
2162
+ a[60].call(r)
2163
+ )), c(e, "class", "LimitTypeDropdownWrapper");
2164
+ },
2165
+ m(h, M) {
2166
+ T(h, e, M), u(e, t), u(t, o), u(e, s), u(e, r);
2167
+ for (let b = 0; b < L.length; b += 1)
2168
+ L[b] && L[b].m(r, null);
2169
+ Te(
2156
2170
  r,
2157
2171
  /*selectedIndex*/
2158
2172
  a[9],
2159
2173
  !0
2160
- ), p || (c = [
2161
- ie(
2174
+ ), p || (d = [
2175
+ te(
2162
2176
  r,
2163
2177
  "change",
2164
2178
  /*select_change_handler*/
2165
- a[59]
2179
+ a[60]
2166
2180
  ),
2167
- ie(
2181
+ te(
2168
2182
  r,
2169
2183
  "change",
2170
2184
  /*change_handler*/
2171
- a[60]
2185
+ a[61]
2172
2186
  )
2173
2187
  ], p = !0);
2174
2188
  },
2175
- p(y, E) {
2176
- if (E[0] & /*$_*/
2177
- 67108864 && t !== (t = /*$_*/
2178
- y[26]("limitType") + "") && x(o, t), E[0] & /*availableLimits*/
2179
- 64 | E[1] & /*determineLimitName*/
2189
+ p(h, M) {
2190
+ if (M[0] & /*$_*/
2191
+ 67108864 && i !== (i = /*$_*/
2192
+ h[26]("limitType") + "") && N(o, i), M[0] & /*availableLimits*/
2193
+ 64 | M[1] & /*determineLimitName*/
2180
2194
  64) {
2181
- m = de(
2195
+ l = le(
2182
2196
  /*availableLimits*/
2183
- y[6]
2197
+ h[6]
2184
2198
  );
2185
- let _;
2186
- for (_ = 0; _ < m.length; _ += 1) {
2187
- const D = Qe(y, m, _);
2188
- L[_] ? L[_].p(D, E) : (L[_] = mi(D), L[_].c(), L[_].m(r, null));
2199
+ let b;
2200
+ for (b = 0; b < l.length; b += 1) {
2201
+ const j = $e(h, l, b);
2202
+ L[b] ? L[b].p(j, M) : (L[b] = ut(j), L[b].c(), L[b].m(r, null));
2189
2203
  }
2190
- for (; _ < L.length; _ += 1)
2191
- L[_].d(1);
2192
- L.length = m.length;
2204
+ for (; b < L.length; b += 1)
2205
+ L[b].d(1);
2206
+ L.length = l.length;
2193
2207
  }
2194
- E[0] & /*selectedIndex*/
2195
- 512 && Se(
2208
+ M[0] & /*selectedIndex*/
2209
+ 512 && Te(
2196
2210
  r,
2197
2211
  /*selectedIndex*/
2198
- y[9]
2212
+ h[9]
2199
2213
  );
2200
2214
  },
2201
- d(y) {
2202
- y && T(e), Ae(L, y), p = !1, Te(c);
2215
+ d(h) {
2216
+ h && A(e), Se(L, h), p = !1, Ce(d);
2203
2217
  }
2204
2218
  };
2205
2219
  }
2206
- function mi(a) {
2207
- let e, i = (
2220
+ function ut(a) {
2221
+ let e, t = (
2208
2222
  /*determineLimitName*/
2209
2223
  a[37](
2210
2224
  /*limit*/
2211
- a[123]
2225
+ a[126]
2212
2226
  ) + ""
2213
- ), t;
2227
+ ), i;
2214
2228
  return {
2215
2229
  c() {
2216
- e = v("option"), t = I(i), e.__value = /*i*/
2217
- a[125], we(e, e.__value);
2230
+ e = k("option"), i = I(t), e.__value = /*i*/
2231
+ a[128], _e(e, e.__value);
2218
2232
  },
2219
2233
  m(o, s) {
2220
- C(o, e, s), u(e, t);
2234
+ T(o, e, s), u(e, i);
2221
2235
  },
2222
2236
  p(o, s) {
2223
2237
  s[0] & /*availableLimits*/
2224
- 64 && i !== (i = /*determineLimitName*/
2238
+ 64 && t !== (t = /*determineLimitName*/
2225
2239
  o[37](
2226
2240
  /*limit*/
2227
- o[123]
2228
- ) + "") && x(t, i);
2241
+ o[126]
2242
+ ) + "") && N(i, t);
2229
2243
  },
2230
2244
  d(o) {
2231
- o && T(e);
2245
+ o && A(e);
2232
2246
  }
2233
2247
  };
2234
2248
  }
2235
- function ui(a) {
2236
- let e, i, t = (
2249
+ function dt(a) {
2250
+ let e, t, i = (
2237
2251
  /*$_*/
2238
2252
  a[26]("period") + ""
2239
- ), o, s, r, p, c, m = de(
2253
+ ), o, s, r, p, d, l = le(
2240
2254
  /*limitsConfig*/
2241
2255
  a[5][
2242
2256
  /*selectedLimit*/
2243
2257
  a[7]
2244
2258
  ].periods
2245
2259
  ), L = [];
2246
- for (let y = 0; y < m.length; y += 1)
2247
- L[y] = di(Je(a, m, y));
2260
+ for (let h = 0; h < l.length; h += 1)
2261
+ L[h] = pt(Qe(a, l, h));
2248
2262
  return {
2249
2263
  c() {
2250
- e = v("label"), i = v("span"), o = I(t), s = O(), r = v("select");
2251
- for (let y = 0; y < L.length; y += 1)
2252
- L[y].c();
2253
- f(i, "class", "PeriodSelectText"), f(r, "name", ""), f(r, "id", ""), /*selectedPeriod*/
2254
- a[8] === void 0 && fi(() => (
2264
+ e = k("label"), t = k("span"), o = I(i), s = B(), r = k("select");
2265
+ for (let h = 0; h < L.length; h += 1)
2266
+ L[h].c();
2267
+ c(t, "class", "PeriodSelectText"), c(r, "name", ""), c(r, "id", ""), /*selectedPeriod*/
2268
+ a[8] === void 0 && gt(() => (
2255
2269
  /*select_change_handler_1*/
2256
- a[61].call(r)
2257
- )), f(e, "class", "LimitPeriodDropdownWrapper");
2258
- },
2259
- m(y, E) {
2260
- C(y, e, E), u(e, i), u(i, o), u(e, s), u(e, r);
2261
- for (let _ = 0; _ < L.length; _ += 1)
2262
- L[_] && L[_].m(r, null);
2263
- Se(
2270
+ a[62].call(r)
2271
+ )), c(e, "class", "LimitPeriodDropdownWrapper");
2272
+ },
2273
+ m(h, M) {
2274
+ T(h, e, M), u(e, t), u(t, o), u(e, s), u(e, r);
2275
+ for (let b = 0; b < L.length; b += 1)
2276
+ L[b] && L[b].m(r, null);
2277
+ Te(
2264
2278
  r,
2265
2279
  /*selectedPeriod*/
2266
2280
  a[8],
2267
2281
  !0
2268
- ), p || (c = ie(
2282
+ ), p || (d = te(
2269
2283
  r,
2270
2284
  "change",
2271
2285
  /*select_change_handler_1*/
2272
- a[61]
2286
+ a[62]
2273
2287
  ), p = !0);
2274
2288
  },
2275
- p(y, E) {
2276
- if (E[0] & /*$_*/
2277
- 67108864 && t !== (t = /*$_*/
2278
- y[26]("period") + "") && x(o, t), E[0] & /*limitsConfig, selectedLimit, $_*/
2289
+ p(h, M) {
2290
+ if (M[0] & /*$_*/
2291
+ 67108864 && i !== (i = /*$_*/
2292
+ h[26]("period") + "") && N(o, i), M[0] & /*limitsConfig, selectedLimit, $_*/
2279
2293
  67109024) {
2280
- m = de(
2294
+ l = le(
2281
2295
  /*limitsConfig*/
2282
- y[5][
2296
+ h[5][
2283
2297
  /*selectedLimit*/
2284
- y[7]
2298
+ h[7]
2285
2299
  ].periods
2286
2300
  );
2287
- let _;
2288
- for (_ = 0; _ < m.length; _ += 1) {
2289
- const D = Je(y, m, _);
2290
- L[_] ? L[_].p(D, E) : (L[_] = di(D), L[_].c(), L[_].m(r, null));
2301
+ let b;
2302
+ for (b = 0; b < l.length; b += 1) {
2303
+ const j = Qe(h, l, b);
2304
+ L[b] ? L[b].p(j, M) : (L[b] = pt(j), L[b].c(), L[b].m(r, null));
2291
2305
  }
2292
- for (; _ < L.length; _ += 1)
2293
- L[_].d(1);
2294
- L.length = m.length;
2306
+ for (; b < L.length; b += 1)
2307
+ L[b].d(1);
2308
+ L.length = l.length;
2295
2309
  }
2296
- E[0] & /*selectedPeriod, limitsConfig, selectedLimit*/
2297
- 416 && Se(
2310
+ M[0] & /*selectedPeriod, limitsConfig, selectedLimit*/
2311
+ 416 && Te(
2298
2312
  r,
2299
2313
  /*selectedPeriod*/
2300
- y[8]
2314
+ h[8]
2301
2315
  );
2302
2316
  },
2303
- d(y) {
2304
- y && T(e), Ae(L, y), p = !1, c();
2317
+ d(h) {
2318
+ h && A(e), Se(L, h), p = !1, d();
2305
2319
  }
2306
2320
  };
2307
2321
  }
2308
- function di(a) {
2309
- let e, i = (
2322
+ function pt(a) {
2323
+ let e, t = (
2310
2324
  /*$_*/
2311
2325
  a[26](
2312
2326
  /*period*/
2313
- a[120]
2327
+ a[123]
2314
2328
  ) + ""
2315
- ), t, o;
2329
+ ), i, o;
2316
2330
  return {
2317
2331
  c() {
2318
- e = v("option"), t = I(i), e.__value = o = /*period*/
2319
- a[120], we(e, e.__value), e.selected = !0;
2332
+ e = k("option"), i = I(t), e.__value = o = /*period*/
2333
+ a[123], _e(e, e.__value), e.selected = !0;
2320
2334
  },
2321
2335
  m(s, r) {
2322
- C(s, e, r), u(e, t);
2336
+ T(s, e, r), u(e, i);
2323
2337
  },
2324
2338
  p(s, r) {
2325
2339
  r[0] & /*$_, limitsConfig, selectedLimit*/
2326
- 67109024 && i !== (i = /*$_*/
2340
+ 67109024 && t !== (t = /*$_*/
2327
2341
  s[26](
2328
2342
  /*period*/
2329
- s[120]
2330
- ) + "") && x(t, i), r[0] & /*limitsConfig, selectedLimit*/
2343
+ s[123]
2344
+ ) + "") && N(i, t), r[0] & /*limitsConfig, selectedLimit*/
2331
2345
  160 && o !== (o = /*period*/
2332
- s[120]) && (e.__value = o, we(e, e.__value));
2346
+ s[123]) && (e.__value = o, _e(e, e.__value));
2333
2347
  },
2334
2348
  d(s) {
2335
- s && T(e);
2349
+ s && A(e);
2336
2350
  }
2337
2351
  };
2338
2352
  }
2339
- function pi(a) {
2340
- let e, i = (
2353
+ function ct(a) {
2354
+ let e, t = (
2341
2355
  /*inputAmount*/
2342
2356
  a[10] < /*minLimit*/
2343
2357
  a[12] ? `${/*$_*/
@@ -2365,17 +2379,17 @@ function pi(a) {
2365
2379
  )
2366
2380
  }
2367
2381
  })}`
2368
- ), t;
2382
+ ), i;
2369
2383
  return {
2370
2384
  c() {
2371
- e = v("p"), t = I(i), f(e, "class", "InvalidInput");
2385
+ e = k("p"), i = I(t), c(e, "class", "InvalidInput");
2372
2386
  },
2373
2387
  m(o, s) {
2374
- C(o, e, s), u(e, t);
2388
+ T(o, e, s), u(e, i);
2375
2389
  },
2376
2390
  p(o, s) {
2377
2391
  s[0] & /*inputAmount, minLimit, $_, currency, maxLimit*/
2378
- 67122177 && i !== (i = /*inputAmount*/
2392
+ 67122177 && t !== (t = /*inputAmount*/
2379
2393
  o[10] < /*minLimit*/
2380
2394
  o[12] ? `${/*$_*/
2381
2395
  o[26]("invalidInputMessageLimitMin", {
@@ -2401,181 +2415,200 @@ function pi(a) {
2401
2415
  o[0]
2402
2416
  )
2403
2417
  }
2404
- })}`) && x(t, i);
2418
+ })}`) && N(i, t);
2405
2419
  },
2406
2420
  d(o) {
2407
- o && T(e);
2421
+ o && A(e);
2408
2422
  }
2409
2423
  };
2410
2424
  }
2411
- function Zt(a) {
2412
- let e, i, t, o, s = (
2425
+ function Ji(a) {
2426
+ let e;
2427
+ return {
2428
+ c() {
2429
+ e = k("div"), e.innerHTML = '<div class="skeletonLimitAmount"><div class="skeletonAmountText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeletonSubText"><ui-skeleton width="auto" height="20px" structure="text" margin-right="auto"></ui-skeleton></div></div> <div class="skeletonLimitButton"><div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div> ', c(e, "class", "skeletonLimitContent");
2430
+ },
2431
+ m(t, i) {
2432
+ T(t, e, i);
2433
+ },
2434
+ p: Le,
2435
+ d(t) {
2436
+ t && A(e);
2437
+ }
2438
+ };
2439
+ }
2440
+ function Qi(a) {
2441
+ let e, t, i, o, s = (
2413
2442
  /*popupVisible*/
2414
- a[19] && ii(a)
2443
+ a[19] && it(a)
2415
2444
  );
2416
- function r(m, L) {
2417
- return (
2418
- /*isLoading*/
2419
- m[16] && !/*popupVisible*/
2420
- m[19] ? Nt : (
2421
- /*isLoading*/
2422
- m[16] ? xt : (
2423
- /*hasErrors*/
2424
- m[17] ? Ut : It
2425
- )
2426
- )
2427
- );
2445
+ function r(l, L) {
2446
+ if (
2447
+ /*skeletonLoading*/
2448
+ l[16]
2449
+ )
2450
+ return Ri;
2451
+ if (
2452
+ /*hasErrors*/
2453
+ l[17]
2454
+ )
2455
+ return Ni;
2456
+ if (!/*skeletonLoading*/
2457
+ l[16])
2458
+ return Ui;
2428
2459
  }
2429
- let p = r(a), c = p(a);
2460
+ let p = r(a), d = p && p(a);
2430
2461
  return {
2431
2462
  c() {
2432
- e = v("meta"), i = O(), t = v("div"), s && s.c(), o = O(), c.c(), f(e, "name", "viewport"), f(e, "content", "width=device-width, initial-scale=1");
2463
+ e = k("meta"), t = B(), i = k("div"), s && s.c(), o = B(), d && d.c(), c(e, "name", "viewport"), c(e, "content", "width=device-width, initial-scale=1");
2433
2464
  },
2434
- m(m, L) {
2435
- u(wt.head, e), C(m, i, L), C(m, t, L), s && s.m(t, null), u(t, o), c.m(t, null), a[64](t);
2465
+ m(l, L) {
2466
+ u(document.head, e), T(l, t, L), T(l, i, L), s && s.m(i, null), u(i, o), d && d.m(i, null), a[65](i);
2436
2467
  },
2437
- p(m, L) {
2468
+ p(l, L) {
2438
2469
  /*popupVisible*/
2439
- m[19] ? s ? s.p(m, L) : (s = ii(m), s.c(), s.m(t, o)) : s && (s.d(1), s = null), p === (p = r(m)) && c ? c.p(m, L) : (c.d(1), c = p(m), c && (c.c(), c.m(t, null)));
2470
+ l[19] ? s ? s.p(l, L) : (s = it(l), s.c(), s.m(i, o)) : s && (s.d(1), s = null), p === (p = r(l)) && d ? d.p(l, L) : (d && d.d(1), d = p && p(l), d && (d.c(), d.m(i, null)));
2440
2471
  },
2441
- i: le,
2442
- o: le,
2443
- d(m) {
2444
- m && (T(i), T(t)), T(e), s && s.d(), c.d(), a[64](null);
2472
+ i: Le,
2473
+ o: Le,
2474
+ d(l) {
2475
+ l && (A(t), A(i)), A(e), s && s.d(), d && d.d(), a[65](null);
2445
2476
  }
2446
2477
  };
2447
2478
  }
2448
- function Jt(a, e, i) {
2449
- let t;
2450
- yt(a, kt, (n) => i(26, t = n));
2451
- let { lang: o = "en" } = e, { currency: s = "" } = e, { limits: r = "" } = e, { session: p = "" } = e, { userid: c = "" } = e, { endpoint: m = "" } = e, { apiversion: L = "" } = e, { customcurrencysymbols: y = "" } = e, { enablecompliancetext: E = "" } = e, { deletelimit: _ = "" } = e, { amountsconfig: D = "" } = e, { periodsconfig: H = "" } = e, { limittabindex: G = "" } = e, { limitformat: F = "" } = e, { clientstyling: W = "" } = e, { clientstylingurl: M = "" } = e, { translationurl: U = "" } = e, P, N = window.navigator.userAgent, A = !ht(N), S = [], b = "", k = "", j = "", K = 0, w, Y, q = "", re = "", _e = "", me = {}, Ie = !1, Ce = !1, X = !0, Z = !1, De = !1, ce = !1, ne = !1, te = "", Le = "", J = [], fe, Ue, ge = !1, gi = {}, je = !1, xe = "", pe = { EUR: "€", RON: " lei", USD: "$" }, ee = {};
2452
- const Ne = {
2479
+ function $i(a, e, t) {
2480
+ let i;
2481
+ gi(a, wi, (n) => t(26, i = n));
2482
+ let { lang: o = "en" } = e, { currency: s = "" } = e, { limits: r = "" } = e, { session: p = "" } = e, { userid: d = "" } = e, { endpoint: l = "" } = e, { apiversion: L = "" } = e, { customcurrencysymbols: h = "" } = e, { enablecompliancetext: M = "" } = e, { deletelimit: b = "" } = e, { amountsconfig: j = "" } = e, { periodsconfig: Y = "" } = e, { limittabindex: K = "" } = e, { limitformat: F = "" } = e, { clientstyling: q = "" } = e, { clientstylingurl: x = "" } = e, { mbsource: U } = e, { translationurl: R = "" } = e, D, w = window.navigator.userAgent, P = !yi(w), S = [], y = "", _ = "", H = "", C = 0, E, G, re = "", pe = "", Ae = "", me = {}, Ie = !1, je = !1, Z = !0, J = !1, De = !1, ce = !1, ne = !1, ie = "", fe = "", Q = [], ge, Ue, ye = !1, yt = {}, Ee = !1, Ne = "", de = { EUR: "€", RON: " lei", USD: "$" }, ee = {};
2483
+ const Re = {
2453
2484
  wager: "wagering",
2454
2485
  loss: "loss",
2455
2486
  deposit: "deposit",
2456
2487
  cumulativeSession: "cumulativeSession",
2457
2488
  sessionLimit: "session"
2458
- }, Re = {
2489
+ }, Be = {
2459
2490
  unableToUpdatePendingRequest: ["SYS_1037", "SYS_1142", "SYS_1140"],
2460
2491
  internalServerError: ["F0004", "F0006"]
2461
- }, yi = () => {
2462
- fetch(U).then((l) => l.json()).then((l) => {
2463
- Object.keys(l).forEach((d) => {
2464
- Ze(d, l[d]);
2492
+ }, ht = () => {
2493
+ fetch(R).then((m) => m.json()).then((m) => {
2494
+ Object.keys(m).forEach((f) => {
2495
+ Je(f, m[f]);
2465
2496
  });
2466
- }).catch((l) => {
2467
- console.log(l);
2497
+ }).catch((m) => {
2498
+ console.log(m);
2468
2499
  });
2469
2500
  };
2470
2501
  Object.keys(ue).forEach((n) => {
2471
- Ze(n, ue[n]);
2502
+ Je(n, ue[n]);
2472
2503
  });
2473
- const Ee = (n) => `dataLayer-${n}`, Q = (n, l) => {
2504
+ const Me = (n) => `dataLayer-${n}`, $ = (n, m) => {
2474
2505
  typeof gtag == "function" && gtag({
2475
2506
  event: n,
2476
- limit_category: ue[o][Ee(j.toLowerCase())] || j,
2477
- limit_type: ue[o][Ee(b.toLowerCase())] || b,
2478
- limit_period: ue[o][Ee(k.toLowerCase())] || k,
2479
- limit_amount: w || l
2507
+ limit_category: ue[o][Me(H.toLowerCase())] || H,
2508
+ limit_type: ue[o][Me(y.toLowerCase())] || y,
2509
+ limit_period: ue[o][Me(_.toLowerCase())] || _,
2510
+ limit_amount: E || m
2480
2511
  });
2481
- }, hi = () => {
2482
- const n = D.split(",").map((g) => g.split(":")), l = H.split(",").map((g) => g.split(":"));
2483
- for (let [g, h] of n.entries())
2484
- if (h[0] !== l[g][0])
2485
- throw new Error(`Limit config mismatch: "${h[0]}" does not match "${l[g][0]}"`);
2486
- const d = n.reduce(
2487
- (g, h, z) => {
2488
- const V = h[0].slice(h[0].indexOf("(") + 1, h[0].indexOf(")")), Pe = h[0].slice(0, h[0].indexOf("(")), ve = h[1], ke = l[z][1].trim().replace("D", "Daily").replace("W", "Weekly").replace("M", "Monthly").replace("N", "None").split("-"), ze = {
2512
+ }, kt = () => {
2513
+ const n = j.split(",").map((g) => g.split(":")), m = Y.split(",").map((g) => g.split(":"));
2514
+ for (let [g, v] of n.entries())
2515
+ if (v[0] !== m[g][0])
2516
+ throw new Error(`Limit config mismatch: "${v[0]}" does not match "${m[g][0]}"`);
2517
+ const f = n.reduce(
2518
+ (g, v, z) => {
2519
+ const V = v[0].slice(v[0].indexOf("(") + 1, v[0].indexOf(")")), Pe = v[0].slice(0, v[0].indexOf("(")), ve = v[1], be = m[z][1].trim().replace("D", "Daily").replace("W", "Weekly").replace("M", "Monthly").replace("N", "None").split("-"), ze = {
2489
2520
  value: V,
2490
2521
  product: Pe,
2491
2522
  minMax: ve,
2492
- periods: ke,
2493
- callValue: R[V].callValue,
2494
- callValue16: R[V].callValue16,
2495
- title: R[V].title
2523
+ periods: be,
2524
+ callValue: O[V].callValue,
2525
+ callValue16: O[V].callValue16,
2526
+ title: O[V].title
2496
2527
  };
2497
2528
  return g.push(ze), g;
2498
2529
  },
2499
2530
  []
2500
2531
  );
2501
- for (let g = 0; g < d.length; g++)
2502
- i(6, S[g].product = d[g].product, S), i(6, S[g].min = parseInt(d[g].minMax.split("-")[0], 10), S), i(6, S[g].max = parseInt(d[g].minMax.split("-")[1], 10), S), i(5, R[d[g].value].periods = d[g].periods, R);
2503
- _e = S[0]?.value, S.forEach((g) => {
2504
- me[g.value] = { min: g.min, max: g.max }, gi[g.value] = g.product;
2505
- }), me && (me[_e] ? (i(12, q = me[_e].min), i(13, re = me[_e].max)) : (i(12, q = 1), i(13, re = 9999999)));
2506
- }, vi = () => {
2532
+ for (let g = 0; g < f.length; g++)
2533
+ t(6, S[g].product = f[g].product, S), t(6, S[g].min = parseInt(f[g].minMax.split("-")[0], 10), S), t(6, S[g].max = parseInt(f[g].minMax.split("-")[1], 10), S), t(5, O[f[g].value].periods = f[g].periods, O);
2534
+ Ae = S[0]?.value, S.forEach((g) => {
2535
+ me[g.value] = { min: g.min, max: g.max }, yt[g.value] = g.product;
2536
+ }), me && (me[Ae] ? (t(12, re = me[Ae].min), t(13, pe = me[Ae].max)) : (t(12, re = 1), t(13, pe = 9999999)));
2537
+ }, vt = () => {
2507
2538
  const n = /\(([^)]+)\)/g;
2508
- return [...D.matchAll(n)].flat().filter((d) => !d.includes("("));
2509
- }, ki = () => {
2510
- vi().forEach((l) => {
2511
- R[l] ? S.push({ ...R[l] }) : console.error(`Unknown limit: ${l}`);
2512
- }), hi(), i(7, b = S[0].value), i(8, k = R[b].periods[0]), j = S[0].product, i(14, Ie = S.length > 1), i(15, Ce = R[b].periods.length > 1);
2513
- }, Be = () => {
2514
- i(7, b = S[K].value), i(8, k = R[b].periods[0]), i(15, Ce = R[b].periods.length > 1);
2539
+ return [...j.matchAll(n)].flat().filter((f) => !f.includes("("));
2540
+ }, bt = () => {
2541
+ vt().forEach((m) => {
2542
+ O[m] ? S.push({ ...O[m] }) : console.error(`Unknown limit: ${m}`);
2543
+ }), kt(), t(7, y = S[0].value), t(8, _ = O[y].periods[0]), H = S[0].product, t(14, Ie = S.length > 1), t(15, je = O[y].periods.length > 1);
2515
2544
  }, Oe = () => {
2516
- j = S[K].product;
2545
+ t(7, y = S[C].value), t(8, _ = O[y].periods[0]), t(15, je = O[y].periods.length > 1);
2546
+ }, We = () => {
2547
+ H = S[C].product;
2517
2548
  }, ae = (n) => {
2518
2549
  if (n.status >= 300)
2519
- bi(n);
2550
+ wt(n);
2520
2551
  else
2521
- return i(18, De = !1), n.status !== 204 ? n.json() : n;
2522
- }, bi = (n) => {
2523
- i(17, Z = !0);
2524
- let l;
2525
- throw n.json().then((d) => {
2526
- for (const g in Re)
2527
- if (Re[g].some((h) => d.error.includes(h))) {
2528
- l = g;
2552
+ return t(18, De = !1), n.status !== 204 ? n.json() : n;
2553
+ }, wt = (n) => {
2554
+ t(17, J = !0);
2555
+ let m;
2556
+ throw n.json().then((f) => {
2557
+ for (const g in Be)
2558
+ if (Be[g].some((v) => f.error.includes(v))) {
2559
+ m = g;
2529
2560
  break;
2530
2561
  }
2531
- console.error("errType", l), !l && he(d);
2562
+ console.error("errType", m), !m && ke(f);
2532
2563
  }).finally(() => {
2533
- l && he(l), i(17, Z = !1), i(16, X = !1);
2564
+ m && ke(m), t(17, J = !1), t(16, Z = !1);
2534
2565
  }), new Error("An error occured during the fetch request");
2535
- }, wi = () => {
2536
- if (!(w > 0)) return;
2537
- se(), i(16, X = !0);
2538
- let n = new URL(`/v2/player/${c}/limits`, m), l = {};
2539
- b === "sessionLimit" ? l = {
2540
- sessionLimit: w,
2566
+ }, _t = () => {
2567
+ if (!(E > 0))
2568
+ return;
2569
+ se(), t(16, Z = !0);
2570
+ let n = new URL(`/v2/player/${d}/limits`, l), m = {};
2571
+ y === "sessionLimit" ? m = {
2572
+ sessionLimit: E,
2541
2573
  sessionLimitUnit: "minute"
2542
- } : b === "cumulativeSession" ? l[R[b].callValue] = [
2574
+ } : y === "cumulativeSession" ? m[O[y].callValue] = [
2543
2575
  {
2544
- period: k,
2545
- minutes: w
2576
+ period: _,
2577
+ minutes: E
2546
2578
  }
2547
- ] : l[R[b].callValue] = [
2579
+ ] : m[O[y].callValue] = [
2548
2580
  {
2549
- period: R[b].periods[0] === "None" ? null : k,
2550
- amount: w,
2581
+ period: O[y].periods[0] === "None" ? null : _,
2582
+ amount: E,
2551
2583
  currency: s
2552
2584
  }
2553
2585
  ];
2554
- let d = {
2586
+ let f = {
2555
2587
  method: "PUT",
2556
2588
  headers: {
2557
2589
  "X-SessionID": p,
2558
2590
  "Content-Type": "application/json",
2559
2591
  Accept: "application/json"
2560
2592
  },
2561
- body: JSON.stringify(l)
2593
+ body: JSON.stringify(m)
2562
2594
  };
2563
- fetch(n.href, d).then((g) => ae(g)).then((g) => {
2564
- Q("self_limitation_success"), oe();
2595
+ fetch(n.href, f).then((g) => ae(g)).then((g) => {
2596
+ $("self_limitation_success"), oe();
2565
2597
  }).catch((g) => {
2566
- console.error(g), i(17, Z = !0);
2598
+ console.error(g), t(17, J = !0);
2567
2599
  });
2568
- }, _i = () => {
2569
- if (w <= 0) return;
2570
- se(), i(16, X = !0);
2571
- const l = S[K].currentLimits.filter((V) => V.period === k)[0], d = new URL(`/v1/player/${c}/limits/monetary/${l ? l.id : ""}`, m), g = l ? "PUT" : "POST", h = l ? { amount: w, skipCoolOff: !1 } : {
2572
- amount: w,
2600
+ }, St = () => {
2601
+ if (E <= 0)
2602
+ return;
2603
+ se(), t(16, Z = !0);
2604
+ const m = S[C].currentLimits.filter((V) => V.period === _)[0], f = new URL(`/v1/player/${d}/limits/monetary/${m ? m.id : ""}`, l), g = m ? "PUT" : "POST", v = m ? { amount: E, skipCoolOff: !1 } : {
2605
+ amount: E,
2573
2606
  currency: s,
2574
2607
  // certain limits have a "None" period which corresponds to one day from a functionality PoV, but is differentiated in the API from "Daily" and need to be sent as null when POSTed
2575
- period: R[b].periods[0] === "None" ? null : k,
2576
- type: R[b].callValue16,
2577
- products: [j ?? "All"],
2578
- walletTypes: R[b].callValue16 === "Deposit" ? ["All"] : ["RealCash"]
2608
+ period: O[y].periods[0] === "None" ? null : _,
2609
+ type: O[y].callValue16,
2610
+ products: [H ?? "All"],
2611
+ walletTypes: O[y].callValue16 === "Deposit" ? ["All"] : ["RealCash"]
2579
2612
  };
2580
2613
  let z = {
2581
2614
  method: g,
@@ -2584,17 +2617,18 @@ function Jt(a, e, i) {
2584
2617
  "Content-Type": "application/json",
2585
2618
  Accept: "application/json"
2586
2619
  },
2587
- body: JSON.stringify(h)
2620
+ body: JSON.stringify(v)
2588
2621
  };
2589
- fetch(d.href, z).then((V) => ae(V)).then((V) => {
2590
- Q("self_limitation_success"), oe();
2622
+ fetch(f.href, z).then((V) => ae(V)).then((V) => {
2623
+ $("self_limitation_success"), oe();
2591
2624
  }).catch((V) => {
2592
- console.log(V), i(17, Z = !0);
2625
+ console.log(V), t(17, J = !0);
2593
2626
  });
2594
- }, Si = () => {
2595
- if (!(w > 0)) return;
2596
- se(), i(16, X = !0);
2597
- const n = new URL(`/v1/player/${c}/limits/session/`, m);
2627
+ }, At = () => {
2628
+ if (!(E > 0))
2629
+ return;
2630
+ se(), t(16, Z = !0);
2631
+ const n = new URL(`/v1/player/${d}/limits/session/`, l);
2598
2632
  let g = {
2599
2633
  method: "PUT",
2600
2634
  headers: {
@@ -2603,19 +2637,20 @@ function Jt(a, e, i) {
2603
2637
  Accept: "application/json"
2604
2638
  },
2605
2639
  body: JSON.stringify({
2606
- sessionLimit: w,
2640
+ sessionLimit: E,
2607
2641
  sessionLimitUnit: "minute"
2608
2642
  })
2609
2643
  };
2610
- fetch(n.href, g).then((h) => ae(h)).then((h) => {
2611
- Q("self_limitation_success"), oe();
2612
- }).catch((h) => {
2613
- console.log(h), i(17, Z = !0);
2644
+ fetch(n.href, g).then((v) => ae(v)).then((v) => {
2645
+ $("self_limitation_success"), oe();
2646
+ }).catch((v) => {
2647
+ console.log(v), t(17, J = !0);
2614
2648
  });
2615
- }, Ai = () => {
2616
- if (!(w > 0)) return;
2617
- se(), i(16, X = !0);
2618
- const n = new URL(`/v1/player/${c}/limits/session/`, m);
2649
+ }, Tt = () => {
2650
+ if (!(E > 0))
2651
+ return;
2652
+ se(), t(16, Z = !0);
2653
+ const n = new URL(`/v1/player/${d}/limits/session/`, l);
2619
2654
  let g = {
2620
2655
  method: "PUT",
2621
2656
  headers: {
@@ -2626,21 +2661,22 @@ function Jt(a, e, i) {
2626
2661
  body: JSON.stringify({
2627
2662
  cumulativeSessionLimits: [
2628
2663
  {
2629
- period: k,
2630
- minutes: w
2664
+ period: _,
2665
+ minutes: E
2631
2666
  }
2632
2667
  ]
2633
2668
  })
2634
2669
  };
2635
- fetch(n.href, g).then((h) => ae(h)).then((h) => {
2636
- Q("self_limitation_success"), oe();
2637
- }).catch((h) => {
2638
- console.log(h), i(17, Z = !0);
2670
+ fetch(n.href, g).then((v) => ae(v)).then((v) => {
2671
+ $("self_limitation_success"), oe();
2672
+ }).catch((v) => {
2673
+ console.log(v), t(17, J = !0);
2639
2674
  });
2640
- }, Ti = () => {
2641
- if (!(w > 0)) return;
2642
- se(), i(16, X = !0);
2643
- const n = new URL(`/v2/player/${c}/limit/lugas`, m);
2675
+ }, Ct = () => {
2676
+ if (!(E > 0))
2677
+ return;
2678
+ se(), t(16, Z = !0);
2679
+ const n = new URL(`/v2/player/${d}/limit/lugas`, l);
2644
2680
  let g = {
2645
2681
  method: "POST",
2646
2682
  headers: {
@@ -2649,41 +2685,41 @@ function Jt(a, e, i) {
2649
2685
  Accept: "application/json"
2650
2686
  },
2651
2687
  body: JSON.stringify({
2652
- amount: w,
2688
+ amount: E,
2653
2689
  roleLimitAmount: 0,
2654
2690
  softMigration: !1,
2655
2691
  keepLimit: !1
2656
2692
  })
2657
2693
  };
2658
- fetch(n.href, g).then((h) => ae(h)).then((h) => {
2659
- i(23, fe = h.popup), h.operatorDepositLimitAmount, Ue = h.regulatorDepositLimitAmount, Q("self_limitation_success"), oe();
2660
- }).catch((h) => {
2661
- console.log(h), i(17, Z = !0);
2694
+ fetch(n.href, g).then((v) => ae(v)).then((v) => {
2695
+ t(23, ge = v.popup), v.operatorDepositLimitAmount, Ue = v.regulatorDepositLimitAmount, $("self_limitation_success"), oe();
2696
+ }).catch((v) => {
2697
+ console.log(v), t(17, J = !0);
2662
2698
  });
2663
- }, Ci = () => {
2699
+ }, jt = () => {
2664
2700
  switch (L) {
2665
2701
  case "gmcore":
2666
- wi();
2702
+ _t();
2667
2703
  break;
2668
2704
  case "gm16":
2669
- je = !1, b === "lugas" ? Ti() : b === "sessionLimit" ? Si() : b === "cumulativeSession" ? Ai() : _i();
2705
+ Ee = !1, y === "lugas" ? Ct() : y === "sessionLimit" ? At() : y === "cumulativeSession" ? Tt() : St();
2670
2706
  break;
2671
2707
  default:
2672
2708
  throw Error(`Invalid apiversion attribute: ${L}`);
2673
2709
  }
2674
- Q("self_limitation_request");
2710
+ $("self_limitation_request");
2675
2711
  }, oe = () => {
2676
2712
  switch (L) {
2677
2713
  case "gmcore":
2678
- Di();
2714
+ Dt();
2679
2715
  break;
2680
2716
  case "gm16":
2681
- ji();
2717
+ Et();
2682
2718
  break;
2683
2719
  }
2684
- }, Di = () => {
2685
- i(16, X = !0);
2686
- let n = new URL(`/v2/player/${c}/limits`, m), l = {
2720
+ }, Dt = () => {
2721
+ t(16, Z = !0);
2722
+ let n = new URL(`/v2/player/${d}/limits`, l), m = {
2687
2723
  method: "GET",
2688
2724
  headers: {
2689
2725
  "X-SessionID": p,
@@ -2691,16 +2727,16 @@ function Jt(a, e, i) {
2691
2727
  Accept: "application/json"
2692
2728
  }
2693
2729
  };
2694
- fetch(n.href, l).then((d) => ae(d)).then((d) => {
2695
- J = d, ce && he(), Fe(J), Ei(J), i(10, w = null);
2696
- }).catch((d) => {
2697
- console.error("Error LimitsWidget: ", d), i(17, Z = !0);
2730
+ fetch(n.href, m).then((f) => ae(f)).then((f) => {
2731
+ Q = f, ce && ke(), Fe(Q), Mt(Q), t(10, E = null);
2732
+ }).catch((f) => {
2733
+ console.error("Error LimitsWidget: ", f), t(17, J = !0);
2698
2734
  }).finally(() => {
2699
- i(16, X = !1);
2735
+ t(16, Z = !1);
2700
2736
  });
2701
- }, ji = () => {
2702
- i(16, X = !0), J = [];
2703
- let n = new URL(`/v1/player/${c}/limits/monetary`, m), l = new URL(`/v1/player/${c}/limits/session`, m), d = !1, g = {
2737
+ }, Et = () => {
2738
+ t(16, Z = !0), Q = [];
2739
+ let n = new URL(`/v1/player/${d}/limits/monetary`, l), m = new URL(`/v1/player/${d}/limits/session`, l), f = !1, g = {
2704
2740
  method: "GET",
2705
2741
  headers: {
2706
2742
  "X-SessionID": p,
@@ -2708,158 +2744,158 @@ function Jt(a, e, i) {
2708
2744
  Accept: "application/json"
2709
2745
  }
2710
2746
  };
2711
- fetch(n.href, g).then((h) => ae(h)).then((h) => {
2712
- J.push(h), ce && he(), L === "gmcore" && Fe(J), L === "gm16" && Mi(J), i(10, w = null);
2713
- }).catch((h) => {
2714
- console.error("Error LimitsWidget: ", h), i(17, Z = !0);
2747
+ fetch(n.href, g).then((v) => ae(v)).then((v) => {
2748
+ Q.push(v), ce && ke(), L === "gmcore" && Fe(Q), L === "gm16" && xt(Q), t(10, E = null);
2749
+ }).catch((v) => {
2750
+ console.error("Error LimitsWidget: ", v), t(17, J = !0);
2715
2751
  }).finally(() => {
2716
- d && i(16, X = !1), d = !0;
2717
- }), fetch(l.href, g).then((h) => ae(h)).then((h) => {
2718
- J.push(h), ce && he(), L === "gm16" && Pi(J), L === "gm16" && zi(J), i(10, w = null);
2719
- }).catch((h) => {
2720
- console.error("Error LimitsWidget: ", h), i(17, Z = !0);
2752
+ f && t(16, Z = !1), f = !0;
2753
+ }), fetch(m.href, g).then((v) => ae(v)).then((v) => {
2754
+ Q.push(v), ce && ke(), L === "gm16" && Pt(Q), L === "gm16" && zt(Q), t(10, E = null);
2755
+ }).catch((v) => {
2756
+ console.error("Error LimitsWidget: ", v), t(17, J = !0);
2721
2757
  }).finally(() => {
2722
- d && i(16, X = !1), d = !0;
2758
+ f && t(16, Z = !1), f = !0;
2723
2759
  });
2724
2760
  }, Fe = (n) => {
2725
- S.forEach((l) => {
2726
- l.currentLimits = [];
2727
- const d = Array.isArray(n[R[l.value].callValue]) ? n[R[l.value].callValue] : [n[R[l.value].callValue]];
2728
- d.length === 0 || d[0] === void 0 || (d.forEach((g, h) => {
2729
- const z = n[R[l.value].callValue][h];
2730
- l.currentLimits.push({}), l.currentLimits[h].limitType = l.value, l.currentLimits[h].amount = F ? z.amount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(z.amount), l.currentLimits[h].currency = pe[z.currency] ?? z.currency, l.currentLimits[h].period = z.period, l.currentLimits[h].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(z.updateAmount), l.currentLimits[h].isModified = z.isModified, l.currentLimits[h].expiryDate = `${new Date(z.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
2731
- }), l.currentLimits = ye(l.currentLimits));
2761
+ S.forEach((m) => {
2762
+ m.currentLimits = [];
2763
+ const f = Array.isArray(n[O[m.value].callValue]) ? n[O[m.value].callValue] : [n[O[m.value].callValue]];
2764
+ f.length === 0 || f[0] === void 0 || (f.forEach((g, v) => {
2765
+ const z = n[O[m.value].callValue][v];
2766
+ m.currentLimits.push({}), m.currentLimits[v].limitType = m.value, m.currentLimits[v].amount = F ? z.amount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(z.amount), m.currentLimits[v].currency = de[z.currency] ?? z.currency, m.currentLimits[v].period = z.period, m.currentLimits[v].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(z.updateAmount), m.currentLimits[v].isModified = z.isModified, m.currentLimits[v].expiryDate = `${new Date(z.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
2767
+ }), m.currentLimits = he(m.currentLimits));
2732
2768
  });
2733
- }, Ei = (n) => {
2734
- const l = t("minutes");
2735
- S.filter((d) => d.value === "sessionLimit" || d.value === "cumulativeSession").forEach((d) => {
2736
- d.currentLimits = [], n[R[d.value].callValue]?.forEach((g, h) => {
2737
- const z = n[R[d.value].callValue][h];
2738
- d.currentLimits.push({
2739
- limitType: d.value,
2769
+ }, Mt = (n) => {
2770
+ const m = i("minutes");
2771
+ S.filter((f) => f.value === "sessionLimit" || f.value === "cumulativeSession").forEach((f) => {
2772
+ f.currentLimits = [], n[O[f.value].callValue]?.forEach((g, v) => {
2773
+ const z = n[O[f.value].callValue][v];
2774
+ f.currentLimits.push({
2775
+ limitType: f.value,
2740
2776
  amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(z.minutes),
2741
- currency: l,
2777
+ currency: m,
2742
2778
  isModified: z.isModified,
2743
- period: d.value === "cumulativeSession" ? z.period : "None",
2779
+ period: f.value === "cumulativeSession" ? z.period : "None",
2744
2780
  updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(z.updateMinutes),
2745
2781
  expiryDate: `${new Date(z.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`
2746
2782
  });
2747
- }), d.currentLimits = ye(d.currentLimits);
2783
+ }), f.currentLimits = he(f.currentLimits);
2748
2784
  });
2749
- }, Mi = (n) => {
2750
- n[0]?.limits && S.forEach((l) => {
2751
- l.currentLimits = [];
2752
- for (const d of n[0].limits)
2753
- if (d.type === l.callValue16 && d.products.includes(l.product)) {
2754
- let g = 0, h = d.schedules.length > 0 ? d.schedules.find((z) => z.id) : {};
2755
- d.schedules.length > 0 && (g = F ? h.updateAmount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(h.updateAmount)), l.currentLimits.push({
2756
- limitType: l.value,
2757
- amount: F ? d.amount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(d.amount),
2758
- currency: pe[d.currency] ?? d.currency,
2759
- isModified: d.schedules.length > 0,
2760
- period: d.period,
2761
- product: d.products[0],
2785
+ }, xt = (n) => {
2786
+ n[0]?.limits && S.forEach((m) => {
2787
+ m.currentLimits = [];
2788
+ for (const f of n[0].limits)
2789
+ if (f.type === m.callValue16 && f.products.includes(m.product)) {
2790
+ let g = 0, v = f.schedules.length > 0 ? f.schedules.find((z) => z.id) : {};
2791
+ f.schedules.length > 0 && (g = F ? v.updateAmount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(v.updateAmount)), m.currentLimits.push({
2792
+ limitType: m.value,
2793
+ amount: F ? f.amount : Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(f.amount),
2794
+ currency: de[f.currency] ?? f.currency,
2795
+ isModified: f.schedules.length > 0,
2796
+ period: f.period,
2797
+ product: f.products[0],
2762
2798
  updateAmount: g,
2763
- isCoolOffCompleted: h ? h.isCoolOffCompleted : !1,
2764
- scheduleId: h ? h.id : null,
2765
- expiryDate: d.schedules.length > 0 ? `${new Date(d.schedules[0].applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : "",
2766
- id: d.id
2767
- }), l.currentLimits.forEach((z) => {
2799
+ isCoolOffCompleted: v ? v.isCoolOffCompleted : !1,
2800
+ scheduleId: v ? v.id : null,
2801
+ expiryDate: f.schedules.length > 0 ? `${new Date(f.schedules[0].applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : "",
2802
+ id: f.id
2803
+ }), m.currentLimits.forEach((z) => {
2768
2804
  z.acknowledgedLimit = Object.keys(ee).some((V) => z.scheduleId === V);
2769
2805
  });
2770
2806
  }
2771
- l.currentLimits = ye(l.currentLimits);
2807
+ m.currentLimits = he(m.currentLimits);
2772
2808
  });
2773
- }, Pi = (n) => {
2774
- n[1]?.sessionLimit && S.filter((l) => l.value === "sessionLimit").forEach((l) => {
2775
- l.currentLimits.push({
2809
+ }, Pt = (n) => {
2810
+ n[1]?.sessionLimit && S.filter((m) => m.value === "sessionLimit").forEach((m) => {
2811
+ m.currentLimits.push({
2776
2812
  limitType: "sessionLimit",
2777
2813
  amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(n[1].sessionLimit.minutes),
2778
- currency: t("minutes"),
2814
+ currency: i("minutes"),
2779
2815
  isModified: n[1].sessionLimit.isModified,
2780
2816
  period: "None",
2781
2817
  updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(n[1].sessionLimit.updateMinutes),
2782
2818
  expiryDate: n[1].sessionLimit.expiryDate
2783
- }), l.currentLimits = ye(l.currentLimits);
2819
+ }), m.currentLimits = he(m.currentLimits);
2784
2820
  });
2785
- }, zi = (n) => {
2786
- n[1]?.cumulativeSessionLimits && S.filter((l) => l.value === "cumulativeSession").forEach((l) => {
2787
- for (const d of n[1].cumulativeSessionLimits)
2788
- l.currentLimits.push({
2821
+ }, zt = (n) => {
2822
+ n[1]?.cumulativeSessionLimits && S.filter((m) => m.value === "cumulativeSession").forEach((m) => {
2823
+ for (const f of n[1].cumulativeSessionLimits)
2824
+ m.currentLimits.push({
2789
2825
  limitType: "cumulativeSession",
2790
- amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(d.minutes),
2791
- currency: t("minutes"),
2792
- isModified: d.isModified,
2793
- period: d.period,
2794
- updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(d.updateMinutes),
2795
- expiryDate: d.expiryDate
2826
+ amount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(f.minutes),
2827
+ currency: i("minutes"),
2828
+ isModified: f.isModified,
2829
+ period: f.period,
2830
+ updateAmount: Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(f.updateMinutes),
2831
+ expiryDate: f.expiryDate
2796
2832
  });
2797
- l.currentLimits = ye(l.currentLimits);
2833
+ m.currentLimits = he(m.currentLimits);
2798
2834
  });
2799
- }, ye = (n) => {
2800
- const l = { Daily: 0, Weekly: 1, Monthly: 2 };
2801
- return n.sort((d, g) => l[d.period] - l[g.period]), n;
2802
- }, Ii = () => {
2803
- const n = w - Math.floor(w) === 0;
2804
- w >= q && w <= re && n ? (i(24, ge = !1), Y.removeAttribute("disabled")) : (i(24, ge = !0), Y.setAttribute("disabled", "true"));
2835
+ }, he = (n) => {
2836
+ const m = { Daily: 0, Weekly: 1, Monthly: 2 };
2837
+ return n.sort((f, g) => m[f.period] - m[g.period]), n;
2838
+ }, It = () => {
2839
+ const n = E - Math.floor(E) === 0;
2840
+ E >= re && E <= pe && n ? (t(24, ye = !1), G.removeAttribute("disabled")) : (t(24, ye = !0), G.setAttribute("disabled", "true"));
2805
2841
  }, Ve = () => {
2806
- i(24, ge = !1), me?.[b] ? (i(12, q = me[b].min), i(13, re = me[b].max)) : (i(12, q = 1), i(13, re = 9999999));
2807
- }, Ui = () => {
2808
- if (J) {
2809
- const n = J[R[b].callValue].filter((g) => g.period === k)[0], l = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(n.amount);
2810
- let d = t("popupImmediateUpdate").replace("{selectedLimit}", Me()).replace("{updatedAmount}", l).replace("{currency}", pe[n.currency] || n.currency).replace("{selectedPeriod}", t(`${k}`));
2811
- i(21, te = n.isModified ? `${t("popupPendingUpdate")} ${new Date(n.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : d);
2842
+ t(24, ye = !1), me?.[y] ? (t(12, re = me[y].min), t(13, pe = me[y].max)) : (t(12, re = 1), t(13, pe = 9999999));
2843
+ }, Ut = () => {
2844
+ if (Q) {
2845
+ const n = Q[O[y].callValue].filter((g) => g.period === _)[0], m = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(n.amount);
2846
+ let f = i("popupImmediateUpdate").replace("{selectedLimit}", xe()).replace("{updatedAmount}", m).replace("{currency}", de[n.currency] || n.currency).replace("{selectedPeriod}", i(`${_}`));
2847
+ t(21, ie = n.isModified ? `${i("popupPendingUpdate")} ${new Date(n.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : f);
2812
2848
  }
2813
- i(20, ne = !0);
2814
- }, xi = () => {
2815
- const n = J[0]?.limits || J.limits;
2816
- let l = null;
2817
- if (!J) {
2818
- i(20, ne = !0);
2849
+ t(20, ne = !0);
2850
+ }, Nt = () => {
2851
+ const n = Q[0]?.limits || Q.limits;
2852
+ let m = null;
2853
+ if (!Q) {
2854
+ t(20, ne = !0);
2819
2855
  return;
2820
2856
  }
2821
- const d = je ? xe : k;
2822
- l = n.find((V) => V.type.toLowerCase() === Ne[b].toLowerCase() && (V.period === d || V.period === "None") && V.products[0] === j), l.schedules.length > 0 && ee[l.schedules[0].id] && (l.amount = l.schedules[0].updateAmount);
2823
- const g = Ke(l) || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(l.amount), h = l.schedules.length > 0 ? `${new Date(l.schedules[0].applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : "";
2824
- let z = t("popupImmediateUpdate").replace("{selectedLimit}", Me()).replace("{updatedAmount}", g).replace("{currency}", pe[l.currency] || l.currency).replace("{selectedPeriod}", t(`${k}`));
2825
- l.schedules.length > 0 && ee[l.schedules[0].id] ? i(21, te = z) : i(21, te = l.schedules.length > 0 ? `${t("popupPendingUpdate")} ${h}` : z), i(20, ne = !0);
2826
- }, Ni = () => {
2827
- fe == 1 && i(22, Le = "PopupKyc"), fe == 2 && (i(21, te = `${t("popup2_a")}${Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(Ue)} ${s} ${t("popup2_b")}`), i(22, Le = "PopupKyc2")), fe == 3 && (i(21, te = t("popup3")), i(22, Le = "PopupSuccess")), i(20, ne = !0);
2828
- }, Ri = () => {
2829
- i(21, te = t("sessionLimitUpdated")), i(20, ne = !0);
2830
- }, Bi = () => {
2831
- if (J) {
2832
- const n = J[R[b].callValue].filter((g) => (g.period === k || k === "None") && g.products[0] === j)[0], l = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(n.minutes);
2833
- let d = t("popupImmediateUpdate").replace("{selectedLimit}", t(`${b}`)).replace("{updatedAmount}", l).replace("{currency}", t("minutes")).replace("{selectedPeriod}", t(`${k}`));
2834
- i(21, te = n.isModified ? `${t("popupPendingUpdate")} ${new Date(n.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : d);
2857
+ const f = Ee ? Ne : _;
2858
+ m = n.find((V) => V.type.toLowerCase() === Re[y].toLowerCase() && (V.period === f || V.period === "None") && V.products[0] === H), m.schedules.length > 0 && ee[m.schedules[0].id] && (m.amount = m.schedules[0].updateAmount);
2859
+ const g = He(m) || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.amount), v = m.schedules.length > 0 ? `${new Date(m.schedules[0].applyAt).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : "";
2860
+ let z = i("popupImmediateUpdate").replace("{selectedLimit}", xe()).replace("{updatedAmount}", g).replace("{currency}", de[m.currency] || m.currency).replace("{selectedPeriod}", i(`${_}`));
2861
+ m.schedules.length > 0 && ee[m.schedules[0].id] ? t(21, ie = z) : t(21, ie = m.schedules.length > 0 ? `${i("popupPendingUpdate")} ${v}` : z), t(20, ne = !0);
2862
+ }, Rt = () => {
2863
+ ge == 1 && t(22, fe = "PopupKyc"), ge == 2 && (t(21, ie = `${i("popup2_a")}${Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(Ue)} ${s} ${i("popup2_b")}`), t(22, fe = "PopupKyc2")), ge == 3 && (t(21, ie = i("popup3")), t(22, fe = "PopupSuccess")), t(20, ne = !0);
2864
+ }, Bt = () => {
2865
+ t(21, ie = i("sessionLimitUpdated")), t(20, ne = !0);
2866
+ }, Ot = () => {
2867
+ if (Q) {
2868
+ const n = Q[O[y].callValue].filter((g) => (g.period === _ || _ === "None") && g.products[0] === H)[0], m = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(n.minutes);
2869
+ let f = i("popupImmediateUpdate").replace("{selectedLimit}", i(`${y}`)).replace("{updatedAmount}", m).replace("{currency}", i("minutes")).replace("{selectedPeriod}", i(`${_}`));
2870
+ t(21, ie = n.isModified ? `${i("popupPendingUpdate")} ${new Date(n.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : f);
2835
2871
  }
2836
- i(20, ne = !0);
2837
- }, Oi = (n) => n?.error?.includes("Limit update is not permitted due to LimitUpdateControl"), Fi = (n) => n?.error?.includes("Limit remove is not permitted due to LimitUpdateControl"), Vi = (n) => n?.error?.includes("[NotFoundException] Limit does not exist"), Wi = (n) => n.error?.includes("Invalid Session"), he = (n) => {
2838
- if (window.postMessage({ type: "OpenLimitsPopup" }, window.location.href), Z) {
2839
- if (i(18, De = !0), !n) {
2840
- i(20, ne = !0);
2872
+ t(20, ne = !0);
2873
+ }, Wt = (n) => n?.error?.includes("Limit update is not permitted due to LimitUpdateControl"), Ft = (n) => n?.error?.includes("Limit remove is not permitted due to LimitUpdateControl"), Vt = (n) => n?.error?.includes("[NotFoundException] Limit does not exist"), qt = (n) => n.error?.includes("Invalid Session"), ke = (n) => {
2874
+ if (window.postMessage({ type: "OpenLimitsPopup" }, window.location.href), J) {
2875
+ if (t(18, De = !0), !n) {
2876
+ t(20, ne = !0);
2841
2877
  return;
2842
2878
  }
2843
- n.thirdPartyResponse || i(21, te = t(`${n}`)), n.thirdPartyResponse && i(21, te = n.thirdPartyResponse.message), Oi(n) && i(21, te = t("popupUpdateLimitException")), Fi(n) && i(21, te = t("popupRemoveLimitException")), Vi(n) && i(21, te = t("notFoundException")), Wi(n) && i(21, te = t("sessionExpiredException")), i(20, ne = !0);
2879
+ n.thirdPartyResponse || t(21, ie = i(`${n}`)), n.thirdPartyResponse && t(21, ie = n.thirdPartyResponse.message), Wt(n) && t(21, ie = i("popupUpdateLimitException")), Ft(n) && t(21, ie = i("popupRemoveLimitException")), Vt(n) && t(21, ie = i("notFoundException")), qt(n) && t(21, ie = i("sessionExpiredException")), t(20, ne = !0);
2844
2880
  return;
2845
2881
  }
2846
2882
  switch (L) {
2847
2883
  case "gmcore":
2848
- b === "sessionLimit" || b === "cumulativeSession" ? Bi() : Ui();
2884
+ y === "sessionLimit" || y === "cumulativeSession" ? Ot() : Ut();
2849
2885
  break;
2850
2886
  case "gm16":
2851
- b === "lugas" ? Ni() : b === "sessionLimit" || b === "cumulativeSession" ? Ri() : xi();
2887
+ y === "lugas" ? Rt() : y === "sessionLimit" || y === "cumulativeSession" ? Bt() : Nt();
2852
2888
  break;
2853
2889
  default:
2854
2890
  throw new Error(`Invalid apiversion attribute: ${L}`);
2855
2891
  }
2856
2892
  }, se = () => {
2857
- i(19, ce = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
2858
- }, qi = (n) => {
2859
- i(7, b = n.limitType), i(8, k = n.period), se(), i(16, X = !0);
2860
- let l = new URL(`/v2/player/${c}/limits/${Ne[n.limitType]}`, m);
2861
- n.limitType !== "sessionLimit" && l.searchParams.append("periods", n.period);
2862
- let d = {
2893
+ t(19, ce = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
2894
+ }, Gt = (n) => {
2895
+ t(7, y = n.limitType), t(8, _ = n.period), se(), t(16, Z = !0);
2896
+ let m = new URL(`/v2/player/${d}/limits/${Re[n.limitType]}`, l);
2897
+ n.limitType !== "sessionLimit" && m.searchParams.append("periods", n.period);
2898
+ let f = {
2863
2899
  method: "DELETE",
2864
2900
  headers: {
2865
2901
  "X-SessionID": p,
@@ -2867,36 +2903,36 @@ function Jt(a, e, i) {
2867
2903
  Accept: "application/json"
2868
2904
  }
2869
2905
  };
2870
- fetch(l.href, d).then((g) => ae(g)).then((g) => {
2871
- Q("self_limitation_cancel_success", n.amount), oe();
2906
+ fetch(m.href, f).then((g) => ae(g)).then((g) => {
2907
+ $("self_limitation_cancel_success", n.amount), oe();
2872
2908
  }).catch((g) => {
2873
- Q("self_limitation_cancel_failed", n.amount), console.log(g), i(17, Z = !0);
2909
+ $("self_limitation_cancel_failed", n.amount), console.log(g), t(17, J = !0);
2874
2910
  });
2875
- }, We = (n) => {
2876
- switch (xe = n.period, L) {
2911
+ }, qe = (n) => {
2912
+ switch (Ne = n.period, L) {
2877
2913
  case "gmcore":
2878
- qi(n);
2914
+ Gt(n);
2879
2915
  break;
2880
2916
  case "gm16":
2881
- je = !0, n.limitType === "sessionLimit" || n.limitType === "cumulativeSession" ? Gi(n) : Ki(n);
2917
+ Ee = !0, n.limitType === "sessionLimit" || n.limitType === "cumulativeSession" ? Kt(n) : Ht(n);
2882
2918
  break;
2883
2919
  }
2884
- Q("self_limitation_cancel_request", n.amount);
2885
- }, Gi = (n) => {
2886
- const l = new URL(`/v1/player/${c}/limits/session/session`, m), d = new URL(`/v1/player/${c}/limits/session/cumulativeSession?periods=${n.period}`, m);
2920
+ $("self_limitation_cancel_request", n.amount);
2921
+ }, Kt = (n) => {
2922
+ const m = new URL(`/v1/player/${d}/limits/session/session`, l), f = new URL(`/v1/player/${d}/limits/session/cumulativeSession?periods=${n.period}`, l);
2887
2923
  let g;
2888
2924
  switch (n.limitType) {
2889
2925
  case "sessionLimit":
2890
- g = l;
2926
+ g = m;
2891
2927
  break;
2892
2928
  case "cumulativeSession":
2893
- g = d;
2929
+ g = f;
2894
2930
  break;
2895
2931
  default:
2896
2932
  throw Error(`Unknown limit.limitType: ${n.limitType}`);
2897
2933
  }
2898
- se(), i(16, X = !0);
2899
- let h = {
2934
+ se(), t(16, Z = !0);
2935
+ let v = {
2900
2936
  method: "DELETE",
2901
2937
  headers: {
2902
2938
  "X-SessionID": p,
@@ -2904,15 +2940,15 @@ function Jt(a, e, i) {
2904
2940
  Accept: "application/json"
2905
2941
  }
2906
2942
  };
2907
- fetch(g.href, h).then((z) => ae(z)).then((z) => {
2908
- Q("self_limitation_cancel_success", n.amount), oe();
2943
+ fetch(g.href, v).then((z) => ae(z)).then((z) => {
2944
+ $("self_limitation_cancel_success", n.amount), oe();
2909
2945
  }).catch((z) => {
2910
- Q("self_limitation_cancel_failed", n.amount), console.log(z), i(17, Z = !0);
2946
+ $("self_limitation_cancel_failed", n.amount), console.log(z), t(17, J = !0);
2911
2947
  });
2912
- }, Ki = (n) => {
2913
- const l = new URL(`/v1/player/${c}/limits/monetary/${n.id}`, m);
2914
- se(), i(16, X = !0);
2915
- let d = {
2948
+ }, Ht = (n) => {
2949
+ const m = new URL(`/v1/player/${d}/limits/monetary/${n.id}`, l);
2950
+ se(), t(16, Z = !0);
2951
+ let f = {
2916
2952
  method: "DELETE",
2917
2953
  headers: {
2918
2954
  "X-SessionID": p,
@@ -2920,15 +2956,15 @@ function Jt(a, e, i) {
2920
2956
  Accept: "application/json"
2921
2957
  }
2922
2958
  };
2923
- fetch(l.href, d).then((g) => ae(g)).then((g) => {
2924
- Q("self_limitation_cancel_success", n.amount), oe();
2959
+ fetch(m.href, f).then((g) => ae(g)).then((g) => {
2960
+ $("self_limitation_cancel_success", n.amount), oe();
2925
2961
  }).catch((g) => {
2926
- Q("self_limitation_cancel_failed", n.amount), console.log(g), i(17, Z = !0);
2962
+ $("self_limitation_cancel_failed", n.amount), console.log(g), t(17, J = !0);
2927
2963
  });
2928
- }, qe = (n) => {
2929
- const l = new URL(`/v1/player/${c}/limits/schedule/${n.scheduleId}`, m);
2930
- se(), i(16, X = !0);
2931
- let d = {
2964
+ }, Ge = (n) => {
2965
+ const m = new URL(`/v1/player/${d}/limits/schedule/${n.scheduleId}`, l);
2966
+ se(), t(16, Z = !0);
2967
+ let f = {
2932
2968
  method: "DELETE",
2933
2969
  headers: {
2934
2970
  "X-SessionID": p,
@@ -2936,15 +2972,15 @@ function Jt(a, e, i) {
2936
2972
  Accept: "application/json"
2937
2973
  }
2938
2974
  };
2939
- fetch(l.href, d).then((g) => ae(g)).then((g) => {
2940
- Q("self_limitation_cancel_success", n.updateAmount), oe();
2975
+ fetch(m.href, f).then((g) => ae(g)).then((g) => {
2976
+ $("self_limitation_cancel_success", n.updateAmount), oe();
2941
2977
  }).catch((g) => {
2942
- Q("self_limitation_cancel_failed", n.updateAmount), console.log(g), i(17, Z = !0);
2978
+ $("self_limitation_cancel_failed", n.updateAmount), console.log(g), t(17, J = !0);
2943
2979
  });
2944
- }, Ge = (n) => {
2945
- const l = new URL(`v1/player/${c}/limits/schedule/acknowledge/${n.scheduleId}`, m);
2946
- se(), i(16, X = !0);
2947
- let d = {
2980
+ }, Ke = (n) => {
2981
+ const m = new URL(`v1/player/${d}/limits/schedule/acknowledge/${n.scheduleId}`, l);
2982
+ se(), t(16, Z = !0);
2983
+ let f = {
2948
2984
  method: "PATCH",
2949
2985
  headers: {
2950
2986
  "X-SessionID": p,
@@ -2952,174 +2988,168 @@ function Jt(a, e, i) {
2952
2988
  Accept: "application/json"
2953
2989
  }
2954
2990
  };
2955
- fetch(l.href, d).then((g) => ae(g)).then((g) => {
2956
- Hi(n), Q("self_limitation_confirm_success", n.amount), oe();
2991
+ fetch(m.href, f).then((g) => ae(g)).then((g) => {
2992
+ Yt(n), $("self_limitation_confirm_success", n.amount), oe();
2957
2993
  }).catch((g) => {
2958
- Q("self_limitation_confirm_failed", n.amount), console.log(g), i(17, Z = !0);
2994
+ $("self_limitation_confirm_failed", n.amount), console.log(g), t(17, J = !0);
2959
2995
  });
2960
- }, Hi = (n) => {
2961
- let l = 60;
2962
- i(25, ee[n.scheduleId] = {}, ee), i(25, ee[n.scheduleId].timer = `${l} ${ue[o].seconds}`, ee), i(25, ee[n.scheduleId].timerStopped = !1, ee);
2963
- let d = window.setInterval(
2964
- () => l === 0 ? (window.clearInterval(d), i(25, ee[n.scheduleId].timerStopped = !0, ee), i(25, ee[n.scheduleId].timer = ue[o].reloadLimitsButton, ee)) : i(25, ee[n.scheduleId].timer = `${--l} ${ue[o].seconds}`, ee),
2996
+ }, Yt = (n) => {
2997
+ let m = 60;
2998
+ t(25, ee[n.scheduleId] = {}, ee), t(25, ee[n.scheduleId].timer = `${m} ${ue[o].seconds}`, ee), t(25, ee[n.scheduleId].timerStopped = !1, ee);
2999
+ let f = window.setInterval(
3000
+ () => m === 0 ? (window.clearInterval(f), t(25, ee[n.scheduleId].timerStopped = !0, ee), t(25, ee[n.scheduleId].timer = ue[o].reloadLimitsButton, ee)) : t(25, ee[n.scheduleId].timer = `${--m} ${ue[o].seconds}`, ee),
2965
3001
  1e3
2966
3002
  );
2967
- }, Me = (n) => {
2968
- let l;
2969
- return n ? l = t(n.value + n.product) : l = t(b), l;
2970
- }, Ke = (n, l = !1) => {
3003
+ }, xe = (n) => {
3004
+ let m;
3005
+ return n ? m = i(n.value + n.product) : m = i(y), m;
3006
+ }, He = (n, m = !1) => {
2971
3007
  if (!F)
2972
- return l ? `${n.updateAmount}${n.currency}` : `${n.amount}${n.currency}`;
2973
- let d = F;
2974
- const g = d.match(/\{(\d+)decimals\}/), h = g ? parseInt(g[1], 10) : 2, z = g ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
2975
- let V = l ? n.updateAmount : n.amount;
2976
- V = parseInt(V).toFixed(h);
3008
+ return m ? `${n.updateAmount}${n.currency}` : `${n.amount}${n.currency}`;
3009
+ let f = F;
3010
+ const g = f.match(/\{(\d+)decimals\}/), v = g ? parseInt(g[1], 10) : 2, z = g ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
3011
+ let V = m ? n.updateAmount : n.amount;
3012
+ V = parseInt(V).toFixed(v);
2977
3013
  const [Pe, ve] = F.includes(".") ? [",", "."] : [".", ","];
2978
- let [ke, ze] = V.split(".");
2979
- return ke = ke.replace(/\B(?=(\d{3})+(?!\d))/g, Pe), V = `${ke}${ve}${ze}`, d = d.replace("{currency}", pe[n.currency] || n.currency).replace("{amount}", V.split(ve)[0]).replace(
3014
+ let [be, ze] = V.split(".");
3015
+ return be = be.replace(/\B(?=(\d{3})+(?!\d))/g, Pe), V = `${be}${ve}${ze}`, f = f.replace("{currency}", de[n.currency] || n.currency).replace("{amount}", V.split(ve)[0]).replace(
2980
3016
  z,
2981
3017
  V.split(ve)[1]
2982
- ), d;
2983
- }, He = () => {
2984
- i(20, ne = i(19, ce = !1)), i(22, Le = ""), window.postMessage({ type: "CloseLimitsPopup" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
2985
- }, Yi = () => {
2986
- window.postMessage({ type: "uploadDocuments" }, window.location.href), He();
2987
- }, Xi = (n) => {
2988
- n.keyCode === 13 && ge && n.preventDefault();
2989
- }, Zi = () => {
2990
- if (!y) return;
3018
+ ), f;
3019
+ }, Ye = () => {
3020
+ t(20, ne = t(19, ce = !1)), t(22, fe = ""), window.postMessage({ type: "CloseLimitsPopup" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
3021
+ }, Xt = () => {
3022
+ window.postMessage({ type: "uploadDocuments" }, window.location.href), Ye();
3023
+ }, Zt = (n) => {
3024
+ n.keyCode === 13 && ye && n.preventDefault();
3025
+ }, Jt = () => {
3026
+ if (!h)
3027
+ return;
2991
3028
  let n = {};
2992
- y.split(",").forEach((l) => {
2993
- let d = l.split(":");
2994
- n[d[0].trim()] = d[1].trim();
2995
- }), pe = { ...pe, ...n };
2996
- }, Ji = () => {
2997
- bt(o);
2998
- }, Qi = () => {
2999
- let n = document.createElement("style");
3000
- n.innerHTML = W, P.appendChild(n);
3001
- }, $i = () => {
3002
- let n = new URL(M), l = document.createElement("style");
3003
- fetch(n.href).then((d) => d.text()).then((d) => {
3004
- l.innerHTML = d, setTimeout(
3005
- () => {
3006
- P.appendChild(l);
3007
- },
3008
- 1
3009
- );
3010
- });
3011
- }, et = () => oe(), it = (n) => We(n), tt = (n) => Ge(n), at = (n) => qe(n);
3012
- function ot() {
3013
- K = Ye(this), i(9, K);
3029
+ h.split(",").forEach((m) => {
3030
+ let f = m.split(":");
3031
+ n[f[0].trim()] = f[1].trim();
3032
+ }), de = { ...de, ...n };
3033
+ }, Qt = () => {
3034
+ _i(o);
3035
+ };
3036
+ hi(() => () => {
3037
+ });
3038
+ const $t = () => oe(), ei = (n) => qe(n), ti = (n) => Ke(n), ii = (n) => Ge(n);
3039
+ function ai() {
3040
+ C = Xe(this), t(9, C);
3014
3041
  }
3015
- const nt = () => {
3016
- Oe(), Be(), Ve();
3042
+ const oi = () => {
3043
+ We(), Oe(), Ve();
3017
3044
  };
3018
- function st() {
3019
- k = Ye(this), i(8, k), i(5, R), i(7, b);
3045
+ function ni() {
3046
+ _ = Xe(this), t(8, _), t(5, O), t(7, y);
3020
3047
  }
3021
- function rt() {
3022
- w = ci(this.value), i(10, w);
3048
+ function si() {
3049
+ E = Lt(this.value), t(10, E);
3023
3050
  }
3024
- function lt(n) {
3025
- Xe[n ? "unshift" : "push"](() => {
3026
- Y = n, i(11, Y);
3051
+ function ri(n) {
3052
+ Ze[n ? "unshift" : "push"](() => {
3053
+ G = n, t(11, G);
3027
3054
  });
3028
3055
  }
3029
- function mt(n) {
3030
- Xe[n ? "unshift" : "push"](() => {
3031
- P = n, i(4, P);
3056
+ function li(n) {
3057
+ Ze[n ? "unshift" : "push"](() => {
3058
+ D = n, t(4, D);
3032
3059
  });
3033
3060
  }
3034
3061
  return a.$$set = (n) => {
3035
- "lang" in n && i(42, o = n.lang), "currency" in n && i(0, s = n.currency), "limits" in n && i(43, r = n.limits), "session" in n && i(44, p = n.session), "userid" in n && i(45, c = n.userid), "endpoint" in n && i(46, m = n.endpoint), "apiversion" in n && i(47, L = n.apiversion), "customcurrencysymbols" in n && i(48, y = n.customcurrencysymbols), "enablecompliancetext" in n && i(1, E = n.enablecompliancetext), "deletelimit" in n && i(2, _ = n.deletelimit), "amountsconfig" in n && i(49, D = n.amountsconfig), "periodsconfig" in n && i(50, H = n.periodsconfig), "limittabindex" in n && i(3, G = n.limittabindex), "limitformat" in n && i(51, F = n.limitformat), "clientstyling" in n && i(52, W = n.clientstyling), "clientstylingurl" in n && i(53, M = n.clientstylingurl), "translationurl" in n && i(54, U = n.translationurl);
3062
+ "lang" in n && t(42, o = n.lang), "currency" in n && t(0, s = n.currency), "limits" in n && t(43, r = n.limits), "session" in n && t(44, p = n.session), "userid" in n && t(45, d = n.userid), "endpoint" in n && t(46, l = n.endpoint), "apiversion" in n && t(47, L = n.apiversion), "customcurrencysymbols" in n && t(48, h = n.customcurrencysymbols), "enablecompliancetext" in n && t(1, M = n.enablecompliancetext), "deletelimit" in n && t(2, b = n.deletelimit), "amountsconfig" in n && t(49, j = n.amountsconfig), "periodsconfig" in n && t(50, Y = n.periodsconfig), "limittabindex" in n && t(3, K = n.limittabindex), "limitformat" in n && t(51, F = n.limitformat), "clientstyling" in n && t(52, q = n.clientstyling), "clientstylingurl" in n && t(53, x = n.clientstylingurl), "mbsource" in n && t(54, U = n.mbsource), "translationurl" in n && t(55, R = n.translationurl);
3036
3063
  }, a.$$.update = () => {
3037
3064
  a.$$.dirty[1] & /*customcurrencysymbols*/
3038
- 131072 && y && Zi(), a.$$.dirty[1] & /*periodsconfig, amountsconfig*/
3039
- 786432 && H && D && ki(), a.$$.dirty[1] & /*lang*/
3040
- 2048 && o && Ji(), a.$$.dirty[1] & /*userid, session, endpoint, apiversion, lang*/
3041
- 124928 && c && p && m && L && o && oe(), a.$$.dirty[0] & /*customStylingContainer*/
3042
- 16 | a.$$.dirty[1] & /*clientstylingurl*/
3043
- 4194304 && M && P && $i(), a.$$.dirty[0] & /*customStylingContainer*/
3065
+ 131072 && h && Jt(), a.$$.dirty[1] & /*periodsconfig, amountsconfig*/
3066
+ 786432 && Y && j && bt(), a.$$.dirty[1] & /*lang*/
3067
+ 2048 && o && Qt(), a.$$.dirty[1] & /*userid, session, endpoint, apiversion, lang*/
3068
+ 124928 && d && p && l && L && o && oe(), a.$$.dirty[0] & /*customStylingContainer*/
3044
3069
  16 | a.$$.dirty[1] & /*clientstyling*/
3045
- 2097152 && W && P && Qi(), a.$$.dirty[1] & /*translationurl*/
3046
- 8388608 && U && yi();
3070
+ 2097152 && q && D && bi(D, q), a.$$.dirty[0] & /*customStylingContainer*/
3071
+ 16 | a.$$.dirty[1] & /*clientstylingurl*/
3072
+ 4194304 && x && D && ki(D, x), a.$$.dirty[0] & /*customStylingContainer*/
3073
+ 16 | a.$$.dirty[1] & /*mbsource*/
3074
+ 8388608 && U && D && vi(D, `${U}.Style`), a.$$.dirty[1] & /*translationurl*/
3075
+ 16777216 && R && ht();
3047
3076
  }, [
3048
3077
  s,
3049
- E,
3050
- _,
3051
- G,
3052
- P,
3053
- R,
3054
- S,
3078
+ M,
3055
3079
  b,
3056
- k,
3057
3080
  K,
3058
- w,
3059
- Y,
3060
- q,
3081
+ D,
3082
+ O,
3083
+ S,
3084
+ y,
3085
+ _,
3086
+ C,
3087
+ E,
3088
+ G,
3061
3089
  re,
3090
+ pe,
3062
3091
  Ie,
3063
- Ce,
3064
- X,
3092
+ je,
3065
3093
  Z,
3094
+ J,
3066
3095
  De,
3067
3096
  ce,
3068
3097
  ne,
3069
- te,
3070
- Le,
3098
+ ie,
3071
3099
  fe,
3072
3100
  ge,
3101
+ ye,
3073
3102
  ee,
3074
- t,
3075
- A,
3076
- Be,
3103
+ i,
3104
+ P,
3077
3105
  Oe,
3078
- Ci,
3106
+ We,
3107
+ jt,
3079
3108
  oe,
3080
- Ii,
3109
+ It,
3081
3110
  Ve,
3082
- We,
3083
3111
  qe,
3084
3112
  Ge,
3085
- Me,
3086
3113
  Ke,
3114
+ xe,
3087
3115
  He,
3088
- Yi,
3089
- Xi,
3116
+ Ye,
3117
+ Xt,
3118
+ Zt,
3090
3119
  o,
3091
3120
  r,
3092
3121
  p,
3093
- c,
3094
- m,
3122
+ d,
3123
+ l,
3095
3124
  L,
3096
- y,
3097
- D,
3098
- H,
3125
+ h,
3126
+ j,
3127
+ Y,
3099
3128
  F,
3100
- W,
3101
- M,
3129
+ q,
3130
+ x,
3102
3131
  U,
3103
- et,
3104
- it,
3105
- tt,
3106
- at,
3107
- ot,
3108
- nt,
3109
- st,
3110
- rt,
3111
- lt,
3112
- mt
3132
+ R,
3133
+ $t,
3134
+ ei,
3135
+ ti,
3136
+ ii,
3137
+ ai,
3138
+ oi,
3139
+ ni,
3140
+ si,
3141
+ ri,
3142
+ li
3113
3143
  ];
3114
3144
  }
3115
- class Qt extends pt {
3145
+ class ea extends di {
3116
3146
  constructor(e) {
3117
- super(), ct(
3147
+ super(), pi(
3118
3148
  this,
3119
3149
  e,
3120
- Jt,
3121
- Zt,
3122
- ft,
3150
+ $i,
3151
+ Qi,
3152
+ Li,
3123
3153
  {
3124
3154
  lang: 42,
3125
3155
  currency: 0,
@@ -3137,9 +3167,10 @@ class Qt extends pt {
3137
3167
  limitformat: 51,
3138
3168
  clientstyling: 52,
3139
3169
  clientstylingurl: 53,
3140
- translationurl: 54
3170
+ mbsource: 54,
3171
+ translationurl: 55
3141
3172
  },
3142
- _t,
3173
+ Si,
3143
3174
  [-1, -1, -1, -1, -1]
3144
3175
  );
3145
3176
  }
@@ -3147,106 +3178,112 @@ class Qt extends pt {
3147
3178
  return this.$$.ctx[42];
3148
3179
  }
3149
3180
  set lang(e) {
3150
- this.$$set({ lang: e }), $();
3181
+ this.$$set({ lang: e }), X();
3151
3182
  }
3152
3183
  get currency() {
3153
3184
  return this.$$.ctx[0];
3154
3185
  }
3155
3186
  set currency(e) {
3156
- this.$$set({ currency: e }), $();
3187
+ this.$$set({ currency: e }), X();
3157
3188
  }
3158
3189
  get limits() {
3159
3190
  return this.$$.ctx[43];
3160
3191
  }
3161
3192
  set limits(e) {
3162
- this.$$set({ limits: e }), $();
3193
+ this.$$set({ limits: e }), X();
3163
3194
  }
3164
3195
  get session() {
3165
3196
  return this.$$.ctx[44];
3166
3197
  }
3167
3198
  set session(e) {
3168
- this.$$set({ session: e }), $();
3199
+ this.$$set({ session: e }), X();
3169
3200
  }
3170
3201
  get userid() {
3171
3202
  return this.$$.ctx[45];
3172
3203
  }
3173
3204
  set userid(e) {
3174
- this.$$set({ userid: e }), $();
3205
+ this.$$set({ userid: e }), X();
3175
3206
  }
3176
3207
  get endpoint() {
3177
3208
  return this.$$.ctx[46];
3178
3209
  }
3179
3210
  set endpoint(e) {
3180
- this.$$set({ endpoint: e }), $();
3211
+ this.$$set({ endpoint: e }), X();
3181
3212
  }
3182
3213
  get apiversion() {
3183
3214
  return this.$$.ctx[47];
3184
3215
  }
3185
3216
  set apiversion(e) {
3186
- this.$$set({ apiversion: e }), $();
3217
+ this.$$set({ apiversion: e }), X();
3187
3218
  }
3188
3219
  get customcurrencysymbols() {
3189
3220
  return this.$$.ctx[48];
3190
3221
  }
3191
3222
  set customcurrencysymbols(e) {
3192
- this.$$set({ customcurrencysymbols: e }), $();
3223
+ this.$$set({ customcurrencysymbols: e }), X();
3193
3224
  }
3194
3225
  get enablecompliancetext() {
3195
3226
  return this.$$.ctx[1];
3196
3227
  }
3197
3228
  set enablecompliancetext(e) {
3198
- this.$$set({ enablecompliancetext: e }), $();
3229
+ this.$$set({ enablecompliancetext: e }), X();
3199
3230
  }
3200
3231
  get deletelimit() {
3201
3232
  return this.$$.ctx[2];
3202
3233
  }
3203
3234
  set deletelimit(e) {
3204
- this.$$set({ deletelimit: e }), $();
3235
+ this.$$set({ deletelimit: e }), X();
3205
3236
  }
3206
3237
  get amountsconfig() {
3207
3238
  return this.$$.ctx[49];
3208
3239
  }
3209
3240
  set amountsconfig(e) {
3210
- this.$$set({ amountsconfig: e }), $();
3241
+ this.$$set({ amountsconfig: e }), X();
3211
3242
  }
3212
3243
  get periodsconfig() {
3213
3244
  return this.$$.ctx[50];
3214
3245
  }
3215
3246
  set periodsconfig(e) {
3216
- this.$$set({ periodsconfig: e }), $();
3247
+ this.$$set({ periodsconfig: e }), X();
3217
3248
  }
3218
3249
  get limittabindex() {
3219
3250
  return this.$$.ctx[3];
3220
3251
  }
3221
3252
  set limittabindex(e) {
3222
- this.$$set({ limittabindex: e }), $();
3253
+ this.$$set({ limittabindex: e }), X();
3223
3254
  }
3224
3255
  get limitformat() {
3225
3256
  return this.$$.ctx[51];
3226
3257
  }
3227
3258
  set limitformat(e) {
3228
- this.$$set({ limitformat: e }), $();
3259
+ this.$$set({ limitformat: e }), X();
3229
3260
  }
3230
3261
  get clientstyling() {
3231
3262
  return this.$$.ctx[52];
3232
3263
  }
3233
3264
  set clientstyling(e) {
3234
- this.$$set({ clientstyling: e }), $();
3265
+ this.$$set({ clientstyling: e }), X();
3235
3266
  }
3236
3267
  get clientstylingurl() {
3237
3268
  return this.$$.ctx[53];
3238
3269
  }
3239
3270
  set clientstylingurl(e) {
3240
- this.$$set({ clientstylingurl: e }), $();
3271
+ this.$$set({ clientstylingurl: e }), X();
3241
3272
  }
3242
- get translationurl() {
3273
+ get mbsource() {
3243
3274
  return this.$$.ctx[54];
3244
3275
  }
3276
+ set mbsource(e) {
3277
+ this.$$set({ mbsource: e }), X();
3278
+ }
3279
+ get translationurl() {
3280
+ return this.$$.ctx[55];
3281
+ }
3245
3282
  set translationurl(e) {
3246
- this.$$set({ translationurl: e }), $();
3283
+ this.$$set({ translationurl: e }), X();
3247
3284
  }
3248
3285
  }
3249
- Lt(Qt, { lang: {}, currency: {}, limits: {}, session: {}, userid: {}, endpoint: {}, apiversion: {}, customcurrencysymbols: {}, enablecompliancetext: {}, deletelimit: {}, amountsconfig: {}, periodsconfig: {}, limittabindex: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
3286
+ ci(ea, { lang: {}, currency: {}, limits: {}, session: {}, userid: {}, endpoint: {}, apiversion: {}, customcurrencysymbols: {}, enablecompliancetext: {}, deletelimit: {}, amountsconfig: {}, periodsconfig: {}, limittabindex: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
3250
3287
  export {
3251
- Qt as default
3288
+ ea as default
3252
3289
  };