@everymatrix/player-account-controller 1.50.0 → 1.50.1
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.
- package/components/GeneralLogout-BBoBE1Lx.cjs +8 -0
- package/components/{GeneralLogout-CPJ_kgQc.js → GeneralLogout-DJd6W-jT.js} +323 -317
- package/components/{PlayerAccountBettingHistory-Cy59ufCv.cjs → PlayerAccountBettingHistory-BhFyAw7S.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-DqCRu_Gb.js → PlayerAccountBettingHistory-Dok1ua2N.js} +1 -1
- package/components/{PlayerAccountBiometrics-BZ8i34dM.cjs → PlayerAccountBiometrics-U1ab8cUd.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-_bzqGans.js → PlayerAccountBiometrics-jc45EBJe.js} +1 -1
- package/components/{PlayerAccountClosure-DgFBQW78.js → PlayerAccountClosure-BWlW6NXe.js} +1 -1
- package/components/{PlayerAccountClosure-BbvKd11g.cjs → PlayerAccountClosure-D_4hIhg0.cjs} +1 -1
- package/components/{PlayerAccountController-BxFXPyr1.js → PlayerAccountController-CoXvSbbl.js} +23 -23
- package/components/{PlayerAccountController-DJ6AITI5.cjs → PlayerAccountController-J02GKY2h.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-BOKXx_iz.js → PlayerAccountGamingLimits-D0orq8W7.js} +2 -2
- package/components/{PlayerAccountGamingLimits-CV_NoRFx.cjs → PlayerAccountGamingLimits-ImaSq8Bu.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Dzxus6A7.cjs → PlayerAccountGamingLimitsConfirmationModal-B1H9kGBj.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Cu04ikT5.js → PlayerAccountGamingLimitsConfirmationModal-DOXtkhFY.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-DYzhhapL.js → PlayerAccountGamingLimitsGroupEdit-BgpIOnsM.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-CZNV2Pxd.cjs → PlayerAccountGamingLimitsGroupEdit-mkhXUxp2.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsHistory2-DpBBoeDK.cjs → PlayerAccountGamingLimitsHistory2-BnREqLe2.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-Bvh5seHB.js → PlayerAccountGamingLimitsHistory2-Dg_3TWDc.js} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-BjLZ3MaL.cjs → PlayerAccountGamingLimitsInfoCard-CcdNEm3s.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-pHxvjwrl.js → PlayerAccountGamingLimitsInfoCard-DiVtmzLb.js} +3 -3
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CAHA7P8d.js → PlayerAccountGamingLimitsPage2Gm16-BejFjGCU.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CKFzVtAJ.cjs → PlayerAccountGamingLimitsPage2Gm16-DegZSaNr.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Dz_qQuDe.cjs → PlayerAccountGamingLimitsPopup-C47JGdE1.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BwCi8g0-.js → PlayerAccountGamingLimitsPopup-DWkmHcWc.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-DPJCVbfG.js → PlayerAccountGamingLimitsWrapper2-IJW0DW26.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-BvV0-Dlq.cjs → PlayerAccountGamingLimitsWrapper2-j5Wlpz38.cjs} +1 -1
- package/components/{PlayerAccountMenu-BEWnz4-M.cjs → PlayerAccountMenu-C6fxzyFi.cjs} +1 -1
- package/components/{PlayerAccountMenu-WHbE7mMh.js → PlayerAccountMenu-CmSW4Stb.js} +2 -2
- package/components/{PlayerAccountModal-B28RK7-M.js → PlayerAccountModal-9gulcpFn.js} +1 -1
- package/components/{PlayerAccountModal-DEtLb1RB.cjs → PlayerAccountModal-CUdeZ6ZD.cjs} +1 -1
- package/components/{PlayerAccountNotifications-DEqB-PVw.cjs → PlayerAccountNotifications-B5y5G3E_.cjs} +1 -1
- package/components/{PlayerAccountNotifications-DmjuynrH.js → PlayerAccountNotifications-r_nD_SnF.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-DqDkT8iy.cjs → PlayerAccountSelfExclusion-BrQRXxUR.cjs} +481 -3
- package/components/{PlayerAccountSelfExclusion-CsS-h2Ai.js → PlayerAccountSelfExclusion-_cYII1on.js} +481 -2
- package/components/{PlayerAccountTimeout-CXeEUwpu.cjs → PlayerAccountTimeout-CNtkqjo7.cjs} +1 -1
- package/components/{PlayerAccountTimeout-D38oVKnz.js → PlayerAccountTimeout-Cs_68FK0.js} +1 -1
- package/components/{PlayerActiveBonuses-DpYIsm4r.js → PlayerActiveBonuses-D513ru66.js} +2 -2
- package/components/{PlayerActiveBonuses-DA6p75G4.cjs → PlayerActiveBonuses-DOOKCxQp.cjs} +1 -1
- package/components/{PlayerBonusCard-DCNIGmVp.cjs → PlayerBonusCard-Bt-n3Mxi.cjs} +1 -1
- package/components/{PlayerBonusCard-BP0WYns1.js → PlayerBonusCard-_Oaycov5.js} +2 -2
- package/components/{PlayerBonusHistory-Cw5-GcW4.cjs → PlayerBonusHistory-CAlPJQEf.cjs} +1 -1
- package/components/{PlayerBonusHistory-BFvXTv4X.js → PlayerBonusHistory-CwIKvt3Y.js} +4 -4
- package/components/{PlayerChangePassword-BxwRqAxy.cjs → PlayerChangePassword-C-8QN3hH.cjs} +1 -1
- package/components/{PlayerChangePassword-BM5W2zIw.js → PlayerChangePassword-hFf7xt_1.js} +1 -1
- package/components/{PlayerDeposit-bjlqIdhX.cjs → PlayerDeposit-BLymLH97.cjs} +1 -1
- package/components/{PlayerDeposit-CznlyF3J.js → PlayerDeposit-D9bCHq7N.js} +1 -1
- package/components/{PlayerGamingHistory-CKg80FAa.cjs → PlayerGamingHistory-BVez9eZG.cjs} +1 -1
- package/components/{PlayerGamingHistory-6e4kRRGF.js → PlayerGamingHistory-CkMB0clE.js} +4 -4
- package/components/{PlayerPendingWithdrawals-BxlTm_jb.js → PlayerPendingWithdrawals-BTPeOPBb.js} +1 -1
- package/components/{PlayerPendingWithdrawals-C0HSC7tm.cjs → PlayerPendingWithdrawals-CUpLO6X3.cjs} +1 -1
- package/components/{PlayerProfileInfo-CNKIiMA-.cjs → PlayerProfileInfo-8LQ0QT94.cjs} +1 -1
- package/components/{PlayerProfileInfo-B6HDCWAZ.js → PlayerProfileInfo-D5uooVx1.js} +1 -1
- package/components/{PlayerRealityCheck-Debik71V.js → PlayerRealityCheck-6gXKQK_Z.js} +1 -1
- package/components/{PlayerRealityCheck-CtU2sJN0.cjs → PlayerRealityCheck-B--KgOX7.cjs} +1 -1
- package/components/{PlayerTransactionHistory-Dn_B3c0-.js → PlayerTransactionHistory-DES2KQ6g.js} +1 -1
- package/components/{PlayerTransactionHistory-Dg7CD0Zs.cjs → PlayerTransactionHistory-KkAMcV0S.cjs} +1 -1
- package/components/{PlayerWithdrawal-CIjAyGsf.js → PlayerWithdrawal-6XSetxz1.js} +1 -1
- package/components/{PlayerWithdrawal-CGpOe7ya.cjs → PlayerWithdrawal-Bt2B8luj.cjs} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/index-0437c9c0-06LlHN6E.cjs +1 -0
- package/stencil/{index-065b5928-CPoJDIU-.js → index-0437c9c0-1mLvhyVA.js} +193 -185
- package/stencil/{index-04d3e726-C5uhgmrG.js → index-657e7a14-DpOUEft6.js} +248 -240
- package/stencil/index-657e7a14-dS-WIK3f.cjs +1 -0
- package/stencil/index-e8249896-BNsgFr_R.cjs +1 -0
- package/stencil/{index-b111cb50-CuFaYbey.js → index-e8249896-CIP0iOYr.js} +112 -104
- package/stencil/{player-kyc-verification-Dg3VZ8QG.cjs → player-kyc-verification-B9QbNY0o.cjs} +1 -1
- package/stencil/{player-kyc-verification-BrLC5rYt.js → player-kyc-verification-BwGXWzTR.js} +1 -1
- package/stencil/user-deposit-withdrawal-Btrso_5e.js +597 -0
- package/stencil/user-deposit-withdrawal-Cxv_U-OE.cjs +59 -0
- package/stencil/user-transaction-history-AoseShHM.cjs +1 -0
- package/stencil/{user-transaction-history-W4vbS2--.js → user-transaction-history-DcAGbFDl.js} +1 -1
- package/components/GeneralLogout-CnBIvtF1.cjs +0 -8
- package/stencil/index-04d3e726-CRpZOD6z.cjs +0 -1
- package/stencil/index-065b5928-BRUI7eV0.cjs +0 -1
- package/stencil/index-b111cb50-b1-cqkbU.cjs +0 -1
- package/stencil/user-deposit-withdrawal-CpNKQFA-.cjs +0 -59
- package/stencil/user-deposit-withdrawal-T1uVOjwf.js +0 -242
- package/stencil/user-transaction-history-B5a4uXlv.cjs +0 -1
package/components/{PlayerAccountGamingLimits-CV_NoRFx.cjs → PlayerAccountGamingLimits-ImaSq8Bu.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-CnBIvtF1.cjs");function C(i,t){e.addMessages(i,t)}function W(i){e.$locale.set(i)}const D={en:{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"},"zh-hk":{returnToMenu:"返回菜單",gamingLimitsText:"遊戲限制",depositLimit:"存款限額",timeLimit:"時限t",wageringLimit:"投注限額",lossLimit:"損失限額"},fr:{returnToMenu:"Retour au menu",gamingLimitsText:"Limites de jeu",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte"},ro:{returnToMenu:"Înapoi la meniu",gamingLimitsText:"Limite de joc",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limită de pierdere"},es:{returnToMenu:"Regresar al menu",gamingLimitsText:"Límites de juego",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida"},pt:{returnToMenu:"Voltar ao Menu",gamingLimitsText:"Limites de jogos",depositLimit:"Limite de Depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de apostas",lossLimit:"Limite de Perda"},hr:{returnToMenu:"Povratak na izbornik",gamingLimitsText:"Ograničenja igranja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka"},"pt-br":{returnToMenu:"Voltar ao cardápio",gamingLimitsText:"Limites do jogo",depositLimit:"Limites de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de aposta",lossLimit:"Limite de perda"},"es-mx":{returnToMenu:"Regresar al menú",gamingLimitsText:"Límites de juego",depositLimit:"Límites de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuesta",lossLimit:"Límite de pérdidas"},tr:{returnToMenu:"Menüye dön",gamingLimitsText:"Oyun sınırları",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti"}};if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}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=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsInfoCard-BjLZ3MaL.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-info-card")&&customElements.define("player-account-gaming-limits-info-card",t.element)})}function z(i){e.append_styles(i,"svelte-4tnj1c",'.PlayerAccountGamingLimitsWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));padding:50px;max-width:760px}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader h3{font-size:24px;font-weight:400;text-transform:capitalize}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader .PlayerAccountGamingLimitsMobileTitle{font-size:16px;font-weight:400}.PlayerGamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.PlayerGamingLimitsTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerGamingLimitsTitleNone{display:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:var(--emw--color-white, #FFFFFF);max-width:unset}.PlayerAccountTabletGamingLimitsWrapper{padding:40px 25% 40px 25%}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}.PlayerAccountSuccessfulRemoveContainer{background:var(--emw--color-primary-50, #FBECF4);border:1px solid var(--emw--color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;padding:10px;margin-bottom:20px}.PlayerAccountSuccessfulRemoveContainer p{margin:0}.ModalLoader{position:absolute;left:0;right:0;top:50%;width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function H(i){let t;return{c(){t=e.element("player-account-gaming-limits-group-edit"),e.set_custom_element_data(t,"limitsdata",i[13]),e.set_custom_element_data(t,"limitname",i[14]),e.set_custom_element_data(t,"showsuccessnotification",i[7]),e.set_custom_element_data(t,"showdeletenotification",i[6]),e.set_custom_element_data(t,"playercurrency",i[5]),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"separatelimits",i[8]),e.set_custom_element_data(t,"clientstyling",i[9]),e.set_custom_element_data(t,"clientstylingurl",i[10])},m(a,s){e.insert(a,t,s)},p(a,s){s&8192&&e.set_custom_element_data(t,"limitsdata",a[13]),s&16384&&e.set_custom_element_data(t,"limitname",a[14]),s&128&&e.set_custom_element_data(t,"showsuccessnotification",a[7]),s&64&&e.set_custom_element_data(t,"showdeletenotification",a[6]),s&32&&e.set_custom_element_data(t,"playercurrency",a[5]),s&1&&e.set_custom_element_data(t,"lang",a[0]),s&256&&e.set_custom_element_data(t,"separatelimits",a[8]),s&512&&e.set_custom_element_data(t,"clientstyling",a[9]),s&1024&&e.set_custom_element_data(t,"clientstylingurl",a[10])},d(a){a&&e.detach(t)}}}function V(i){let t,a,s,o=i[16]("gamingLimitsText")+"",u,f,_,c,w,r,L,d,y,g,p=i[17]&&U(i);return{c(){t=e.element("div"),p&&p.c(),a=e.space(),s=e.element("h2"),u=e.text(o),f=e.space(),_=e.element("div"),c=e.element("player-account-gaming-limits-info-card"),w=e.space(),r=e.element("player-account-gaming-limits-info-card"),L=e.space(),d=e.element("player-account-gaming-limits-info-card"),y=e.space(),g=e.element("player-account-gaming-limits-info-card"),e.attr(s,"class","PlayerGamingLimitsTitle "+(i[17]?"PlayerGamingLimitsTitleNone":"")),e.set_custom_element_data(c,"limitsdata",i[1]),e.set_custom_element_data(c,"limitname",I),e.set_custom_element_data(c,"playercurrency",i[5]),e.set_custom_element_data(c,"lang",i[0]),e.set_custom_element_data(c,"clientstyling",i[9]),e.set_custom_element_data(c,"clientstylingurl",i[10]),e.set_custom_element_data(r,"limitsdata",i[2]),e.set_custom_element_data(r,"limitname",K),e.set_custom_element_data(r,"playercurrency",i[5]),e.set_custom_element_data(r,"lang",i[0]),e.set_custom_element_data(r,"clientstyling",i[9]),e.set_custom_element_data(r,"clientstylingurl",i[10]),e.set_custom_element_data(d,"limitsdata",i[3]),e.set_custom_element_data(d,"limitname",Q),e.set_custom_element_data(d,"playercurrency",i[5]),e.set_custom_element_data(d,"lang",i[0]),e.set_custom_element_data(d,"clientstyling",i[9]),e.set_custom_element_data(d,"clientstylingurl",i[10]),e.set_custom_element_data(g,"limitsdata",i[4]),e.set_custom_element_data(g,"limitname",Y),e.set_custom_element_data(g,"playercurrency",i[5]),e.set_custom_element_data(g,"lang",i[0]),e.set_custom_element_data(g,"clientstyling",i[9]),e.set_custom_element_data(g,"clientstylingurl",i[10]),e.attr(_,"class","PlayerAccountGamingLimitsContainer"),e.attr(t,"class","PlayerAccountGamingLimitsWrapper "+(i[17]?"PlayerAccountMobileGamingLimitsWrapper":"")+" "+(i[18].matches&&i[17]?"PlayerAccountTabletGamingLimitsWrapper":""))},m(l,m){e.insert(l,t,m),p&&p.m(t,null),e.append(t,a),e.append(t,s),e.append(s,u),e.append(t,f),e.append(t,_),e.append(_,c),e.append(_,w),e.append(_,r),e.append(_,L),e.append(_,d),e.append(_,y),e.append(_,g)},p(l,m){l[17]&&p.p(l,m),m&65536&&o!==(o=l[16]("gamingLimitsText")+"")&&e.set_data(u,o),m&2&&e.set_custom_element_data(c,"limitsdata",l[1]),m&32&&e.set_custom_element_data(c,"playercurrency",l[5]),m&1&&e.set_custom_element_data(c,"lang",l[0]),m&512&&e.set_custom_element_data(c,"clientstyling",l[9]),m&1024&&e.set_custom_element_data(c,"clientstylingurl",l[10]),m&4&&e.set_custom_element_data(r,"limitsdata",l[2]),m&32&&e.set_custom_element_data(r,"playercurrency",l[5]),m&1&&e.set_custom_element_data(r,"lang",l[0]),m&512&&e.set_custom_element_data(r,"clientstyling",l[9]),m&1024&&e.set_custom_element_data(r,"clientstylingurl",l[10]),m&8&&e.set_custom_element_data(d,"limitsdata",l[3]),m&32&&e.set_custom_element_data(d,"playercurrency",l[5]),m&1&&e.set_custom_element_data(d,"lang",l[0]),m&512&&e.set_custom_element_data(d,"clientstyling",l[9]),m&1024&&e.set_custom_element_data(d,"clientstylingurl",l[10]),m&16&&e.set_custom_element_data(g,"limitsdata",l[4]),m&32&&e.set_custom_element_data(g,"playercurrency",l[5]),m&1&&e.set_custom_element_data(g,"lang",l[0]),m&512&&e.set_custom_element_data(g,"clientstyling",l[9]),m&1024&&e.set_custom_element_data(g,"clientstylingurl",l[10])},d(l){l&&e.detach(t),p&&p.d()}}}function q(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","ModalLoader")},m(a,s){e.insert(a,t,s)},p:e.noop,d(a){a&&e.detach(t)}}}function U(i){let t,a,s,o,u,f,_,c,w,r,L=i[16]("gamingLimitsText")+"",d,y,g;return{c(){t=e.element("div"),a=e.svg_element("svg"),s=e.svg_element("defs"),o=e.svg_element("style"),u=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"),f=e.svg_element("g"),_=e.svg_element("g"),c=e.svg_element("path"),w=e.space(),r=e.element("h2"),d=e.text(L),e.attr(c,"class","aaa"),e.attr(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(c,"transform","translate(15 15) rotate(180)"),e.attr(_,"transform","translate(20 158)"),e.attr(f,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(r,"class","PlayerGamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(p,l){e.insert(p,t,l),e.append(t,a),e.append(a,s),e.append(s,o),e.append(o,u),e.append(a,f),e.append(f,_),e.append(_,c),e.append(t,w),e.append(t,r),e.append(r,d),y||(g=e.listen(t,"click",i[21]),y=!0)},p(p,l){l&65536&&L!==(L=p[16]("gamingLimitsText")+"")&&e.set_data(d,L)},d(p){p&&e.detach(t),y=!1,g()}}}function Z(i){let t;function a(u,f){return u[12]?q:u[15]?V:H}let s=a(i),o=s(i);return{c(){t=e.element("div"),o.c()},m(u,f){e.insert(u,t,f),o.m(t,null),i[22](t)},p(u,[f]){s===(s=a(u))&&o?o.p(u,f):(o.d(1),o=s(u),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),o.d(),i[22](null)}}}let I="Deposit Limit",K="Wagering Limit",Q="Loss Limit",Y="Time Limit";function J(i,t,a){let s;e.component_subscribe(i,e.$format,n=>a(16,s=n));let{depositlimit:o}=t,{wageringlimit:u}=t,{losslimit:f}=t,{timelimit:_}=t,{showdeletenotification:c=!1}=t,{showsuccessnotification:w=!1}=t,{lang:r="en"}=t,{playercurrency:L=""}=t,{separatelimits:d="true"}=t,{clientstyling:y=""}=t,{clientstylingurl:g=""}=t,{translationurl:p=""}=t;const l=()=>{fetch(p).then(h=>h.json()).then(h=>{Object.keys(h).forEach(T=>{C(T,h[T])})}).catch(h=>{console.log(h)})};Object.keys(D).forEach(n=>{C(n,D[n])});let m,v=!0,E=window.navigator.userAgent,P=e.getDevice(E)!=="PC",k,b="",M=!0;const R=window.matchMedia("(min-width: 768px)"),A=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:P},window.location.href)},S=()=>{W(r)},G=n=>{if(n.data)switch(n.data.type){case"PlayerLimitsData":a(0,r=n.data.limits.lang),a(1,o=n.data.limits.depositlimit),a(2,u=n.data.limits.wageringlimit),a(3,f=n.data.limits.losslimit),a(4,_=n.data.limits.timelimit),a(12,v=!1);break;case"EditPlayerAccountGamingLimits":a(13,k=n.data.edit),a(14,b=n.data.name),a(15,M=!1),window.postMessage({type:"EditPlayerLimit",name:b},window.location.href),window.postMessage({type:"ScrollToTop"},window.location.href);break;case"PlayerAccountBackToLimitsView":a(15,M=!0);break;case"ProfileDetailsData":let h=n.data.profileDetails;a(5,L=h.currency);break}},B=()=>{let n=document.createElement("style");n.innerHTML=y,m.appendChild(n)},F=()=>{let n=new URL(g),h=document.createElement("style");fetch(n.href).then(T=>T.text()).then(T=>{h.innerHTML=T,setTimeout(()=>{m.appendChild(h)},1)})};e.onMount(()=>(window.addEventListener("message",G,!1),()=>{window.removeEventListener("message",G)}));const N=()=>A();function O(n){e.binding_callbacks[n?"unshift":"push"](()=>{m=n,a(11,m)})}return i.$$set=n=>{"depositlimit"in n&&a(1,o=n.depositlimit),"wageringlimit"in n&&a(2,u=n.wageringlimit),"losslimit"in n&&a(3,f=n.losslimit),"timelimit"in n&&a(4,_=n.timelimit),"showdeletenotification"in n&&a(6,c=n.showdeletenotification),"showsuccessnotification"in n&&a(7,w=n.showsuccessnotification),"lang"in n&&a(0,r=n.lang),"playercurrency"in n&&a(5,L=n.playercurrency),"separatelimits"in n&&a(8,d=n.separatelimits),"clientstyling"in n&&a(9,y=n.clientstyling),"clientstylingurl"in n&&a(10,g=n.clientstylingurl),"translationurl"in n&&a(20,p=n.translationurl)},i.$$.update=()=>{i.$$.dirty&1&&r&&S(),i.$$.dirty&2560&&y&&m&&B(),i.$$.dirty&3072&&g&&m&&F(),i.$$.dirty&1048576&&p&&l()},[r,o,u,f,_,L,c,w,d,y,g,m,v,k,b,M,s,P,R,A,p,N,O]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,J,Z,e.safe_not_equal,{depositlimit:1,wageringlimit:2,losslimit:3,timelimit:4,showdeletenotification:6,showsuccessnotification:7,lang:0,playercurrency:5,separatelimits:8,clientstyling:9,clientstylingurl:10,translationurl:20},z)}get depositlimit(){return this.$$.ctx[1]}set depositlimit(t){this.$$set({depositlimit:t}),e.flush()}get wageringlimit(){return this.$$.ctx[2]}set wageringlimit(t){this.$$set({wageringlimit:t}),e.flush()}get losslimit(){return this.$$.ctx[3]}set losslimit(t){this.$$set({losslimit:t}),e.flush()}get timelimit(){return this.$$.ctx[4]}set timelimit(t){this.$$set({timelimit:t}),e.flush()}get showdeletenotification(){return this.$$.ctx[6]}set showdeletenotification(t){this.$$set({showdeletenotification:t}),e.flush()}get showsuccessnotification(){return this.$$.ctx[7]}set showsuccessnotification(t){this.$$set({showsuccessnotification:t}),e.flush()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get playercurrency(){return this.$$.ctx[5]}set playercurrency(t){this.$$set({playercurrency:t}),e.flush()}get separatelimits(){return this.$$.ctx[8]}set separatelimits(t){this.$$set({separatelimits:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}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(j,{depositlimit:{},wageringlimit:{},losslimit:{},timelimit:{},showdeletenotification:{type:"Boolean"},showsuccessnotification:{type:"Boolean"},lang:{},playercurrency:{},separatelimits:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=j;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BBoBE1Lx.cjs");function C(i,t){e.addMessages(i,t)}function W(i){e.$locale.set(i)}const D={en:{returnToMenu:"Return to menu",gamingLimitsText:"Gaming limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit"},"zh-hk":{returnToMenu:"返回菜單",gamingLimitsText:"遊戲限制",depositLimit:"存款限額",timeLimit:"時限t",wageringLimit:"投注限額",lossLimit:"損失限額"},fr:{returnToMenu:"Retour au menu",gamingLimitsText:"Limites de jeu",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte"},ro:{returnToMenu:"Înapoi la meniu",gamingLimitsText:"Limite de joc",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limită de pierdere"},es:{returnToMenu:"Regresar al menu",gamingLimitsText:"Límites de juego",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida"},pt:{returnToMenu:"Voltar ao Menu",gamingLimitsText:"Limites de jogos",depositLimit:"Limite de Depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de apostas",lossLimit:"Limite de Perda"},hr:{returnToMenu:"Povratak na izbornik",gamingLimitsText:"Ograničenja igranja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka"},"pt-br":{returnToMenu:"Voltar ao cardápio",gamingLimitsText:"Limites do jogo",depositLimit:"Limites de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de aposta",lossLimit:"Limite de perda"},"es-mx":{returnToMenu:"Regresar al menú",gamingLimitsText:"Límites de juego",depositLimit:"Límites de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuesta",lossLimit:"Límite de pérdidas"},tr:{returnToMenu:"Menüye dön",gamingLimitsText:"Oyun sınırları",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti"}};if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}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=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsInfoCard-CcdNEm3s.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-info-card")&&customElements.define("player-account-gaming-limits-info-card",t.element)})}function z(i){e.append_styles(i,"svelte-4tnj1c",'.PlayerAccountGamingLimitsWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));padding:50px;max-width:760px}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader h3{font-size:24px;font-weight:400;text-transform:capitalize}.PlayerAccountGamingLimitsWrapper .PlayerAccountGamingLimitsHeader .PlayerAccountGamingLimitsMobileTitle{font-size:16px;font-weight:400}.PlayerGamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.PlayerGamingLimitsTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerGamingLimitsTitleNone{display:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileGamingLimitsWrapper{padding:20px 15px;background:var(--emw--color-white, #FFFFFF);max-width:unset}.PlayerAccountTabletGamingLimitsWrapper{padding:40px 25% 40px 25%}.PlayerAccountGamingLimitsContainer{width:100%;display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));row-gap:30px;column-gap:30px}.PlayerAccountSuccessfulRemoveContainer{background:var(--emw--color-primary-50, #FBECF4);border:1px solid var(--emw--color-primary-100, #F1BED9);font-size:16px;font-weight:300;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;padding:10px;margin-bottom:20px}.PlayerAccountSuccessfulRemoveContainer p{margin:0}.ModalLoader{position:absolute;left:0;right:0;top:50%;width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function H(i){let t;return{c(){t=e.element("player-account-gaming-limits-group-edit"),e.set_custom_element_data(t,"limitsdata",i[13]),e.set_custom_element_data(t,"limitname",i[14]),e.set_custom_element_data(t,"showsuccessnotification",i[7]),e.set_custom_element_data(t,"showdeletenotification",i[6]),e.set_custom_element_data(t,"playercurrency",i[5]),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"separatelimits",i[8]),e.set_custom_element_data(t,"clientstyling",i[9]),e.set_custom_element_data(t,"clientstylingurl",i[10])},m(a,s){e.insert(a,t,s)},p(a,s){s&8192&&e.set_custom_element_data(t,"limitsdata",a[13]),s&16384&&e.set_custom_element_data(t,"limitname",a[14]),s&128&&e.set_custom_element_data(t,"showsuccessnotification",a[7]),s&64&&e.set_custom_element_data(t,"showdeletenotification",a[6]),s&32&&e.set_custom_element_data(t,"playercurrency",a[5]),s&1&&e.set_custom_element_data(t,"lang",a[0]),s&256&&e.set_custom_element_data(t,"separatelimits",a[8]),s&512&&e.set_custom_element_data(t,"clientstyling",a[9]),s&1024&&e.set_custom_element_data(t,"clientstylingurl",a[10])},d(a){a&&e.detach(t)}}}function V(i){let t,a,s,o=i[16]("gamingLimitsText")+"",u,f,_,c,w,r,L,d,y,g,p=i[17]&&U(i);return{c(){t=e.element("div"),p&&p.c(),a=e.space(),s=e.element("h2"),u=e.text(o),f=e.space(),_=e.element("div"),c=e.element("player-account-gaming-limits-info-card"),w=e.space(),r=e.element("player-account-gaming-limits-info-card"),L=e.space(),d=e.element("player-account-gaming-limits-info-card"),y=e.space(),g=e.element("player-account-gaming-limits-info-card"),e.attr(s,"class","PlayerGamingLimitsTitle "+(i[17]?"PlayerGamingLimitsTitleNone":"")),e.set_custom_element_data(c,"limitsdata",i[1]),e.set_custom_element_data(c,"limitname",I),e.set_custom_element_data(c,"playercurrency",i[5]),e.set_custom_element_data(c,"lang",i[0]),e.set_custom_element_data(c,"clientstyling",i[9]),e.set_custom_element_data(c,"clientstylingurl",i[10]),e.set_custom_element_data(r,"limitsdata",i[2]),e.set_custom_element_data(r,"limitname",K),e.set_custom_element_data(r,"playercurrency",i[5]),e.set_custom_element_data(r,"lang",i[0]),e.set_custom_element_data(r,"clientstyling",i[9]),e.set_custom_element_data(r,"clientstylingurl",i[10]),e.set_custom_element_data(d,"limitsdata",i[3]),e.set_custom_element_data(d,"limitname",Q),e.set_custom_element_data(d,"playercurrency",i[5]),e.set_custom_element_data(d,"lang",i[0]),e.set_custom_element_data(d,"clientstyling",i[9]),e.set_custom_element_data(d,"clientstylingurl",i[10]),e.set_custom_element_data(g,"limitsdata",i[4]),e.set_custom_element_data(g,"limitname",Y),e.set_custom_element_data(g,"playercurrency",i[5]),e.set_custom_element_data(g,"lang",i[0]),e.set_custom_element_data(g,"clientstyling",i[9]),e.set_custom_element_data(g,"clientstylingurl",i[10]),e.attr(_,"class","PlayerAccountGamingLimitsContainer"),e.attr(t,"class","PlayerAccountGamingLimitsWrapper "+(i[17]?"PlayerAccountMobileGamingLimitsWrapper":"")+" "+(i[18].matches&&i[17]?"PlayerAccountTabletGamingLimitsWrapper":""))},m(l,m){e.insert(l,t,m),p&&p.m(t,null),e.append(t,a),e.append(t,s),e.append(s,u),e.append(t,f),e.append(t,_),e.append(_,c),e.append(_,w),e.append(_,r),e.append(_,L),e.append(_,d),e.append(_,y),e.append(_,g)},p(l,m){l[17]&&p.p(l,m),m&65536&&o!==(o=l[16]("gamingLimitsText")+"")&&e.set_data(u,o),m&2&&e.set_custom_element_data(c,"limitsdata",l[1]),m&32&&e.set_custom_element_data(c,"playercurrency",l[5]),m&1&&e.set_custom_element_data(c,"lang",l[0]),m&512&&e.set_custom_element_data(c,"clientstyling",l[9]),m&1024&&e.set_custom_element_data(c,"clientstylingurl",l[10]),m&4&&e.set_custom_element_data(r,"limitsdata",l[2]),m&32&&e.set_custom_element_data(r,"playercurrency",l[5]),m&1&&e.set_custom_element_data(r,"lang",l[0]),m&512&&e.set_custom_element_data(r,"clientstyling",l[9]),m&1024&&e.set_custom_element_data(r,"clientstylingurl",l[10]),m&8&&e.set_custom_element_data(d,"limitsdata",l[3]),m&32&&e.set_custom_element_data(d,"playercurrency",l[5]),m&1&&e.set_custom_element_data(d,"lang",l[0]),m&512&&e.set_custom_element_data(d,"clientstyling",l[9]),m&1024&&e.set_custom_element_data(d,"clientstylingurl",l[10]),m&16&&e.set_custom_element_data(g,"limitsdata",l[4]),m&32&&e.set_custom_element_data(g,"playercurrency",l[5]),m&1&&e.set_custom_element_data(g,"lang",l[0]),m&512&&e.set_custom_element_data(g,"clientstyling",l[9]),m&1024&&e.set_custom_element_data(g,"clientstylingurl",l[10])},d(l){l&&e.detach(t),p&&p.d()}}}function q(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","ModalLoader")},m(a,s){e.insert(a,t,s)},p:e.noop,d(a){a&&e.detach(t)}}}function U(i){let t,a,s,o,u,f,_,c,w,r,L=i[16]("gamingLimitsText")+"",d,y,g;return{c(){t=e.element("div"),a=e.svg_element("svg"),s=e.svg_element("defs"),o=e.svg_element("style"),u=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"),f=e.svg_element("g"),_=e.svg_element("g"),c=e.svg_element("path"),w=e.space(),r=e.element("h2"),d=e.text(L),e.attr(c,"class","aaa"),e.attr(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(c,"transform","translate(15 15) rotate(180)"),e.attr(_,"transform","translate(20 158)"),e.attr(f,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(r,"class","PlayerGamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(p,l){e.insert(p,t,l),e.append(t,a),e.append(a,s),e.append(s,o),e.append(o,u),e.append(a,f),e.append(f,_),e.append(_,c),e.append(t,w),e.append(t,r),e.append(r,d),y||(g=e.listen(t,"click",i[21]),y=!0)},p(p,l){l&65536&&L!==(L=p[16]("gamingLimitsText")+"")&&e.set_data(d,L)},d(p){p&&e.detach(t),y=!1,g()}}}function Z(i){let t;function a(u,f){return u[12]?q:u[15]?V:H}let s=a(i),o=s(i);return{c(){t=e.element("div"),o.c()},m(u,f){e.insert(u,t,f),o.m(t,null),i[22](t)},p(u,[f]){s===(s=a(u))&&o?o.p(u,f):(o.d(1),o=s(u),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(t),o.d(),i[22](null)}}}let I="Deposit Limit",K="Wagering Limit",Q="Loss Limit",Y="Time Limit";function J(i,t,a){let s;e.component_subscribe(i,e.$format,n=>a(16,s=n));let{depositlimit:o}=t,{wageringlimit:u}=t,{losslimit:f}=t,{timelimit:_}=t,{showdeletenotification:c=!1}=t,{showsuccessnotification:w=!1}=t,{lang:r="en"}=t,{playercurrency:L=""}=t,{separatelimits:d="true"}=t,{clientstyling:y=""}=t,{clientstylingurl:g=""}=t,{translationurl:p=""}=t;const l=()=>{fetch(p).then(h=>h.json()).then(h=>{Object.keys(h).forEach(T=>{C(T,h[T])})}).catch(h=>{console.log(h)})};Object.keys(D).forEach(n=>{C(n,D[n])});let m,v=!0,E=window.navigator.userAgent,P=e.getDevice(E)!=="PC",k,b="",M=!0;const R=window.matchMedia("(min-width: 768px)"),A=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:P},window.location.href)},S=()=>{W(r)},G=n=>{if(n.data)switch(n.data.type){case"PlayerLimitsData":a(0,r=n.data.limits.lang),a(1,o=n.data.limits.depositlimit),a(2,u=n.data.limits.wageringlimit),a(3,f=n.data.limits.losslimit),a(4,_=n.data.limits.timelimit),a(12,v=!1);break;case"EditPlayerAccountGamingLimits":a(13,k=n.data.edit),a(14,b=n.data.name),a(15,M=!1),window.postMessage({type:"EditPlayerLimit",name:b},window.location.href),window.postMessage({type:"ScrollToTop"},window.location.href);break;case"PlayerAccountBackToLimitsView":a(15,M=!0);break;case"ProfileDetailsData":let h=n.data.profileDetails;a(5,L=h.currency);break}},B=()=>{let n=document.createElement("style");n.innerHTML=y,m.appendChild(n)},F=()=>{let n=new URL(g),h=document.createElement("style");fetch(n.href).then(T=>T.text()).then(T=>{h.innerHTML=T,setTimeout(()=>{m.appendChild(h)},1)})};e.onMount(()=>(window.addEventListener("message",G,!1),()=>{window.removeEventListener("message",G)}));const N=()=>A();function O(n){e.binding_callbacks[n?"unshift":"push"](()=>{m=n,a(11,m)})}return i.$$set=n=>{"depositlimit"in n&&a(1,o=n.depositlimit),"wageringlimit"in n&&a(2,u=n.wageringlimit),"losslimit"in n&&a(3,f=n.losslimit),"timelimit"in n&&a(4,_=n.timelimit),"showdeletenotification"in n&&a(6,c=n.showdeletenotification),"showsuccessnotification"in n&&a(7,w=n.showsuccessnotification),"lang"in n&&a(0,r=n.lang),"playercurrency"in n&&a(5,L=n.playercurrency),"separatelimits"in n&&a(8,d=n.separatelimits),"clientstyling"in n&&a(9,y=n.clientstyling),"clientstylingurl"in n&&a(10,g=n.clientstylingurl),"translationurl"in n&&a(20,p=n.translationurl)},i.$$.update=()=>{i.$$.dirty&1&&r&&S(),i.$$.dirty&2560&&y&&m&&B(),i.$$.dirty&3072&&g&&m&&F(),i.$$.dirty&1048576&&p&&l()},[r,o,u,f,_,L,c,w,d,y,g,m,v,k,b,M,s,P,R,A,p,N,O]}class j extends e.SvelteComponent{constructor(t){super(),e.init(this,t,J,Z,e.safe_not_equal,{depositlimit:1,wageringlimit:2,losslimit:3,timelimit:4,showdeletenotification:6,showsuccessnotification:7,lang:0,playercurrency:5,separatelimits:8,clientstyling:9,clientstylingurl:10,translationurl:20},z)}get depositlimit(){return this.$$.ctx[1]}set depositlimit(t){this.$$set({depositlimit:t}),e.flush()}get wageringlimit(){return this.$$.ctx[2]}set wageringlimit(t){this.$$set({wageringlimit:t}),e.flush()}get losslimit(){return this.$$.ctx[3]}set losslimit(t){this.$$set({losslimit:t}),e.flush()}get timelimit(){return this.$$.ctx[4]}set timelimit(t){this.$$set({timelimit:t}),e.flush()}get showdeletenotification(){return this.$$.ctx[6]}set showdeletenotification(t){this.$$set({showdeletenotification:t}),e.flush()}get showsuccessnotification(){return this.$$.ctx[7]}set showsuccessnotification(t){this.$$set({showsuccessnotification:t}),e.flush()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get playercurrency(){return this.$$.ctx[5]}set playercurrency(t){this.$$set({playercurrency:t}),e.flush()}get separatelimits(){return this.$$.ctx[8]}set separatelimits(t){this.$$set({separatelimits:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}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(j,{depositlimit:{},wageringlimit:{},losslimit:{},timelimit:{},showdeletenotification:{type:"Boolean"},showsuccessnotification:{type:"Boolean"},lang:{},playercurrency:{},separatelimits:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=j;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-BBoBE1Lx.cjs");function B(n,e){t.addMessages(n,e)}function j(n){t.$locale.set(n)}const A={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"}};function D(n){t.append_styles(n,"svelte-1pkvhrt",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}')}const N=n=>({}),F=n=>({});function O(n){let e,o;return{c(){e=t.svg_element("svg"),o=t.svg_element("path"),t.attr(o,"stroke-linecap","round"),t.attr(o,"stroke-linejoin","round"),t.attr(o,"stroke-width","2"),t.attr(o,"d","M6 18L18 6M6 6l12 12"),t.attr(e,"class","w-6 h-6"),t.attr(e,"fill","none"),t.attr(e,"stroke","currentColor"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"xmlns","http://www.w3.org/2000/svg")},m(r,w){t.insert(r,e,w),t.append(e,o)},p:t.noop,d(r){r&&t.detach(e)}}}function P(n){let e,o,r,w,h,b,c,m,d,u=n[2]("cancel")+"",C,M,l,x=n[2]("confirm")+"",_,s,y,k;const G=n[13].close,L=t.create_slot(G,n,n[12],F),g=L||O();return{c(){e=t.element("div"),o=t.element("div"),r=t.element("span"),g&&g.c(),w=t.space(),h=t.element("div"),b=t.text(n[0]),c=t.space(),m=t.element("div"),d=t.element("button"),C=t.text(u),M=t.space(),l=t.element("button"),_=t.text(x),t.attr(r,"class","ModalCloseBtn"),t.attr(r,"role","button"),t.attr(h,"class","GamingLimitsConfirmationContent"),t.attr(d,"class","GamingLimitsCancelButton"),t.attr(l,"class","GamingLimitsConfirmButton"),t.attr(m,"class","GamingLimitsConfirmationControlArea "+(n[3]?"GamingLimitsConfirmationControlAreaMobile":"")),t.attr(o,"class","GamingLimitsConfirmationContainer "+(n[3]?"GamingLimitsConfirmationContainerMobile":"")),t.attr(e,"class","GamingLimitsConfirmationWrapper "+(n[3]?"GamingLimitsConfirmationMobileWrapper":""))},m(a,f){t.insert(a,e,f),t.append(e,o),t.append(o,r),g&&g.m(r,null),t.append(o,w),t.append(o,h),t.append(h,b),t.append(o,c),t.append(o,m),t.append(m,d),t.append(d,C),t.append(m,M),t.append(m,l),t.append(l,_),n[14](e),s=!0,y||(k=[t.listen(r,"click",n[4]),t.listen(d,"click",n[6]),t.listen(l,"click",n[5])],y=!0)},p(a,[f]){L&&L.p&&(!s||f&4096)&&t.update_slot_base(L,G,a,a[12],s?t.get_slot_changes(G,a[12],f,N):t.get_all_dirty_from_scope(a[12]),F),(!s||f&1)&&t.set_data(b,a[0]),(!s||f&4)&&u!==(u=a[2]("cancel")+"")&&t.set_data(C,u),(!s||f&4)&&x!==(x=a[2]("confirm")+"")&&t.set_data(_,x)},i(a){s||(t.transition_in(g,a),s=!0)},o(a){t.transition_out(g,a),s=!1},d(a){a&&t.detach(e),g&&g.d(a),n[14](null),y=!1,t.run_all(k)}}}function W(n,e,o){let r;t.component_subscribe(n,t.$format,i=>o(2,r=i));let{$$slots:w={},$$scope:h}=e,{modaltext:b="Are you sure that you want to perform this action?"}=e,{modalsource:c=""}=e,{lang:m="en"}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{translationurl:C=""}=e;const M=()=>{fetch(C).then(p=>p.json()).then(p=>{Object.keys(p).forEach(v=>{B(v,p[v])})}).catch(p=>{console.log(p)})};Object.keys(A).forEach(i=>{B(i,A[i])});let l,x=window.navigator.userAgent,_=t.getDevice(x)!=="PC",s={},y="";const k=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},G=()=>{c==="groupEdit"?window.postMessage({type:"GamingLimitsConfirmChanges"},window.location.href):c==="infoCard"&&window.postMessage({type:"PlayerAccountGamingLimitDelete",limit:s,name:y},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},L=()=>{c==="groupEdit"?window.postMessage({type:"CancelGamingLimitsChanges"},window.location.href):c==="infoCard"&&window.postMessage({type:"CancelGamingLimitsRemove"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},g=i=>i==="Time Limit"?"cumulativeSessionLimits":i==="Deposit Limit"?"depositLimits":i==="Wagering Limit"?"wageringLimit":"lossLimit",a=i=>{if(i.data)switch(i.data.type){case"DeleteLimitsItem":s=i.data.removeData,y=g(i.data.removeName);break}},f=()=>{j(m)},z=()=>{let i=document.createElement("style");i.innerHTML=d,l.appendChild(i)},S=()=>{let i=new URL(u),p=document.createElement("style");fetch(i.href).then(v=>v.text()).then(v=>{p.innerHTML=v,setTimeout(()=>{l.appendChild(p)},1)})};t.onMount(()=>(window.addEventListener("message",a,!1),()=>{window.removeEventListener("message",a)}));function T(i){t.binding_callbacks[i?"unshift":"push"](()=>{l=i,o(1,l)})}return n.$$set=i=>{"modaltext"in i&&o(0,b=i.modaltext),"modalsource"in i&&o(7,c=i.modalsource),"lang"in i&&o(8,m=i.lang),"clientstyling"in i&&o(9,d=i.clientstyling),"clientstylingurl"in i&&o(10,u=i.clientstylingurl),"translationurl"in i&&o(11,C=i.translationurl),"$$scope"in i&&o(12,h=i.$$scope)},n.$$.update=()=>{n.$$.dirty&385&&b&&c&&m&&f(),n.$$.dirty&514&&d&&l&&z(),n.$$.dirty&1026&&u&&l&&S(),n.$$.dirty&2048&&C&&M()},[b,l,r,_,k,G,L,c,m,d,u,C,h,w,T]}class E extends t.SvelteComponent{constructor(e){super(),t.init(this,e,W,P,t.safe_not_equal,{modaltext:0,modalsource:7,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},D)}get modaltext(){return this.$$.ctx[0]}set modaltext(e){this.$$set({modaltext:e}),t.flush()}get modalsource(){return this.$$.ctx[7]}set modalsource(e){this.$$set({modalsource:e}),t.flush()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(E,{modaltext:{},modalsource:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{}},["close"],[],!0);exports.default=E;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as U, $ as q, S as J, i as K, f as M, c as Q, s as V, b as X, D as Y, e as x, d as E, t as z, g as a, k as W, l, m as S, E as Z, F as $, G as tt, n as D, H as it, I as et, p as H, r as nt, q as ot, u as at, v as rt, x as st, w as T, o as lt, y as mt } from "./GeneralLogout-
|
|
1
|
+
import { a as U, $ as q, S as J, i as K, f as M, c as Q, s as V, b as X, D as Y, e as x, d as E, t as z, g as a, k as W, l, m as S, E as Z, F as $, G as tt, n as D, H as it, I as et, p as H, r as nt, q as ot, u as at, v as rt, x as st, w as T, o as lt, y as mt } from "./GeneralLogout-DJd6W-jT.js";
|
|
2
2
|
function j(e, t) {
|
|
3
3
|
U(e, t);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as aa, $ as ra, S as na, i as oa, f as Te, c as la, s as ua, b as da, e as k, d as V, w as de, t as z, g, j as Ye, k as W, l as m, m as Me, J as ca, n as Q, o as Ci, p as P, r as Wt, q as fa, u as ma, v as ha, K as ot, L as ai, B as ri, M as pa, N as Yt, x as _a, O as Xe, P as ya, Q as Ai, R as ni, y as ga } from "./GeneralLogout-
|
|
1
|
+
import { a as aa, $ as ra, S as na, i as oa, f as Te, c as la, s as ua, b as da, e as k, d as V, w as de, t as z, g, j as Ye, k as W, l as m, m as Me, J as ca, n as Q, o as Ci, p as P, r as Wt, q as fa, u as ma, v as ha, K as ot, L as ai, B as ri, M as pa, N as Yt, x as _a, O as Xe, P as ya, Q as Ai, R as ni, y as ga } from "./GeneralLogout-DJd6W-jT.js";
|
|
2
2
|
function wa(e) {
|
|
3
3
|
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.');
|
|
4
4
|
}
|
|
@@ -2589,7 +2589,7 @@ if (typeof window != "undefined") {
|
|
|
2589
2589
|
}
|
|
2590
2590
|
};
|
|
2591
2591
|
};
|
|
2592
|
-
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsPopup-
|
|
2592
|
+
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsPopup-DWkmHcWc.js").then(({ default: t }) => {
|
|
2593
2593
|
!customElements.get("player-account-gaming-limits-popup") && customElements.define("player-account-gaming-limits-popup", t.element);
|
|
2594
2594
|
});
|
|
2595
2595
|
}
|
|
@@ -2833,7 +2833,7 @@ if (typeof window != "undefined") {
|
|
|
2833
2833
|
}
|
|
2834
2834
|
};
|
|
2835
2835
|
};
|
|
2836
|
-
customElements.define = e(customElements.define), import("./PlayerAccountModal-
|
|
2836
|
+
customElements.define = e(customElements.define), import("./PlayerAccountModal-9gulcpFn.js").then(({ default: t }) => {
|
|
2837
2837
|
!customElements.get("player-account-modal") && customElements.define("player-account-modal", t.element);
|
|
2838
2838
|
});
|
|
2839
2839
|
}
|
|
@@ -2849,7 +2849,7 @@ if (typeof window != "undefined") {
|
|
|
2849
2849
|
}
|
|
2850
2850
|
};
|
|
2851
2851
|
};
|
|
2852
|
-
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsConfirmationModal-
|
|
2852
|
+
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsConfirmationModal-DOXtkhFY.js").then(
|
|
2853
2853
|
({ default: t }) => {
|
|
2854
2854
|
!customElements.get("player-account-gaming-limits-confirmation-modal") && customElements.define(
|
|
2855
2855
|
"player-account-gaming-limits-confirmation-modal",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("./GeneralLogout-
|
|
1
|
+
"use strict";const r=require("./GeneralLogout-BBoBE1Lx.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
2
|
//! version : 2.30.1
|
|
3
3
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
4
4
|
//! license : MIT
|
|
@@ -7,4 +7,4 @@ var Fi;function f(){return Fi.apply(null,arguments)}function Is(e){Fi=e}function
|
|
|
7
7
|
[`+n+"] ";for(o in arguments[0])b(arguments[0],o)&&(a+=o+": "+arguments[0][o]+", ");a=a.slice(0,-2)}else a=arguments[n];s.push(a)}Ii(e+`
|
|
8
8
|
Arguments: `+Array.prototype.slice.call(s).join("")+`
|
|
9
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=Ce({},e),s;for(s in t)b(t,s)&&(Ue(e[s])&&Ue(t[s])?(i[s]={},Ce(i[s],e[s]),Ce(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]=Ce({},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,n=e>=0;return(n?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 n="",o;for(o=0;o<s;o++)n+=_e(t[o])?t[o].call(a,e):t[o];return n}}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 re(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=re(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}/,P=/\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,ra=/[+-]?\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 na(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,n){return i||s||a||n}))}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 A(e,t){var i,s=t,a;for(typeof e=="string"&&(e=[e]),Le(t)&&(s=function(n,o){o[t]=w(n)}),a=e.length,i=0;i<a;i++)It[e[i]]=s}function lt(e,t){A(e,function(i,s,a,n){a._w=a._w||{},t(i,a._w,a,n)})}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",P,te);h("YYYY",Qt,Jt);h("YYYYY",Dt,kt);h("YYYYYY",Dt,kt);A(["YYYYY","YYYYYY"],Q);A("YYYY",function(e,t){t[Q]=e.length===2?f.parseTwoDigitYear(e):w(e)});A("YY",function(e,t){t[Q]=f.parseTwoDigitYear(e)});A("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,n,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}n=i,o=e.month(),l=e.date(),l=l===29&&o===1&&!bt(n)?28:l,a?s.setUTCFullYear(n,o,l):s.setFullYear(n,o,l)}}function ma(e){return e=re(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=re(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",P,Qe);h("MM",P,te);h("MMM",function(e,t){return t.monthsShortRegex(e)});h("MMMM",function(e,t){return t.monthsRegex(e)});A(["M","MM"],function(e,t){t[we]=w(e)-1});A(["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,n,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)n=pe([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(n,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(n,"").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,n;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]&&(n="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[s]=new RegExp(n.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,n,o,l;for(a=0;a<12;a++)n=pe([2e3,a]),o=Me(this.monthsShort(n,"")),l=Me(this.months(n,"")),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,n,o){var l;return e<100&&e>=0?(l=new Date(e+400,t,i,s,a,n,o),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,i,s,a,n,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 n=(7+i-s)%7,o=_t(e,s,a),l=1+7*(t-1)+n+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,n,o;return a<1?(o=e.year()-1,n=a+De(o,t,i)):a>De(e.year(),t,i)?(n=a-De(e.year(),t,i),o=e.year()+1):(o=e.year(),n=a),{week:n,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",P,Qe);h("ww",P,te);h("W",P,Qe);h("WW",P,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 Ca(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",P);h("e",P);h("E",P);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 Aa(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("_"),Pa="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Wa=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,n,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)n=pe([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(n,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(n,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(n,"").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,n;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]||(n="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[s]=new RegExp(n.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=Aa(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=Wa),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=[],n,o,l,u,c;for(n=0;n<7;n++)o=pe([2e3,1]).day(n),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",P,Kt);h("h",P,Qe);h("k",P,Qe);h("HH",P,te);h("hh",P,te);h("kk",P,te);h("hmm",Gi);h("hmmss",zi);h("Hmm",Gi);h("Hmmss",zi);A(["H","HH"],G);A(["k","kk"],function(e,t,i){var s=w(e);t[G]=s===24?0:s});A(["a","A"],function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e});A(["h","hh"],function(e,t,i){t[G]=w(e),g(i).bigHour=!0});A("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});A("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});A("Hmm",function(e,t,i){var s=e.length-2;t[G]=w(e.substr(0,s)),t[le]=w(e.substr(s))});A("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 er(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:Pa,weekdaysShort:es,meridiemParse:Xa},R={},Xe={},at;function tr(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 ir(e){for(var t=0,i,s,a,n;t<e.length;){for(n=_i(e[t]).split("-"),i=n.length,s=_i(e[t+1]),s=s?s.split("-"):null;i>0;){if(a=Tt(n.slice(0,i).join("-")),a)return a;if(s&&s.length>=i&&tr(n,s)>=i-1)break;i--}t++}return at}function sr(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Tt(e){var t=null,i;if(R[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&sr(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 ar(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 ir(e)}function rr(){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 nr=/^\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)?)?$/,or=/^\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)?)?$/,lr=/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/]],ur=/^\/?Date\((-?\d+)/i,dr=/^(?:(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}))$/,cr={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=nr.exec(s)||or.exec(s),n,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],n=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(!n&&l!=null){e._isValid=!1;return}if(a[4])if(lr.exec(a[4]))u="Z";else{e._isValid=!1;return}e._f=o+(l||"")+(u||""),ri(e)}else e._isValid=!1}function mr(e,t,i,s,a,n){var o=[fr(e),Zi.indexOf(t),parseInt(i,10),parseInt(s,10),parseInt(a,10)];return n&&o.push(parseInt(n,10)),o}function fr(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function hr(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function pr(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 _r(e,t,i){if(e)return cr[e];if(t)return 0;var s=parseInt(i,10),a=s%100,n=(s-a)/100;return n*60+a}function rs(e){var t=dr.exec(hr(e._i)),i;if(t){if(i=mr(t[4],t[3],t[2],t[5],t[6],t[7]),!pr(t[1],i,e))return;e._a=i,e._tzm=_r(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 yr(e){var t=ur.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(rs(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 gr(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,n,o;if(!e._d){for(a=gr(e),e._w&&e._a[fe]==null&&e._a[we]==null&&vr(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),n=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!==n&&(g(e).weekdayMismatch=!0)}}function vr(e){var t,i,s,a,n,o,l,u,c;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(n=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)):(n=e._locale._week.dow,o=e._locale._week.doy,c=st(x(),n,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+n,(t.e<0||t.e>6)&&(u=!0)):a=n),s<1||s>De(i,n,o)?g(e)._overflowWeeks=!0:u!=null?g(e)._overflowWeekday=!0:(l=$i(i,s,a,n,o),e._a[Q]=l.year,e._dayOfYear=l.dayOfYear)}f.ISO_8601=function(){};f.RFC_2822=function(){};function ri(e){if(e._f===f.ISO_8601){as(e);return}if(e._f===f.RFC_2822){rs(e);return}e._a=[],g(e).empty=!0;var t=""+e._i,i,s,a,n,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++)n=a[i],s=(t.match(na(n,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[n]?(s?g(e).empty=!1:g(e).unusedTokens.push(n),la(n,s,e)):e._strict&&!s&&g(e).unusedTokens.push(n);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]=wr(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 wr(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 kr(e){var t,i,s,a,n,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++)n=0,o=!1,t=zt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],ri(t),Gt(t)&&(o=!0),n+=g(t).charsLeftOver,n+=g(t).unusedTokens.length*10,g(t).score=n,l?n<s&&(s=n,i=t):(s==null||n<s||o)&&(s=n,i=t,o&&(l=!0));Ce(e,i||t)}function Mr(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 Dr(e){var t=new nt(si(ns(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function ns(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 nt(si(t)):(rt(t)?e._d=t:ue(i)?kr(e):i?ri(e):Lr(e),Gt(e)||(e._d=null),e))}function Lr(e){var t=e._i;X(t)?e._d=new Date(f.now()):rt(t)?e._d=new Date(t.valueOf()):typeof t=="string"?yr(e):ue(t)?(e._a=Ri(t.slice(0),function(i){return parseInt(i,10)}),ai(e)):Ue(t)?Mr(e):Le(t)?e._d=new Date(t):f.createFromInputFallback(e)}function os(e,t,i,s,a){var n={};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),n._isAMomentObject=!0,n._useUTC=n._isUTC=a,n._l=i,n._i=e,n._f=t,n._strict=s,Dr(n)}function x(e,t,i,s){return os(e,t,i,s,!1)}var Sr=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()}),br=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 Tr(){var e=[].slice.call(arguments,0);return ls("isBefore",e)}function Yr(){var e=[].slice.call(arguments,0);return ls("isAfter",e)}var Or=function(){return Date.now?Date.now():+new Date},$e=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Er(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 Cr(){return this._isValid}function Ar(){return ce(NaN)}function Yt(e){var t=Zt(e),i=t.year||0,s=t.quarter||0,a=t.month||0,n=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=Er(t),this._milliseconds=+p+c*1e3+u*6e4+l*1e3*60*60,this._days=+o+n*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 Nr(e,t,i){var s=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),n=0,o;for(o=0;o<s;o++)w(e[o])!==w(t[o])&&n++;return n+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);A(["Z","ZZ"],function(e,t,i){i._useUTC=!0,i._tzm=ni(St,e)});var xr=/([\+\-]|\d\d)/gi;function ni(e,t){var i=(t||"").match(e),s,a,n;return i===null?null:(s=i[i.length-1]||[],a=(s+"").match(xr)||["-",0,0],n=+(a[1]*60)+w(a[2]),n===0?0:a[0]==="+"?n:-n)}function oi(e,t){var i,s;return t._isUTC?(i=t.clone(),s=(de(e)||rt(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 Pr(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=ni(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 Wr(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Fr(e){return this.utcOffset(0,e)}function Rr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ht(this),"m")),this}function Ir(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=ni(aa,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Ur(e){return this.isValid()?(e=e?x(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Hr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function jr(){if(!X(this._isDSTShifted))return this._isDSTShifted;var e={},t;return zt(e,this),e=ns(e),e._a?(t=e._isUTC?pe(e._a):x(e._a),this._isDSTShifted=this.isValid()&&Nr(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Vr(){return this.isValid()?!this._isUTC:!1}function Gr(){return this.isValid()?this._isUTC:!1}function ds(){return this.isValid()?this._isUTC&&this._offset===0:!1}var zr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Br=/^(-|\+)?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,n,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=zr.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=Br.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=qr(x(i.from),x(i.to)),i={},i.ms=o.milliseconds,i.M=o.months),n=new Yt(i),ft(e)&&b(e,"_locale")&&(n._locale=e._locale),ft(e)&&b(e,"_isValid")&&(n._isValid=e._isValid),n}ce.fn=Yt.prototype;ce.invalid=Ar;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 qr(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,n;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."),n=i,i=s,s=n),a=ce(i,s),ms(this,a,e),this}}function ms(e,t,i,s){var a=t._milliseconds,n=Ut(t._days),o=Ut(t._months);e.isValid()&&(s=s==null?!0:s,o&&Qi(e,tt(e,"Month")+o*i),n&&qi(e,"Date",tt(e,"Date")+n*i),a&&e._d.setTime(e._d.valueOf()+a*i),s&&f.updateOffset(e,n||o))}var Zr=cs(1,"add"),Jr=cs(-1,"subtract");function fs(e){return typeof e=="string"||e instanceof String}function Qr(e){return de(e)||rt(e)||fs(e)||Le(e)||Xr(e)||Kr(e)||e===null||e===void 0}function Kr(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,n,o=s.length;for(a=0;a<o;a+=1)n=s[a],i=i||b(e,n);return t&&i}function Xr(e){var t=ue(e),i=!1;return t&&(i=e.filter(function(s){return!Le(s)&&fs(e)}).length===0),t&&i}function $r(e){var t=Ue(e)&&!Vt(e),i=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,n;for(a=0;a<s.length;a+=1)n=s[a],i=i||b(e,n);return t&&i}function en(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 tn(e,t){arguments.length===1&&(arguments[0]?Qr(arguments[0])?(e=arguments[0],t=void 0):$r(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",n=t&&(_e(t[a])?t[a].call(this,i):t[a]);return this.format(n||this.localeData().calendar(a,this,x(i)))}function sn(){return new nt(this)}function an(e,t){var i=de(e)?e:x(e);return this.isValid()&&i.isValid()?(t=re(t)||"millisecond",t==="millisecond"?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf()):!1}function rn(e,t){var i=de(e)?e:x(e);return this.isValid()&&i.isValid()?(t=re(t)||"millisecond",t==="millisecond"?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf()):!1}function nn(e,t,i,s){var a=de(e)?e:x(e),n=de(t)?t:x(t);return this.isValid()&&a.isValid()&&n.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(a,i):!this.isBefore(a,i))&&(s[1]===")"?this.isBefore(n,i):!this.isAfter(n,i))):!1}function on(e,t){var i=de(e)?e:x(e),s;return this.isValid()&&i.isValid()?(t=re(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 ln(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function un(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function dn(e,t,i){var s,a,n;if(!this.isValid())return NaN;if(s=oi(e,this),!s.isValid())return NaN;switch(a=(s.utcOffset()-this.utcOffset())*6e4,t=re(t),t){case"year":n=ht(this,s)/12;break;case"month":n=ht(this,s);break;case"quarter":n=ht(this,s)/3;break;case"second":n=(this-s)/1e3;break;case"minute":n=(this-s)/6e4;break;case"hour":n=(this-s)/36e5;break;case"day":n=(this-s-a)/864e5;break;case"week":n=(this-s-a)/6048e5;break;default:n=this-s}return i?n:se(n)}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,n;return t-s<0?(a=e.clone().add(i-1,"months"),n=(t-s)/(s-a)):(a=e.clone().add(i+1,"months"),n=(t-s)/(a-s)),-(i+n)||0}f.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";f.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function cn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function mn(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 fn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",i,s,a,n;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",n=t+'[")]',this.format(i+s+a+n)}function hn(e){e||(e=this.isUtc()?f.defaultFormatUtc:f.defaultFormat);var t=mt(this,e);return this.localeData().postformat(t)}function pn(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 _n(e){return this.from(x(),e)}function yn(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 gn(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 vn(e){var t,i;if(e=re(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 wn(e){var t,i;if(e=re(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 kn(){return this._d.valueOf()-(this._offset||0)*6e4}function Mn(){return Math.floor(this.valueOf()/1e3)}function Dn(){return new Date(this.valueOf())}function Ln(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Sn(){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 bn(){return this.isValid()?this.toISOString():null}function Tn(){return Gt(this)}function Yn(){return Ce({},g(this))}function On(){return g(this).overflow}function En(){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",Hn);h("NNNNN",jn);A(["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",Vn);A(["y","yy","yyy","yyyy"],Q);A(["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 Cn(e,t){var i,s,a,n=this._eras||Se("en")._eras;for(i=0,s=n.length;i<s;++i){switch(typeof n[i].since){case"string":a=f(n[i].since).startOf("day"),n[i].since=a.valueOf();break}switch(typeof n[i].until){case"undefined":n[i].until=1/0;break;case"string":a=f(n[i].until).startOf("day").valueOf(),n[i].until=a.valueOf();break}}return n}function An(e,t,i){var s,a,n=this.eras(),o,l,u;for(e=e.toUpperCase(),s=0,a=n.length;s<a;++s)if(o=n[s].name.toUpperCase(),l=n[s].abbr.toUpperCase(),u=n[s].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(l===e)return n[s];break;case"NNNN":if(o===e)return n[s];break;case"NNNNN":if(u===e)return n[s];break}else if([o,l,u].indexOf(e)>=0)return n[s]}function Nn(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 xn(){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 Pn(){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 Wn(){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 Fn(){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 Rn(e){return b(this,"_erasNameRegex")||ui.call(this),e?this._erasNameRegex:this._erasRegex}function In(e){return b(this,"_erasAbbrRegex")||ui.call(this),e?this._erasAbbrRegex:this._erasRegex}function Un(e){return b(this,"_erasNarrowRegex")||ui.call(this),e?this._erasNarrowRegex:this._erasRegex}function li(e,t){return t.erasAbbrRegex(e)}function Hn(e,t){return t.erasNameRegex(e)}function jn(e,t){return t.erasNarrowRegex(e)}function Vn(e,t){return t._eraYearOrdinalRegex||Je}function ui(){var e=[],t=[],i=[],s=[],a,n,o,l,u,c=this.eras();for(a=0,n=c.length;a<n;++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",P,te);h("gg",P,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 Gn(e){return ws.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function zn(e){return ws.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Bn(){return De(this.year(),1,4)}function qn(){return De(this.isoWeekYear(),1,4)}function Zn(){var e=this.localeData()._week;return De(this.year(),e.dow,e.doy)}function Jn(){var e=this.localeData()._week;return De(this.weekYear(),e.dow,e.doy)}function ws(e,t,i,s,a){var n;return e==null?st(this,s,a).year:(n=De(e,s,a),t>n&&(t=n),Qn.call(this,e,t,i,s,a))}function Qn(e,t,i,s,a){var n=$i(e,t,i,s,a),o=it(n.year,0,n.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}_("Q",0,"Qo","quarter");h("Q",ji);A("Q",function(e,t){t[we]=(w(e)-1)*3});function Kn(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",P,Qe);h("DD",P,te);h("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});A(["D","DD"],fe);A("Do",function(e,t){t[fe]=w(e.match(P)[0])});var ks=Ke("Date",!0);_("DDD",["DDDD",3],"DDDo","dayOfYear");h("DDD",Mt);h("DDDD",Vi);A(["DDD","DDDD"],function(e,t,i){i._dayOfYear=w(e)});function Xn(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",P,Kt);h("mm",P,te);A(["m","mm"],le);var $n=Ke("Minutes",!1);_("s",["ss",2],0,"second");h("s",P,Kt);h("ss",P,te);A(["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 Ae,Ms;for(Ae="SSSS";Ae.length<=9;Ae+="S")h(Ae,Je);function to(e,t){t[Ie]=w(("0."+e)*1e3)}for(Ae="S";Ae.length<=9;Ae+="S")A(Ae,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=nt.prototype;d.add=Zr;d.calendar=tn;d.clone=sn;d.diff=dn;d.endOf=wn;d.format=hn;d.from=pn;d.fromNow=_n;d.to=yn;d.toNow=gn;d.get=ma;d.invalidAt=On;d.isAfter=an;d.isBefore=rn;d.isBetween=nn;d.isSame=on;d.isSameOrAfter=ln;d.isSameOrBefore=un;d.isValid=Tn;d.lang=ps;d.locale=hs;d.localeData=_s;d.max=br;d.min=Sr;d.parsingFlags=Yn;d.set=fa;d.startOf=vn;d.subtract=Jr;d.toArray=Ln;d.toObject=Sn;d.toDate=Dn;d.toISOString=mn;d.inspect=fn;typeof Symbol!="undefined"&&Symbol.for!=null&&(d[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});d.toJSON=bn;d.toString=cn;d.unix=Mn;d.valueOf=kn;d.creationData=En;d.eraName=xn;d.eraNarrow=Pn;d.eraAbbr=Wn;d.eraYear=Fn;d.year=Bi;d.isLeapYear=ca;d.weekYear=Gn;d.isoWeekYear=zn;d.quarter=d.quarters=Kn;d.month=Ki;d.daysInMonth=Ma;d.week=d.weeks=Ea;d.isoWeek=d.isoWeeks=Ca;d.weeksInYear=Zn;d.weeksInWeekYear=Jn;d.isoWeeksInYear=Bn;d.isoWeeksInISOWeekYear=qn;d.date=ks;d.day=d.days=Ga;d.weekday=za;d.isoWeekday=Ba;d.dayOfYear=Xn;d.hour=d.hours=$a;d.minute=d.minutes=$n;d.second=d.seconds=eo;d.millisecond=d.milliseconds=Ms;d.utcOffset=Pr;d.utc=Fr;d.local=Rr;d.parseZone=Ir;d.hasAlignedHourOffset=Ur;d.isDST=Hr;d.isLocal=Vr;d.isUtcOffset=Gr;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/",Wr);d.isDSTShifted=ae("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",jr);function ao(e){return x(e*1e3)}function ro(){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=Cn;T.erasParse=An;T.erasConvertYear=Nn;T.erasAbbrRegex=In;T.erasNameRegex=Rn;T.erasNarrowRegex=Un;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=er;function vt(e,t,i,s){var a=Se(),n=pe().set(s,t);return a[i](n,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(),n=e?a._week.dow:0,o,l=[];if(i!=null)return vt(t,(i+n)%7,s,"day");for(o=0;o<7;o++)l[o]=vt(t,(o+n)%7,s,"day");return l}function no(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,n,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,n=se(a/60),s.minutes=n%60,o=se(n/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=re(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=re(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"),Co=He("hours"),Ao=He("days"),No=He("months"),xo=He("years");function Po(){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 Wo(e,t,i,s,a){return a.relativeTime(t||1,!!i,e,s)}function Fo(e,t,i,s){var a=ce(e).abs(),n=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=n<=i.ss&&["s",n]||n<i.s&&["ss",n]||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,Wo.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,n;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(),n=Fo(this,!i,s,a),i&&(n=a.pastFuture(+this,n)),a.postformat(n)}var Pt=Math.abs;function Ve(e){return(e>0)-(e<0)||+e}function Et(){if(!this.isValid())return this.localeData().invalidDate();var e=Pt(this._milliseconds)/1e3,t=Pt(this._days),i=Pt(this._months),s,a,n,o,l=this.asSeconds(),u,c,p,E;return l?(s=se(e/60),a=se(s/60),e%=60,s%=60,n=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"+(n?c+n+"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=Cr;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=Co;S.days=Ao;S.weeks=Po;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",ra);A("X",function(e,t,i){i._d=new Date(parseFloat(e)*1e3)});A("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=Tr;f.max=Yr;f.now=Or;f.utc=pe;f.unix=ao;f.months=no;f.isDate=rt;f.locale=Ne;f.invalid=wt;f.duration=ce;f.isMoment=de;f.weekdays=lo;f.parseZone=ro;f.localeData=Se;f.isDuration=ft;f.monthsShort=oo;f.weekdaysMin=co;f.defineLocale=ii;f.updateLocale=ar;f.locales=rr;f.weekdaysShort=uo;f.normalizeUnits=re;f.relativeTimeRounding=Ro;f.relativeTimeThreshold=Io;f.calendarFormat=en;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-Dz_qQuDe.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-popup")&&customElements.define("player-account-gaming-limits-popup",t.element)})}function vi(e,t){r.addMessages(e,t)}function Ho(e){r.$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"}};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-DEtLb1RB.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-Dzxus6A7.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){r.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,n,o,l,u,c,p,E=e[18]("back")+"",v,Y,k;return{c(){t=r.element("div"),i=r.svg_element("svg"),s=r.svg_element("defs"),a=r.svg_element("style"),n=r.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"),o=r.svg_element("g"),l=r.svg_element("g"),u=r.svg_element("path"),c=r.space(),p=r.element("h2"),v=r.text(E),r.attr(u,"class","aaa"),r.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"),r.attr(u,"transform","translate(15 15) rotate(180)"),r.attr(l,"transform","translate(20 158)"),r.attr(o,"transform","translate(-20 -158)"),r.attr(i,"xmlns","http://www.w3.org/2000/svg"),r.attr(i,"width","15"),r.attr(i,"height","15"),r.attr(i,"viewBox","0 0 15 15"),r.attr(p,"class","MyAccountCategoryTitleMobile"),r.attr(t,"class","MenuReturnButton")},m(M,D){r.insert(M,t,D),r.append(t,i),r.append(i,s),r.append(s,a),r.append(a,n),r.append(i,o),r.append(o,l),r.append(l,u),r.append(t,c),r.append(t,p),r.append(p,v),Y||(k=r.listen(t,"click",e[22]),Y=!0)},p(M,D){D[0]&262144&&E!==(E=M[18]("back")+"")&&r.set_data(v,E)},d(M){M&&r.detach(t),Y=!1,k()}}}function Li(e){let t,i,s=e[18]("success")+"",a;return{c(){t=r.element("div"),i=r.element("p"),a=r.text(s),r.attr(t,"class","AccountEditLimitSuccessfulChangeContainer")},m(n,o){r.insert(n,t,o),r.append(t,i),r.append(i,a)},p(n,o){o[0]&262144&&s!==(s=n[18]("success")+"")&&r.set_data(a,s)},d(n){n&&r.detach(t)}}}function Si(e){let t,i=r.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=r.element("div");for(let a=0;a<s.length;a+=1)s[a].c();r.attr(t,"class","AccountEditLimitSuccessfulChangeContainer")},m(a,n){r.insert(a,t,n);for(let o=0;o<s.length;o+=1)s[o]&&s[o].m(t,null)},p(a,n){if(n[0]&409600){i=r.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,n):(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&&r.detach(t),r.destroy_each(s,a)}}}function bi(e){let t,i=e[18]("remove")+"",s,a,n=(e[56].expiryDate?f(e[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",o;return{c(){t=r.element("p"),s=r.text(i),a=r.space(),o=r.text(n)},m(l,u){r.insert(l,t,u),r.append(t,s),r.append(t,a),r.append(t,o)},p(l,u){u[0]&262144&&i!==(i=l[18]("remove")+"")&&r.set_data(s,i),u[0]&16384&&n!==(n=(l[56].expiryDate?f(l[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&r.set_data(o,n)},d(l){l&&r.detach(t)}}}function Ti(e){let t,i=e[56].period==e[17][e[58]].period&&bi(e);return{c(){i&&i.c(),t=r.empty()},m(s,a){i&&i.m(s,a),r.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&&r.detach(t),i&&i.d(s)}}}function Yi(e){let t,i,s=r.ensure_array_like(e[14]),a=[];for(let n=0;n<s.length;n+=1)a[n]=Wi(ki(e,s,n));return{c(){t=r.element("div"),i=r.element("div");for(let n=0;n<a.length;n+=1)a[n].c();r.attr(i,"class","AccountEditLimitsContainer"),r.attr(t,"class","AccountEditContent")},m(n,o){r.insert(n,t,o),r.append(t,i);for(let l=0;l<a.length;l+=1)a[l]&&a[l].m(i,null)},p(n,o){if(o[0]&18836560){s=r.ensure_array_like(n[14]);let l;for(l=0;l<s.length;l+=1){const u=ki(n,s,l);a[l]?a[l].p(u,o):(a[l]=Wi(u),a[l].c(),a[l].m(i,null))}for(;l<a.length;l+=1)a[l].d(1);a.length=s.length}},d(n){n&&r.detach(t),r.destroy_each(a,n)}}}function Oi(e){let t,i,s=e[18]("noLimit")+"",a,n,o,l,u,c,p,E,v=r.ensure_array_like(e[20].get(e[6])[e[58]].values),Y=[];for(let L=0;L<v.length;L+=1)Y[L]=Ci(Mi(e,v,L));function k(){e[29].call(t,e[58])}let M=e[17][e[58]].amount==="Custom"&&Ai(e),D=e[56].isModified===!0&&Pi(e);return{c(){t=r.element("select"),i=r.element("option"),a=r.text(s);for(let L=0;L<Y.length;L+=1)Y[L].c();o=r.space(),l=r.element("div"),M&&M.c(),u=r.space(),D&&D.c(),c=r.empty(),i.__value="",r.set_input_value(i,i.__value),i.disabled=!0,i.selected=!0,i.hidden=!0,r.attr(t,"class","AccountEditField "+(e[19]?"TimeoutSelectMobile":"")),t.disabled=n=e[56].isModified===!0,e[17][e[58]].amount===void 0&&r.add_render_callback(k),r.attr(l,"class","AccountEditLimitsInputContainer")},m(L,N){r.insert(L,t,N),r.append(t,i),r.append(i,a);for(let C=0;C<Y.length;C+=1)Y[C]&&Y[C].m(t,null);r.select_option(t,e[17][e[58]].amount,!0),r.insert(L,o,N),r.insert(L,l,N),M&&M.m(l,null),r.insert(L,u,N),D&&D.m(L,N),r.insert(L,c,N),p||(E=[r.listen(t,"change",k),r.listen(t,"change",function(){r.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")+"")&&r.set_data(a,s),N[0]&1048656){v=r.ensure_array_like(e[20].get(e[6])[e[58]].values);let C;for(C=0;C<v.length;C+=1){const K=Mi(e,v,C);Y[C]?Y[C].p(K,N):(Y[C]=Ci(K),Y[C].c(),Y[C].m(t,null))}for(;C<Y.length;C+=1)Y[C].d(1);Y.length=v.length}N[0]&16384&&n!==(n=e[56].isModified===!0)&&(t.disabled=n),N[0]&1179712&&r.select_option(t,e[17][e[58]].amount),e[17][e[58]].amount==="Custom"?M?M.p(e,N):(M=Ai(e),M.c(),M.m(l,null)):M&&(M.d(1),M=null),e[56].isModified===!0?D?D.p(e,N):(D=Pi(e),D.c(),D.m(c.parentNode,c)):D&&(D.d(1),D=null)},d(L){L&&(r.detach(t),r.detach(o),r.detach(l),r.detach(u),r.detach(c)),r.destroy_each(Y,L),M&&M.d(),D&&D.d(L),p=!1,r.run_all(E)}}}function Ei(e){let t=(e[6]!=="Time Limit"?e[4]:" minutes")+"",i;return{c(){i=r.text(t)},m(s,a){r.insert(s,i,a)},p(s,a){a[0]&80&&t!==(t=(s[6]!=="Time Limit"?s[4]:" minutes")+"")&&r.set_data(i,t)},d(s){s&&r.detach(i)}}}function Ci(e){let t,i=e[59]+"",s,a,n,o,l=e[59]!=="No limit"&&e[59]!=="Custom"&&Ei(e);return{c(){t=r.element("option"),s=r.text(i),a=r.space(),l&&l.c(),n=r.space(),t.__value=o=e[59],r.set_input_value(t,t.__value)},m(u,c){r.insert(u,t,c),r.append(t,s),r.append(t,a),l&&l.m(t,null),r.append(t,n)},p(u,c){c[0]&64&&i!==(i=u[59]+"")&&r.set_data(s,i),u[59]!=="No limit"&&u[59]!=="Custom"?l?l.p(u,c):(l=Ei(u),l.c(),l.m(t,n)):l&&(l.d(1),l=null),c[0]&64&&o!==(o=u[59])&&(t.__value=o,r.set_input_value(t,t.__value))},d(u){u&&r.detach(t),l&&l.d()}}}function Ai(e){let t;function i(n,o){return n[6]!=="Time Limit"?zo:Go}let s=i(e),a=s(e);return{c(){a.c(),t=r.empty()},m(n,o){a.m(n,o),r.insert(n,t,o)},p(n,o){s===(s=i(n))&&a?a.p(n,o):(a.d(1),a=s(n),a&&(a.c(),a.m(t.parentNode,t)))},d(n){n&&r.detach(t),a.d(n)}}}function Go(e){let t,i,s,a,n,o;function l(){e[31].call(t,e[58])}let u=e[13][e[58]]==1&&Ni(e);return{c(){t=r.element("input"),s=r.space(),a=r.element("p"),u&&u.c(),r.attr(t,"type","number"),r.attr(t,"class","AccountEditField AccountEditFieldCustom"),t.disabled=i=e[56].isModified===!0,r.attr(a,"class","AccountEditWarningText")},m(c,p){r.insert(c,t,p),r.set_input_value(t,e[17][e[58]].value),r.insert(c,s,p),r.insert(c,a,p),u&&u.m(a,null),n||(o=[r.listen(t,"keyup",function(){r.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)}),r.listen(t,"input",l)],n=!0)},p(c,p){e=c,p[0]&16384&&i!==(i=e[56].isModified===!0)&&(t.disabled=i),p[0]&1179712&&r.to_number(t.value)!==e[17][e[58]].value&&r.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&&(r.detach(t),r.detach(s),r.detach(a)),u&&u.d(),n=!1,r.run_all(o)}}}function zo(e){let t,i,s,a,n,o;function l(){e[30].call(t,e[58])}let u=e[13][e[58]]==1&&xi(e);return{c(){t=r.element("input"),s=r.space(),a=r.element("p"),u&&u.c(),r.attr(t,"type","number"),r.attr(t,"class","AccountEditField AccountEditFieldCustom"),t.disabled=i=e[56].isModified===!0,r.attr(a,"class","AccountEditWarningText")},m(c,p){r.insert(c,t,p),r.set_input_value(t,e[17][e[58]].value),r.insert(c,s,p),r.insert(c,a,p),u&&u.m(a,null),n||(o=[r.listen(t,"keyup",function(){r.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)}),r.listen(t,"input",l)],n=!0)},p(c,p){e=c,p[0]&16384&&i!==(i=e[56].isModified===!0)&&(t.disabled=i),p[0]&1179712&&r.to_number(t.value)!==e[17][e[58]].value&&r.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&&(r.detach(t),r.detach(s),r.detach(a)),u&&u.d(),n=!1,r.run_all(o)}}}function Ni(e){let t,i=e[18]("invalidInputMessageTime",{values:{minTime:e[10],maxTime:e[11]}})+"",s;return{c(){t=r.element("p"),s=r.text(i),r.attr(t,"class","InvalidInput")},m(a,n){r.insert(a,t,n),r.append(t,s)},p(a,n){n[0]&265216&&i!==(i=a[18]("invalidInputMessageTime",{values:{minTime:a[10],maxTime:a[11]}})+"")&&r.set_data(s,i)},d(a){a&&r.detach(t)}}}function xi(e){let t,i=e[18]("invalidInputMessageLimit")+"",s;return{c(){t=r.element("p"),s=r.text(i),r.attr(t,"class","InvalidInput")},m(a,n){r.insert(a,t,n),r.append(t,s)},p(a,n){n[0]&262144&&i!==(i=a[18]("invalidInputMessageLimit")+"")&&r.set_data(s,i)},d(a){a&&r.detach(t)}}}function Pi(e){let t,i=e[18]("expirationDate")+"",s,a,n,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,C=(e[56].minutes!==void 0?" minutes":e[4])+"",K,z,$=e[18]("changedLimitTextAfter")+"",Te;return{c(){t=r.element("p"),s=r.text(i),a=r.space(),n=r.element("span"),l=r.text(o),u=r.space(),c=r.element("div"),p=r.element("p"),E=r.element("span"),E.textContent="i",v=r.element("span"),k=r.text(Y),M=r.space(),L=r.text(D),N=r.space(),K=r.text(C),z=r.text(". "),Te=r.text($),r.attr(t,"class","AccountEditLimitsExpiryDate"),r.attr(E,"class","AccountEditLimitChangePeriodIcon"),r.attr(c,"class","AccountEditLimitsPeriodChangeContainer")},m(W,I){r.insert(W,t,I),r.append(t,s),r.append(t,a),r.append(t,n),r.append(n,l),r.insert(W,u,I),r.insert(W,c,I),r.append(c,p),r.append(p,E),r.append(p,v),r.append(v,k),r.append(v,M),r.append(v,L),r.append(v,N),r.append(v,K),r.append(v,z),r.append(v,Te)},p(W,I){I[0]&262144&&i!==(i=W[18]("expirationDate")+"")&&r.set_data(s,i),I[0]&16384&&o!==(o=(W[56].expiryDate?f(W[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&r.set_data(l,o),I[0]&262144&&Y!==(Y=W[18]("changedLimitTextBefore")+"")&&r.set_data(k,Y),I[0]&16384&&D!==(D=(W[56].updateAmount>0?W[56].updateAmount:0)+"")&&r.set_data(L,D),I[0]&16400&&C!==(C=(W[56].minutes!==void 0?" minutes":W[4])+"")&&r.set_data(K,C),I[0]&262144&&$!==($=W[18]("changedLimitTextAfter")+"")&&r.set_data(Te,$)},d(W){W&&(r.detach(t),r.detach(u),r.detach(c))}}}function Wi(e){let t,i,s=e[18](""+e[56].period.charAt(0).toLowerCase()+e[56].period.substring(1))+"",a,n,o,l=e[56].period==e[17][e[58]].period&&Oi(e);return{c(){t=r.element("div"),i=r.element("p"),a=r.text(s),n=r.space(),l&&l.c(),o=r.space(),r.attr(i,"class","AccountEditLimitsTitle"),r.attr(t,"class","AccountEditLimitsBox")},m(u,c){r.insert(u,t,c),r.append(t,i),r.append(i,a),r.append(t,n),l&&l.m(t,null),r.append(t,o)},p(u,c){c[0]&278528&&s!==(s=u[18](""+u[56].period.charAt(0).toLowerCase()+u[56].period.substring(1))+"")&&r.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&&r.detach(t),l&&l.d()}}}function Bo(e){let t,i,s,a,n,o,l,u,c,p,E,v,Y=e[18]("back")+"",k,M,D,L,N=(e[1]?e[9]:"")+"",C,K,z,$,Te,W,I,me,Ye,xe,H,ie,Oe=e[18]("save")+"",B,Pe,We,je,Fe,ne,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=r.element("div"),ye&&ye.c(),i=r.space(),s=r.element("div"),a=r.svg_element("svg"),n=r.svg_element("defs"),o=r.svg_element("style"),l=r.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"),u=r.svg_element("g"),c=r.svg_element("g"),p=r.svg_element("path"),E=r.space(),v=r.element("h2"),k=r.text(Y),M=r.space(),D=r.element("div"),L=r.element("h6"),C=r.text(N),K=r.space(),z=r.element("div"),$=r.element("span"),$.textContent="i",Te=r.space(),W=r.element("player-account-gaming-limits-popup"),I=r.space(),q&&q.c(),me=r.space(),Z&&Z.c(),Ye=r.space(),J&&J.c(),xe=r.space(),H=r.element("div"),ie=r.element("button"),B=r.text(Oe),je=r.space(),Fe=r.element("player-account-modal"),ne=r.element("player-account-gaming-limits-confirmation-modal"),r.attr(p,"class","aaa"),r.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"),r.attr(p,"transform","translate(15 15) rotate(180)"),r.attr(c,"transform","translate(20 158)"),r.attr(u,"transform","translate(-20 -158)"),r.attr(a,"xmlns","http://www.w3.org/2000/svg"),r.attr(a,"width","20"),r.attr(a,"height","20"),r.attr(a,"viewBox","0 0 15 15"),r.attr(v,"class","MyAccountCategoryTitle "+(e[19]?"MyAccountCategoryTitleNone":"")),r.attr(s,"class","MenuReturnButton "+(e[19]?"MyAccountCategoryTitleNone":"")),r.attr($,"class","AccountEditLimitsIcon"),r.set_custom_element_data(W,"showpopup",e[7]),r.set_custom_element_data(W,"lang",e[0]),r.attr(z,"class","AccountEditLimitsIconWrapper"),r.attr(D,"class","AccountEditLimitsHeader"),r.attr(ie,"class",Pe="AccountEditLimitsSaveButton "+(e[15]?"":"AccountEditLimitsButtonDisabled")),ie.disabled=We=!e[15],r.attr(H,"class","AccountEditLimitsControlArea"),r.attr(t,"class","AccountEditLimitsWrapper "+(e[19]?"AccountEditLimitsMobileWrapper":"")),r.set_custom_element_data(ne,"modaltext",e[12]),r.set_custom_element_data(ne,"modalsource","groupEdit"),r.set_custom_element_data(ne,"lang",e[0])},m(O,j){r.insert(O,t,j),ye&&ye.m(t,null),r.append(t,i),r.append(t,s),r.append(s,a),r.append(a,n),r.append(n,o),r.append(o,l),r.append(a,u),r.append(u,c),r.append(c,p),r.append(s,E),r.append(s,v),r.append(v,k),r.append(t,M),r.append(t,D),r.append(D,L),r.append(L,C),r.append(D,K),r.append(D,z),r.append(z,$),r.append(z,Te),r.append(z,W),r.append(t,I),q&&q.m(t,null),r.append(t,me),Z&&Z.m(t,null),r.append(t,Ye),J&&J.m(t,null),r.append(t,xe),r.append(t,H),r.append(H,ie),r.append(ie,B),e[33](t),r.insert(O,je,j),r.insert(O,Fe,j),r.append(Fe,ne),Ee||(ut=[r.listen(s,"click",e[22]),r.listen($,"click",r.prevent_default(e[21])),r.listen(ie,"click",e[32])],Ee=!0)},p(O,j){O[19]&&ye.p(O,j),j[0]&262144&&Y!==(Y=O[18]("back")+"")&&r.set_data(k,Y),j[0]&514&&N!==(N=(O[1]?O[9]:"")+"")&&r.set_data(C,N),j[0]&128&&r.set_custom_element_data(W,"showpopup",O[7]),j[0]&1&&r.set_custom_element_data(W,"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")+"")&&r.set_data(B,Oe),j[0]&32768&&Pe!==(Pe="AccountEditLimitsSaveButton "+(O[15]?"":"AccountEditLimitsButtonDisabled"))&&r.attr(ie,"class",Pe),j[0]&32768&&We!==(We=!O[15])&&(ie.disabled=We),j[0]&4096&&r.set_custom_element_data(ne,"modaltext",O[12]),j[0]&1&&r.set_custom_element_data(ne,"lang",O[0])},i:r.noop,o:r.noop,d(O){O&&(r.detach(t),r.detach(je),r.detach(Fe)),ye&&ye.d(),q&&q.d(),Z&&Z.d(),J&&J.d(),e[33](null),Ee=!1,r.run_all(ut)}}}function qo(e,t,i){let s;r.component_subscribe(e,r.$format,m=>i(18,s=m));let{limitsdata:a=[]}=t,{showsuccessnotification:n=!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="",C=!1,K=0,z=0,$="",Te=window.navigator.userAgent,W=r.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}],Pe=[{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"]}],We=[{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 ne=new Map([["Deposit Limit","depositLimits"],["Time Limit","cumulativeSessionLimits"],["Wagering Limit","wageringLimits"],["Loss Limit","lossLimits"]]),Ee=new Map([["Deposit Limit",Pe],["Time Limit",Fe],["Wagering Limit",We],["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(C){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={[ne.get(k)]:[...Ye]}:m={[ne.get(k)]:[...me]},Ye.length=0,window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:m,limitsCategory:ne.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}}))},Ct=()=>{Ho(u),ci(),i(16,ie=JSON.parse(JSON.stringify(a))),i(14,me=JSON.parse(JSON.stringify(a))),xe=k==="Wagering Limit"?We:k==="Loss Limit"?je:k==="Deposit Limit"?Pe: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,""))),Ct(),i(8,L=!0);break;case"ClosePlayerAccountGamingLimitsPopup":i(7,D=!1);break;case"GamingLimitsConfirmChanges":C=!0,Z();break;case"CancelGamingLimitsChanges":i(8,L=!1),setTimeout(()=>{i(8,L=!0)},10),Ct(),i(15,H=!1),C=!1;break}},Cs=()=>{let m=document.createElement("style");m.innerHTML=p,M.appendChild(m)},As=()=>{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)})};r.onMount(()=>(window.addEventListener("message",mi,!1),()=>{window.removeEventListener("message",mi)}));function Ns(m){B[m].amount=r.select_value(this),i(17,B),i(20,Ee),i(6,k)}function xs(m){B[m].value=r.to_number(this.value),i(17,B),i(20,Ee),i(6,k)}function Ps(m){B[m].value=r.to_number(this.value),i(17,B),i(20,Ee),i(6,k)}const Ws=()=>q();function Fs(m){r.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,n=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&&n&&o&&Ct(),e.$$.dirty[0]&3,e.$$.dirty[0]&67108896&&p&&M&&Cs(),e.$$.dirty[0]&134217760&&E&&M&&As(),e.$$.dirty[0]&268435456&&v&&Y()},[u,a,n,o,l,M,k,D,L,N,K,z,$,I,me,H,ie,B,s,W,Ee,ut,ye,q,J,c,p,E,v,Ns,xs,Ps,Ws,Fs]}class Ys extends r.SvelteComponent{constructor(t){super(),r.init(this,t,qo,Bo,r.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}),r.flush()}get showsuccessnotification(){return this.$$.ctx[2]}set showsuccessnotification(t){this.$$set({showsuccessnotification:t}),r.flush()}get showdeletenotification(){return this.$$.ctx[3]}set showdeletenotification(t){this.$$set({showdeletenotification:t}),r.flush()}get playercurrency(){return this.$$.ctx[4]}set playercurrency(t){this.$$set({playercurrency:t}),r.flush()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),r.flush()}get separatelimits(){return this.$$.ctx[25]}set separatelimits(t){this.$$set({separatelimits:t}),r.flush()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(t){this.$$set({clientstyling:t}),r.flush()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),r.flush()}get translationurl(){return this.$$.ctx[28]}set translationurl(t){this.$$set({translationurl:t}),r.flush()}}r.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;
|
|
10
|
+
f.version="2.30.1";Is(x);f.fn=d;f.min=Tr;f.max=Yr;f.now=Or;f.utc=pe;f.unix=ao;f.months=no;f.isDate=rt;f.locale=Ne;f.invalid=wt;f.duration=ce;f.isMoment=de;f.weekdays=lo;f.parseZone=ro;f.localeData=Se;f.isDuration=ft;f.monthsShort=oo;f.weekdaysMin=co;f.defineLocale=ii;f.updateLocale=ar;f.locales=rr;f.weekdaysShort=uo;f.normalizeUnits=re;f.relativeTimeRounding=Ro;f.relativeTimeThreshold=Io;f.calendarFormat=en;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-C47JGdE1.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-popup")&&customElements.define("player-account-gaming-limits-popup",t.element)})}function vi(e,t){r.addMessages(e,t)}function Ho(e){r.$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"}};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-CUdeZ6ZD.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-B1H9kGBj.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){r.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,n,o,l,u,c,p,E=e[18]("back")+"",v,Y,k;return{c(){t=r.element("div"),i=r.svg_element("svg"),s=r.svg_element("defs"),a=r.svg_element("style"),n=r.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"),o=r.svg_element("g"),l=r.svg_element("g"),u=r.svg_element("path"),c=r.space(),p=r.element("h2"),v=r.text(E),r.attr(u,"class","aaa"),r.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"),r.attr(u,"transform","translate(15 15) rotate(180)"),r.attr(l,"transform","translate(20 158)"),r.attr(o,"transform","translate(-20 -158)"),r.attr(i,"xmlns","http://www.w3.org/2000/svg"),r.attr(i,"width","15"),r.attr(i,"height","15"),r.attr(i,"viewBox","0 0 15 15"),r.attr(p,"class","MyAccountCategoryTitleMobile"),r.attr(t,"class","MenuReturnButton")},m(M,D){r.insert(M,t,D),r.append(t,i),r.append(i,s),r.append(s,a),r.append(a,n),r.append(i,o),r.append(o,l),r.append(l,u),r.append(t,c),r.append(t,p),r.append(p,v),Y||(k=r.listen(t,"click",e[22]),Y=!0)},p(M,D){D[0]&262144&&E!==(E=M[18]("back")+"")&&r.set_data(v,E)},d(M){M&&r.detach(t),Y=!1,k()}}}function Li(e){let t,i,s=e[18]("success")+"",a;return{c(){t=r.element("div"),i=r.element("p"),a=r.text(s),r.attr(t,"class","AccountEditLimitSuccessfulChangeContainer")},m(n,o){r.insert(n,t,o),r.append(t,i),r.append(i,a)},p(n,o){o[0]&262144&&s!==(s=n[18]("success")+"")&&r.set_data(a,s)},d(n){n&&r.detach(t)}}}function Si(e){let t,i=r.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=r.element("div");for(let a=0;a<s.length;a+=1)s[a].c();r.attr(t,"class","AccountEditLimitSuccessfulChangeContainer")},m(a,n){r.insert(a,t,n);for(let o=0;o<s.length;o+=1)s[o]&&s[o].m(t,null)},p(a,n){if(n[0]&409600){i=r.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,n):(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&&r.detach(t),r.destroy_each(s,a)}}}function bi(e){let t,i=e[18]("remove")+"",s,a,n=(e[56].expiryDate?f(e[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"",o;return{c(){t=r.element("p"),s=r.text(i),a=r.space(),o=r.text(n)},m(l,u){r.insert(l,t,u),r.append(t,s),r.append(t,a),r.append(t,o)},p(l,u){u[0]&262144&&i!==(i=l[18]("remove")+"")&&r.set_data(s,i),u[0]&16384&&n!==(n=(l[56].expiryDate?f(l[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&r.set_data(o,n)},d(l){l&&r.detach(t)}}}function Ti(e){let t,i=e[56].period==e[17][e[58]].period&&bi(e);return{c(){i&&i.c(),t=r.empty()},m(s,a){i&&i.m(s,a),r.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&&r.detach(t),i&&i.d(s)}}}function Yi(e){let t,i,s=r.ensure_array_like(e[14]),a=[];for(let n=0;n<s.length;n+=1)a[n]=Wi(ki(e,s,n));return{c(){t=r.element("div"),i=r.element("div");for(let n=0;n<a.length;n+=1)a[n].c();r.attr(i,"class","AccountEditLimitsContainer"),r.attr(t,"class","AccountEditContent")},m(n,o){r.insert(n,t,o),r.append(t,i);for(let l=0;l<a.length;l+=1)a[l]&&a[l].m(i,null)},p(n,o){if(o[0]&18836560){s=r.ensure_array_like(n[14]);let l;for(l=0;l<s.length;l+=1){const u=ki(n,s,l);a[l]?a[l].p(u,o):(a[l]=Wi(u),a[l].c(),a[l].m(i,null))}for(;l<a.length;l+=1)a[l].d(1);a.length=s.length}},d(n){n&&r.detach(t),r.destroy_each(a,n)}}}function Oi(e){let t,i,s=e[18]("noLimit")+"",a,n,o,l,u,c,p,E,v=r.ensure_array_like(e[20].get(e[6])[e[58]].values),Y=[];for(let L=0;L<v.length;L+=1)Y[L]=Ci(Mi(e,v,L));function k(){e[29].call(t,e[58])}let M=e[17][e[58]].amount==="Custom"&&Ai(e),D=e[56].isModified===!0&&Pi(e);return{c(){t=r.element("select"),i=r.element("option"),a=r.text(s);for(let L=0;L<Y.length;L+=1)Y[L].c();o=r.space(),l=r.element("div"),M&&M.c(),u=r.space(),D&&D.c(),c=r.empty(),i.__value="",r.set_input_value(i,i.__value),i.disabled=!0,i.selected=!0,i.hidden=!0,r.attr(t,"class","AccountEditField "+(e[19]?"TimeoutSelectMobile":"")),t.disabled=n=e[56].isModified===!0,e[17][e[58]].amount===void 0&&r.add_render_callback(k),r.attr(l,"class","AccountEditLimitsInputContainer")},m(L,N){r.insert(L,t,N),r.append(t,i),r.append(i,a);for(let C=0;C<Y.length;C+=1)Y[C]&&Y[C].m(t,null);r.select_option(t,e[17][e[58]].amount,!0),r.insert(L,o,N),r.insert(L,l,N),M&&M.m(l,null),r.insert(L,u,N),D&&D.m(L,N),r.insert(L,c,N),p||(E=[r.listen(t,"change",k),r.listen(t,"change",function(){r.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")+"")&&r.set_data(a,s),N[0]&1048656){v=r.ensure_array_like(e[20].get(e[6])[e[58]].values);let C;for(C=0;C<v.length;C+=1){const K=Mi(e,v,C);Y[C]?Y[C].p(K,N):(Y[C]=Ci(K),Y[C].c(),Y[C].m(t,null))}for(;C<Y.length;C+=1)Y[C].d(1);Y.length=v.length}N[0]&16384&&n!==(n=e[56].isModified===!0)&&(t.disabled=n),N[0]&1179712&&r.select_option(t,e[17][e[58]].amount),e[17][e[58]].amount==="Custom"?M?M.p(e,N):(M=Ai(e),M.c(),M.m(l,null)):M&&(M.d(1),M=null),e[56].isModified===!0?D?D.p(e,N):(D=Pi(e),D.c(),D.m(c.parentNode,c)):D&&(D.d(1),D=null)},d(L){L&&(r.detach(t),r.detach(o),r.detach(l),r.detach(u),r.detach(c)),r.destroy_each(Y,L),M&&M.d(),D&&D.d(L),p=!1,r.run_all(E)}}}function Ei(e){let t=(e[6]!=="Time Limit"?e[4]:" minutes")+"",i;return{c(){i=r.text(t)},m(s,a){r.insert(s,i,a)},p(s,a){a[0]&80&&t!==(t=(s[6]!=="Time Limit"?s[4]:" minutes")+"")&&r.set_data(i,t)},d(s){s&&r.detach(i)}}}function Ci(e){let t,i=e[59]+"",s,a,n,o,l=e[59]!=="No limit"&&e[59]!=="Custom"&&Ei(e);return{c(){t=r.element("option"),s=r.text(i),a=r.space(),l&&l.c(),n=r.space(),t.__value=o=e[59],r.set_input_value(t,t.__value)},m(u,c){r.insert(u,t,c),r.append(t,s),r.append(t,a),l&&l.m(t,null),r.append(t,n)},p(u,c){c[0]&64&&i!==(i=u[59]+"")&&r.set_data(s,i),u[59]!=="No limit"&&u[59]!=="Custom"?l?l.p(u,c):(l=Ei(u),l.c(),l.m(t,n)):l&&(l.d(1),l=null),c[0]&64&&o!==(o=u[59])&&(t.__value=o,r.set_input_value(t,t.__value))},d(u){u&&r.detach(t),l&&l.d()}}}function Ai(e){let t;function i(n,o){return n[6]!=="Time Limit"?zo:Go}let s=i(e),a=s(e);return{c(){a.c(),t=r.empty()},m(n,o){a.m(n,o),r.insert(n,t,o)},p(n,o){s===(s=i(n))&&a?a.p(n,o):(a.d(1),a=s(n),a&&(a.c(),a.m(t.parentNode,t)))},d(n){n&&r.detach(t),a.d(n)}}}function Go(e){let t,i,s,a,n,o;function l(){e[31].call(t,e[58])}let u=e[13][e[58]]==1&&Ni(e);return{c(){t=r.element("input"),s=r.space(),a=r.element("p"),u&&u.c(),r.attr(t,"type","number"),r.attr(t,"class","AccountEditField AccountEditFieldCustom"),t.disabled=i=e[56].isModified===!0,r.attr(a,"class","AccountEditWarningText")},m(c,p){r.insert(c,t,p),r.set_input_value(t,e[17][e[58]].value),r.insert(c,s,p),r.insert(c,a,p),u&&u.m(a,null),n||(o=[r.listen(t,"keyup",function(){r.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)}),r.listen(t,"input",l)],n=!0)},p(c,p){e=c,p[0]&16384&&i!==(i=e[56].isModified===!0)&&(t.disabled=i),p[0]&1179712&&r.to_number(t.value)!==e[17][e[58]].value&&r.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&&(r.detach(t),r.detach(s),r.detach(a)),u&&u.d(),n=!1,r.run_all(o)}}}function zo(e){let t,i,s,a,n,o;function l(){e[30].call(t,e[58])}let u=e[13][e[58]]==1&&xi(e);return{c(){t=r.element("input"),s=r.space(),a=r.element("p"),u&&u.c(),r.attr(t,"type","number"),r.attr(t,"class","AccountEditField AccountEditFieldCustom"),t.disabled=i=e[56].isModified===!0,r.attr(a,"class","AccountEditWarningText")},m(c,p){r.insert(c,t,p),r.set_input_value(t,e[17][e[58]].value),r.insert(c,s,p),r.insert(c,a,p),u&&u.m(a,null),n||(o=[r.listen(t,"keyup",function(){r.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)}),r.listen(t,"input",l)],n=!0)},p(c,p){e=c,p[0]&16384&&i!==(i=e[56].isModified===!0)&&(t.disabled=i),p[0]&1179712&&r.to_number(t.value)!==e[17][e[58]].value&&r.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&&(r.detach(t),r.detach(s),r.detach(a)),u&&u.d(),n=!1,r.run_all(o)}}}function Ni(e){let t,i=e[18]("invalidInputMessageTime",{values:{minTime:e[10],maxTime:e[11]}})+"",s;return{c(){t=r.element("p"),s=r.text(i),r.attr(t,"class","InvalidInput")},m(a,n){r.insert(a,t,n),r.append(t,s)},p(a,n){n[0]&265216&&i!==(i=a[18]("invalidInputMessageTime",{values:{minTime:a[10],maxTime:a[11]}})+"")&&r.set_data(s,i)},d(a){a&&r.detach(t)}}}function xi(e){let t,i=e[18]("invalidInputMessageLimit")+"",s;return{c(){t=r.element("p"),s=r.text(i),r.attr(t,"class","InvalidInput")},m(a,n){r.insert(a,t,n),r.append(t,s)},p(a,n){n[0]&262144&&i!==(i=a[18]("invalidInputMessageLimit")+"")&&r.set_data(s,i)},d(a){a&&r.detach(t)}}}function Pi(e){let t,i=e[18]("expirationDate")+"",s,a,n,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,C=(e[56].minutes!==void 0?" minutes":e[4])+"",K,z,$=e[18]("changedLimitTextAfter")+"",Te;return{c(){t=r.element("p"),s=r.text(i),a=r.space(),n=r.element("span"),l=r.text(o),u=r.space(),c=r.element("div"),p=r.element("p"),E=r.element("span"),E.textContent="i",v=r.element("span"),k=r.text(Y),M=r.space(),L=r.text(D),N=r.space(),K=r.text(C),z=r.text(". "),Te=r.text($),r.attr(t,"class","AccountEditLimitsExpiryDate"),r.attr(E,"class","AccountEditLimitChangePeriodIcon"),r.attr(c,"class","AccountEditLimitsPeriodChangeContainer")},m(W,I){r.insert(W,t,I),r.append(t,s),r.append(t,a),r.append(t,n),r.append(n,l),r.insert(W,u,I),r.insert(W,c,I),r.append(c,p),r.append(p,E),r.append(p,v),r.append(v,k),r.append(v,M),r.append(v,L),r.append(v,N),r.append(v,K),r.append(v,z),r.append(v,Te)},p(W,I){I[0]&262144&&i!==(i=W[18]("expirationDate")+"")&&r.set_data(s,i),I[0]&16384&&o!==(o=(W[56].expiryDate?f(W[56].expiryDate).format("D/M/YYYY - h:mm A"):"N/A")+"")&&r.set_data(l,o),I[0]&262144&&Y!==(Y=W[18]("changedLimitTextBefore")+"")&&r.set_data(k,Y),I[0]&16384&&D!==(D=(W[56].updateAmount>0?W[56].updateAmount:0)+"")&&r.set_data(L,D),I[0]&16400&&C!==(C=(W[56].minutes!==void 0?" minutes":W[4])+"")&&r.set_data(K,C),I[0]&262144&&$!==($=W[18]("changedLimitTextAfter")+"")&&r.set_data(Te,$)},d(W){W&&(r.detach(t),r.detach(u),r.detach(c))}}}function Wi(e){let t,i,s=e[18](""+e[56].period.charAt(0).toLowerCase()+e[56].period.substring(1))+"",a,n,o,l=e[56].period==e[17][e[58]].period&&Oi(e);return{c(){t=r.element("div"),i=r.element("p"),a=r.text(s),n=r.space(),l&&l.c(),o=r.space(),r.attr(i,"class","AccountEditLimitsTitle"),r.attr(t,"class","AccountEditLimitsBox")},m(u,c){r.insert(u,t,c),r.append(t,i),r.append(i,a),r.append(t,n),l&&l.m(t,null),r.append(t,o)},p(u,c){c[0]&278528&&s!==(s=u[18](""+u[56].period.charAt(0).toLowerCase()+u[56].period.substring(1))+"")&&r.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&&r.detach(t),l&&l.d()}}}function Bo(e){let t,i,s,a,n,o,l,u,c,p,E,v,Y=e[18]("back")+"",k,M,D,L,N=(e[1]?e[9]:"")+"",C,K,z,$,Te,W,I,me,Ye,xe,H,ie,Oe=e[18]("save")+"",B,Pe,We,je,Fe,ne,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=r.element("div"),ye&&ye.c(),i=r.space(),s=r.element("div"),a=r.svg_element("svg"),n=r.svg_element("defs"),o=r.svg_element("style"),l=r.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"),u=r.svg_element("g"),c=r.svg_element("g"),p=r.svg_element("path"),E=r.space(),v=r.element("h2"),k=r.text(Y),M=r.space(),D=r.element("div"),L=r.element("h6"),C=r.text(N),K=r.space(),z=r.element("div"),$=r.element("span"),$.textContent="i",Te=r.space(),W=r.element("player-account-gaming-limits-popup"),I=r.space(),q&&q.c(),me=r.space(),Z&&Z.c(),Ye=r.space(),J&&J.c(),xe=r.space(),H=r.element("div"),ie=r.element("button"),B=r.text(Oe),je=r.space(),Fe=r.element("player-account-modal"),ne=r.element("player-account-gaming-limits-confirmation-modal"),r.attr(p,"class","aaa"),r.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"),r.attr(p,"transform","translate(15 15) rotate(180)"),r.attr(c,"transform","translate(20 158)"),r.attr(u,"transform","translate(-20 -158)"),r.attr(a,"xmlns","http://www.w3.org/2000/svg"),r.attr(a,"width","20"),r.attr(a,"height","20"),r.attr(a,"viewBox","0 0 15 15"),r.attr(v,"class","MyAccountCategoryTitle "+(e[19]?"MyAccountCategoryTitleNone":"")),r.attr(s,"class","MenuReturnButton "+(e[19]?"MyAccountCategoryTitleNone":"")),r.attr($,"class","AccountEditLimitsIcon"),r.set_custom_element_data(W,"showpopup",e[7]),r.set_custom_element_data(W,"lang",e[0]),r.attr(z,"class","AccountEditLimitsIconWrapper"),r.attr(D,"class","AccountEditLimitsHeader"),r.attr(ie,"class",Pe="AccountEditLimitsSaveButton "+(e[15]?"":"AccountEditLimitsButtonDisabled")),ie.disabled=We=!e[15],r.attr(H,"class","AccountEditLimitsControlArea"),r.attr(t,"class","AccountEditLimitsWrapper "+(e[19]?"AccountEditLimitsMobileWrapper":"")),r.set_custom_element_data(ne,"modaltext",e[12]),r.set_custom_element_data(ne,"modalsource","groupEdit"),r.set_custom_element_data(ne,"lang",e[0])},m(O,j){r.insert(O,t,j),ye&&ye.m(t,null),r.append(t,i),r.append(t,s),r.append(s,a),r.append(a,n),r.append(n,o),r.append(o,l),r.append(a,u),r.append(u,c),r.append(c,p),r.append(s,E),r.append(s,v),r.append(v,k),r.append(t,M),r.append(t,D),r.append(D,L),r.append(L,C),r.append(D,K),r.append(D,z),r.append(z,$),r.append(z,Te),r.append(z,W),r.append(t,I),q&&q.m(t,null),r.append(t,me),Z&&Z.m(t,null),r.append(t,Ye),J&&J.m(t,null),r.append(t,xe),r.append(t,H),r.append(H,ie),r.append(ie,B),e[33](t),r.insert(O,je,j),r.insert(O,Fe,j),r.append(Fe,ne),Ee||(ut=[r.listen(s,"click",e[22]),r.listen($,"click",r.prevent_default(e[21])),r.listen(ie,"click",e[32])],Ee=!0)},p(O,j){O[19]&&ye.p(O,j),j[0]&262144&&Y!==(Y=O[18]("back")+"")&&r.set_data(k,Y),j[0]&514&&N!==(N=(O[1]?O[9]:"")+"")&&r.set_data(C,N),j[0]&128&&r.set_custom_element_data(W,"showpopup",O[7]),j[0]&1&&r.set_custom_element_data(W,"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")+"")&&r.set_data(B,Oe),j[0]&32768&&Pe!==(Pe="AccountEditLimitsSaveButton "+(O[15]?"":"AccountEditLimitsButtonDisabled"))&&r.attr(ie,"class",Pe),j[0]&32768&&We!==(We=!O[15])&&(ie.disabled=We),j[0]&4096&&r.set_custom_element_data(ne,"modaltext",O[12]),j[0]&1&&r.set_custom_element_data(ne,"lang",O[0])},i:r.noop,o:r.noop,d(O){O&&(r.detach(t),r.detach(je),r.detach(Fe)),ye&&ye.d(),q&&q.d(),Z&&Z.d(),J&&J.d(),e[33](null),Ee=!1,r.run_all(ut)}}}function qo(e,t,i){let s;r.component_subscribe(e,r.$format,m=>i(18,s=m));let{limitsdata:a=[]}=t,{showsuccessnotification:n=!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="",C=!1,K=0,z=0,$="",Te=window.navigator.userAgent,W=r.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}],Pe=[{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"]}],We=[{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 ne=new Map([["Deposit Limit","depositLimits"],["Time Limit","cumulativeSessionLimits"],["Wagering Limit","wageringLimits"],["Loss Limit","lossLimits"]]),Ee=new Map([["Deposit Limit",Pe],["Time Limit",Fe],["Wagering Limit",We],["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(C){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={[ne.get(k)]:[...Ye]}:m={[ne.get(k)]:[...me]},Ye.length=0,window.postMessage({type:"PlayerAccountGamingLimitsUpdate",payload:m,limitsCategory:ne.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}}))},Ct=()=>{Ho(u),ci(),i(16,ie=JSON.parse(JSON.stringify(a))),i(14,me=JSON.parse(JSON.stringify(a))),xe=k==="Wagering Limit"?We:k==="Loss Limit"?je:k==="Deposit Limit"?Pe: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,""))),Ct(),i(8,L=!0);break;case"ClosePlayerAccountGamingLimitsPopup":i(7,D=!1);break;case"GamingLimitsConfirmChanges":C=!0,Z();break;case"CancelGamingLimitsChanges":i(8,L=!1),setTimeout(()=>{i(8,L=!0)},10),Ct(),i(15,H=!1),C=!1;break}},Cs=()=>{let m=document.createElement("style");m.innerHTML=p,M.appendChild(m)},As=()=>{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)})};r.onMount(()=>(window.addEventListener("message",mi,!1),()=>{window.removeEventListener("message",mi)}));function Ns(m){B[m].amount=r.select_value(this),i(17,B),i(20,Ee),i(6,k)}function xs(m){B[m].value=r.to_number(this.value),i(17,B),i(20,Ee),i(6,k)}function Ps(m){B[m].value=r.to_number(this.value),i(17,B),i(20,Ee),i(6,k)}const Ws=()=>q();function Fs(m){r.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,n=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&&n&&o&&Ct(),e.$$.dirty[0]&3,e.$$.dirty[0]&67108896&&p&&M&&Cs(),e.$$.dirty[0]&134217760&&E&&M&&As(),e.$$.dirty[0]&268435456&&v&&Y()},[u,a,n,o,l,M,k,D,L,N,K,z,$,I,me,H,ie,B,s,W,Ee,ut,ye,q,J,c,p,E,v,Ns,xs,Ps,Ws,Fs]}class Ys extends r.SvelteComponent{constructor(t){super(),r.init(this,t,qo,Bo,r.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}),r.flush()}get showsuccessnotification(){return this.$$.ctx[2]}set showsuccessnotification(t){this.$$set({showsuccessnotification:t}),r.flush()}get showdeletenotification(){return this.$$.ctx[3]}set showdeletenotification(t){this.$$set({showdeletenotification:t}),r.flush()}get playercurrency(){return this.$$.ctx[4]}set playercurrency(t){this.$$set({playercurrency:t}),r.flush()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),r.flush()}get separatelimits(){return this.$$.ctx[25]}set separatelimits(t){this.$$set({separatelimits:t}),r.flush()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(t){this.$$set({clientstyling:t}),r.flush()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),r.flush()}get translationurl(){return this.$$.ctx[28]}set translationurl(t){this.$$set({translationurl:t}),r.flush()}}r.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;
|