@everymatrix/player-account-gaming-limits 0.0.158 → 0.0.162

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.
@@ -29,6 +29,11 @@
29
29
  function is_empty(obj) {
30
30
  return Object.keys(obj).length === 0;
31
31
  }
32
+ function validate_store(store, name) {
33
+ if (store != null && typeof store.subscribe !== 'function') {
34
+ throw new Error(`'${name}' is not a store with a 'subscribe' method`);
35
+ }
36
+ }
32
37
  function subscribe(store, ...callbacks) {
33
38
  if (store == null) {
34
39
  return noop$1;
@@ -36,6 +41,9 @@
36
41
  const unsub = store.subscribe(...callbacks);
37
42
  return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
38
43
  }
44
+ function component_subscribe(component, store, callback) {
45
+ component.$$.on_destroy.push(subscribe(store, callback));
46
+ }
39
47
 
40
48
  const is_client = typeof window !== 'undefined';
41
49
  let now = is_client
@@ -463,6 +471,12 @@
463
471
  }
464
472
  };
465
473
  }
474
+
475
+ const globals = (typeof window !== 'undefined'
476
+ ? window
477
+ : typeof globalThis !== 'undefined'
478
+ ? globalThis
479
+ : global);
466
480
  function mount_component(component, target, anchor, customElement) {
467
481
  const { fragment, on_mount, on_destroy, after_update } = component.$$;
468
482
  fragment && fragment.m(target, anchor);
@@ -4720,7 +4734,7 @@
4720
4734
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
4721
4735
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
4722
4736
  PERFORMANCE OF THIS SOFTWARE.
4723
- ***************************************************************************** */function v(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]]);}return t}const O={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,ignoreTag:!0};function j(){return O}const k=writable(!1);let L;const T=writable(null);function x(e){return e.split("-").map(((e,n,t)=>t.slice(0,n+1).join("-"))).reverse()}function E(e,n=j().fallbackLocale){const t=x(e);return n?[...new Set([...t,...x(n)])]:t}function D(){return L}T.subscribe((e=>{L=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e);}));const M=T.set;T.set=e=>{if(function(e){if(null==e)return;const n=E(e);for(let e=0;e<n.length;e++){const t=n[e];if(u(t))return t}}(e)&&w(e)){const{loadingDelay:n}=j();let t;return "undefined"!=typeof window&&null!=D()&&n?t=window.setTimeout((()=>k.set(!0)),n):k.set(!0),b(e).then((()=>{M(e);})).finally((()=>{clearTimeout(t),k.set(!1);}))}return M(e)},T.update=e=>M(e(L));const Z=e=>{const n=Object.create(null);return t=>{const o=JSON.stringify(t);return o in n?n[o]:n[o]=e(t)}},C=(e,n)=>{const{formats:t}=j();if(e in t&&n in t[e])return t[e][n];throw new Error(`[svelte-i18n] Unknown "${n}" ${e} format.`)},G=Z((e=>{var{locale:n,format:t}=e,o=v(e,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(o=C("number",t)),new Intl.NumberFormat(n,o)})),J=Z((e=>{var{locale:n,format:t}=e,o=v(e,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?o=C("date",t):0===Object.keys(o).length&&(o=C("date","short")),new Intl.DateTimeFormat(n,o)})),U=Z((e=>{var{locale:n,format:t}=e,o=v(e,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?o=C("time",t):0===Object.keys(o).length&&(o=C("time","short")),new Intl.DateTimeFormat(n,o)})),_=(e={})=>{var{locale:n=D()}=e,t=v(e,["locale"]);return G(Object.assign({locale:n},t))},q=(e={})=>{var{locale:n=D()}=e,t=v(e,["locale"]);return J(Object.assign({locale:n},t))},B=(e={})=>{var{locale:n=D()}=e,t=v(e,["locale"]);return U(Object.assign({locale:n},t))},H=Z(((e,n=D())=>new IntlMessageFormat(e,n,j().formats,{ignoreTag:j().ignoreTag}))),K=(e,n={})=>{"object"==typeof e&&(e=(n=e).id);const{values:t,locale:o=D(),default:r}=n;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=a(e,o);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else j().warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${E(o).join('", "')}".${w(D())?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=r||e;if(!t)return i;let l=i;try{l=H(i,o).format(t);}catch(n){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,n.message);}return l},Q=(e,n)=>B(n).format(e),R=(e,n)=>q(n).format(e),V=(e,n)=>_(n).format(e),W=(e,n=D())=>a(e,n);derived([T,s],(()=>K));derived([T],(()=>Q));derived([T],(()=>R));derived([T],(()=>V));derived([T,s],(()=>W));
4737
+ ***************************************************************************** */function v(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]]);}return t}const O={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,ignoreTag:!0};function j(){return O}const k=writable(!1);let L;const T=writable(null);function x(e){return e.split("-").map(((e,n,t)=>t.slice(0,n+1).join("-"))).reverse()}function E(e,n=j().fallbackLocale){const t=x(e);return n?[...new Set([...t,...x(n)])]:t}function D(){return L}T.subscribe((e=>{L=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e);}));const M=T.set;T.set=e=>{if(function(e){if(null==e)return;const n=E(e);for(let e=0;e<n.length;e++){const t=n[e];if(u(t))return t}}(e)&&w(e)){const{loadingDelay:n}=j();let t;return "undefined"!=typeof window&&null!=D()&&n?t=window.setTimeout((()=>k.set(!0)),n):k.set(!0),b(e).then((()=>{M(e);})).finally((()=>{clearTimeout(t),k.set(!1);}))}return M(e)},T.update=e=>M(e(L));const Z=e=>{const n=Object.create(null);return t=>{const o=JSON.stringify(t);return o in n?n[o]:n[o]=e(t)}},C=(e,n)=>{const{formats:t}=j();if(e in t&&n in t[e])return t[e][n];throw new Error(`[svelte-i18n] Unknown "${n}" ${e} format.`)},G=Z((e=>{var{locale:n,format:t}=e,o=v(e,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(o=C("number",t)),new Intl.NumberFormat(n,o)})),J=Z((e=>{var{locale:n,format:t}=e,o=v(e,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?o=C("date",t):0===Object.keys(o).length&&(o=C("date","short")),new Intl.DateTimeFormat(n,o)})),U=Z((e=>{var{locale:n,format:t}=e,o=v(e,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?o=C("time",t):0===Object.keys(o).length&&(o=C("time","short")),new Intl.DateTimeFormat(n,o)})),_=(e={})=>{var{locale:n=D()}=e,t=v(e,["locale"]);return G(Object.assign({locale:n},t))},q=(e={})=>{var{locale:n=D()}=e,t=v(e,["locale"]);return J(Object.assign({locale:n},t))},B=(e={})=>{var{locale:n=D()}=e,t=v(e,["locale"]);return U(Object.assign({locale:n},t))},H=Z(((e,n=D())=>new IntlMessageFormat(e,n,j().formats,{ignoreTag:j().ignoreTag}))),K=(e,n={})=>{"object"==typeof e&&(e=(n=e).id);const{values:t,locale:o=D(),default:r}=n;if(null==o)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=a(e,o);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else j().warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${E(o).join('", "')}".${w(D())?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=r||e;if(!t)return i;let l=i;try{l=H(i,o).format(t);}catch(n){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,n.message);}return l},Q=(e,n)=>B(n).format(e),R=(e,n)=>q(n).format(e),V=(e,n)=>_(n).format(e),W=(e,n=D())=>a(e,n),X=derived([T,s],(()=>K));derived([T],(()=>Q));derived([T],(()=>R));derived([T],(()=>V));derived([T,s],(()=>W));
4724
4738
 
4725
4739
  window.emWidgets = { topic };
4726
4740
 
@@ -4746,10 +4760,29 @@
4746
4760
  return 'PC';
4747
4761
  };
4748
4762
 
4763
+ function addNewMessages(lang, dict) {
4764
+ m(lang, dict);
4765
+ }
4766
+
4767
+ const PlayerGamingLimitsTranslations = {
4768
+ en: {
4769
+ popupText: {
4770
+ amountChanged: `Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:`,
4771
+ }
4772
+ },
4773
+ ro: {
4774
+ popupText: {
4775
+ amountChanged: `Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:`,
4776
+ }
4777
+ }
4778
+ };
4779
+
4749
4780
  /* ../player-account-gaming-limits-popup/src/PlayerAccountGamingLimitsPopup.svelte generated by Svelte v3.37.0 */
4781
+
4782
+ const { Object: Object_1 } = globals;
4750
4783
  const file$5 = "../player-account-gaming-limits-popup/src/PlayerAccountGamingLimitsPopup.svelte";
4751
4784
 
4752
- // (19:0) {#if showPopup}
4785
+ // (42:0) {#if showPopup}
4753
4786
  function create_if_block$4(ctx) {
4754
4787
  let section;
4755
4788
  let div5;
@@ -4764,11 +4797,18 @@
4764
4797
  let path;
4765
4798
  let t4;
4766
4799
  let div4;
4767
- let p;
4768
- let t5;
4800
+ let div5_class_value;
4769
4801
  let mounted;
4770
4802
  let dispose;
4771
4803
 
4804
+ function select_block_type(ctx, dirty) {
4805
+ if (/*iteminfoamount*/ ctx[0]) return create_if_block_1$3;
4806
+ return create_else_block$3;
4807
+ }
4808
+
4809
+ let current_block_type = select_block_type(ctx);
4810
+ let if_block = current_block_type(ctx);
4811
+
4772
4812
  const block = {
4773
4813
  c: function create() {
4774
4814
  section = element("section");
@@ -4778,42 +4818,43 @@
4778
4818
  div0.textContent = "i";
4779
4819
  t1 = space();
4780
4820
  div1 = element("div");
4781
- t2 = text(/*infoname*/ ctx[1]);
4821
+ t2 = text(/*infoname*/ ctx[2]);
4782
4822
  t3 = space();
4783
4823
  div2 = element("div");
4784
4824
  svg = svg_element("svg");
4785
4825
  path = svg_element("path");
4786
4826
  t4 = space();
4787
4827
  div4 = element("div");
4788
- p = element("p");
4789
- t5 = text(/*infocontent*/ ctx[0]);
4828
+ if_block.c();
4790
4829
  attr_dev(div0, "class", "InfoCardPopupIcon");
4791
- add_location(div0, file$5, 22, 8, 793);
4830
+ add_location(div0, file$5, 45, 8, 1569);
4792
4831
  attr_dev(div1, "class", "InfoCardPopupTitle");
4793
- add_location(div1, file$5, 23, 8, 840);
4832
+ add_location(div1, file$5, 46, 8, 1616);
4794
4833
  attr_dev(path, "stroke-linecap", "round");
4795
4834
  attr_dev(path, "stroke-linejoin", "round");
4796
4835
  attr_dev(path, "stroke-width", "2");
4797
4836
  attr_dev(path, "d", "M6 18L18 6M6 6l12 12");
4798
- add_location(path, file$5, 25, 120, 1097);
4837
+ add_location(path, file$5, 48, 120, 1873);
4799
4838
  attr_dev(svg, "class", "w-6 h-6");
4800
4839
  attr_dev(svg, "fill", "none");
4801
4840
  attr_dev(svg, "stroke", "currentColor");
4802
4841
  attr_dev(svg, "viewBox", "0 0 24 24");
4803
4842
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
4804
- add_location(svg, file$5, 25, 10, 987);
4843
+ add_location(svg, file$5, 48, 10, 1763);
4805
4844
  attr_dev(div2, "class", "InfoCardPopupCloseButton");
4806
- add_location(div2, file$5, 24, 8, 897);
4845
+ add_location(div2, file$5, 47, 8, 1673);
4807
4846
  attr_dev(div3, "class", "InfoCardPopupHeader");
4808
- add_location(div3, file$5, 21, 6, 751);
4809
- attr_dev(p, "class", "InfoCardPopupContent");
4810
- add_location(p, file$5, 29, 8, 1287);
4847
+ add_location(div3, file$5, 44, 6, 1527);
4811
4848
  attr_dev(div4, "class", "InfoCardPopupContentArea");
4812
- add_location(div4, file$5, 28, 6, 1240);
4813
- attr_dev(div5, "class", "InfoCardPopupWrapper " + (/*isMobile*/ ctx[3] ? "InfoCardPopupMobileWrapper" : ""));
4814
- add_location(div5, file$5, 20, 4, 663);
4815
- attr_dev(section, "class", /*isMobile*/ ctx[3] ? "InfoCardPopupMobileModal" : "");
4816
- add_location(section, file$5, 19, 2, 598);
4849
+ add_location(div4, file$5, 51, 6, 2016);
4850
+
4851
+ attr_dev(div5, "class", div5_class_value = "InfoCardPopupWrapper " + (/*isMobile*/ ctx[6] ? "InfoCardPopupMobileWrapper" : "") + " " + (/*iteminfoamount*/ ctx[0]
4852
+ ? "InfoCardPopupLimitChanged"
4853
+ : ""));
4854
+
4855
+ add_location(div5, file$5, 43, 4, 1387);
4856
+ attr_dev(section, "class", /*isMobile*/ ctx[6] ? "InfoCardPopupMobileModal" : "");
4857
+ add_location(section, file$5, 42, 2, 1322);
4817
4858
  },
4818
4859
  m: function mount(target, anchor) {
4819
4860
  insert_dev(target, section, anchor);
@@ -4829,20 +4870,37 @@
4829
4870
  append_dev(svg, path);
4830
4871
  append_dev(div5, t4);
4831
4872
  append_dev(div5, div4);
4832
- append_dev(div4, p);
4833
- append_dev(p, t5);
4873
+ if_block.m(div4, null);
4834
4874
 
4835
4875
  if (!mounted) {
4836
- dispose = listen_dev(div2, "click", prevent_default(/*closeInfoPopup*/ ctx[4]), false, true, false);
4876
+ dispose = listen_dev(div2, "click", prevent_default(/*closeInfoPopup*/ ctx[7]), false, true, false);
4837
4877
  mounted = true;
4838
4878
  }
4839
4879
  },
4840
4880
  p: function update(ctx, dirty) {
4841
- if (dirty & /*infoname*/ 2) set_data_dev(t2, /*infoname*/ ctx[1]);
4842
- if (dirty & /*infocontent*/ 1) set_data_dev(t5, /*infocontent*/ ctx[0]);
4881
+ if (dirty & /*infoname*/ 4) set_data_dev(t2, /*infoname*/ ctx[2]);
4882
+
4883
+ if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
4884
+ if_block.p(ctx, dirty);
4885
+ } else {
4886
+ if_block.d(1);
4887
+ if_block = current_block_type(ctx);
4888
+
4889
+ if (if_block) {
4890
+ if_block.c();
4891
+ if_block.m(div4, null);
4892
+ }
4893
+ }
4894
+
4895
+ if (dirty & /*iteminfoamount*/ 1 && div5_class_value !== (div5_class_value = "InfoCardPopupWrapper " + (/*isMobile*/ ctx[6] ? "InfoCardPopupMobileWrapper" : "") + " " + (/*iteminfoamount*/ ctx[0]
4896
+ ? "InfoCardPopupLimitChanged"
4897
+ : ""))) {
4898
+ attr_dev(div5, "class", div5_class_value);
4899
+ }
4843
4900
  },
4844
4901
  d: function destroy(detaching) {
4845
4902
  if (detaching) detach_dev(section);
4903
+ if_block.d();
4846
4904
  mounted = false;
4847
4905
  dispose();
4848
4906
  }
@@ -4852,7 +4910,90 @@
4852
4910
  block,
4853
4911
  id: create_if_block$4.name,
4854
4912
  type: "if",
4855
- source: "(19:0) {#if showPopup}",
4913
+ source: "(42:0) {#if showPopup}",
4914
+ ctx
4915
+ });
4916
+
4917
+ return block;
4918
+ }
4919
+
4920
+ // (55:8) {:else}
4921
+ function create_else_block$3(ctx) {
4922
+ let p;
4923
+ let t;
4924
+
4925
+ const block = {
4926
+ c: function create() {
4927
+ p = element("p");
4928
+ t = text(/*infocontent*/ ctx[1]);
4929
+ attr_dev(p, "class", "InfoCardPopupContent");
4930
+ add_location(p, file$5, 55, 10, 2252);
4931
+ },
4932
+ m: function mount(target, anchor) {
4933
+ insert_dev(target, p, anchor);
4934
+ append_dev(p, t);
4935
+ },
4936
+ p: function update(ctx, dirty) {
4937
+ if (dirty & /*infocontent*/ 2) set_data_dev(t, /*infocontent*/ ctx[1]);
4938
+ },
4939
+ d: function destroy(detaching) {
4940
+ if (detaching) detach_dev(p);
4941
+ }
4942
+ };
4943
+
4944
+ dispatch_dev("SvelteRegisterBlock", {
4945
+ block,
4946
+ id: create_else_block$3.name,
4947
+ type: "else",
4948
+ source: "(55:8) {:else}",
4949
+ ctx
4950
+ });
4951
+
4952
+ return block;
4953
+ }
4954
+
4955
+ // (53:8) {#if iteminfoamount}
4956
+ function create_if_block_1$3(ctx) {
4957
+ let p;
4958
+
4959
+ let t_value = /*$_*/ ctx[5]("popupText.amountChanged", {
4960
+ values: {
4961
+ amount: /*iteminfoamount*/ ctx[0],
4962
+ currency: /*playercurrency*/ ctx[3]
4963
+ }
4964
+ }) + "";
4965
+
4966
+ let t;
4967
+
4968
+ const block = {
4969
+ c: function create() {
4970
+ p = element("p");
4971
+ t = text(t_value);
4972
+ attr_dev(p, "class", "InfoCardPopupContent");
4973
+ add_location(p, file$5, 53, 10, 2094);
4974
+ },
4975
+ m: function mount(target, anchor) {
4976
+ insert_dev(target, p, anchor);
4977
+ append_dev(p, t);
4978
+ },
4979
+ p: function update(ctx, dirty) {
4980
+ if (dirty & /*$_, iteminfoamount, playercurrency*/ 41 && t_value !== (t_value = /*$_*/ ctx[5]("popupText.amountChanged", {
4981
+ values: {
4982
+ amount: /*iteminfoamount*/ ctx[0],
4983
+ currency: /*playercurrency*/ ctx[3]
4984
+ }
4985
+ }) + "")) set_data_dev(t, t_value);
4986
+ },
4987
+ d: function destroy(detaching) {
4988
+ if (detaching) detach_dev(p);
4989
+ }
4990
+ };
4991
+
4992
+ dispatch_dev("SvelteRegisterBlock", {
4993
+ block,
4994
+ id: create_if_block_1$3.name,
4995
+ type: "if",
4996
+ source: "(53:8) {#if iteminfoamount}",
4856
4997
  ctx
4857
4998
  });
4858
4999
 
@@ -4861,7 +5002,7 @@
4861
5002
 
4862
5003
  function create_fragment$5(ctx) {
4863
5004
  let if_block_anchor;
4864
- let if_block = /*showPopup*/ ctx[2] && create_if_block$4(ctx);
5005
+ let if_block = /*showPopup*/ ctx[4] && create_if_block$4(ctx);
4865
5006
 
4866
5007
  const block = {
4867
5008
  c: function create() {
@@ -4877,7 +5018,7 @@
4877
5018
  insert_dev(target, if_block_anchor, anchor);
4878
5019
  },
4879
5020
  p: function update(ctx, [dirty]) {
4880
- if (/*showPopup*/ ctx[2]) {
5021
+ if (/*showPopup*/ ctx[4]) {
4881
5022
  if (if_block) {
4882
5023
  if_block.p(ctx, dirty);
4883
5024
  } else {
@@ -4910,62 +5051,112 @@
4910
5051
  }
4911
5052
 
4912
5053
  function instance$5($$self, $$props, $$invalidate) {
5054
+ let $_;
5055
+ validate_store(X, "_");
5056
+ component_subscribe($$self, X, $$value => $$invalidate(5, $_ = $$value));
4913
5057
  let { $$slots: slots = {}, $$scope } = $$props;
4914
5058
  validate_slots("undefined", slots, []);
4915
5059
  let { showpopup = "" } = $$props;
4916
5060
  let { infocontent = "" } = $$props;
4917
5061
  let { infoname = "" } = $$props;
5062
+ let { iteminfoamount = "" } = $$props;
5063
+ let { lang = "en" } = $$props;
5064
+ let { playercurrency = "USD" } = $$props;
4918
5065
  let showPopup = false;
5066
+
5067
+ Object.keys(PlayerGamingLimitsTranslations).forEach(item => {
5068
+ addNewMessages(item, PlayerGamingLimitsTranslations[item]);
5069
+ });
5070
+
4919
5071
  let userAgent = window.navigator.userAgent;
4920
5072
  let isMobile = getDevice(userAgent) === "PC" ? false : true;
4921
5073
 
4922
5074
  const closeInfoPopup = () => {
4923
- $$invalidate(2, showPopup = false);
5075
+ $$invalidate(4, showPopup = false);
4924
5076
 
4925
5077
  window.postMessage(
4926
5078
  {
4927
- type: "ClosePlayerAccountGamingLimitsPopup",
4928
- showPopup
5079
+ type: "ClosePlayerAccountGamingLimitsPopup"
4929
5080
  },
4930
5081
  window.location.href
4931
5082
  );
4932
5083
  };
4933
5084
 
5085
+ const messageHandler = e => {
5086
+ if (e.data && e.data.type == "ClosePlayerAccountGamingLimitsPopup") {
5087
+ $$invalidate(4, showPopup = false);
5088
+ }
5089
+ };
5090
+
4934
5091
  const initialLoad = () => {
4935
- $$invalidate(2, showPopup = showpopup);
5092
+ if (iteminfoamount < 0) {
5093
+ $$invalidate(0, iteminfoamount = "0");
5094
+ }
5095
+
5096
+ $$invalidate(4, showPopup = showpopup);
4936
5097
  };
4937
5098
 
4938
- const writable_props = ["showpopup", "infocontent", "infoname"];
5099
+ onMount(() => {
5100
+ window.addEventListener("message", messageHandler, false);
4939
5101
 
4940
- Object.keys($$props).forEach(key => {
5102
+ return () => {
5103
+ window.removeEventListener("message", messageHandler);
5104
+ };
5105
+ });
5106
+
5107
+ const writable_props = [
5108
+ "showpopup",
5109
+ "infocontent",
5110
+ "infoname",
5111
+ "iteminfoamount",
5112
+ "lang",
5113
+ "playercurrency"
5114
+ ];
5115
+
5116
+ Object_1.keys($$props).forEach(key => {
4941
5117
  if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(`<undefined> was created with unknown prop '${key}'`);
4942
5118
  });
4943
5119
 
4944
5120
  $$self.$$set = $$props => {
4945
- if ("showpopup" in $$props) $$invalidate(5, showpopup = $$props.showpopup);
4946
- if ("infocontent" in $$props) $$invalidate(0, infocontent = $$props.infocontent);
4947
- if ("infoname" in $$props) $$invalidate(1, infoname = $$props.infoname);
5121
+ if ("showpopup" in $$props) $$invalidate(8, showpopup = $$props.showpopup);
5122
+ if ("infocontent" in $$props) $$invalidate(1, infocontent = $$props.infocontent);
5123
+ if ("infoname" in $$props) $$invalidate(2, infoname = $$props.infoname);
5124
+ if ("iteminfoamount" in $$props) $$invalidate(0, iteminfoamount = $$props.iteminfoamount);
5125
+ if ("lang" in $$props) $$invalidate(9, lang = $$props.lang);
5126
+ if ("playercurrency" in $$props) $$invalidate(3, playercurrency = $$props.playercurrency);
4948
5127
  };
4949
5128
 
4950
5129
  $$self.$capture_state = () => ({
5130
+ onMount,
5131
+ getDevice,
5132
+ _: X,
5133
+ addNewMessages,
5134
+ PlayerGamingLimitsTranslations,
4951
5135
  showpopup,
4952
5136
  infocontent,
4953
5137
  infoname,
4954
- getDevice,
5138
+ iteminfoamount,
5139
+ lang,
5140
+ playercurrency,
4955
5141
  showPopup,
4956
5142
  userAgent,
4957
5143
  isMobile,
4958
5144
  closeInfoPopup,
4959
- initialLoad
5145
+ messageHandler,
5146
+ initialLoad,
5147
+ $_
4960
5148
  });
4961
5149
 
4962
5150
  $$self.$inject_state = $$props => {
4963
- if ("showpopup" in $$props) $$invalidate(5, showpopup = $$props.showpopup);
4964
- if ("infocontent" in $$props) $$invalidate(0, infocontent = $$props.infocontent);
4965
- if ("infoname" in $$props) $$invalidate(1, infoname = $$props.infoname);
4966
- if ("showPopup" in $$props) $$invalidate(2, showPopup = $$props.showPopup);
5151
+ if ("showpopup" in $$props) $$invalidate(8, showpopup = $$props.showpopup);
5152
+ if ("infocontent" in $$props) $$invalidate(1, infocontent = $$props.infocontent);
5153
+ if ("infoname" in $$props) $$invalidate(2, infoname = $$props.infoname);
5154
+ if ("iteminfoamount" in $$props) $$invalidate(0, iteminfoamount = $$props.iteminfoamount);
5155
+ if ("lang" in $$props) $$invalidate(9, lang = $$props.lang);
5156
+ if ("playercurrency" in $$props) $$invalidate(3, playercurrency = $$props.playercurrency);
5157
+ if ("showPopup" in $$props) $$invalidate(4, showPopup = $$props.showPopup);
4967
5158
  if ("userAgent" in $$props) userAgent = $$props.userAgent;
4968
- if ("isMobile" in $$props) $$invalidate(3, isMobile = $$props.isMobile);
5159
+ if ("isMobile" in $$props) $$invalidate(6, isMobile = $$props.isMobile);
4969
5160
  };
4970
5161
 
4971
5162
  if ($$props && "$$inject" in $$props) {
@@ -4973,18 +5164,29 @@
4973
5164
  }
4974
5165
 
4975
5166
  $$self.$$.update = () => {
4976
- if ($$self.$$.dirty & /*showpopup*/ 32) {
5167
+ if ($$self.$$.dirty & /*showpopup*/ 256) {
4977
5168
  showpopup && initialLoad();
4978
5169
  }
4979
5170
  };
4980
5171
 
4981
- return [infocontent, infoname, showPopup, isMobile, closeInfoPopup, showpopup];
5172
+ return [
5173
+ iteminfoamount,
5174
+ infocontent,
5175
+ infoname,
5176
+ playercurrency,
5177
+ showPopup,
5178
+ $_,
5179
+ isMobile,
5180
+ closeInfoPopup,
5181
+ showpopup,
5182
+ lang
5183
+ ];
4982
5184
  }
4983
5185
 
4984
5186
  class PlayerAccountGamingLimitsPopup extends SvelteElement {
4985
5187
  constructor(options) {
4986
5188
  super();
4987
- this.shadowRoot.innerHTML = `<style>.InfoCardPopupMobileModal:after{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);content:''}.InfoCardPopupWrapper{width:200px;padding:20px;color:#000;background:#fff;box-shadow:0px 4px 12px #00000012;border-radius:0.3125;display:block;position:absolute;top:25px;left:-100px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:#FFF transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%)}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid #000;align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:#FD2839;fill:#FD2839}</style>`;
5189
+ this.shadowRoot.innerHTML = `<style>.InfoCardPopupMobileModal:after{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);content:''}.InfoCardPopupLimitChanged{background:#FFFFF8}.InfoCardPopupWrapper{width:200px;padding:20px;color:#000;background:#fff;box-shadow:0px 4px 12px #00000012;border-radius:0.3125;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:#FFF transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%)}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid #000;align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:#FD2839;fill:#FD2839}</style>`;
4988
5190
 
4989
5191
  init(
4990
5192
  this,
@@ -4997,9 +5199,12 @@
4997
5199
  create_fragment$5,
4998
5200
  safe_not_equal,
4999
5201
  {
5000
- showpopup: 5,
5001
- infocontent: 0,
5002
- infoname: 1
5202
+ showpopup: 8,
5203
+ infocontent: 1,
5204
+ infoname: 2,
5205
+ iteminfoamount: 0,
5206
+ lang: 9,
5207
+ playercurrency: 3
5003
5208
  }
5004
5209
  );
5005
5210
 
@@ -5016,11 +5221,18 @@
5016
5221
  }
5017
5222
 
5018
5223
  static get observedAttributes() {
5019
- return ["showpopup", "infocontent", "infoname"];
5224
+ return [
5225
+ "showpopup",
5226
+ "infocontent",
5227
+ "infoname",
5228
+ "iteminfoamount",
5229
+ "lang",
5230
+ "playercurrency"
5231
+ ];
5020
5232
  }
5021
5233
 
5022
5234
  get showpopup() {
5023
- return this.$$.ctx[5];
5235
+ return this.$$.ctx[8];
5024
5236
  }
5025
5237
 
5026
5238
  set showpopup(showpopup) {
@@ -5029,7 +5241,7 @@
5029
5241
  }
5030
5242
 
5031
5243
  get infocontent() {
5032
- return this.$$.ctx[0];
5244
+ return this.$$.ctx[1];
5033
5245
  }
5034
5246
 
5035
5247
  set infocontent(infocontent) {
@@ -5038,13 +5250,40 @@
5038
5250
  }
5039
5251
 
5040
5252
  get infoname() {
5041
- return this.$$.ctx[1];
5253
+ return this.$$.ctx[2];
5042
5254
  }
5043
5255
 
5044
5256
  set infoname(infoname) {
5045
5257
  this.$set({ infoname });
5046
5258
  flush();
5047
5259
  }
5260
+
5261
+ get iteminfoamount() {
5262
+ return this.$$.ctx[0];
5263
+ }
5264
+
5265
+ set iteminfoamount(iteminfoamount) {
5266
+ this.$set({ iteminfoamount });
5267
+ flush();
5268
+ }
5269
+
5270
+ get lang() {
5271
+ return this.$$.ctx[9];
5272
+ }
5273
+
5274
+ set lang(lang) {
5275
+ this.$set({ lang });
5276
+ flush();
5277
+ }
5278
+
5279
+ get playercurrency() {
5280
+ return this.$$.ctx[3];
5281
+ }
5282
+
5283
+ set playercurrency(playercurrency) {
5284
+ this.$set({ playercurrency });
5285
+ flush();
5286
+ }
5048
5287
  }
5049
5288
 
5050
5289
  !customElements.get('player-account-gaming-limits-popup') && customElements.define('player-account-gaming-limits-popup', PlayerAccountGamingLimitsPopup);
@@ -11298,46 +11537,46 @@
11298
11537
 
11299
11538
  function get_each_context_2(ctx, list, i) {
11300
11539
  const child_ctx = ctx.slice();
11301
- child_ctx[56] = list[i];
11302
- child_ctx[57] = list;
11303
- child_ctx[52] = i;
11540
+ child_ctx[57] = list[i];
11541
+ child_ctx[58] = list;
11542
+ child_ctx[53] = i;
11304
11543
  return child_ctx;
11305
11544
  }
11306
11545
 
11307
11546
  function get_each_context_3(ctx, list, i) {
11308
11547
  const child_ctx = ctx.slice();
11309
- child_ctx[50] = list[i];
11548
+ child_ctx[51] = list[i];
11310
11549
  return child_ctx;
11311
11550
  }
11312
11551
 
11313
11552
  function get_each_context_4(ctx, list, i) {
11314
11553
  const child_ctx = ctx.slice();
11315
- child_ctx[50] = list[i];
11554
+ child_ctx[51] = list[i];
11316
11555
  return child_ctx;
11317
11556
  }
11318
11557
 
11319
11558
  function get_each_context$1(ctx, list, i) {
11320
11559
  const child_ctx = ctx.slice();
11321
- child_ctx[50] = list[i];
11322
- child_ctx[51] = list;
11323
- child_ctx[52] = i;
11560
+ child_ctx[51] = list[i];
11561
+ child_ctx[52] = list;
11562
+ child_ctx[53] = i;
11324
11563
  return child_ctx;
11325
11564
  }
11326
11565
 
11327
11566
  function get_each_context_1$1(ctx, list, i) {
11328
11567
  const child_ctx = ctx.slice();
11329
- child_ctx[53] = list[i];
11568
+ child_ctx[54] = list[i];
11330
11569
  return child_ctx;
11331
11570
  }
11332
11571
 
11333
11572
  function get_each_context_5(ctx, list, i) {
11334
11573
  const child_ctx = ctx.slice();
11335
- child_ctx[50] = list[i];
11336
- child_ctx[52] = i;
11574
+ child_ctx[51] = list[i];
11575
+ child_ctx[53] = i;
11337
11576
  return child_ctx;
11338
11577
  }
11339
11578
 
11340
- // (440:2) {#if showsuccessnotification}
11579
+ // (441:2) {#if showsuccessnotification}
11341
11580
  function create_if_block_17(ctx) {
11342
11581
  let div;
11343
11582
  let p;
@@ -11346,10 +11585,10 @@
11346
11585
  c: function create() {
11347
11586
  div = element("div");
11348
11587
  p = element("p");
11349
- p.textContent = `${/*successText*/ ctx[19]}`;
11350
- add_location(p, file$2, 441, 6, 18694);
11588
+ p.textContent = `${/*successText*/ ctx[20]}`;
11589
+ add_location(p, file$2, 442, 6, 18728);
11351
11590
  attr_dev(div, "class", "AccountEditLimitSuccessfulChangeContainer");
11352
- add_location(div, file$2, 440, 4, 18632);
11591
+ add_location(div, file$2, 441, 4, 18666);
11353
11592
  },
11354
11593
  m: function mount(target, anchor) {
11355
11594
  insert_dev(target, div, anchor);
@@ -11365,19 +11604,19 @@
11365
11604
  block,
11366
11605
  id: create_if_block_17.name,
11367
11606
  type: "if",
11368
- source: "(440:2) {#if showsuccessnotification}",
11607
+ source: "(441:2) {#if showsuccessnotification}",
11369
11608
  ctx
11370
11609
  });
11371
11610
 
11372
11611
  return block;
11373
11612
  }
11374
11613
 
11375
- // (445:2) {#if showresetnotification}
11614
+ // (446:2) {#if showdeletenotification}
11376
11615
  function create_if_block_14(ctx) {
11377
11616
  let div;
11378
11617
 
11379
11618
  function select_block_type(ctx, dirty) {
11380
- if (/*isArray*/ ctx[11]) return create_if_block_15;
11619
+ if (/*isArray*/ ctx[12]) return create_if_block_15;
11381
11620
  return create_else_block_2$1;
11382
11621
  }
11383
11622
 
@@ -11389,7 +11628,7 @@
11389
11628
  div = element("div");
11390
11629
  if_block.c();
11391
11630
  attr_dev(div, "class", "AccountEditLimitSuccessfulChangeContainer");
11392
- add_location(div, file$2, 445, 4, 18768);
11631
+ add_location(div, file$2, 446, 4, 18803);
11393
11632
  },
11394
11633
  m: function mount(target, anchor) {
11395
11634
  insert_dev(target, div, anchor);
@@ -11418,14 +11657,14 @@
11418
11657
  block,
11419
11658
  id: create_if_block_14.name,
11420
11659
  type: "if",
11421
- source: "(445:2) {#if showresetnotification}",
11660
+ source: "(446:2) {#if showdeletenotification}",
11422
11661
  ctx
11423
11662
  });
11424
11663
 
11425
11664
  return block;
11426
11665
  }
11427
11666
 
11428
- // (453:6) {:else}
11667
+ // (454:6) {:else}
11429
11668
  function create_else_block_2$1(ctx) {
11430
11669
  let p;
11431
11670
  let t0;
@@ -11440,10 +11679,10 @@
11440
11679
  const block = {
11441
11680
  c: function create() {
11442
11681
  p = element("p");
11443
- t0 = text(/*removeText*/ ctx[20]);
11682
+ t0 = text(/*removeText*/ ctx[21]);
11444
11683
  t1 = space();
11445
11684
  t2 = text(t2_value);
11446
- add_location(p, file$2, 453, 8, 19142);
11685
+ add_location(p, file$2, 454, 8, 19177);
11447
11686
  },
11448
11687
  m: function mount(target, anchor) {
11449
11688
  insert_dev(target, p, anchor);
@@ -11465,17 +11704,17 @@
11465
11704
  block,
11466
11705
  id: create_else_block_2$1.name,
11467
11706
  type: "else",
11468
- source: "(453:6) {:else}",
11707
+ source: "(454:6) {:else}",
11469
11708
  ctx
11470
11709
  });
11471
11710
 
11472
11711
  return block;
11473
11712
  }
11474
11713
 
11475
- // (447:6) {#if isArray}
11714
+ // (448:6) {#if isArray}
11476
11715
  function create_if_block_15(ctx) {
11477
11716
  let each_1_anchor;
11478
- let each_value_5 = /*limitsUpdateData*/ ctx[14];
11717
+ let each_value_5 = /*limitsUpdateData*/ ctx[15];
11479
11718
  validate_each_argument(each_value_5);
11480
11719
  let each_blocks = [];
11481
11720
 
@@ -11499,8 +11738,8 @@
11499
11738
  insert_dev(target, each_1_anchor, anchor);
11500
11739
  },
11501
11740
  p: function update(ctx, dirty) {
11502
- if (dirty[0] & /*limitsUpdateData, removeText, storedData*/ 1196032) {
11503
- each_value_5 = /*limitsUpdateData*/ ctx[14];
11741
+ if (dirty[0] & /*limitsUpdateData, removeText, storedData*/ 2392064) {
11742
+ each_value_5 = /*limitsUpdateData*/ ctx[15];
11504
11743
  validate_each_argument(each_value_5);
11505
11744
  let i;
11506
11745
 
@@ -11533,21 +11772,21 @@
11533
11772
  block,
11534
11773
  id: create_if_block_15.name,
11535
11774
  type: "if",
11536
- source: "(447:6) {#if isArray}",
11775
+ source: "(448:6) {#if isArray}",
11537
11776
  ctx
11538
11777
  });
11539
11778
 
11540
11779
  return block;
11541
11780
  }
11542
11781
 
11543
- // (449:10) {#if selectData.period == storedData[index].periodName}
11782
+ // (450:10) {#if selectData.period == storedData[index].periodName}
11544
11783
  function create_if_block_16(ctx) {
11545
11784
  let p;
11546
11785
  let t0;
11547
11786
  let t1;
11548
11787
 
11549
- let t2_value = (/*selectData*/ ctx[50].expiryDate
11550
- ? moment(/*selectData*/ ctx[50].expiryDate).format("D/M/YYYY - h:mm A")
11788
+ let t2_value = (/*selectData*/ ctx[51].expiryDate
11789
+ ? moment(/*selectData*/ ctx[51].expiryDate).format("D/M/YYYY - h:mm A")
11551
11790
  : "N/A") + "";
11552
11791
 
11553
11792
  let t2;
@@ -11555,10 +11794,10 @@
11555
11794
  const block = {
11556
11795
  c: function create() {
11557
11796
  p = element("p");
11558
- t0 = text(/*removeText*/ ctx[20]);
11797
+ t0 = text(/*removeText*/ ctx[21]);
11559
11798
  t1 = space();
11560
11799
  t2 = text(t2_value);
11561
- add_location(p, file$2, 449, 12, 18976);
11800
+ add_location(p, file$2, 450, 12, 19011);
11562
11801
  },
11563
11802
  m: function mount(target, anchor) {
11564
11803
  insert_dev(target, p, anchor);
@@ -11567,8 +11806,8 @@
11567
11806
  append_dev(p, t2);
11568
11807
  },
11569
11808
  p: function update(ctx, dirty) {
11570
- if (dirty[0] & /*limitsUpdateData*/ 16384 && t2_value !== (t2_value = (/*selectData*/ ctx[50].expiryDate
11571
- ? moment(/*selectData*/ ctx[50].expiryDate).format("D/M/YYYY - h:mm A")
11809
+ if (dirty[0] & /*limitsUpdateData*/ 32768 && t2_value !== (t2_value = (/*selectData*/ ctx[51].expiryDate
11810
+ ? moment(/*selectData*/ ctx[51].expiryDate).format("D/M/YYYY - h:mm A")
11572
11811
  : "N/A") + "")) set_data_dev(t2, t2_value);
11573
11812
  },
11574
11813
  d: function destroy(detaching) {
@@ -11580,17 +11819,17 @@
11580
11819
  block,
11581
11820
  id: create_if_block_16.name,
11582
11821
  type: "if",
11583
- source: "(449:10) {#if selectData.period == storedData[index].periodName}",
11822
+ source: "(450:10) {#if selectData.period == storedData[index].periodName}",
11584
11823
  ctx
11585
11824
  });
11586
11825
 
11587
11826
  return block;
11588
11827
  }
11589
11828
 
11590
- // (448:8) {#each limitsUpdateData as selectData, index}
11829
+ // (449:8) {#each limitsUpdateData as selectData, index}
11591
11830
  function create_each_block_5(ctx) {
11592
11831
  let if_block_anchor;
11593
- let if_block = /*selectData*/ ctx[50].period == /*storedData*/ ctx[17][/*index*/ ctx[52]].periodName && create_if_block_16(ctx);
11832
+ let if_block = /*selectData*/ ctx[51].period == /*storedData*/ ctx[18][/*index*/ ctx[53]].periodName && create_if_block_16(ctx);
11594
11833
 
11595
11834
  const block = {
11596
11835
  c: function create() {
@@ -11602,7 +11841,7 @@
11602
11841
  insert_dev(target, if_block_anchor, anchor);
11603
11842
  },
11604
11843
  p: function update(ctx, dirty) {
11605
- if (/*selectData*/ ctx[50].period == /*storedData*/ ctx[17][/*index*/ ctx[52]].periodName) {
11844
+ if (/*selectData*/ ctx[51].period == /*storedData*/ ctx[18][/*index*/ ctx[53]].periodName) {
11606
11845
  if (if_block) {
11607
11846
  if_block.p(ctx, dirty);
11608
11847
  } else {
@@ -11625,19 +11864,19 @@
11625
11864
  block,
11626
11865
  id: create_each_block_5.name,
11627
11866
  type: "each",
11628
- source: "(448:8) {#each limitsUpdateData as selectData, index}",
11867
+ source: "(449:8) {#each limitsUpdateData as selectData, index}",
11629
11868
  ctx
11630
11869
  });
11631
11870
 
11632
11871
  return block;
11633
11872
  }
11634
11873
 
11635
- // (458:2) {#if showLimits}
11874
+ // (459:2) {#if showLimits}
11636
11875
  function create_if_block$2(ctx) {
11637
11876
  let div;
11638
11877
 
11639
11878
  function select_block_type_1(ctx, dirty) {
11640
- if (/*isArray*/ ctx[11]) return create_if_block_1$2;
11879
+ if (/*isArray*/ ctx[12]) return create_if_block_1$2;
11641
11880
  return create_else_block_1$1;
11642
11881
  }
11643
11882
 
@@ -11649,7 +11888,7 @@
11649
11888
  div = element("div");
11650
11889
  if_block.c();
11651
11890
  attr_dev(div, "class", "AccountEditContent");
11652
- add_location(div, file$2, 458, 2, 19306);
11891
+ add_location(div, file$2, 459, 2, 19341);
11653
11892
  },
11654
11893
  m: function mount(target, anchor) {
11655
11894
  insert_dev(target, div, anchor);
@@ -11678,14 +11917,14 @@
11678
11917
  block,
11679
11918
  id: create_if_block$2.name,
11680
11919
  type: "if",
11681
- source: "(458:2) {#if showLimits}",
11920
+ source: "(459:2) {#if showLimits}",
11682
11921
  ctx
11683
11922
  });
11684
11923
 
11685
11924
  return block;
11686
11925
  }
11687
11926
 
11688
- // (499:4) {:else}
11927
+ // (500:4) {:else}
11689
11928
  function create_else_block_1$1(ctx) {
11690
11929
  let div1;
11691
11930
  let div0;
@@ -11696,7 +11935,7 @@
11696
11935
  let t2;
11697
11936
  let mounted;
11698
11937
  let dispose;
11699
- let each_value_4 = /*periodValues*/ ctx[23];
11938
+ let each_value_4 = /*periodValues*/ ctx[24];
11700
11939
  validate_each_argument(each_value_4);
11701
11940
  let each_blocks_1 = [];
11702
11941
 
@@ -11704,7 +11943,7 @@
11704
11943
  each_blocks_1[i] = create_each_block_4(get_each_context_4(ctx, each_value_4, i));
11705
11944
  }
11706
11945
 
11707
- let each_value_2 = /*storedData*/ ctx[17];
11946
+ let each_value_2 = /*storedData*/ ctx[18];
11708
11947
  validate_each_argument(each_value_2);
11709
11948
  let each_blocks = [];
11710
11949
 
@@ -11732,15 +11971,15 @@
11732
11971
  }
11733
11972
 
11734
11973
  attr_dev(p, "class", "AccountEditLimitsTitle");
11735
- add_location(p, file$2, 501, 10, 22536);
11736
- attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[18] ? "TimeoutSelectMobile" : ""));
11737
- select.disabled = select_disabled_value = /*limitsUpdateData*/ ctx[14].isModified === true;
11738
- if (/*limitsUpdateData*/ ctx[14].period === void 0) add_render_callback(() => /*select_change_handler_1*/ ctx[31].call(select));
11739
- add_location(select, file$2, 502, 10, 22590);
11974
+ add_location(p, file$2, 502, 10, 22534);
11975
+ attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[19] ? "TimeoutSelectMobile" : ""));
11976
+ select.disabled = select_disabled_value = /*limitsUpdateData*/ ctx[15].isModified === true;
11977
+ if (/*limitsUpdateData*/ ctx[15].period === void 0) add_render_callback(() => /*select_change_handler_1*/ ctx[32].call(select));
11978
+ add_location(select, file$2, 503, 10, 22588);
11740
11979
  attr_dev(div0, "class", "AccountEditLimitsSplitSection");
11741
- add_location(div0, file$2, 500, 8, 22482);
11980
+ add_location(div0, file$2, 501, 8, 22480);
11742
11981
  attr_dev(div1, "class", "AccountEditLimitsContainer");
11743
- add_location(div1, file$2, 499, 6, 22433);
11982
+ add_location(div1, file$2, 500, 6, 22431);
11744
11983
  },
11745
11984
  m: function mount(target, anchor) {
11746
11985
  insert_dev(target, div1, anchor);
@@ -11753,7 +11992,7 @@
11753
11992
  each_blocks_1[i].m(select, null);
11754
11993
  }
11755
11994
 
11756
- select_option(select, /*limitsUpdateData*/ ctx[14].period);
11995
+ select_option(select, /*limitsUpdateData*/ ctx[15].period);
11757
11996
  append_dev(div1, t2);
11758
11997
 
11759
11998
  for (let i = 0; i < each_blocks.length; i += 1) {
@@ -11762,12 +12001,12 @@
11762
12001
 
11763
12002
  if (!mounted) {
11764
12003
  dispose = [
11765
- listen_dev(select, "change", /*select_change_handler_1*/ ctx[31]),
12004
+ listen_dev(select, "change", /*select_change_handler_1*/ ctx[32]),
11766
12005
  listen_dev(
11767
12006
  select,
11768
12007
  "change",
11769
12008
  function () {
11770
- if (is_function(/*checkUserInputAmount*/ ctx[27](/*limitsUpdateData*/ ctx[14], 0, false, /*updatedLimitValues*/ ctx[16]))) /*checkUserInputAmount*/ ctx[27](/*limitsUpdateData*/ ctx[14], 0, false, /*updatedLimitValues*/ ctx[16]).apply(this, arguments);
12009
+ if (is_function(/*checkUserInputAmount*/ ctx[28](/*limitsUpdateData*/ ctx[15], 0, false, /*updatedLimitValues*/ ctx[17]))) /*checkUserInputAmount*/ ctx[28](/*limitsUpdateData*/ ctx[15], 0, false, /*updatedLimitValues*/ ctx[17]).apply(this, arguments);
11771
12010
  },
11772
12011
  false,
11773
12012
  false,
@@ -11781,8 +12020,8 @@
11781
12020
  p: function update(new_ctx, dirty) {
11782
12021
  ctx = new_ctx;
11783
12022
 
11784
- if (dirty[0] & /*periodValues*/ 8388608) {
11785
- each_value_4 = /*periodValues*/ ctx[23];
12023
+ if (dirty[0] & /*periodValues*/ 16777216) {
12024
+ each_value_4 = /*periodValues*/ ctx[24];
11786
12025
  validate_each_argument(each_value_4);
11787
12026
  let i;
11788
12027
 
@@ -11805,16 +12044,16 @@
11805
12044
  each_blocks_1.length = each_value_4.length;
11806
12045
  }
11807
12046
 
11808
- if (dirty[0] & /*limitsUpdateData, periodValues*/ 8404992 && select_disabled_value !== (select_disabled_value = /*limitsUpdateData*/ ctx[14].isModified === true)) {
12047
+ if (dirty[0] & /*limitsUpdateData, periodValues*/ 16809984 && select_disabled_value !== (select_disabled_value = /*limitsUpdateData*/ ctx[15].isModified === true)) {
11809
12048
  prop_dev(select, "disabled", select_disabled_value);
11810
12049
  }
11811
12050
 
11812
- if (dirty[0] & /*limitsUpdateData, periodValues*/ 8404992) {
11813
- select_option(select, /*limitsUpdateData*/ ctx[14].period);
12051
+ if (dirty[0] & /*limitsUpdateData, periodValues*/ 16809984) {
12052
+ select_option(select, /*limitsUpdateData*/ ctx[15].period);
11814
12053
  }
11815
12054
 
11816
- if (dirty[0] & /*limitsdata, limitsUpdateData, invalidIndex, storedData, checkUserInputAmount, updatedLimitValues, isMobile, lossLimitPredefinedValues*/ 138895361) {
11817
- each_value_2 = /*storedData*/ ctx[17];
12055
+ if (dirty[0] & /*playercurrency, limitsdata, limitsUpdateData, invalidIndex, storedData, checkUserInputAmount, updatedLimitValues, isMobile, lossLimitPredefinedValues*/ 277790785) {
12056
+ each_value_2 = /*storedData*/ ctx[18];
11818
12057
  validate_each_argument(each_value_2);
11819
12058
  let i;
11820
12059
 
@@ -11850,17 +12089,17 @@
11850
12089
  block,
11851
12090
  id: create_else_block_1$1.name,
11852
12091
  type: "else",
11853
- source: "(499:4) {:else}",
12092
+ source: "(500:4) {:else}",
11854
12093
  ctx
11855
12094
  });
11856
12095
 
11857
12096
  return block;
11858
12097
  }
11859
12098
 
11860
- // (460:4) {#if (isArray)}
12099
+ // (461:4) {#if (isArray)}
11861
12100
  function create_if_block_1$2(ctx) {
11862
12101
  let div;
11863
- let each_value = /*limitsUpdateData*/ ctx[14];
12102
+ let each_value = /*limitsUpdateData*/ ctx[15];
11864
12103
  validate_each_argument(each_value);
11865
12104
  let each_blocks = [];
11866
12105
 
@@ -11877,7 +12116,7 @@
11877
12116
  }
11878
12117
 
11879
12118
  attr_dev(div, "class", "AccountEditLimitsContainer");
11880
- add_location(div, file$2, 460, 6, 19430);
12119
+ add_location(div, file$2, 461, 6, 19465);
11881
12120
  },
11882
12121
  m: function mount(target, anchor) {
11883
12122
  insert_dev(target, div, anchor);
@@ -11887,8 +12126,8 @@
11887
12126
  }
11888
12127
  },
11889
12128
  p: function update(ctx, dirty) {
11890
- if (dirty[0] & /*limitsUpdateData, invalidIndexes, storedData, checkUserInputAmount, updatedLimitValues, limitname, maxTimeValue, minTimeValue, isMobile, depositPredefinedValues*/ 136794912) {
11891
- each_value = /*limitsUpdateData*/ ctx[14];
12129
+ if (dirty[0] & /*limitsUpdateData, playercurrency, invalidIndexes, storedData, checkUserInputAmount, updatedLimitValues, limitname, maxTimeValue, minTimeValue, isMobile, depositPredefinedValues*/ 273589856) {
12130
+ each_value = /*limitsUpdateData*/ ctx[15];
11892
12131
  validate_each_argument(each_value);
11893
12132
  let i;
11894
12133
 
@@ -11921,26 +12160,26 @@
11921
12160
  block,
11922
12161
  id: create_if_block_1$2.name,
11923
12162
  type: "if",
11924
- source: "(460:4) {#if (isArray)}",
12163
+ source: "(461:4) {#if (isArray)}",
11925
12164
  ctx
11926
12165
  });
11927
12166
 
11928
12167
  return block;
11929
12168
  }
11930
12169
 
11931
- // (504:12) {#each periodValues as selectData}
12170
+ // (505:12) {#each periodValues as selectData}
11932
12171
  function create_each_block_4(ctx) {
11933
12172
  let option;
11934
- let t_value = /*selectData*/ ctx[50] + "";
12173
+ let t_value = /*selectData*/ ctx[51] + "";
11935
12174
  let t;
11936
12175
 
11937
12176
  const block = {
11938
12177
  c: function create() {
11939
12178
  option = element("option");
11940
12179
  t = text(t_value);
11941
- option.__value = /*selectData*/ ctx[50];
12180
+ option.__value = /*selectData*/ ctx[51];
11942
12181
  option.value = option.__value;
11943
- add_location(option, file$2, 504, 14, 22891);
12182
+ add_location(option, file$2, 505, 14, 22889);
11944
12183
  },
11945
12184
  m: function mount(target, anchor) {
11946
12185
  insert_dev(target, option, anchor);
@@ -11956,14 +12195,14 @@
11956
12195
  block,
11957
12196
  id: create_each_block_4.name,
11958
12197
  type: "each",
11959
- source: "(504:12) {#each periodValues as selectData}",
12198
+ source: "(505:12) {#each periodValues as selectData}",
11960
12199
  ctx
11961
12200
  });
11962
12201
 
11963
12202
  return block;
11964
12203
  }
11965
12204
 
11966
- // (510:10) {#if limitsUpdateData.period === savedData.periodName}
12205
+ // (511:10) {#if limitsUpdateData.period === savedData.periodName}
11967
12206
  function create_if_block_9$1(ctx) {
11968
12207
  let div1;
11969
12208
  let p;
@@ -11977,7 +12216,7 @@
11977
12216
  let t5;
11978
12217
  let mounted;
11979
12218
  let dispose;
11980
- let each_value_3 = /*lossLimitPredefinedValues*/ ctx[22];
12219
+ let each_value_3 = /*lossLimitPredefinedValues*/ ctx[23];
11981
12220
  validate_each_argument(each_value_3);
11982
12221
  let each_blocks = [];
11983
12222
 
@@ -11986,11 +12225,11 @@
11986
12225
  }
11987
12226
 
11988
12227
  function select_change_handler_2() {
11989
- /*select_change_handler_2*/ ctx[32].call(select, /*each_value_2*/ ctx[57], /*index*/ ctx[52]);
12228
+ /*select_change_handler_2*/ ctx[33].call(select, /*each_value_2*/ ctx[58], /*index*/ ctx[53]);
11990
12229
  }
11991
12230
 
11992
- let if_block0 = /*savedData*/ ctx[56].amount === "Custom" && create_if_block_11(ctx);
11993
- let if_block1 = /*limitsUpdateData*/ ctx[14].isModified === true && create_if_block_10$1(ctx);
12231
+ let if_block0 = /*savedData*/ ctx[57].amount === "Custom" && create_if_block_11$1(ctx);
12232
+ let if_block1 = /*limitsUpdateData*/ ctx[15].isModified === true && create_if_block_10$1(ctx);
11994
12233
 
11995
12234
  const block = {
11996
12235
  c: function create() {
@@ -12013,21 +12252,21 @@
12013
12252
  if (if_block1) if_block1.c();
12014
12253
  t5 = space();
12015
12254
  attr_dev(p, "class", "AccountEditLimitsTitle");
12016
- add_location(p, file$2, 511, 14, 23177);
12255
+ add_location(p, file$2, 512, 14, 23175);
12017
12256
  option.__value = "";
12018
12257
  option.value = option.__value;
12019
12258
  option.disabled = true;
12020
12259
  option.selected = true;
12021
12260
  option.hidden = true;
12022
- add_location(option, file$2, 513, 16, 23478);
12023
- attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[18] ? "TimeoutSelectMobile" : ""));
12024
- select.disabled = select_disabled_value = /*limitsUpdateData*/ ctx[14].isModified === true;
12025
- if (/*savedData*/ ctx[56].amount === void 0) add_render_callback(select_change_handler_2);
12026
- add_location(select, file$2, 512, 14, 23236);
12261
+ add_location(option, file$2, 514, 16, 23476);
12262
+ attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[19] ? "TimeoutSelectMobile" : ""));
12263
+ select.disabled = select_disabled_value = /*limitsUpdateData*/ ctx[15].isModified === true;
12264
+ if (/*savedData*/ ctx[57].amount === void 0) add_render_callback(select_change_handler_2);
12265
+ add_location(select, file$2, 513, 14, 23234);
12027
12266
  attr_dev(div0, "class", "AccountEditLimitsInputContainer");
12028
- add_location(div0, file$2, 518, 14, 23865);
12267
+ add_location(div0, file$2, 519, 14, 23852);
12029
12268
  attr_dev(div1, "class", "AccountEditLimitsSplitSection");
12030
- add_location(div1, file$2, 510, 12, 23119);
12269
+ add_location(div1, file$2, 511, 12, 23117);
12031
12270
  },
12032
12271
  m: function mount(target, anchor) {
12033
12272
  insert_dev(target, div1, anchor);
@@ -12040,7 +12279,7 @@
12040
12279
  each_blocks[i].m(select, null);
12041
12280
  }
12042
12281
 
12043
- select_option(select, /*savedData*/ ctx[56].amount);
12282
+ select_option(select, /*savedData*/ ctx[57].amount);
12044
12283
  append_dev(div1, t3);
12045
12284
  append_dev(div1, div0);
12046
12285
  if (if_block0) if_block0.m(div0, null);
@@ -12055,7 +12294,7 @@
12055
12294
  select,
12056
12295
  "change",
12057
12296
  function () {
12058
- if (is_function(/*checkUserInputAmount*/ ctx[27](/*savedData*/ ctx[56], 0, false, /*updatedLimitValues*/ ctx[16]))) /*checkUserInputAmount*/ ctx[27](/*savedData*/ ctx[56], 0, false, /*updatedLimitValues*/ ctx[16]).apply(this, arguments);
12297
+ if (is_function(/*checkUserInputAmount*/ ctx[28](/*savedData*/ ctx[57], 0, false, /*updatedLimitValues*/ ctx[17]))) /*checkUserInputAmount*/ ctx[28](/*savedData*/ ctx[57], 0, false, /*updatedLimitValues*/ ctx[17]).apply(this, arguments);
12059
12298
  },
12060
12299
  false,
12061
12300
  false,
@@ -12069,8 +12308,8 @@
12069
12308
  p: function update(new_ctx, dirty) {
12070
12309
  ctx = new_ctx;
12071
12310
 
12072
- if (dirty[0] & /*lossLimitPredefinedValues, limitsUpdateData*/ 4210688) {
12073
- each_value_3 = /*lossLimitPredefinedValues*/ ctx[22];
12311
+ if (dirty[0] & /*lossLimitPredefinedValues, playercurrency*/ 8388672) {
12312
+ each_value_3 = /*lossLimitPredefinedValues*/ ctx[23];
12074
12313
  validate_each_argument(each_value_3);
12075
12314
  let i;
12076
12315
 
@@ -12093,19 +12332,19 @@
12093
12332
  each_blocks.length = each_value_3.length;
12094
12333
  }
12095
12334
 
12096
- if (dirty[0] & /*limitsUpdateData, periodValues*/ 8404992 && select_disabled_value !== (select_disabled_value = /*limitsUpdateData*/ ctx[14].isModified === true)) {
12335
+ if (dirty[0] & /*limitsUpdateData, periodValues*/ 16809984 && select_disabled_value !== (select_disabled_value = /*limitsUpdateData*/ ctx[15].isModified === true)) {
12097
12336
  prop_dev(select, "disabled", select_disabled_value);
12098
12337
  }
12099
12338
 
12100
- if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 4325376) {
12101
- select_option(select, /*savedData*/ ctx[56].amount);
12339
+ if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 8650752) {
12340
+ select_option(select, /*savedData*/ ctx[57].amount);
12102
12341
  }
12103
12342
 
12104
- if (/*savedData*/ ctx[56].amount === "Custom") {
12343
+ if (/*savedData*/ ctx[57].amount === "Custom") {
12105
12344
  if (if_block0) {
12106
12345
  if_block0.p(ctx, dirty);
12107
12346
  } else {
12108
- if_block0 = create_if_block_11(ctx);
12347
+ if_block0 = create_if_block_11$1(ctx);
12109
12348
  if_block0.c();
12110
12349
  if_block0.m(div0, t4);
12111
12350
  }
@@ -12114,7 +12353,7 @@
12114
12353
  if_block0 = null;
12115
12354
  }
12116
12355
 
12117
- if (/*limitsUpdateData*/ ctx[14].isModified === true) {
12356
+ if (/*limitsUpdateData*/ ctx[15].isModified === true) {
12118
12357
  if (if_block1) {
12119
12358
  if_block1.p(ctx, dirty);
12120
12359
  } else {
@@ -12141,27 +12380,26 @@
12141
12380
  block,
12142
12381
  id: create_if_block_9$1.name,
12143
12382
  type: "if",
12144
- source: "(510:10) {#if limitsUpdateData.period === savedData.periodName}",
12383
+ source: "(511:10) {#if limitsUpdateData.period === savedData.periodName}",
12145
12384
  ctx
12146
12385
  });
12147
12386
 
12148
12387
  return block;
12149
12388
  }
12150
12389
 
12151
- // (516:58) {#if selectData !== "No limit" && selectData !== "Custom"}
12390
+ // (517:58) {#if selectData !== "No limit" && selectData !== "Custom"}
12152
12391
  function create_if_block_13(ctx) {
12153
- let t_value = /*limitsUpdateData*/ ctx[14].currency + "";
12154
12392
  let t;
12155
12393
 
12156
12394
  const block = {
12157
12395
  c: function create() {
12158
- t = text(t_value);
12396
+ t = text(/*playercurrency*/ ctx[6]);
12159
12397
  },
12160
12398
  m: function mount(target, anchor) {
12161
12399
  insert_dev(target, t, anchor);
12162
12400
  },
12163
12401
  p: function update(ctx, dirty) {
12164
- if (dirty[0] & /*limitsUpdateData*/ 16384 && t_value !== (t_value = /*limitsUpdateData*/ ctx[14].currency + "")) set_data_dev(t, t_value);
12402
+ if (dirty[0] & /*playercurrency*/ 64) set_data_dev(t, /*playercurrency*/ ctx[6]);
12165
12403
  },
12166
12404
  d: function destroy(detaching) {
12167
12405
  if (detaching) detach_dev(t);
@@ -12172,20 +12410,20 @@
12172
12410
  block,
12173
12411
  id: create_if_block_13.name,
12174
12412
  type: "if",
12175
- source: "(516:58) {#if selectData !== \\\"No limit\\\" && selectData !== \\\"Custom\\\"}",
12413
+ source: "(517:58) {#if selectData !== \\\"No limit\\\" && selectData !== \\\"Custom\\\"}",
12176
12414
  ctx
12177
12415
  });
12178
12416
 
12179
12417
  return block;
12180
12418
  }
12181
12419
 
12182
- // (515:16) {#each lossLimitPredefinedValues as selectData}
12420
+ // (516:16) {#each lossLimitPredefinedValues as selectData}
12183
12421
  function create_each_block_3(ctx) {
12184
12422
  let option;
12185
- let t0_value = /*selectData*/ ctx[50] + "";
12423
+ let t0_value = /*selectData*/ ctx[51] + "";
12186
12424
  let t0;
12187
12425
  let t1;
12188
- let if_block = /*selectData*/ ctx[50] !== "No limit" && /*selectData*/ ctx[50] !== "Custom" && create_if_block_13(ctx);
12426
+ let if_block = /*selectData*/ ctx[51] !== "No limit" && /*selectData*/ ctx[51] !== "Custom" && create_if_block_13(ctx);
12189
12427
 
12190
12428
  const block = {
12191
12429
  c: function create() {
@@ -12193,9 +12431,9 @@
12193
12431
  t0 = text(t0_value);
12194
12432
  t1 = space();
12195
12433
  if (if_block) if_block.c();
12196
- option.__value = /*selectData*/ ctx[50];
12434
+ option.__value = /*selectData*/ ctx[51];
12197
12435
  option.value = option.__value;
12198
- add_location(option, file$2, 515, 18, 23620);
12436
+ add_location(option, file$2, 516, 18, 23618);
12199
12437
  },
12200
12438
  m: function mount(target, anchor) {
12201
12439
  insert_dev(target, option, anchor);
@@ -12204,7 +12442,7 @@
12204
12442
  if (if_block) if_block.m(option, null);
12205
12443
  },
12206
12444
  p: function update(ctx, dirty) {
12207
- if (/*selectData*/ ctx[50] !== "No limit" && /*selectData*/ ctx[50] !== "Custom") if_block.p(ctx, dirty);
12445
+ if (/*selectData*/ ctx[51] !== "No limit" && /*selectData*/ ctx[51] !== "Custom") if_block.p(ctx, dirty);
12208
12446
  },
12209
12447
  d: function destroy(detaching) {
12210
12448
  if (detaching) detach_dev(option);
@@ -12216,15 +12454,15 @@
12216
12454
  block,
12217
12455
  id: create_each_block_3.name,
12218
12456
  type: "each",
12219
- source: "(515:16) {#each lossLimitPredefinedValues as selectData}",
12457
+ source: "(516:16) {#each lossLimitPredefinedValues as selectData}",
12220
12458
  ctx
12221
12459
  });
12222
12460
 
12223
12461
  return block;
12224
12462
  }
12225
12463
 
12226
- // (520:16) {#if savedData.amount === "Custom"}
12227
- function create_if_block_11(ctx) {
12464
+ // (521:16) {#if savedData.amount === "Custom"}
12465
+ function create_if_block_11$1(ctx) {
12228
12466
  let input;
12229
12467
  let input_disabled_value;
12230
12468
  let t;
@@ -12233,10 +12471,10 @@
12233
12471
  let dispose;
12234
12472
 
12235
12473
  function input_input_handler_2() {
12236
- /*input_input_handler_2*/ ctx[33].call(input, /*each_value_2*/ ctx[57], /*index*/ ctx[52]);
12474
+ /*input_input_handler_2*/ ctx[34].call(input, /*each_value_2*/ ctx[58], /*index*/ ctx[53]);
12237
12475
  }
12238
12476
 
12239
- let if_block = /*invalidIndex*/ ctx[13] === true && create_if_block_12(ctx);
12477
+ let if_block = /*invalidIndex*/ ctx[14] === true && create_if_block_12$1(ctx);
12240
12478
 
12241
12479
  const block = {
12242
12480
  c: function create() {
@@ -12246,12 +12484,12 @@
12246
12484
  if_block_anchor = empty();
12247
12485
  attr_dev(input, "type", "number");
12248
12486
  attr_dev(input, "class", "AccountEditField");
12249
- input.disabled = input_disabled_value = /*limitsUpdateData*/ ctx[14].isModified === true;
12250
- add_location(input, file$2, 520, 18, 23981);
12487
+ input.disabled = input_disabled_value = /*limitsUpdateData*/ ctx[15].isModified === true;
12488
+ add_location(input, file$2, 521, 18, 23968);
12251
12489
  },
12252
12490
  m: function mount(target, anchor) {
12253
12491
  insert_dev(target, input, anchor);
12254
- set_input_value(input, /*savedData*/ ctx[56].value);
12492
+ set_input_value(input, /*savedData*/ ctx[57].value);
12255
12493
  insert_dev(target, t, anchor);
12256
12494
  if (if_block) if_block.m(target, anchor);
12257
12495
  insert_dev(target, if_block_anchor, anchor);
@@ -12262,7 +12500,7 @@
12262
12500
  input,
12263
12501
  "keyup",
12264
12502
  function () {
12265
- if (is_function(/*checkUserInputAmount*/ ctx[27](/*savedData*/ ctx[56], 0, false, /*updatedLimitValues*/ ctx[16]))) /*checkUserInputAmount*/ ctx[27](/*savedData*/ ctx[56], 0, false, /*updatedLimitValues*/ ctx[16]).apply(this, arguments);
12503
+ if (is_function(/*checkUserInputAmount*/ ctx[28](/*savedData*/ ctx[57], 0, false, /*updatedLimitValues*/ ctx[17]))) /*checkUserInputAmount*/ ctx[28](/*savedData*/ ctx[57], 0, false, /*updatedLimitValues*/ ctx[17]).apply(this, arguments);
12266
12504
  },
12267
12505
  false,
12268
12506
  false,
@@ -12277,17 +12515,17 @@
12277
12515
  p: function update(new_ctx, dirty) {
12278
12516
  ctx = new_ctx;
12279
12517
 
12280
- if (dirty[0] & /*limitsUpdateData, periodValues*/ 8404992 && input_disabled_value !== (input_disabled_value = /*limitsUpdateData*/ ctx[14].isModified === true)) {
12518
+ if (dirty[0] & /*limitsUpdateData, periodValues*/ 16809984 && input_disabled_value !== (input_disabled_value = /*limitsUpdateData*/ ctx[15].isModified === true)) {
12281
12519
  prop_dev(input, "disabled", input_disabled_value);
12282
12520
  }
12283
12521
 
12284
- if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 4325376 && to_number(input.value) !== /*savedData*/ ctx[56].value) {
12285
- set_input_value(input, /*savedData*/ ctx[56].value);
12522
+ if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 8650752 && to_number(input.value) !== /*savedData*/ ctx[57].value) {
12523
+ set_input_value(input, /*savedData*/ ctx[57].value);
12286
12524
  }
12287
12525
 
12288
- if (/*invalidIndex*/ ctx[13] === true) {
12526
+ if (/*invalidIndex*/ ctx[14] === true) {
12289
12527
  if (if_block) ; else {
12290
- if_block = create_if_block_12(ctx);
12528
+ if_block = create_if_block_12$1(ctx);
12291
12529
  if_block.c();
12292
12530
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
12293
12531
  }
@@ -12308,17 +12546,17 @@
12308
12546
 
12309
12547
  dispatch_dev("SvelteRegisterBlock", {
12310
12548
  block,
12311
- id: create_if_block_11.name,
12549
+ id: create_if_block_11$1.name,
12312
12550
  type: "if",
12313
- source: "(520:16) {#if savedData.amount === \\\"Custom\\\"}",
12551
+ source: "(521:16) {#if savedData.amount === \\\"Custom\\\"}",
12314
12552
  ctx
12315
12553
  });
12316
12554
 
12317
12555
  return block;
12318
12556
  }
12319
12557
 
12320
- // (522:18) {#if invalidIndex === true}
12321
- function create_if_block_12(ctx) {
12558
+ // (523:18) {#if invalidIndex === true}
12559
+ function create_if_block_12$1(ctx) {
12322
12560
  let p;
12323
12561
  let span;
12324
12562
 
@@ -12328,9 +12566,9 @@
12328
12566
  span = element("span");
12329
12567
  span.textContent = "The amount needs to be between 0 and 99,999,999.";
12330
12568
  attr_dev(span, "class", "InvalidInput InvalidSingleRow");
12331
- add_location(span, file$2, 523, 20, 24299);
12569
+ add_location(span, file$2, 524, 20, 24286);
12332
12570
  attr_dev(p, "class", "AccountEditWarningText");
12333
- add_location(p, file$2, 522, 18, 24244);
12571
+ add_location(p, file$2, 523, 18, 24231);
12334
12572
  },
12335
12573
  m: function mount(target, anchor) {
12336
12574
  insert_dev(target, p, anchor);
@@ -12343,16 +12581,16 @@
12343
12581
 
12344
12582
  dispatch_dev("SvelteRegisterBlock", {
12345
12583
  block,
12346
- id: create_if_block_12.name,
12584
+ id: create_if_block_12$1.name,
12347
12585
  type: "if",
12348
- source: "(522:18) {#if invalidIndex === true}",
12586
+ source: "(523:18) {#if invalidIndex === true}",
12349
12587
  ctx
12350
12588
  });
12351
12589
 
12352
12590
  return block;
12353
12591
  }
12354
12592
 
12355
- // (528:16) {#if limitsUpdateData.isModified === true}
12593
+ // (529:16) {#if limitsUpdateData.isModified === true}
12356
12594
  function create_if_block_10$1(ctx) {
12357
12595
  let p0;
12358
12596
  let t0;
@@ -12370,17 +12608,12 @@
12370
12608
  let span2;
12371
12609
  let t4;
12372
12610
 
12373
- let t5_value = (/*limitsUpdateData*/ ctx[14].currency
12374
- ? /*limitsUpdateData*/ ctx[14].currency
12375
- : "") + "";
12376
-
12377
- let t5;
12378
- let t6;
12379
-
12380
- let t7_value = (/*limitsdata*/ ctx[0].updateAmount > 0
12611
+ let t5_value = (/*limitsdata*/ ctx[0].updateAmount > 0
12381
12612
  ? /*limitsdata*/ ctx[0].updateAmount
12382
12613
  : 0) + "";
12383
12614
 
12615
+ let t5;
12616
+ let t6;
12384
12617
  let t7;
12385
12618
  let t8;
12386
12619
 
@@ -12399,17 +12632,17 @@
12399
12632
  t4 = text("Your limit has been changed or increased: ");
12400
12633
  t5 = text(t5_value);
12401
12634
  t6 = space();
12402
- t7 = text(t7_value);
12635
+ t7 = text(/*playercurrency*/ ctx[6]);
12403
12636
  t8 = text(". \u000bYou will have to wait for the expiration date for your new limit \u000bto take effect");
12404
- add_location(span0, file$2, 528, 74, 24601);
12637
+ add_location(span0, file$2, 529, 74, 24588);
12405
12638
  attr_dev(p0, "class", "AccountEditLimitsExpiryDate");
12406
- add_location(p0, file$2, 528, 18, 24545);
12639
+ add_location(p0, file$2, 529, 18, 24532);
12407
12640
  attr_dev(span1, "class", "AccountEditLimitChangePeriodIcon");
12408
- add_location(span1, file$2, 530, 23, 24804);
12409
- add_location(span2, file$2, 530, 78, 24859);
12410
- add_location(p1, file$2, 530, 20, 24801);
12641
+ add_location(span1, file$2, 531, 23, 24791);
12642
+ add_location(span2, file$2, 531, 78, 24846);
12643
+ add_location(p1, file$2, 531, 20, 24788);
12411
12644
  attr_dev(div, "class", "AccountEditLimitsPeriodChangeContainer");
12412
- add_location(div, file$2, 529, 18, 24728);
12645
+ add_location(div, file$2, 530, 18, 24715);
12413
12646
  },
12414
12647
  m: function mount(target, anchor) {
12415
12648
  insert_dev(target, p0, anchor);
@@ -12432,13 +12665,11 @@
12432
12665
  ? moment(/*limitsdata*/ ctx[0].expiryDate).format("D/M/YYYY - h:mm A")
12433
12666
  : "N/A") + "")) set_data_dev(t1, t1_value);
12434
12667
 
12435
- if (dirty[0] & /*limitsUpdateData*/ 16384 && t5_value !== (t5_value = (/*limitsUpdateData*/ ctx[14].currency
12436
- ? /*limitsUpdateData*/ ctx[14].currency
12437
- : "") + "")) set_data_dev(t5, t5_value);
12438
-
12439
- if (dirty[0] & /*limitsdata*/ 1 && t7_value !== (t7_value = (/*limitsdata*/ ctx[0].updateAmount > 0
12668
+ if (dirty[0] & /*limitsdata*/ 1 && t5_value !== (t5_value = (/*limitsdata*/ ctx[0].updateAmount > 0
12440
12669
  ? /*limitsdata*/ ctx[0].updateAmount
12441
- : 0) + "")) set_data_dev(t7, t7_value);
12670
+ : 0) + "")) set_data_dev(t5, t5_value);
12671
+
12672
+ if (dirty[0] & /*playercurrency*/ 64) set_data_dev(t7, /*playercurrency*/ ctx[6]);
12442
12673
  },
12443
12674
  d: function destroy(detaching) {
12444
12675
  if (detaching) detach_dev(p0);
@@ -12451,17 +12682,17 @@
12451
12682
  block,
12452
12683
  id: create_if_block_10$1.name,
12453
12684
  type: "if",
12454
- source: "(528:16) {#if limitsUpdateData.isModified === true}",
12685
+ source: "(529:16) {#if limitsUpdateData.isModified === true}",
12455
12686
  ctx
12456
12687
  });
12457
12688
 
12458
12689
  return block;
12459
12690
  }
12460
12691
 
12461
- // (509:8) {#each storedData as savedData, index}
12692
+ // (510:8) {#each storedData as savedData, index}
12462
12693
  function create_each_block_2(ctx) {
12463
12694
  let if_block_anchor;
12464
- let if_block = /*limitsUpdateData*/ ctx[14].period === /*savedData*/ ctx[56].periodName && create_if_block_9$1(ctx);
12695
+ let if_block = /*limitsUpdateData*/ ctx[15].period === /*savedData*/ ctx[57].periodName && create_if_block_9$1(ctx);
12465
12696
 
12466
12697
  const block = {
12467
12698
  c: function create() {
@@ -12473,7 +12704,7 @@
12473
12704
  insert_dev(target, if_block_anchor, anchor);
12474
12705
  },
12475
12706
  p: function update(ctx, dirty) {
12476
- if (/*limitsUpdateData*/ ctx[14].period === /*savedData*/ ctx[56].periodName) {
12707
+ if (/*limitsUpdateData*/ ctx[15].period === /*savedData*/ ctx[57].periodName) {
12477
12708
  if (if_block) {
12478
12709
  if_block.p(ctx, dirty);
12479
12710
  } else {
@@ -12496,14 +12727,14 @@
12496
12727
  block,
12497
12728
  id: create_each_block_2.name,
12498
12729
  type: "each",
12499
- source: "(509:8) {#each storedData as savedData, index}",
12730
+ source: "(510:8) {#each storedData as savedData, index}",
12500
12731
  ctx
12501
12732
  });
12502
12733
 
12503
12734
  return block;
12504
12735
  }
12505
12736
 
12506
- // (465:12) {#if selectData.period == storedData[index].periodName}
12737
+ // (466:12) {#if selectData.period == storedData[index].periodName}
12507
12738
  function create_if_block_2$2(ctx) {
12508
12739
  let select;
12509
12740
  let option;
@@ -12513,7 +12744,7 @@
12513
12744
  let if_block1_anchor;
12514
12745
  let mounted;
12515
12746
  let dispose;
12516
- let each_value_1 = /*depositPredefinedValues*/ ctx[21][/*index*/ ctx[52]].values;
12747
+ let each_value_1 = /*depositPredefinedValues*/ ctx[22][/*index*/ ctx[53]].values;
12517
12748
  validate_each_argument(each_value_1);
12518
12749
  let each_blocks = [];
12519
12750
 
@@ -12522,11 +12753,11 @@
12522
12753
  }
12523
12754
 
12524
12755
  function select_change_handler() {
12525
- /*select_change_handler*/ ctx[28].call(select, /*index*/ ctx[52]);
12756
+ /*select_change_handler*/ ctx[29].call(select, /*index*/ ctx[53]);
12526
12757
  }
12527
12758
 
12528
- let if_block0 = /*storedData*/ ctx[17][/*index*/ ctx[52]].amount === "Custom" && create_if_block_4$1(ctx);
12529
- let if_block1 = /*selectData*/ ctx[50].isModified === true && create_if_block_3$1(ctx);
12759
+ let if_block0 = /*storedData*/ ctx[18][/*index*/ ctx[53]].amount === "Custom" && create_if_block_4$1(ctx);
12760
+ let if_block1 = /*selectData*/ ctx[51].isModified === true && create_if_block_3$2(ctx);
12530
12761
 
12531
12762
  const block = {
12532
12763
  c: function create() {
@@ -12548,11 +12779,11 @@
12548
12779
  option.disabled = true;
12549
12780
  option.selected = true;
12550
12781
  option.hidden = true;
12551
- add_location(option, file$2, 466, 16, 19978);
12552
- attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[18] ? "TimeoutSelectMobile" : ""));
12553
- select.disabled = select_disabled_value = /*selectData*/ ctx[50].isModified === true;
12554
- if (/*storedData*/ ctx[17][/*index*/ ctx[52]].amount === void 0) add_render_callback(select_change_handler);
12555
- add_location(select, file$2, 465, 14, 19722);
12782
+ add_location(option, file$2, 467, 16, 20013);
12783
+ attr_dev(select, "class", "AccountEditField " + (/*isMobile*/ ctx[19] ? "TimeoutSelectMobile" : ""));
12784
+ select.disabled = select_disabled_value = /*selectData*/ ctx[51].isModified === true;
12785
+ if (/*storedData*/ ctx[18][/*index*/ ctx[53]].amount === void 0) add_render_callback(select_change_handler);
12786
+ add_location(select, file$2, 466, 14, 19757);
12556
12787
  },
12557
12788
  m: function mount(target, anchor) {
12558
12789
  insert_dev(target, select, anchor);
@@ -12562,7 +12793,7 @@
12562
12793
  each_blocks[i].m(select, null);
12563
12794
  }
12564
12795
 
12565
- select_option(select, /*storedData*/ ctx[17][/*index*/ ctx[52]].amount);
12796
+ select_option(select, /*storedData*/ ctx[18][/*index*/ ctx[53]].amount);
12566
12797
  insert_dev(target, t1, anchor);
12567
12798
  if (if_block0) if_block0.m(target, anchor);
12568
12799
  insert_dev(target, t2, anchor);
@@ -12576,7 +12807,7 @@
12576
12807
  select,
12577
12808
  "change",
12578
12809
  function () {
12579
- if (is_function(/*checkUserInputAmount*/ ctx[27](/*storedData*/ ctx[17][/*index*/ ctx[52]], /*index*/ ctx[52], false, /*updatedLimitValues*/ ctx[16]))) /*checkUserInputAmount*/ ctx[27](/*storedData*/ ctx[17][/*index*/ ctx[52]], /*index*/ ctx[52], false, /*updatedLimitValues*/ ctx[16]).apply(this, arguments);
12810
+ if (is_function(/*checkUserInputAmount*/ ctx[28](/*storedData*/ ctx[18][/*index*/ ctx[53]], /*index*/ ctx[53], false, /*updatedLimitValues*/ ctx[17]))) /*checkUserInputAmount*/ ctx[28](/*storedData*/ ctx[18][/*index*/ ctx[53]], /*index*/ ctx[53], false, /*updatedLimitValues*/ ctx[17]).apply(this, arguments);
12580
12811
  },
12581
12812
  false,
12582
12813
  false,
@@ -12590,8 +12821,8 @@
12590
12821
  p: function update(new_ctx, dirty) {
12591
12822
  ctx = new_ctx;
12592
12823
 
12593
- if (dirty[0] & /*depositPredefinedValues, limitname, limitsUpdateData*/ 2113568) {
12594
- each_value_1 = /*depositPredefinedValues*/ ctx[21][/*index*/ ctx[52]].values;
12824
+ if (dirty[0] & /*depositPredefinedValues, limitname, playercurrency*/ 4194400) {
12825
+ each_value_1 = /*depositPredefinedValues*/ ctx[22][/*index*/ ctx[53]].values;
12595
12826
  validate_each_argument(each_value_1);
12596
12827
  let i;
12597
12828
 
@@ -12614,15 +12845,15 @@
12614
12845
  each_blocks.length = each_value_1.length;
12615
12846
  }
12616
12847
 
12617
- if (dirty[0] & /*limitsUpdateData, periodValues*/ 8404992 && select_disabled_value !== (select_disabled_value = /*selectData*/ ctx[50].isModified === true)) {
12848
+ if (dirty[0] & /*limitsUpdateData, periodValues*/ 16809984 && select_disabled_value !== (select_disabled_value = /*selectData*/ ctx[51].isModified === true)) {
12618
12849
  prop_dev(select, "disabled", select_disabled_value);
12619
12850
  }
12620
12851
 
12621
- if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 4325376) {
12622
- select_option(select, /*storedData*/ ctx[17][/*index*/ ctx[52]].amount);
12852
+ if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 8650752) {
12853
+ select_option(select, /*storedData*/ ctx[18][/*index*/ ctx[53]].amount);
12623
12854
  }
12624
12855
 
12625
- if (/*storedData*/ ctx[17][/*index*/ ctx[52]].amount === "Custom") {
12856
+ if (/*storedData*/ ctx[18][/*index*/ ctx[53]].amount === "Custom") {
12626
12857
  if (if_block0) {
12627
12858
  if_block0.p(ctx, dirty);
12628
12859
  } else {
@@ -12635,11 +12866,11 @@
12635
12866
  if_block0 = null;
12636
12867
  }
12637
12868
 
12638
- if (/*selectData*/ ctx[50].isModified === true) {
12869
+ if (/*selectData*/ ctx[51].isModified === true) {
12639
12870
  if (if_block1) {
12640
12871
  if_block1.p(ctx, dirty);
12641
12872
  } else {
12642
- if_block1 = create_if_block_3$1(ctx);
12873
+ if_block1 = create_if_block_3$2(ctx);
12643
12874
  if_block1.c();
12644
12875
  if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
12645
12876
  }
@@ -12665,17 +12896,17 @@
12665
12896
  block,
12666
12897
  id: create_if_block_2$2.name,
12667
12898
  type: "if",
12668
- source: "(465:12) {#if selectData.period == storedData[index].periodName}",
12899
+ source: "(466:12) {#if selectData.period == storedData[index].periodName}",
12669
12900
  ctx
12670
12901
  });
12671
12902
 
12672
12903
  return block;
12673
12904
  }
12674
12905
 
12675
- // (469:66) {#if predefinedData !== "No limit" && predefinedData !== "Custom"}
12906
+ // (470:66) {#if predefinedData !== "No limit" && predefinedData !== "Custom"}
12676
12907
  function create_if_block_8$1(ctx) {
12677
12908
  let t_value = (/*limitname*/ ctx[5] !== "Time Limit"
12678
- ? /*selectData*/ ctx[50].currency
12909
+ ? /*playercurrency*/ ctx[6]
12679
12910
  : " minutes") + "";
12680
12911
 
12681
12912
  let t;
@@ -12688,8 +12919,8 @@
12688
12919
  insert_dev(target, t, anchor);
12689
12920
  },
12690
12921
  p: function update(ctx, dirty) {
12691
- if (dirty[0] & /*limitname, limitsUpdateData*/ 16416 && t_value !== (t_value = (/*limitname*/ ctx[5] !== "Time Limit"
12692
- ? /*selectData*/ ctx[50].currency
12922
+ if (dirty[0] & /*limitname, playercurrency*/ 96 && t_value !== (t_value = (/*limitname*/ ctx[5] !== "Time Limit"
12923
+ ? /*playercurrency*/ ctx[6]
12693
12924
  : " minutes") + "")) set_data_dev(t, t_value);
12694
12925
  },
12695
12926
  d: function destroy(detaching) {
@@ -12701,20 +12932,20 @@
12701
12932
  block,
12702
12933
  id: create_if_block_8$1.name,
12703
12934
  type: "if",
12704
- source: "(469:66) {#if predefinedData !== \\\"No limit\\\" && predefinedData !== \\\"Custom\\\"}",
12935
+ source: "(470:66) {#if predefinedData !== \\\"No limit\\\" && predefinedData !== \\\"Custom\\\"}",
12705
12936
  ctx
12706
12937
  });
12707
12938
 
12708
12939
  return block;
12709
12940
  }
12710
12941
 
12711
- // (468:16) {#each depositPredefinedValues[index].values as predefinedData}
12942
+ // (469:16) {#each depositPredefinedValues[index].values as predefinedData}
12712
12943
  function create_each_block_1$1(ctx) {
12713
12944
  let option;
12714
- let t0_value = /*predefinedData*/ ctx[53] + "";
12945
+ let t0_value = /*predefinedData*/ ctx[54] + "";
12715
12946
  let t0;
12716
12947
  let t1;
12717
- let if_block = /*predefinedData*/ ctx[53] !== "No limit" && /*predefinedData*/ ctx[53] !== "Custom" && create_if_block_8$1(ctx);
12948
+ let if_block = /*predefinedData*/ ctx[54] !== "No limit" && /*predefinedData*/ ctx[54] !== "Custom" && create_if_block_8$1(ctx);
12718
12949
 
12719
12950
  const block = {
12720
12951
  c: function create() {
@@ -12722,9 +12953,9 @@
12722
12953
  t0 = text(t0_value);
12723
12954
  t1 = space();
12724
12955
  if (if_block) if_block.c();
12725
- option.__value = /*predefinedData*/ ctx[53];
12956
+ option.__value = /*predefinedData*/ ctx[54];
12726
12957
  option.value = option.__value;
12727
- add_location(option, file$2, 468, 18, 20136);
12958
+ add_location(option, file$2, 469, 18, 20171);
12728
12959
  },
12729
12960
  m: function mount(target, anchor) {
12730
12961
  insert_dev(target, option, anchor);
@@ -12733,7 +12964,7 @@
12733
12964
  if (if_block) if_block.m(option, null);
12734
12965
  },
12735
12966
  p: function update(ctx, dirty) {
12736
- if (/*predefinedData*/ ctx[53] !== "No limit" && /*predefinedData*/ ctx[53] !== "Custom") if_block.p(ctx, dirty);
12967
+ if (/*predefinedData*/ ctx[54] !== "No limit" && /*predefinedData*/ ctx[54] !== "Custom") if_block.p(ctx, dirty);
12737
12968
  },
12738
12969
  d: function destroy(detaching) {
12739
12970
  if (detaching) detach_dev(option);
@@ -12745,14 +12976,14 @@
12745
12976
  block,
12746
12977
  id: create_each_block_1$1.name,
12747
12978
  type: "each",
12748
- source: "(468:16) {#each depositPredefinedValues[index].values as predefinedData}",
12979
+ source: "(469:16) {#each depositPredefinedValues[index].values as predefinedData}",
12749
12980
  ctx
12750
12981
  });
12751
12982
 
12752
12983
  return block;
12753
12984
  }
12754
12985
 
12755
- // (472:14) {#if storedData[index].amount === "Custom"}
12986
+ // (473:14) {#if storedData[index].amount === "Custom"}
12756
12987
  function create_if_block_4$1(ctx) {
12757
12988
  let if_block_anchor;
12758
12989
 
@@ -12796,14 +13027,14 @@
12796
13027
  block,
12797
13028
  id: create_if_block_4$1.name,
12798
13029
  type: "if",
12799
- source: "(472:14) {#if storedData[index].amount === \\\"Custom\\\"}",
13030
+ source: "(473:14) {#if storedData[index].amount === \\\"Custom\\\"}",
12800
13031
  ctx
12801
13032
  });
12802
13033
 
12803
13034
  return block;
12804
13035
  }
12805
13036
 
12806
- // (480:16) {:else}
13037
+ // (481:16) {:else}
12807
13038
  function create_else_block$2(ctx) {
12808
13039
  let input;
12809
13040
  let input_disabled_value;
@@ -12813,10 +13044,10 @@
12813
13044
  let dispose;
12814
13045
 
12815
13046
  function input_input_handler_1() {
12816
- /*input_input_handler_1*/ ctx[30].call(input, /*index*/ ctx[52]);
13047
+ /*input_input_handler_1*/ ctx[31].call(input, /*index*/ ctx[53]);
12817
13048
  }
12818
13049
 
12819
- let if_block = /*invalidIndexes*/ ctx[12][/*index*/ ctx[52]] == 1 && create_if_block_7$1(ctx);
13050
+ let if_block = /*invalidIndexes*/ ctx[13][/*index*/ ctx[53]] == 1 && create_if_block_7$1(ctx);
12820
13051
 
12821
13052
  const block = {
12822
13053
  c: function create() {
@@ -12826,14 +13057,14 @@
12826
13057
  if (if_block) if_block.c();
12827
13058
  attr_dev(input, "type", "number");
12828
13059
  attr_dev(input, "class", "AccountEditField");
12829
- input.disabled = input_disabled_value = /*selectData*/ ctx[50].isModified === true;
12830
- add_location(input, file$2, 480, 18, 21013);
13060
+ input.disabled = input_disabled_value = /*selectData*/ ctx[51].isModified === true;
13061
+ add_location(input, file$2, 481, 18, 21043);
12831
13062
  attr_dev(p, "class", "AccountEditWarningText");
12832
- add_location(p, file$2, 481, 18, 21243);
13063
+ add_location(p, file$2, 482, 18, 21273);
12833
13064
  },
12834
13065
  m: function mount(target, anchor) {
12835
13066
  insert_dev(target, input, anchor);
12836
- set_input_value(input, /*storedData*/ ctx[17][/*index*/ ctx[52]].value);
13067
+ set_input_value(input, /*storedData*/ ctx[18][/*index*/ ctx[53]].value);
12837
13068
  insert_dev(target, t, anchor);
12838
13069
  insert_dev(target, p, anchor);
12839
13070
  if (if_block) if_block.m(p, null);
@@ -12844,7 +13075,7 @@
12844
13075
  input,
12845
13076
  "keyup",
12846
13077
  function () {
12847
- if (is_function(/*checkUserInputAmount*/ ctx[27](/*storedData*/ ctx[17][/*index*/ ctx[52]], /*index*/ ctx[52], true, /*updatedLimitValues*/ ctx[16]))) /*checkUserInputAmount*/ ctx[27](/*storedData*/ ctx[17][/*index*/ ctx[52]], /*index*/ ctx[52], true, /*updatedLimitValues*/ ctx[16]).apply(this, arguments);
13078
+ if (is_function(/*checkUserInputAmount*/ ctx[28](/*storedData*/ ctx[18][/*index*/ ctx[53]], /*index*/ ctx[53], true, /*updatedLimitValues*/ ctx[17]))) /*checkUserInputAmount*/ ctx[28](/*storedData*/ ctx[18][/*index*/ ctx[53]], /*index*/ ctx[53], true, /*updatedLimitValues*/ ctx[17]).apply(this, arguments);
12848
13079
  },
12849
13080
  false,
12850
13081
  false,
@@ -12859,15 +13090,15 @@
12859
13090
  p: function update(new_ctx, dirty) {
12860
13091
  ctx = new_ctx;
12861
13092
 
12862
- if (dirty[0] & /*limitsUpdateData, periodValues*/ 8404992 && input_disabled_value !== (input_disabled_value = /*selectData*/ ctx[50].isModified === true)) {
13093
+ if (dirty[0] & /*limitsUpdateData, periodValues*/ 16809984 && input_disabled_value !== (input_disabled_value = /*selectData*/ ctx[51].isModified === true)) {
12863
13094
  prop_dev(input, "disabled", input_disabled_value);
12864
13095
  }
12865
13096
 
12866
- if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 4325376 && to_number(input.value) !== /*storedData*/ ctx[17][/*index*/ ctx[52]].value) {
12867
- set_input_value(input, /*storedData*/ ctx[17][/*index*/ ctx[52]].value);
13097
+ if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 8650752 && to_number(input.value) !== /*storedData*/ ctx[18][/*index*/ ctx[53]].value) {
13098
+ set_input_value(input, /*storedData*/ ctx[18][/*index*/ ctx[53]].value);
12868
13099
  }
12869
13100
 
12870
- if (/*invalidIndexes*/ ctx[12][/*index*/ ctx[52]] == 1) {
13101
+ if (/*invalidIndexes*/ ctx[13][/*index*/ ctx[53]] == 1) {
12871
13102
  if (if_block) {
12872
13103
  if_block.p(ctx, dirty);
12873
13104
  } else {
@@ -12894,14 +13125,14 @@
12894
13125
  block,
12895
13126
  id: create_else_block$2.name,
12896
13127
  type: "else",
12897
- source: "(480:16) {:else}",
13128
+ source: "(481:16) {:else}",
12898
13129
  ctx
12899
13130
  });
12900
13131
 
12901
13132
  return block;
12902
13133
  }
12903
13134
 
12904
- // (473:16) {#if limitname === "Deposit Limit"}
13135
+ // (474:16) {#if limitname === "Deposit Limit"}
12905
13136
  function create_if_block_5$1(ctx) {
12906
13137
  let input;
12907
13138
  let input_disabled_value;
@@ -12911,10 +13142,10 @@
12911
13142
  let dispose;
12912
13143
 
12913
13144
  function input_input_handler() {
12914
- /*input_input_handler*/ ctx[29].call(input, /*index*/ ctx[52]);
13145
+ /*input_input_handler*/ ctx[30].call(input, /*index*/ ctx[53]);
12915
13146
  }
12916
13147
 
12917
- let if_block = /*invalidIndexes*/ ctx[12][/*index*/ ctx[52]] == 1 && create_if_block_6$1(ctx);
13148
+ let if_block = /*invalidIndexes*/ ctx[13][/*index*/ ctx[53]] == 1 && create_if_block_6$1(ctx);
12918
13149
 
12919
13150
  const block = {
12920
13151
  c: function create() {
@@ -12924,14 +13155,14 @@
12924
13155
  if (if_block) if_block.c();
12925
13156
  attr_dev(input, "type", "number");
12926
13157
  attr_dev(input, "class", "AccountEditField");
12927
- input.disabled = input_disabled_value = /*selectData*/ ctx[50].isModified === true;
12928
- add_location(input, file$2, 473, 18, 20504);
13158
+ input.disabled = input_disabled_value = /*selectData*/ ctx[51].isModified === true;
13159
+ add_location(input, file$2, 474, 18, 20534);
12929
13160
  attr_dev(p, "class", "AccountEditWarningText");
12930
- add_location(p, file$2, 474, 18, 20735);
13161
+ add_location(p, file$2, 475, 18, 20765);
12931
13162
  },
12932
13163
  m: function mount(target, anchor) {
12933
13164
  insert_dev(target, input, anchor);
12934
- set_input_value(input, /*storedData*/ ctx[17][/*index*/ ctx[52]].value);
13165
+ set_input_value(input, /*storedData*/ ctx[18][/*index*/ ctx[53]].value);
12935
13166
  insert_dev(target, t, anchor);
12936
13167
  insert_dev(target, p, anchor);
12937
13168
  if (if_block) if_block.m(p, null);
@@ -12942,7 +13173,7 @@
12942
13173
  input,
12943
13174
  "keyup",
12944
13175
  function () {
12945
- if (is_function(/*checkUserInputAmount*/ ctx[27](/*storedData*/ ctx[17][/*index*/ ctx[52]], /*index*/ ctx[52], false, /*updatedLimitValues*/ ctx[16]))) /*checkUserInputAmount*/ ctx[27](/*storedData*/ ctx[17][/*index*/ ctx[52]], /*index*/ ctx[52], false, /*updatedLimitValues*/ ctx[16]).apply(this, arguments);
13176
+ if (is_function(/*checkUserInputAmount*/ ctx[28](/*storedData*/ ctx[18][/*index*/ ctx[53]], /*index*/ ctx[53], false, /*updatedLimitValues*/ ctx[17]))) /*checkUserInputAmount*/ ctx[28](/*storedData*/ ctx[18][/*index*/ ctx[53]], /*index*/ ctx[53], false, /*updatedLimitValues*/ ctx[17]).apply(this, arguments);
12946
13177
  },
12947
13178
  false,
12948
13179
  false,
@@ -12957,15 +13188,15 @@
12957
13188
  p: function update(new_ctx, dirty) {
12958
13189
  ctx = new_ctx;
12959
13190
 
12960
- if (dirty[0] & /*limitsUpdateData, periodValues*/ 8404992 && input_disabled_value !== (input_disabled_value = /*selectData*/ ctx[50].isModified === true)) {
13191
+ if (dirty[0] & /*limitsUpdateData, periodValues*/ 16809984 && input_disabled_value !== (input_disabled_value = /*selectData*/ ctx[51].isModified === true)) {
12961
13192
  prop_dev(input, "disabled", input_disabled_value);
12962
13193
  }
12963
13194
 
12964
- if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 4325376 && to_number(input.value) !== /*storedData*/ ctx[17][/*index*/ ctx[52]].value) {
12965
- set_input_value(input, /*storedData*/ ctx[17][/*index*/ ctx[52]].value);
13195
+ if (dirty[0] & /*storedData, lossLimitPredefinedValues*/ 8650752 && to_number(input.value) !== /*storedData*/ ctx[18][/*index*/ ctx[53]].value) {
13196
+ set_input_value(input, /*storedData*/ ctx[18][/*index*/ ctx[53]].value);
12966
13197
  }
12967
13198
 
12968
- if (/*invalidIndexes*/ ctx[12][/*index*/ ctx[52]] == 1) {
13199
+ if (/*invalidIndexes*/ ctx[13][/*index*/ ctx[53]] == 1) {
12969
13200
  if (if_block) ; else {
12970
13201
  if_block = create_if_block_6$1(ctx);
12971
13202
  if_block.c();
@@ -12990,14 +13221,14 @@
12990
13221
  block,
12991
13222
  id: create_if_block_5$1.name,
12992
13223
  type: "if",
12993
- source: "(473:16) {#if limitname === \\\"Deposit Limit\\\"}",
13224
+ source: "(474:16) {#if limitname === \\\"Deposit Limit\\\"}",
12994
13225
  ctx
12995
13226
  });
12996
13227
 
12997
13228
  return block;
12998
13229
  }
12999
13230
 
13000
- // (483:20) {#if invalidIndexes[index] == 1}
13231
+ // (484:20) {#if invalidIndexes[index] == 1}
13001
13232
  function create_if_block_7$1(ctx) {
13002
13233
  let p;
13003
13234
  let t0;
@@ -13010,12 +13241,12 @@
13010
13241
  c: function create() {
13011
13242
  p = element("p");
13012
13243
  t0 = text("The time amount needs to be greater than ");
13013
- t1 = text(/*minTimeValue*/ ctx[8]);
13244
+ t1 = text(/*minTimeValue*/ ctx[9]);
13014
13245
  t2 = text(" and below ");
13015
- t3 = text(/*maxTimeValue*/ ctx[9]);
13246
+ t3 = text(/*maxTimeValue*/ ctx[10]);
13016
13247
  t4 = text(" minutes.");
13017
13248
  attr_dev(p, "class", "InvalidInput");
13018
- add_location(p, file$2, 483, 22, 21353);
13249
+ add_location(p, file$2, 484, 22, 21383);
13019
13250
  },
13020
13251
  m: function mount(target, anchor) {
13021
13252
  insert_dev(target, p, anchor);
@@ -13026,8 +13257,8 @@
13026
13257
  append_dev(p, t4);
13027
13258
  },
13028
13259
  p: function update(ctx, dirty) {
13029
- if (dirty[0] & /*minTimeValue*/ 256) set_data_dev(t1, /*minTimeValue*/ ctx[8]);
13030
- if (dirty[0] & /*maxTimeValue*/ 512) set_data_dev(t3, /*maxTimeValue*/ ctx[9]);
13260
+ if (dirty[0] & /*minTimeValue*/ 512) set_data_dev(t1, /*minTimeValue*/ ctx[9]);
13261
+ if (dirty[0] & /*maxTimeValue*/ 1024) set_data_dev(t3, /*maxTimeValue*/ ctx[10]);
13031
13262
  },
13032
13263
  d: function destroy(detaching) {
13033
13264
  if (detaching) detach_dev(p);
@@ -13038,14 +13269,14 @@
13038
13269
  block,
13039
13270
  id: create_if_block_7$1.name,
13040
13271
  type: "if",
13041
- source: "(483:20) {#if invalidIndexes[index] == 1}",
13272
+ source: "(484:20) {#if invalidIndexes[index] == 1}",
13042
13273
  ctx
13043
13274
  });
13044
13275
 
13045
13276
  return block;
13046
13277
  }
13047
13278
 
13048
- // (476:20) {#if invalidIndexes[index] == 1}
13279
+ // (477:20) {#if invalidIndexes[index] == 1}
13049
13280
  function create_if_block_6$1(ctx) {
13050
13281
  let p;
13051
13282
 
@@ -13054,7 +13285,7 @@
13054
13285
  p = element("p");
13055
13286
  p.textContent = "The amount needs to be between 0 and 99,999,999.";
13056
13287
  attr_dev(p, "class", "InvalidInput");
13057
- add_location(p, file$2, 476, 22, 20845);
13288
+ add_location(p, file$2, 477, 22, 20875);
13058
13289
  },
13059
13290
  m: function mount(target, anchor) {
13060
13291
  insert_dev(target, p, anchor);
@@ -13068,21 +13299,21 @@
13068
13299
  block,
13069
13300
  id: create_if_block_6$1.name,
13070
13301
  type: "if",
13071
- source: "(476:20) {#if invalidIndexes[index] == 1}",
13302
+ source: "(477:20) {#if invalidIndexes[index] == 1}",
13072
13303
  ctx
13073
13304
  });
13074
13305
 
13075
13306
  return block;
13076
13307
  }
13077
13308
 
13078
- // (489:14) {#if selectData.isModified === true}
13079
- function create_if_block_3$1(ctx) {
13309
+ // (490:14) {#if selectData.isModified === true}
13310
+ function create_if_block_3$2(ctx) {
13080
13311
  let p0;
13081
13312
  let t0;
13082
13313
  let span0;
13083
13314
 
13084
- let t1_value = (/*selectData*/ ctx[50].expiryDate
13085
- ? moment(/*selectData*/ ctx[50].expiryDate).format("D/M/YYYY - h:mm A")
13315
+ let t1_value = (/*selectData*/ ctx[51].expiryDate
13316
+ ? moment(/*selectData*/ ctx[51].expiryDate).format("D/M/YYYY - h:mm A")
13086
13317
  : "N/A") + "";
13087
13318
 
13088
13319
  let t1;
@@ -13093,18 +13324,16 @@
13093
13324
  let span2;
13094
13325
  let t4;
13095
13326
 
13096
- let t5_value = (/*selectData*/ ctx[50].minutes !== undefined
13097
- ? " minutes"
13098
- : /*selectData*/ ctx[50].currency
13099
- ? /*selectData*/ ctx[50].currency
13100
- : "") + "";
13327
+ let t5_value = (/*selectData*/ ctx[51].updateAmount > 0
13328
+ ? /*selectData*/ ctx[51].updateAmount
13329
+ : 0) + "";
13101
13330
 
13102
13331
  let t5;
13103
13332
  let t6;
13104
13333
 
13105
- let t7_value = (/*selectData*/ ctx[50].updateAmount > 0
13106
- ? /*selectData*/ ctx[50].updateAmount
13107
- : 0) + "";
13334
+ let t7_value = (/*selectData*/ ctx[51].minutes !== undefined
13335
+ ? " minutes"
13336
+ : /*playercurrency*/ ctx[6]) + "";
13108
13337
 
13109
13338
  let t7;
13110
13339
  let t8;
@@ -13126,15 +13355,15 @@
13126
13355
  t6 = space();
13127
13356
  t7 = text(t7_value);
13128
13357
  t8 = text(". \u000bYou will have to wait for the expiration date for your new limit \u000bto take effect");
13129
- add_location(span0, file$2, 489, 72, 21685);
13358
+ add_location(span0, file$2, 490, 72, 21715);
13130
13359
  attr_dev(p0, "class", "AccountEditLimitsExpiryDate");
13131
- add_location(p0, file$2, 489, 16, 21629);
13360
+ add_location(p0, file$2, 490, 16, 21659);
13132
13361
  attr_dev(span1, "class", "AccountEditLimitChangePeriodIcon");
13133
- add_location(span1, file$2, 491, 21, 21884);
13134
- add_location(span2, file$2, 491, 76, 21939);
13135
- add_location(p1, file$2, 491, 18, 21881);
13362
+ add_location(span1, file$2, 492, 21, 21914);
13363
+ add_location(span2, file$2, 492, 76, 21969);
13364
+ add_location(p1, file$2, 492, 18, 21911);
13136
13365
  attr_dev(div, "class", "AccountEditLimitsPeriodChangeContainer");
13137
- add_location(div, file$2, 490, 16, 21810);
13366
+ add_location(div, file$2, 491, 16, 21840);
13138
13367
  },
13139
13368
  m: function mount(target, anchor) {
13140
13369
  insert_dev(target, p0, anchor);
@@ -13153,19 +13382,17 @@
13153
13382
  append_dev(span2, t8);
13154
13383
  },
13155
13384
  p: function update(ctx, dirty) {
13156
- if (dirty[0] & /*limitsUpdateData*/ 16384 && t1_value !== (t1_value = (/*selectData*/ ctx[50].expiryDate
13157
- ? moment(/*selectData*/ ctx[50].expiryDate).format("D/M/YYYY - h:mm A")
13385
+ if (dirty[0] & /*limitsUpdateData*/ 32768 && t1_value !== (t1_value = (/*selectData*/ ctx[51].expiryDate
13386
+ ? moment(/*selectData*/ ctx[51].expiryDate).format("D/M/YYYY - h:mm A")
13158
13387
  : "N/A") + "")) set_data_dev(t1, t1_value);
13159
13388
 
13160
- if (dirty[0] & /*limitsUpdateData*/ 16384 && t5_value !== (t5_value = (/*selectData*/ ctx[50].minutes !== undefined
13161
- ? " minutes"
13162
- : /*selectData*/ ctx[50].currency
13163
- ? /*selectData*/ ctx[50].currency
13164
- : "") + "")) set_data_dev(t5, t5_value);
13389
+ if (dirty[0] & /*limitsUpdateData*/ 32768 && t5_value !== (t5_value = (/*selectData*/ ctx[51].updateAmount > 0
13390
+ ? /*selectData*/ ctx[51].updateAmount
13391
+ : 0) + "")) set_data_dev(t5, t5_value);
13165
13392
 
13166
- if (dirty[0] & /*limitsUpdateData*/ 16384 && t7_value !== (t7_value = (/*selectData*/ ctx[50].updateAmount > 0
13167
- ? /*selectData*/ ctx[50].updateAmount
13168
- : 0) + "")) set_data_dev(t7, t7_value);
13393
+ if (dirty[0] & /*limitsUpdateData, playercurrency*/ 32832 && t7_value !== (t7_value = (/*selectData*/ ctx[51].minutes !== undefined
13394
+ ? " minutes"
13395
+ : /*playercurrency*/ ctx[6]) + "")) set_data_dev(t7, t7_value);
13169
13396
  },
13170
13397
  d: function destroy(detaching) {
13171
13398
  if (detaching) detach_dev(p0);
@@ -13176,24 +13403,24 @@
13176
13403
 
13177
13404
  dispatch_dev("SvelteRegisterBlock", {
13178
13405
  block,
13179
- id: create_if_block_3$1.name,
13406
+ id: create_if_block_3$2.name,
13180
13407
  type: "if",
13181
- source: "(489:14) {#if selectData.isModified === true}",
13408
+ source: "(490:14) {#if selectData.isModified === true}",
13182
13409
  ctx
13183
13410
  });
13184
13411
 
13185
13412
  return block;
13186
13413
  }
13187
13414
 
13188
- // (462:8) {#each limitsUpdateData as selectData, index}
13415
+ // (463:8) {#each limitsUpdateData as selectData, index}
13189
13416
  function create_each_block$1(ctx) {
13190
13417
  let div;
13191
13418
  let p;
13192
- let t0_value = /*selectData*/ ctx[50].period + "";
13419
+ let t0_value = /*selectData*/ ctx[51].period + "";
13193
13420
  let t0;
13194
13421
  let t1;
13195
13422
  let t2;
13196
- let if_block = /*selectData*/ ctx[50].period == /*storedData*/ ctx[17][/*index*/ ctx[52]].periodName && create_if_block_2$2(ctx);
13423
+ let if_block = /*selectData*/ ctx[51].period == /*storedData*/ ctx[18][/*index*/ ctx[53]].periodName && create_if_block_2$2(ctx);
13197
13424
 
13198
13425
  const block = {
13199
13426
  c: function create() {
@@ -13204,9 +13431,9 @@
13204
13431
  if (if_block) if_block.c();
13205
13432
  t2 = space();
13206
13433
  attr_dev(p, "class", "AccountEditLimitsTitle");
13207
- add_location(p, file$2, 463, 12, 19582);
13434
+ add_location(p, file$2, 464, 12, 19617);
13208
13435
  attr_dev(div, "class", "AccountEditLimitsBox");
13209
- add_location(div, file$2, 462, 10, 19535);
13436
+ add_location(div, file$2, 463, 10, 19570);
13210
13437
  },
13211
13438
  m: function mount(target, anchor) {
13212
13439
  insert_dev(target, div, anchor);
@@ -13217,9 +13444,9 @@
13217
13444
  append_dev(div, t2);
13218
13445
  },
13219
13446
  p: function update(ctx, dirty) {
13220
- if (dirty[0] & /*limitsUpdateData*/ 16384 && t0_value !== (t0_value = /*selectData*/ ctx[50].period + "")) set_data_dev(t0, t0_value);
13447
+ if (dirty[0] & /*limitsUpdateData*/ 32768 && t0_value !== (t0_value = /*selectData*/ ctx[51].period + "")) set_data_dev(t0, t0_value);
13221
13448
 
13222
- if (/*selectData*/ ctx[50].period == /*storedData*/ ctx[17][/*index*/ ctx[52]].periodName) {
13449
+ if (/*selectData*/ ctx[51].period == /*storedData*/ ctx[18][/*index*/ ctx[53]].periodName) {
13223
13450
  if (if_block) {
13224
13451
  if_block.p(ctx, dirty);
13225
13452
  } else {
@@ -13242,7 +13469,7 @@
13242
13469
  block,
13243
13470
  id: create_each_block$1.name,
13244
13471
  type: "each",
13245
- source: "(462:8) {#each limitsUpdateData as selectData, index}",
13472
+ source: "(463:8) {#each limitsUpdateData as selectData, index}",
13246
13473
  ctx
13247
13474
  });
13248
13475
 
@@ -13282,8 +13509,8 @@
13282
13509
  let mounted;
13283
13510
  let dispose;
13284
13511
  let if_block0 = /*showsuccessnotification*/ ctx[3] && create_if_block_17(ctx);
13285
- let if_block1 = /*showresetnotification*/ ctx[4] && create_if_block_14(ctx);
13286
- let if_block2 = /*showLimits*/ ctx[7] && create_if_block$2(ctx);
13512
+ let if_block1 = /*showdeletenotification*/ ctx[4] && create_if_block_14(ctx);
13513
+ let if_block2 = /*showLimits*/ ctx[8] && create_if_block$2(ctx);
13287
13514
 
13288
13515
  const block = {
13289
13516
  c: function create() {
@@ -13321,8 +13548,8 @@
13321
13548
  this.c = noop$1;
13322
13549
  attr_dev(path, "id", "Chevron_Right");
13323
13550
  attr_dev(path, "d", "M57.633,129.007L165.93,237.268c4.752,4.74,12.451,4.74,17.215,0c4.752-4.74,4.752-12.439,0-17.179\n l-99.707-99.671l99.695-99.671c4.752-4.74,4.752-12.439,0-17.191c-4.752-4.74-12.463-4.74-17.215,0L57.621,111.816\n C52.942,116.507,52.942,124.327,57.633,129.007z");
13324
- add_location(path, file$2, 425, 8, 17853);
13325
- add_location(g, file$2, 424, 6, 17841);
13551
+ add_location(path, file$2, 426, 8, 17887);
13552
+ add_location(g, file$2, 425, 6, 17875);
13326
13553
  attr_dev(svg, "version", "1.1");
13327
13554
  attr_dev(svg, "id", "Capa_1");
13328
13555
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
@@ -13334,40 +13561,40 @@
13334
13561
  attr_dev(svg, "xml:space", "preserve");
13335
13562
  attr_dev(svg, "width", "18px");
13336
13563
  attr_dev(svg, "fill", "#58586B");
13337
- add_location(svg, file$2, 422, 4, 17573);
13338
- add_location(span0, file$2, 430, 4, 18184);
13564
+ add_location(svg, file$2, 423, 4, 17607);
13565
+ add_location(span0, file$2, 431, 4, 18218);
13339
13566
  attr_dev(div0, "class", "AccountEditBackButton");
13340
- add_location(div0, file$2, 421, 2, 17498);
13341
- add_location(h6, file$2, 433, 4, 18272);
13567
+ add_location(div0, file$2, 422, 2, 17532);
13568
+ add_location(h6, file$2, 434, 4, 18306);
13342
13569
  attr_dev(span1, "class", "AccountEditLimitsIcon");
13343
- add_location(span1, file$2, 435, 6, 18364);
13344
- set_custom_element_data(player_account_gaming_limits_popup, "showpopup", /*showPopup*/ ctx[6]);
13570
+ add_location(span1, file$2, 436, 6, 18398);
13571
+ set_custom_element_data(player_account_gaming_limits_popup, "showpopup", /*showPopup*/ ctx[7]);
13345
13572
  set_custom_element_data(player_account_gaming_limits_popup, "infocontent", /*infocontent*/ ctx[2]);
13346
13573
  set_custom_element_data(player_account_gaming_limits_popup, "infoname", /*infoname*/ ctx[1]);
13347
- add_location(player_account_gaming_limits_popup, file$2, 436, 6, 18455);
13574
+ add_location(player_account_gaming_limits_popup, file$2, 437, 6, 18489);
13348
13575
  attr_dev(div1, "class", "AccountEditLimitsIconWrapper");
13349
- add_location(div1, file$2, 434, 4, 18315);
13576
+ add_location(div1, file$2, 435, 4, 18349);
13350
13577
  attr_dev(div2, "class", "AccountEditLimitsHeader");
13351
- add_location(div2, file$2, 432, 2, 18230);
13578
+ add_location(div2, file$2, 433, 2, 18264);
13352
13579
 
13353
- attr_dev(button, "class", button_class_value = "AccountEditLimitsSaveButton " + (/*hasDifferences*/ ctx[15]
13580
+ attr_dev(button, "class", button_class_value = "AccountEditLimitsSaveButton " + (/*hasDifferences*/ ctx[16]
13354
13581
  ? ""
13355
13582
  : "AccountEditLimitsButtonDisabled"));
13356
13583
 
13357
- button.disabled = button_disabled_value = !/*hasDifferences*/ ctx[15];
13358
- add_location(button, file$2, 542, 4, 25330);
13584
+ button.disabled = button_disabled_value = !/*hasDifferences*/ ctx[16];
13585
+ add_location(button, file$2, 543, 4, 25273);
13359
13586
  attr_dev(div3, "class", "AccountEditLimitsControlArea");
13360
- add_location(div3, file$2, 541, 2, 25283);
13587
+ add_location(div3, file$2, 542, 2, 25226);
13361
13588
 
13362
- attr_dev(div4, "class", "AccountEditLimitsWrapper " + (/*isMobile*/ ctx[18]
13589
+ attr_dev(div4, "class", "AccountEditLimitsWrapper " + (/*isMobile*/ ctx[19]
13363
13590
  ? "AccountEditLimitsMobileWrapper"
13364
13591
  : ""));
13365
13592
 
13366
- add_location(div4, file$2, 420, 0, 17406);
13367
- set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modaltext", /*changeLimitsText*/ ctx[10]);
13593
+ add_location(div4, file$2, 421, 0, 17440);
13594
+ set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modaltext", /*changeLimitsText*/ ctx[11]);
13368
13595
  set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modalsource", "groupEdit");
13369
- add_location(player_account_gaming_limits_confirmation_modal, file$2, 547, 2, 25561);
13370
- add_location(player_account_modal, file$2, 546, 0, 25536);
13596
+ add_location(player_account_gaming_limits_confirmation_modal, file$2, 548, 2, 25504);
13597
+ add_location(player_account_modal, file$2, 547, 0, 25479);
13371
13598
  },
13372
13599
  l: function claim(nodes) {
13373
13600
  throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
@@ -13405,9 +13632,9 @@
13405
13632
 
13406
13633
  if (!mounted) {
13407
13634
  dispose = [
13408
- listen_dev(div0, "click", /*switchToLimitsGroupView*/ ctx[25], false, false, false),
13409
- listen_dev(span1, "click", prevent_default(/*openInfoPopup*/ ctx[24]), false, true, false),
13410
- listen_dev(button, "click", /*click_handler*/ ctx[34], false, false, false)
13635
+ listen_dev(div0, "click", /*switchToLimitsGroupView*/ ctx[26], false, false, false),
13636
+ listen_dev(span1, "click", prevent_default(/*openInfoPopup*/ ctx[25]), false, true, false),
13637
+ listen_dev(button, "click", /*click_handler*/ ctx[35], false, false, false)
13411
13638
  ];
13412
13639
 
13413
13640
  mounted = true;
@@ -13416,8 +13643,8 @@
13416
13643
  p: function update(ctx, dirty) {
13417
13644
  if (dirty[0] & /*limitsdata, limitname*/ 33 && t3_value !== (t3_value = (/*limitsdata*/ ctx[0] ? /*limitname*/ ctx[5] : "") + "")) set_data_dev(t3, t3_value);
13418
13645
 
13419
- if (dirty[0] & /*showPopup*/ 64) {
13420
- set_custom_element_data(player_account_gaming_limits_popup, "showpopup", /*showPopup*/ ctx[6]);
13646
+ if (dirty[0] & /*showPopup*/ 128) {
13647
+ set_custom_element_data(player_account_gaming_limits_popup, "showpopup", /*showPopup*/ ctx[7]);
13421
13648
  }
13422
13649
 
13423
13650
  if (dirty[0] & /*infocontent*/ 4) {
@@ -13441,7 +13668,7 @@
13441
13668
  if_block0 = null;
13442
13669
  }
13443
13670
 
13444
- if (/*showresetnotification*/ ctx[4]) {
13671
+ if (/*showdeletenotification*/ ctx[4]) {
13445
13672
  if (if_block1) {
13446
13673
  if_block1.p(ctx, dirty);
13447
13674
  } else {
@@ -13454,7 +13681,7 @@
13454
13681
  if_block1 = null;
13455
13682
  }
13456
13683
 
13457
- if (/*showLimits*/ ctx[7]) {
13684
+ if (/*showLimits*/ ctx[8]) {
13458
13685
  if (if_block2) {
13459
13686
  if_block2.p(ctx, dirty);
13460
13687
  } else {
@@ -13467,18 +13694,18 @@
13467
13694
  if_block2 = null;
13468
13695
  }
13469
13696
 
13470
- if (dirty[0] & /*hasDifferences*/ 32768 && button_class_value !== (button_class_value = "AccountEditLimitsSaveButton " + (/*hasDifferences*/ ctx[15]
13697
+ if (dirty[0] & /*hasDifferences*/ 65536 && button_class_value !== (button_class_value = "AccountEditLimitsSaveButton " + (/*hasDifferences*/ ctx[16]
13471
13698
  ? ""
13472
13699
  : "AccountEditLimitsButtonDisabled"))) {
13473
13700
  attr_dev(button, "class", button_class_value);
13474
13701
  }
13475
13702
 
13476
- if (dirty[0] & /*hasDifferences*/ 32768 && button_disabled_value !== (button_disabled_value = !/*hasDifferences*/ ctx[15])) {
13703
+ if (dirty[0] & /*hasDifferences*/ 65536 && button_disabled_value !== (button_disabled_value = !/*hasDifferences*/ ctx[16])) {
13477
13704
  prop_dev(button, "disabled", button_disabled_value);
13478
13705
  }
13479
13706
 
13480
- if (dirty[0] & /*changeLimitsText*/ 1024) {
13481
- set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modaltext", /*changeLimitsText*/ ctx[10]);
13707
+ if (dirty[0] & /*changeLimitsText*/ 2048) {
13708
+ set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modaltext", /*changeLimitsText*/ ctx[11]);
13482
13709
  }
13483
13710
  },
13484
13711
  i: noop$1,
@@ -13513,8 +13740,9 @@
13513
13740
  let { infoname = "" } = $$props;
13514
13741
  let { infocontent = "" } = $$props;
13515
13742
  let { showsuccessnotification = false } = $$props;
13516
- let { showresetnotification = false } = $$props;
13743
+ let { showdeletenotification = false } = $$props;
13517
13744
  let { limitname = "" } = $$props;
13745
+ let { playercurrency = "" } = $$props;
13518
13746
  let showPopup = false;
13519
13747
  let showLimits = true;
13520
13748
  let saveChangesConfirmed = false;
@@ -13608,7 +13836,7 @@
13608
13836
  let periodValues = ["Daily", "Weekly", "Monthly"];
13609
13837
 
13610
13838
  const openInfoPopup = () => {
13611
- $$invalidate(6, showPopup = true);
13839
+ $$invalidate(7, showPopup = true);
13612
13840
  };
13613
13841
 
13614
13842
  const switchToLimitsGroupView = () => {
@@ -13643,7 +13871,7 @@
13643
13871
  } else {
13644
13872
  storedData.forEach(data => {
13645
13873
  if (limitsUpdateData.period === data.periodName) {
13646
- $$invalidate(14, limitsUpdateData.amount = data.value, limitsUpdateData);
13874
+ $$invalidate(15, limitsUpdateData.amount = data.value, limitsUpdateData);
13647
13875
  }
13648
13876
  });
13649
13877
  }
@@ -13689,7 +13917,7 @@
13689
13917
  );
13690
13918
  }
13691
13919
 
13692
- $$invalidate(15, hasDifferences = false);
13920
+ $$invalidate(16, hasDifferences = false);
13693
13921
  }
13694
13922
  };
13695
13923
 
@@ -13699,111 +13927,111 @@
13699
13927
  switch (data.amount) {
13700
13928
  case "Custom":
13701
13929
  if (limitname == "Time Limit") {
13702
- $$invalidate(8, minTimeValue = 60);
13930
+ $$invalidate(9, minTimeValue = 60);
13703
13931
 
13704
13932
  if (data.periodName === "Daily") {
13705
- $$invalidate(9, maxTimeValue = 1440);
13933
+ $$invalidate(10, maxTimeValue = 1440);
13706
13934
  } else if (data.periodName == "Weekly") {
13707
- $$invalidate(9, maxTimeValue = 10080);
13935
+ $$invalidate(10, maxTimeValue = 10080);
13708
13936
  } else {
13709
- $$invalidate(9, maxTimeValue = 43200);
13937
+ $$invalidate(10, maxTimeValue = 43200);
13710
13938
  }
13711
13939
 
13712
13940
  if (data.value && regexValidators.time.test(data.value) && (data.value > minTimeValue && data.value <= maxTimeValue)) {
13713
- $$invalidate(12, invalidIndexes[index] = 0, invalidIndexes);
13941
+ $$invalidate(13, invalidIndexes[index] = 0, invalidIndexes);
13714
13942
  let item = referenceArray[index];
13715
13943
 
13716
13944
  if (data.periodName == item.period && data.value == item.amount) {
13717
- $$invalidate(15, hasDifferences = false);
13945
+ $$invalidate(16, hasDifferences = false);
13718
13946
  updateValues(data, referenceArray);
13719
13947
  } else {
13720
- $$invalidate(15, hasDifferences = true);
13948
+ $$invalidate(16, hasDifferences = true);
13721
13949
  }
13722
13950
  } else {
13723
- $$invalidate(12, invalidIndexes[index] = 1, invalidIndexes);
13724
- $$invalidate(15, hasDifferences = false);
13951
+ $$invalidate(13, invalidIndexes[index] = 1, invalidIndexes);
13952
+ $$invalidate(16, hasDifferences = false);
13725
13953
  }
13726
13954
  } else if (data.value && regexValidators.amount.test(data.value)) {
13727
- $$invalidate(12, invalidIndexes[index] = 0, invalidIndexes);
13955
+ $$invalidate(13, invalidIndexes[index] = 0, invalidIndexes);
13728
13956
 
13729
13957
  if (data.periodName == referenceArray[index].period && data.value == referenceArray[index].amount) {
13730
- $$invalidate(15, hasDifferences = hasDifferences ? true : false);
13958
+ $$invalidate(16, hasDifferences = hasDifferences ? true : false);
13731
13959
  updateValues(data, referenceArray);
13732
13960
  } else {
13733
- $$invalidate(15, hasDifferences = true);
13961
+ $$invalidate(16, hasDifferences = true);
13734
13962
  }
13735
13963
 
13736
13964
  // for deposit limits, check if all limits are different from 0 before allowing any data submission
13737
13965
  storedData.forEach(dataSet => {
13738
13966
  if (dataSet.value == 0) {
13739
- $$invalidate(15, hasDifferences = false);
13967
+ $$invalidate(16, hasDifferences = false);
13740
13968
  }
13741
13969
  });
13742
13970
  } else {
13743
- $$invalidate(12, invalidIndexes[index] = 1, invalidIndexes);
13744
- $$invalidate(15, hasDifferences = false);
13971
+ $$invalidate(13, invalidIndexes[index] = 1, invalidIndexes);
13972
+ $$invalidate(16, hasDifferences = false);
13745
13973
  }
13746
13974
  break;
13747
13975
  default:
13748
13976
  if (data.periodName == referenceArray[index].period) {
13749
13977
  updateValues(data, referenceArray);
13750
13978
 
13751
- $$invalidate(15, hasDifferences = data.value == referenceArray[index].amount
13979
+ $$invalidate(16, hasDifferences = data.value == referenceArray[index].amount
13752
13980
  ? false
13753
13981
  : true);
13754
13982
  } else {
13755
- $$invalidate(15, hasDifferences = true);
13983
+ $$invalidate(16, hasDifferences = true);
13756
13984
  }
13757
13985
  // for deposit limits, check if all limits are different from 0 before allowing any data submission
13758
13986
  storedData.forEach(dataSet => {
13759
13987
  if (dataSet.value == 0) {
13760
- $$invalidate(15, hasDifferences = false);
13988
+ $$invalidate(16, hasDifferences = false);
13761
13989
  }
13762
13990
  });
13763
13991
  break;
13764
13992
  }
13765
13993
  } else {
13766
13994
  if (limitsUpdateData.period != referenceArray.period) {
13767
- $$invalidate(15, hasDifferences = true);
13995
+ $$invalidate(16, hasDifferences = true);
13768
13996
 
13769
13997
  if (data.amount == "Custom") {
13770
13998
  if (data.value && regexValidators.amount.test(data.value)) {
13771
- $$invalidate(13, invalidIndex = false);
13999
+ $$invalidate(14, invalidIndex = false);
13772
14000
 
13773
14001
  if (limitsUpdateData.period == referenceArray.period && data.value == referenceArray.amount) {
13774
- $$invalidate(15, hasDifferences = false);
14002
+ $$invalidate(16, hasDifferences = false);
13775
14003
  updateValues(data, referenceArray);
13776
14004
  } else {
13777
- $$invalidate(15, hasDifferences = true);
14005
+ $$invalidate(16, hasDifferences = true);
13778
14006
  }
13779
14007
  } else {
13780
- $$invalidate(13, invalidIndex = true);
13781
- $$invalidate(15, hasDifferences = false);
14008
+ $$invalidate(14, invalidIndex = true);
14009
+ $$invalidate(16, hasDifferences = false);
13782
14010
  }
13783
14011
  }
13784
14012
  } else {
13785
14013
  switch (data.amount) {
13786
14014
  case "Custom":
13787
14015
  if (data.value && regexValidators.amount.test(data.value)) {
13788
- $$invalidate(13, invalidIndex = false);
14016
+ $$invalidate(14, invalidIndex = false);
13789
14017
 
13790
14018
  if (limitsUpdateData.period == referenceArray.period && data.value == referenceArray.amount) {
13791
- $$invalidate(15, hasDifferences = hasDifferences ? true : false);
14019
+ $$invalidate(16, hasDifferences = hasDifferences ? true : false);
13792
14020
  updateValues(data, referenceArray);
13793
14021
  } else {
13794
- $$invalidate(15, hasDifferences = true);
14022
+ $$invalidate(16, hasDifferences = true);
13795
14023
  }
13796
14024
  } else {
13797
- $$invalidate(13, invalidIndex = true);
13798
- $$invalidate(15, hasDifferences = false);
14025
+ $$invalidate(14, invalidIndex = true);
14026
+ $$invalidate(16, hasDifferences = false);
13799
14027
  }
13800
14028
  break;
13801
14029
  default:
13802
14030
  if (limitsUpdateData.period == referenceArray.period) {
13803
14031
  updateValues(data, referenceArray);
13804
- $$invalidate(15, hasDifferences = data.value == referenceArray.amount ? false : true);
14032
+ $$invalidate(16, hasDifferences = data.value == referenceArray.amount ? false : true);
13805
14033
  } else {
13806
- $$invalidate(15, hasDifferences = true);
14034
+ $$invalidate(16, hasDifferences = true);
13807
14035
  }
13808
14036
  break;
13809
14037
  }
@@ -13881,14 +14109,14 @@
13881
14109
  currentLimitType.forEach(defaultValuesData => {
13882
14110
  if (dataSet.period === defaultValuesData.periodName) {
13883
14111
  if (limitname === "Time Limit") {
13884
- $$invalidate(8, minTimeValue = 60);
14112
+ $$invalidate(9, minTimeValue = 60);
13885
14113
 
13886
14114
  if (dataSet.periodName === "Daily") {
13887
- $$invalidate(9, maxTimeValue = 1440);
14115
+ $$invalidate(10, maxTimeValue = 1440);
13888
14116
  } else if (dataSet.periodName == "Weekly") {
13889
- $$invalidate(9, maxTimeValue = 10080);
14117
+ $$invalidate(10, maxTimeValue = 10080);
13890
14118
  } else {
13891
- $$invalidate(9, maxTimeValue = 43200);
14119
+ $$invalidate(10, maxTimeValue = 43200);
13892
14120
  }
13893
14121
  }
13894
14122
 
@@ -13936,12 +14164,12 @@
13936
14164
  ? "wagering limit"
13937
14165
  : "loss limit";
13938
14166
 
13939
- $$invalidate(10, changeLimitsText = `Are you sure you want to change the ${limitType}s?`);
14167
+ $$invalidate(11, changeLimitsText = `Are you sure you want to change the ${limitType}s?`);
13940
14168
  };
13941
14169
 
13942
14170
  const initialLoad = () => {
13943
14171
  setLimitModalTexts();
13944
- $$invalidate(11, isArray = Array.isArray(limitsdata));
14172
+ $$invalidate(12, isArray = Array.isArray(limitsdata));
13945
14173
 
13946
14174
  // add currency EUR by default, if the data does not have a set currency
13947
14175
  if (isArray) {
@@ -13953,10 +14181,10 @@
13953
14181
  }
13954
14182
 
13955
14183
  // used for validation
13956
- $$invalidate(16, updatedLimitValues = JSON.parse(JSON.stringify(limitsdata)));
14184
+ $$invalidate(17, updatedLimitValues = JSON.parse(JSON.stringify(limitsdata)));
13957
14185
 
13958
14186
  // use limitsUpdateData in order to populate select & input fields
13959
- $$invalidate(14, limitsUpdateData = JSON.parse(JSON.stringify(limitsdata)));
14187
+ $$invalidate(15, limitsUpdateData = JSON.parse(JSON.stringify(limitsdata)));
13960
14188
 
13961
14189
  // extra check - if there are values outside the array set, automatically set them to Custom value and populate the appropriate input field
13962
14190
  currentLimitType = limitname === "Wagering Limit"
@@ -13977,23 +14205,23 @@
13977
14205
  if (e.data) {
13978
14206
  switch (e.data.type) {
13979
14207
  case "ClosePlayerAccountGamingLimitsPopup":
13980
- $$invalidate(6, showPopup = false);
14208
+ $$invalidate(7, showPopup = false);
13981
14209
  break;
13982
14210
  case "GamingLimitsConfirmChanges":
13983
14211
  saveChangesConfirmed = true;
13984
14212
  saveLimits();
13985
14213
  break;
13986
14214
  case "CancelGamingLimitsChanges":
13987
- $$invalidate(7, showLimits = false);
14215
+ $$invalidate(8, showLimits = false);
13988
14216
  // rerender select in order to reset select values
13989
14217
  setTimeout(
13990
14218
  () => {
13991
- $$invalidate(7, showLimits = true);
14219
+ $$invalidate(8, showLimits = true);
13992
14220
  },
13993
14221
  10
13994
14222
  );
13995
14223
  initialLoad();
13996
- $$invalidate(15, hasDifferences = false);
14224
+ $$invalidate(16, hasDifferences = false);
13997
14225
  saveChangesConfirmed = false;
13998
14226
  break;
13999
14227
  }
@@ -14013,8 +14241,9 @@
14013
14241
  "infoname",
14014
14242
  "infocontent",
14015
14243
  "showsuccessnotification",
14016
- "showresetnotification",
14017
- "limitname"
14244
+ "showdeletenotification",
14245
+ "limitname",
14246
+ "playercurrency"
14018
14247
  ];
14019
14248
 
14020
14249
  Object.keys($$props).forEach(key => {
@@ -14023,38 +14252,38 @@
14023
14252
 
14024
14253
  function select_change_handler(index) {
14025
14254
  storedData[index].amount = select_value(this);
14026
- $$invalidate(17, storedData);
14027
- $$invalidate(22, lossLimitPredefinedValues);
14255
+ $$invalidate(18, storedData);
14256
+ $$invalidate(23, lossLimitPredefinedValues);
14028
14257
  }
14029
14258
 
14030
14259
  function input_input_handler(index) {
14031
14260
  storedData[index].value = to_number(this.value);
14032
- $$invalidate(17, storedData);
14033
- $$invalidate(22, lossLimitPredefinedValues);
14261
+ $$invalidate(18, storedData);
14262
+ $$invalidate(23, lossLimitPredefinedValues);
14034
14263
  }
14035
14264
 
14036
14265
  function input_input_handler_1(index) {
14037
14266
  storedData[index].value = to_number(this.value);
14038
- $$invalidate(17, storedData);
14039
- $$invalidate(22, lossLimitPredefinedValues);
14267
+ $$invalidate(18, storedData);
14268
+ $$invalidate(23, lossLimitPredefinedValues);
14040
14269
  }
14041
14270
 
14042
14271
  function select_change_handler_1() {
14043
14272
  limitsUpdateData.period = select_value(this);
14044
- $$invalidate(14, limitsUpdateData);
14045
- $$invalidate(23, periodValues);
14273
+ $$invalidate(15, limitsUpdateData);
14274
+ $$invalidate(24, periodValues);
14046
14275
  }
14047
14276
 
14048
14277
  function select_change_handler_2(each_value_2, index) {
14049
14278
  each_value_2[index].amount = select_value(this);
14050
- $$invalidate(17, storedData);
14051
- $$invalidate(22, lossLimitPredefinedValues);
14279
+ $$invalidate(18, storedData);
14280
+ $$invalidate(23, lossLimitPredefinedValues);
14052
14281
  }
14053
14282
 
14054
14283
  function input_input_handler_2(each_value_2, index) {
14055
14284
  each_value_2[index].value = to_number(this.value);
14056
- $$invalidate(17, storedData);
14057
- $$invalidate(22, lossLimitPredefinedValues);
14285
+ $$invalidate(18, storedData);
14286
+ $$invalidate(23, lossLimitPredefinedValues);
14058
14287
  }
14059
14288
 
14060
14289
  const click_handler = () => confirmGamingLimitsChanges();
@@ -14064,8 +14293,9 @@
14064
14293
  if ("infoname" in $$props) $$invalidate(1, infoname = $$props.infoname);
14065
14294
  if ("infocontent" in $$props) $$invalidate(2, infocontent = $$props.infocontent);
14066
14295
  if ("showsuccessnotification" in $$props) $$invalidate(3, showsuccessnotification = $$props.showsuccessnotification);
14067
- if ("showresetnotification" in $$props) $$invalidate(4, showresetnotification = $$props.showresetnotification);
14296
+ if ("showdeletenotification" in $$props) $$invalidate(4, showdeletenotification = $$props.showdeletenotification);
14068
14297
  if ("limitname" in $$props) $$invalidate(5, limitname = $$props.limitname);
14298
+ if ("playercurrency" in $$props) $$invalidate(6, playercurrency = $$props.playercurrency);
14069
14299
  };
14070
14300
 
14071
14301
  $$self.$capture_state = () => ({
@@ -14076,8 +14306,9 @@
14076
14306
  infoname,
14077
14307
  infocontent,
14078
14308
  showsuccessnotification,
14079
- showresetnotification,
14309
+ showdeletenotification,
14080
14310
  limitname,
14311
+ playercurrency,
14081
14312
  showPopup,
14082
14313
  showLimits,
14083
14314
  saveChangesConfirmed,
@@ -14122,32 +14353,33 @@
14122
14353
  if ("infoname" in $$props) $$invalidate(1, infoname = $$props.infoname);
14123
14354
  if ("infocontent" in $$props) $$invalidate(2, infocontent = $$props.infocontent);
14124
14355
  if ("showsuccessnotification" in $$props) $$invalidate(3, showsuccessnotification = $$props.showsuccessnotification);
14125
- if ("showresetnotification" in $$props) $$invalidate(4, showresetnotification = $$props.showresetnotification);
14356
+ if ("showdeletenotification" in $$props) $$invalidate(4, showdeletenotification = $$props.showdeletenotification);
14126
14357
  if ("limitname" in $$props) $$invalidate(5, limitname = $$props.limitname);
14127
- if ("showPopup" in $$props) $$invalidate(6, showPopup = $$props.showPopup);
14128
- if ("showLimits" in $$props) $$invalidate(7, showLimits = $$props.showLimits);
14358
+ if ("playercurrency" in $$props) $$invalidate(6, playercurrency = $$props.playercurrency);
14359
+ if ("showPopup" in $$props) $$invalidate(7, showPopup = $$props.showPopup);
14360
+ if ("showLimits" in $$props) $$invalidate(8, showLimits = $$props.showLimits);
14129
14361
  if ("saveChangesConfirmed" in $$props) saveChangesConfirmed = $$props.saveChangesConfirmed;
14130
- if ("minTimeValue" in $$props) $$invalidate(8, minTimeValue = $$props.minTimeValue);
14131
- if ("maxTimeValue" in $$props) $$invalidate(9, maxTimeValue = $$props.maxTimeValue);
14132
- if ("changeLimitsText" in $$props) $$invalidate(10, changeLimitsText = $$props.changeLimitsText);
14362
+ if ("minTimeValue" in $$props) $$invalidate(9, minTimeValue = $$props.minTimeValue);
14363
+ if ("maxTimeValue" in $$props) $$invalidate(10, maxTimeValue = $$props.maxTimeValue);
14364
+ if ("changeLimitsText" in $$props) $$invalidate(11, changeLimitsText = $$props.changeLimitsText);
14133
14365
  if ("userAgent" in $$props) userAgent = $$props.userAgent;
14134
- if ("isMobile" in $$props) $$invalidate(18, isMobile = $$props.isMobile);
14135
- if ("isArray" in $$props) $$invalidate(11, isArray = $$props.isArray);
14136
- if ("invalidIndexes" in $$props) $$invalidate(12, invalidIndexes = $$props.invalidIndexes);
14137
- if ("invalidIndex" in $$props) $$invalidate(13, invalidIndex = $$props.invalidIndex);
14138
- if ("successText" in $$props) $$invalidate(19, successText = $$props.successText);
14139
- if ("removeText" in $$props) $$invalidate(20, removeText = $$props.removeText);
14140
- if ("limitsUpdateData" in $$props) $$invalidate(14, limitsUpdateData = $$props.limitsUpdateData);
14366
+ if ("isMobile" in $$props) $$invalidate(19, isMobile = $$props.isMobile);
14367
+ if ("isArray" in $$props) $$invalidate(12, isArray = $$props.isArray);
14368
+ if ("invalidIndexes" in $$props) $$invalidate(13, invalidIndexes = $$props.invalidIndexes);
14369
+ if ("invalidIndex" in $$props) $$invalidate(14, invalidIndex = $$props.invalidIndex);
14370
+ if ("successText" in $$props) $$invalidate(20, successText = $$props.successText);
14371
+ if ("removeText" in $$props) $$invalidate(21, removeText = $$props.removeText);
14372
+ if ("limitsUpdateData" in $$props) $$invalidate(15, limitsUpdateData = $$props.limitsUpdateData);
14141
14373
  if ("currentLimitType" in $$props) currentLimitType = $$props.currentLimitType;
14142
- if ("hasDifferences" in $$props) $$invalidate(15, hasDifferences = $$props.hasDifferences);
14143
- if ("updatedLimitValues" in $$props) $$invalidate(16, updatedLimitValues = $$props.updatedLimitValues);
14374
+ if ("hasDifferences" in $$props) $$invalidate(16, hasDifferences = $$props.hasDifferences);
14375
+ if ("updatedLimitValues" in $$props) $$invalidate(17, updatedLimitValues = $$props.updatedLimitValues);
14144
14376
  if ("validCurrentAmount" in $$props) validCurrentAmount = $$props.validCurrentAmount;
14145
- if ("storedData" in $$props) $$invalidate(17, storedData = $$props.storedData);
14146
- if ("depositPredefinedValues" in $$props) $$invalidate(21, depositPredefinedValues = $$props.depositPredefinedValues);
14377
+ if ("storedData" in $$props) $$invalidate(18, storedData = $$props.storedData);
14378
+ if ("depositPredefinedValues" in $$props) $$invalidate(22, depositPredefinedValues = $$props.depositPredefinedValues);
14147
14379
  if ("wageringLimitPredefinedValues" in $$props) wageringLimitPredefinedValues = $$props.wageringLimitPredefinedValues;
14148
- if ("lossLimitPredefinedValues" in $$props) $$invalidate(22, lossLimitPredefinedValues = $$props.lossLimitPredefinedValues);
14380
+ if ("lossLimitPredefinedValues" in $$props) $$invalidate(23, lossLimitPredefinedValues = $$props.lossLimitPredefinedValues);
14149
14381
  if ("timeLimitPredefinedValues" in $$props) timeLimitPredefinedValues = $$props.timeLimitPredefinedValues;
14150
- if ("periodValues" in $$props) $$invalidate(23, periodValues = $$props.periodValues);
14382
+ if ("periodValues" in $$props) $$invalidate(24, periodValues = $$props.periodValues);
14151
14383
  };
14152
14384
 
14153
14385
  if ($$props && "$$inject" in $$props) {
@@ -14155,8 +14387,8 @@
14155
14387
  }
14156
14388
 
14157
14389
  $$self.$$.update = () => {
14158
- if ($$self.$$.dirty[0] & /*showsuccessnotification, showresetnotification*/ 24) {
14159
- showsuccessnotification && showresetnotification && initialLoad();
14390
+ if ($$self.$$.dirty[0] & /*showsuccessnotification, showdeletenotification*/ 24) {
14391
+ showsuccessnotification && showdeletenotification && initialLoad();
14160
14392
  }
14161
14393
 
14162
14394
  if ($$self.$$.dirty[0] & /*limitsdata, infoname, infocontent*/ 7) {
@@ -14169,8 +14401,9 @@
14169
14401
  infoname,
14170
14402
  infocontent,
14171
14403
  showsuccessnotification,
14172
- showresetnotification,
14404
+ showdeletenotification,
14173
14405
  limitname,
14406
+ playercurrency,
14174
14407
  showPopup,
14175
14408
  showLimits,
14176
14409
  minTimeValue,
@@ -14223,8 +14456,9 @@
14223
14456
  infoname: 1,
14224
14457
  infocontent: 2,
14225
14458
  showsuccessnotification: 3,
14226
- showresetnotification: 4,
14227
- limitname: 5
14459
+ showdeletenotification: 4,
14460
+ limitname: 5,
14461
+ playercurrency: 6
14228
14462
  },
14229
14463
  [-1, -1, -1]
14230
14464
  );
@@ -14247,8 +14481,9 @@
14247
14481
  "infoname",
14248
14482
  "infocontent",
14249
14483
  "showsuccessnotification",
14250
- "showresetnotification",
14251
- "limitname"
14484
+ "showdeletenotification",
14485
+ "limitname",
14486
+ "playercurrency"
14252
14487
  ];
14253
14488
  }
14254
14489
 
@@ -14288,12 +14523,12 @@
14288
14523
  flush();
14289
14524
  }
14290
14525
 
14291
- get showresetnotification() {
14526
+ get showdeletenotification() {
14292
14527
  return this.$$.ctx[4];
14293
14528
  }
14294
14529
 
14295
- set showresetnotification(showresetnotification) {
14296
- this.$set({ showresetnotification });
14530
+ set showdeletenotification(showdeletenotification) {
14531
+ this.$set({ showdeletenotification });
14297
14532
  flush();
14298
14533
  }
14299
14534
 
@@ -14305,6 +14540,15 @@
14305
14540
  this.$set({ limitname });
14306
14541
  flush();
14307
14542
  }
14543
+
14544
+ get playercurrency() {
14545
+ return this.$$.ctx[6];
14546
+ }
14547
+
14548
+ set playercurrency(playercurrency) {
14549
+ this.$set({ playercurrency });
14550
+ flush();
14551
+ }
14308
14552
  }
14309
14553
 
14310
14554
  !customElements.get('player-account-gaming-limits-group-edit') && customElements.define('player-account-gaming-limits-group-edit', PlayerAccountGamingLimitsGroupEdit);
@@ -14314,17 +14558,19 @@
14314
14558
 
14315
14559
  function get_each_context_1(ctx, list, i) {
14316
14560
  const child_ctx = ctx.slice();
14317
- child_ctx[29] = list[i];
14561
+ child_ctx[35] = list[i];
14562
+ child_ctx[37] = i;
14318
14563
  return child_ctx;
14319
14564
  }
14320
14565
 
14321
14566
  function get_each_context(ctx, list, i) {
14322
14567
  const child_ctx = ctx.slice();
14323
- child_ctx[29] = list[i];
14568
+ child_ctx[35] = list[i];
14569
+ child_ctx[37] = i;
14324
14570
  return child_ctx;
14325
14571
  }
14326
14572
 
14327
- // (165:0) {:else}
14573
+ // (177:0) {:else}
14328
14574
  function create_else_block$1(ctx) {
14329
14575
  let div7;
14330
14576
  let div6;
@@ -14337,6 +14583,7 @@
14337
14583
  let span;
14338
14584
  let t3;
14339
14585
  let player_account_gaming_limits_popup;
14586
+ let player_account_gaming_limits_popup_showpopup_value;
14340
14587
  let t4;
14341
14588
  let div5;
14342
14589
  let div3;
@@ -14352,14 +14599,14 @@
14352
14599
 
14353
14600
  function select_block_type_1(ctx, dirty) {
14354
14601
  if (show_if == null || dirty[0] & /*limitsdata*/ 1) show_if = !!Array.isArray(/*limitsdata*/ ctx[0]);
14355
- if (show_if) return create_if_block_3;
14602
+ if (show_if) return create_if_block_3$1;
14356
14603
  return create_else_block_5;
14357
14604
  }
14358
14605
 
14359
14606
  let current_block_type = select_block_type_1(ctx, [-1]);
14360
14607
  let if_block0 = current_block_type(ctx);
14361
- let if_block1 = !/*amountIsUnset*/ ctx[5] && !/*limitsdata*/ ctx[0].isModified && create_if_block_2$1(ctx);
14362
- let if_block2 = /*openLimitsModal*/ ctx[7] && create_if_block_1$1(ctx);
14608
+ let if_block1 = !/*amountIsUnset*/ ctx[6] && !/*limitsdata*/ ctx[0].isModified && /*changeableDataset*/ ctx[11] && create_if_block_2$1(ctx);
14609
+ let if_block2 = /*openLimitsModal*/ ctx[8] && create_if_block_1$1(ctx);
14363
14610
 
14364
14611
  const block = {
14365
14612
  c: function create() {
@@ -14387,31 +14634,31 @@
14387
14634
  if (if_block1) if_block1.c();
14388
14635
  t8 = space();
14389
14636
  if (if_block2) if_block2.c();
14390
- add_location(h5, file$1, 168, 8, 5992);
14637
+ add_location(h5, file$1, 180, 8, 6408);
14391
14638
  attr_dev(span, "class", "InfoCardIcon");
14392
- add_location(span, file$1, 170, 10, 6129);
14393
- set_custom_element_data(player_account_gaming_limits_popup, "showpopup", /*showPopup*/ ctx[4]);
14639
+ add_location(span, file$1, 182, 10, 6545);
14640
+ set_custom_element_data(player_account_gaming_limits_popup, "showpopup", player_account_gaming_limits_popup_showpopup_value = /*showPopup*/ ctx[5][0]);
14394
14641
  set_custom_element_data(player_account_gaming_limits_popup, "infocontent", /*infocontent*/ ctx[2]);
14395
14642
  set_custom_element_data(player_account_gaming_limits_popup, "infoname", /*infoname*/ ctx[1]);
14396
- add_location(player_account_gaming_limits_popup, file$1, 171, 12, 6217);
14397
- attr_dev(div0, "class", "InfoCardIconWrapper " + (/*isMobile*/ ctx[11] ? "InfoCardIconMobileWrapper" : ""));
14398
- add_location(div0, file$1, 169, 8, 6039);
14399
- attr_dev(div1, "class", "InfoCardHeader " + (/*isMobile*/ ctx[11] ? "InfoCardMobileHeader" : ""));
14400
- add_location(div1, file$1, 167, 6, 5913);
14643
+ add_location(player_account_gaming_limits_popup, file$1, 183, 12, 6642);
14644
+ attr_dev(div0, "class", "InfoCardIconWrapper " + (/*isMobile*/ ctx[13] ? "InfoCardIconMobileWrapper" : ""));
14645
+ add_location(div0, file$1, 181, 8, 6455);
14646
+ attr_dev(div1, "class", "InfoCardHeader " + (/*isMobile*/ ctx[13] ? "InfoCardMobileHeader" : ""));
14647
+ add_location(div1, file$1, 179, 6, 6329);
14401
14648
  attr_dev(div2, "class", "InfoCardTableRow");
14402
- add_location(div2, file$1, 176, 10, 6448);
14649
+ add_location(div2, file$1, 189, 10, 6877);
14403
14650
  attr_dev(div3, "class", "InfoCardTableWrapper");
14404
- add_location(div3, file$1, 175, 8, 6403);
14651
+ add_location(div3, file$1, 188, 8, 6832);
14405
14652
  attr_dev(button, "class", "InfoCardEditButton");
14406
- add_location(button, file$1, 260, 10, 10742);
14653
+ add_location(button, file$1, 283, 10, 12746);
14407
14654
  attr_dev(div4, "class", "InfoCardControlArea");
14408
- add_location(div4, file$1, 259, 8, 10698);
14655
+ add_location(div4, file$1, 282, 8, 12702);
14409
14656
  attr_dev(div5, "class", "InfoCard");
14410
- add_location(div5, file$1, 174, 6, 6372);
14657
+ add_location(div5, file$1, 187, 6, 6801);
14411
14658
  attr_dev(div6, "class", "InfoCardWrapper");
14412
- add_location(div6, file$1, 166, 4, 5877);
14659
+ add_location(div6, file$1, 178, 4, 6293);
14413
14660
  attr_dev(div7, "class", "InfoCardSection");
14414
- add_location(div7, file$1, 165, 2, 5843);
14661
+ add_location(div7, file$1, 177, 2, 6259);
14415
14662
  },
14416
14663
  m: function mount(target, anchor) {
14417
14664
  insert_dev(target, div7, anchor);
@@ -14439,8 +14686,8 @@
14439
14686
 
14440
14687
  if (!mounted) {
14441
14688
  dispose = [
14442
- listen_dev(span, "click", prevent_default(/*openInfoPopup*/ ctx[15]), false, true, false),
14443
- listen_dev(button, "click", /*click_handler*/ ctx[16], false, false, false)
14689
+ listen_dev(span, "click", prevent_default(/*click_handler*/ ctx[20]), false, true, false),
14690
+ listen_dev(button, "click", /*click_handler_3*/ ctx[23], false, false, false)
14444
14691
  ];
14445
14692
 
14446
14693
  mounted = true;
@@ -14449,8 +14696,8 @@
14449
14696
  p: function update(ctx, dirty) {
14450
14697
  if (dirty[0] & /*limitsdata, limitname*/ 9 && t0_value !== (t0_value = (/*limitsdata*/ ctx[0] ? /*limitname*/ ctx[3] : "") + "")) set_data_dev(t0, t0_value);
14451
14698
 
14452
- if (dirty[0] & /*showPopup*/ 16) {
14453
- set_custom_element_data(player_account_gaming_limits_popup, "showpopup", /*showPopup*/ ctx[4]);
14699
+ if (dirty[0] & /*showPopup*/ 32 && player_account_gaming_limits_popup_showpopup_value !== (player_account_gaming_limits_popup_showpopup_value = /*showPopup*/ ctx[5][0])) {
14700
+ set_custom_element_data(player_account_gaming_limits_popup, "showpopup", player_account_gaming_limits_popup_showpopup_value);
14454
14701
  }
14455
14702
 
14456
14703
  if (dirty[0] & /*infocontent*/ 4) {
@@ -14473,7 +14720,7 @@
14473
14720
  }
14474
14721
  }
14475
14722
 
14476
- if (!/*amountIsUnset*/ ctx[5] && !/*limitsdata*/ ctx[0].isModified) {
14723
+ if (!/*amountIsUnset*/ ctx[6] && !/*limitsdata*/ ctx[0].isModified && /*changeableDataset*/ ctx[11]) {
14477
14724
  if (if_block1) {
14478
14725
  if_block1.p(ctx, dirty);
14479
14726
  } else {
@@ -14486,7 +14733,7 @@
14486
14733
  if_block1 = null;
14487
14734
  }
14488
14735
 
14489
- if (/*openLimitsModal*/ ctx[7]) {
14736
+ if (/*openLimitsModal*/ ctx[8]) {
14490
14737
  if (if_block2) {
14491
14738
  if_block2.p(ctx, dirty);
14492
14739
  } else {
@@ -14513,14 +14760,14 @@
14513
14760
  block,
14514
14761
  id: create_else_block$1.name,
14515
14762
  type: "else",
14516
- source: "(165:0) {:else}",
14763
+ source: "(177:0) {:else}",
14517
14764
  ctx
14518
14765
  });
14519
14766
 
14520
14767
  return block;
14521
14768
  }
14522
14769
 
14523
- // (163:0) {#if isLoading}
14770
+ // (175:0) {#if isLoading}
14524
14771
  function create_if_block$1(ctx) {
14525
14772
  let div;
14526
14773
 
@@ -14528,7 +14775,7 @@
14528
14775
  c: function create() {
14529
14776
  div = element("div");
14530
14777
  attr_dev(div, "class", "ModalLoader");
14531
- add_location(div, file$1, 163, 2, 5801);
14778
+ add_location(div, file$1, 175, 2, 6217);
14532
14779
  },
14533
14780
  m: function mount(target, anchor) {
14534
14781
  insert_dev(target, div, anchor);
@@ -14543,14 +14790,14 @@
14543
14790
  block,
14544
14791
  id: create_if_block$1.name,
14545
14792
  type: "if",
14546
- source: "(163:0) {#if isLoading}",
14793
+ source: "(175:0) {#if isLoading}",
14547
14794
  ctx
14548
14795
  });
14549
14796
 
14550
14797
  return block;
14551
14798
  }
14552
14799
 
14553
- // (240:12) {:else}
14800
+ // (263:12) {:else}
14554
14801
  function create_else_block_5(ctx) {
14555
14802
  let div6;
14556
14803
  let div2;
@@ -14580,7 +14827,9 @@
14580
14827
  let div4;
14581
14828
 
14582
14829
  let t8_value = (/*limitsdata*/ ctx[0] && /*limitsdata*/ ctx[0].expiryDate
14583
- ? moment(/*limitsdata*/ ctx[0].expiryDate).format("D/M/YYYY - h:mm A")
14830
+ ? moment(/*limitsdata*/ ctx[0].expiryDate).year() > /*currentDate*/ ctx[14].year() + 30
14831
+ ? /*currentDate*/ ctx[14].add(5, "years").format("D/M/YYYY - h:mm A")
14832
+ : moment(/*limitsdata*/ ctx[0].expiryDate).format("D/M/YYYY - h:mm A")
14584
14833
  : "N/A") + "";
14585
14834
 
14586
14835
  let t8;
@@ -14605,21 +14854,21 @@
14605
14854
  div4 = element("div");
14606
14855
  t8 = text(t8_value);
14607
14856
  attr_dev(div0, "class", "InfoCardRowTitle");
14608
- add_location(div0, file$1, 243, 18, 9958);
14857
+ add_location(div0, file$1, 266, 18, 11835);
14609
14858
  attr_dev(span, "class", "InfoCardCurrency");
14610
- add_location(span, file$1, 248, 20, 10198);
14859
+ add_location(span, file$1, 271, 20, 12075);
14611
14860
  attr_dev(div1, "class", "InfoCardRowValue");
14612
- add_location(div1, file$1, 246, 18, 10090);
14861
+ add_location(div1, file$1, 269, 18, 11967);
14613
14862
  attr_dev(div2, "class", "InfoCardRow InfoMainRow");
14614
- add_location(div2, file$1, 242, 16, 9902);
14863
+ add_location(div2, file$1, 265, 16, 11779);
14615
14864
  attr_dev(div3, "class", "InfoCardRowTitle");
14616
- add_location(div3, file$1, 252, 18, 10384);
14865
+ add_location(div3, file$1, 275, 18, 12261);
14617
14866
  attr_dev(div4, "class", "InfoCardRowValue");
14618
- add_location(div4, file$1, 253, 18, 10454);
14867
+ add_location(div4, file$1, 276, 18, 12331);
14619
14868
  attr_dev(div5, "class", "InfoCardRow");
14620
- add_location(div5, file$1, 251, 16, 10340);
14869
+ add_location(div5, file$1, 274, 16, 12217);
14621
14870
  attr_dev(div6, "class", "InfoCardBox");
14622
- add_location(div6, file$1, 241, 14, 9860);
14871
+ add_location(div6, file$1, 264, 14, 11737);
14623
14872
  },
14624
14873
  m: function mount(target, anchor) {
14625
14874
  insert_dev(target, div6, anchor);
@@ -14651,7 +14900,9 @@
14651
14900
  : "") + "")) set_data_dev(t4, t4_value);
14652
14901
 
14653
14902
  if (dirty[0] & /*limitsdata*/ 1 && t8_value !== (t8_value = (/*limitsdata*/ ctx[0] && /*limitsdata*/ ctx[0].expiryDate
14654
- ? moment(/*limitsdata*/ ctx[0].expiryDate).format("D/M/YYYY - h:mm A")
14903
+ ? moment(/*limitsdata*/ ctx[0].expiryDate).year() > /*currentDate*/ ctx[14].year() + 30
14904
+ ? /*currentDate*/ ctx[14].add(5, "years").format("D/M/YYYY - h:mm A")
14905
+ : moment(/*limitsdata*/ ctx[0].expiryDate).format("D/M/YYYY - h:mm A")
14655
14906
  : "N/A") + "")) set_data_dev(t8, t8_value);
14656
14907
  },
14657
14908
  d: function destroy(detaching) {
@@ -14663,15 +14914,15 @@
14663
14914
  block,
14664
14915
  id: create_else_block_5.name,
14665
14916
  type: "else",
14666
- source: "(240:12) {:else}",
14917
+ source: "(263:12) {:else}",
14667
14918
  ctx
14668
14919
  });
14669
14920
 
14670
14921
  return block;
14671
14922
  }
14672
14923
 
14673
- // (178:12) {#if Array.isArray(limitsdata)}
14674
- function create_if_block_3(ctx) {
14924
+ // (191:12) {#if Array.isArray(limitsdata)}
14925
+ function create_if_block_3$1(ctx) {
14675
14926
  let if_block_anchor;
14676
14927
 
14677
14928
  function select_block_type_2(ctx, dirty) {
@@ -14712,16 +14963,16 @@
14712
14963
 
14713
14964
  dispatch_dev("SvelteRegisterBlock", {
14714
14965
  block,
14715
- id: create_if_block_3.name,
14966
+ id: create_if_block_3$1.name,
14716
14967
  type: "if",
14717
- source: "(178:12) {#if Array.isArray(limitsdata)}",
14968
+ source: "(191:12) {#if Array.isArray(limitsdata)}",
14718
14969
  ctx
14719
14970
  });
14720
14971
 
14721
14972
  return block;
14722
14973
  }
14723
14974
 
14724
- // (213:14) {:else}
14975
+ // (231:14) {:else}
14725
14976
  function create_else_block_3(ctx) {
14726
14977
  let each_1_anchor;
14727
14978
  let each_value_1 = /*limitsdata*/ ctx[0];
@@ -14748,7 +14999,7 @@
14748
14999
  insert_dev(target, each_1_anchor, anchor);
14749
15000
  },
14750
15001
  p: function update(ctx, dirty) {
14751
- if (dirty[0] & /*removeItemLimit, limitsdata, limitname*/ 16393) {
15002
+ if (dirty[0] & /*removeItemLimit, limitsdata, limitname, isMobile, showPopup, infocontent, infoname, playercurrency, openInfoPopup, currentDate*/ 417855) {
14752
15003
  each_value_1 = /*limitsdata*/ ctx[0];
14753
15004
  validate_each_argument(each_value_1);
14754
15005
  let i;
@@ -14782,14 +15033,14 @@
14782
15033
  block,
14783
15034
  id: create_else_block_3.name,
14784
15035
  type: "else",
14785
- source: "(213:14) {:else}",
15036
+ source: "(231:14) {:else}",
14786
15037
  ctx
14787
15038
  });
14788
15039
 
14789
15040
  return block;
14790
15041
  }
14791
15042
 
14792
- // (180:14) {#if limitname === 'Time Limit'}
15043
+ // (193:14) {#if limitname === 'Time Limit'}
14793
15044
  function create_if_block_4(ctx) {
14794
15045
  let each_1_anchor;
14795
15046
  let each_value = /*limitsdata*/ ctx[0];
@@ -14816,7 +15067,7 @@
14816
15067
  insert_dev(target, each_1_anchor, anchor);
14817
15068
  },
14818
15069
  p: function update(ctx, dirty) {
14819
- if (dirty[0] & /*removeItemLimit, limitsdata, limitname*/ 16393) {
15070
+ if (dirty[0] & /*removeItemLimit, limitsdata, limitname, isMobile, showPopup, infocontent, infoname, openInfoPopup, currentDate*/ 417839) {
14820
15071
  each_value = /*limitsdata*/ ctx[0];
14821
15072
  validate_each_argument(each_value);
14822
15073
  let i;
@@ -14850,14 +15101,14 @@
14850
15101
  block,
14851
15102
  id: create_if_block_4.name,
14852
15103
  type: "if",
14853
- source: "(180:14) {#if limitname === 'Time Limit'}",
15104
+ source: "(193:14) {#if limitname === 'Time Limit'}",
14854
15105
  ctx
14855
15106
  });
14856
15107
 
14857
15108
  return block;
14858
15109
  }
14859
15110
 
14860
- // (229:24) {:else}
15111
+ // (247:24) {:else}
14861
15112
  function create_else_block_4(ctx) {
14862
15113
  let div;
14863
15114
 
@@ -14866,7 +15117,7 @@
14866
15117
  div = element("div");
14867
15118
  div.textContent = "N/A";
14868
15119
  attr_dev(div, "class", "InfoCardRowValue");
14869
- add_location(div, file$1, 229, 26, 9403);
15120
+ add_location(div, file$1, 247, 26, 10679);
14870
15121
  },
14871
15122
  m: function mount(target, anchor) {
14872
15123
  insert_dev(target, div, anchor);
@@ -14881,19 +15132,21 @@
14881
15132
  block,
14882
15133
  id: create_else_block_4.name,
14883
15134
  type: "else",
14884
- source: "(229:24) {:else}",
15135
+ source: "(247:24) {:else}",
14885
15136
  ctx
14886
15137
  });
14887
15138
 
14888
15139
  return block;
14889
15140
  }
14890
15141
 
14891
- // (227:24) {#if itemInfo.expiryDate}
14892
- function create_if_block_10(ctx) {
15142
+ // (245:24) {#if itemInfo.expiryDate}
15143
+ function create_if_block_12(ctx) {
14893
15144
  let div;
14894
15145
 
14895
- let t_value = (/*itemInfo*/ ctx[29]
14896
- ? moment(/*itemInfo*/ ctx[29].expiryDate).format("D/M/YYYY - h:mm A")
15146
+ let t_value = (/*itemInfo*/ ctx[35]
15147
+ ? moment(/*itemInfo*/ ctx[35].expiryDate).year() > /*currentDate*/ ctx[14].year() + 30
15148
+ ? /*currentDate*/ ctx[14].add(5, "years").format("D/M/YYYY - h:mm A")
15149
+ : moment(/*itemInfo*/ ctx[35].expiryDate).format("D/M/YYYY - h:mm A")
14897
15150
  : "N/A") + "";
14898
15151
 
14899
15152
  let t;
@@ -14903,15 +15156,17 @@
14903
15156
  div = element("div");
14904
15157
  t = text(t_value);
14905
15158
  attr_dev(div, "class", "InfoCardRowValue");
14906
- add_location(div, file$1, 227, 26, 9232);
15159
+ add_location(div, file$1, 245, 26, 10383);
14907
15160
  },
14908
15161
  m: function mount(target, anchor) {
14909
15162
  insert_dev(target, div, anchor);
14910
15163
  append_dev(div, t);
14911
15164
  },
14912
15165
  p: function update(ctx, dirty) {
14913
- if (dirty[0] & /*limitsdata*/ 1 && t_value !== (t_value = (/*itemInfo*/ ctx[29]
14914
- ? moment(/*itemInfo*/ ctx[29].expiryDate).format("D/M/YYYY - h:mm A")
15166
+ if (dirty[0] & /*limitsdata*/ 1 && t_value !== (t_value = (/*itemInfo*/ ctx[35]
15167
+ ? moment(/*itemInfo*/ ctx[35].expiryDate).year() > /*currentDate*/ ctx[14].year() + 30
15168
+ ? /*currentDate*/ ctx[14].add(5, "years").format("D/M/YYYY - h:mm A")
15169
+ : moment(/*itemInfo*/ ctx[35].expiryDate).format("D/M/YYYY - h:mm A")
14915
15170
  : "N/A") + "")) set_data_dev(t, t_value);
14916
15171
  },
14917
15172
  d: function destroy(detaching) {
@@ -14921,17 +15176,102 @@
14921
15176
 
14922
15177
  dispatch_dev("SvelteRegisterBlock", {
14923
15178
  block,
14924
- id: create_if_block_10.name,
15179
+ id: create_if_block_12.name,
14925
15180
  type: "if",
14926
- source: "(227:24) {#if itemInfo.expiryDate}",
15181
+ source: "(245:24) {#if itemInfo.expiryDate}",
14927
15182
  ctx
14928
15183
  });
14929
15184
 
14930
15185
  return block;
14931
15186
  }
14932
15187
 
14933
- // (234:20) {#if itemInfo.amount != 'No limit'}
14934
- function create_if_block_9(ctx) {
15188
+ // (254:85)
15189
+ function create_if_block_11(ctx) {
15190
+ let div;
15191
+ let span;
15192
+ let t1;
15193
+ let player_account_gaming_limits_popup;
15194
+ let player_account_gaming_limits_popup_showpopup_value;
15195
+ let player_account_gaming_limits_popup_iteminfoamount_value;
15196
+ let mounted;
15197
+ let dispose;
15198
+
15199
+ function click_handler_2() {
15200
+ return /*click_handler_2*/ ctx[22](/*index*/ ctx[37]);
15201
+ }
15202
+
15203
+ const block = {
15204
+ c: function create() {
15205
+ div = element("div");
15206
+ span = element("span");
15207
+ span.textContent = "i";
15208
+ t1 = space();
15209
+ player_account_gaming_limits_popup = element("player-account-gaming-limits-popup");
15210
+ attr_dev(span, "class", "InfoCardIcon");
15211
+ add_location(span, file$1, 255, 24, 11219);
15212
+ set_custom_element_data(player_account_gaming_limits_popup, "showpopup", player_account_gaming_limits_popup_showpopup_value = /*showPopup*/ ctx[5][/*index*/ ctx[37] + 1]);
15213
+ set_custom_element_data(player_account_gaming_limits_popup, "infocontent", /*infocontent*/ ctx[2]);
15214
+ set_custom_element_data(player_account_gaming_limits_popup, "infoname", /*infoname*/ ctx[1]);
15215
+ set_custom_element_data(player_account_gaming_limits_popup, "iteminfoamount", player_account_gaming_limits_popup_iteminfoamount_value = /*itemInfo*/ ctx[35].updateAmount);
15216
+ set_custom_element_data(player_account_gaming_limits_popup, "playercurrency", /*playercurrency*/ ctx[4]);
15217
+ add_location(player_account_gaming_limits_popup, file$1, 256, 26, 11338);
15218
+ attr_dev(div, "class", "InfoCardIconWrapper " + (/*isMobile*/ ctx[13] ? "InfoCardIconMobileWrapper" : ""));
15219
+ add_location(div, file$1, 254, 22, 11115);
15220
+ },
15221
+ m: function mount(target, anchor) {
15222
+ insert_dev(target, div, anchor);
15223
+ append_dev(div, span);
15224
+ append_dev(div, t1);
15225
+ append_dev(div, player_account_gaming_limits_popup);
15226
+
15227
+ if (!mounted) {
15228
+ dispose = listen_dev(span, "click", prevent_default(click_handler_2), false, true, false);
15229
+ mounted = true;
15230
+ }
15231
+ },
15232
+ p: function update(new_ctx, dirty) {
15233
+ ctx = new_ctx;
15234
+
15235
+ if (dirty[0] & /*showPopup*/ 32 && player_account_gaming_limits_popup_showpopup_value !== (player_account_gaming_limits_popup_showpopup_value = /*showPopup*/ ctx[5][/*index*/ ctx[37] + 1])) {
15236
+ set_custom_element_data(player_account_gaming_limits_popup, "showpopup", player_account_gaming_limits_popup_showpopup_value);
15237
+ }
15238
+
15239
+ if (dirty[0] & /*infocontent*/ 4) {
15240
+ set_custom_element_data(player_account_gaming_limits_popup, "infocontent", /*infocontent*/ ctx[2]);
15241
+ }
15242
+
15243
+ if (dirty[0] & /*infoname*/ 2) {
15244
+ set_custom_element_data(player_account_gaming_limits_popup, "infoname", /*infoname*/ ctx[1]);
15245
+ }
15246
+
15247
+ if (dirty[0] & /*limitsdata*/ 1 && player_account_gaming_limits_popup_iteminfoamount_value !== (player_account_gaming_limits_popup_iteminfoamount_value = /*itemInfo*/ ctx[35].updateAmount)) {
15248
+ set_custom_element_data(player_account_gaming_limits_popup, "iteminfoamount", player_account_gaming_limits_popup_iteminfoamount_value);
15249
+ }
15250
+
15251
+ if (dirty[0] & /*playercurrency*/ 16) {
15252
+ set_custom_element_data(player_account_gaming_limits_popup, "playercurrency", /*playercurrency*/ ctx[4]);
15253
+ }
15254
+ },
15255
+ d: function destroy(detaching) {
15256
+ if (detaching) detach_dev(div);
15257
+ mounted = false;
15258
+ dispose();
15259
+ }
15260
+ };
15261
+
15262
+ dispatch_dev("SvelteRegisterBlock", {
15263
+ block,
15264
+ id: create_if_block_11.name,
15265
+ type: "if",
15266
+ source: "(254:85) ",
15267
+ ctx
15268
+ });
15269
+
15270
+ return block;
15271
+ }
15272
+
15273
+ // (252:20) {#if itemInfo.amount != 'No limit' && !itemInfo.isModified}
15274
+ function create_if_block_10(ctx) {
14935
15275
  let div;
14936
15276
  let span;
14937
15277
  let mounted;
@@ -14941,9 +15281,9 @@
14941
15281
  c: function create() {
14942
15282
  div = element("div");
14943
15283
  span = element("span");
14944
- add_location(span, file$1, 234, 102, 9687);
15284
+ add_location(span, file$1, 252, 102, 10987);
14945
15285
  attr_dev(div, "class", "InfoCardRemoveIcon");
14946
- add_location(div, file$1, 234, 22, 9607);
15286
+ add_location(div, file$1, 252, 22, 10907);
14947
15287
  },
14948
15288
  m: function mount(target, anchor) {
14949
15289
  insert_dev(target, div, anchor);
@@ -14954,7 +15294,7 @@
14954
15294
  div,
14955
15295
  "click",
14956
15296
  function () {
14957
- if (is_function(/*removeItemLimit*/ ctx[14](/*itemInfo*/ ctx[29], /*limitname*/ ctx[3]))) /*removeItemLimit*/ ctx[14](/*itemInfo*/ ctx[29], /*limitname*/ ctx[3]).apply(this, arguments);
15297
+ if (is_function(/*removeItemLimit*/ ctx[17](/*itemInfo*/ ctx[35], /*limitname*/ ctx[3]))) /*removeItemLimit*/ ctx[17](/*itemInfo*/ ctx[35], /*limitname*/ ctx[3]).apply(this, arguments);
14958
15298
  },
14959
15299
  false,
14960
15300
  false,
@@ -14976,32 +15316,32 @@
14976
15316
 
14977
15317
  dispatch_dev("SvelteRegisterBlock", {
14978
15318
  block,
14979
- id: create_if_block_9.name,
15319
+ id: create_if_block_10.name,
14980
15320
  type: "if",
14981
- source: "(234:20) {#if itemInfo.amount != 'No limit'}",
15321
+ source: "(252:20) {#if itemInfo.amount != 'No limit' && !itemInfo.isModified}",
14982
15322
  ctx
14983
15323
  });
14984
15324
 
14985
15325
  return block;
14986
15326
  }
14987
15327
 
14988
- // (215:16) {#each limitsdata as itemInfo}
15328
+ // (233:16) {#each limitsdata as itemInfo, index}
14989
15329
  function create_each_block_1(ctx) {
14990
15330
  let div6;
14991
15331
  let div5;
14992
15332
  let div2;
14993
15333
  let div0;
14994
- let t0_value = (/*itemInfo*/ ctx[29] ? /*itemInfo*/ ctx[29].period : "") + "";
15334
+ let t0_value = (/*itemInfo*/ ctx[35] ? /*itemInfo*/ ctx[35].period : "") + "";
14995
15335
  let t0;
14996
15336
  let t1;
14997
15337
  let div1;
14998
- let t2_value = (/*itemInfo*/ ctx[29] ? /*itemInfo*/ ctx[29].amount : 0) + "";
15338
+ let t2_value = (/*itemInfo*/ ctx[35] ? /*itemInfo*/ ctx[35].amount : 0) + "";
14999
15339
  let t2;
15000
15340
  let t3;
15001
15341
  let span;
15002
15342
 
15003
- let t4_value = (/*itemInfo*/ ctx[29]
15004
- ? /*itemInfo*/ ctx[29].currency
15343
+ let t4_value = (/*itemInfo*/ ctx[35]
15344
+ ? /*itemInfo*/ ctx[35].currency
15005
15345
  : "") + "";
15006
15346
 
15007
15347
  let t4;
@@ -15012,14 +15352,21 @@
15012
15352
  let t8;
15013
15353
  let t9;
15014
15354
 
15015
- function select_block_type_5(ctx, dirty) {
15016
- if (/*itemInfo*/ ctx[29].expiryDate) return create_if_block_10;
15355
+ function select_block_type_6(ctx, dirty) {
15356
+ if (/*itemInfo*/ ctx[35].expiryDate) return create_if_block_12;
15017
15357
  return create_else_block_4;
15018
15358
  }
15019
15359
 
15020
- let current_block_type = select_block_type_5(ctx);
15360
+ let current_block_type = select_block_type_6(ctx);
15021
15361
  let if_block0 = current_block_type(ctx);
15022
- let if_block1 = /*itemInfo*/ ctx[29].amount != "No limit" && create_if_block_9(ctx);
15362
+
15363
+ function select_block_type_7(ctx, dirty) {
15364
+ if (/*itemInfo*/ ctx[35].amount != "No limit" && !/*itemInfo*/ ctx[35].isModified) return create_if_block_10;
15365
+ if (/*itemInfo*/ ctx[35].amount != "No limit" && /*itemInfo*/ ctx[35].isModified) return create_if_block_11;
15366
+ }
15367
+
15368
+ let current_block_type_1 = select_block_type_7(ctx);
15369
+ let if_block1 = current_block_type_1 && current_block_type_1(ctx);
15023
15370
 
15024
15371
  const block = {
15025
15372
  c: function create() {
@@ -15044,21 +15391,21 @@
15044
15391
  if (if_block1) if_block1.c();
15045
15392
  t9 = space();
15046
15393
  attr_dev(div0, "class", "InfoCardRowTitle");
15047
- add_location(div0, file$1, 218, 24, 8688);
15394
+ add_location(div0, file$1, 236, 24, 9839);
15048
15395
  attr_dev(span, "class", "InfoCardCurrency");
15049
- add_location(span, file$1, 221, 26, 8898);
15396
+ add_location(span, file$1, 239, 26, 10049);
15050
15397
  attr_dev(div1, "class", "InfoCardRowValue");
15051
- add_location(div1, file$1, 219, 24, 8782);
15398
+ add_location(div1, file$1, 237, 24, 9933);
15052
15399
  attr_dev(div2, "class", "InfoCardRow InfoMainRow");
15053
- add_location(div2, file$1, 217, 22, 8626);
15400
+ add_location(div2, file$1, 235, 22, 9777);
15054
15401
  attr_dev(div3, "class", "InfoCardRowTitle");
15055
- add_location(div3, file$1, 225, 24, 9104);
15402
+ add_location(div3, file$1, 243, 24, 10255);
15056
15403
  attr_dev(div4, "class", "InfoCardRow");
15057
- add_location(div4, file$1, 224, 22, 9054);
15404
+ add_location(div4, file$1, 242, 22, 10205);
15058
15405
  attr_dev(div5, "class", "InfoCardRowContainer");
15059
- add_location(div5, file$1, 216, 20, 8569);
15406
+ add_location(div5, file$1, 234, 20, 9720);
15060
15407
  attr_dev(div6, "class", "InfoCardBox InfoCardMultipleItems");
15061
- add_location(div6, file$1, 215, 18, 8501);
15408
+ add_location(div6, file$1, 233, 18, 9652);
15062
15409
  },
15063
15410
  m: function mount(target, anchor) {
15064
15411
  insert_dev(target, div6, anchor);
@@ -15082,14 +15429,14 @@
15082
15429
  append_dev(div6, t9);
15083
15430
  },
15084
15431
  p: function update(ctx, dirty) {
15085
- if (dirty[0] & /*limitsdata*/ 1 && t0_value !== (t0_value = (/*itemInfo*/ ctx[29] ? /*itemInfo*/ ctx[29].period : "") + "")) set_data_dev(t0, t0_value);
15086
- if (dirty[0] & /*limitsdata*/ 1 && t2_value !== (t2_value = (/*itemInfo*/ ctx[29] ? /*itemInfo*/ ctx[29].amount : 0) + "")) set_data_dev(t2, t2_value);
15432
+ if (dirty[0] & /*limitsdata*/ 1 && t0_value !== (t0_value = (/*itemInfo*/ ctx[35] ? /*itemInfo*/ ctx[35].period : "") + "")) set_data_dev(t0, t0_value);
15433
+ if (dirty[0] & /*limitsdata*/ 1 && t2_value !== (t2_value = (/*itemInfo*/ ctx[35] ? /*itemInfo*/ ctx[35].amount : 0) + "")) set_data_dev(t2, t2_value);
15087
15434
 
15088
- if (dirty[0] & /*limitsdata*/ 1 && t4_value !== (t4_value = (/*itemInfo*/ ctx[29]
15089
- ? /*itemInfo*/ ctx[29].currency
15435
+ if (dirty[0] & /*limitsdata*/ 1 && t4_value !== (t4_value = (/*itemInfo*/ ctx[35]
15436
+ ? /*itemInfo*/ ctx[35].currency
15090
15437
  : "") + "")) set_data_dev(t4, t4_value);
15091
15438
 
15092
- if (current_block_type === (current_block_type = select_block_type_5(ctx)) && if_block0) {
15439
+ if (current_block_type === (current_block_type = select_block_type_6(ctx)) && if_block0) {
15093
15440
  if_block0.p(ctx, dirty);
15094
15441
  } else {
15095
15442
  if_block0.d(1);
@@ -15101,23 +15448,25 @@
15101
15448
  }
15102
15449
  }
15103
15450
 
15104
- if (/*itemInfo*/ ctx[29].amount != "No limit") {
15451
+ if (current_block_type_1 === (current_block_type_1 = select_block_type_7(ctx)) && if_block1) {
15452
+ if_block1.p(ctx, dirty);
15453
+ } else {
15454
+ if (if_block1) if_block1.d(1);
15455
+ if_block1 = current_block_type_1 && current_block_type_1(ctx);
15456
+
15105
15457
  if (if_block1) {
15106
- if_block1.p(ctx, dirty);
15107
- } else {
15108
- if_block1 = create_if_block_9(ctx);
15109
15458
  if_block1.c();
15110
15459
  if_block1.m(div6, t9);
15111
15460
  }
15112
- } else if (if_block1) {
15113
- if_block1.d(1);
15114
- if_block1 = null;
15115
15461
  }
15116
15462
  },
15117
15463
  d: function destroy(detaching) {
15118
15464
  if (detaching) detach_dev(div6);
15119
15465
  if_block0.d();
15120
- if (if_block1) if_block1.d();
15466
+
15467
+ if (if_block1) {
15468
+ if_block1.d();
15469
+ }
15121
15470
  }
15122
15471
  };
15123
15472
 
@@ -15125,14 +15474,14 @@
15125
15474
  block,
15126
15475
  id: create_each_block_1.name,
15127
15476
  type: "each",
15128
- source: "(215:16) {#each limitsdata as itemInfo}",
15477
+ source: "(233:16) {#each limitsdata as itemInfo, index}",
15129
15478
  ctx
15130
15479
  });
15131
15480
 
15132
15481
  return block;
15133
15482
  }
15134
15483
 
15135
- // (193:26) {:else}
15484
+ // (206:26) {:else}
15136
15485
  function create_else_block_2(ctx) {
15137
15486
  let span;
15138
15487
 
@@ -15141,7 +15490,7 @@
15141
15490
  span = element("span");
15142
15491
  span.textContent = "No limit";
15143
15492
  attr_dev(span, "class", "InfoCardCurrency");
15144
- add_location(span, file$1, 193, 28, 7410);
15493
+ add_location(span, file$1, 206, 28, 7846);
15145
15494
  },
15146
15495
  m: function mount(target, anchor) {
15147
15496
  insert_dev(target, span, anchor);
@@ -15156,20 +15505,20 @@
15156
15505
  block,
15157
15506
  id: create_else_block_2.name,
15158
15507
  type: "else",
15159
- source: "(193:26) {:else}",
15508
+ source: "(206:26) {:else}",
15160
15509
  ctx
15161
15510
  });
15162
15511
 
15163
15512
  return block;
15164
15513
  }
15165
15514
 
15166
- // (188:26) {#if itemInfo.amount !== 0}
15167
- function create_if_block_7(ctx) {
15168
- let t0_value = (/*itemInfo*/ ctx[29] ? /*itemInfo*/ ctx[29].amount : 0) + "";
15515
+ // (201:26) {#if itemInfo.amount !== 0}
15516
+ function create_if_block_8(ctx) {
15517
+ let t0_value = (/*itemInfo*/ ctx[35] ? /*itemInfo*/ ctx[35].amount : 0) + "";
15169
15518
  let t0;
15170
15519
  let t1;
15171
15520
  let if_block_anchor;
15172
- let if_block = /*itemInfo*/ ctx[29].amount != "No limit" && create_if_block_8(ctx);
15521
+ let if_block = /*itemInfo*/ ctx[35].amount != "No limit" && create_if_block_9(ctx);
15173
15522
 
15174
15523
  const block = {
15175
15524
  c: function create() {
@@ -15185,11 +15534,11 @@
15185
15534
  insert_dev(target, if_block_anchor, anchor);
15186
15535
  },
15187
15536
  p: function update(ctx, dirty) {
15188
- if (dirty[0] & /*limitsdata*/ 1 && t0_value !== (t0_value = (/*itemInfo*/ ctx[29] ? /*itemInfo*/ ctx[29].amount : 0) + "")) set_data_dev(t0, t0_value);
15537
+ if (dirty[0] & /*limitsdata*/ 1 && t0_value !== (t0_value = (/*itemInfo*/ ctx[35] ? /*itemInfo*/ ctx[35].amount : 0) + "")) set_data_dev(t0, t0_value);
15189
15538
 
15190
- if (/*itemInfo*/ ctx[29].amount != "No limit") {
15539
+ if (/*itemInfo*/ ctx[35].amount != "No limit") {
15191
15540
  if (if_block) ; else {
15192
- if_block = create_if_block_8(ctx);
15541
+ if_block = create_if_block_9(ctx);
15193
15542
  if_block.c();
15194
15543
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
15195
15544
  }
@@ -15208,17 +15557,17 @@
15208
15557
 
15209
15558
  dispatch_dev("SvelteRegisterBlock", {
15210
15559
  block,
15211
- id: create_if_block_7.name,
15560
+ id: create_if_block_8.name,
15212
15561
  type: "if",
15213
- source: "(188:26) {#if itemInfo.amount !== 0}",
15562
+ source: "(201:26) {#if itemInfo.amount !== 0}",
15214
15563
  ctx
15215
15564
  });
15216
15565
 
15217
15566
  return block;
15218
15567
  }
15219
15568
 
15220
- // (190:28) {#if itemInfo.amount != 'No limit'}
15221
- function create_if_block_8(ctx) {
15569
+ // (203:28) {#if itemInfo.amount != 'No limit'}
15570
+ function create_if_block_9(ctx) {
15222
15571
  let span;
15223
15572
 
15224
15573
  const block = {
@@ -15226,7 +15575,7 @@
15226
15575
  span = element("span");
15227
15576
  span.textContent = "minutes";
15228
15577
  attr_dev(span, "class", "InfoCardCurrency");
15229
- add_location(span, file$1, 190, 30, 7268);
15578
+ add_location(span, file$1, 203, 30, 7704);
15230
15579
  },
15231
15580
  m: function mount(target, anchor) {
15232
15581
  insert_dev(target, span, anchor);
@@ -15238,16 +15587,16 @@
15238
15587
 
15239
15588
  dispatch_dev("SvelteRegisterBlock", {
15240
15589
  block,
15241
- id: create_if_block_8.name,
15590
+ id: create_if_block_9.name,
15242
15591
  type: "if",
15243
- source: "(190:28) {#if itemInfo.amount != 'No limit'}",
15592
+ source: "(203:28) {#if itemInfo.amount != 'No limit'}",
15244
15593
  ctx
15245
15594
  });
15246
15595
 
15247
15596
  return block;
15248
15597
  }
15249
15598
 
15250
- // (203:24) {:else}
15599
+ // (216:24) {:else}
15251
15600
  function create_else_block_1(ctx) {
15252
15601
  let div;
15253
15602
 
@@ -15256,7 +15605,7 @@
15256
15605
  div = element("div");
15257
15606
  div.textContent = "N/A";
15258
15607
  attr_dev(div, "class", "InfoCardRowValue");
15259
- add_location(div, file$1, 203, 26, 7996);
15608
+ add_location(div, file$1, 216, 26, 8557);
15260
15609
  },
15261
15610
  m: function mount(target, anchor) {
15262
15611
  insert_dev(target, div, anchor);
@@ -15271,19 +15620,21 @@
15271
15620
  block,
15272
15621
  id: create_else_block_1.name,
15273
15622
  type: "else",
15274
- source: "(203:24) {:else}",
15623
+ source: "(216:24) {:else}",
15275
15624
  ctx
15276
15625
  });
15277
15626
 
15278
15627
  return block;
15279
15628
  }
15280
15629
 
15281
- // (201:24) {#if itemInfo.expiryDate}
15282
- function create_if_block_6(ctx) {
15630
+ // (214:24) {#if itemInfo.expiryDate}
15631
+ function create_if_block_7(ctx) {
15283
15632
  let div;
15284
15633
 
15285
- let t_value = (/*itemInfo*/ ctx[29]
15286
- ? moment(/*itemInfo*/ ctx[29].expiryDate).format("D/M/YYYY - h:mm A")
15634
+ let t_value = (/*itemInfo*/ ctx[35]
15635
+ ? moment(/*itemInfo*/ ctx[35].expiryDate).year() > /*currentDate*/ ctx[14].year() + 30
15636
+ ? /*currentDate*/ ctx[14].add(5, "years").format("D/M/YYYY - h:mm A")
15637
+ : moment(/*itemInfo*/ ctx[35].expiryDate).format("D/M/YYYY - h:mm A")
15287
15638
  : "N/A") + "";
15288
15639
 
15289
15640
  let t;
@@ -15293,15 +15644,17 @@
15293
15644
  div = element("div");
15294
15645
  t = text(t_value);
15295
15646
  attr_dev(div, "class", "InfoCardRowValue");
15296
- add_location(div, file$1, 201, 26, 7825);
15647
+ add_location(div, file$1, 214, 26, 8261);
15297
15648
  },
15298
15649
  m: function mount(target, anchor) {
15299
15650
  insert_dev(target, div, anchor);
15300
15651
  append_dev(div, t);
15301
15652
  },
15302
15653
  p: function update(ctx, dirty) {
15303
- if (dirty[0] & /*limitsdata*/ 1 && t_value !== (t_value = (/*itemInfo*/ ctx[29]
15304
- ? moment(/*itemInfo*/ ctx[29].expiryDate).format("D/M/YYYY - h:mm A")
15654
+ if (dirty[0] & /*limitsdata*/ 1 && t_value !== (t_value = (/*itemInfo*/ ctx[35]
15655
+ ? moment(/*itemInfo*/ ctx[35].expiryDate).year() > /*currentDate*/ ctx[14].year() + 30
15656
+ ? /*currentDate*/ ctx[14].add(5, "years").format("D/M/YYYY - h:mm A")
15657
+ : moment(/*itemInfo*/ ctx[35].expiryDate).format("D/M/YYYY - h:mm A")
15305
15658
  : "N/A") + "")) set_data_dev(t, t_value);
15306
15659
  },
15307
15660
  d: function destroy(detaching) {
@@ -15309,18 +15662,99 @@
15309
15662
  }
15310
15663
  };
15311
15664
 
15665
+ dispatch_dev("SvelteRegisterBlock", {
15666
+ block,
15667
+ id: create_if_block_7.name,
15668
+ type: "if",
15669
+ source: "(214:24) {#if itemInfo.expiryDate}",
15670
+ ctx
15671
+ });
15672
+
15673
+ return block;
15674
+ }
15675
+
15676
+ // (223:85)
15677
+ function create_if_block_6(ctx) {
15678
+ let div;
15679
+ let span;
15680
+ let t1;
15681
+ let player_account_gaming_limits_popup;
15682
+ let player_account_gaming_limits_popup_showpopup_value;
15683
+ let player_account_gaming_limits_popup_iteminfoamount_value;
15684
+ let mounted;
15685
+ let dispose;
15686
+
15687
+ function click_handler_1() {
15688
+ return /*click_handler_1*/ ctx[21](/*index*/ ctx[37]);
15689
+ }
15690
+
15691
+ const block = {
15692
+ c: function create() {
15693
+ div = element("div");
15694
+ span = element("span");
15695
+ span.textContent = "i";
15696
+ t1 = space();
15697
+ player_account_gaming_limits_popup = element("player-account-gaming-limits-popup");
15698
+ attr_dev(span, "class", "InfoCardIcon");
15699
+ add_location(span, file$1, 224, 24, 9097);
15700
+ set_custom_element_data(player_account_gaming_limits_popup, "showpopup", player_account_gaming_limits_popup_showpopup_value = /*showPopup*/ ctx[5][/*index*/ ctx[37] + 1]);
15701
+ set_custom_element_data(player_account_gaming_limits_popup, "infocontent", /*infocontent*/ ctx[2]);
15702
+ set_custom_element_data(player_account_gaming_limits_popup, "infoname", /*infoname*/ ctx[1]);
15703
+ set_custom_element_data(player_account_gaming_limits_popup, "iteminfoamount", player_account_gaming_limits_popup_iteminfoamount_value = /*itemInfo*/ ctx[35].updateMinutes);
15704
+ set_custom_element_data(player_account_gaming_limits_popup, "playercurrency", "minutes");
15705
+ add_location(player_account_gaming_limits_popup, file$1, 225, 26, 9216);
15706
+ attr_dev(div, "class", "InfoCardIconWrapper " + (/*isMobile*/ ctx[13] ? "InfoCardIconMobileWrapper" : ""));
15707
+ add_location(div, file$1, 223, 22, 8993);
15708
+ },
15709
+ m: function mount(target, anchor) {
15710
+ insert_dev(target, div, anchor);
15711
+ append_dev(div, span);
15712
+ append_dev(div, t1);
15713
+ append_dev(div, player_account_gaming_limits_popup);
15714
+
15715
+ if (!mounted) {
15716
+ dispose = listen_dev(span, "click", prevent_default(click_handler_1), false, true, false);
15717
+ mounted = true;
15718
+ }
15719
+ },
15720
+ p: function update(new_ctx, dirty) {
15721
+ ctx = new_ctx;
15722
+
15723
+ if (dirty[0] & /*showPopup*/ 32 && player_account_gaming_limits_popup_showpopup_value !== (player_account_gaming_limits_popup_showpopup_value = /*showPopup*/ ctx[5][/*index*/ ctx[37] + 1])) {
15724
+ set_custom_element_data(player_account_gaming_limits_popup, "showpopup", player_account_gaming_limits_popup_showpopup_value);
15725
+ }
15726
+
15727
+ if (dirty[0] & /*infocontent*/ 4) {
15728
+ set_custom_element_data(player_account_gaming_limits_popup, "infocontent", /*infocontent*/ ctx[2]);
15729
+ }
15730
+
15731
+ if (dirty[0] & /*infoname*/ 2) {
15732
+ set_custom_element_data(player_account_gaming_limits_popup, "infoname", /*infoname*/ ctx[1]);
15733
+ }
15734
+
15735
+ if (dirty[0] & /*limitsdata*/ 1 && player_account_gaming_limits_popup_iteminfoamount_value !== (player_account_gaming_limits_popup_iteminfoamount_value = /*itemInfo*/ ctx[35].updateMinutes)) {
15736
+ set_custom_element_data(player_account_gaming_limits_popup, "iteminfoamount", player_account_gaming_limits_popup_iteminfoamount_value);
15737
+ }
15738
+ },
15739
+ d: function destroy(detaching) {
15740
+ if (detaching) detach_dev(div);
15741
+ mounted = false;
15742
+ dispose();
15743
+ }
15744
+ };
15745
+
15312
15746
  dispatch_dev("SvelteRegisterBlock", {
15313
15747
  block,
15314
15748
  id: create_if_block_6.name,
15315
15749
  type: "if",
15316
- source: "(201:24) {#if itemInfo.expiryDate}",
15750
+ source: "(223:85) ",
15317
15751
  ctx
15318
15752
  });
15319
15753
 
15320
15754
  return block;
15321
15755
  }
15322
15756
 
15323
- // (208:20) {#if itemInfo.amount != 'No limit'}
15757
+ // (221:20) {#if itemInfo.amount != 'No limit' && !itemInfo.isModified}
15324
15758
  function create_if_block_5(ctx) {
15325
15759
  let div;
15326
15760
  let span;
@@ -15331,9 +15765,9 @@
15331
15765
  c: function create() {
15332
15766
  div = element("div");
15333
15767
  span = element("span");
15334
- add_location(span, file$1, 208, 102, 8280);
15768
+ add_location(span, file$1, 221, 102, 8865);
15335
15769
  attr_dev(div, "class", "InfoCardRemoveIcon");
15336
- add_location(div, file$1, 208, 22, 8200);
15770
+ add_location(div, file$1, 221, 22, 8785);
15337
15771
  },
15338
15772
  m: function mount(target, anchor) {
15339
15773
  insert_dev(target, div, anchor);
@@ -15344,7 +15778,7 @@
15344
15778
  div,
15345
15779
  "click",
15346
15780
  function () {
15347
- if (is_function(/*removeItemLimit*/ ctx[14](/*itemInfo*/ ctx[29], /*limitname*/ ctx[3]))) /*removeItemLimit*/ ctx[14](/*itemInfo*/ ctx[29], /*limitname*/ ctx[3]).apply(this, arguments);
15781
+ if (is_function(/*removeItemLimit*/ ctx[17](/*itemInfo*/ ctx[35], /*limitname*/ ctx[3]))) /*removeItemLimit*/ ctx[17](/*itemInfo*/ ctx[35], /*limitname*/ ctx[3]).apply(this, arguments);
15348
15782
  },
15349
15783
  false,
15350
15784
  false,
@@ -15368,20 +15802,20 @@
15368
15802
  block,
15369
15803
  id: create_if_block_5.name,
15370
15804
  type: "if",
15371
- source: "(208:20) {#if itemInfo.amount != 'No limit'}",
15805
+ source: "(221:20) {#if itemInfo.amount != 'No limit' && !itemInfo.isModified}",
15372
15806
  ctx
15373
15807
  });
15374
15808
 
15375
15809
  return block;
15376
15810
  }
15377
15811
 
15378
- // (181:16) {#each limitsdata as itemInfo}
15812
+ // (194:16) {#each limitsdata as itemInfo, index}
15379
15813
  function create_each_block(ctx) {
15380
15814
  let div6;
15381
15815
  let div5;
15382
15816
  let div2;
15383
15817
  let div0;
15384
- let t0_value = (/*itemInfo*/ ctx[29] ? /*itemInfo*/ ctx[29].period : "") + "";
15818
+ let t0_value = (/*itemInfo*/ ctx[35] ? /*itemInfo*/ ctx[35].period : "") + "";
15385
15819
  let t0;
15386
15820
  let t1;
15387
15821
  let div1;
@@ -15393,7 +15827,7 @@
15393
15827
  let t6;
15394
15828
 
15395
15829
  function select_block_type_3(ctx, dirty) {
15396
- if (/*itemInfo*/ ctx[29].amount !== 0) return create_if_block_7;
15830
+ if (/*itemInfo*/ ctx[35].amount !== 0) return create_if_block_8;
15397
15831
  return create_else_block_2;
15398
15832
  }
15399
15833
 
@@ -15401,13 +15835,20 @@
15401
15835
  let if_block0 = current_block_type(ctx);
15402
15836
 
15403
15837
  function select_block_type_4(ctx, dirty) {
15404
- if (/*itemInfo*/ ctx[29].expiryDate) return create_if_block_6;
15838
+ if (/*itemInfo*/ ctx[35].expiryDate) return create_if_block_7;
15405
15839
  return create_else_block_1;
15406
15840
  }
15407
15841
 
15408
15842
  let current_block_type_1 = select_block_type_4(ctx);
15409
15843
  let if_block1 = current_block_type_1(ctx);
15410
- let if_block2 = /*itemInfo*/ ctx[29].amount != "No limit" && create_if_block_5(ctx);
15844
+
15845
+ function select_block_type_5(ctx, dirty) {
15846
+ if (/*itemInfo*/ ctx[35].amount != "No limit" && !/*itemInfo*/ ctx[35].isModified) return create_if_block_5;
15847
+ if (/*itemInfo*/ ctx[35].amount != "No limit" && /*itemInfo*/ ctx[35].isModified) return create_if_block_6;
15848
+ }
15849
+
15850
+ let current_block_type_2 = select_block_type_5(ctx);
15851
+ let if_block2 = current_block_type_2 && current_block_type_2(ctx);
15411
15852
 
15412
15853
  const block = {
15413
15854
  c: function create() {
@@ -15429,19 +15870,19 @@
15429
15870
  if (if_block2) if_block2.c();
15430
15871
  t6 = space();
15431
15872
  attr_dev(div0, "class", "InfoCardRowTitle");
15432
- add_location(div0, file$1, 184, 24, 6856);
15873
+ add_location(div0, file$1, 197, 24, 7292);
15433
15874
  attr_dev(div1, "class", "InfoCardRowValue");
15434
- add_location(div1, file$1, 185, 24, 6950);
15875
+ add_location(div1, file$1, 198, 24, 7386);
15435
15876
  attr_dev(div2, "class", "InfoCardRow InfoMainRow");
15436
- add_location(div2, file$1, 183, 22, 6794);
15877
+ add_location(div2, file$1, 196, 22, 7230);
15437
15878
  attr_dev(div3, "class", "InfoCardRowTitle");
15438
- add_location(div3, file$1, 198, 24, 7621);
15879
+ add_location(div3, file$1, 211, 24, 8057);
15439
15880
  attr_dev(div4, "class", "InfoCardRow");
15440
- add_location(div4, file$1, 197, 22, 7571);
15881
+ add_location(div4, file$1, 210, 22, 8007);
15441
15882
  attr_dev(div5, "class", "InfoCardRowContainer");
15442
- add_location(div5, file$1, 182, 20, 6737);
15883
+ add_location(div5, file$1, 195, 20, 7173);
15443
15884
  attr_dev(div6, "class", "InfoCardBox InfoCardMultipleItems");
15444
- add_location(div6, file$1, 181, 18, 6669);
15885
+ add_location(div6, file$1, 194, 18, 7105);
15445
15886
  },
15446
15887
  m: function mount(target, anchor) {
15447
15888
  insert_dev(target, div6, anchor);
@@ -15462,7 +15903,7 @@
15462
15903
  append_dev(div6, t6);
15463
15904
  },
15464
15905
  p: function update(ctx, dirty) {
15465
- if (dirty[0] & /*limitsdata*/ 1 && t0_value !== (t0_value = (/*itemInfo*/ ctx[29] ? /*itemInfo*/ ctx[29].period : "") + "")) set_data_dev(t0, t0_value);
15906
+ if (dirty[0] & /*limitsdata*/ 1 && t0_value !== (t0_value = (/*itemInfo*/ ctx[35] ? /*itemInfo*/ ctx[35].period : "") + "")) set_data_dev(t0, t0_value);
15466
15907
 
15467
15908
  if (current_block_type === (current_block_type = select_block_type_3(ctx)) && if_block0) {
15468
15909
  if_block0.p(ctx, dirty);
@@ -15488,24 +15929,26 @@
15488
15929
  }
15489
15930
  }
15490
15931
 
15491
- if (/*itemInfo*/ ctx[29].amount != "No limit") {
15932
+ if (current_block_type_2 === (current_block_type_2 = select_block_type_5(ctx)) && if_block2) {
15933
+ if_block2.p(ctx, dirty);
15934
+ } else {
15935
+ if (if_block2) if_block2.d(1);
15936
+ if_block2 = current_block_type_2 && current_block_type_2(ctx);
15937
+
15492
15938
  if (if_block2) {
15493
- if_block2.p(ctx, dirty);
15494
- } else {
15495
- if_block2 = create_if_block_5(ctx);
15496
15939
  if_block2.c();
15497
15940
  if_block2.m(div6, t6);
15498
15941
  }
15499
- } else if (if_block2) {
15500
- if_block2.d(1);
15501
- if_block2 = null;
15502
15942
  }
15503
15943
  },
15504
15944
  d: function destroy(detaching) {
15505
15945
  if (detaching) detach_dev(div6);
15506
15946
  if_block0.d();
15507
15947
  if_block1.d();
15508
- if (if_block2) if_block2.d();
15948
+
15949
+ if (if_block2) {
15950
+ if_block2.d();
15951
+ }
15509
15952
  }
15510
15953
  };
15511
15954
 
@@ -15513,14 +15956,14 @@
15513
15956
  block,
15514
15957
  id: create_each_block.name,
15515
15958
  type: "each",
15516
- source: "(181:16) {#each limitsdata as itemInfo}",
15959
+ source: "(194:16) {#each limitsdata as itemInfo, index}",
15517
15960
  ctx
15518
15961
  });
15519
15962
 
15520
15963
  return block;
15521
15964
  }
15522
15965
 
15523
- // (262:10) {#if !amountIsUnset && !limitsdata.isModified}
15966
+ // (285:10) {#if !amountIsUnset && !limitsdata.isModified && changeableDataset}
15524
15967
  function create_if_block_2$1(ctx) {
15525
15968
  let button;
15526
15969
  let mounted;
@@ -15531,13 +15974,13 @@
15531
15974
  button = element("button");
15532
15975
  button.textContent = "Remove Limits";
15533
15976
  attr_dev(button, "class", "InfoCardRemoveButton");
15534
- add_location(button, file$1, 262, 12, 10902);
15977
+ add_location(button, file$1, 285, 12, 12927);
15535
15978
  },
15536
15979
  m: function mount(target, anchor) {
15537
15980
  insert_dev(target, button, anchor);
15538
15981
 
15539
15982
  if (!mounted) {
15540
- dispose = listen_dev(button, "click", /*click_handler_1*/ ctx[17], false, false, false);
15983
+ dispose = listen_dev(button, "click", /*click_handler_4*/ ctx[24], false, false, false);
15541
15984
  mounted = true;
15542
15985
  }
15543
15986
  },
@@ -15553,14 +15996,14 @@
15553
15996
  block,
15554
15997
  id: create_if_block_2$1.name,
15555
15998
  type: "if",
15556
- source: "(262:10) {#if !amountIsUnset && !limitsdata.isModified}",
15999
+ source: "(285:10) {#if !amountIsUnset && !limitsdata.isModified && changeableDataset}",
15557
16000
  ctx
15558
16001
  });
15559
16002
 
15560
16003
  return block;
15561
16004
  }
15562
16005
 
15563
- // (268:4) {#if openLimitsModal}
16006
+ // (291:4) {#if openLimitsModal}
15564
16007
  function create_if_block_1$1(ctx) {
15565
16008
  let player_account_modal;
15566
16009
  let player_account_gaming_limits_confirmation_modal;
@@ -15571,22 +16014,22 @@
15571
16014
  player_account_modal = element("player-account-modal");
15572
16015
  player_account_gaming_limits_confirmation_modal = element("player-account-gaming-limits-confirmation-modal");
15573
16016
 
15574
- set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modaltext", player_account_gaming_limits_confirmation_modal_modaltext_value = /*removeAllLimits*/ ctx[6]
15575
- ? /*removeAllLimitsText*/ ctx[8]
15576
- : /*removeLimitText*/ ctx[9]);
16017
+ set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modaltext", player_account_gaming_limits_confirmation_modal_modaltext_value = /*removeAllLimits*/ ctx[7]
16018
+ ? /*removeAllLimitsText*/ ctx[9]
16019
+ : /*removeLimitText*/ ctx[10]);
15577
16020
 
15578
16021
  set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modalsource", "infoCard");
15579
- add_location(player_account_gaming_limits_confirmation_modal, file$1, 269, 8, 11122);
15580
- add_location(player_account_modal, file$1, 268, 6, 11091);
16022
+ add_location(player_account_gaming_limits_confirmation_modal, file$1, 292, 8, 13147);
16023
+ add_location(player_account_modal, file$1, 291, 6, 13116);
15581
16024
  },
15582
16025
  m: function mount(target, anchor) {
15583
16026
  insert_dev(target, player_account_modal, anchor);
15584
16027
  append_dev(player_account_modal, player_account_gaming_limits_confirmation_modal);
15585
16028
  },
15586
16029
  p: function update(ctx, dirty) {
15587
- if (dirty[0] & /*removeAllLimits, removeAllLimitsText, removeLimitText*/ 832 && player_account_gaming_limits_confirmation_modal_modaltext_value !== (player_account_gaming_limits_confirmation_modal_modaltext_value = /*removeAllLimits*/ ctx[6]
15588
- ? /*removeAllLimitsText*/ ctx[8]
15589
- : /*removeLimitText*/ ctx[9])) {
16030
+ if (dirty[0] & /*removeAllLimits, removeAllLimitsText, removeLimitText*/ 1664 && player_account_gaming_limits_confirmation_modal_modaltext_value !== (player_account_gaming_limits_confirmation_modal_modaltext_value = /*removeAllLimits*/ ctx[7]
16031
+ ? /*removeAllLimitsText*/ ctx[9]
16032
+ : /*removeLimitText*/ ctx[10])) {
15590
16033
  set_custom_element_data(player_account_gaming_limits_confirmation_modal, "modaltext", player_account_gaming_limits_confirmation_modal_modaltext_value);
15591
16034
  }
15592
16035
  },
@@ -15599,7 +16042,7 @@
15599
16042
  block,
15600
16043
  id: create_if_block_1$1.name,
15601
16044
  type: "if",
15602
- source: "(268:4) {#if openLimitsModal}",
16045
+ source: "(291:4) {#if openLimitsModal}",
15603
16046
  ctx
15604
16047
  });
15605
16048
 
@@ -15610,7 +16053,7 @@
15610
16053
  let if_block_anchor;
15611
16054
 
15612
16055
  function select_block_type(ctx, dirty) {
15613
- if (/*isLoading*/ ctx[10]) return create_if_block$1;
16056
+ if (/*isLoading*/ ctx[12]) return create_if_block$1;
15614
16057
  return create_else_block$1;
15615
16058
  }
15616
16059
 
@@ -15659,21 +16102,20 @@
15659
16102
  let { infoname = "" } = $$props;
15660
16103
  let { infocontent = "" } = $$props;
15661
16104
  let { limitname = "" } = $$props;
16105
+ let { playercurrency = "" } = $$props;
16106
+ let { showdeletenotification = false } = $$props;
15662
16107
  let isLoading = false;
15663
-
15664
- // let differencesExist:boolean = false;
15665
- let showPopup = false;
15666
-
16108
+ let showPopup = new Array(5).fill(0);
15667
16109
  let periodLimitsArray = ["Daily", "Weekly", "Monthly"];
15668
16110
  let amountIsUnset = true;
15669
16111
  let removeAllLimits = true;
15670
16112
  let openLimitsModal = false;
15671
16113
  let userAgent = window.navigator.userAgent;
15672
16114
  let isMobile = getDevice(userAgent) === "PC" ? false : true;
15673
- let isLimitUpdateSet = false;
15674
16115
  let removeAllLimitsText = "";
15675
16116
  let removeLimitText = "";
15676
- let changeLimitsText = "";
16117
+ let changeableDataset = true;
16118
+ let currentDate = moment();
15677
16119
 
15678
16120
  const updateLimits = editData => {
15679
16121
  window.postMessage(
@@ -15687,8 +16129,8 @@
15687
16129
  };
15688
16130
 
15689
16131
  const removeLimits = resetData => {
15690
- $$invalidate(7, openLimitsModal = true);
15691
- $$invalidate(6, removeAllLimits = true);
16132
+ $$invalidate(8, openLimitsModal = true);
16133
+ $$invalidate(7, removeAllLimits = true);
15692
16134
  window.postMessage({ type: "ShowLimitsConfirmationModal" }, window.location.href);
15693
16135
 
15694
16136
  window.postMessage(
@@ -15702,8 +16144,8 @@
15702
16144
  };
15703
16145
 
15704
16146
  const removeItemLimit = (itemData, limitName) => {
15705
- $$invalidate(7, openLimitsModal = true);
15706
- $$invalidate(6, removeAllLimits = false);
16147
+ $$invalidate(8, openLimitsModal = true);
16148
+ $$invalidate(7, removeAllLimits = false);
15707
16149
  window.postMessage({ type: "ShowLimitsConfirmationModal" }, window.location.href);
15708
16150
 
15709
16151
  window.postMessage(
@@ -15716,8 +16158,20 @@
15716
16158
  );
15717
16159
  };
15718
16160
 
15719
- const openInfoPopup = () => {
15720
- $$invalidate(4, showPopup = true);
16161
+ const openInfoPopup = index => {
16162
+ window.postMessage(
16163
+ {
16164
+ type: "ClosePlayerAccountGamingLimitsPopup"
16165
+ },
16166
+ window.location.href
16167
+ );
16168
+
16169
+ setTimeout(
16170
+ () => {
16171
+ $$invalidate(5, showPopup[index] = true, showPopup);
16172
+ },
16173
+ 50
16174
+ );
15721
16175
  };
15722
16176
 
15723
16177
  const constructDefaultFields = limitsArray => {
@@ -15733,7 +16187,7 @@
15733
16187
 
15734
16188
  limitsArray.forEach(itemData => {
15735
16189
  if (itemData.period === limitsData) {
15736
- if (itemData.amount !== "No limit") $$invalidate(5, amountIsUnset = false);
16190
+ if (itemData.amount !== "No limit") $$invalidate(6, amountIsUnset = false);
15737
16191
  }
15738
16192
  });
15739
16193
  });
@@ -15805,8 +16259,16 @@
15805
16259
  ? "wagering limit"
15806
16260
  : "loss limit";
15807
16261
 
15808
- $$invalidate(8, removeAllLimitsText = `Are you sure you want to remove all the ${limitType}s?`);
15809
- $$invalidate(9, removeLimitText = `Are you sure you want to remove the ${limitType}?`);
16262
+ $$invalidate(9, removeAllLimitsText = `Are you sure you want to remove all the ${limitType}s?`);
16263
+ $$invalidate(10, removeLimitText = `Are you sure you want to remove the ${limitType}?`);
16264
+ };
16265
+
16266
+ const alterableDataset = data => {
16267
+ data.forEach(dataItem => {
16268
+ if (dataItem.isModified) {
16269
+ $$invalidate(11, changeableDataset = false);
16270
+ }
16271
+ });
15810
16272
  };
15811
16273
 
15812
16274
  const initialLoad = () => {
@@ -15814,6 +16276,8 @@
15814
16276
 
15815
16277
  if (limitname === "Deposit Limit" || limitname === "Time Limit") {
15816
16278
  if (Array.isArray(limitsdata)) {
16279
+ alterableDataset(limitsdata);
16280
+
15817
16281
  // order incoming arrays from NorWAY by period
15818
16282
  limitsdata.sort(orderByPeriod);
15819
16283
 
@@ -15823,9 +16287,9 @@
15823
16287
  } else {
15824
16288
  if (!limitsdata.hasOwnProperty("period")) {
15825
16289
  $$invalidate(0, limitsdata = addDefaultValues());
15826
- $$invalidate(5, amountIsUnset = limitsdata.amount == "No limit" ? true : false);
16290
+ $$invalidate(6, amountIsUnset = limitsdata.amount == "No limit" ? true : false);
15827
16291
  } else {
15828
- $$invalidate(5, amountIsUnset = limitsdata.amount == "No limit" ? true : false);
16292
+ $$invalidate(6, amountIsUnset = limitsdata.amount == "No limit" ? true : false);
15829
16293
  }
15830
16294
  }
15831
16295
  };
@@ -15834,11 +16298,11 @@
15834
16298
  if (e.data) {
15835
16299
  switch (e.data.type) {
15836
16300
  case "ClosePlayerAccountGamingLimitsPopup":
15837
- $$invalidate(4, showPopup = false);
16301
+ $$invalidate(5, showPopup = new Array(5).fill(0));
15838
16302
  break;
15839
16303
  case "ModalClosed":
15840
- $$invalidate(7, openLimitsModal = false);
15841
- $$invalidate(6, removeAllLimits = false);
16304
+ $$invalidate(8, openLimitsModal = false);
16305
+ $$invalidate(7, removeAllLimits = false);
15842
16306
  break;
15843
16307
  }
15844
16308
  }
@@ -15852,20 +16316,32 @@
15852
16316
  };
15853
16317
  });
15854
16318
 
15855
- const writable_props = ["limitsdata", "infoname", "infocontent", "limitname"];
16319
+ const writable_props = [
16320
+ "limitsdata",
16321
+ "infoname",
16322
+ "infocontent",
16323
+ "limitname",
16324
+ "playercurrency",
16325
+ "showdeletenotification"
16326
+ ];
15856
16327
 
15857
16328
  Object.keys($$props).forEach(key => {
15858
16329
  if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$") console.warn(`<undefined> was created with unknown prop '${key}'`);
15859
16330
  });
15860
16331
 
15861
- const click_handler = () => updateLimits(limitsdata);
15862
- const click_handler_1 = () => removeLimits(limitsdata);
16332
+ const click_handler = () => openInfoPopup(0);
16333
+ const click_handler_1 = index => openInfoPopup(index + 1);
16334
+ const click_handler_2 = index => openInfoPopup(index + 1);
16335
+ const click_handler_3 = () => updateLimits(limitsdata);
16336
+ const click_handler_4 = () => removeLimits(limitsdata);
15863
16337
 
15864
16338
  $$self.$$set = $$props => {
15865
16339
  if ("limitsdata" in $$props) $$invalidate(0, limitsdata = $$props.limitsdata);
15866
16340
  if ("infoname" in $$props) $$invalidate(1, infoname = $$props.infoname);
15867
16341
  if ("infocontent" in $$props) $$invalidate(2, infocontent = $$props.infocontent);
15868
16342
  if ("limitname" in $$props) $$invalidate(3, limitname = $$props.limitname);
16343
+ if ("playercurrency" in $$props) $$invalidate(4, playercurrency = $$props.playercurrency);
16344
+ if ("showdeletenotification" in $$props) $$invalidate(19, showdeletenotification = $$props.showdeletenotification);
15869
16345
  };
15870
16346
 
15871
16347
  $$self.$capture_state = () => ({
@@ -15876,6 +16352,8 @@
15876
16352
  infoname,
15877
16353
  infocontent,
15878
16354
  limitname,
16355
+ playercurrency,
16356
+ showdeletenotification,
15879
16357
  isLoading,
15880
16358
  showPopup,
15881
16359
  periodLimitsArray,
@@ -15884,10 +16362,10 @@
15884
16362
  openLimitsModal,
15885
16363
  userAgent,
15886
16364
  isMobile,
15887
- isLimitUpdateSet,
15888
16365
  removeAllLimitsText,
15889
16366
  removeLimitText,
15890
- changeLimitsText,
16367
+ changeableDataset,
16368
+ currentDate,
15891
16369
  updateLimits,
15892
16370
  removeLimits,
15893
16371
  removeItemLimit,
@@ -15897,6 +16375,7 @@
15897
16375
  insertDefaultPeriodData,
15898
16376
  orderByPeriod,
15899
16377
  setLimitModalTexts,
16378
+ alterableDataset,
15900
16379
  initialLoad,
15901
16380
  messageHandler
15902
16381
  });
@@ -15906,18 +16385,20 @@
15906
16385
  if ("infoname" in $$props) $$invalidate(1, infoname = $$props.infoname);
15907
16386
  if ("infocontent" in $$props) $$invalidate(2, infocontent = $$props.infocontent);
15908
16387
  if ("limitname" in $$props) $$invalidate(3, limitname = $$props.limitname);
15909
- if ("isLoading" in $$props) $$invalidate(10, isLoading = $$props.isLoading);
15910
- if ("showPopup" in $$props) $$invalidate(4, showPopup = $$props.showPopup);
16388
+ if ("playercurrency" in $$props) $$invalidate(4, playercurrency = $$props.playercurrency);
16389
+ if ("showdeletenotification" in $$props) $$invalidate(19, showdeletenotification = $$props.showdeletenotification);
16390
+ if ("isLoading" in $$props) $$invalidate(12, isLoading = $$props.isLoading);
16391
+ if ("showPopup" in $$props) $$invalidate(5, showPopup = $$props.showPopup);
15911
16392
  if ("periodLimitsArray" in $$props) periodLimitsArray = $$props.periodLimitsArray;
15912
- if ("amountIsUnset" in $$props) $$invalidate(5, amountIsUnset = $$props.amountIsUnset);
15913
- if ("removeAllLimits" in $$props) $$invalidate(6, removeAllLimits = $$props.removeAllLimits);
15914
- if ("openLimitsModal" in $$props) $$invalidate(7, openLimitsModal = $$props.openLimitsModal);
16393
+ if ("amountIsUnset" in $$props) $$invalidate(6, amountIsUnset = $$props.amountIsUnset);
16394
+ if ("removeAllLimits" in $$props) $$invalidate(7, removeAllLimits = $$props.removeAllLimits);
16395
+ if ("openLimitsModal" in $$props) $$invalidate(8, openLimitsModal = $$props.openLimitsModal);
15915
16396
  if ("userAgent" in $$props) userAgent = $$props.userAgent;
15916
- if ("isMobile" in $$props) $$invalidate(11, isMobile = $$props.isMobile);
15917
- if ("isLimitUpdateSet" in $$props) isLimitUpdateSet = $$props.isLimitUpdateSet;
15918
- if ("removeAllLimitsText" in $$props) $$invalidate(8, removeAllLimitsText = $$props.removeAllLimitsText);
15919
- if ("removeLimitText" in $$props) $$invalidate(9, removeLimitText = $$props.removeLimitText);
15920
- if ("changeLimitsText" in $$props) changeLimitsText = $$props.changeLimitsText;
16397
+ if ("isMobile" in $$props) $$invalidate(13, isMobile = $$props.isMobile);
16398
+ if ("removeAllLimitsText" in $$props) $$invalidate(9, removeAllLimitsText = $$props.removeAllLimitsText);
16399
+ if ("removeLimitText" in $$props) $$invalidate(10, removeLimitText = $$props.removeLimitText);
16400
+ if ("changeableDataset" in $$props) $$invalidate(11, changeableDataset = $$props.changeableDataset);
16401
+ if ("currentDate" in $$props) $$invalidate(14, currentDate = $$props.currentDate);
15921
16402
  };
15922
16403
 
15923
16404
  if ($$props && "$$inject" in $$props) {
@@ -15935,27 +16416,34 @@
15935
16416
  infoname,
15936
16417
  infocontent,
15937
16418
  limitname,
16419
+ playercurrency,
15938
16420
  showPopup,
15939
16421
  amountIsUnset,
15940
16422
  removeAllLimits,
15941
16423
  openLimitsModal,
15942
16424
  removeAllLimitsText,
15943
16425
  removeLimitText,
16426
+ changeableDataset,
15944
16427
  isLoading,
15945
16428
  isMobile,
16429
+ currentDate,
15946
16430
  updateLimits,
15947
16431
  removeLimits,
15948
16432
  removeItemLimit,
15949
16433
  openInfoPopup,
16434
+ showdeletenotification,
15950
16435
  click_handler,
15951
- click_handler_1
16436
+ click_handler_1,
16437
+ click_handler_2,
16438
+ click_handler_3,
16439
+ click_handler_4
15952
16440
  ];
15953
16441
  }
15954
16442
 
15955
16443
  class PlayerAccountGamingLimitsInfoCard extends SvelteElement {
15956
16444
  constructor(options) {
15957
16445
  super();
15958
- this.shadowRoot.innerHTML = `<style>.InfoCard{padding:20px;color:#000;background:#fff;box-shadow:0px 3px 12px #00000012;border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid #D0046C;align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:#58586B;font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:#FD2839;border:2px solid #FD2839}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:3px;right:0;content:"\\274c";font-size:12px;color:#FFF;line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:#F9F8F8}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:#000;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:#D0046C;border:1px solid #D0046C;color:#fff;margin-right:10px}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid #000}.InfoCardIconWrapper{position:relative}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}</style>`;
16446
+ this.shadowRoot.innerHTML = `<style>.InfoCard{padding:20px;color:#000;background:#fff;box-shadow:0px 3px 12px #00000012;border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid #D0046C;align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:#58586B;font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:#FD2839;border:2px solid #FD2839}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:"\\274c";font-size:8px;color:#FFF;line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:#F9F8F8}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:#000;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:#D0046C;border:1px solid #D0046C;color:#fff;margin-right:10px}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid #000}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid #D0046C;align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:#5E5E30;border:1px solid #5E5E30}</style>`;
15959
16447
 
15960
16448
  init(
15961
16449
  this,
@@ -15971,7 +16459,9 @@
15971
16459
  limitsdata: 0,
15972
16460
  infoname: 1,
15973
16461
  infocontent: 2,
15974
- limitname: 3
16462
+ limitname: 3,
16463
+ playercurrency: 4,
16464
+ showdeletenotification: 19
15975
16465
  },
15976
16466
  [-1, -1]
15977
16467
  );
@@ -15989,7 +16479,14 @@
15989
16479
  }
15990
16480
 
15991
16481
  static get observedAttributes() {
15992
- return ["limitsdata", "infoname", "infocontent", "limitname"];
16482
+ return [
16483
+ "limitsdata",
16484
+ "infoname",
16485
+ "infocontent",
16486
+ "limitname",
16487
+ "playercurrency",
16488
+ "showdeletenotification"
16489
+ ];
15993
16490
  }
15994
16491
 
15995
16492
  get limitsdata() {
@@ -16027,6 +16524,24 @@
16027
16524
  this.$set({ limitname });
16028
16525
  flush();
16029
16526
  }
16527
+
16528
+ get playercurrency() {
16529
+ return this.$$.ctx[4];
16530
+ }
16531
+
16532
+ set playercurrency(playercurrency) {
16533
+ this.$set({ playercurrency });
16534
+ flush();
16535
+ }
16536
+
16537
+ get showdeletenotification() {
16538
+ return this.$$.ctx[19];
16539
+ }
16540
+
16541
+ set showdeletenotification(showdeletenotification) {
16542
+ this.$set({ showdeletenotification });
16543
+ flush();
16544
+ }
16030
16545
  }
16031
16546
 
16032
16547
  !customElements.get('player-account-gaming-limits-info-card') && customElements.define('player-account-gaming-limits-info-card', PlayerAccountGamingLimitsInfoCard);
@@ -16034,39 +16549,44 @@
16034
16549
  /* src/PlayerAccountGamingLimits.svelte generated by Svelte v3.37.0 */
16035
16550
  const file = "src/PlayerAccountGamingLimits.svelte";
16036
16551
 
16037
- // (85:2) {:else}
16552
+ // (96:2) {:else}
16038
16553
  function create_else_block(ctx) {
16039
16554
  let player_account_gaming_limits_group_edit;
16040
16555
 
16041
16556
  const block = {
16042
16557
  c: function create() {
16043
16558
  player_account_gaming_limits_group_edit = element("player-account-gaming-limits-group-edit");
16044
- set_custom_element_data(player_account_gaming_limits_group_edit, "limitsdata", /*editLimitData*/ ctx[6]);
16045
- set_custom_element_data(player_account_gaming_limits_group_edit, "limitname", /*editLimitName*/ ctx[7]);
16046
- set_custom_element_data(player_account_gaming_limits_group_edit, "infoname", /*infoname*/ ctx[11]);
16047
- set_custom_element_data(player_account_gaming_limits_group_edit, "infocontent", /*infocontent*/ ctx[12]);
16559
+ set_custom_element_data(player_account_gaming_limits_group_edit, "limitsdata", /*editLimitData*/ ctx[7]);
16560
+ set_custom_element_data(player_account_gaming_limits_group_edit, "limitname", /*editLimitName*/ ctx[8]);
16561
+ set_custom_element_data(player_account_gaming_limits_group_edit, "infoname", /*infoname*/ ctx[12]);
16562
+ set_custom_element_data(player_account_gaming_limits_group_edit, "infocontent", /*infocontent*/ ctx[13]);
16048
16563
  set_custom_element_data(player_account_gaming_limits_group_edit, "showsuccessnotification", /*showsuccessnotification*/ ctx[5]);
16049
- set_custom_element_data(player_account_gaming_limits_group_edit, "showresetnotification", /*showresetnotification*/ ctx[4]);
16050
- add_location(player_account_gaming_limits_group_edit, file, 85, 4, 4078);
16564
+ set_custom_element_data(player_account_gaming_limits_group_edit, "showdeletenotification", /*showdeletenotification*/ ctx[4]);
16565
+ set_custom_element_data(player_account_gaming_limits_group_edit, "playercurrency", /*playercurrency*/ ctx[6]);
16566
+ add_location(player_account_gaming_limits_group_edit, file, 96, 4, 4672);
16051
16567
  },
16052
16568
  m: function mount(target, anchor) {
16053
16569
  insert_dev(target, player_account_gaming_limits_group_edit, anchor);
16054
16570
  },
16055
16571
  p: function update(ctx, dirty) {
16056
- if (dirty & /*editLimitData*/ 64) {
16057
- set_custom_element_data(player_account_gaming_limits_group_edit, "limitsdata", /*editLimitData*/ ctx[6]);
16572
+ if (dirty & /*editLimitData*/ 128) {
16573
+ set_custom_element_data(player_account_gaming_limits_group_edit, "limitsdata", /*editLimitData*/ ctx[7]);
16058
16574
  }
16059
16575
 
16060
- if (dirty & /*editLimitName*/ 128) {
16061
- set_custom_element_data(player_account_gaming_limits_group_edit, "limitname", /*editLimitName*/ ctx[7]);
16576
+ if (dirty & /*editLimitName*/ 256) {
16577
+ set_custom_element_data(player_account_gaming_limits_group_edit, "limitname", /*editLimitName*/ ctx[8]);
16062
16578
  }
16063
16579
 
16064
16580
  if (dirty & /*showsuccessnotification*/ 32) {
16065
16581
  set_custom_element_data(player_account_gaming_limits_group_edit, "showsuccessnotification", /*showsuccessnotification*/ ctx[5]);
16066
16582
  }
16067
16583
 
16068
- if (dirty & /*showresetnotification*/ 16) {
16069
- set_custom_element_data(player_account_gaming_limits_group_edit, "showresetnotification", /*showresetnotification*/ ctx[4]);
16584
+ if (dirty & /*showdeletenotification*/ 16) {
16585
+ set_custom_element_data(player_account_gaming_limits_group_edit, "showdeletenotification", /*showdeletenotification*/ ctx[4]);
16586
+ }
16587
+
16588
+ if (dirty & /*playercurrency*/ 64) {
16589
+ set_custom_element_data(player_account_gaming_limits_group_edit, "playercurrency", /*playercurrency*/ ctx[6]);
16070
16590
  }
16071
16591
  },
16072
16592
  d: function destroy(detaching) {
@@ -16078,14 +16598,14 @@
16078
16598
  block,
16079
16599
  id: create_else_block.name,
16080
16600
  type: "else",
16081
- source: "(85:2) {:else}",
16601
+ source: "(96:2) {:else}",
16082
16602
  ctx
16083
16603
  });
16084
16604
 
16085
16605
  return block;
16086
16606
  }
16087
16607
 
16088
- // (60:2) {#if limitsGroupView}
16608
+ // (66:2) {#if limitsGroupView}
16089
16609
  function create_if_block_1(ctx) {
16090
16610
  let div2;
16091
16611
  let t0;
@@ -16093,111 +16613,171 @@
16093
16613
  let h3;
16094
16614
  let t1;
16095
16615
  let t2;
16616
+ let t3;
16096
16617
  let div1;
16097
16618
  let player_account_gaming_limits_info_card0;
16098
- let t3;
16099
- let player_account_gaming_limits_info_card1;
16100
16619
  let t4;
16101
- let player_account_gaming_limits_info_card2;
16620
+ let player_account_gaming_limits_info_card1;
16102
16621
  let t5;
16622
+ let player_account_gaming_limits_info_card2;
16623
+ let t6;
16103
16624
  let player_account_gaming_limits_info_card3;
16104
- let if_block = /*isMobile*/ ctx[10] && create_if_block_2(ctx);
16625
+ let if_block0 = /*isMobile*/ ctx[11] && create_if_block_3(ctx);
16626
+ let if_block1 = /*showdeletenotification*/ ctx[4] && create_if_block_2(ctx);
16105
16627
 
16106
16628
  const block = {
16107
16629
  c: function create() {
16108
16630
  div2 = element("div");
16109
- if (if_block) if_block.c();
16631
+ if (if_block0) if_block0.c();
16110
16632
  t0 = space();
16111
16633
  div0 = element("div");
16112
16634
  h3 = element("h3");
16113
16635
  t1 = text("Gaming limits");
16114
16636
  t2 = space();
16637
+ if (if_block1) if_block1.c();
16638
+ t3 = space();
16115
16639
  div1 = element("div");
16116
16640
  player_account_gaming_limits_info_card0 = element("player-account-gaming-limits-info-card");
16117
- t3 = space();
16118
- player_account_gaming_limits_info_card1 = element("player-account-gaming-limits-info-card");
16119
16641
  t4 = space();
16120
- player_account_gaming_limits_info_card2 = element("player-account-gaming-limits-info-card");
16642
+ player_account_gaming_limits_info_card1 = element("player-account-gaming-limits-info-card");
16121
16643
  t5 = space();
16644
+ player_account_gaming_limits_info_card2 = element("player-account-gaming-limits-info-card");
16645
+ t6 = space();
16122
16646
  player_account_gaming_limits_info_card3 = element("player-account-gaming-limits-info-card");
16123
16647
 
16124
- attr_dev(h3, "class", "PlayerAccountGamingLimitsTitle " + (/*isMobile*/ ctx[10]
16648
+ attr_dev(h3, "class", "PlayerAccountGamingLimitsTitle " + (/*isMobile*/ ctx[11]
16125
16649
  ? "PlayerAccountGamingLimitsMobileTitle"
16126
16650
  : ""));
16127
16651
 
16128
- add_location(h3, file, 75, 8, 3183);
16652
+ add_location(h3, file, 81, 8, 3450);
16129
16653
  attr_dev(div0, "class", "PlayerAccountGamingLimitsHeader");
16130
- add_location(div0, file, 74, 6, 3129);
16654
+ add_location(div0, file, 80, 6, 3396);
16131
16655
  set_custom_element_data(player_account_gaming_limits_info_card0, "limitsdata", /*depositlimit*/ ctx[0]);
16132
- set_custom_element_data(player_account_gaming_limits_info_card0, "limitname", /*depositLimitName*/ ctx[13]);
16133
- set_custom_element_data(player_account_gaming_limits_info_card0, "infoname", /*infoname*/ ctx[11]);
16134
- set_custom_element_data(player_account_gaming_limits_info_card0, "infocontent", /*infocontent*/ ctx[12]);
16135
- add_location(player_account_gaming_limits_info_card0, file, 78, 8, 3378);
16656
+ set_custom_element_data(player_account_gaming_limits_info_card0, "limitname", /*depositLimitName*/ ctx[15]);
16657
+ set_custom_element_data(player_account_gaming_limits_info_card0, "infoname", /*infoname*/ ctx[12]);
16658
+ set_custom_element_data(player_account_gaming_limits_info_card0, "infocontent", /*infocontent*/ ctx[13]);
16659
+ set_custom_element_data(player_account_gaming_limits_info_card0, "showdeletenotification", /*showdeletenotification*/ ctx[4]);
16660
+ set_custom_element_data(player_account_gaming_limits_info_card0, "playercurrency", /*playercurrency*/ ctx[6]);
16661
+ add_location(player_account_gaming_limits_info_card0, file, 89, 8, 3804);
16136
16662
  set_custom_element_data(player_account_gaming_limits_info_card1, "limitsdata", /*wageringlimit*/ ctx[1]);
16137
- set_custom_element_data(player_account_gaming_limits_info_card1, "limitname", /*wageringLimitName*/ ctx[14]);
16138
- set_custom_element_data(player_account_gaming_limits_info_card1, "infoname", /*infoname*/ ctx[11]);
16139
- set_custom_element_data(player_account_gaming_limits_info_card1, "infocontent", /*infocontent*/ ctx[12]);
16140
- add_location(player_account_gaming_limits_info_card1, file, 79, 8, 3548);
16663
+ set_custom_element_data(player_account_gaming_limits_info_card1, "limitname", /*wageringLimitName*/ ctx[16]);
16664
+ set_custom_element_data(player_account_gaming_limits_info_card1, "infoname", /*infoname*/ ctx[12]);
16665
+ set_custom_element_data(player_account_gaming_limits_info_card1, "infocontent", /*infocontent*/ ctx[13]);
16666
+ set_custom_element_data(player_account_gaming_limits_info_card1, "showdeletenotification", /*showdeletenotification*/ ctx[4]);
16667
+ set_custom_element_data(player_account_gaming_limits_info_card1, "playercurrency", /*playercurrency*/ ctx[6]);
16668
+ add_location(player_account_gaming_limits_info_card1, file, 90, 8, 4016);
16141
16669
  set_custom_element_data(player_account_gaming_limits_info_card2, "limitsdata", /*losslimit*/ ctx[2]);
16142
- set_custom_element_data(player_account_gaming_limits_info_card2, "limitname", /*lossLimitName*/ ctx[15]);
16143
- set_custom_element_data(player_account_gaming_limits_info_card2, "infoname", /*infoname*/ ctx[11]);
16144
- set_custom_element_data(player_account_gaming_limits_info_card2, "infocontent", /*infocontent*/ ctx[12]);
16145
- add_location(player_account_gaming_limits_info_card2, file, 80, 8, 3720);
16670
+ set_custom_element_data(player_account_gaming_limits_info_card2, "limitname", /*lossLimitName*/ ctx[17]);
16671
+ set_custom_element_data(player_account_gaming_limits_info_card2, "infoname", /*infoname*/ ctx[12]);
16672
+ set_custom_element_data(player_account_gaming_limits_info_card2, "infocontent", /*infocontent*/ ctx[13]);
16673
+ set_custom_element_data(player_account_gaming_limits_info_card2, "showdeletenotification", /*showdeletenotification*/ ctx[4]);
16674
+ set_custom_element_data(player_account_gaming_limits_info_card2, "playercurrency", /*playercurrency*/ ctx[6]);
16675
+ add_location(player_account_gaming_limits_info_card2, file, 91, 8, 4230);
16146
16676
  set_custom_element_data(player_account_gaming_limits_info_card3, "limitsdata", /*timelimit*/ ctx[3]);
16147
- set_custom_element_data(player_account_gaming_limits_info_card3, "limitname", /*timeLimitName*/ ctx[16]);
16148
- set_custom_element_data(player_account_gaming_limits_info_card3, "infoname", /*infoname*/ ctx[11]);
16149
- set_custom_element_data(player_account_gaming_limits_info_card3, "infocontent", /*infocontent*/ ctx[12]);
16150
- add_location(player_account_gaming_limits_info_card3, file, 81, 8, 3884);
16677
+ set_custom_element_data(player_account_gaming_limits_info_card3, "limitname", /*timeLimitName*/ ctx[18]);
16678
+ set_custom_element_data(player_account_gaming_limits_info_card3, "infoname", /*infoname*/ ctx[12]);
16679
+ set_custom_element_data(player_account_gaming_limits_info_card3, "infocontent", /*infocontent*/ ctx[13]);
16680
+ set_custom_element_data(player_account_gaming_limits_info_card3, "showdeletenotification", /*showdeletenotification*/ ctx[4]);
16681
+ set_custom_element_data(player_account_gaming_limits_info_card3, "playercurrency", /*playercurrency*/ ctx[6]);
16682
+ add_location(player_account_gaming_limits_info_card3, file, 92, 8, 4436);
16151
16683
  attr_dev(div1, "class", "PlayerAccountGamingLimitsContainer");
16152
- add_location(div1, file, 77, 6, 3321);
16684
+ add_location(div1, file, 88, 6, 3747);
16153
16685
 
16154
- attr_dev(div2, "class", "PlayerAccountGamingLimitsWrapper " + (/*isMobile*/ ctx[10]
16686
+ attr_dev(div2, "class", "PlayerAccountGamingLimitsWrapper " + (/*isMobile*/ ctx[11]
16155
16687
  ? "PlayerAccountMobileGamingLimitsWrapper"
16156
- : "") + " " + (/*mediaQuery*/ ctx[17].matches && /*isMobile*/ ctx[10]
16688
+ : "") + " " + (/*mediaQuery*/ ctx[19].matches && /*isMobile*/ ctx[11]
16157
16689
  ? "PlayerAccountTabletGamingLimitsWrapper"
16158
16690
  : ""));
16159
16691
 
16160
- add_location(div2, file, 60, 4, 2140);
16692
+ add_location(div2, file, 66, 4, 2407);
16161
16693
  },
16162
16694
  m: function mount(target, anchor) {
16163
16695
  insert_dev(target, div2, anchor);
16164
- if (if_block) if_block.m(div2, null);
16696
+ if (if_block0) if_block0.m(div2, null);
16165
16697
  append_dev(div2, t0);
16166
16698
  append_dev(div2, div0);
16167
16699
  append_dev(div0, h3);
16168
16700
  append_dev(h3, t1);
16169
16701
  append_dev(div2, t2);
16702
+ if (if_block1) if_block1.m(div2, null);
16703
+ append_dev(div2, t3);
16170
16704
  append_dev(div2, div1);
16171
16705
  append_dev(div1, player_account_gaming_limits_info_card0);
16172
- append_dev(div1, t3);
16173
- append_dev(div1, player_account_gaming_limits_info_card1);
16174
16706
  append_dev(div1, t4);
16175
- append_dev(div1, player_account_gaming_limits_info_card2);
16707
+ append_dev(div1, player_account_gaming_limits_info_card1);
16176
16708
  append_dev(div1, t5);
16709
+ append_dev(div1, player_account_gaming_limits_info_card2);
16710
+ append_dev(div1, t6);
16177
16711
  append_dev(div1, player_account_gaming_limits_info_card3);
16178
16712
  },
16179
16713
  p: function update(ctx, dirty) {
16180
- if (/*isMobile*/ ctx[10]) if_block.p(ctx, dirty);
16714
+ if (/*isMobile*/ ctx[11]) if_block0.p(ctx, dirty);
16715
+
16716
+ if (/*showdeletenotification*/ ctx[4]) {
16717
+ if (if_block1) {
16718
+ if_block1.p(ctx, dirty);
16719
+ } else {
16720
+ if_block1 = create_if_block_2(ctx);
16721
+ if_block1.c();
16722
+ if_block1.m(div2, t3);
16723
+ }
16724
+ } else if (if_block1) {
16725
+ if_block1.d(1);
16726
+ if_block1 = null;
16727
+ }
16181
16728
 
16182
16729
  if (dirty & /*depositlimit*/ 1) {
16183
16730
  set_custom_element_data(player_account_gaming_limits_info_card0, "limitsdata", /*depositlimit*/ ctx[0]);
16184
16731
  }
16185
16732
 
16733
+ if (dirty & /*showdeletenotification*/ 16) {
16734
+ set_custom_element_data(player_account_gaming_limits_info_card0, "showdeletenotification", /*showdeletenotification*/ ctx[4]);
16735
+ }
16736
+
16737
+ if (dirty & /*playercurrency*/ 64) {
16738
+ set_custom_element_data(player_account_gaming_limits_info_card0, "playercurrency", /*playercurrency*/ ctx[6]);
16739
+ }
16740
+
16186
16741
  if (dirty & /*wageringlimit*/ 2) {
16187
16742
  set_custom_element_data(player_account_gaming_limits_info_card1, "limitsdata", /*wageringlimit*/ ctx[1]);
16188
16743
  }
16189
16744
 
16745
+ if (dirty & /*showdeletenotification*/ 16) {
16746
+ set_custom_element_data(player_account_gaming_limits_info_card1, "showdeletenotification", /*showdeletenotification*/ ctx[4]);
16747
+ }
16748
+
16749
+ if (dirty & /*playercurrency*/ 64) {
16750
+ set_custom_element_data(player_account_gaming_limits_info_card1, "playercurrency", /*playercurrency*/ ctx[6]);
16751
+ }
16752
+
16190
16753
  if (dirty & /*losslimit*/ 4) {
16191
16754
  set_custom_element_data(player_account_gaming_limits_info_card2, "limitsdata", /*losslimit*/ ctx[2]);
16192
16755
  }
16193
16756
 
16757
+ if (dirty & /*showdeletenotification*/ 16) {
16758
+ set_custom_element_data(player_account_gaming_limits_info_card2, "showdeletenotification", /*showdeletenotification*/ ctx[4]);
16759
+ }
16760
+
16761
+ if (dirty & /*playercurrency*/ 64) {
16762
+ set_custom_element_data(player_account_gaming_limits_info_card2, "playercurrency", /*playercurrency*/ ctx[6]);
16763
+ }
16764
+
16194
16765
  if (dirty & /*timelimit*/ 8) {
16195
16766
  set_custom_element_data(player_account_gaming_limits_info_card3, "limitsdata", /*timelimit*/ ctx[3]);
16196
16767
  }
16768
+
16769
+ if (dirty & /*showdeletenotification*/ 16) {
16770
+ set_custom_element_data(player_account_gaming_limits_info_card3, "showdeletenotification", /*showdeletenotification*/ ctx[4]);
16771
+ }
16772
+
16773
+ if (dirty & /*playercurrency*/ 64) {
16774
+ set_custom_element_data(player_account_gaming_limits_info_card3, "playercurrency", /*playercurrency*/ ctx[6]);
16775
+ }
16197
16776
  },
16198
16777
  d: function destroy(detaching) {
16199
16778
  if (detaching) detach_dev(div2);
16200
- if (if_block) if_block.d();
16779
+ if (if_block0) if_block0.d();
16780
+ if (if_block1) if_block1.d();
16201
16781
  }
16202
16782
  };
16203
16783
 
@@ -16205,14 +16785,14 @@
16205
16785
  block,
16206
16786
  id: create_if_block_1.name,
16207
16787
  type: "if",
16208
- source: "(60:2) {#if limitsGroupView}",
16788
+ source: "(66:2) {#if limitsGroupView}",
16209
16789
  ctx
16210
16790
  });
16211
16791
 
16212
16792
  return block;
16213
16793
  }
16214
16794
 
16215
- // (57:0) {#if isLoading}
16795
+ // (63:0) {#if isLoading}
16216
16796
  function create_if_block(ctx) {
16217
16797
  let div;
16218
16798
 
@@ -16220,7 +16800,7 @@
16220
16800
  c: function create() {
16221
16801
  div = element("div");
16222
16802
  attr_dev(div, "class", "ModalLoader");
16223
- add_location(div, file, 57, 2, 2072);
16803
+ add_location(div, file, 63, 2, 2339);
16224
16804
  },
16225
16805
  m: function mount(target, anchor) {
16226
16806
  insert_dev(target, div, anchor);
@@ -16235,15 +16815,15 @@
16235
16815
  block,
16236
16816
  id: create_if_block.name,
16237
16817
  type: "if",
16238
- source: "(57:0) {#if isLoading}",
16818
+ source: "(63:0) {#if isLoading}",
16239
16819
  ctx
16240
16820
  });
16241
16821
 
16242
16822
  return block;
16243
16823
  }
16244
16824
 
16245
- // (62:6) {#if isMobile}
16246
- function create_if_block_2(ctx) {
16825
+ // (68:6) {#if isMobile}
16826
+ function create_if_block_3(ctx) {
16247
16827
  let div;
16248
16828
  let svg;
16249
16829
  let g;
@@ -16264,8 +16844,8 @@
16264
16844
  span.textContent = "Return to menu";
16265
16845
  attr_dev(path, "id", "Chevron_Right");
16266
16846
  attr_dev(path, "d", "M57.633,129.007L165.93,237.268c4.752,4.74,12.451,4.74,17.215,0c4.752-4.74,4.752-12.439,0-17.179\n l-99.707-99.671l99.695-99.671c4.752-4.74,4.752-12.439,0-17.191c-4.752-4.74-12.463-4.74-17.215,0L57.621,111.816\n C52.942,116.507,52.942,124.327,57.633,129.007z");
16267
- add_location(path, file, 66, 12, 2719);
16268
- add_location(g, file, 65, 10, 2703);
16847
+ add_location(path, file, 72, 12, 2986);
16848
+ add_location(g, file, 71, 10, 2970);
16269
16849
  attr_dev(svg, "version", "1.1");
16270
16850
  attr_dev(svg, "id", "Capa_1");
16271
16851
  attr_dev(svg, "xmlns", "http://www.w3.org/2000/svg");
@@ -16277,10 +16857,10 @@
16277
16857
  attr_dev(svg, "xml:space", "preserve");
16278
16858
  attr_dev(svg, "width", "18px");
16279
16859
  attr_dev(svg, "fill", "#58586B");
16280
- add_location(svg, file, 63, 8, 2425);
16281
- add_location(span, file, 71, 8, 3070);
16860
+ add_location(svg, file, 69, 8, 2692);
16861
+ add_location(span, file, 77, 8, 3337);
16282
16862
  attr_dev(div, "class", "MenuReturnButton");
16283
- add_location(div, file, 62, 6, 2354);
16863
+ add_location(div, file, 68, 6, 2621);
16284
16864
  },
16285
16865
  m: function mount(target, anchor) {
16286
16866
  insert_dev(target, div, anchor);
@@ -16291,7 +16871,7 @@
16291
16871
  append_dev(div, span);
16292
16872
 
16293
16873
  if (!mounted) {
16294
- dispose = listen_dev(div, "click", /*click_handler*/ ctx[19], false, false, false);
16874
+ dispose = listen_dev(div, "click", /*click_handler*/ ctx[21], false, false, false);
16295
16875
  mounted = true;
16296
16876
  }
16297
16877
  },
@@ -16303,11 +16883,46 @@
16303
16883
  }
16304
16884
  };
16305
16885
 
16886
+ dispatch_dev("SvelteRegisterBlock", {
16887
+ block,
16888
+ id: create_if_block_3.name,
16889
+ type: "if",
16890
+ source: "(68:6) {#if isMobile}",
16891
+ ctx
16892
+ });
16893
+
16894
+ return block;
16895
+ }
16896
+
16897
+ // (84:6) {#if showdeletenotification}
16898
+ function create_if_block_2(ctx) {
16899
+ let div;
16900
+ let p;
16901
+
16902
+ const block = {
16903
+ c: function create() {
16904
+ div = element("div");
16905
+ p = element("p");
16906
+ p.textContent = `${/*removelimitstext*/ ctx[14]}`;
16907
+ add_location(p, file, 85, 10, 3688);
16908
+ attr_dev(div, "class", "PlayerAccountSuccessfulRemoveContainer");
16909
+ add_location(div, file, 84, 8, 3625);
16910
+ },
16911
+ m: function mount(target, anchor) {
16912
+ insert_dev(target, div, anchor);
16913
+ append_dev(div, p);
16914
+ },
16915
+ p: noop$1,
16916
+ d: function destroy(detaching) {
16917
+ if (detaching) detach_dev(div);
16918
+ }
16919
+ };
16920
+
16306
16921
  dispatch_dev("SvelteRegisterBlock", {
16307
16922
  block,
16308
16923
  id: create_if_block_2.name,
16309
16924
  type: "if",
16310
- source: "(62:6) {#if isMobile}",
16925
+ source: "(84:6) {#if showdeletenotification}",
16311
16926
  ctx
16312
16927
  });
16313
16928
 
@@ -16318,8 +16933,8 @@
16318
16933
  let if_block_anchor;
16319
16934
 
16320
16935
  function select_block_type(ctx, dirty) {
16321
- if (/*isLoading*/ ctx[9]) return create_if_block;
16322
- if (/*limitsGroupView*/ ctx[8]) return create_if_block_1;
16936
+ if (/*isLoading*/ ctx[10]) return create_if_block;
16937
+ if (/*limitsGroupView*/ ctx[9]) return create_if_block_1;
16323
16938
  return create_else_block;
16324
16939
  }
16325
16940
 
@@ -16378,13 +16993,15 @@
16378
16993
  let { wageringlimit = "" } = $$props;
16379
16994
  let { losslimit = "" } = $$props;
16380
16995
  let { timelimit = "" } = $$props;
16381
- let { showresetnotification = false } = $$props;
16996
+ let { showdeletenotification = false } = $$props;
16382
16997
  let { showsuccessnotification = false } = $$props;
16383
16998
  let isLoading = false;
16384
16999
  let userAgent = window.navigator.userAgent;
16385
17000
  let isMobile = getDevice(userAgent) === "PC" ? false : true;
17001
+ let playercurrency = "";
16386
17002
  let infoname = "Info";
16387
17003
  let infocontent = "Nulla ornare pulvinar dui. Nullam viverra, lacus vel consectetur euismod, ante lorem aliquam nisi, non faucibus nulla lacus sed sapien. Sed imperdiet tristique tincidunt.";
17004
+ let removelimitstext = "Selected limits have been removed.";
16388
17005
  let editLimitData;
16389
17006
  let editLimitName = "";
16390
17007
  let limitsGroupView = true;
@@ -16406,12 +17023,16 @@
16406
17023
  if (e.data) {
16407
17024
  switch (e.data.type) {
16408
17025
  case "EditPlayerAccountGamingLimits":
16409
- $$invalidate(6, editLimitData = e.data.edit);
16410
- $$invalidate(7, editLimitName = e.data.name);
16411
- $$invalidate(8, limitsGroupView = false);
17026
+ $$invalidate(7, editLimitData = e.data.edit);
17027
+ $$invalidate(8, editLimitName = e.data.name);
17028
+ $$invalidate(9, limitsGroupView = false);
16412
17029
  break;
16413
17030
  case "PlayerAccountBackToLimitsView":
16414
- $$invalidate(8, limitsGroupView = true);
17031
+ $$invalidate(9, limitsGroupView = true);
17032
+ break;
17033
+ case "ProfileDetailsData":
17034
+ let profileDetails = e.data.profileDetails;
17035
+ $$invalidate(6, playercurrency = profileDetails.currency);
16415
17036
  break;
16416
17037
  }
16417
17038
  }
@@ -16430,7 +17051,7 @@
16430
17051
  "wageringlimit",
16431
17052
  "losslimit",
16432
17053
  "timelimit",
16433
- "showresetnotification",
17054
+ "showdeletenotification",
16434
17055
  "showsuccessnotification"
16435
17056
  ];
16436
17057
 
@@ -16445,7 +17066,7 @@
16445
17066
  if ("wageringlimit" in $$props) $$invalidate(1, wageringlimit = $$props.wageringlimit);
16446
17067
  if ("losslimit" in $$props) $$invalidate(2, losslimit = $$props.losslimit);
16447
17068
  if ("timelimit" in $$props) $$invalidate(3, timelimit = $$props.timelimit);
16448
- if ("showresetnotification" in $$props) $$invalidate(4, showresetnotification = $$props.showresetnotification);
17069
+ if ("showdeletenotification" in $$props) $$invalidate(4, showdeletenotification = $$props.showdeletenotification);
16449
17070
  if ("showsuccessnotification" in $$props) $$invalidate(5, showsuccessnotification = $$props.showsuccessnotification);
16450
17071
  };
16451
17072
 
@@ -16457,13 +17078,15 @@
16457
17078
  wageringlimit,
16458
17079
  losslimit,
16459
17080
  timelimit,
16460
- showresetnotification,
17081
+ showdeletenotification,
16461
17082
  showsuccessnotification,
16462
17083
  isLoading,
16463
17084
  userAgent,
16464
17085
  isMobile,
17086
+ playercurrency,
16465
17087
  infoname,
16466
17088
  infocontent,
17089
+ removelimitstext,
16467
17090
  editLimitData,
16468
17091
  editLimitName,
16469
17092
  limitsGroupView,
@@ -16482,20 +17105,22 @@
16482
17105
  if ("wageringlimit" in $$props) $$invalidate(1, wageringlimit = $$props.wageringlimit);
16483
17106
  if ("losslimit" in $$props) $$invalidate(2, losslimit = $$props.losslimit);
16484
17107
  if ("timelimit" in $$props) $$invalidate(3, timelimit = $$props.timelimit);
16485
- if ("showresetnotification" in $$props) $$invalidate(4, showresetnotification = $$props.showresetnotification);
17108
+ if ("showdeletenotification" in $$props) $$invalidate(4, showdeletenotification = $$props.showdeletenotification);
16486
17109
  if ("showsuccessnotification" in $$props) $$invalidate(5, showsuccessnotification = $$props.showsuccessnotification);
16487
- if ("isLoading" in $$props) $$invalidate(9, isLoading = $$props.isLoading);
17110
+ if ("isLoading" in $$props) $$invalidate(10, isLoading = $$props.isLoading);
16488
17111
  if ("userAgent" in $$props) userAgent = $$props.userAgent;
16489
- if ("isMobile" in $$props) $$invalidate(10, isMobile = $$props.isMobile);
16490
- if ("infoname" in $$props) $$invalidate(11, infoname = $$props.infoname);
16491
- if ("infocontent" in $$props) $$invalidate(12, infocontent = $$props.infocontent);
16492
- if ("editLimitData" in $$props) $$invalidate(6, editLimitData = $$props.editLimitData);
16493
- if ("editLimitName" in $$props) $$invalidate(7, editLimitName = $$props.editLimitName);
16494
- if ("limitsGroupView" in $$props) $$invalidate(8, limitsGroupView = $$props.limitsGroupView);
16495
- if ("depositLimitName" in $$props) $$invalidate(13, depositLimitName = $$props.depositLimitName);
16496
- if ("wageringLimitName" in $$props) $$invalidate(14, wageringLimitName = $$props.wageringLimitName);
16497
- if ("lossLimitName" in $$props) $$invalidate(15, lossLimitName = $$props.lossLimitName);
16498
- if ("timeLimitName" in $$props) $$invalidate(16, timeLimitName = $$props.timeLimitName);
17112
+ if ("isMobile" in $$props) $$invalidate(11, isMobile = $$props.isMobile);
17113
+ if ("playercurrency" in $$props) $$invalidate(6, playercurrency = $$props.playercurrency);
17114
+ if ("infoname" in $$props) $$invalidate(12, infoname = $$props.infoname);
17115
+ if ("infocontent" in $$props) $$invalidate(13, infocontent = $$props.infocontent);
17116
+ if ("removelimitstext" in $$props) $$invalidate(14, removelimitstext = $$props.removelimitstext);
17117
+ if ("editLimitData" in $$props) $$invalidate(7, editLimitData = $$props.editLimitData);
17118
+ if ("editLimitName" in $$props) $$invalidate(8, editLimitName = $$props.editLimitName);
17119
+ if ("limitsGroupView" in $$props) $$invalidate(9, limitsGroupView = $$props.limitsGroupView);
17120
+ if ("depositLimitName" in $$props) $$invalidate(15, depositLimitName = $$props.depositLimitName);
17121
+ if ("wageringLimitName" in $$props) $$invalidate(16, wageringLimitName = $$props.wageringLimitName);
17122
+ if ("lossLimitName" in $$props) $$invalidate(17, lossLimitName = $$props.lossLimitName);
17123
+ if ("timeLimitName" in $$props) $$invalidate(18, timeLimitName = $$props.timeLimitName);
16499
17124
  };
16500
17125
 
16501
17126
  if ($$props && "$$inject" in $$props) {
@@ -16513,8 +17138,9 @@
16513
17138
  wageringlimit,
16514
17139
  losslimit,
16515
17140
  timelimit,
16516
- showresetnotification,
17141
+ showdeletenotification,
16517
17142
  showsuccessnotification,
17143
+ playercurrency,
16518
17144
  editLimitData,
16519
17145
  editLimitName,
16520
17146
  limitsGroupView,
@@ -16522,6 +17148,7 @@
16522
17148
  isMobile,
16523
17149
  infoname,
16524
17150
  infocontent,
17151
+ removelimitstext,
16525
17152
  depositLimitName,
16526
17153
  wageringLimitName,
16527
17154
  lossLimitName,
@@ -16535,7 +17162,7 @@
16535
17162
  class PlayerAccountGamingLimits extends SvelteElement {
16536
17163
  constructor(options) {
16537
17164
  super();
16538
- this.shadowRoot.innerHTML = `<style>.PlayerAccountGamingLimitsWrapper{color:#D0046C;padding:50px;max-width:760px}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader h3{font-size:24px;font-weight:300;text-transform:capitalize}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader .PlayerAccountGamingLimitsMobileTitle{font-size:16px;font-weight:400}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:#D0046C}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:#fff;max-width:unset}.PlayerAccountTabletGamingLimitsWrapper{padding:40px 25% 40px 25%}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}</style>`;
17165
+ this.shadowRoot.innerHTML = `<style>.PlayerAccountGamingLimitsWrapper{color:#D0046C;padding:50px;max-width:760px}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader h3{font-size:24px;font-weight:300;text-transform:capitalize}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader .PlayerAccountGamingLimitsMobileTitle{font-size:16px;font-weight:400}.MenuReturnButton{color:#D0046C;display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:#D0046C}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:#fff;max-width:unset}.PlayerAccountTabletGamingLimitsWrapper{padding:40px 25% 40px 25%}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}.PlayerAccountSuccessfulRemoveContainer{background:#F2F9F2;border:1px solid #C5DFC5;font-size:16px;font-weight:300;color:#07072A;border-radius:5px;padding:10px;margin-bottom:20px}.PlayerAccountSuccessfulRemoveContainer p{margin:0}</style>`;
16539
17166
 
16540
17167
  init(
16541
17168
  this,
@@ -16552,7 +17179,7 @@
16552
17179
  wageringlimit: 1,
16553
17180
  losslimit: 2,
16554
17181
  timelimit: 3,
16555
- showresetnotification: 4,
17182
+ showdeletenotification: 4,
16556
17183
  showsuccessnotification: 5
16557
17184
  }
16558
17185
  );
@@ -16575,7 +17202,7 @@
16575
17202
  "wageringlimit",
16576
17203
  "losslimit",
16577
17204
  "timelimit",
16578
- "showresetnotification",
17205
+ "showdeletenotification",
16579
17206
  "showsuccessnotification"
16580
17207
  ];
16581
17208
  }
@@ -16616,12 +17243,12 @@
16616
17243
  flush();
16617
17244
  }
16618
17245
 
16619
- get showresetnotification() {
17246
+ get showdeletenotification() {
16620
17247
  return this.$$.ctx[4];
16621
17248
  }
16622
17249
 
16623
- set showresetnotification(showresetnotification) {
16624
- this.$set({ showresetnotification });
17250
+ set showdeletenotification(showdeletenotification) {
17251
+ this.$set({ showdeletenotification });
16625
17252
  flush();
16626
17253
  }
16627
17254