@everymatrix/player-account-controller 1.53.0 → 1.53.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/components/{GeneralLogout-DMvKimEo.js → GeneralLogout-Ddt-oH9k.js} +1597 -1648
  2. package/components/{PlayerAccountBettingHistory-YNLbWHxl.js → PlayerAccountBettingHistory-C7xwYi03.js} +34 -35
  3. package/components/{PlayerAccountBiometrics-CXLK5_xT.js → PlayerAccountBiometrics-D7WS5cnI.js} +1 -1
  4. package/components/{PlayerAccountClosure-BkKcpa4J.js → PlayerAccountClosure-yRlo8hXR.js} +1 -1
  5. package/components/{PlayerAccountController-C7j8sMbf.js → PlayerAccountController-BZYAo3oo.js} +1108 -848
  6. package/components/{PlayerAccountGamingLimits-B2-Mgazd.js → PlayerAccountGamingLimits-CTBhVGgC.js} +3 -3
  7. package/components/{PlayerAccountGamingLimitsConfirmationModal-CNTlXu7V.js → PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js} +38 -38
  8. package/components/{PlayerAccountGamingLimitsGroupEdit-CDY-ylK7.js → PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js} +16 -16
  9. package/components/{PlayerAccountGamingLimitsHistory2-DF8kvIf6.js → PlayerAccountGamingLimitsHistory2-CXKA0L0d.js} +121 -132
  10. package/components/{PlayerAccountGamingLimitsInfoCard-D3sJXuZa.js → PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js} +4 -4
  11. package/components/{PlayerAccountGamingLimitsPage2Gm16-Dz6knJ_h.js → PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js} +737 -768
  12. package/components/{PlayerAccountGamingLimitsPopup-Bt4YlCWi.js → PlayerAccountGamingLimitsPopup-CJu5RRl6.js} +1 -1
  13. package/components/{PlayerAccountGamingLimitsWrapper2-RnvNKSgN.js → PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js} +75 -81
  14. package/components/{PlayerAccountGeneralConfirmationModal-SjPp-PVG.js → PlayerAccountGeneralConfirmationModal-DG0N686t.js} +42 -42
  15. package/components/{PlayerAccountMenu-5esyJ_VN.js → PlayerAccountMenu-CZBa8_5G.js} +66 -67
  16. package/components/{PlayerAccountModal-BnWL5726.js → PlayerAccountModal-BmKjtXKT.js} +1 -1
  17. package/components/{PlayerAccountNotifications-B02Ownhe.js → PlayerAccountNotifications-B4Ht-hHj.js} +1 -1
  18. package/components/{PlayerAccountSelfExclusion-D6Kby-08.js → PlayerAccountSelfExclusion-DxGHXTb8.js} +5365 -4258
  19. package/components/{PlayerAccountTimeout-tPNVqlAT.js → PlayerAccountTimeout-DOSjICsY.js} +4 -4
  20. package/components/{PlayerActiveBonuses-8P2H7i55.js → PlayerActiveBonuses-DMAG7NUP.js} +119 -120
  21. package/components/PlayerBonusCard-Dss1REmn.js +701 -0
  22. package/components/{PlayerBonusHistory-DlgbJE4B.js → PlayerBonusHistory-BxBiQwQf.js} +53 -53
  23. package/components/{PlayerChangePassword-N_UEFJNT.js → PlayerChangePassword-DnCj-wcc.js} +1 -1
  24. package/components/{PlayerDeposit-B75tYEgl.js → PlayerDeposit-CHIQ8EaC.js} +1 -1
  25. package/components/{PlayerGamingHistory-Bq_uxcwt.js → PlayerGamingHistory-BtQ73TId.js} +375 -388
  26. package/components/{PlayerPendingWithdrawals-BSTgce9H.js → PlayerPendingWithdrawals-BbTa7_8U.js} +1 -1
  27. package/components/{PlayerProfileInfo-yn20xol3.js → PlayerProfileInfo-CvAqD3Dk.js} +532 -549
  28. package/components/{PlayerRealityCheck-A_mZq3YZ.js → PlayerRealityCheck-3d-B64ie.js} +175 -191
  29. package/components/{PlayerTransactionHistory-DllIB_qE.js → PlayerTransactionHistory-BYJNabMB.js} +1 -1
  30. package/components/{PlayerWithdrawal-t5mlX5CD.js → PlayerWithdrawal-DDWroufG.js} +1 -1
  31. package/esnext/player-account-controller.js +14 -0
  32. package/package.json +12 -32
  33. package/stencil/active-mixin-59dfae2a-BphP4pp5.js +9700 -0
  34. package/stencil/{app-globals-0f993ce5-aPSxk6sG.js → app-globals-0f993ce5-C0vi_PY4.js} +5 -3
  35. package/stencil/checkbox-group-input_9-CMFoK7_E.js +15610 -0
  36. package/stencil/general-input-DnFPstQP.js +48 -0
  37. package/stencil/index-062e829b-DAFsZs6D.js +686 -0
  38. package/stencil/index-33f005e1-fFxPaeNy.js +632 -0
  39. package/stencil/index-9b3245b3-rzHgwqlB.js +625 -0
  40. package/stencil/index-fc58390d-BSwfXuUs.js +691 -0
  41. package/stencil/locale-BG_TzyDt.js +141 -0
  42. package/stencil/password-input_2-Bb9Q6Fe0.js +2359 -0
  43. package/stencil/player-change-password-gm2-98dcb7bc-gLcZhl3S.js +253 -0
  44. package/stencil/player-change-password-gm2-DR3e2gh5.js +7 -0
  45. package/stencil/{player-kyc-verification-BwGXWzTR.js → player-kyc-verification-BQZdJFEJ.js} +62 -84
  46. package/stencil/toggle-checkbox-input-CCLW6-uK.js +46 -0
  47. package/stencil/tooltipIcon-ee9760a8-BCCb4EU-.js +4 -0
  48. package/stencil/user-deposit-withdrawal-CmF0LoNb.js +646 -0
  49. package/stencil/{user-transaction-history-DcAGbFDl.js → user-transaction-history-BgV-k2Cl.js} +109 -135
  50. package/components/GeneralLogout-BW6b3iuS.cjs +0 -8
  51. package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +0 -1
  52. package/components/PlayerAccountBiometrics-BrlNlZ5N.cjs +0 -1
  53. package/components/PlayerAccountClosure-DfJc6Ip_.cjs +0 -1
  54. package/components/PlayerAccountController-BPRNlP7_.cjs +0 -1
  55. package/components/PlayerAccountGamingLimits-BPQrptbd.cjs +0 -1
  56. package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +0 -1
  57. package/components/PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs +0 -10
  58. package/components/PlayerAccountGamingLimitsHistory2-B_7Y0DgS.cjs +0 -1
  59. package/components/PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs +0 -1
  60. package/components/PlayerAccountGamingLimitsPage2Gm16-BiFzgvUx.cjs +0 -21
  61. package/components/PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs +0 -1
  62. package/components/PlayerAccountGamingLimitsWrapper2-Dg6CwNyN.cjs +0 -1
  63. package/components/PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs +0 -1
  64. package/components/PlayerAccountMenu-C704oUrC.cjs +0 -1
  65. package/components/PlayerAccountModal-C7aZZlBw.cjs +0 -1
  66. package/components/PlayerAccountNotifications-DkgHtUGj.cjs +0 -1
  67. package/components/PlayerAccountSelfExclusion-BS89T7sZ.cjs +0 -4171
  68. package/components/PlayerAccountTimeout-DMbUPtRy.cjs +0 -1
  69. package/components/PlayerActiveBonuses-Dv3Y8Vnb.cjs +0 -1
  70. package/components/PlayerBonusCard-CuFt3zXW.js +0 -722
  71. package/components/PlayerBonusCard-DGPJpICk.cjs +0 -1
  72. package/components/PlayerBonusHistory-BzkqMmdU.cjs +0 -1
  73. package/components/PlayerChangePassword-CzR4Xz0H.cjs +0 -3
  74. package/components/PlayerDeposit-3qNMb75V.cjs +0 -1
  75. package/components/PlayerGamingHistory-BkSvSbS4.cjs +0 -1
  76. package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +0 -1
  77. package/components/PlayerProfileInfo-BX32t6wz.cjs +0 -1
  78. package/components/PlayerRealityCheck-C26ZBWae.cjs +0 -1
  79. package/components/PlayerTransactionHistory-CJqhYnbs.cjs +0 -1
  80. package/components/PlayerWithdrawal-GDc_7hZX.cjs +0 -1
  81. package/es2015/player-account-controller.cjs +0 -1
  82. package/es2015/player-account-controller.js +0 -16
  83. package/stencil/app-globals-0f993ce5-CKh2cbmz.cjs +0 -1
  84. package/stencil/index-0437c9c0-06LlHN6E.cjs +0 -1
  85. package/stencil/index-0437c9c0-1mLvhyVA.js +0 -592
  86. package/stencil/index-657e7a14-Dopxomhu.cjs +0 -1
  87. package/stencil/index-657e7a14-P-JSyx_m.js +0 -588
  88. package/stencil/index-e8249896-BNsgFr_R.cjs +0 -1
  89. package/stencil/index-e8249896-CIP0iOYr.js +0 -658
  90. package/stencil/player-kyc-verification-B9QbNY0o.cjs +0 -180
  91. package/stencil/user-deposit-withdrawal-C5Lmtrkj.cjs +0 -59
  92. package/stencil/user-deposit-withdrawal-D5CgtcqD.js +0 -651
  93. package/stencil/user-transaction-history-AoseShHM.cjs +0 -1
@@ -1,10 +0,0 @@
1
- "use strict";const n=require("./GeneralLogout-BW6b3iuS.cjs");function Rs(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
2
- //! version : 2.30.1
3
- //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
4
- //! license : MIT
5
- //! momentjs.com
6
- var Fi;function f(){return Fi.apply(null,arguments)}function Is(e){Fi=e}function ue(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Ue(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function b(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Vt(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(b(e,t))return!1;return!0}function X(e){return e===void 0}function Le(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function nt(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Ri(e,t){var i=[],s,a=e.length;for(s=0;s<a;++s)i.push(t(e[s],s));return i}function Ae(e,t){for(var i in t)b(t,i)&&(e[i]=t[i]);return b(t,"toString")&&(e.toString=t.toString),b(t,"valueOf")&&(e.valueOf=t.valueOf),e}function pe(e,t,i,s){return os(e,t,i,s,!0).utc()}function Us(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function g(e){return e._pf==null&&(e._pf=Us()),e._pf}var Pt;Array.prototype.some?Pt=Array.prototype.some:Pt=function(e){var t=Object(this),i=t.length>>>0,s;for(s=0;s<i;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};function Gt(e){var t=null,i=!1,s=e._d&&!isNaN(e._d.getTime());if(s&&(t=g(e),i=Pt.call(t.parsedDateParts,function(a){return a!=null}),s=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&i),e._strict&&(s=s&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=s;else return s;return e._isValid}function wt(e){var t=pe(NaN);return e!=null?Ae(g(t),e):g(t).userInvalidated=!0,t}var fi=f.momentProperties=[],Ct=!1;function zt(e,t){var i,s,a,r=fi.length;if(X(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),X(t._i)||(e._i=t._i),X(t._f)||(e._f=t._f),X(t._l)||(e._l=t._l),X(t._strict)||(e._strict=t._strict),X(t._tzm)||(e._tzm=t._tzm),X(t._isUTC)||(e._isUTC=t._isUTC),X(t._offset)||(e._offset=t._offset),X(t._pf)||(e._pf=g(t)),X(t._locale)||(e._locale=t._locale),r>0)for(i=0;i<r;i++)s=fi[i],a=t[s],X(a)||(e[s]=a);return e}function rt(e){zt(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Ct===!1&&(Ct=!0,f.updateOffset(this),Ct=!1)}function de(e){return e instanceof rt||e!=null&&e._isAMomentObject!=null}function Ii(e){f.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}function ae(e,t){var i=!0;return Ae(function(){if(f.deprecationHandler!=null&&f.deprecationHandler(null,e),i){var s=[],a,r,o,l=arguments.length;for(r=0;r<l;r++){if(a="",typeof arguments[r]=="object"){a+=`
7
- [`+r+"] ";for(o in arguments[0])b(arguments[0],o)&&(a+=o+": "+arguments[0][o]+", ");a=a.slice(0,-2)}else a=arguments[r];s.push(a)}Ii(e+`
8
- Arguments: `+Array.prototype.slice.call(s).join("")+`
9
- `+new Error().stack),i=!1}return t.apply(this,arguments)},t)}var hi={};function Ui(e,t){f.deprecationHandler!=null&&f.deprecationHandler(e,t),hi[e]||(Ii(t),hi[e]=!0)}f.suppressDeprecationWarnings=!1;f.deprecationHandler=null;function _e(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Hs(e){var t,i;for(i in e)b(e,i)&&(t=e[i],_e(t)?this[i]=t:this["_"+i]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Ft(e,t){var i=Ae({},e),s;for(s in t)b(t,s)&&(Ue(e[s])&&Ue(t[s])?(i[s]={},Ae(i[s],e[s]),Ae(i[s],t[s])):t[s]!=null?i[s]=t[s]:delete i[s]);for(s in e)b(e,s)&&!b(t,s)&&Ue(e[s])&&(i[s]=Ae({},i[s]));return i}function Bt(e){e!=null&&this.set(e)}var Rt;Object.keys?Rt=Object.keys:Rt=function(e){var t,i=[];for(t in e)b(e,t)&&i.push(t);return i};var js={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Vs(e,t,i){var s=this._calendar[e]||this._calendar.sameElse;return _e(s)?s.call(t,i):s}function he(e,t,i){var s=""+Math.abs(e),a=t-s.length,r=e>=0;return(r?i?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+s}var qt=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,dt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Nt={},Be={};function _(e,t,i,s){var a=s;typeof s=="string"&&(a=function(){return this[s]()}),e&&(Be[e]=a),t&&(Be[t[0]]=function(){return he(a.apply(this,arguments),t[1],t[2])}),i&&(Be[i]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function Gs(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function zs(e){var t=e.match(qt),i,s;for(i=0,s=t.length;i<s;i++)Be[t[i]]?t[i]=Be[t[i]]:t[i]=Gs(t[i]);return function(a){var r="",o;for(o=0;o<s;o++)r+=_e(t[o])?t[o].call(a,e):t[o];return r}}function mt(e,t){return e.isValid()?(t=Hi(t,e.localeData()),Nt[t]=Nt[t]||zs(t),Nt[t](e)):e.localeData().invalidDate()}function Hi(e,t){var i=5;function s(a){return t.longDateFormat(a)||a}for(dt.lastIndex=0;i>=0&&dt.test(e);)e=e.replace(dt,s),dt.lastIndex=0,i-=1;return e}var Bs={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function qs(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(qt).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var Zs="Invalid date";function Js(){return this._invalidDate}var Qs="%d",Ks=/\d{1,2}/;function Xs(e){return this._ordinal.replace("%d",e)}var $s={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ea(e,t,i,s){var a=this._relativeTime[i];return _e(a)?a(e,t,i,s):a.replace(/%d/i,e)}function ta(e,t){var i=this._relativeTime[e>0?"future":"past"];return _e(i)?i(t):i.replace(/%s/i,t)}var pi={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ne(e){return typeof e=="string"?pi[e]||pi[e.toLowerCase()]:void 0}function Zt(e){var t={},i,s;for(s in e)b(e,s)&&(i=ne(s),i&&(t[i]=e[s]));return t}var ia={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function sa(e){var t=[],i;for(i in e)b(e,i)&&t.push({unit:i,priority:ia[i]});return t.sort(function(s,a){return s.priority-a.priority}),t}var ji=/\d/,te=/\d\d/,Vi=/\d{3}/,Jt=/\d{4}/,kt=/[+-]?\d{6}/,W=/\d\d?/,Gi=/\d\d\d\d?/,zi=/\d\d\d\d\d\d?/,Mt=/\d{1,3}/,Qt=/\d{1,4}/,Dt=/[+-]?\d{1,6}/,Je=/\d+/,Lt=/[+-]?\d+/,aa=/Z|[+-]\d\d:?\d\d/gi,St=/Z|[+-]\d\d(?::?\d\d)?/gi,na=/[+-]?\d+(\.\d{1,3})?/,ot=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Qe=/^[1-9]\d?/,Kt=/^([1-9]\d|\d)/,pt;pt={};function h(e,t,i){pt[e]=_e(t)?t:function(s,a){return s&&i?i:t}}function ra(e,t){return b(pt,e)?pt[e](t._strict,t._locale):new RegExp(oa(e))}function oa(e){return Me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,i,s,a,r){return i||s||a||r}))}function Me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function se(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,i=0;return t!==0&&isFinite(t)&&(i=se(t)),i}var It={};function C(e,t){var i,s=t,a;for(typeof e=="string"&&(e=[e]),Le(t)&&(s=function(r,o){o[t]=w(r)}),a=e.length,i=0;i<a;i++)It[e[i]]=s}function lt(e,t){C(e,function(i,s,a,r){a._w=a._w||{},t(i,a._w,a,r)})}function la(e,t,i){t!=null&&b(It,e)&&It[e](t,i._a,i,e)}function bt(e){return e%4===0&&e%100!==0||e%400===0}var Q=0,we=1,fe=2,G=3,le=4,ke=5,Ie=6,ua=7,da=8;_("Y",0,0,function(){var e=this.year();return e<=9999?he(e,4):"+"+e});_(0,["YY",2],0,function(){return this.year()%100});_(0,["YYYY",4],0,"year");_(0,["YYYYY",5],0,"year");_(0,["YYYYYY",6,!0],0,"year");h("Y",Lt);h("YY",W,te);h("YYYY",Qt,Jt);h("YYYYY",Dt,kt);h("YYYYYY",Dt,kt);C(["YYYYY","YYYYYY"],Q);C("YYYY",function(e,t){t[Q]=e.length===2?f.parseTwoDigitYear(e):w(e)});C("YY",function(e,t){t[Q]=f.parseTwoDigitYear(e)});C("Y",function(e,t){t[Q]=parseInt(e,10)});function et(e){return bt(e)?366:365}f.parseTwoDigitYear=function(e){return w(e)+(w(e)>68?1900:2e3)};var Bi=Ke("FullYear",!0);function ca(){return bt(this.year())}function Ke(e,t){return function(i){return i!=null?(qi(this,e,i),f.updateOffset(this,t),this):tt(this,e)}}function tt(e,t){if(!e.isValid())return NaN;var i=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?i.getUTCMilliseconds():i.getMilliseconds();case"Seconds":return s?i.getUTCSeconds():i.getSeconds();case"Minutes":return s?i.getUTCMinutes():i.getMinutes();case"Hours":return s?i.getUTCHours():i.getHours();case"Date":return s?i.getUTCDate():i.getDate();case"Day":return s?i.getUTCDay():i.getDay();case"Month":return s?i.getUTCMonth():i.getMonth();case"FullYear":return s?i.getUTCFullYear():i.getFullYear();default:return NaN}}function qi(e,t,i){var s,a,r,o,l;if(!(!e.isValid()||isNaN(i))){switch(s=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?s.setUTCMilliseconds(i):s.setMilliseconds(i));case"Seconds":return void(a?s.setUTCSeconds(i):s.setSeconds(i));case"Minutes":return void(a?s.setUTCMinutes(i):s.setMinutes(i));case"Hours":return void(a?s.setUTCHours(i):s.setHours(i));case"Date":return void(a?s.setUTCDate(i):s.setDate(i));case"FullYear":break;default:return}r=i,o=e.month(),l=e.date(),l=l===29&&o===1&&!bt(r)?28:l,a?s.setUTCFullYear(r,o,l):s.setFullYear(r,o,l)}}function ma(e){return e=ne(e),_e(this[e])?this[e]():this}function fa(e,t){if(typeof e=="object"){e=Zt(e);var i=sa(e),s,a=i.length;for(s=0;s<a;s++)this[i[s].unit](e[i[s].unit])}else if(e=ne(e),_e(this[e]))return this[e](t);return this}function ha(e,t){return(e%t+t)%t}var U;Array.prototype.indexOf?U=Array.prototype.indexOf:U=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Xt(e,t){if(isNaN(e)||isNaN(t))return NaN;var i=ha(t,12);return e+=(t-i)/12,i===1?bt(e)?29:28:31-i%7%2}_("M",["MM",2],"Mo",function(){return this.month()+1});_("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});_("MMMM",0,0,function(e){return this.localeData().months(this,e)});h("M",W,Qe);h("MM",W,te);h("MMM",function(e,t){return t.monthsShortRegex(e)});h("MMMM",function(e,t){return t.monthsRegex(e)});C(["M","MM"],function(e,t){t[we]=w(e)-1});C(["MMM","MMMM"],function(e,t,i,s){var a=i._locale.monthsParse(e,s,i._strict);a!=null?t[we]=a:g(i).invalidMonth=e});var pa="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Zi="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ji=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,_a=ot,ya=ot;function ga(e,t){return e?ue(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ji).test(t)?"format":"standalone"][e.month()]:ue(this._months)?this._months:this._months.standalone}function va(e,t){return e?ue(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ji.test(t)?"format":"standalone"][e.month()]:ue(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function wa(e,t,i){var s,a,r,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=pe([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return i?t==="MMM"?(a=U.call(this._shortMonthsParse,o),a!==-1?a:null):(a=U.call(this._longMonthsParse,o),a!==-1?a:null):t==="MMM"?(a=U.call(this._shortMonthsParse,o),a!==-1?a:(a=U.call(this._longMonthsParse,o),a!==-1?a:null)):(a=U.call(this._longMonthsParse,o),a!==-1?a:(a=U.call(this._shortMonthsParse,o),a!==-1?a:null))}function ka(e,t,i){var s,a,r;if(this._monthsParseExact)return wa.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(a=pe([2e3,s]),i&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!i&&!this._monthsParse[s]&&(r="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),i&&t==="MMMM"&&this._longMonthsParse[s].test(e))return s;if(i&&t==="MMM"&&this._shortMonthsParse[s].test(e))return s;if(!i&&this._monthsParse[s].test(e))return s}}function Qi(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=w(t);else if(t=e.localeData().monthsParse(t),!Le(t))return e}var i=t,s=e.date();return s=s<29?s:Math.min(s,Xt(e.year(),i)),e._isUTC?e._d.setUTCMonth(i,s):e._d.setMonth(i,s),e}function Ki(e){return e!=null?(Qi(this,e),f.updateOffset(this,!0),this):tt(this,"Month")}function Ma(){return Xt(this.year(),this.month())}function Da(e){return this._monthsParseExact?(b(this,"_monthsRegex")||Xi.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(b(this,"_monthsShortRegex")||(this._monthsShortRegex=_a),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function La(e){return this._monthsParseExact?(b(this,"_monthsRegex")||Xi.call(this),e?this._monthsStrictRegex:this._monthsRegex):(b(this,"_monthsRegex")||(this._monthsRegex=ya),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Xi(){function e(u,c){return c.length-u.length}var t=[],i=[],s=[],a,r,o,l;for(a=0;a<12;a++)r=pe([2e3,a]),o=Me(this.monthsShort(r,"")),l=Me(this.months(r,"")),t.push(o),i.push(l),s.push(l),s.push(o);t.sort(e),i.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Sa(e,t,i,s,a,r,o){var l;return e<100&&e>=0?(l=new Date(e+400,t,i,s,a,r,o),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,i,s,a,r,o),l}function it(e){var t,i;return e<100&&e>=0?(i=Array.prototype.slice.call(arguments),i[0]=e+400,t=new Date(Date.UTC.apply(null,i)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function _t(e,t,i){var s=7+t-i,a=(7+it(e,0,s).getUTCDay()-t)%7;return-a+s-1}function $i(e,t,i,s,a){var r=(7+i-s)%7,o=_t(e,s,a),l=1+7*(t-1)+r+o,u,c;return l<=0?(u=e-1,c=et(u)+l):l>et(e)?(u=e+1,c=l-et(e)):(u=e,c=l),{year:u,dayOfYear:c}}function st(e,t,i){var s=_t(e.year(),t,i),a=Math.floor((e.dayOfYear()-s-1)/7)+1,r,o;return a<1?(o=e.year()-1,r=a+De(o,t,i)):a>De(e.year(),t,i)?(r=a-De(e.year(),t,i),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function De(e,t,i){var s=_t(e,t,i),a=_t(e+1,t,i);return(et(e)-s+a)/7}_("w",["ww",2],"wo","week");_("W",["WW",2],"Wo","isoWeek");h("w",W,Qe);h("ww",W,te);h("W",W,Qe);h("WW",W,te);lt(["w","ww","W","WW"],function(e,t,i,s){t[s.substr(0,1)]=w(e)});function ba(e){return st(e,this._week.dow,this._week.doy).week}var Ta={dow:0,doy:6};function Ya(){return this._week.dow}function Oa(){return this._week.doy}function Ea(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Aa(e){var t=st(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}_("d",0,"do","day");_("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});_("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});_("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});_("e",0,0,"weekday");_("E",0,0,"isoWeekday");h("d",W);h("e",W);h("E",W);h("dd",function(e,t){return t.weekdaysMinRegex(e)});h("ddd",function(e,t){return t.weekdaysShortRegex(e)});h("dddd",function(e,t){return t.weekdaysRegex(e)});lt(["dd","ddd","dddd"],function(e,t,i,s){var a=i._locale.weekdaysParse(e,s,i._strict);a!=null?t.d=a:g(i).invalidWeekday=e});lt(["d","e","E"],function(e,t,i,s){t[s]=w(e)});function Ca(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Na(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function $t(e,t){return e.slice(t,7).concat(e.slice(0,t))}var xa="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),es="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Wa="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Pa=ot,Fa=ot,Ra=ot;function Ia(e,t){var i=ue(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?$t(i,this._week.dow):e?i[e.day()]:i}function Ua(e){return e===!0?$t(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ha(e){return e===!0?$t(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function ja(e,t,i){var s,a,r,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=pe([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return i?t==="dddd"?(a=U.call(this._weekdaysParse,o),a!==-1?a:null):t==="ddd"?(a=U.call(this._shortWeekdaysParse,o),a!==-1?a:null):(a=U.call(this._minWeekdaysParse,o),a!==-1?a:null):t==="dddd"?(a=U.call(this._weekdaysParse,o),a!==-1||(a=U.call(this._shortWeekdaysParse,o),a!==-1)?a:(a=U.call(this._minWeekdaysParse,o),a!==-1?a:null)):t==="ddd"?(a=U.call(this._shortWeekdaysParse,o),a!==-1||(a=U.call(this._weekdaysParse,o),a!==-1)?a:(a=U.call(this._minWeekdaysParse,o),a!==-1?a:null)):(a=U.call(this._minWeekdaysParse,o),a!==-1||(a=U.call(this._weekdaysParse,o),a!==-1)?a:(a=U.call(this._shortWeekdaysParse,o),a!==-1?a:null))}function Va(e,t,i){var s,a,r;if(this._weekdaysParseExact)return ja.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(a=pe([2e3,1]).day(s),i&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),i&&t==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(i&&t==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(i&&t==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!i&&this._weekdaysParse[s].test(e))return s}}function Ga(e){if(!this.isValid())return e!=null?this:NaN;var t=tt(this,"Day");return e!=null?(e=Ca(e,this.localeData()),this.add(e-t,"d")):t}function za(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Ba(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Na(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function qa(e){return this._weekdaysParseExact?(b(this,"_weekdaysRegex")||ei.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(b(this,"_weekdaysRegex")||(this._weekdaysRegex=Pa),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Za(e){return this._weekdaysParseExact?(b(this,"_weekdaysRegex")||ei.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(b(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Fa),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ja(e){return this._weekdaysParseExact?(b(this,"_weekdaysRegex")||ei.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(b(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ra),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ei(){function e(p,E){return E.length-p.length}var t=[],i=[],s=[],a=[],r,o,l,u,c;for(r=0;r<7;r++)o=pe([2e3,1]).day(r),l=Me(this.weekdaysMin(o,"")),u=Me(this.weekdaysShort(o,"")),c=Me(this.weekdays(o,"")),t.push(l),i.push(u),s.push(c),a.push(l),a.push(u),a.push(c);t.sort(e),i.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function ti(){return this.hours()%12||12}function Qa(){return this.hours()||24}_("H",["HH",2],0,"hour");_("h",["hh",2],0,ti);_("k",["kk",2],0,Qa);_("hmm",0,0,function(){return""+ti.apply(this)+he(this.minutes(),2)});_("hmmss",0,0,function(){return""+ti.apply(this)+he(this.minutes(),2)+he(this.seconds(),2)});_("Hmm",0,0,function(){return""+this.hours()+he(this.minutes(),2)});_("Hmmss",0,0,function(){return""+this.hours()+he(this.minutes(),2)+he(this.seconds(),2)});function ts(e,t){_(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}ts("a",!0);ts("A",!1);function is(e,t){return t._meridiemParse}h("a",is);h("A",is);h("H",W,Kt);h("h",W,Qe);h("k",W,Qe);h("HH",W,te);h("hh",W,te);h("kk",W,te);h("hmm",Gi);h("hmmss",zi);h("Hmm",Gi);h("Hmmss",zi);C(["H","HH"],G);C(["k","kk"],function(e,t,i){var s=w(e);t[G]=s===24?0:s});C(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e});C(["h","hh"],function(e,t,i){t[G]=w(e),g(i).bigHour=!0});C("hmm",function(e,t,i){var s=e.length-2;t[G]=w(e.substr(0,s)),t[le]=w(e.substr(s)),g(i).bigHour=!0});C("hmmss",function(e,t,i){var s=e.length-4,a=e.length-2;t[G]=w(e.substr(0,s)),t[le]=w(e.substr(s,2)),t[ke]=w(e.substr(a)),g(i).bigHour=!0});C("Hmm",function(e,t,i){var s=e.length-2;t[G]=w(e.substr(0,s)),t[le]=w(e.substr(s))});C("Hmmss",function(e,t,i){var s=e.length-4,a=e.length-2;t[G]=w(e.substr(0,s)),t[le]=w(e.substr(s,2)),t[ke]=w(e.substr(a))});function Ka(e){return(e+"").toLowerCase().charAt(0)==="p"}var Xa=/[ap]\.?m?\.?/i,$a=Ke("Hours",!0);function en(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"}var ss={calendar:js,longDateFormat:Bs,invalidDate:Zs,ordinal:Qs,dayOfMonthOrdinalParse:Ks,relativeTime:$s,months:pa,monthsShort:Zi,week:Ta,weekdays:xa,weekdaysMin:Wa,weekdaysShort:es,meridiemParse:Xa},R={},Xe={},at;function tn(e,t){var i,s=Math.min(e.length,t.length);for(i=0;i<s;i+=1)if(e[i]!==t[i])return i;return s}function _i(e){return e&&e.toLowerCase().replace("_","-")}function sn(e){for(var t=0,i,s,a,r;t<e.length;){for(r=_i(e[t]).split("-"),i=r.length,s=_i(e[t+1]),s=s?s.split("-"):null;i>0;){if(a=Tt(r.slice(0,i).join("-")),a)return a;if(s&&s.length>=i&&tn(r,s)>=i-1)break;i--}t++}return at}function an(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Tt(e){var t=null,i;if(R[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&an(e))try{t=at._abbr,i=Rs,i("./locale/"+e),Ne(t)}catch(s){R[e]=null}return R[e]}function Ne(e,t){var i;return e&&(X(t)?i=Se(e):i=ii(e,t),i?at=i:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),at._abbr}function ii(e,t){if(t!==null){var i,s=ss;if(t.abbr=e,R[e]!=null)Ui("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=R[e]._config;else if(t.parentLocale!=null)if(R[t.parentLocale]!=null)s=R[t.parentLocale]._config;else if(i=Tt(t.parentLocale),i!=null)s=i._config;else return Xe[t.parentLocale]||(Xe[t.parentLocale]=[]),Xe[t.parentLocale].push({name:e,config:t}),null;return R[e]=new Bt(Ft(s,t)),Xe[e]&&Xe[e].forEach(function(a){ii(a.name,a.config)}),Ne(e),R[e]}else return delete R[e],null}function nn(e,t){if(t!=null){var i,s,a=ss;R[e]!=null&&R[e].parentLocale!=null?R[e].set(Ft(R[e]._config,t)):(s=Tt(e),s!=null&&(a=s._config),t=Ft(a,t),s==null&&(t.abbr=e),i=new Bt(t),i.parentLocale=R[e],R[e]=i),Ne(e)}else R[e]!=null&&(R[e].parentLocale!=null?(R[e]=R[e].parentLocale,e===Ne()&&Ne(e)):R[e]!=null&&delete R[e]);return R[e]}function Se(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return at;if(!ue(e)){if(t=Tt(e),t)return t;e=[e]}return sn(e)}function rn(){return Rt(R)}function si(e){var t,i=e._a;return i&&g(e).overflow===-2&&(t=i[we]<0||i[we]>11?we:i[fe]<1||i[fe]>Xt(i[Q],i[we])?fe:i[G]<0||i[G]>24||i[G]===24&&(i[le]!==0||i[ke]!==0||i[Ie]!==0)?G:i[le]<0||i[le]>59?le:i[ke]<0||i[ke]>59?ke:i[Ie]<0||i[Ie]>999?Ie:-1,g(e)._overflowDayOfYear&&(t<Q||t>fe)&&(t=fe),g(e)._overflowWeeks&&t===-1&&(t=ua),g(e)._overflowWeekday&&t===-1&&(t=da),g(e).overflow=t),e}var on=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ln=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,un=/Z|[+-]\d\d(?::?\d\d)?/,ct=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],xt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],dn=/^\/?Date\((-?\d+)/i,cn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,mn={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function as(e){var t,i,s=e._i,a=on.exec(s)||ln.exec(s),r,o,l,u,c=ct.length,p=xt.length;if(a){for(g(e).iso=!0,t=0,i=c;t<i;t++)if(ct[t][1].exec(a[1])){o=ct[t][0],r=ct[t][2]!==!1;break}if(o==null){e._isValid=!1;return}if(a[3]){for(t=0,i=p;t<i;t++)if(xt[t][1].exec(a[3])){l=(a[2]||" ")+xt[t][0];break}if(l==null){e._isValid=!1;return}}if(!r&&l!=null){e._isValid=!1;return}if(a[4])if(un.exec(a[4]))u="Z";else{e._isValid=!1;return}e._f=o+(l||"")+(u||""),ni(e)}else e._isValid=!1}function fn(e,t,i,s,a,r){var o=[hn(e),Zi.indexOf(t),parseInt(i,10),parseInt(s,10),parseInt(a,10)];return r&&o.push(parseInt(r,10)),o}function hn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function pn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function _n(e,t,i){if(e){var s=es.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(s!==a)return g(i).weekdayMismatch=!0,i._isValid=!1,!1}return!0}function yn(e,t,i){if(e)return mn[e];if(t)return 0;var s=parseInt(i,10),a=s%100,r=(s-a)/100;return r*60+a}function ns(e){var t=cn.exec(pn(e._i)),i;if(t){if(i=fn(t[4],t[3],t[2],t[5],t[6],t[7]),!_n(t[1],i,e))return;e._a=i,e._tzm=yn(t[8],t[9],t[10]),e._d=it.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}function gn(e){var t=dn.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(as(e),e._isValid===!1)delete e._isValid;else return;if(ns(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:f.createFromInputFallback(e)}f.createFromInputFallback=ae("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function Ge(e,t,i){return e!=null?e:t!=null?t:i}function vn(e){var t=new Date(f.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function ai(e){var t,i,s=[],a,r,o;if(!e._d){for(a=vn(e),e._w&&e._a[fe]==null&&e._a[we]==null&&wn(e),e._dayOfYear!=null&&(o=Ge(e._a[Q],a[Q]),(e._dayOfYear>et(o)||e._dayOfYear===0)&&(g(e)._overflowDayOfYear=!0),i=it(o,0,e._dayOfYear),e._a[we]=i.getUTCMonth(),e._a[fe]=i.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=a[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[G]===24&&e._a[le]===0&&e._a[ke]===0&&e._a[Ie]===0&&(e._nextDay=!0,e._a[G]=0),e._d=(e._useUTC?it:Sa).apply(null,s),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[G]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function wn(e){var t,i,s,a,r,o,l,u,c;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(r=1,o=4,i=Ge(t.GG,e._a[Q],st(x(),1,4).year),s=Ge(t.W,1),a=Ge(t.E,1),(a<1||a>7)&&(u=!0)):(r=e._locale._week.dow,o=e._locale._week.doy,c=st(x(),r,o),i=Ge(t.gg,e._a[Q],c.year),s=Ge(t.w,c.week),t.d!=null?(a=t.d,(a<0||a>6)&&(u=!0)):t.e!=null?(a=t.e+r,(t.e<0||t.e>6)&&(u=!0)):a=r),s<1||s>De(i,r,o)?g(e)._overflowWeeks=!0:u!=null?g(e)._overflowWeekday=!0:(l=$i(i,s,a,r,o),e._a[Q]=l.year,e._dayOfYear=l.dayOfYear)}f.ISO_8601=function(){};f.RFC_2822=function(){};function ni(e){if(e._f===f.ISO_8601){as(e);return}if(e._f===f.RFC_2822){ns(e);return}e._a=[],g(e).empty=!0;var t=""+e._i,i,s,a,r,o,l=t.length,u=0,c,p;for(a=Hi(e._f,e._locale).match(qt)||[],p=a.length,i=0;i<p;i++)r=a[i],s=(t.match(ra(r,e))||[])[0],s&&(o=t.substr(0,t.indexOf(s)),o.length>0&&g(e).unusedInput.push(o),t=t.slice(t.indexOf(s)+s.length),u+=s.length),Be[r]?(s?g(e).empty=!1:g(e).unusedTokens.push(r),la(r,s,e)):e._strict&&!s&&g(e).unusedTokens.push(r);g(e).charsLeftOver=l-u,t.length>0&&g(e).unusedInput.push(t),e._a[G]<=12&&g(e).bigHour===!0&&e._a[G]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[G]=kn(e._locale,e._a[G],e._meridiem),c=g(e).era,c!==null&&(e._a[Q]=e._locale.erasConvertYear(c,e._a[Q])),ai(e),si(e)}function kn(e,t,i){var s;return i==null?t:e.meridiemHour!=null?e.meridiemHour(t,i):(e.isPM!=null&&(s=e.isPM(i),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function Mn(e){var t,i,s,a,r,o,l=!1,u=e._f.length;if(u===0){g(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<u;a++)r=0,o=!1,t=zt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],ni(t),Gt(t)&&(o=!0),r+=g(t).charsLeftOver,r+=g(t).unusedTokens.length*10,g(t).score=r,l?r<s&&(s=r,i=t):(s==null||r<s||o)&&(s=r,i=t,o&&(l=!0));Ae(e,i||t)}function Dn(e){if(!e._d){var t=Zt(e._i),i=t.day===void 0?t.date:t.day;e._a=Ri([t.year,t.month,i,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),ai(e)}}function Ln(e){var t=new rt(si(rs(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function rs(e){var t=e._i,i=e._f;return e._locale=e._locale||Se(e._l),t===null||i===void 0&&t===""?wt({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),de(t)?new rt(si(t)):(nt(t)?e._d=t:ue(i)?Mn(e):i?ni(e):Sn(e),Gt(e)||(e._d=null),e))}function Sn(e){var t=e._i;X(t)?e._d=new Date(f.now()):nt(t)?e._d=new Date(t.valueOf()):typeof t=="string"?gn(e):ue(t)?(e._a=Ri(t.slice(0),function(i){return parseInt(i,10)}),ai(e)):Ue(t)?Dn(e):Le(t)?e._d=new Date(t):f.createFromInputFallback(e)}function os(e,t,i,s,a){var r={};return(t===!0||t===!1)&&(s=t,t=void 0),(i===!0||i===!1)&&(s=i,i=void 0),(Ue(e)&&Vt(e)||ue(e)&&e.length===0)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=a,r._l=i,r._i=e,r._f=t,r._strict=s,Ln(r)}function x(e,t,i,s){return os(e,t,i,s,!1)}var bn=ae("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=x.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:wt()}),Tn=ae("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=x.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:wt()});function ls(e,t){var i,s;if(t.length===1&&ue(t[0])&&(t=t[0]),!t.length)return x();for(i=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](i))&&(i=t[s]);return i}function Yn(){var e=[].slice.call(arguments,0);return ls("isBefore",e)}function On(){var e=[].slice.call(arguments,0);return ls("isAfter",e)}var En=function(){return Date.now?Date.now():+new Date},$e=["year","quarter","month","week","day","hour","minute","second","millisecond"];function An(e){var t,i=!1,s,a=$e.length;for(t in e)if(b(e,t)&&!(U.call($e,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<a;++s)if(e[$e[s]]){if(i)return!1;parseFloat(e[$e[s]])!==w(e[$e[s]])&&(i=!0)}return!0}function Cn(){return this._isValid}function Nn(){return ce(NaN)}function Yt(e){var t=Zt(e),i=t.year||0,s=t.quarter||0,a=t.month||0,r=t.week||t.isoWeek||0,o=t.day||0,l=t.hour||0,u=t.minute||0,c=t.second||0,p=t.millisecond||0;this._isValid=An(t),this._milliseconds=+p+c*1e3+u*6e4+l*1e3*60*60,this._days=+o+r*7,this._months=+a+s*3+i*12,this._data={},this._locale=Se(),this._bubble()}function ft(e){return e instanceof Yt}function Ut(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function xn(e,t,i){var s=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),r=0,o;for(o=0;o<s;o++)w(e[o])!==w(t[o])&&r++;return r+a}function us(e,t){_(e,0,0,function(){var i=this.utcOffset(),s="+";return i<0&&(i=-i,s="-"),s+he(~~(i/60),2)+t+he(~~i%60,2)})}us("Z",":");us("ZZ","");h("Z",St);h("ZZ",St);C(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=ri(St,e)});var Wn=/([\+\-]|\d\d)/gi;function ri(e,t){var i=(t||"").match(e),s,a,r;return i===null?null:(s=i[i.length-1]||[],a=(s+"").match(Wn)||["-",0,0],r=+(a[1]*60)+w(a[2]),r===0?0:a[0]==="+"?r:-r)}function oi(e,t){var i,s;return t._isUTC?(i=t.clone(),s=(de(e)||nt(e)?e.valueOf():x(e).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+s),f.updateOffset(i,!1),i):x(e).local()}function Ht(e){return-Math.round(e._d.getTimezoneOffset())}f.updateOffset=function(){};function Pn(e,t,i){var s=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=ri(St,e),e===null)return this}else Math.abs(e)<16&&!i&&(e=e*60);return!this._isUTC&&t&&(a=Ht(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),s!==e&&(!t||this._changeInProgress?ms(this,ce(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,f.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:Ht(this)}function Fn(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Rn(e){return this.utcOffset(0,e)}function In(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ht(this),"m")),this}function Un(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=ri(aa,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Hn(e){return this.isValid()?(e=e?x(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function jn(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Vn(){if(!X(this._isDSTShifted))return this._isDSTShifted;var e={},t;return zt(e,this),e=rs(e),e._a?(t=e._isUTC?pe(e._a):x(e._a),this._isDSTShifted=this.isValid()&&xn(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Gn(){return this.isValid()?!this._isUTC:!1}function zn(){return this.isValid()?this._isUTC:!1}function ds(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Bn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,qn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ce(e,t){var i=e,s=null,a,r,o;return ft(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:Le(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(s=Bn.exec(e))?(a=s[1]==="-"?-1:1,i={y:0,d:w(s[fe])*a,h:w(s[G])*a,m:w(s[le])*a,s:w(s[ke])*a,ms:w(Ut(s[Ie]*1e3))*a}):(s=qn.exec(e))?(a=s[1]==="-"?-1:1,i={y:Re(s[2],a),M:Re(s[3],a),w:Re(s[4],a),d:Re(s[5],a),h:Re(s[6],a),m:Re(s[7],a),s:Re(s[8],a)}):i==null?i={}:typeof i=="object"&&("from"in i||"to"in i)&&(o=Zn(x(i.from),x(i.to)),i={},i.ms=o.milliseconds,i.M=o.months),r=new Yt(i),ft(e)&&b(e,"_locale")&&(r._locale=e._locale),ft(e)&&b(e,"_isValid")&&(r._isValid=e._isValid),r}ce.fn=Yt.prototype;ce.invalid=Nn;function Re(e,t){var i=e&&parseFloat(e.replace(",","."));return(isNaN(i)?0:i)*t}function yi(e,t){var i={};return i.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function Zn(e,t){var i;return e.isValid()&&t.isValid()?(t=oi(t,e),e.isBefore(t)?i=yi(e,t):(i=yi(t,e),i.milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0}}function cs(e,t){return function(i,s){var a,r;return s!==null&&!isNaN(+s)&&(Ui(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=i,i=s,s=r),a=ce(i,s),ms(this,a,e),this}}function ms(e,t,i,s){var a=t._milliseconds,r=Ut(t._days),o=Ut(t._months);e.isValid()&&(s=s==null?!0:s,o&&Qi(e,tt(e,"Month")+o*i),r&&qi(e,"Date",tt(e,"Date")+r*i),a&&e._d.setTime(e._d.valueOf()+a*i),s&&f.updateOffset(e,r||o))}var Jn=cs(1,"add"),Qn=cs(-1,"subtract");function fs(e){return typeof e=="string"||e instanceof String}function Kn(e){return de(e)||nt(e)||fs(e)||Le(e)||$n(e)||Xn(e)||e===null||e===void 0}function Xn(e){var t=Ue(e)&&!Vt(e),i=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,r,o=s.length;for(a=0;a<o;a+=1)r=s[a],i=i||b(e,r);return t&&i}function $n(e){var t=ue(e),i=!1;return t&&(i=e.filter(function(s){return!Le(s)&&fs(e)}).length===0),t&&i}function er(e){var t=Ue(e)&&!Vt(e),i=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,r;for(a=0;a<s.length;a+=1)r=s[a],i=i||b(e,r);return t&&i}function tr(e,t){var i=e.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"}function ir(e,t){arguments.length===1&&(arguments[0]?Kn(arguments[0])?(e=arguments[0],t=void 0):er(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var i=e||x(),s=oi(i,this).startOf("day"),a=f.calendarFormat(this,s)||"sameElse",r=t&&(_e(t[a])?t[a].call(this,i):t[a]);return this.format(r||this.localeData().calendar(a,this,x(i)))}function sr(){return new rt(this)}function ar(e,t){var i=de(e)?e:x(e);return this.isValid()&&i.isValid()?(t=ne(t)||"millisecond",t==="millisecond"?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf()):!1}function nr(e,t){var i=de(e)?e:x(e);return this.isValid()&&i.isValid()?(t=ne(t)||"millisecond",t==="millisecond"?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf()):!1}function rr(e,t,i,s){var a=de(e)?e:x(e),r=de(t)?t:x(t);return this.isValid()&&a.isValid()&&r.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(a,i):!this.isBefore(a,i))&&(s[1]===")"?this.isBefore(r,i):!this.isAfter(r,i))):!1}function or(e,t){var i=de(e)?e:x(e),s;return this.isValid()&&i.isValid()?(t=ne(t)||"millisecond",t==="millisecond"?this.valueOf()===i.valueOf():(s=i.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function lr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function ur(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function dr(e,t,i){var s,a,r;if(!this.isValid())return NaN;if(s=oi(e,this),!s.isValid())return NaN;switch(a=(s.utcOffset()-this.utcOffset())*6e4,t=ne(t),t){case"year":r=ht(this,s)/12;break;case"month":r=ht(this,s);break;case"quarter":r=ht(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-a)/864e5;break;case"week":r=(this-s-a)/6048e5;break;default:r=this-s}return i?r:se(r)}function ht(e,t){if(e.date()<t.date())return-ht(t,e);var i=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(i,"months"),a,r;return t-s<0?(a=e.clone().add(i-1,"months"),r=(t-s)/(s-a)):(a=e.clone().add(i+1,"months"),r=(t-s)/(a-s)),-(i+r)||0}f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";f.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function cr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function mr(e){if(!this.isValid())return null;var t=e!==!0,i=t?this.clone().utc():this;return i.year()<0||i.year()>9999?mt(i,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):_e(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",mt(i,"Z")):mt(i,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function fr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",i,s,a,r;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),i="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",r=t+'[")]',this.format(i+s+a+r)}function hr(e){e||(e=this.isUtc()?f.defaultFormatUtc:f.defaultFormat);var t=mt(this,e);return this.localeData().postformat(t)}function pr(e,t){return this.isValid()&&(de(e)&&e.isValid()||x(e).isValid())?ce({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function _r(e){return this.from(x(),e)}function yr(e,t){return this.isValid()&&(de(e)&&e.isValid()||x(e).isValid())?ce({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function gr(e){return this.to(x(),e)}function hs(e){var t;return e===void 0?this._locale._abbr:(t=Se(e),t!=null&&(this._locale=t),this)}var ps=ae("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function _s(){return this._locale}var yt=1e3,qe=60*yt,gt=60*qe,ys=(365*400+97)*24*gt;function Ze(e,t){return(e%t+t)%t}function gs(e,t,i){return e<100&&e>=0?new Date(e+400,t,i)-ys:new Date(e,t,i).valueOf()}function vs(e,t,i){return e<100&&e>=0?Date.UTC(e+400,t,i)-ys:Date.UTC(e,t,i)}function vr(e){var t,i;if(e=ne(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(i=this._isUTC?vs:gs,e){case"year":t=i(this.year(),0,1);break;case"quarter":t=i(this.year(),this.month()-this.month()%3,1);break;case"month":t=i(this.year(),this.month(),1);break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=i(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Ze(t+(this._isUTC?0:this.utcOffset()*qe),gt);break;case"minute":t=this._d.valueOf(),t-=Ze(t,qe);break;case"second":t=this._d.valueOf(),t-=Ze(t,yt);break}return this._d.setTime(t),f.updateOffset(this,!0),this}function wr(e){var t,i;if(e=ne(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(i=this._isUTC?vs:gs,e){case"year":t=i(this.year()+1,0,1)-1;break;case"quarter":t=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=i(this.year(),this.month()+1,1)-1;break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=gt-Ze(t+(this._isUTC?0:this.utcOffset()*qe),gt)-1;break;case"minute":t=this._d.valueOf(),t+=qe-Ze(t,qe)-1;break;case"second":t=this._d.valueOf(),t+=yt-Ze(t,yt)-1;break}return this._d.setTime(t),f.updateOffset(this,!0),this}function kr(){return this._d.valueOf()-(this._offset||0)*6e4}function Mr(){return Math.floor(this.valueOf()/1e3)}function Dr(){return new Date(this.valueOf())}function Lr(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Sr(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function br(){return this.isValid()?this.toISOString():null}function Tr(){return Gt(this)}function Yr(){return Ae({},g(this))}function Or(){return g(this).overflow}function Er(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}_("N",0,0,"eraAbbr");_("NN",0,0,"eraAbbr");_("NNN",0,0,"eraAbbr");_("NNNN",0,0,"eraName");_("NNNNN",0,0,"eraNarrow");_("y",["y",1],"yo","eraYear");_("y",["yy",2],0,"eraYear");_("y",["yyy",3],0,"eraYear");_("y",["yyyy",4],0,"eraYear");h("N",li);h("NN",li);h("NNN",li);h("NNNN",Hr);h("NNNNN",jr);C(["N","NN","NNN","NNNN","NNNNN"],function(e,t,i,s){var a=i._locale.erasParse(e,s,i._strict);a?g(i).era=a:g(i).invalidEra=e});h("y",Je);h("yy",Je);h("yyy",Je);h("yyyy",Je);h("yo",Vr);C(["y","yy","yyy","yyyy"],Q);C(["yo"],function(e,t,i,s){var a;i._locale._eraYearOrdinalRegex&&(a=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[Q]=i._locale.eraYearOrdinalParse(e,a):t[Q]=parseInt(e,10)});function Ar(e,t){var i,s,a,r=this._eras||Se("en")._eras;for(i=0,s=r.length;i<s;++i){switch(typeof r[i].since){case"string":a=f(r[i].since).startOf("day"),r[i].since=a.valueOf();break}switch(typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":a=f(r[i].until).startOf("day").valueOf(),r[i].until=a.valueOf();break}}return r}function Cr(e,t,i){var s,a,r=this.eras(),o,l,u;for(e=e.toUpperCase(),s=0,a=r.length;s<a;++s)if(o=r[s].name.toUpperCase(),l=r[s].abbr.toUpperCase(),u=r[s].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(l===e)return r[s];break;case"NNNN":if(o===e)return r[s];break;case"NNNNN":if(u===e)return r[s];break}else if([o,l,u].indexOf(e)>=0)return r[s]}function Nr(e,t){var i=e.since<=e.until?1:-1;return t===void 0?f(e.since).year():f(e.since).year()+(t-e.offset)*i}function xr(){var e,t,i,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(i=this.clone().startOf("day").valueOf(),s[e].since<=i&&i<=s[e].until||s[e].until<=i&&i<=s[e].since)return s[e].name;return""}function Wr(){var e,t,i,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(i=this.clone().startOf("day").valueOf(),s[e].since<=i&&i<=s[e].until||s[e].until<=i&&i<=s[e].since)return s[e].narrow;return""}function Pr(){var e,t,i,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(i=this.clone().startOf("day").valueOf(),s[e].since<=i&&i<=s[e].until||s[e].until<=i&&i<=s[e].since)return s[e].abbr;return""}function Fr(){var e,t,i,s,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(i=a[e].since<=a[e].until?1:-1,s=this.clone().startOf("day").valueOf(),a[e].since<=s&&s<=a[e].until||a[e].until<=s&&s<=a[e].since)return(this.year()-f(a[e].since).year())*i+a[e].offset;return this.year()}function Rr(e){return b(this,"_erasNameRegex")||ui.call(this),e?this._erasNameRegex:this._erasRegex}function Ir(e){return b(this,"_erasAbbrRegex")||ui.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ur(e){return b(this,"_erasNarrowRegex")||ui.call(this),e?this._erasNarrowRegex:this._erasRegex}function li(e,t){return t.erasAbbrRegex(e)}function Hr(e,t){return t.erasNameRegex(e)}function jr(e,t){return t.erasNarrowRegex(e)}function Vr(e,t){return t._eraYearOrdinalRegex||Je}function ui(){var e=[],t=[],i=[],s=[],a,r,o,l,u,c=this.eras();for(a=0,r=c.length;a<r;++a)o=Me(c[a].name),l=Me(c[a].abbr),u=Me(c[a].narrow),t.push(o),e.push(l),i.push(u),s.push(o),s.push(l),s.push(u);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}_(0,["gg",2],0,function(){return this.weekYear()%100});_(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Ot(e,t){_(0,[e,e.length],0,t)}Ot("gggg","weekYear");Ot("ggggg","weekYear");Ot("GGGG","isoWeekYear");Ot("GGGGG","isoWeekYear");h("G",Lt);h("g",Lt);h("GG",W,te);h("gg",W,te);h("GGGG",Qt,Jt);h("gggg",Qt,Jt);h("GGGGG",Dt,kt);h("ggggg",Dt,kt);lt(["gggg","ggggg","GGGG","GGGGG"],function(e,t,i,s){t[s.substr(0,2)]=w(e)});lt(["gg","GG"],function(e,t,i,s){t[s]=f.parseTwoDigitYear(e)});function Gr(e){return ws.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function zr(e){return ws.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Br(){return De(this.year(),1,4)}function qr(){return De(this.isoWeekYear(),1,4)}function Zr(){var e=this.localeData()._week;return De(this.year(),e.dow,e.doy)}function Jr(){var e=this.localeData()._week;return De(this.weekYear(),e.dow,e.doy)}function ws(e,t,i,s,a){var r;return e==null?st(this,s,a).year:(r=De(e,s,a),t>r&&(t=r),Qr.call(this,e,t,i,s,a))}function Qr(e,t,i,s,a){var r=$i(e,t,i,s,a),o=it(r.year,0,r.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}_("Q",0,"Qo","quarter");h("Q",ji);C("Q",function(e,t){t[we]=(w(e)-1)*3});function Kr(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}_("D",["DD",2],"Do","date");h("D",W,Qe);h("DD",W,te);h("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});C(["D","DD"],fe);C("Do",function(e,t){t[fe]=w(e.match(W)[0])});var ks=Ke("Date",!0);_("DDD",["DDDD",3],"DDDo","dayOfYear");h("DDD",Mt);h("DDDD",Vi);C(["DDD","DDDD"],function(e,t,i){i._dayOfYear=w(e)});function Xr(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}_("m",["mm",2],0,"minute");h("m",W,Kt);h("mm",W,te);C(["m","mm"],le);var $r=Ke("Minutes",!1);_("s",["ss",2],0,"second");h("s",W,Kt);h("ss",W,te);C(["s","ss"],ke);var eo=Ke("Seconds",!1);_("S",0,0,function(){return~~(this.millisecond()/100)});_(0,["SS",2],0,function(){return~~(this.millisecond()/10)});_(0,["SSS",3],0,"millisecond");_(0,["SSSS",4],0,function(){return this.millisecond()*10});_(0,["SSSSS",5],0,function(){return this.millisecond()*100});_(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});_(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});_(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});_(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});h("S",Mt,ji);h("SS",Mt,te);h("SSS",Mt,Vi);var Ce,Ms;for(Ce="SSSS";Ce.length<=9;Ce+="S")h(Ce,Je);function to(e,t){t[Ie]=w(("0."+e)*1e3)}for(Ce="S";Ce.length<=9;Ce+="S")C(Ce,to);Ms=Ke("Milliseconds",!1);_("z",0,0,"zoneAbbr");_("zz",0,0,"zoneName");function io(){return this._isUTC?"UTC":""}function so(){return this._isUTC?"Coordinated Universal Time":""}var d=rt.prototype;d.add=Jn;d.calendar=ir;d.clone=sr;d.diff=dr;d.endOf=wr;d.format=hr;d.from=pr;d.fromNow=_r;d.to=yr;d.toNow=gr;d.get=ma;d.invalidAt=Or;d.isAfter=ar;d.isBefore=nr;d.isBetween=rr;d.isSame=or;d.isSameOrAfter=lr;d.isSameOrBefore=ur;d.isValid=Tr;d.lang=ps;d.locale=hs;d.localeData=_s;d.max=Tn;d.min=bn;d.parsingFlags=Yr;d.set=fa;d.startOf=vr;d.subtract=Qn;d.toArray=Lr;d.toObject=Sr;d.toDate=Dr;d.toISOString=mr;d.inspect=fr;typeof Symbol!="undefined"&&Symbol.for!=null&&(d[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});d.toJSON=br;d.toString=cr;d.unix=Mr;d.valueOf=kr;d.creationData=Er;d.eraName=xr;d.eraNarrow=Wr;d.eraAbbr=Pr;d.eraYear=Fr;d.year=Bi;d.isLeapYear=ca;d.weekYear=Gr;d.isoWeekYear=zr;d.quarter=d.quarters=Kr;d.month=Ki;d.daysInMonth=Ma;d.week=d.weeks=Ea;d.isoWeek=d.isoWeeks=Aa;d.weeksInYear=Zr;d.weeksInWeekYear=Jr;d.isoWeeksInYear=Br;d.isoWeeksInISOWeekYear=qr;d.date=ks;d.day=d.days=Ga;d.weekday=za;d.isoWeekday=Ba;d.dayOfYear=Xr;d.hour=d.hours=$a;d.minute=d.minutes=$r;d.second=d.seconds=eo;d.millisecond=d.milliseconds=Ms;d.utcOffset=Pn;d.utc=Rn;d.local=In;d.parseZone=Un;d.hasAlignedHourOffset=Hn;d.isDST=jn;d.isLocal=Gn;d.isUtcOffset=zn;d.isUtc=ds;d.isUTC=ds;d.zoneAbbr=io;d.zoneName=so;d.dates=ae("dates accessor is deprecated. Use date instead.",ks);d.months=ae("months accessor is deprecated. Use month instead",Ki);d.years=ae("years accessor is deprecated. Use year instead",Bi);d.zone=ae("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Fn);d.isDSTShifted=ae("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Vn);function ao(e){return x(e*1e3)}function no(){return x.apply(null,arguments).parseZone()}function Ds(e){return e}var T=Bt.prototype;T.calendar=Vs;T.longDateFormat=qs;T.invalidDate=Js;T.ordinal=Xs;T.preparse=Ds;T.postformat=Ds;T.relativeTime=ea;T.pastFuture=ta;T.set=Hs;T.eras=Ar;T.erasParse=Cr;T.erasConvertYear=Nr;T.erasAbbrRegex=Ir;T.erasNameRegex=Rr;T.erasNarrowRegex=Ur;T.months=ga;T.monthsShort=va;T.monthsParse=ka;T.monthsRegex=La;T.monthsShortRegex=Da;T.week=ba;T.firstDayOfYear=Oa;T.firstDayOfWeek=Ya;T.weekdays=Ia;T.weekdaysMin=Ha;T.weekdaysShort=Ua;T.weekdaysParse=Va;T.weekdaysRegex=qa;T.weekdaysShortRegex=Za;T.weekdaysMinRegex=Ja;T.isPM=Ka;T.meridiem=en;function vt(e,t,i,s){var a=Se(),r=pe().set(s,t);return a[i](r,e)}function Ls(e,t,i){if(Le(e)&&(t=e,e=void 0),e=e||"",t!=null)return vt(e,t,i,"month");var s,a=[];for(s=0;s<12;s++)a[s]=vt(e,s,i,"month");return a}function di(e,t,i,s){typeof e=="boolean"?(Le(t)&&(i=t,t=void 0),t=t||""):(t=e,i=t,e=!1,Le(t)&&(i=t,t=void 0),t=t||"");var a=Se(),r=e?a._week.dow:0,o,l=[];if(i!=null)return vt(t,(i+r)%7,s,"day");for(o=0;o<7;o++)l[o]=vt(t,(o+r)%7,s,"day");return l}function ro(e,t){return Ls(e,t,"months")}function oo(e,t){return Ls(e,t,"monthsShort")}function lo(e,t,i){return di(e,t,i,"weekdays")}function uo(e,t,i){return di(e,t,i,"weekdaysShort")}function co(e,t,i){return di(e,t,i,"weekdaysMin")}Ne("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,i=w(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+i}});f.lang=ae("moment.lang is deprecated. Use moment.locale instead.",Ne);f.langData=ae("moment.langData is deprecated. Use moment.localeData instead.",Se);var ge=Math.abs;function mo(){var e=this._data;return this._milliseconds=ge(this._milliseconds),this._days=ge(this._days),this._months=ge(this._months),e.milliseconds=ge(e.milliseconds),e.seconds=ge(e.seconds),e.minutes=ge(e.minutes),e.hours=ge(e.hours),e.months=ge(e.months),e.years=ge(e.years),this}function Ss(e,t,i,s){var a=ce(t,i);return e._milliseconds+=s*a._milliseconds,e._days+=s*a._days,e._months+=s*a._months,e._bubble()}function fo(e,t){return Ss(this,e,t,1)}function ho(e,t){return Ss(this,e,t,-1)}function gi(e){return e<0?Math.floor(e):Math.ceil(e)}function po(){var e=this._milliseconds,t=this._days,i=this._months,s=this._data,a,r,o,l,u;return e>=0&&t>=0&&i>=0||e<=0&&t<=0&&i<=0||(e+=gi(jt(i)+t)*864e5,t=0,i=0),s.milliseconds=e%1e3,a=se(e/1e3),s.seconds=a%60,r=se(a/60),s.minutes=r%60,o=se(r/60),s.hours=o%24,t+=se(o/24),u=se(bs(t)),i+=u,t-=gi(jt(u)),l=se(i/12),i%=12,s.days=t,s.months=i,s.years=l,this}function bs(e){return e*4800/146097}function jt(e){return e*146097/4800}function _o(e){if(!this.isValid())return NaN;var t,i,s=this._milliseconds;if(e=ne(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,i=this._months+bs(t),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(jt(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function be(e){return function(){return this.as(e)}}var Ts=be("ms"),yo=be("s"),go=be("m"),vo=be("h"),wo=be("d"),ko=be("w"),Mo=be("M"),Do=be("Q"),Lo=be("y"),So=Ts;function bo(){return ce(this)}function To(e){return e=ne(e),this.isValid()?this[e+"s"]():NaN}function He(e){return function(){return this.isValid()?this._data[e]:NaN}}var Yo=He("milliseconds"),Oo=He("seconds"),Eo=He("minutes"),Ao=He("hours"),Co=He("days"),No=He("months"),xo=He("years");function Wo(){return se(this.days()/7)}var ve=Math.round,ze={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Po(e,t,i,s,a){return a.relativeTime(t||1,!!i,e,s)}function Fo(e,t,i,s){var a=ce(e).abs(),r=ve(a.as("s")),o=ve(a.as("m")),l=ve(a.as("h")),u=ve(a.as("d")),c=ve(a.as("M")),p=ve(a.as("w")),E=ve(a.as("y")),v=r<=i.ss&&["s",r]||r<i.s&&["ss",r]||o<=1&&["m"]||o<i.m&&["mm",o]||l<=1&&["h"]||l<i.h&&["hh",l]||u<=1&&["d"]||u<i.d&&["dd",u];return i.w!=null&&(v=v||p<=1&&["w"]||p<i.w&&["ww",p]),v=v||c<=1&&["M"]||c<i.M&&["MM",c]||E<=1&&["y"]||["yy",E],v[2]=t,v[3]=+e>0,v[4]=s,Po.apply(null,v)}function Ro(e){return e===void 0?ve:typeof e=="function"?(ve=e,!0):!1}function Io(e,t){return ze[e]===void 0?!1:t===void 0?ze[e]:(ze[e]=t,e==="s"&&(ze.ss=t-1),!0)}function Uo(e,t){if(!this.isValid())return this.localeData().invalidDate();var i=!1,s=ze,a,r;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(i=e),typeof t=="object"&&(s=Object.assign({},ze,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),a=this.localeData(),r=Fo(this,!i,s,a),i&&(r=a.pastFuture(+this,r)),a.postformat(r)}var Wt=Math.abs;function Ve(e){return(e>0)-(e<0)||+e}function Et(){if(!this.isValid())return this.localeData().invalidDate();var e=Wt(this._milliseconds)/1e3,t=Wt(this._days),i=Wt(this._months),s,a,r,o,l=this.asSeconds(),u,c,p,E;return l?(s=se(e/60),a=se(s/60),e%=60,s%=60,r=se(i/12),i%=12,o=e?e.toFixed(3).replace(/\.?0+$/,""):"",u=l<0?"-":"",c=Ve(this._months)!==Ve(l)?"-":"",p=Ve(this._days)!==Ve(l)?"-":"",E=Ve(this._milliseconds)!==Ve(l)?"-":"",u+"P"+(r?c+r+"Y":"")+(i?c+i+"M":"")+(t?p+t+"D":"")+(a||s||e?"T":"")+(a?E+a+"H":"")+(s?E+s+"M":"")+(e?E+o+"S":"")):"P0D"}var S=Yt.prototype;S.isValid=Cn;S.abs=mo;S.add=fo;S.subtract=ho;S.as=_o;S.asMilliseconds=Ts;S.asSeconds=yo;S.asMinutes=go;S.asHours=vo;S.asDays=wo;S.asWeeks=ko;S.asMonths=Mo;S.asQuarters=Do;S.asYears=Lo;S.valueOf=So;S._bubble=po;S.clone=bo;S.get=To;S.milliseconds=Yo;S.seconds=Oo;S.minutes=Eo;S.hours=Ao;S.days=Co;S.weeks=Wo;S.months=No;S.years=xo;S.humanize=Uo;S.toISOString=Et;S.toString=Et;S.toJSON=Et;S.locale=hs;S.localeData=_s;S.toIsoString=ae("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Et);S.lang=ps;_("X",0,0,"unix");_("x",0,0,"valueOf");h("x",Lt);h("X",na);C("X",function(e,t,i){i._d=new Date(parseFloat(e)*1e3)});C("x",function(e,t,i){i._d=new Date(w(e))});//! moment.js
10
- f.version="2.30.1";Is(x);f.fn=d;f.min=Yn;f.max=On;f.now=En;f.utc=pe;f.unix=ao;f.months=ro;f.isDate=nt;f.locale=Ne;f.invalid=wt;f.duration=ce;f.isMoment=de;f.weekdays=lo;f.parseZone=no;f.localeData=Se;f.isDuration=ft;f.monthsShort=oo;f.weekdaysMin=co;f.defineLocale=ii;f.updateLocale=nn;f.locales=rn;f.weekdaysShort=uo;f.normalizeUnits=ne;f.relativeTimeRounding=Ro;f.relativeTimeThreshold=Io;f.calendarFormat=tr;f.prototype=d;f.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};if(typeof window!="undefined"){let e=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-popup")&&customElements.define("player-account-gaming-limits-popup",t.element)})}function vi(e,t){n.addMessages(e,t)}function Ho(e){n.$locale.set(e)}const wi={en:{back:"Back to Gaming Limits",limit:"Limit",amount:"Amount",noLimit:"No limit",changeLimitsText:"Are you sure you want to change the {limit}s?",success:"Success lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"You have requested to remove this limit. This will be applied on",invalidInputMessageLimit:"The amount needs to be between 1 and 99,999,999.",invalidInputMessageTime:"The time amount needs to be greater than {minTime} and below {maxTime} minutes.",expirationDate:"Expiration Date:",save:"Save",changedLimitTextBefore:"Your limit has been changed or increased:",changedLimitTextAfter:"You will have to wait for the expiration date for your new limit to take effect.",daily:"Daily",weekly:"Weekly",monthly:"Monthly",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"},"zh-hk":{back:"返回游戲限制",limit:"限制",amount:"數量",noLimit:"沒有限制t",changeLimitsText:"您確定要更改 {limit} 嗎?",success:"您的遊戲限制已成功設置。",remove:"您已請求取消此限制。 這將應用於",invalidInputMessageLimit:"金額需要在 0 到 99,999,999 之間",invalidInputMessageTime:"時間量需要大於 {minTime} 且低於 {maxTime} 分鐘",expirationDate:"截止日期:",save:"節省",changedLimitTextBefore:"您的限額已更改或增加:",changedLimitTextAfter:"您必須等待到期日期才能使新限制生效",daily:"日常的",weekly:"每周",monthly:"月刊",depositLimit:"存款限额",timeLimit:"时限",wageringLimit:"投注限额",lossLimit:"损失限额"},fr:{back:"Retour aux limites de jeu",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",limit:"Limite",amount:"Montant",noLimit:"Aucune limite",changeLimitsText:"Etes-vous sûr de vouloir changer les {limit}s??",success:"Vos limites de jeu ont été respectées.",remove:"Vous avez demandé à ce que cette limite soit supprimée,elle sera appliquée",invalidInputMessageLimit:"Le montant doit être compris entre 1 et 99,999,999.",invalidInputMessageTime:"La durée doit être supérieure au {minTime} et inférieur au {maxTime} minutes .",expirationDate:"Date d'expiration:",save:"Sauvez",changedLimitTextBefore:"Votre limit a été modifiée ou augmentée:",changedLimitTextAfter:"Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte"},ro:{back:"Înapoi la limite de joc",limit:"Limită",amount:"Sumă",noLimit:"Fără Limită",changeLimitsText:"Ești sigur că vrei să modifici {limit}?",success:"Limitele tale de joc au fost configurate cu success.",remove:"Ai solicitat eliminarea acestei limite. Acest lucru va avea loc la data expirării limitei",invalidInputMessageLimit:"Trebuie să setezi o sumă intre 1 și 99,999,999.",invalidInputMessageTime:"Trebuie să setezi o limită intre {minTime} minute și {maxTime} minute",expirationDate:"Dată Expirare:",save:"Salvează",changedLimitTextBefore:"Limita ta a fost schimbată sau a crescut:",changedLimitTextAfter:". Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare.",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limite de pierdere"},es:{back:"Regresa a límites de juego",limit:"Límite",amount:"Monto",noLimit:"Sin Límite",changeLimitsText:"Esta seguro que desea cambiar los {limit}es?",success:"Limite actualizado satisfactoriamente",remove:"Ha solicitado retirar este limite. Esto será aplicado",invalidInputMessageLimit:"El monto debe ser entre 1 y 99",invalidInputMessageTime:"La cantidad de tiempo debe ser superior a {minTime} y por debajo de {maxTime} minutos.",expirationDate:"Fecha de expiración:",save:"Guardar",changedLimitTextBefore:"Tú limite ha sido cambiado o incrementado:",changedLimitTextAfter:"Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia.",daily:"Diario",weekly:"Semanal",monthly:"Mensual",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida"},pt:{back:"Voltar para Limites de jogos",limit:"Limite",amount:"Montante",noLimit:"Sem limite",changeLimitsText:"Tem certeza de que deseja alterar os {limite}s?",success:"Seus limites de jogo foram definidos com sucesso.",remove:"Você solicitou a remoção deste limite. Isso será aplicado em",invalidInputMessageLimit:"O valor precisa estar entre 1 e 99.999.999",invalidInputMessageTime:"A quantidade de tempo precisa ser maior que {1} e menor que {99999999} minutos",expirationDate:"Data de Validade",save:"Guardar",changedLimitTextBefore:"Seu limite foi alterado ou aumentado:",changedLimitTextAfter:"Você terá que aguardar a data de expiração para que seu novo limite entre em vigor",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",lossLimit:"Limite de Perda"},hr:{back:"Povratak na ograničenja igranja",limit:"Limit",amount:"Iznos",noLimit:"Nema ograničenja",changeLimitsText:"Jeste li sigurni da želite promijeniti {limit}e?",success:"Uspješno",remove:"Zatražili ste uklanjanje ovog ograničenja. Ovo će se primijeniti na",invalidInputMessageLimit:"Iznos mora biti između 1 i 99",invalidInputMessageTime:"Vremenski iznos mora biti veći od {minTime} i manji od {maxTime} minuta.",expirationDate:"Datum isteka:",save:"Spremi",changedLimitTextBefore:"Vaše ograničenje je promijenjeno ili povećano:",changedLimitTextAfter:"Morat ćete pričekati datum isteka da bi vaše novo ograničenje stupilo na snagu.",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka"},"pt-br":{back:"Retornar aos limites do jogo",limit:"Limite",amount:"Quantidade",noLimit:"Sem limite",changeLimitsText:"Tem certeza de que deseja alterar o(s) limite(s)?",success:"A operação bem-sucedida lorem Ipsum é simplesmente um texto fictício da indústria de impressão e composição tipográfica.",remove:"Você solicitou a remoção deste limite. Isto será aplicado a partir de",invalidInputMessageLimit:"A Quantia deve estar entre 1 e 99",invalidInputMessageTime:"A quantidade de tempo precisa ser maior que {minTime} e menor que {maxTime} minutos.",expirationDate:"Data de expiração:",save:"Manter",changedLimitTextBefore:"Seu limite de tempo foi alterado ou aumentado:",changedLimitTextAfter:"Você deve aguardar a data de expiração para que seu novo limite entre em vigor.",daily:"Diário",weekly:"Semanalmente",monthly:"Por mês",depositLimit:"Limite de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de aposta",lossLimit:"Limite de perda"},"es-mx":{back:"Regresar a límites de juego",limit:"Límite",amount:"Monto",noLimit:"Sin límite",changeLimitsText:"¿Está seguro que quiere cambiar el/los límite(s)?",success:"Operación exitosa lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"Ha solicitado remover este límite. Esto se aplicará a partir de",invalidInputMessageLimit:"El monto debe ser entre 1 y 99,999,999",invalidInputMessageTime:"El monto de tiempo necesita ser mayor a {minTime} y menor a {maxTime} minutos.",expirationDate:"Fecha de expiración:",save:"Guardar",changedLimitTextBefore:"Tú límite de tiempo ha sido cambiado o aumentado:",changedLimitTextAfter:"Tiene que esperar a la fecha de expiración para que su nuevo límite entre en efecto.",daily:"Diario",weekly:"Semanal",monthly:"Mensual",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuesta",lossLimit:"Límite de pérdida"},tr:{back:"Oyun Sınırlarına Geri Dön",limit:"Sınır",amount:"Miktar",noLimit:"Limit yok",changeLimitsText:"{limit}'leri değiştirmek istediğinizden emin misiniz?",success:"Başarı lorem Ipsum, basım ve dizgi endüstrisinin sahte metnidir.",remove:"Bu sınırın kaldırılmasını talep ettiniz. Bu şu tarihte uygulanacaktır:",invalidInputMessageLimit:"Tutarın 1 ile 99.999.999 arasında olması gerekir.",invalidInputMessageTime:"Süre miktarının {minTime} değerinden büyük ve {maxTime} dakikanın altında olması gerekir.",expirationDate:"Son kullanma tarihi:",save:"Kaydetmek",changedLimitTextBefore:"Limitiniz değiştirildi veya artırıldı:",changedLimitTextAfter:"Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir.",daily:"Günlük",weekly:"Haftalık",monthly:"Aylık",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti"},"en-us":{back:"Back to Gaming Limits",limit:"Limit",amount:"Amount",noLimit:"No limit",changeLimitsText:"Are you sure you want to change the {limit}s?",success:"Success lorem Ipsum is simply dummy text of the printing and typesetting industry.",remove:"You have requested to remove this limit. This will be applied on",invalidInputMessageLimit:"The amount needs to be between 1 and 99,999,999.",invalidInputMessageTime:"The time amount needs to be greater than {minTime} and below {maxTime} minutes.",expirationDate:"Expiration Date:",save:"Save",changedLimitTextBefore:"Your limit has been changed or increased:",changedLimitTextAfter:"You will have to wait for the expiration date for your new limit to take effect.",daily:"Daily",weekly:"Weekly",monthly:"Monthly",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"}};if(typeof window!="undefined"){let e=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountModal-C7aZZlBw.cjs")).then(({default:t})=>{!customElements.get("player-account-modal")&&customElements.define("player-account-modal",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-confirmation-modal")&&customElements.define("player-account-gaming-limits-confirmation-modal",t.element)})}function jo(e){n.append_styles(e,"svelte-bv14kn",".MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px;cursor:pointer}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.MyAccountCategoryTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.MyAccountCategoryTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.MyAccountCategoryTitleNone{display:none !important}.AccountEditLimitsWrapper{padding:50px;max-width:760px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper{padding:20px}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea{grid-template-columns:1fr}.AccountEditLimitsWrapper.AccountEditLimitsMobileWrapper .AccountEditLimitsControlArea .AccountEditLimitsSaveButton{width:100%}.AccountEditBackButton{display:inline-block;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-size:26px;font-weight:300;cursor:pointer;margin-bottom:30px}.AccountEditBackButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.AccountEditLimitsHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:5px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.AccountEditLimitsHeader h6{margin:0;font-weight:normal;font-size:16px;line-height:20px}.AccountEditLimitsHeader .AccountEditLimitsIcon{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));align-items:center;justify-content:center;border-radius:30px;cursor:pointer}.AccountEditLimitChangePeriodIcon{display:flex;width:20px;height:20px;color:var(--emw--color-gray-300, #58586B);background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);align-items:center;justify-content:center;border-radius:30px;cursor:pointer;margin-right:10px}.AccountEditLimitSuccessfulChangeContainer{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));border-radius:5px;padding:10px}.AccountEditLimitSuccessfulChangeContainer p{margin:0}.AccountEditLimitsIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.AccountEditLimitsTitle{font-size:16px;font-weight:300;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:10px 0 10px}.AccountEditLimitsExpiryDate{font-size:12px;font-weight:300;color:var(--emw--color-black, #000000)}.AccountEditLimitsContainer{display:grid;grid-template-columns:1fr 1fr;grid-gap:30px;direction:ltr}@media only screen and (max-width: 1024px){.AccountEditLimitsContainer{grid-template-columns:1fr;grid-gap:20px}}.AccountEditField{width:100%;font-size:14px;font-weight:300;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:10px;line-height:16px;background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;outline:none;transition-duration:0.3s}.AccountEditField:focus,.AccountEditField :focus-within,.AccountEditField :focus-visible,.AccountEditField :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.AccountEditFieldCustom{padding:3%}.AccountEditLimitsPeriodChangeContainer{background:var(--emw--color-gray-50, #F9F8F8);border-radius:5px}.AccountEditLimitsPeriodChangeContainer p{max-width:290px;display:-webkit-box;padding:10px 35px 15px 10px;color:var(--emw--color-gray-300, #58586B);font-size:12px;font-weight:300}.AccountEditLimitsPeriodChangeContainer p .AccountEditLimitChangePeriodIcon{font-size:14px;font-weight:400}.AccountEditLimitsControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:40px;margin-top:35px}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton{padding:12px;cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--emw--color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.AccountEditLimitsControlArea .AccountEditLimitsSaveButton.AccountEditLimitsButtonDisabled{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));cursor:not-allowed;opacity:0.6}.AccountEditLimitsBox{position:relative}.AccountEditWarningText{position:relative;margin:0}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #FD2839));font-size:10px;position:absolute;top:6px;margin:0;line-height:10px}.AccountEditLimitsInputContainer{position:relative;padding-top:10px;width:94%}")}function ki(e,t,i){const s=e.slice();return s[56]=t[i],s[57]=t,s[58]=i,s}function Mi(e,t,i){const s=e.slice();return s[59]=t[i],s}function Di(e,t,i){const s=e.slice();return s[56]=t[i],s[58]=i,s}function Vo(e){let t,i,s,a,r,o,l,u,c,p,E=e[18]("back")+"",v,Y,k;return{c(){t=n.element("div"),i=n.svg_element("svg"),s=n.svg_element("defs"),a=n.svg_element("style"),r=n.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"),o=n.svg_element("g"),l=n.svg_element("g"),u=n.svg_element("path"),c=n.space(),p=n.element("h2"),v=n.text(E),n.attr(u,"class","aaa"),n.attr(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),n.attr(u,"transform","translate(15 15) rotate(180)"),n.attr(l,"transform","translate(20 158)"),n.attr(o,"transform","translate(-20 -158)"),n.attr(i,"xmlns","http://www.w3.org/2000/svg"),n.attr(i,"width","15"),n.attr(i,"height","15"),n.attr(i,"viewBox","0 0 15 15"),n.attr(p,"class","MyAccountCategoryTitleMobile"),n.attr(t,"class","MenuReturnButton")},m(M,D){n.insert(M,t,D),n.append(t,i),n.append(i,s),n.append(s,a),n.append(a,r),n.append(i,o),n.append(o,l),n.append(l,u),n.append(t,c),n.append(t,p),n.append(p,v),Y||(k=n.listen(t,"click",e[22]),Y=!0)},p(M,D){D[0]&262144&&E!==(E=M[18]("back")+"")&&n.set_data(v,E)},d(M){M&&n.detach(t),Y=!1,k()}}}function Li(e){let t,i,s=e[18]("success")+"",a;return{c(){t=n.element("div"),i=n.element("p"),a=n.text(s),n.attr(t,"class","AccountEditLimitSuccessfulChangeContainer")},m(r,o){n.insert(r,t,o),n.append(t,i),n.append(i,a)},p(r,o){o[0]&262144&&s!==(s=r[18]("success")+"")&&n.set_data(a,s)},d(r){r&&n.detach(t)}}}function Si(e){let t,i=n.ensure_array_like(e[14]),s=[];for(let a=0;a<i.length;a+=1)s[a]=Ti(Di(e,i,a));return{c(){t=n.element("div");for(let a=0;a<s.length;a+=1)s[a].c();n.attr(t,"class","AccountEditLimitSuccessfulChangeContainer")},m(a,r){n.insert(a,t,r);for(let o=0;o<s.length;o+=1)s[o]&&s[o].m(t,null)},p(a,r){if(r[0]&409600){i=n.ensure_array_like(a[14]);let o;for(o=0;o<i.length;o+=1){const l=Di(a,i,o);s[o]?s[o].p(l,r):(s[o]=Ti(l),s[o].c(),s[o].m(t,null))}for(;o<s.length;o+=1)s[o].d(1);s.length=i.length}},d(a){a&&n.detach(t),n.destroy_each(s,a)}}}function bi(e){let t,i=e[18]("remove")+"",s,a,r=(e[56].expiryDate?f(e[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",o;return{c(){t=n.element("p"),s=n.text(i),a=n.space(),o=n.text(r)},m(l,u){n.insert(l,t,u),n.append(t,s),n.append(t,a),n.append(t,o)},p(l,u){u[0]&262144&&i!==(i=l[18]("remove")+"")&&n.set_data(s,i),u[0]&16384&&r!==(r=(l[56].expiryDate?f(l[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&n.set_data(o,r)},d(l){l&&n.detach(t)}}}function Ti(e){let t,i=e[56].period==e[17][e[58]].period&&bi(e);return{c(){i&&i.c(),t=n.empty()},m(s,a){i&&i.m(s,a),n.insert(s,t,a)},p(s,a){s[56].period==s[17][s[58]].period?i?i.p(s,a):(i=bi(s),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(s){s&&n.detach(t),i&&i.d(s)}}}function Yi(e){let t,i,s=n.ensure_array_like(e[14]),a=[];for(let r=0;r<s.length;r+=1)a[r]=Pi(ki(e,s,r));return{c(){t=n.element("div"),i=n.element("div");for(let r=0;r<a.length;r+=1)a[r].c();n.attr(i,"class","AccountEditLimitsContainer"),n.attr(t,"class","AccountEditContent")},m(r,o){n.insert(r,t,o),n.append(t,i);for(let l=0;l<a.length;l+=1)a[l]&&a[l].m(i,null)},p(r,o){if(o[0]&18836560){s=n.ensure_array_like(r[14]);let l;for(l=0;l<s.length;l+=1){const u=ki(r,s,l);a[l]?a[l].p(u,o):(a[l]=Pi(u),a[l].c(),a[l].m(i,null))}for(;l<a.length;l+=1)a[l].d(1);a.length=s.length}},d(r){r&&n.detach(t),n.destroy_each(a,r)}}}function Oi(e){let t,i,s=e[18]("noLimit")+"",a,r,o,l,u,c,p,E,v=n.ensure_array_like(e[20].get(e[6])[e[58]].values),Y=[];for(let L=0;L<v.length;L+=1)Y[L]=Ai(Mi(e,v,L));function k(){e[29].call(t,e[58])}let M=e[17][e[58]].amount==="Custom"&&Ci(e),D=e[56].isModified===!0&&Wi(e);return{c(){t=n.element("select"),i=n.element("option"),a=n.text(s);for(let L=0;L<Y.length;L+=1)Y[L].c();o=n.space(),l=n.element("div"),M&&M.c(),u=n.space(),D&&D.c(),c=n.empty(),i.__value="",n.set_input_value(i,i.__value),i.disabled=!0,i.selected=!0,i.hidden=!0,n.attr(t,"class","AccountEditField "+(e[19]?"TimeoutSelectMobile":"")),t.disabled=r=e[56].isModified===!0,e[17][e[58]].amount===void 0&&n.add_render_callback(k),n.attr(l,"class","AccountEditLimitsInputContainer")},m(L,N){n.insert(L,t,N),n.append(t,i),n.append(i,a);for(let A=0;A<Y.length;A+=1)Y[A]&&Y[A].m(t,null);n.select_option(t,e[17][e[58]].amount,!0),n.insert(L,o,N),n.insert(L,l,N),M&&M.m(l,null),n.insert(L,u,N),D&&D.m(L,N),n.insert(L,c,N),p||(E=[n.listen(t,"change",k),n.listen(t,"change",function(){n.is_function(e[24](e[17][e[58]],e[58],!1,e[16]))&&e[24](e[17][e[58]],e[58],!1,e[16]).apply(this,arguments)})],p=!0)},p(L,N){if(e=L,N[0]&262144&&s!==(s=e[18]("noLimit")+"")&&n.set_data(a,s),N[0]&1048656){v=n.ensure_array_like(e[20].get(e[6])[e[58]].values);let A;for(A=0;A<v.length;A+=1){const K=Mi(e,v,A);Y[A]?Y[A].p(K,N):(Y[A]=Ai(K),Y[A].c(),Y[A].m(t,null))}for(;A<Y.length;A+=1)Y[A].d(1);Y.length=v.length}N[0]&16384&&r!==(r=e[56].isModified===!0)&&(t.disabled=r),N[0]&1179712&&n.select_option(t,e[17][e[58]].amount),e[17][e[58]].amount==="Custom"?M?M.p(e,N):(M=Ci(e),M.c(),M.m(l,null)):M&&(M.d(1),M=null),e[56].isModified===!0?D?D.p(e,N):(D=Wi(e),D.c(),D.m(c.parentNode,c)):D&&(D.d(1),D=null)},d(L){L&&(n.detach(t),n.detach(o),n.detach(l),n.detach(u),n.detach(c)),n.destroy_each(Y,L),M&&M.d(),D&&D.d(L),p=!1,n.run_all(E)}}}function Ei(e){let t=(e[6]!=="Time Limit"?e[4]:" minutes")+"",i;return{c(){i=n.text(t)},m(s,a){n.insert(s,i,a)},p(s,a){a[0]&80&&t!==(t=(s[6]!=="Time Limit"?s[4]:" minutes")+"")&&n.set_data(i,t)},d(s){s&&n.detach(i)}}}function Ai(e){let t,i=e[59]+"",s,a,r,o,l=e[59]!=="No limit"&&e[59]!=="Custom"&&Ei(e);return{c(){t=n.element("option"),s=n.text(i),a=n.space(),l&&l.c(),r=n.space(),t.__value=o=e[59],n.set_input_value(t,t.__value)},m(u,c){n.insert(u,t,c),n.append(t,s),n.append(t,a),l&&l.m(t,null),n.append(t,r)},p(u,c){c[0]&64&&i!==(i=u[59]+"")&&n.set_data(s,i),u[59]!=="No limit"&&u[59]!=="Custom"?l?l.p(u,c):(l=Ei(u),l.c(),l.m(t,r)):l&&(l.d(1),l=null),c[0]&64&&o!==(o=u[59])&&(t.__value=o,n.set_input_value(t,t.__value))},d(u){u&&n.detach(t),l&&l.d()}}}function Ci(e){let t;function i(r,o){return r[6]!=="Time Limit"?zo:Go}let s=i(e),a=s(e);return{c(){a.c(),t=n.empty()},m(r,o){a.m(r,o),n.insert(r,t,o)},p(r,o){s===(s=i(r))&&a?a.p(r,o):(a.d(1),a=s(r),a&&(a.c(),a.m(t.parentNode,t)))},d(r){r&&n.detach(t),a.d(r)}}}function Go(e){let t,i,s,a,r,o;function l(){e[31].call(t,e[58])}let u=e[13][e[58]]==1&&Ni(e);return{c(){t=n.element("input"),s=n.space(),a=n.element("p"),u&&u.c(),n.attr(t,"type","number"),n.attr(t,"class","AccountEditField AccountEditFieldCustom"),t.disabled=i=e[56].isModified===!0,n.attr(a,"class","AccountEditWarningText")},m(c,p){n.insert(c,t,p),n.set_input_value(t,e[17][e[58]].value),n.insert(c,s,p),n.insert(c,a,p),u&&u.m(a,null),r||(o=[n.listen(t,"keyup",function(){n.is_function(e[24](e[17][e[58]],e[58],!0,e[16]))&&e[24](e[17][e[58]],e[58],!0,e[16]).apply(this,arguments)}),n.listen(t,"input",l)],r=!0)},p(c,p){e=c,p[0]&16384&&i!==(i=e[56].isModified===!0)&&(t.disabled=i),p[0]&1179712&&n.to_number(t.value)!==e[17][e[58]].value&&n.set_input_value(t,e[17][e[58]].value),e[13][e[58]]==1?u?u.p(e,p):(u=Ni(e),u.c(),u.m(a,null)):u&&(u.d(1),u=null)},d(c){c&&(n.detach(t),n.detach(s),n.detach(a)),u&&u.d(),r=!1,n.run_all(o)}}}function zo(e){let t,i,s,a,r,o;function l(){e[30].call(t,e[58])}let u=e[13][e[58]]==1&&xi(e);return{c(){t=n.element("input"),s=n.space(),a=n.element("p"),u&&u.c(),n.attr(t,"type","number"),n.attr(t,"class","AccountEditField AccountEditFieldCustom"),t.disabled=i=e[56].isModified===!0,n.attr(a,"class","AccountEditWarningText")},m(c,p){n.insert(c,t,p),n.set_input_value(t,e[17][e[58]].value),n.insert(c,s,p),n.insert(c,a,p),u&&u.m(a,null),r||(o=[n.listen(t,"keyup",function(){n.is_function(e[24](e[17][e[58]],e[58],!1,e[16]))&&e[24](e[17][e[58]],e[58],!1,e[16]).apply(this,arguments)}),n.listen(t,"input",l)],r=!0)},p(c,p){e=c,p[0]&16384&&i!==(i=e[56].isModified===!0)&&(t.disabled=i),p[0]&1179712&&n.to_number(t.value)!==e[17][e[58]].value&&n.set_input_value(t,e[17][e[58]].value),e[13][e[58]]==1?u?u.p(e,p):(u=xi(e),u.c(),u.m(a,null)):u&&(u.d(1),u=null)},d(c){c&&(n.detach(t),n.detach(s),n.detach(a)),u&&u.d(),r=!1,n.run_all(o)}}}function Ni(e){let t,i=e[18]("invalidInputMessageTime",{values:{minTime:e[10],maxTime:e[11]}})+"",s;return{c(){t=n.element("p"),s=n.text(i),n.attr(t,"class","InvalidInput")},m(a,r){n.insert(a,t,r),n.append(t,s)},p(a,r){r[0]&265216&&i!==(i=a[18]("invalidInputMessageTime",{values:{minTime:a[10],maxTime:a[11]}})+"")&&n.set_data(s,i)},d(a){a&&n.detach(t)}}}function xi(e){let t,i=e[18]("invalidInputMessageLimit")+"",s;return{c(){t=n.element("p"),s=n.text(i),n.attr(t,"class","InvalidInput")},m(a,r){n.insert(a,t,r),n.append(t,s)},p(a,r){r[0]&262144&&i!==(i=a[18]("invalidInputMessageLimit")+"")&&n.set_data(s,i)},d(a){a&&n.detach(t)}}}function Wi(e){let t,i=e[18]("expirationDate")+"",s,a,r,o=(e[56].expiryDate?f(e[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",l,u,c,p,E,v,Y=e[18]("changedLimitTextBefore")+"",k,M,D=(e[56].updateAmount>0?e[56].updateAmount:0)+"",L,N,A=(e[56].minutes!==void 0?" minutes":e[4])+"",K,z,$=e[18]("changedLimitTextAfter")+"",Te;return{c(){t=n.element("p"),s=n.text(i),a=n.space(),r=n.element("span"),l=n.text(o),u=n.space(),c=n.element("div"),p=n.element("p"),E=n.element("span"),E.textContent="i",v=n.element("span"),k=n.text(Y),M=n.space(),L=n.text(D),N=n.space(),K=n.text(A),z=n.text(". "),Te=n.text($),n.attr(t,"class","AccountEditLimitsExpiryDate"),n.attr(E,"class","AccountEditLimitChangePeriodIcon"),n.attr(c,"class","AccountEditLimitsPeriodChangeContainer")},m(P,I){n.insert(P,t,I),n.append(t,s),n.append(t,a),n.append(t,r),n.append(r,l),n.insert(P,u,I),n.insert(P,c,I),n.append(c,p),n.append(p,E),n.append(p,v),n.append(v,k),n.append(v,M),n.append(v,L),n.append(v,N),n.append(v,K),n.append(v,z),n.append(v,Te)},p(P,I){I[0]&262144&&i!==(i=P[18]("expirationDate")+"")&&n.set_data(s,i),I[0]&16384&&o!==(o=(P[56].expiryDate?f(P[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&n.set_data(l,o),I[0]&262144&&Y!==(Y=P[18]("changedLimitTextBefore")+"")&&n.set_data(k,Y),I[0]&16384&&D!==(D=(P[56].updateAmount>0?P[56].updateAmount:0)+"")&&n.set_data(L,D),I[0]&16400&&A!==(A=(P[56].minutes!==void 0?" minutes":P[4])+"")&&n.set_data(K,A),I[0]&262144&&$!==($=P[18]("changedLimitTextAfter")+"")&&n.set_data(Te,$)},d(P){P&&(n.detach(t),n.detach(u),n.detach(c))}}}function Pi(e){let t,i,s=e[18](""+e[56].period.charAt(0).toLowerCase()+e[56].period.substring(1))+"",a,r,o,l=e[56].period==e[17][e[58]].period&&Oi(e);return{c(){t=n.element("div"),i=n.element("p"),a=n.text(s),r=n.space(),l&&l.c(),o=n.space(),n.attr(i,"class","AccountEditLimitsTitle"),n.attr(t,"class","AccountEditLimitsBox")},m(u,c){n.insert(u,t,c),n.append(t,i),n.append(i,a),n.append(t,r),l&&l.m(t,null),n.append(t,o)},p(u,c){c[0]&278528&&s!==(s=u[18](""+u[56].period.charAt(0).toLowerCase()+u[56].period.substring(1))+"")&&n.set_data(a,s),u[56].period==u[17][u[58]].period?l?l.p(u,c):(l=Oi(u),l.c(),l.m(t,o)):l&&(l.d(1),l=null)},d(u){u&&n.detach(t),l&&l.d()}}}function Bo(e){let t,i,s,a,r,o,l,u,c,p,E,v,Y=e[18]("back")+"",k,M,D,L,N=(e[1]?e[9]:"")+"",A,K,z,$,Te,P,I,me,Ye,xe,H,ie,Oe=e[18]("save")+"",B,We,Pe,je,Fe,re,Ee,ut,ye=e[19]&&Vo(e),q=e[2]&&Li(e),Z=e[3]&&Si(e),J=e[8]&&Yi(e);return{c(){t=n.element("div"),ye&&ye.c(),i=n.space(),s=n.element("div"),a=n.svg_element("svg"),r=n.svg_element("defs"),o=n.svg_element("style"),l=n.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"),u=n.svg_element("g"),c=n.svg_element("g"),p=n.svg_element("path"),E=n.space(),v=n.element("h2"),k=n.text(Y),M=n.space(),D=n.element("div"),L=n.element("h6"),A=n.text(N),K=n.space(),z=n.element("div"),$=n.element("span"),$.textContent="i",Te=n.space(),P=n.element("player-account-gaming-limits-popup"),I=n.space(),q&&q.c(),me=n.space(),Z&&Z.c(),Ye=n.space(),J&&J.c(),xe=n.space(),H=n.element("div"),ie=n.element("button"),B=n.text(Oe),je=n.space(),Fe=n.element("player-account-modal"),re=n.element("player-account-gaming-limits-confirmation-modal"),n.attr(p,"class","aaa"),n.attr(p,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),n.attr(p,"transform","translate(15 15) rotate(180)"),n.attr(c,"transform","translate(20 158)"),n.attr(u,"transform","translate(-20 -158)"),n.attr(a,"xmlns","http://www.w3.org/2000/svg"),n.attr(a,"width","20"),n.attr(a,"height","20"),n.attr(a,"viewBox","0 0 15 15"),n.attr(v,"class","MyAccountCategoryTitle "+(e[19]?"MyAccountCategoryTitleNone":"")),n.attr(s,"class","MenuReturnButton "+(e[19]?"MyAccountCategoryTitleNone":"")),n.attr($,"class","AccountEditLimitsIcon"),n.set_custom_element_data(P,"showpopup",e[7]),n.set_custom_element_data(P,"lang",e[0]),n.attr(z,"class","AccountEditLimitsIconWrapper"),n.attr(D,"class","AccountEditLimitsHeader"),n.attr(ie,"class",We="AccountEditLimitsSaveButton "+(e[15]?"":"AccountEditLimitsButtonDisabled")),ie.disabled=Pe=!e[15],n.attr(H,"class","AccountEditLimitsControlArea"),n.attr(t,"class","AccountEditLimitsWrapper "+(e[19]?"AccountEditLimitsMobileWrapper":"")),n.set_custom_element_data(re,"modaltext",e[12]),n.set_custom_element_data(re,"modalsource","groupEdit"),n.set_custom_element_data(re,"lang",e[0])},m(O,j){n.insert(O,t,j),ye&&ye.m(t,null),n.append(t,i),n.append(t,s),n.append(s,a),n.append(a,r),n.append(r,o),n.append(o,l),n.append(a,u),n.append(u,c),n.append(c,p),n.append(s,E),n.append(s,v),n.append(v,k),n.append(t,M),n.append(t,D),n.append(D,L),n.append(L,A),n.append(D,K),n.append(D,z),n.append(z,$),n.append(z,Te),n.append(z,P),n.append(t,I),q&&q.m(t,null),n.append(t,me),Z&&Z.m(t,null),n.append(t,Ye),J&&J.m(t,null),n.append(t,xe),n.append(t,H),n.append(H,ie),n.append(ie,B),e[33](t),n.insert(O,je,j),n.insert(O,Fe,j),n.append(Fe,re),Ee||(ut=[n.listen(s,"click",e[22]),n.listen($,"click",n.prevent_default(e[21])),n.listen(ie,"click",e[32])],Ee=!0)},p(O,j){O[19]&&ye.p(O,j),j[0]&262144&&Y!==(Y=O[18]("back")+"")&&n.set_data(k,Y),j[0]&514&&N!==(N=(O[1]?O[9]:"")+"")&&n.set_data(A,N),j[0]&128&&n.set_custom_element_data(P,"showpopup",O[7]),j[0]&1&&n.set_custom_element_data(P,"lang",O[0]),O[2]?q?q.p(O,j):(q=Li(O),q.c(),q.m(t,me)):q&&(q.d(1),q=null),O[3]?Z?Z.p(O,j):(Z=Si(O),Z.c(),Z.m(t,Ye)):Z&&(Z.d(1),Z=null),O[8]?J?J.p(O,j):(J=Yi(O),J.c(),J.m(t,xe)):J&&(J.d(1),J=null),j[0]&262144&&Oe!==(Oe=O[18]("save")+"")&&n.set_data(B,Oe),j[0]&32768&&We!==(We="AccountEditLimitsSaveButton "+(O[15]?"":"AccountEditLimitsButtonDisabled"))&&n.attr(ie,"class",We),j[0]&32768&&Pe!==(Pe=!O[15])&&(ie.disabled=Pe),j[0]&4096&&n.set_custom_element_data(re,"modaltext",O[12]),j[0]&1&&n.set_custom_element_data(re,"lang",O[0])},i:n.noop,o:n.noop,d(O){O&&(n.detach(t),n.detach(je),n.detach(Fe)),ye&&ye.d(),q&&q.d(),Z&&Z.d(),J&&J.d(),e[33](null),Ee=!1,n.run_all(ut)}}}function qo(e,t,i){let s;n.component_subscribe(e,n.$format,m=>i(18,s=m));let{limitsdata:a=[]}=t,{showsuccessnotification:r=!1}=t,{showdeletenotification:o=!1}=t,{playercurrency:l=""}=t,{lang:u="en"}=t,{separatelimits:c="true"}=t,{clientstyling:p=""}=t,{clientstylingurl:E=""}=t,{translationurl:v=""}=t;const Y=()=>{fetch(v).then(y=>y.json()).then(y=>{Object.keys(y).forEach(F=>{vi(F,y[F])})}).catch(y=>{console.log(y)})};Object.keys(wi).forEach(m=>{vi(m,wi[m])});let k,M,D=!1,L=!1,N="",A=!1,K=0,z=0,$="",Te=window.navigator.userAgent,P=n.getDevice(Te)!=="PC",I=new Array(3).fill(0),me={},Ye=[],xe=[],H=!1,ie=[];const Oe={amount:/^[0-9]{0,8}$/,time:/^[1-9]\d*$/};let B=[{period:"Daily",amount:"No limit",value:0},{period:"Weekly",amount:"No limit",value:0},{period:"Monthly",amount:"No limit",value:0}],We=[{period:"Daily",values:["10000","20000","50000","No limit","Custom"]},{period:"Weekly",values:["10000","50000","100000","No limit","Custom"]},{period:"Monthly",values:["50000","100000","200000","No limit","Custom"]}],Pe=[{period:"Daily",values:["5000","7000","10000","No limit","Custom"]},{period:"Weekly",values:["25000","50000","100000","No limit","Custom"]},{period:"Monthly",values:["125000","175000","200000","No limit","Custom"]}],je=[{period:"Daily",values:["5000","7000","10000","No limit","Custom"]},{period:"Weekly",values:["25000","50000","100000","No limit","Custom"]},{period:"Monthly",values:["125000","175000","200000","No limit","Custom"]}],Fe=[{period:"Daily",values:["500","1000","1430","No limit","Custom"]},{period:"Weekly",values:["5000","7000","10000","No limit","Custom"]},{period:"Monthly",values:["20000","30000","43000","No limit","Custom"]}];const re=new Map([["Deposit Limit","depositLimits"],["Time Limit","cumulativeSessionLimits"],["Wagering Limit","wageringLimits"],["Loss Limit","lossLimits"]]),Ee=new Map([["Deposit Limit",We],["Time Limit",Fe],["Wagering Limit",Pe],["Loss Limit",je]]),ut=()=>{i(7,D=!0)},ye=()=>{window.postMessage({type:"PlayerAccountBackToLimitsView"},window.location.href)},q=()=>{window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href)},Z=()=>{if(A){k==="Time Limit"?B.forEach(y=>{if(c=="true"){if(y.value!=0){let F={period:y.period,minutes:y.value};Ye.push(F)}}else me.forEach(F=>{F.period===y.period&&(F.minutes=y.value)})}):B.forEach(y=>{if(c=="true"){if(y.value!=0){let F={period:y.period,amount:y.value,currency:l};Ye.push(F)}}else me.forEach(F=>{F.period===y.period&&(F.amount=y.value,F.currency=l)})});let m={};c=="true"?m={[re.get(k)]:[...Ye]}:m={[re.get(k)]:[...me]},Ye.length=0,window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:m,limitsCategory:re.get(k)},window.location.href),i(15,H=!1)}},J=(m,y,F,V)=>{switch(m.amount){case"Custom":if(k=="Time Limit")if(i(10,K=60),m.period==="Daily"?i(11,z=1440):m.period=="Weekly"?i(11,z=10080):i(11,z=43200),m.value&&Oe.time.test(m.value)&&m.value>K&&m.value<=z){i(13,I[y]=0,I);let ee=V[y];m.period==ee.period&&m.value==ee.amount?(i(15,H=!1),O(m,V)):i(15,H=!0)}else i(13,I[y]=1,I),i(15,H=!1);else m.value&&Oe.amount.test(m.value)?(i(13,I[y]=0,I),m.period==V[y].period&&m.value==V[y].amount?(i(15,H=!!H),O(m,V)):i(15,H=!0),c!="true"&&B.forEach(ee=>{ee.value==0&&i(15,H=!1)})):(i(13,I[y]=1,I),i(15,H=!1));break;default:m.period==V[y].period?(O(m,V),i(15,H=m.value!=V[y].amount)):i(15,H=!0),B.forEach(ee=>{(ee.value==0&&c!="true"||ee.amount=="Custom"&&!Oe.amount.test(ee.value.toString()))&&i(15,H=!1)});break}},O=(m,y)=>{let F=JSON.parse(JSON.stringify(y));B.forEach(V=>{F.forEach(ee=>{V.period==m.period&&(V.amount!=="Custom"&&V.amount!=="No limit"?V.value=JSON.parse(V.amount):V.amount==="No limit"&&(V.value=0)),ee.period===V.period&&(ee.amount=V.value)})})},j=(m,y,F,V)=>{let ee=m.values;!y.amount||y.amount==="No limit"?F.forEach(oe=>{oe.period===y.period&&(oe.amount=y.amount,oe.value=0)}):ee.includes(JSON.stringify(y.amount))?F.forEach(oe=>{oe.period===y.period&&(oe.amount=JSON.stringify(y.amount),oe.value=y.amount)}):F.forEach(oe=>{oe.period===y.period&&(oe.amount="Custom",oe.value=y.amount)})},Os=m=>{xe.forEach(y=>{m.period===y.period&&(k==="Time Limit"&&(i(10,K=60),m.period==="Daily"?i(11,z=1440):m.period=="Weekly"?i(11,z=10080):i(11,z=43200)),y.values.indexOf(m.amount)>-1&&(m.amount==="No limit"?m.amount=0:m.amount=JSON.parse(m.amount)))})},Es=()=>{ie.forEach(m=>{Os(m)}),me.forEach(m=>{xe.forEach(y=>{m.period===y.period&&j(y,m,B)})})},ci=()=>{let m="";m=k==="Time Limit"?"time limit":k==="Deposit Limit"?"deposit limit":k==="Wagering Limit"?"wagering limit":"loss limit",i(12,$=s("changeLimitsText",{values:{limit:m}}))},At=()=>{Ho(u),ci(),i(16,ie=JSON.parse(JSON.stringify(a))),i(14,me=JSON.parse(JSON.stringify(a))),xe=k==="Wagering Limit"?Pe:k==="Loss Limit"?je:k==="Deposit Limit"?We:k==="Time Limit"?Fe:[],Es()},mi=m=>{if(m.data)switch(m.data.type){case"LanguageChanged":i(0,u=m.data.lang),ci();break;case"EditPlayerLimit":i(6,k=m.data.name),i(9,N=s(k.charAt(0).toLowerCase()+k.substring(1).replace(/\s/g,""))),At(),i(8,L=!0);break;case"ClosePlayerAccountGamingLimitsPopup":i(7,D=!1);break;case"GamingLimitsConfirmChanges":A=!0,Z();break;case"CancelGamingLimitsChanges":i(8,L=!1),setTimeout(()=>{i(8,L=!0)},10),At(),i(15,H=!1),A=!1;break}},As=()=>{let m=document.createElement("style");m.innerHTML=p,M.appendChild(m)},Cs=()=>{let m=new URL(E),y=document.createElement("style");fetch(m.href).then(F=>F.text()).then(F=>{y.innerHTML=F,setTimeout(()=>{M.appendChild(y)},1)})};n.onMount(()=>(window.addEventListener("message",mi,!1),()=>{window.removeEventListener("message",mi)}));function Ns(m){B[m].amount=n.select_value(this),i(17,B),i(20,Ee),i(6,k)}function xs(m){B[m].value=n.to_number(this.value),i(17,B),i(20,Ee),i(6,k)}function Ws(m){B[m].value=n.to_number(this.value),i(17,B),i(20,Ee),i(6,k)}const Ps=()=>q();function Fs(m){n.binding_callbacks[m?"unshift":"push"](()=>{M=m,i(5,M)})}return e.$$set=m=>{"limitsdata"in m&&i(1,a=m.limitsdata),"showsuccessnotification"in m&&i(2,r=m.showsuccessnotification),"showdeletenotification"in m&&i(3,o=m.showdeletenotification),"playercurrency"in m&&i(4,l=m.playercurrency),"lang"in m&&i(0,u=m.lang),"separatelimits"in m&&i(25,c=m.separatelimits),"clientstyling"in m&&i(26,p=m.clientstyling),"clientstylingurl"in m&&i(27,E=m.clientstylingurl),"translationurl"in m&&i(28,v=m.translationurl)},e.$$.update=()=>{e.$$.dirty[0]&12&&r&&o&&At(),e.$$.dirty[0]&3,e.$$.dirty[0]&67108896&&p&&M&&As(),e.$$.dirty[0]&134217760&&E&&M&&Cs(),e.$$.dirty[0]&268435456&&v&&Y()},[u,a,r,o,l,M,k,D,L,N,K,z,$,I,me,H,ie,B,s,P,Ee,ut,ye,q,J,c,p,E,v,Ns,xs,Ws,Ps,Fs]}class Ys extends n.SvelteComponent{constructor(t){super(),n.init(this,t,qo,Bo,n.safe_not_equal,{limitsdata:1,showsuccessnotification:2,showdeletenotification:3,playercurrency:4,lang:0,separatelimits:25,clientstyling:26,clientstylingurl:27,translationurl:28},jo,[-1,-1,-1])}get limitsdata(){return this.$$.ctx[1]}set limitsdata(t){this.$$set({limitsdata:t}),n.flush()}get showsuccessnotification(){return this.$$.ctx[2]}set showsuccessnotification(t){this.$$set({showsuccessnotification:t}),n.flush()}get showdeletenotification(){return this.$$.ctx[3]}set showdeletenotification(t){this.$$set({showdeletenotification:t}),n.flush()}get playercurrency(){return this.$$.ctx[4]}set playercurrency(t){this.$$set({playercurrency:t}),n.flush()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),n.flush()}get separatelimits(){return this.$$.ctx[25]}set separatelimits(t){this.$$set({separatelimits:t}),n.flush()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(t){this.$$set({clientstyling:t}),n.flush()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),n.flush()}get translationurl(){return this.$$.ctx[28]}set translationurl(t){this.$$set({translationurl:t}),n.flush()}}n.create_custom_element(Ys,{limitsdata:{},showsuccessnotification:{type:"Boolean"},showdeletenotification:{type:"Boolean"},playercurrency:{},lang:{},separatelimits:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);const Zo=Object.freeze(Object.defineProperty({__proto__:null,default:Ys},Symbol.toStringTag,{value:"Module"}));exports.PlayerAccountGamingLimitsGroupEdit_ce=Zo;exports.hooks=f;
@@ -1 +0,0 @@
1
- "use strict";var ne=Object.defineProperty;var H=Object.getOwnPropertySymbols;var le=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable;var F=(i,t,s)=>t in i?ne(i,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[t]=s,W=(i,t)=>{for(var s in t||(t={}))le.call(t,s)&&F(i,s,t[s]);if(H)for(var s of H(t))ae.call(t,s)&&F(i,s,t[s]);return i};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BW6b3iuS.cjs");function U(i,t){e.addMessages(i,t)}function me(i){e.$locale.set(i)}const M={en:{expandLimits:"LIMIT HISTORY",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",max:"Stake limit",wageringSports:"Stake Limit",loading:"Loading limits history...",error:"Something went wrong. Please try again.",limitRemoved:"Limit removed",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},de:{expandLimits:"LIMIT-VERLAUF",daily:"pro Tag",weekly:"pro Woche",monthly:"pro Monat",loss:"Verlustlimit",deposit:"Einzahlungslimit",wagering:"Einsatzlimit",max:"Einsatzlimit",loading:"Lädt ...",error:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",limitRemoved:"Limit entfernt",historyProductTypeSports:"Sport",historyProductTypeAll:"Alle",historyProductTypeCasino:"Slots",historyLimitTypeDeposit:"Einzahlungslimit",historyLimitTypeWagering:"Einsatzlimit",historyLimitTypeLoss:"Verlustlimit"},hr:{expandLimits:"POVIJEST OGRANIČENJA",daily:"dnevno",weekly:"tjedno",monthly:"mjesečno",loss:"Ograničenje gubitka",deposit:"Ograničenje uplate",wagering:"Ograničenje igranja",max:"Ograničenje uloga",loading:"Učitavanje povijesti ograničenja...",error:"Nešto je pošlo po zlu. Molimo vas pokušajte ponovno.",limitRemoved:"Ograničenje uklonjeno",historyProductTypeSports:"Sportovi",historyProductTypeAll:"Sve",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Ograničenje uplate",historyLimitTypeWagering:"Ograničenje igranja",historyLimitTypeLoss:"Ograničenje gubitka",wageringSports:"Ograničenje uloga"},sl:{expandLimits:"LIMIT ZGODOVINA",daily:"na dan",weekly:"na teden",monthly:"na mesec",loss:"Limit izgube",deposit:"Limit vplačila",wagering:"Limit na vložek",max:"Limit vložkov",loading:"Nalaga...",error:"Nekaj ​​je šlo narobe. Prosim poskusite ponovno.",limitRemoved:"Limit odstranjen",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},pl:{expandLimits:"HISTORIA LIMITU",daily:"na dzień",weekly:"na tydzień",monthly:"na miesiąc",loss:"Limit Strat",deposit:"Limit depozytów",wagering:"Limit Stawek",max:"Limit stawek",loading:"Ładowanie...",error:"Coś poszło nie tak. Proszę spróbuj ponownie.",limitRemoved:"Usunięty limit",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"zh-hk":{expandLimits:"极限历史",daily:"每天",weekly:"每个星期",monthly:"每月",loss:"损失限额",deposit:"存款限额",wagering:"投注限额",loading:"加载请稍候...",error:"500 - 服务器错误",limitRemoved:"移除限制",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},fr:{expandLimits:"LIMITER L'HISTORIQUE",daily:"par jour",weekly:"par semaine",monthly:"par mois",loss:"Limite de perte",deposit:"Limite de dépôt",wagering:"Limite de mise",loading:"Chargement, veuillez patienter...",error:"500 - Erreur de serveur",limitRemoved:"Limite supprimée",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},ro:{expandLimits:"ISTORIC LIMITE",daily:"pe zi",weekly:"pe saptamana",monthly:"pe luna",loss:"Limita de pierdere",deposit:"Limita de incarcare",loading:"Se incarca, va rugam asteptati...",error:"500 - Eroare de server",limitRemoved:"Limita eliminata",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Limita depunere",historyLimitTypeWagering:"Limita pariere",historyLimitTypeLoss:"Limita pierdere"},es:{expandLimits:"HISTORIAL DE LÍMITES",daily:"por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdida",deposit:"Límite de depósito",wagering:"Límite de apuestas",max:"Límite de apuesta",loading:"Cargando historial de límites…",error:"Algo salió mal. Por favor inténtalo de nuevo.",limitRemoved:"Límite eliminado",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"},"pt-br":{expandLimits:"HISTÓRICO DE LIMITE",daily:"Por dia",weekly:"por semana",monthly:"por mês",loss:"Limite de perda",deposit:"Limite de depósito",wagering:"Limite de Quantidade de Apostas",max:"Limite de apostas",wageringSports:"Limite de Quantidade de Apostas Esportivas",Loading:"Carregando histórico de limite...",error:"Algo deu errado. Por favor, tente novamente",limitRemoved:"Limite removido",historyProductTypeSports:"Esportes",historyProductTypeAll:"Todos",historyProductTypeCasino:"casino",historyLimitTypeDeposit:"Limite de depósito",historyLimitTypeWagering:"Limite de valor da aposta",historyLimitTypeLoss:"Limite de perda"},"es-mx":{expandLimits:"HISTORIAL DE LÍMITES",daily:"Por día",weekly:"por semana",monthly:"por mes",loss:"Límite de pérdidas",deposit:"Límite de depósito",wagering:"Límite de monto de apuestas",max:"Límite de apuestas",wageringSports:"Límite de monto de apuestas deportivas",Loading:"Cargando historial de límites...",error:"Algo salió mal. Por favor intente de nuevo",limitRemoved:"Límite removido",historyProductTypeSports:"Deportes",historyProductTypeAll:"Todo",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Límite de depósito",historyLimitTypeWagering:"Límite de monto de apuesta",historyLimitTypeLoss:"Límite de pérdida"},tr:{expandLimits:"SINIR GEÇMİŞİ",daily:"günlük",weekly:"haftada",monthly:"her ay",loss:"Kayıp Limiti",deposit:"Para Yatırma Limiti",wagering:"Bahis Limiti",max:"Bahis limiti",wageringSports:"Bahis Limiti",loading:"Limit geçmişi yükleniyor...",error:"Bir şeyler yanlış gitti. Lütfen tekrar deneyin.",limitRemoved:"Sınır kaldırıldı",historyProductTypeSports:"Spor Dalları",historyProductTypeAll:"Tüm",historyProductTypeCasino:"Kumarhane",historyLimitTypeDeposit:"Para Yatırma Limiti",historyLimitTypeWagering:"Bahis Limiti",historyLimitTypeLoss:"Kayıp Limiti"},"en-us":{expandLimits:"LIMIT HISTORY",daily:"per day",weekly:"per week",monthly:"per month",loss:"Loss Limit",deposit:"Deposit Limit",wagering:"Wagering Limit",max:"Stake limit",wageringSports:"Stake Limit",loading:"Loading limits history...",error:"Something went wrong. Please try again.",limitRemoved:"Limit removed",historyProductTypeSports:"Sports",historyProductTypeAll:"All",historyProductTypeCasino:"Casino",historyLimitTypeDeposit:"Deposit Limit",historyLimitTypeWagering:"Wagering Limit",historyLimitTypeLoss:"Loss Limit"}};function de(i){e.append_styles(i,"svelte-19ml84y",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-19ml84y.svelte-19ml84y,.svelte-19ml84y.svelte-19ml84y::before,.svelte-19ml84y.svelte-19ml84y::after{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-19ml84y.svelte-19ml84y{color:var(--emw--color-white, #FFFFFF)}button.svelte-19ml84y.svelte-19ml84y{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-19ml84y.svelte-19ml84y{color:#999;display:flex;justify-content:center;align-items:center;margin-right:-14px;background:transparent}.ExpandButton.svelte-19ml84y svg.svelte-19ml84y{width:28px;height:auto;margin-left:-4px}.extended.svelte-19ml84y.svelte-19ml84y{transform:rotate(180deg)}.HistoryWrapper.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column}.HistoryWrapper.Desktop.svelte-19ml84y.svelte-19ml84y{width:320px;padding:0 12px;margin:12px auto}.hidden.svelte-19ml84y.svelte-19ml84y{display:none}.HistoryRow.svelte-19ml84y.svelte-19ml84y{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-19ml84y.svelte-19ml84y{display:flex;flex-direction:column;gap:4px}.LimitType.svelte-19ml84y.svelte-19ml84y{font-size:1.3rem}.LimitAmountPeriod.svelte-19ml84y.svelte-19ml84y{color:#999}.LimitContainer.svelte-19ml84y.svelte-19ml84y{animation:svelte-19ml84y-animateEntry 0.7s ease-in}@keyframes svelte-19ml84y-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}')}function N(i,t,s){const o=i.slice();return o[38]=t[s],o[39]=t,o[40]=s,o}function pe(i){let t,s,o,n=i[9]("expandLimits")+"",a,m,l,f,h,p,y,c,L,w=e.ensure_array_like(i[7]),v=[];for(let g=0;g<w.length;g+=1)v[g]=B(N(i,w,g));return{c(){t=e.element("div"),s=e.element("div"),o=e.element("button"),a=e.text(n),m=e.space(),l=e.svg_element("svg"),f=e.svg_element("path"),h=e.svg_element("path"),p=e.space(),y=e.element("div");for(let g=0;g<v.length;g+=1)v[g].c();e.attr(f,"d","M10.5 15l7.5 7.5 7.5-7.5z"),e.attr(f,"class","svelte-19ml84y"),e.attr(h,"d","M0 0h36v36h-36z"),e.attr(h,"fill","none"),e.attr(h,"class","svelte-19ml84y"),e.attr(l,"class","ExpandArrow svelte-19ml84y"),e.attr(l,"xmlns","http://www.w3.org/2000/svg"),e.attr(l,"width","36"),e.attr(l,"height","36"),e.attr(l,"viewBox","0 0 36 36"),e.attr(l,"fill","#999"),e.toggle_class(l,"extended",i[8]),e.attr(o,"class","ExpandButton svelte-19ml84y"),e.attr(y,"class","HistoryDisplayArea svelte-19ml84y"),e.toggle_class(y,"hidden",i[5]),e.attr(s,"class","HistoryWrapper "+(i[10]?"Desktop":"")+" svelte-19ml84y"),e.attr(t,"class","player-account-gaming-limits-history-2 svelte-19ml84y")},m(g,_){e.insert(g,t,_),e.append(t,s),e.append(s,o),e.append(o,a),e.append(o,m),e.append(o,l),e.append(l,f),e.append(l,h),e.append(s,p),e.append(s,y);for(let u=0;u<v.length;u+=1)v[u]&&v[u].m(y,null);c||(L=e.listen(o,"click",i[11]),c=!0)},p(g,_){if(_[0]&512&&n!==(n=g[9]("expandLimits")+"")&&e.set_data(a,n),_[0]&256&&e.toggle_class(l,"extended",g[8]),_[0]&650){w=e.ensure_array_like(g[7]);let u;for(u=0;u<w.length;u+=1){const P=N(g,w,u);v[u]?v[u].p(P,_):(v[u]=B(P),v[u].c(),v[u].m(y,null))}for(;u<v.length;u+=1)v[u].d(1);v.length=w.length}_[0]&32&&e.toggle_class(y,"hidden",g[5])},d(g){g&&e.detach(t),e.destroy_each(v,g),c=!1,L()}}}function ye(i){return{c:e.noop,m:e.noop,p:e.noop,d:e.noop}}function ue(i){let t,s=(i[0]?i[9]("error"):"500 Server Error")+"",o;return{c(){t=e.element("p"),o=e.text(s),e.attr(t,"class","svelte-19ml84y")},m(n,a){e.insert(n,t,a),e.append(t,o)},p(n,a){a[0]&513&&s!==(s=(n[0]?n[9]("error"):"500 Server Error")+"")&&e.set_data(o,s)},d(n){n&&e.detach(t)}}}function ce(i){let t,s,o,n=i[38].type+"",a,m,l=i[38].amount+"",f,h,p=i[38].date+"",y;return{c(){t=e.element("div"),s=e.element("span"),o=e.element("span"),a=e.text(n),m=e.element("span"),f=e.text(l),h=e.element("span"),y=e.text(p),e.attr(o,"class","LimitType svelte-19ml84y"),e.attr(m,"class","LimitAmountPeriod svelte-19ml84y"),e.attr(s,"class","GeneralLimitInformation svelte-19ml84y"),e.attr(h,"class","DateLimitInformation svelte-19ml84y"),e.attr(t,"class","HistoryRow svelte-19ml84y")},m(c,L){e.insert(c,t,L),e.append(t,s),e.append(s,o),e.append(o,a),e.append(s,m),e.append(m,f),e.append(t,h),e.append(h,y)},p(c,L){L[0]&128&&n!==(n=c[38].type+"")&&e.set_data(a,n),L[0]&128&&l!==(l=c[38].amount+"")&&e.set_data(f,l),L[0]&128&&p!==(p=c[38].date+"")&&e.set_data(y,p)},d(c){c&&e.detach(t)}}}function ge(i){let t,s,o,n=i[38].type+"",a,m,l=i[9]("limitRemoved")+"",f,h,p=i[38].date+"",y;return{c(){t=e.element("div"),s=e.element("span"),o=e.element("span"),a=e.text(n),m=e.element("span"),f=e.text(l),h=e.element("span"),y=e.text(p),e.attr(o,"class","LimitType svelte-19ml84y"),e.attr(m,"class","LimitAmountPeriod svelte-19ml84y"),e.attr(s,"class","GeneralLimitInformation svelte-19ml84y"),e.attr(h,"class","DateLimitInformation svelte-19ml84y"),e.attr(t,"class","HistoryRow svelte-19ml84y")},m(c,L){e.insert(c,t,L),e.append(t,s),e.append(s,o),e.append(o,a),e.append(s,m),e.append(m,f),e.append(t,h),e.append(h,y)},p(c,L){L[0]&128&&n!==(n=c[38].type+"")&&e.set_data(a,n),L[0]&512&&l!==(l=c[9]("limitRemoved")+"")&&e.set_data(f,l),L[0]&128&&p!==(p=c[38].date+"")&&e.set_data(y,p)},d(c){c&&e.detach(t)}}}function B(i){let t,s,o,n=i[40];function a(p,y){return p[38].removed?ge:ce}let m=a(i),l=m(i);const f=()=>i[21](t,n),h=()=>i[21](null,n);return{c(){t=e.element("div"),l.c(),s=e.space(),e.attr(t,"class",o=e.null_to_empty(i[40]>+i[1]?"LimitContainer":"")+" svelte-19ml84y")},m(p,y){e.insert(p,t,y),l.m(t,null),e.append(t,s),f()},p(p,y){i=p,m===(m=a(i))&&l?l.p(i,y):(l.d(1),l=m(i),l&&(l.c(),l.m(t,s))),y[0]&2&&o!==(o=e.null_to_empty(i[40]>+i[1]?"LimitContainer":"")+" svelte-19ml84y")&&e.attr(t,"class",o),n!==i[40]&&(h(),n=i[40],f())},d(p){p&&e.detach(t),l.d(),h()}}}function he(i){let t;function s(a,m){return a[6]?ue:a[4]?ye:pe}let o=s(i),n=o(i);return{c(){t=e.element("div"),n.c(),e.attr(t,"class","svelte-19ml84y")},m(a,m){e.insert(a,t,m),n.m(t,null),i[22](t)},p(a,m){o===(o=s(a))&&n?n.p(a,m):(n.d(1),n=o(a),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),n.d(),i[22](null)}}}function Le(i,t,s){let o;e.component_subscribe(i,e.$format,r=>s(9,o=r));let n=window.navigator.userAgent,a=!e.isMobile(n),{lang:m=""}=t,{userid:l=""}=t,{session:f=""}=t,{endpoint:h=""}=t,{apiversion:p=""}=t,{numberofentries:y="10"}=t,{customcurrencysymbols:c=""}=t,{limitformat:L=""}=t,{clientstyling:w=""}=t,{clientstylingurl:v=""}=t,{translationurl:g=""}=t,_,u=new Array,P=parseInt(y,10),D=!1,k=!0,C=[],I=[],E=!0,R=!1,A={EUR:"€",RON:"lei",TRY:"₺"};const V=()=>{fetch(g).then(d=>d.json()).then(d=>{Object.keys(d).forEach(S=>{U(S,d[S])})}).catch(d=>{console.log(d)})};Object.keys(M).forEach(r=>{U(r,M[r])});const Y=()=>{let r=p==="gmcore"?`/v2/player/${l}/transactions/limit`:`/v1/player/${l}/limits/monetary/history`,d=new URL(r,h);d.searchParams.append("startDate",`${new Date("2022").toISOString()}`),d.searchParams.append("endDate",`${new Date("2099").toISOString()}`),d.searchParams.append("limit","10000");let S={method:"GET",headers:{"X-SessionID":f}};fetch(d.href,S).then(T=>{if(T.status>=300)throw s(4,k=!1),s(6,D=!0),new Error("There was an error fetching the limits");return T.json()}).then(T=>{T.length&&(C=K(T),s(7,I=C.slice(0,P))),s(4,k=!1)},T=>{console.error("There was an error",T),s(6,D=!0)})},K=r=>{const d=!!M[m];return r.map(T=>{let b={amount:"",currency:"",date:"",period:"",type:"",removed:!1};return b.amount=Q(T),b.currency=d?A[T.limitCurrencyCode]:T.limitCurrencyCode,b.date=new Intl.DateTimeFormat("de",{dateStyle:"medium"}).format(new Date(T.limitDate)),b.period=o(`${T.limitPeriod.toLowerCase()}`),b.type=p==="gmcore"?o(`historyLimitType${T.limitType.split(" ")[0]}`):o(`historyLimitType${T.limitType.split(" ")[0]}`)+" "+o(`historyProductType${T.limitProductType}`),b.removed=T.limitAmount===-1,b})},Q=r=>{let d=L||Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(r.limitAmount);if(!L){let oe=A[r.limitCurrencyCode]||r.limitCurrencyCode;return`${d}${oe}`}typeof r.limitAmount=="string"&&r.limitAmount.includes(",")&&(r.limitAmount=r.limitAmount.replaceAll(",",""));const S=d.match(/\{(\d+)decimals\}/),T=S?parseInt(S[1],10):2,b=S?new RegExp("\\{\\d+decimals\\}","g"):"{decimals}";let x=parseFloat(r.limitAmount).toFixed(T);const[se,O]=L.includes(".")?[",","."]:[".",","];let[j,re]=x.split(".");return j=j.replace(/\B(?=(\d{3})+(?!\d))/g,se),x=`${j}${O}${re}`,d=d.replace("{currency}",A[r.limitCurrencyCode]||r.limitCurrencyCode).replace("{amount}",x.split(O)[0]).replace(b,x.split(O)[1]),d},X=()=>{s(5,E=!E),s(8,R=!R)};let z=new IntersectionObserver(r=>{r.forEach(d=>{d.isIntersecting&&(P+=parseInt(y,10)||10,I.length<C.length&&s(7,I=C.slice(0,P)))})});const q=()=>{z.observe(u[u.length-1])},J=()=>{if(!c)return;let r={};c.split(",").forEach(d=>{let S=d.split(":");r[S[0].trim()]=S[1].trim()}),A=W(W({},A),r)},Z=()=>{let r=document.createElement("style");r.innerHTML=w,_.appendChild(r)},$=()=>{let r=new URL(v),d=document.createElement("style");fetch(r.href).then(S=>S.text()).then(S=>{d.innerHTML=S,_&&(setTimeout(()=>{_.appendChild(d)},1),setTimeout(()=>{},500))})},ee=()=>{me(m)};e.onMount(()=>()=>{z.unobserve(u[u.length-1])});function te(r,d){e.binding_callbacks[r?"unshift":"push"](()=>{u[d]=r,s(3,u)})}function ie(r){e.binding_callbacks[r?"unshift":"push"](()=>{_=r,s(2,_)})}return i.$$set=r=>{"lang"in r&&s(0,m=r.lang),"userid"in r&&s(12,l=r.userid),"session"in r&&s(13,f=r.session),"endpoint"in r&&s(14,h=r.endpoint),"apiversion"in r&&s(15,p=r.apiversion),"numberofentries"in r&&s(1,y=r.numberofentries),"customcurrencysymbols"in r&&s(16,c=r.customcurrencysymbols),"limitformat"in r&&s(17,L=r.limitformat),"clientstyling"in r&&s(18,w=r.clientstyling),"clientstylingurl"in r&&s(19,v=r.clientstylingurl),"translationurl"in r&&s(20,g=r.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&65536&&c&&J(),i.$$.dirty[0]&61440&&h&&l&&f&&p&&Y(),i.$$.dirty[0]&56&&u[0]&&!k&&!E&&q(),i.$$.dirty[0]&1&&m&&ee(),i.$$.dirty[0]&524288&&v&&$(),i.$$.dirty[0]&262148&&w&&_&&Z(),i.$$.dirty[0]&1048580&&g&&_&&V()},[m,y,_,u,k,E,D,I,R,o,a,X,l,f,h,p,c,L,w,v,g,te,ie]}class G extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Le,he,e.safe_not_equal,{lang:0,userid:12,session:13,endpoint:14,apiversion:15,numberofentries:1,customcurrencysymbols:16,limitformat:17,clientstyling:18,clientstylingurl:19,translationurl:20},de,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[12]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[13]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get apiversion(){return this.$$.ctx[15]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get numberofentries(){return this.$$.ctx[1]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[16]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[17]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(G,{lang:{},userid:{},session:{},endpoint:{},apiversion:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=G;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BW6b3iuS.cjs"),B=require("./PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs");function H(i,n){e.addMessages(i,n)}function se(i){e.$locale.set(i)}const V={en:{name:"Info",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:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",daily:"日常的",weekly:"每週",monthly:"月刊",removeLimitText:"您確定要刪除 {limit} 嗎?",removeLimitsText:"您確定要刪除所有 {limit} 嗎?",minutes:"分鐘",noLimit:"沒有限制",expirationDate:"截止日期",notAvailable:"不適用",edit:"編輯",removeLimits:"移除限制",depositLimit:"存款限額",timeLimit:"時限",wageringLimit:"投注限額",lossLimit:"損失限額",timeLimitLower:"時限",depositLimitLower:"存款限額",wageringLimitLower:"投注限額",lossLimitLower:"損失限額",time:"時間",currency:"貨幣"},fr:{name:"Info",amountChanged:"Votre limite a été modifiée ou augmentée: {amount} {currency}. Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",removeLimitText:"êtes-vous sûr de vouloir supprimer la{limit}?",removeLimitsText:"êtes-vous sûr de vouloir supprimer tous les {limit}s?",minutes:"minutes",noLimit:"Aucune limite",expirationDate:"Date d'expiration",notAvailable:"N/A",edit:"Modifier",removeLimits:"Supprimer les limites",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte",timeLimitLower:"Limite de temps",depositLimitLower:"Limite de dépôt",wageringLimitLower:"Limite de mise",lossLimitLower:"Limite de perte",time:"Temps",currency:"Monnaie"},ro:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare:",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",removeLimitText:"Ești sigur că vrei să elimini această limită?",removeLimitsText:"Ești sigur că vrei să elimini toate limitele?",minutes:"minute",noLimit:"Fără Limită",expirationDate:"Dată Expirare",notAvailable:"N/A",edit:"Editează",removeLimits:"Elimină limitele",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limite de pierdere",timeLimitLower:"limită de timp",depositLimitLower:"limită de depunere",wageringLimitLower:"limită de pariere",lossLimitLower:"limită de pierdere",time:"timp",currency:"monedă"},es:{name:"Información",amountChanged:"Tú limite ha sido cambiado o incrementado: {amount} {currency}. Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"Estas seguro de quitar el {limit}?",removeLimitsText:"Estas seguro de retirar todos los {limit}es?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No Disponible",edit:"Editar",removeLimits:"Retirar límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de apuestas",lossLimitLower:"Límite de pérdida",time:"tiempo",currency:"moneda"},pt:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",removeLimitText:"Tem certeza de que deseja remover o {limite}??",removeLimitsText:"Tem certeza de que deseja remover todos os {limite}s??",minutes:"Minutos",noLimit:"Sem limite",expirationDate:"Data de Validade",notAvailable:"Não Disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",lossLimit:"Limite de Perda",timeLimitLower:"Limite de tempo",depositLimitLower:"limite de depósito",wageringLimitLower:"limite de apostas",lossLimitLower:"limite de perda",time:"Tempo",currency:"Moeda"},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {iznos} {valuta}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",removeLimitText:"Jeste li sigurni da želite ukloniti {limit}?",removeLimitsText:"Jeste li sigurni da želite ukloniti sve {limit}e?",minutes:"minute",noLimit:"Nema ograničenja",expirationDate:"Datum isteka",notAvailable:"N/A",edit:"Uredi",removeLimits:"Ukloni ograničenja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka",timeLimitLower:"vremensko ograničenje",depositLimitLower:"ograničenje uplate",wageringLimitLower:"ograničenje igranja",lossLimitLower:"ograničenje gubitka",time:"vrijeme",currency:"valuta"},"pt-br":{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",daily:"Diário",weekly:"Semanalmente",monthly:"Por mês",removeLimitText:"Tem certeza de que deseja remover o limite {limit}?",removeLimitsText:"Tem certeza de que deseja remover todos os limites {limit}s?",minutes:"minutos",noLimit:"Sem limite",expirationDate:"Data de expiração",notAvailable:"Não disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de Quantidade de Apostas",lossLimit:"Limite de perda",timeLimitLower:"Limite de tempo",depositLimitLower:"Limite de depósito",wageringLimitLower:"Limite de Quantidade de Apostas",lossLimitLower:"Limite de perda",time:"tempo",currency:"moeda"},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado:{amount} {currency}. Tendrá que esperar para su fecha de expiración para que su nuevo límite entre en efecto:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"¿Está seguro que quiere remover el límite {limit}?",removeLimitsText:"¿Está seguro que quiere remover todos los límites {limit}s?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No disponible",edit:"Editar",removeLimits:"Remover Límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de monto de apuestas",lossLimit:"Límite de pérdidas",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de monto de apuestas",lossLimitLower:"Límite de pérdidas",time:"tiempo",currency:"moneda"},tr:{name:"Bilgi",amountChanged:"Limitiniz değiştirildi veya artırıldı: {amount} {currency}. Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir:",daily:"Günlük",weekly:"Haftalık",monthly:"Aylık",removeLimitText:"{limit} sınırını kaldırmak istediğinizden emin misiniz?",removeLimitsText:"Tüm {limit}'leri kaldırmak istediğinizden emin misiniz?",minutes:"dakika",noLimit:"Limit yok",expirationDate:"Son kullanma tarihi",notAvailable:"Yok",edit:"Düzenlemek",removeLimits:"Sınırları Kaldır",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti",timeLimitLower:"zaman sınırı",depositLimitLower:"para yatırma limiti",wageringLimitLower:"bahis limiti",lossLimitLower:"kayıp limiti",time:"zaman",currency:"para birimi"},"en-us":{name:"Info",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:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"}};if(typeof window!="undefined"){let i=function(n){return function(...a){try{return n.apply(this,a)}catch(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs")).then(n=>n.PlayerAccountGamingLimitsGroupEdit_ce).then(({default:n})=>{!customElements.get("player-account-gaming-limits-group-edit")&&customElements.define("player-account-gaming-limits-group-edit",n.element)})}function de(i){e.append_styles(i,"svelte-ldgjli",'@charset "UTF-8";.InfoCard{padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 3px 12px var(--emw--color-gray-100, #E6E6E6);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 var(--emw--pam-color-primary, var(--emw--color-primary, #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{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardTableRow>.InfoCardRow:nth-child(2){font-size:12px}.InfoCardTableHeaderBox{display:flex;flex-direction:column}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:var(--emw--color-gray-300, #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:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border:1px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:"❌";font-size:7px;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:var(--emw--color-gray-50, #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:var(--emw--color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));margin-right:10px}.InfoCardControlArea .InfoCardEditButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid var(--emw--color-black, #000000)}.InfoCardControlArea .InfoCardRemoveButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.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 ar(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}')}function G(i,n,a){const o=i.slice();return o[41]=n[a],o[43]=a,o}function O(i,n,a){const o=i.slice();return o[41]=n[a],o[43]=a,o}function ue(i){let n,a,o,t,l=(i[0]?i[15](i[1].charAt(0).toLowerCase()+i[1].substring(1).replace(/\s/g,"")):"")+"",r,s,c,v,y,f,h,T,C,Y,A,R,M,E,I=i[15]("edit")+"",j,w,D,z,b;function k(L,N){return L[1]==="Time Limit"?fe:ce}let u=k(i),p=u(i),d=!i[9]&&!i[0].isModified&&i[14]&&Z(i),_=i[11]&&X(i);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),t=e.element("h5"),r=e.text(l),s=e.space(),c=e.element("div"),v=e.element("span"),v.textContent="i",y=e.space(),f=e.element("player-account-gaming-limits-popup"),T=e.space(),C=e.element("div"),Y=e.element("div"),A=e.element("div"),p.c(),R=e.space(),M=e.element("div"),E=e.element("button"),j=e.text(I),w=e.space(),d&&d.c(),D=e.space(),_&&_.c(),e.attr(v,"class","InfoCardIcon"),e.set_custom_element_data(f,"showpopup",h=i[8][0]),e.set_custom_element_data(f,"lang",i[3]),e.set_custom_element_data(f,"clientstyling",i[4]),e.set_custom_element_data(f,"clientstylingurl",i[5]),e.attr(c,"class","InfoCardIconWrapper "+(i[16]?"InfoCardIconMobileWrapper":"")),e.attr(o,"class","InfoCardHeader "+(i[16]?"InfoCardMobileHeader":"")),e.attr(A,"class","InfoCardTableRow"),e.attr(Y,"class","InfoCardTableWrapper"),e.attr(E,"class","InfoCardEditButton"),e.attr(M,"class","InfoCardControlArea"),e.attr(C,"class","InfoCard"),e.attr(a,"class","InfoCardWrapper"),e.attr(n,"class","InfoCardSection")},m(L,N){e.insert(L,n,N),e.append(n,a),e.append(a,o),e.append(o,t),e.append(t,r),e.append(o,s),e.append(o,c),e.append(c,v),e.append(c,y),e.append(c,f),e.append(a,T),e.append(a,C),e.append(C,Y),e.append(Y,A),p.m(A,null),e.append(C,R),e.append(C,M),e.append(M,E),e.append(E,j),e.append(M,w),d&&d.m(M,null),e.append(n,D),_&&_.m(n,null),z||(b=[e.listen(v,"click",e.prevent_default(i[23])),e.listen(E,"click",i[26])],z=!0)},p(L,N){N[0]&32771&&l!==(l=(L[0]?L[15](L[1].charAt(0).toLowerCase()+L[1].substring(1).replace(/\s/g,"")):"")+"")&&e.set_data(r,l),N[0]&256&&h!==(h=L[8][0])&&e.set_custom_element_data(f,"showpopup",h),N[0]&8&&e.set_custom_element_data(f,"lang",L[3]),N[0]&16&&e.set_custom_element_data(f,"clientstyling",L[4]),N[0]&32&&e.set_custom_element_data(f,"clientstylingurl",L[5]),u===(u=k(L))&&p?p.p(L,N):(p.d(1),p=u(L),p&&(p.c(),p.m(A,null))),N[0]&32768&&I!==(I=L[15]("edit")+"")&&e.set_data(j,I),!L[9]&&!L[0].isModified&&L[14]?d?d.p(L,N):(d=Z(L),d.c(),d.m(M,null)):d&&(d.d(1),d=null),L[11]?_?_.p(L,N):(_=X(L),_.c(),_.m(n,null)):_&&(_.d(1),_=null)},d(L){L&&e.detach(n),p.d(),d&&d.d(),_&&_.d(),z=!1,e.run_all(b)}}}function pe(i){let n;return{c(){n=e.element("div"),e.attr(n,"class","ModalLoader")},m(a,o){e.insert(a,n,o)},p:e.noop,d(a){a&&e.detach(n)}}}function ce(i){let n,a=e.ensure_array_like(i[0]),o=[];for(let t=0;t<a.length;t+=1)o[t]=Q(G(i,a,t));return{c(){for(let t=0;t<o.length;t+=1)o[t].c();n=e.empty()},m(t,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(t,l);e.insert(t,n,l)},p(t,l){if(l[0]&3375423){a=e.ensure_array_like(t[0]);let r;for(r=0;r<a.length;r+=1){const s=G(t,a,r);o[r]?o[r].p(s,l):(o[r]=Q(s),o[r].c(),o[r].m(n.parentNode,n))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(t){t&&e.detach(n),e.destroy_each(o,t)}}}function fe(i){let n,a=e.ensure_array_like(i[0]),o=[];for(let t=0;t<a.length;t+=1)o[t]=K(O(i,a,t));return{c(){for(let t=0;t<o.length;t+=1)o[t].c();n=e.empty()},m(t,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(t,l);e.insert(t,n,l)},p(t,l){if(l[0]&3375419){a=e.ensure_array_like(t[0]);let r;for(r=0;r<a.length;r+=1){const s=O(t,a,r);o[r]?o[r].p(s,l):(o[r]=K(s),o[r].c(),o[r].m(n.parentNode,n))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(t){t&&e.detach(n),e.destroy_each(o,t)}}}function U(i){let n,a=(i[41]?i[41].currency:"")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(t,l){e.insert(t,n,l),e.append(n,o)},p(t,l){l[0]&1&&a!==(a=(t[41]?t[41].currency:"")+"")&&e.set_data(o,a)},d(t){t&&e.detach(n)}}}function _e(i){let n,a=i[15]("notAvailable")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(t,l){e.insert(t,n,l),e.append(n,o)},p(t,l){l[0]&32768&&a!==(a=t[15]("notAvailable")+"")&&e.set_data(o,a)},d(t){t&&e.detach(n)}}}function Le(i){let n,a=(i[41]?B.hooks(i[41].expiryDate).year()>i[17].year()+30?i[17].clone().add(5,"years").format("D/M/YYYY - h:mm A"):B.hooks(i[41].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(t,l){e.insert(t,n,l),e.append(n,o)},p(t,l){l[0]&1&&a!==(a=(t[41]?B.hooks(t[41].expiryDate).year()>t[17].year()+30?t[17].clone().add(5,"years").format("D/M/YYYY - h:mm A"):B.hooks(t[41].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&e.set_data(o,a)},d(t){t&&e.detach(n)}}}function ge(i){let n,a,o,t,l,r,s,c;function v(){return i[25](i[43])}return{c(){n=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),t=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(t,"showpopup",l=i[8][i[43]+1]),e.set_custom_element_data(t,"iteminfoamount",r=i[41].updateAmount),e.set_custom_element_data(t,"playercurrency",i[2]),e.set_custom_element_data(t,"lang",i[3]),e.set_custom_element_data(t,"clientstyling",i[4]),e.set_custom_element_data(t,"clientstylingurl",i[5]),e.attr(n,"class","InfoCardIconWrapper "+(i[16]?"InfoCardIconMobileWrapper":""))},m(y,f){e.insert(y,n,f),e.append(n,a),e.append(n,o),e.append(n,t),s||(c=e.listen(a,"click",e.prevent_default(v)),s=!0)},p(y,f){i=y,f[0]&256&&l!==(l=i[8][i[43]+1])&&e.set_custom_element_data(t,"showpopup",l),f[0]&1&&r!==(r=i[41].updateAmount)&&e.set_custom_element_data(t,"iteminfoamount",r),f[0]&4&&e.set_custom_element_data(t,"playercurrency",i[2]),f[0]&8&&e.set_custom_element_data(t,"lang",i[3]),f[0]&16&&e.set_custom_element_data(t,"clientstyling",i[4]),f[0]&32&&e.set_custom_element_data(t,"clientstylingurl",i[5])},d(y){y&&e.detach(n),s=!1,c()}}}function ye(i){let n,a,o;return{c(){n=e.element("div"),n.innerHTML="<span></span>",e.attr(n,"class","InfoCardRemoveIcon")},m(t,l){e.insert(t,n,l),a||(o=e.listen(n,"click",function(){e.is_function(i[20](i[41],i[1]))&&i[20](i[41],i[1]).apply(this,arguments)}),a=!0)},p(t,l){i=t},d(t){t&&e.detach(n),a=!1,o()}}}function Q(i){let n,a,o,t,l=(i[41]?i[15](i[41].period.charAt(0).toLowerCase()+i[41].period.substring(1)):"")+"",r,s,c,v=(i[41]?i[41].amount==="No limit"?i[15]("noLimit"):i[41].amount:0)+"",y,f,h=i[41].amount!="No limit"&&i[41].amount!=i[15]("noLimit"),T,C,Y,A=i[15]("expirationDate")+"",R,M,E,I,j,w=h&&U(i);function D(d,_){return d[41].expiryDate?Le:_e}let z=D(i),b=z(i);function k(d,_){if(_[0]&32769&&(I=null),I==null&&(I=d[41].amount!==d[15]("noLimit")&&d[41].amount!=="No limit"&&!d[41].isModified),I)return ye;if(d[41].amount!="No limit"&&d[41].isModified)return ge}let u=k(i,[-1,-1]),p=u&&u(i);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),t=e.element("div"),r=e.text(l),s=e.space(),c=e.element("div"),y=e.text(v),f=e.space(),w&&w.c(),T=e.space(),C=e.element("div"),Y=e.element("div"),R=e.text(A),M=e.space(),b.c(),E=e.space(),p&&p.c(),j=e.space(),e.attr(t,"class","InfoCardRowTitle"),e.attr(c,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(Y,"class","InfoCardRowTitle"),e.attr(C,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(n,"class","InfoCardBox InfoCardMultipleItems")},m(d,_){e.insert(d,n,_),e.append(n,a),e.append(a,o),e.append(o,t),e.append(t,r),e.append(o,s),e.append(o,c),e.append(c,y),e.append(c,f),w&&w.m(c,null),e.append(a,T),e.append(a,C),e.append(C,Y),e.append(Y,R),e.append(C,M),b.m(C,null),e.append(n,E),p&&p.m(n,null),e.append(n,j)},p(d,_){_[0]&32769&&l!==(l=(d[41]?d[15](d[41].period.charAt(0).toLowerCase()+d[41].period.substring(1)):"")+"")&&e.set_data(r,l),_[0]&32769&&v!==(v=(d[41]?d[41].amount==="No limit"?d[15]("noLimit"):d[41].amount:0)+"")&&e.set_data(y,v),_[0]&32769&&(h=d[41].amount!="No limit"&&d[41].amount!=d[15]("noLimit")),h?w?w.p(d,_):(w=U(d),w.c(),w.m(c,null)):w&&(w.d(1),w=null),_[0]&32768&&A!==(A=d[15]("expirationDate")+"")&&e.set_data(R,A),z===(z=D(d))&&b?b.p(d,_):(b.d(1),b=z(d),b&&(b.c(),b.m(C,null))),u===(u=k(d,_))&&p?p.p(d,_):(p&&p.d(1),p=u&&u(d),p&&(p.c(),p.m(n,j)))},d(d){d&&e.detach(n),w&&w.d(),b.d(),p&&p.d()}}}function he(i){let n,a=i[15]("noLimit")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(t,l){e.insert(t,n,l),e.append(n,o)},p(t,l){l[0]&32768&&a!==(a=t[15]("noLimit")+"")&&e.set_data(o,a)},d(t){t&&e.detach(n)}}}function we(i){let n=(i[41]?i[41].amount==="No limit"?i[15]("noLimit"):i[41].amount:0)+"",a,o,t=i[41].amount!=="No limit"&&i[41].amount!==i[15]("noLimit"),l,r=t&&J(i);return{c(){a=e.text(n),o=e.space(),r&&r.c(),l=e.empty()},m(s,c){e.insert(s,a,c),e.insert(s,o,c),r&&r.m(s,c),e.insert(s,l,c)},p(s,c){c[0]&32769&&n!==(n=(s[41]?s[41].amount==="No limit"?s[15]("noLimit"):s[41].amount:0)+"")&&e.set_data(a,n),c[0]&32769&&(t=s[41].amount!=="No limit"&&s[41].amount!==s[15]("noLimit")),t?r?r.p(s,c):(r=J(s),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(s){s&&(e.detach(a),e.detach(o),e.detach(l)),r&&r.d(s)}}}function J(i){let n,a=i[15]("minutes")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(t,l){e.insert(t,n,l),e.append(n,o)},p(t,l){l[0]&32768&&a!==(a=t[15]("minutes")+"")&&e.set_data(o,a)},d(t){t&&e.detach(n)}}}function ve(i){let n,a=i[15]("notAvailable")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(t,l){e.insert(t,n,l),e.append(n,o)},p(t,l){l[0]&32768&&a!==(a=t[15]("notAvailable")+"")&&e.set_data(o,a)},d(t){t&&e.detach(n)}}}function be(i){let n,a=(i[41]?B.hooks(i[41].expiryDate).year()>i[17].year()+30?i[17].clone().add(5,"years").format("D/M/YYYY - h:mm A"):B.hooks(i[41].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(t,l){e.insert(t,n,l),e.append(n,o)},p(t,l){l[0]&1&&a!==(a=(t[41]?B.hooks(t[41].expiryDate).year()>t[17].year()+30?t[17].clone().add(5,"years").format("D/M/YYYY - h:mm A"):B.hooks(t[41].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&e.set_data(o,a)},d(t){t&&e.detach(n)}}}function ke(i){let n,a,o,t,l,r,s,c,v;function y(){return i[24](i[43])}return{c(){n=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),t=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(t,"showpopup",l=i[8][i[43]+1]),e.set_custom_element_data(t,"iteminfoamount",r=i[41].updateMinutes),e.set_custom_element_data(t,"playercurrency",s=i[15]("minutes")),e.set_custom_element_data(t,"lang",i[3]),e.set_custom_element_data(t,"clientstyling",i[4]),e.set_custom_element_data(t,"clientstylingurl",i[5]),e.attr(n,"class","InfoCardIconWrapper "+(i[16]?"InfoCardIconMobileWrapper":""))},m(f,h){e.insert(f,n,h),e.append(n,a),e.append(n,o),e.append(n,t),c||(v=e.listen(a,"click",e.prevent_default(y)),c=!0)},p(f,h){i=f,h[0]&256&&l!==(l=i[8][i[43]+1])&&e.set_custom_element_data(t,"showpopup",l),h[0]&1&&r!==(r=i[41].updateMinutes)&&e.set_custom_element_data(t,"iteminfoamount",r),h[0]&32768&&s!==(s=i[15]("minutes"))&&e.set_custom_element_data(t,"playercurrency",s),h[0]&8&&e.set_custom_element_data(t,"lang",i[3]),h[0]&16&&e.set_custom_element_data(t,"clientstyling",i[4]),h[0]&32&&e.set_custom_element_data(t,"clientstylingurl",i[5])},d(f){f&&e.detach(n),c=!1,v()}}}function Ce(i){let n,a,o;return{c(){n=e.element("div"),n.innerHTML="<span></span>",e.attr(n,"class","InfoCardRemoveIcon")},m(t,l){e.insert(t,n,l),a||(o=e.listen(n,"click",function(){e.is_function(i[20](i[41],i[1]))&&i[20](i[41],i[1]).apply(this,arguments)}),a=!0)},p(t,l){i=t},d(t){t&&e.detach(n),a=!1,o()}}}function K(i){let n,a,o,t,l=(i[41]?i[15](i[41].period.charAt(0).toLowerCase()+i[41].period.substring(1)):"")+"",r,s,c,v,y,f,h=i[15]("expirationDate")+"",T,C,Y,A,R;function M(u,p){return u[41].amount!==0?we:he}let E=M(i),I=E(i);function j(u,p){return u[41].expiryDate?be:ve}let w=j(i),D=w(i);function z(u,p){if(p[0]&32769&&(A=null),A==null&&(A=u[41].amount!==u[15]("noLimit")&&u[41].amount!=="No limit"&&!u[41].isModified),A)return Ce;if(u[41].amount!="No limit"&&u[41].isModified)return ke}let b=z(i,[-1,-1]),k=b&&b(i);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),t=e.element("div"),r=e.text(l),s=e.space(),c=e.element("div"),I.c(),v=e.space(),y=e.element("div"),f=e.element("div"),T=e.text(h),C=e.space(),D.c(),Y=e.space(),k&&k.c(),R=e.space(),e.attr(t,"class","InfoCardRowTitle"),e.attr(c,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(f,"class","InfoCardRowTitle"),e.attr(y,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(n,"class","InfoCardBox InfoCardMultipleItems")},m(u,p){e.insert(u,n,p),e.append(n,a),e.append(a,o),e.append(o,t),e.append(t,r),e.append(o,s),e.append(o,c),I.m(c,null),e.append(a,v),e.append(a,y),e.append(y,f),e.append(f,T),e.append(y,C),D.m(y,null),e.append(n,Y),k&&k.m(n,null),e.append(n,R)},p(u,p){p[0]&32769&&l!==(l=(u[41]?u[15](u[41].period.charAt(0).toLowerCase()+u[41].period.substring(1)):"")+"")&&e.set_data(r,l),E===(E=M(u))&&I?I.p(u,p):(I.d(1),I=E(u),I&&(I.c(),I.m(c,null))),p[0]&32768&&h!==(h=u[15]("expirationDate")+"")&&e.set_data(T,h),w===(w=j(u))&&D?D.p(u,p):(D.d(1),D=w(u),D&&(D.c(),D.m(y,null))),b===(b=z(u,p))&&k?k.p(u,p):(k&&k.d(1),k=b&&b(u),k&&(k.c(),k.m(n,R)))},d(u){u&&e.detach(n),I.d(),D.d(),k&&k.d()}}}function Z(i){let n,a=i[15]("removeLimits")+"",o,t,l;return{c(){n=e.element("button"),o=e.text(a),e.attr(n,"class","InfoCardRemoveButton")},m(r,s){e.insert(r,n,s),e.append(n,o),t||(l=e.listen(n,"click",i[27]),t=!0)},p(r,s){s[0]&32768&&a!==(a=r[15]("removeLimits")+"")&&e.set_data(o,a)},d(r){r&&e.detach(n),t=!1,l()}}}function X(i){let n,a,o;return{c(){n=e.element("player-account-modal"),a=e.element("player-account-gaming-limits-confirmation-modal"),e.set_custom_element_data(a,"modaltext",o=i[10]?i[12]:i[13]),e.set_custom_element_data(a,"modalsource","infoCard"),e.set_custom_element_data(a,"lang",i[3]),e.set_custom_element_data(a,"clientstyling",i[4]),e.set_custom_element_data(a,"clientstylingurl",i[5]),e.set_custom_element_data(n,"clientstyling",i[4]),e.set_custom_element_data(n,"clientstylingurl",i[5])},m(t,l){e.insert(t,n,l),e.append(n,a)},p(t,l){l[0]&13312&&o!==(o=t[10]?t[12]:t[13])&&e.set_custom_element_data(a,"modaltext",o),l[0]&8&&e.set_custom_element_data(a,"lang",t[3]),l[0]&16&&e.set_custom_element_data(a,"clientstyling",t[4]),l[0]&32&&e.set_custom_element_data(a,"clientstylingurl",t[5]),l[0]&16&&e.set_custom_element_data(n,"clientstyling",t[4]),l[0]&32&&e.set_custom_element_data(n,"clientstylingurl",t[5])},d(t){t&&e.detach(n)}}}function Ie(i){let n;function a(l,r){return l[7]?pe:ue}let o=a(i),t=o(i);return{c(){n=e.element("div"),t.c()},m(l,r){e.insert(l,n,r),t.m(n,null),i[28](n)},p(l,r){o===(o=a(l))&&t?t.p(l,r):(t.d(1),t=o(l),t&&(t.c(),t.m(n,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(n),t.d(),i[28](null)}}}function De(i,n,a){let o;e.component_subscribe(i,e.$format,m=>a(15,o=m));let{limitsdata:t=[]}=n,{limitname:l=""}=n,{playercurrency:r=""}=n,{lang:s="en"}=n,{clientstyling:c=""}=n,{clientstylingurl:v=""}=n,{translationurl:y=""}=n;const f=()=>{fetch(y).then(g=>g.json()).then(g=>{Object.keys(g).forEach(S=>{H(S,g[S])})}).catch(g=>{console.log(g)})};Object.keys(V).forEach(m=>{H(m,V[m])});let h=!0,T,C=new Array(5).fill(0),Y=["Daily","Weekly","Monthly"],A=!0,R=!0,M=!1,E=window.navigator.userAgent,I=e.getDevice(E)!=="PC",j="",w="",D=!0,z=B.hooks();const b=m=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:m,name:l},window.location.href)},k=m=>{a(11,M=!0),a(10,R=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:l},window.location.href)},u=(m,g)=>{a(11,M=!0),a(10,R=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:g},window.location.href)},p=m=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{a(8,C[m]=!0,C)},50)},d=m=>{let g=[...m];Y.forEach((S,q)=>{g.find(W=>W.period===S)||(g=_(g,q,S));const F=g.find(W=>W.period===S);F&&F.amount!=="No limit"&&a(9,A=!1)}),m.splice(0,m.length,...g),a(7,h=!1)},_=(m,g,S)=>{const q={period:S,amount:"No limit",currency:"",isModified:!1,expiryDate:""},F=[...m];return F.splice(g,0,q),F},L=(m,g)=>m.period==="Weekly"&&g.period==="Daily"||m.period==="Monthly"&&g.period==="Daily"||m.period==="Monthly"&&g.period==="Weekly"?1:m.period==="Daily"&&g.period==="Weekly"||m.period==="Daily"&&g.period==="Monthly"||m.period==="Weekly"&&g.period==="Monthly"?-1:0,N=()=>{let m="";m=l==="Time Limit"?"time limit":l==="Deposit Limit"?"deposit limit":l==="Wagering Limit"?"wagering limit":"loss limit",a(12,j=o("removeLimitsText",{values:{limit:m}})),a(13,w=o("removeLimitText",{values:{limit:m}}))},$=m=>{m.forEach(g=>{g.isModified&&a(14,D=!1)})},ee=()=>{se(s),N(),$(t),d(t),t.sort(L)},P=m=>{if(m.data)switch(m.data.type){case"ClosePlayerAccountGamingLimitsPopup":a(8,C=new Array(5).fill(0));break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),a(11,M=!1),a(10,R=!1);break}},te=()=>{let m=document.createElement("style");m.innerHTML=c,T.appendChild(m)},ie=()=>{let m=new URL(v),g=document.createElement("style");fetch(m.href).then(S=>S.text()).then(S=>{g.innerHTML=S,setTimeout(()=>{T.appendChild(g)},1)})};e.onMount(()=>(window.addEventListener("message",P,!1),()=>{window.removeEventListener("message",P)}));const ne=()=>p(0),ae=m=>p(m+1),oe=m=>p(m+1),le=()=>b(t),re=()=>k(t);function me(m){e.binding_callbacks[m?"unshift":"push"](()=>{T=m,a(6,T)})}return i.$$set=m=>{"limitsdata"in m&&a(0,t=m.limitsdata),"limitname"in m&&a(1,l=m.limitname),"playercurrency"in m&&a(2,r=m.playercurrency),"lang"in m&&a(3,s=m.lang),"clientstyling"in m&&a(4,c=m.clientstyling),"clientstylingurl"in m&&a(5,v=m.clientstylingurl),"translationurl"in m&&a(22,y=m.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&11&&t&&l&&s&&ee(),i.$$.dirty[0]&80&&c&&T&&te(),i.$$.dirty[0]&96&&v&&T&&ie(),i.$$.dirty[0]&4194304&&y&&f()},[t,l,r,s,c,v,T,h,C,A,R,M,j,w,D,o,I,z,b,k,u,p,y,ne,ae,oe,le,re,me]}class x extends e.SvelteComponent{constructor(n){super(),e.init(this,n,De,Ie,e.safe_not_equal,{limitsdata:0,limitname:1,playercurrency:2,lang:3,clientstyling:4,clientstylingurl:5,translationurl:22},de,[-1,-1])}get limitsdata(){return this.$$.ctx[0]}set limitsdata(n){this.$$set({limitsdata:n}),e.flush()}get limitname(){return this.$$.ctx[1]}set limitname(n){this.$$set({limitname:n}),e.flush()}get playercurrency(){return this.$$.ctx[2]}set playercurrency(n){this.$$set({playercurrency:n}),e.flush()}get lang(){return this.$$.ctx[3]}set lang(n){this.$$set({lang:n}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(n){this.$$set({clientstyling:n}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(n){this.$$set({clientstylingurl:n}),e.flush()}get translationurl(){return this.$$.ctx[22]}set translationurl(n){this.$$set({translationurl:n}),e.flush()}}e.create_custom_element(x,{limitsdata:{},limitname:{},playercurrency:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=x;