@everymatrix/player-account-controller 1.90.35 → 1.90.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/components/{GeneralLogout-CCnbq4j4.cjs → GeneralLogout-DwUKWQEM.cjs} +1 -1
  2. package/components/{GeneralLogout-zlXCb1M0.js → GeneralLogout-RtZ56Nn3.js} +1 -1
  3. package/components/{GeneralLogout-QxdjPsV-.js → GeneralLogout-WQPZo1XA.js} +1 -1
  4. package/components/{PlayerAccountBettingHistory-CFQjCgpA.cjs → PlayerAccountBettingHistory-B73xqRDd.cjs} +1 -1
  5. package/components/{PlayerAccountBettingHistory-Cv50dv45.js → PlayerAccountBettingHistory-CmbPT188.js} +1 -1
  6. package/components/{PlayerAccountBettingHistory-CDo4Cd9k.js → PlayerAccountBettingHistory-CvFZhJr5.js} +1 -1
  7. package/components/{PlayerAccountBiometrics-C5A2RpZw.cjs → PlayerAccountBiometrics-8QlKdliQ.cjs} +1 -1
  8. package/components/{PlayerAccountBiometrics-DdUP9tJZ.js → PlayerAccountBiometrics-DPDH3rze.js} +2 -2
  9. package/components/{PlayerAccountBiometrics-lC80sqbl.js → PlayerAccountBiometrics-NfD7xlui.js} +2 -2
  10. package/components/{PlayerAccountBiometricsAction-CNkuUl4o.js → PlayerAccountBiometricsAction-Cerl0hxM.js} +1 -1
  11. package/components/{PlayerAccountBiometricsAction-VKSOm5kJ.js → PlayerAccountBiometricsAction-DfVIWqGO.js} +1 -1
  12. package/components/{PlayerAccountBiometricsAction-DLPbRFkz.cjs → PlayerAccountBiometricsAction-oyPYqpGN.cjs} +1 -1
  13. package/components/{PlayerAccountClosure-C9XWXaA2.js → PlayerAccountClosure-CaVbfY7o.js} +1 -1
  14. package/components/{PlayerAccountClosure-CGbyWv8X.js → PlayerAccountClosure-DNkokDK1.js} +1 -1
  15. package/components/{PlayerAccountClosure-UhEP3rPL.cjs → PlayerAccountClosure-wcTZTC1v.cjs} +1 -1
  16. package/components/{PlayerAccountController-BanZIe9X.cjs → PlayerAccountController-DErgObNK.cjs} +1 -1
  17. package/components/{PlayerAccountController-KEPBEjsM.js → PlayerAccountController-DG3KbTWa.js} +22 -22
  18. package/components/{PlayerAccountController-yWPBVx8j.js → PlayerAccountController-DyqNYFxa.js} +22 -22
  19. package/components/{PlayerAccountGamingLimits-CitxAMmV.js → PlayerAccountGamingLimits-C92dYqb3.js} +2 -2
  20. package/components/{PlayerAccountGamingLimits-CEkcjbJK.js → PlayerAccountGamingLimits-Dr2DFwJy.js} +2 -2
  21. package/components/{PlayerAccountGamingLimits-qJPAIEY8.cjs → PlayerAccountGamingLimits-Ur_9kp2o.cjs} +1 -1
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-IJgQJ_4b.cjs → PlayerAccountGamingLimitsConfirmationModal-BdKrgcP9.cjs} +1 -1
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-_t7ldlON.js → PlayerAccountGamingLimitsConfirmationModal-DzSs9Wlh.js} +1 -1
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-TyL9h5p9.js → PlayerAccountGamingLimitsConfirmationModal-JoLpq5Qd.js} +1 -1
  25. package/components/{PlayerAccountGamingLimitsGroupEdit-Dhe_7L1D.js → PlayerAccountGamingLimitsGroupEdit-C61nqLfa.js} +5 -5
  26. package/components/{PlayerAccountGamingLimitsGroupEdit-CpGwzBwU.js → PlayerAccountGamingLimitsGroupEdit-CGPf2GzC.js} +5 -5
  27. package/components/{PlayerAccountGamingLimitsGroupEdit-C4mqzVEW.cjs → PlayerAccountGamingLimitsGroupEdit-CQylV_LW.cjs} +1 -1
  28. package/components/{PlayerAccountGamingLimitsHistory2-ClOs1eAO.js → PlayerAccountGamingLimitsHistory2-BntJofdm.js} +1 -1
  29. package/components/{PlayerAccountGamingLimitsHistory2-DEH1LAqx.js → PlayerAccountGamingLimitsHistory2-CEqiSFnd.js} +1 -1
  30. package/components/{PlayerAccountGamingLimitsHistory2-2jn0Z8AD.cjs → PlayerAccountGamingLimitsHistory2-DJ-Cjyp1.cjs} +1 -1
  31. package/components/{PlayerAccountGamingLimitsInfoCard-D5EzhYQj.js → PlayerAccountGamingLimitsInfoCard-Bzww1-RJ.js} +4 -4
  32. package/components/{PlayerAccountGamingLimitsInfoCard-D92jtL7A.cjs → PlayerAccountGamingLimitsInfoCard-CZcelMtY.cjs} +1 -1
  33. package/components/{PlayerAccountGamingLimitsInfoCard-BU52xlMT.js → PlayerAccountGamingLimitsInfoCard-DnWRF2MA.js} +4 -4
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-Ckh4WoQb.js → PlayerAccountGamingLimitsPage2Gm16-B-RLJAxy.js} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-B_BgHMHk.js → PlayerAccountGamingLimitsPage2Gm16-BIphnM6Y.js} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-Dg7GRC1j.cjs → PlayerAccountGamingLimitsPage2Gm16-CNA7QruD.cjs} +1 -1
  37. package/components/{PlayerAccountGamingLimitsPopup-B2fWgZku.js → PlayerAccountGamingLimitsPopup-BdBRIFfU.js} +1 -1
  38. package/components/{PlayerAccountGamingLimitsPopup-BDIjchXw.js → PlayerAccountGamingLimitsPopup-CSLlyssM.js} +1 -1
  39. package/components/{PlayerAccountGamingLimitsPopup-Be-HDj6j.cjs → PlayerAccountGamingLimitsPopup-o3iv0A6x.cjs} +1 -1
  40. package/components/{PlayerAccountGamingLimitsWrapper2-Dw8eVWbw.js → PlayerAccountGamingLimitsWrapper2-05u-l372.js} +3 -3
  41. package/components/{PlayerAccountGamingLimitsWrapper2-BrSEHJW5.cjs → PlayerAccountGamingLimitsWrapper2-DcQHUkFT.cjs} +1 -1
  42. package/components/{PlayerAccountGamingLimitsWrapper2-x4DmgOMN.js → PlayerAccountGamingLimitsWrapper2-DwZwd-hy.js} +3 -3
  43. package/components/{PlayerAccountGeneralConfirmationModal-D8gEln9g.cjs → PlayerAccountGeneralConfirmationModal-BbGVvtLY.cjs} +1 -1
  44. package/components/{PlayerAccountGeneralConfirmationModal-sk2v7J9o.js → PlayerAccountGeneralConfirmationModal-CjKLQaHH.js} +1 -1
  45. package/components/{PlayerAccountGeneralConfirmationModal-B5_LXQeP.js → PlayerAccountGeneralConfirmationModal-Cst4rd-S.js} +1 -1
  46. package/components/{PlayerAccountMenu-DAjegoRI.cjs → PlayerAccountMenu-C3slbiux.cjs} +1 -1
  47. package/components/{PlayerAccountMenu-Dz47wun3.js → PlayerAccountMenu-CdjH1gEW.js} +2 -2
  48. package/components/{PlayerAccountMenu-hXspu_S8.js → PlayerAccountMenu-Cr_HRHLF.js} +2 -2
  49. package/components/{PlayerAccountModal-FiQDdEtA.js → PlayerAccountModal-BRWjYAGu.js} +1 -1
  50. package/components/{PlayerAccountModal-U6tecPRV.js → PlayerAccountModal-C6p2KI7k.js} +1 -1
  51. package/components/{PlayerAccountModal-hjSLdPip.cjs → PlayerAccountModal-u6LegtfR.cjs} +1 -1
  52. package/components/{PlayerAccountNotifications-CCmjOTPB.js → PlayerAccountNotifications-C2A1_LCL.js} +1 -1
  53. package/components/{PlayerAccountNotifications-BVcTJ1Jh.cjs → PlayerAccountNotifications-QFoWBKny.cjs} +1 -1
  54. package/components/{PlayerAccountNotifications-D0nFm4Mx.js → PlayerAccountNotifications-tWE-aFjO.js} +1 -1
  55. package/components/{PlayerAccountProductRestriction-BPA8buZK.js → PlayerAccountProductRestriction-B0Ri7MHw.js} +3 -3
  56. package/components/{PlayerAccountProductRestriction-CE5zN5yz.js → PlayerAccountProductRestriction-DkDbBfka.js} +3 -3
  57. package/components/{PlayerAccountProductRestriction-CjriNIdD.cjs → PlayerAccountProductRestriction-HHHbDtlq.cjs} +1 -1
  58. package/components/{PlayerAccountReviewFrequency-C9Muz7jL.js → PlayerAccountReviewFrequency-CV609scj.js} +1 -1
  59. package/components/{PlayerAccountReviewFrequency-CG5EQo7h.cjs → PlayerAccountReviewFrequency-D9TTXGcO.cjs} +1 -1
  60. package/components/{PlayerAccountReviewFrequency-BEVkeUx-.js → PlayerAccountReviewFrequency-DpI_eJta.js} +1 -1
  61. package/components/{PlayerAccountSelfExclusion-DiwAaVKC.js → PlayerAccountSelfExclusion-B0jQ5C6c.js} +2 -2
  62. package/components/{PlayerAccountSelfExclusion-Bdx2yWHv.cjs → PlayerAccountSelfExclusion-B9-rTgYV.cjs} +1 -1
  63. package/components/{PlayerAccountSelfExclusion-CTTddM42.js → PlayerAccountSelfExclusion-DoGu-Fe9.js} +2 -2
  64. package/components/{PlayerAccountTimeout-N6XmZtwk.cjs → PlayerAccountTimeout-Bi1R5_Rb.cjs} +9 -9
  65. package/components/{PlayerAccountTimeout-QCTCSipK.js → PlayerAccountTimeout-CJccgvCT.js} +137 -137
  66. package/components/{PlayerAccountTimeout-fB-nbffL.js → PlayerAccountTimeout-ojIglJPR.js} +137 -137
  67. package/components/{PlayerAccountTransactionsHistory-D3DV8wNR.js → PlayerAccountTransactionsHistory-Coa29LAd.js} +4 -4
  68. package/components/{PlayerAccountTransactionsHistory-CyKriF3n.cjs → PlayerAccountTransactionsHistory-DUwj5lNk.cjs} +1 -1
  69. package/components/{PlayerAccountTransactionsHistory-Cu84ym0T.js → PlayerAccountTransactionsHistory-DjwLYkfj.js} +4 -4
  70. package/components/{PlayerActiveBonuses-BltR0g5i.js → PlayerActiveBonuses-B65W7Wz0.js} +2 -2
  71. package/components/{PlayerActiveBonuses-DaQpCaOe.cjs → PlayerActiveBonuses-BBeMkdSY.cjs} +1 -1
  72. package/components/{PlayerActiveBonuses-fHUEEtDy.js → PlayerActiveBonuses-Bx0uoqz4.js} +2 -2
  73. package/components/{PlayerBonusCard-DURUozJI.js → PlayerBonusCard-CbkfDKjT.js} +2 -2
  74. package/components/{PlayerBonusCard-CaerEGA-.js → PlayerBonusCard-CqeLHQ0G.js} +2 -2
  75. package/components/{PlayerBonusCard-DguU0z9L.cjs → PlayerBonusCard-TMDOHvnL.cjs} +1 -1
  76. package/components/{PlayerBonusHistory-Yz7g5Kjm.js → PlayerBonusHistory-7zvs9Ym9.js} +2 -2
  77. package/components/{PlayerBonusHistory-DjBfyDWD.js → PlayerBonusHistory-DwI1OKTw.js} +2 -2
  78. package/components/{PlayerBonusHistory-D6cLOPhl.cjs → PlayerBonusHistory-Mjrhaj6a.cjs} +1 -1
  79. package/components/{PlayerChangePassword-oyR_1H-1.cjs → PlayerChangePassword-BmC4EyoL.cjs} +1 -1
  80. package/components/{PlayerChangePassword-BEqBAOX9.js → PlayerChangePassword-BqjLItv0.js} +1 -1
  81. package/components/{PlayerChangePassword-CBv3Eqv4.js → PlayerChangePassword-CfFZhaXQ.js} +1 -1
  82. package/components/{PlayerDeposit-GDQU47wT.js → PlayerDeposit-Ba0qJRp2.js} +1 -1
  83. package/components/{PlayerDeposit-D7trdO6r.js → PlayerDeposit-DP8bCOdN.js} +1 -1
  84. package/components/{PlayerDeposit-DhkQI2P2.cjs → PlayerDeposit-o49phTHz.cjs} +1 -1
  85. package/components/{PlayerGamingHistory-Cn2Bve4G.js → PlayerGamingHistory-BgapmKYI.js} +3 -3
  86. package/components/{PlayerGamingHistory-tA1hZ5Fx.js → PlayerGamingHistory-DV6Slzt_.js} +3 -3
  87. package/components/{PlayerGamingHistory-XotUrX-7.cjs → PlayerGamingHistory-DvW-LsKl.cjs} +1 -1
  88. package/components/{PlayerPendingWithdrawals-1E0WXpsU.js → PlayerPendingWithdrawals-BZ62DYZ9.js} +1 -1
  89. package/components/{PlayerPendingWithdrawals-ubhyezOe.js → PlayerPendingWithdrawals-CedsWvDL.js} +1 -1
  90. package/components/{PlayerPendingWithdrawals-WXzH2JeR.cjs → PlayerPendingWithdrawals-HEjFhSrJ.cjs} +1 -1
  91. package/components/{PlayerProfileInfo-D2qkkl7z.js → PlayerProfileInfo-BDF3Bqtt.js} +1476 -1374
  92. package/components/{PlayerProfileInfo-1Iet9rF3.js → PlayerProfileInfo-DPDI61Mv.js} +1528 -1426
  93. package/components/PlayerProfileInfo-DXVRL3lh.cjs +4 -0
  94. package/components/{PlayerRealityCheck-Bno3B6Su.js → PlayerRealityCheck-CLVunEKT.js} +1 -1
  95. package/components/{PlayerRealityCheck-Nl0xVBti.cjs → PlayerRealityCheck-CMZtzPkR.cjs} +1 -1
  96. package/components/{PlayerRealityCheck-CaFzPyN-.js → PlayerRealityCheck-DgPTeJe_.js} +1 -1
  97. package/components/{PlayerTransactionHistory-J-8TrHbU.cjs → PlayerTransactionHistory-BEqLK737.cjs} +1 -1
  98. package/components/{PlayerTransactionHistory-4_pE8sEr.js → PlayerTransactionHistory-CHhOIZhh.js} +1 -1
  99. package/components/{PlayerTransactionHistory-DgNl-KNS.js → PlayerTransactionHistory-S0lzcu95.js} +1 -1
  100. package/components/{PlayerWithdrawal-CoYTCB-n.js → PlayerWithdrawal-BqAC-Oq4.js} +1 -1
  101. package/components/{PlayerWithdrawal-CzcTmxuA.js → PlayerWithdrawal-C46pCXyV.js} +1 -1
  102. package/components/{PlayerWithdrawal-DBHkcH7K.cjs → PlayerWithdrawal-DKCRQ9pT.cjs} +1 -1
  103. package/components/QrSessionGenerator--jEOQTub.cjs +8 -0
  104. package/components/QrSessionGenerator-BkFSg0GV.js +1773 -0
  105. package/components/QrSessionGenerator-DgIh_dAl.js +1790 -0
  106. package/es2015/player-account-controller.cjs +1 -1
  107. package/es2015/player-account-controller.js +1 -1
  108. package/esnext/player-account-controller.js +1 -1
  109. package/package.json +1 -1
  110. package/components/PlayerProfileInfo-oHLN3Vq_.cjs +0 -4
@@ -1,4 +1,4 @@
1
- "use strict";var vr=Object.defineProperty,br=Object.defineProperties;var wr=Object.getOwnPropertyDescriptors;var Yi=Object.getOwnPropertySymbols;var xr=Object.prototype.hasOwnProperty,Cr=Object.prototype.propertyIsEnumerable;var Wi=(o,t,e)=>t in o?vr(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,St=(o,t)=>{for(var e in t||(t={}))xr.call(t,e)&&Wi(o,e,t[e]);if(Yi)for(var e of Yi(t))Cr.call(t,e)&&Wi(o,e,t[e]);return o},Ot=(o,t)=>br(o,wr(t));var at=(o,t,e)=>new Promise((i,s)=>{var r=l=>{try{a(e.next(l))}catch(u){s(u)}},n=l=>{try{a(e.throw(l))}catch(u){s(u)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(r,n);a((e=e.apply(o,t)).next())});const d=require("./PlayerAccountController-BanZIe9X.cjs");require("../stencil/ui-skeleton-CS05SPLQ.cjs");/**
1
+ "use strict";var vr=Object.defineProperty,br=Object.defineProperties;var wr=Object.getOwnPropertyDescriptors;var Yi=Object.getOwnPropertySymbols;var xr=Object.prototype.hasOwnProperty,Cr=Object.prototype.propertyIsEnumerable;var Wi=(o,t,e)=>t in o?vr(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,St=(o,t)=>{for(var e in t||(t={}))xr.call(t,e)&&Wi(o,e,t[e]);if(Yi)for(var e of Yi(t))Cr.call(t,e)&&Wi(o,e,t[e]);return o},Ot=(o,t)=>br(o,wr(t));var at=(o,t,e)=>new Promise((i,s)=>{var r=l=>{try{a(e.next(l))}catch(u){s(u)}},n=l=>{try{a(e.throw(l))}catch(u){s(u)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(r,n);a((e=e.apply(o,t)).next())});const d=require("./PlayerAccountController-DErgObNK.cjs");require("../stencil/ui-skeleton-CS05SPLQ.cjs");/**
2
2
  * @license
3
3
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -20,7 +20,7 @@
20
20
  * SPDX-License-Identifier: BSD-3-Clause
21
21
  */const Ge=globalThis,Xi=o=>o,mt=Ge.trustedTypes,Zi=mt?mt.createPolicy("lit-html",{createHTML:o=>o}):void 0,Ko="$lit$",he=`lit$${Math.random().toFixed(9).slice(2)}$`,Go="?"+he,Ir=`<${Go}>`,Te=document,Xe=()=>Te.createComment(""),Ze=o=>o===null||typeof o!="object"&&typeof o!="function",Ci=Array.isArray,Nr=o=>Ci(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",It=`[
22
22
  \f\r]`,Be=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qi=/-->/g,eo=/>/g,ye=RegExp(`>|${It}(?:([^\\s"'>=/]+)(${It}*=${It}*(?:[^
23
- \f\r"'\`<>=]|("|')|))|$)`,"g"),to=/'/g,io=/"/g,Jo=/^(?:script|style|textarea|title)$/i,Fe=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),oo=new WeakMap,ve=Te.createTreeWalker(Te,129);function Xo(o,t){if(!Ci(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Zi!==void 0?Zi.createHTML(t):t}const Fr=(o,t)=>{const e=o.length-1,i=[];let s,r=t===2?"<svg>":t===3?"<math>":"",n=Be;for(let a=0;a<e;a++){const l=o[a];let u,c,h=-1,p=0;for(;p<l.length&&(n.lastIndex=p,c=n.exec(l),c!==null);)p=n.lastIndex,n===Be?c[1]==="!--"?n=Qi:c[1]!==void 0?n=eo:c[2]!==void 0?(Jo.test(c[2])&&(s=RegExp("</"+c[2],"g")),n=ye):c[3]!==void 0&&(n=ye):n===ye?c[0]===">"?(n=s!=null?s:Be,h=-1):c[1]===void 0?h=-2:(h=n.lastIndex-c[2].length,u=c[1],n=c[3]===void 0?ye:c[3]==='"'?io:to):n===io||n===to?n=ye:n===Qi||n===eo?n=Be:(n=ye,s=void 0);const f=n===ye&&o[a+1].startsWith("/>")?" ":"";r+=n===Be?l+Ir:h>=0?(i.push(u),l.slice(0,h)+Ko+l.slice(h)+he+f):l+he+(h===-2?a:f)}return[Xo(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]};class Qe{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[u,c]=Fr(t,e);if(this.el=Qe.createElement(u,i),ve.currentNode=this.el.content,e===2||e===3){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(s=ve.nextNode())!==null&&l.length<a;){if(s.nodeType===1){if(s.hasAttributes())for(const h of s.getAttributeNames())if(h.endsWith(Ko)){const p=c[n++],f=s.getAttribute(h).split(he),_=/([.?@])?(.*)/.exec(p);l.push({type:1,index:r,name:_[2],strings:f,ctor:_[1]==="."?Lr:_[1]==="?"?$r:_[1]==="@"?Rr:Ct}),s.removeAttribute(h)}else h.startsWith(he)&&(l.push({type:6,index:r}),s.removeAttribute(h));if(Jo.test(s.tagName)){const h=s.textContent.split(he),p=h.length-1;if(p>0){s.textContent=mt?mt.emptyScript:"";for(let f=0;f<p;f++)s.append(h[f],Xe()),ve.nextNode(),l.push({type:2,index:++r});s.append(h[p],Xe())}}}else if(s.nodeType===8)if(s.data===Go)l.push({type:2,index:r});else{let h=-1;for(;(h=s.data.indexOf(he,h+1))!==-1;)l.push({type:7,index:r}),h+=he.length-1}r++}}static createElement(t,e){const i=Te.createElement("template");return i.innerHTML=t,i}}function ze(o,t,e=o,i){var n,a,l;if(t===Fe)return t;let s=i!==void 0?(n=e._$Co)==null?void 0:n[i]:e._$Cl;const r=Ze(t)?void 0:t._$litDirective$;return(s==null?void 0:s.constructor)!==r&&((a=s==null?void 0:s._$AO)==null||a.call(s,!1),r===void 0?s=void 0:(s=new r(o),s._$AT(o,e,i)),i!==void 0?((l=e._$Co)!=null?l:e._$Co=[])[i]=s:e._$Cl=s),s!==void 0&&(t=ze(o,s._$AS(o,t.values),s,i)),t}class zr{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var u;const{el:{content:e},parts:i}=this._$AD,s=((u=t==null?void 0:t.creationScope)!=null?u:Te).importNode(e,!0);ve.currentNode=s;let r=ve.nextNode(),n=0,a=0,l=i[0];for(;l!==void 0;){if(n===l.index){let c;l.type===2?c=new nt(r,r.nextSibling,this,t):l.type===1?c=new l.ctor(r,l.name,l.strings,this,t):l.type===6&&(c=new Hr(r,this,t)),this._$AV.push(c),l=i[++a]}n!==(l==null?void 0:l.index)&&(r=ve.nextNode(),n++)}return ve.currentNode=Te,s}p(t){let e=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class nt{get _$AU(){var t,e;return(e=(t=this._$AM)==null?void 0:t._$AU)!=null?e:this._$Cv}constructor(t,e,i,s){var r;this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cv=(r=s==null?void 0:s.isConnected)!=null?r:!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ze(this,t,e),Ze(t)?t===Y||t==null||t===""?(this._$AH!==Y&&this._$AR(),this._$AH=Y):t!==this._$AH&&t!==Fe&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Nr(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==Y&&Ze(this._$AH)?this._$AA.nextSibling.data=t:this.T(Te.createTextNode(t)),this._$AH=t}$(t){var r;const{values:e,_$litType$:i}=t,s=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=Qe.createElement(Xo(i.h,i.h[0]),this.options)),i);if(((r=this._$AH)==null?void 0:r._$AD)===s)this._$AH.p(e);else{const n=new zr(s,this),a=n.u(this.options);n.p(e),this.T(a),this._$AH=n}}_$AC(t){let e=oo.get(t.strings);return e===void 0&&oo.set(t.strings,e=new Qe(t)),e}k(t){Ci(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const r of t)s===e.length?e.push(i=new nt(this.O(Xe()),this.O(Xe()),this,this.options)):i=e[s],i._$AI(r),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,e);t!==this._$AB;){const s=Xi(t).nextSibling;Xi(t).remove(),t=s}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class Ct{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,s,r){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=r,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Y}_$AI(t,e=this,i,s){const r=this.strings;let n=!1;if(r===void 0)t=ze(this,t,e,0),n=!Ze(t)||t!==this._$AH&&t!==Fe,n&&(this._$AH=t);else{const a=t;let l,u;for(t=r[0],l=0;l<r.length-1;l++)u=ze(this,a[i+l],e,l),u===Fe&&(u=this._$AH[l]),n||(n=!Ze(u)||u!==this._$AH[l]),u===Y?t=Y:t!==Y&&(t+=(u!=null?u:"")+r[l+1]),this._$AH[l]=u}n&&!s&&this.j(t)}j(t){t===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}}class Lr extends Ct{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Y?void 0:t}}class $r extends Ct{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==Y)}}class Rr extends Ct{constructor(t,e,i,s,r){super(t,e,i,s,r),this.type=5}_$AI(t,e=this){var n;if((t=(n=ze(this,t,e,0))!=null?n:Y)===Fe)return;const i=this._$AH,s=t===Y&&i!==Y||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,r=t!==Y&&(i===Y||s);s&&this.element.removeEventListener(this.name,this,i),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;typeof this._$AH=="function"?this._$AH.call((i=(e=this.options)==null?void 0:e.host)!=null?i:this.element,t):this._$AH.handleEvent(t)}}class Hr{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){ze(this,t)}}const Nt=Ge.litHtmlPolyfillSupport;var Uo;Nt==null||Nt(Qe,nt),((Uo=Ge.litHtmlVersions)!=null?Uo:Ge.litHtmlVersions=[]).push("3.3.2");const Br=(o,t,e)=>{var r,n;const i=(r=e==null?void 0:e.renderBefore)!=null?r:t;let s=i._$litPart$;if(s===void 0){const a=(n=e==null?void 0:e.renderBefore)!=null?n:null;i._$litPart$=s=new nt(t.insertBefore(Xe(),a),a,void 0,e!=null?e:{})}return s._$AI(o),s};/**
23
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),to=/'/g,io=/"/g,Jo=/^(?:script|style|textarea|title)$/i,Fe=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),oo=new WeakMap,ve=Te.createTreeWalker(Te,129);function Xo(o,t){if(!Ci(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Zi!==void 0?Zi.createHTML(t):t}const Fr=(o,t)=>{const e=o.length-1,i=[];let s,r=t===2?"<svg>":t===3?"<math>":"",n=Be;for(let a=0;a<e;a++){const l=o[a];let u,c,h=-1,p=0;for(;p<l.length&&(n.lastIndex=p,c=n.exec(l),c!==null);)p=n.lastIndex,n===Be?c[1]==="!--"?n=Qi:c[1]!==void 0?n=eo:c[2]!==void 0?(Jo.test(c[2])&&(s=RegExp("</"+c[2],"g")),n=ye):c[3]!==void 0&&(n=ye):n===ye?c[0]===">"?(n=s!=null?s:Be,h=-1):c[1]===void 0?h=-2:(h=n.lastIndex-c[2].length,u=c[1],n=c[3]===void 0?ye:c[3]==='"'?io:to):n===io||n===to?n=ye:n===Qi||n===eo?n=Be:(n=ye,s=void 0);const m=n===ye&&o[a+1].startsWith("/>")?" ":"";r+=n===Be?l+Ir:h>=0?(i.push(u),l.slice(0,h)+Ko+l.slice(h)+he+m):l+he+(h===-2?a:m)}return[Xo(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]};class Qe{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[u,c]=Fr(t,e);if(this.el=Qe.createElement(u,i),ve.currentNode=this.el.content,e===2||e===3){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(s=ve.nextNode())!==null&&l.length<a;){if(s.nodeType===1){if(s.hasAttributes())for(const h of s.getAttributeNames())if(h.endsWith(Ko)){const p=c[n++],m=s.getAttribute(h).split(he),_=/([.?@])?(.*)/.exec(p);l.push({type:1,index:r,name:_[2],strings:m,ctor:_[1]==="."?Lr:_[1]==="?"?$r:_[1]==="@"?Rr:Ct}),s.removeAttribute(h)}else h.startsWith(he)&&(l.push({type:6,index:r}),s.removeAttribute(h));if(Jo.test(s.tagName)){const h=s.textContent.split(he),p=h.length-1;if(p>0){s.textContent=mt?mt.emptyScript:"";for(let m=0;m<p;m++)s.append(h[m],Xe()),ve.nextNode(),l.push({type:2,index:++r});s.append(h[p],Xe())}}}else if(s.nodeType===8)if(s.data===Go)l.push({type:2,index:r});else{let h=-1;for(;(h=s.data.indexOf(he,h+1))!==-1;)l.push({type:7,index:r}),h+=he.length-1}r++}}static createElement(t,e){const i=Te.createElement("template");return i.innerHTML=t,i}}function ze(o,t,e=o,i){var n,a,l;if(t===Fe)return t;let s=i!==void 0?(n=e._$Co)==null?void 0:n[i]:e._$Cl;const r=Ze(t)?void 0:t._$litDirective$;return(s==null?void 0:s.constructor)!==r&&((a=s==null?void 0:s._$AO)==null||a.call(s,!1),r===void 0?s=void 0:(s=new r(o),s._$AT(o,e,i)),i!==void 0?((l=e._$Co)!=null?l:e._$Co=[])[i]=s:e._$Cl=s),s!==void 0&&(t=ze(o,s._$AS(o,t.values),s,i)),t}class zr{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var u;const{el:{content:e},parts:i}=this._$AD,s=((u=t==null?void 0:t.creationScope)!=null?u:Te).importNode(e,!0);ve.currentNode=s;let r=ve.nextNode(),n=0,a=0,l=i[0];for(;l!==void 0;){if(n===l.index){let c;l.type===2?c=new nt(r,r.nextSibling,this,t):l.type===1?c=new l.ctor(r,l.name,l.strings,this,t):l.type===6&&(c=new Hr(r,this,t)),this._$AV.push(c),l=i[++a]}n!==(l==null?void 0:l.index)&&(r=ve.nextNode(),n++)}return ve.currentNode=Te,s}p(t){let e=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class nt{get _$AU(){var t,e;return(e=(t=this._$AM)==null?void 0:t._$AU)!=null?e:this._$Cv}constructor(t,e,i,s){var r;this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cv=(r=s==null?void 0:s.isConnected)!=null?r:!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ze(this,t,e),Ze(t)?t===Y||t==null||t===""?(this._$AH!==Y&&this._$AR(),this._$AH=Y):t!==this._$AH&&t!==Fe&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Nr(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==Y&&Ze(this._$AH)?this._$AA.nextSibling.data=t:this.T(Te.createTextNode(t)),this._$AH=t}$(t){var r;const{values:e,_$litType$:i}=t,s=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=Qe.createElement(Xo(i.h,i.h[0]),this.options)),i);if(((r=this._$AH)==null?void 0:r._$AD)===s)this._$AH.p(e);else{const n=new zr(s,this),a=n.u(this.options);n.p(e),this.T(a),this._$AH=n}}_$AC(t){let e=oo.get(t.strings);return e===void 0&&oo.set(t.strings,e=new Qe(t)),e}k(t){Ci(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const r of t)s===e.length?e.push(i=new nt(this.O(Xe()),this.O(Xe()),this,this.options)):i=e[s],i._$AI(r),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,e);t!==this._$AB;){const s=Xi(t).nextSibling;Xi(t).remove(),t=s}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class Ct{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,s,r){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=r,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Y}_$AI(t,e=this,i,s){const r=this.strings;let n=!1;if(r===void 0)t=ze(this,t,e,0),n=!Ze(t)||t!==this._$AH&&t!==Fe,n&&(this._$AH=t);else{const a=t;let l,u;for(t=r[0],l=0;l<r.length-1;l++)u=ze(this,a[i+l],e,l),u===Fe&&(u=this._$AH[l]),n||(n=!Ze(u)||u!==this._$AH[l]),u===Y?t=Y:t!==Y&&(t+=(u!=null?u:"")+r[l+1]),this._$AH[l]=u}n&&!s&&this.j(t)}j(t){t===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}}class Lr extends Ct{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Y?void 0:t}}class $r extends Ct{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==Y)}}class Rr extends Ct{constructor(t,e,i,s,r){super(t,e,i,s,r),this.type=5}_$AI(t,e=this){var n;if((t=(n=ze(this,t,e,0))!=null?n:Y)===Fe)return;const i=this._$AH,s=t===Y&&i!==Y||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,r=t!==Y&&(i===Y||s);s&&this.element.removeEventListener(this.name,this,i),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;typeof this._$AH=="function"?this._$AH.call((i=(e=this.options)==null?void 0:e.host)!=null?i:this.element,t):this._$AH.handleEvent(t)}}class Hr{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){ze(this,t)}}const Nt=Ge.litHtmlPolyfillSupport;var Uo;Nt==null||Nt(Qe,nt),((Uo=Ge.litHtmlVersions)!=null?Uo:Ge.litHtmlVersions=[]).push("3.3.2");const Br=(o,t,e)=>{var r,n;const i=(r=e==null?void 0:e.renderBefore)!=null?r:t;let s=i._$litPart$;if(s===void 0){const a=(n=e==null?void 0:e.renderBefore)!=null?n:null;i._$litPart$=s=new nt(t.insertBefore(Xe(),a),a,void 0,e!=null?e:{})}return s._$AI(o),s};/**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
@@ -2031,7 +2031,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2031
2031
  * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
2032
2032
  * Google as part of the polymer project is also subject to an additional IP
2033
2033
  * rights grant found at http://polymer.github.io/PATENTS.txt
2034
- */let ot=0;const st=[],I={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},Ds="__computeInfo",Jn=/[A-Z]/;function zt(o,t,e){let i=o[t];if(!i)i=o[t]={};else if(!o.hasOwnProperty(t)&&(i=o[t]=Object.create(o[t]),e))for(let s in i){let r=i[s],n=i[s]=Array(r.length);for(let a=0;a<r.length;a++)n[a]=r[a]}return i}function qe(o,t,e,i,s,r){if(t){let n=!1;const a=ot++;for(let l in e){let u=s?De(l):l,c=t[u];if(c)for(let h=0,p=c.length,f;h<p&&(f=c[h]);h++)(!f.info||f.info.lastRun!==a)&&(!s||ki(l,f.trigger))&&(f.info&&(f.info.lastRun=a),f.fn(o,l,e,i,f.info,s,r),n=!0)}return n}return!1}function Xn(o,t,e,i,s,r,n,a){let l=!1,u=n?De(i):i,c=t[u];if(c)for(let h=0,p=c.length,f;h<p&&(f=c[h]);h++)(!f.info||f.info.lastRun!==e)&&(!n||ki(i,f.trigger))&&(f.info&&(f.info.lastRun=e),f.fn(o,i,s,r,f.info,n,a),l=!0);return l}function ki(o,t){if(t){let e=t.name;return e==o||!!(t.structured&&gs(e,o))||!!(t.wildcard&&tt(e,o))}else return!0}function fo(o,t,e,i,s){let r=typeof s.method=="string"?o[s.method]:s.method,n=s.property;r?r.call(o,o.__data[n],i[n]):s.dynamicFn||console.warn("observer method `"+s.method+"` not defined")}function Zn(o,t,e,i,s){let r=o[I.NOTIFY],n,a=ot++;for(let u in t)t[u]&&(r&&Xn(o,r,a,u,e,i,s)||s&&Qn(o,u,e))&&(n=!0);let l;n&&(l=o.__dataHost)&&l._invalidateProperties&&l._invalidateProperties()}function Qn(o,t,e){let i=De(t);if(i!==t){let s=Tt(i)+"-changed";return Es(o,s,e[t],t),!0}return!1}function Es(o,t,e,i){let s={value:e,queueProperty:!0};i&&(s.path=i),q(o).dispatchEvent(new CustomEvent(t,{detail:s}))}function ea(o,t,e,i,s,r){let a=(r?De(t):t)!=t?t:null,l=a?Z(o,a):o.__data[t];a&&l===void 0&&(l=e[t]),Es(o,s.eventName,l,a)}function ta(o,t,e,i,s){let r,n=o.detail,a=n&&n.path;a?(i=it(e,i,a),r=n&&n.value):r=o.currentTarget[e],r=s?!r:r,(!t[I.READ_ONLY]||!t[I.READ_ONLY][i])&&t._setPendingPropertyOrPath(i,r,!0,!!a)&&(!n||!n.queueProperty)&&t._invalidateProperties()}function ia(o,t,e,i,s){let r=o.__data[t];gt&&(r=gt(r,s.attrName,"attribute",o)),o._propertyToAttribute(t,s.attrName,r)}function oa(o,t,e,i){let s=o[I.COMPUTE];if(s)if(vn){ot++;const r=ra(o),n=[];for(let l in t)mo(l,s,n,r,i);let a;for(;a=n.shift();)ks(o,"",t,e,a)&&mo(a.methodInfo,s,n,r,i);Object.assign(e,o.__dataOld),Object.assign(t,o.__dataPending),o.__dataPending=null}else{let r=t;for(;qe(o,s,r,e,i);)Object.assign(e,o.__dataOld),Object.assign(t,o.__dataPending),r=o.__dataPending,o.__dataPending=null}}const sa=(o,t,e)=>{let i=0,s=t.length-1,r=-1;for(;i<=s;){const n=i+s>>1,a=e.get(t[n].methodInfo)-e.get(o.methodInfo);if(a<0)i=n+1;else if(a>0)s=n-1;else{r=n;break}}r<0&&(r=s+1),t.splice(r,0,o)},mo=(o,t,e,i,s)=>{const r=s?De(o):o,n=t[r];if(n)for(let a=0;a<n.length;a++){const l=n[a];l.info.lastRun!==ot&&(!s||ki(o,l.trigger))&&(l.info.lastRun=ot,sa(l.info,e,i))}};function ra(o){let t=o.constructor.__orderedComputedDeps;if(!t){t=new Map;const e=o[I.COMPUTE];let{counts:i,ready:s,total:r}=na(o),n;for(;n=s.shift();){t.set(n,t.size);const a=e[n];a&&a.forEach(l=>{const u=l.info.methodInfo;--r,--i[u]===0&&s.push(u)})}r!==0&&console.warn(`Computed graph for ${o.localName} incomplete; circular?`),o.constructor.__orderedComputedDeps=t}return t}function na(o){const t=o[Ds],e={},i=o[I.COMPUTE],s=[];let r=0;for(let n in t){const a=t[n];r+=e[n]=a.args.filter(l=>!l.literal).length+(a.dynamicFn?1:0)}for(let n in i)t[n]||s.push(n);return{counts:e,ready:s,total:r}}function ks(o,t,e,i,s){let r=ii(o,t,e,i,s);if(r===st)return!1;let n=s.methodInfo;return o.__dataHasAccessor&&o.__dataHasAccessor[n]?o._setPendingProperty(n,r,!0):(o[n]=r,!1)}function aa(o,t,e){let i=o.__dataLinkedPaths;if(i){let s;for(let r in i){let n=i[r];tt(r,t)?(s=it(r,n,t),o._setPendingPropertyOrPath(s,e,!0,!0)):tt(n,t)&&(s=it(n,r,t),o._setPendingPropertyOrPath(s,e,!0,!0))}}}function Lt(o,t,e,i,s,r,n){e.bindings=e.bindings||[];let a={kind:i,target:s,parts:r,literal:n,isCompound:r.length!==1};if(e.bindings.push(a),ha(a)){let{event:u,negate:c}=a.parts[0];a.listenerEvent=u||Tt(s)+"-changed",a.listenerNegate=c}let l=t.nodeInfoList.length;for(let u=0;u<a.parts.length;u++){let c=a.parts[u];c.compoundIndex=u,la(o,t,a,c,l)}}function la(o,t,e,i,s){if(!i.literal)if(e.kind==="attribute"&&e.target[0]==="-")console.warn("Cannot set attribute "+e.target+' because "-" is not a valid attribute starting character');else{let r=i.dependencies,n={index:s,binding:e,part:i,evaluator:o};for(let a=0;a<r.length;a++){let l=r[a];typeof l=="string"&&(l=Ss(l),l.wildcard=!0),o._addTemplatePropertyEffect(t,l.rootProperty,{fn:da,info:n,trigger:l})}}}function da(o,t,e,i,s,r,n){let a=n[s.index],l=s.binding,u=s.part;if(r&&u.source&&t.length>u.source.length&&l.kind=="property"&&!l.isCompound&&a.__isPropertyEffectsClient&&a.__dataHasAccessor&&a.__dataHasAccessor[l.target]){let c=e[t];t=it(u.source,l.target,t),a._setPendingPropertyOrPath(t,c,!1,!0)&&o._enqueueClient(a)}else{let c=s.evaluator._evaluateBinding(o,u,t,e,i,r);c!==st&&ua(o,a,l,u,c)}}function ua(o,t,e,i,s){if(s=ca(t,s,e,i),gt&&(s=gt(s,e.target,e.kind,t)),e.kind=="attribute")o._valueToNodeAttribute(t,s,e.target);else{let r=e.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[r]?(!t[I.READ_ONLY]||!t[I.READ_ONLY][r])&&t._setPendingProperty(r,s)&&o._enqueueClient(t):o._setUnmanagedPropertyToNode(t,r,s)}}function ca(o,t,e,i){if(e.isCompound){let s=o.__dataCompoundStorage[e.target];s[i.compoundIndex]=t,t=s.join("")}return e.kind!=="attribute"&&(e.target==="textContent"||e.target==="value"&&(o.localName==="input"||o.localName==="textarea"))&&(t=t==null?"":t),t}function ha(o){return!!o.target&&o.kind!="attribute"&&o.kind!="text"&&!o.isCompound&&o.parts[0].mode==="{"}function pa(o,t){let{nodeList:e,nodeInfoList:i}=t;if(i.length)for(let s=0;s<i.length;s++){let r=i[s],n=e[s],a=r.bindings;if(a)for(let l=0;l<a.length;l++){let u=a[l];fa(n,u),ma(n,o,u)}n.__dataHost=o}}function fa(o,t){if(t.isCompound){let e=o.__dataCompoundStorage||(o.__dataCompoundStorage={}),i=t.parts,s=new Array(i.length);for(let n=0;n<i.length;n++)s[n]=i[n].literal;let r=t.target;e[r]=s,t.literal&&t.kind=="property"&&(r==="className"&&(o=q(o)),o[r]=t.literal)}}function ma(o,t,e){if(e.listenerEvent){let i=e.parts[0];o.addEventListener(e.listenerEvent,function(s){ta(s,t,e.target,i.source,i.negate)})}}function _o(o,t,e,i,s,r){r=t.static||r&&(typeof r!="object"||r[t.methodName]);let n={methodName:t.methodName,args:t.args,methodInfo:s,dynamicFn:r};for(let a=0,l;a<t.args.length&&(l=t.args[a]);a++)l.literal||o._addPropertyEffect(l.rootProperty,e,{fn:i,info:n,trigger:l});return r&&o._addPropertyEffect(t.methodName,e,{fn:i,info:n}),n}function ii(o,t,e,i,s){let r=o._methodHost||o,n=r[s.methodName];if(n){let a=o._marshalArgs(s.args,t,e);return a===st?st:n.apply(r,a)}else s.dynamicFn||console.warn("method `"+s.methodName+"` not defined")}const _a=[],Ps="(?:[a-zA-Z_$][\\w.:$\\-*]*)",ga="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",ya="(?:'(?:[^'\\\\]|\\\\.)*')",va='(?:"(?:[^"\\\\]|\\\\.)*")',ba="(?:"+ya+"|"+va+")",go="(?:("+Ps+"|"+ga+"|"+ba+")\\s*)",wa="(?:"+go+"(?:,\\s*"+go+")*)",xa="(?:\\(\\s*(?:"+wa+"?)\\)\\s*)",Ca="("+Ps+"\\s*"+xa+"?)",Ta="(\\[\\[|{{)\\s*",Aa="(?:]]|}})",Da="(?:(!)\\s*)?",Ea=Ta+Da+Ca+Aa,yo=new RegExp(Ea,"g");function vo(o){let t="";for(let e=0;e<o.length;e++){let i=o[e].literal;t+=i||""}return t}function $t(o){let t=o.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let i={methodName:t[1],static:!0,args:_a};if(t[2].trim()){let s=t[2].replace(/\\,/g,"&comma;").split(",");return ka(s,i)}else return i}return null}function ka(o,t){return t.args=o.map(function(e){let i=Ss(e);return i.literal||(t.static=!1),i},this),t}function Ss(o){let t=o.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),e={name:t,value:"",literal:!1},i=t[0];switch(i==="-"&&(i=t[1]),i>="0"&&i<="9"&&(i="#"),i){case"'":case'"':e.value=t.slice(1,-1),e.literal=!0;break;case"#":e.value=Number(t),e.literal=!0;break}return e.literal||(e.rootProperty=De(t),e.structured=ei(t),e.structured&&(e.wildcard=t.slice(-2)==".*",e.wildcard&&(e.name=t.slice(0,-2)))),e}function bo(o,t,e){let i=Z(o,e);return i===void 0&&(i=t[e]),i}function Os(o,t,e,i){const s={indexSplices:i};Qt&&!o._overrideLegacyUndefined&&(t.splices=s),o.notifyPath(e+".splices",s),o.notifyPath(e+".length",t.length),Qt&&!o._overrideLegacyUndefined&&(s.indexSplices=[])}function Ve(o,t,e,i,s,r){Os(o,t,e,[{index:i,addedCount:s,removed:r,object:t,type:"splice"}])}function Pa(o){return o[0].toUpperCase()+o.substring(1)}const Pi=j(o=>{const t=Gn(Rn(o));class e extends t{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return I}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(Ue.length){let s=Ue[Ue.length-1];s._enqueueClient(this),this.__dataHost=s}}_initializeProtoProperties(s){this.__data=Object.create(s),this.__dataPending=Object.create(s),this.__dataOld={}}_initializeInstanceProperties(s){let r=this[I.READ_ONLY];for(let n in s)(!r||!r[n])&&(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=s[n])}_addPropertyEffect(s,r,n){this._createPropertyAccessor(s,r==I.READ_ONLY);let a=zt(this,r,!0)[s];a||(a=this[r][s]=[]),a.push(n)}_removePropertyEffect(s,r,n){let a=zt(this,r,!0)[s],l=a.indexOf(n);l>=0&&a.splice(l,1)}_hasPropertyEffect(s,r){let n=this[r];return!!(n&&n[s])}_hasReadOnlyEffect(s){return this._hasPropertyEffect(s,I.READ_ONLY)}_hasNotifyEffect(s){return this._hasPropertyEffect(s,I.NOTIFY)}_hasReflectEffect(s){return this._hasPropertyEffect(s,I.REFLECT)}_hasComputedEffect(s){return this._hasPropertyEffect(s,I.COMPUTE)}_setPendingPropertyOrPath(s,r,n,a){if(a||De(Array.isArray(s)?s[0]:s)!==s){if(!a){let l=Z(this,s);if(s=co(this,s,r),!s||!super._shouldPropertyChange(s,r,l))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(s,r,n))return aa(this,s,r),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[s])return this._setPendingProperty(s,r,n);this[s]=r}return!1}_setUnmanagedPropertyToNode(s,r,n){(n!==s[r]||typeof n=="object")&&(r==="className"&&(s=q(s)),s[r]=n)}_setPendingProperty(s,r,n){let a=this.__dataHasPaths&&ei(s),l=a?this.__dataTemp:this.__data;return this._shouldPropertyChange(s,r,l[s])?(this.__dataPending||(this.__dataPending={},this.__dataOld={}),s in this.__dataOld||(this.__dataOld[s]=this.__data[s]),a?this.__dataTemp[s]=r:this.__data[s]=r,this.__dataPending[s]=r,(a||this[I.NOTIFY]&&this[I.NOTIFY][s])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[s]=n),!0):!1}_setProperty(s,r){this._setPendingProperty(s,r,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(s){this.__dataPendingClients=this.__dataPendingClients||[],s!==this&&this.__dataPendingClients.push(s)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let s=this.__dataPendingClients;if(s){this.__dataPendingClients=null;for(let r=0;r<s.length;r++){let n=s[r];n.__dataEnabled?n.__dataPending&&n._flushProperties():n._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(s,r){for(let n in s)(r||!this[I.READ_ONLY]||!this[I.READ_ONLY][n])&&this._setPendingPropertyOrPath(n,s[n],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(s,r,n){let a=this.__dataHasPaths;this.__dataHasPaths=!1;let l;oa(this,r,n,a),l=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(r,n,a),this._flushClients(),qe(this,this[I.REFLECT],r,n,a),qe(this,this[I.OBSERVE],r,n,a),l&&Zn(this,l,r,n,a),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(s,r,n){this[I.PROPAGATE]&&qe(this,this[I.PROPAGATE],s,r,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,s,r,n)}_runEffectsForTemplate(s,r,n,a){const l=(u,c)=>{qe(this,s.propertyEffects,u,n,c,s.nodeList);for(let h=s.firstChild;h;h=h.nextSibling)this._runEffectsForTemplate(h,u,n,c)};s.runEffects?s.runEffects(l,r,a):l(r,a)}linkPaths(s,r){s=We(s),r=We(r),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[s]=r}unlinkPaths(s){s=We(s),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[s]}notifySplices(s,r){let n={path:""},a=Z(this,s,n);Os(this,a,n.path,r)}get(s,r){return Z(r||this,s)}set(s,r,n){n?co(n,s,r):(!this[I.READ_ONLY]||!this[I.READ_ONLY][s])&&this._setPendingPropertyOrPath(s,r,!0)&&this._invalidateProperties()}push(s,...r){let n={path:""},a=Z(this,s,n),l=a.length,u=a.push(...r);return r.length&&Ve(this,a,n.path,l,r.length,[]),u}pop(s){let r={path:""},n=Z(this,s,r),a=!!n.length,l=n.pop();return a&&Ve(this,n,r.path,n.length,0,[l]),l}splice(s,r,n,...a){let l={path:""},u=Z(this,s,l);r<0?r=u.length-Math.floor(-r):r&&(r=Math.floor(r));let c;return arguments.length===2?c=u.splice(r):c=u.splice(r,n,...a),(a.length||c.length)&&Ve(this,u,l.path,r,a.length,c),c}shift(s){let r={path:""},n=Z(this,s,r),a=!!n.length,l=n.shift();return a&&Ve(this,n,r.path,0,0,[l]),l}unshift(s,...r){let n={path:""},a=Z(this,s,n),l=a.unshift(...r);return r.length&&Ve(this,a,n.path,0,r.length,[]),l}notifyPath(s,r){let n;if(arguments.length==1){let a={path:""};r=Z(this,s,a),n=a.path}else Array.isArray(s)?n=We(s):n=s;this._setPendingPropertyOrPath(n,r,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(s,r){this._addPropertyEffect(s,I.READ_ONLY),r&&(this["_set"+Pa(s)]=function(n){this._setProperty(s,n)})}_createPropertyObserver(s,r,n){let a={property:s,method:r,dynamicFn:!!n};this._addPropertyEffect(s,I.OBSERVE,{fn:fo,info:a,trigger:{name:s}}),n&&this._addPropertyEffect(r,I.OBSERVE,{fn:fo,info:a,trigger:{name:r}})}_createMethodObserver(s,r){let n=$t(s);if(!n)throw new Error("Malformed observer expression '"+s+"'");_o(this,n,I.OBSERVE,ii,null,r)}_createNotifyingProperty(s){this._addPropertyEffect(s,I.NOTIFY,{fn:ea,info:{eventName:Tt(s)+"-changed",property:s}})}_createReflectedProperty(s){let r=this.constructor.attributeNameForProperty(s);r[0]==="-"?console.warn("Property "+s+" cannot be reflected to attribute "+r+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(s,I.REFLECT,{fn:ia,info:{attrName:r}})}_createComputedProperty(s,r,n){let a=$t(r);if(!a)throw new Error("Malformed computed expression '"+r+"'");const l=_o(this,a,I.COMPUTE,ks,s,n);zt(this,Ds)[s]=l}_marshalArgs(s,r,n){const a=this.__data,l=[];for(let u=0,c=s.length;u<c;u++){let{name:h,structured:p,wildcard:f,value:_,literal:C}=s[u];if(!C)if(f){const P=tt(h,r),F=bo(a,n,P?r:h);_={path:P?r:h,value:F,base:P?Z(a,h):F}}else _=p?bo(a,n,h):a[h];if(Qt&&!this._overrideLegacyUndefined&&_===void 0&&s.length>1)return st;l[u]=_}return l}static addPropertyEffect(s,r,n){this.prototype._addPropertyEffect(s,r,n)}static createPropertyObserver(s,r,n){this.prototype._createPropertyObserver(s,r,n)}static createMethodObserver(s,r){this.prototype._createMethodObserver(s,r)}static createNotifyingProperty(s){this.prototype._createNotifyingProperty(s)}static createReadOnlyProperty(s,r){this.prototype._createReadOnlyProperty(s,r)}static createReflectedProperty(s){this.prototype._createReflectedProperty(s)}static createComputedProperty(s,r,n){this.prototype._createComputedProperty(s,r,n)}static bindTemplate(s){return this.prototype._bindTemplate(s)}_bindTemplate(s,r){let n=this.constructor._parseTemplate(s),a=this.__preBoundTemplateInfo==n;if(!a)for(let l in n.propertyEffects)this._createPropertyAccessor(l);if(r)if(n=Object.create(n),n.wasPreBound=a,!this.__templateInfo)this.__templateInfo=n;else{const l=s._parentTemplateInfo||this.__templateInfo,u=l.lastChild;n.parent=l,l.lastChild=n,n.previousSibling=u,u?u.nextSibling=n:l.firstChild=n}else this.__preBoundTemplateInfo=n;return n}static _addTemplatePropertyEffect(s,r,n){let a=s.hostProps=s.hostProps||{};a[r]=!0;let l=s.propertyEffects=s.propertyEffects||{};(l[r]=l[r]||[]).push(n)}_stampTemplate(s,r){r=r||this._bindTemplate(s,!0),Ue.push(this);let n=super._stampTemplate(s,r);if(Ue.pop(),r.nodeList=n.nodeList,!r.wasPreBound){let a=r.childNodes=[];for(let l=n.firstChild;l;l=l.nextSibling)a.push(l)}return n.templateInfo=r,pa(this,r),this.__dataClientsReady&&(this._runEffectsForTemplate(r,this.__data,null,!1),this._flushClients()),n}_removeBoundDom(s){const r=s.templateInfo,{previousSibling:n,nextSibling:a,parent:l}=r;n?n.nextSibling=a:l&&(l.firstChild=a),a?a.previousSibling=n:l&&(l.lastChild=n),r.nextSibling=r.previousSibling=null;let u=r.childNodes;for(let c=0;c<u.length;c++){let h=u[c];q(q(h).parentNode).removeChild(h)}}static _parseTemplateNode(s,r,n){let a=t._parseTemplateNode.call(this,s,r,n);if(s.nodeType===Node.TEXT_NODE){let l=this._parseBindings(s.textContent,r);l&&(s.textContent=vo(l)||" ",Lt(this,r,n,"text","textContent",l),a=!0)}return a}static _parseTemplateNodeAttribute(s,r,n,a,l){let u=this._parseBindings(l,r);if(u){let c=a,h="property";Jn.test(a)?h="attribute":a[a.length-1]=="$"&&(a=a.slice(0,-1),h="attribute");let p=vo(u);return p&&h=="attribute"&&(a=="class"&&s.hasAttribute("class")&&(p+=" "+s.getAttribute(a)),s.setAttribute(a,p)),h=="attribute"&&c=="disable-upgrade$"&&s.setAttribute(a,""),s.localName==="input"&&c==="value"&&s.setAttribute(c,""),s.removeAttribute(c),h==="property"&&(a=vs(a)),Lt(this,r,n,h,a,u,p),!0}else return t._parseTemplateNodeAttribute.call(this,s,r,n,a,l)}static _parseTemplateNestedTemplate(s,r,n){let a=t._parseTemplateNestedTemplate.call(this,s,r,n);const l=s.parentNode,u=n.templateInfo,c=l.localName==="dom-if",h=l.localName==="dom-repeat";so&&(c||h)&&(l.removeChild(s),n=n.parentInfo,n.templateInfo=u,n.noted=!0,a=!1);let p=u.hostProps;if(bn&&c)p&&(r.hostProps=Object.assign(r.hostProps||{},p),so||(n.parentInfo.noted=!0));else{let f="{";for(let _ in p){let C=[{mode:f,source:_,dependencies:[_],hostProp:!0}];Lt(this,r,n,"property","_host_"+_,C)}}return a}static _parseBindings(s,r){let n=[],a=0,l;for(;(l=yo.exec(s))!==null;){l.index>a&&n.push({literal:s.slice(a,l.index)});let u=l[1][0],c=!!l[2],h=l[3].trim(),p=!1,f="",_=-1;u=="{"&&(_=h.indexOf("::"))>0&&(f=h.substring(_+2),h=h.substring(0,_),p=!0);let C=$t(h),P=[];if(C){let{args:F,methodName:z}=C;for(let M=0;M<F.length;M++){let H=F[M];H.literal||P.push(H)}let V=r.dynamicFns;(V&&V[z]||C.static)&&(P.push(z),C.dynamicFn=!0)}else P.push(h);n.push({source:h,mode:u,negate:c,customEvent:p,signature:C,dependencies:P,event:f}),a=yo.lastIndex}if(a&&a<s.length){let u=s.substring(a);u&&n.push({literal:u})}return n.length?n:null}static _evaluateBinding(s,r,n,a,l,u){let c;return r.signature?c=ii(s,n,a,l,r.signature):n!=r.source?c=Z(s,r.source):u&&ei(n)?c=Z(s,n):c=s.__data[n],r.negate&&(c=!c),c}}return e}),Ue=[];/**
2034
+ */let ot=0;const st=[],I={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},Ds="__computeInfo",Jn=/[A-Z]/;function zt(o,t,e){let i=o[t];if(!i)i=o[t]={};else if(!o.hasOwnProperty(t)&&(i=o[t]=Object.create(o[t]),e))for(let s in i){let r=i[s],n=i[s]=Array(r.length);for(let a=0;a<r.length;a++)n[a]=r[a]}return i}function qe(o,t,e,i,s,r){if(t){let n=!1;const a=ot++;for(let l in e){let u=s?De(l):l,c=t[u];if(c)for(let h=0,p=c.length,m;h<p&&(m=c[h]);h++)(!m.info||m.info.lastRun!==a)&&(!s||ki(l,m.trigger))&&(m.info&&(m.info.lastRun=a),m.fn(o,l,e,i,m.info,s,r),n=!0)}return n}return!1}function Xn(o,t,e,i,s,r,n,a){let l=!1,u=n?De(i):i,c=t[u];if(c)for(let h=0,p=c.length,m;h<p&&(m=c[h]);h++)(!m.info||m.info.lastRun!==e)&&(!n||ki(i,m.trigger))&&(m.info&&(m.info.lastRun=e),m.fn(o,i,s,r,m.info,n,a),l=!0);return l}function ki(o,t){if(t){let e=t.name;return e==o||!!(t.structured&&gs(e,o))||!!(t.wildcard&&tt(e,o))}else return!0}function fo(o,t,e,i,s){let r=typeof s.method=="string"?o[s.method]:s.method,n=s.property;r?r.call(o,o.__data[n],i[n]):s.dynamicFn||console.warn("observer method `"+s.method+"` not defined")}function Zn(o,t,e,i,s){let r=o[I.NOTIFY],n,a=ot++;for(let u in t)t[u]&&(r&&Xn(o,r,a,u,e,i,s)||s&&Qn(o,u,e))&&(n=!0);let l;n&&(l=o.__dataHost)&&l._invalidateProperties&&l._invalidateProperties()}function Qn(o,t,e){let i=De(t);if(i!==t){let s=Tt(i)+"-changed";return Es(o,s,e[t],t),!0}return!1}function Es(o,t,e,i){let s={value:e,queueProperty:!0};i&&(s.path=i),q(o).dispatchEvent(new CustomEvent(t,{detail:s}))}function ea(o,t,e,i,s,r){let a=(r?De(t):t)!=t?t:null,l=a?Z(o,a):o.__data[t];a&&l===void 0&&(l=e[t]),Es(o,s.eventName,l,a)}function ta(o,t,e,i,s){let r,n=o.detail,a=n&&n.path;a?(i=it(e,i,a),r=n&&n.value):r=o.currentTarget[e],r=s?!r:r,(!t[I.READ_ONLY]||!t[I.READ_ONLY][i])&&t._setPendingPropertyOrPath(i,r,!0,!!a)&&(!n||!n.queueProperty)&&t._invalidateProperties()}function ia(o,t,e,i,s){let r=o.__data[t];gt&&(r=gt(r,s.attrName,"attribute",o)),o._propertyToAttribute(t,s.attrName,r)}function oa(o,t,e,i){let s=o[I.COMPUTE];if(s)if(vn){ot++;const r=ra(o),n=[];for(let l in t)mo(l,s,n,r,i);let a;for(;a=n.shift();)ks(o,"",t,e,a)&&mo(a.methodInfo,s,n,r,i);Object.assign(e,o.__dataOld),Object.assign(t,o.__dataPending),o.__dataPending=null}else{let r=t;for(;qe(o,s,r,e,i);)Object.assign(e,o.__dataOld),Object.assign(t,o.__dataPending),r=o.__dataPending,o.__dataPending=null}}const sa=(o,t,e)=>{let i=0,s=t.length-1,r=-1;for(;i<=s;){const n=i+s>>1,a=e.get(t[n].methodInfo)-e.get(o.methodInfo);if(a<0)i=n+1;else if(a>0)s=n-1;else{r=n;break}}r<0&&(r=s+1),t.splice(r,0,o)},mo=(o,t,e,i,s)=>{const r=s?De(o):o,n=t[r];if(n)for(let a=0;a<n.length;a++){const l=n[a];l.info.lastRun!==ot&&(!s||ki(o,l.trigger))&&(l.info.lastRun=ot,sa(l.info,e,i))}};function ra(o){let t=o.constructor.__orderedComputedDeps;if(!t){t=new Map;const e=o[I.COMPUTE];let{counts:i,ready:s,total:r}=na(o),n;for(;n=s.shift();){t.set(n,t.size);const a=e[n];a&&a.forEach(l=>{const u=l.info.methodInfo;--r,--i[u]===0&&s.push(u)})}r!==0&&console.warn(`Computed graph for ${o.localName} incomplete; circular?`),o.constructor.__orderedComputedDeps=t}return t}function na(o){const t=o[Ds],e={},i=o[I.COMPUTE],s=[];let r=0;for(let n in t){const a=t[n];r+=e[n]=a.args.filter(l=>!l.literal).length+(a.dynamicFn?1:0)}for(let n in i)t[n]||s.push(n);return{counts:e,ready:s,total:r}}function ks(o,t,e,i,s){let r=ii(o,t,e,i,s);if(r===st)return!1;let n=s.methodInfo;return o.__dataHasAccessor&&o.__dataHasAccessor[n]?o._setPendingProperty(n,r,!0):(o[n]=r,!1)}function aa(o,t,e){let i=o.__dataLinkedPaths;if(i){let s;for(let r in i){let n=i[r];tt(r,t)?(s=it(r,n,t),o._setPendingPropertyOrPath(s,e,!0,!0)):tt(n,t)&&(s=it(n,r,t),o._setPendingPropertyOrPath(s,e,!0,!0))}}}function Lt(o,t,e,i,s,r,n){e.bindings=e.bindings||[];let a={kind:i,target:s,parts:r,literal:n,isCompound:r.length!==1};if(e.bindings.push(a),ha(a)){let{event:u,negate:c}=a.parts[0];a.listenerEvent=u||Tt(s)+"-changed",a.listenerNegate=c}let l=t.nodeInfoList.length;for(let u=0;u<a.parts.length;u++){let c=a.parts[u];c.compoundIndex=u,la(o,t,a,c,l)}}function la(o,t,e,i,s){if(!i.literal)if(e.kind==="attribute"&&e.target[0]==="-")console.warn("Cannot set attribute "+e.target+' because "-" is not a valid attribute starting character');else{let r=i.dependencies,n={index:s,binding:e,part:i,evaluator:o};for(let a=0;a<r.length;a++){let l=r[a];typeof l=="string"&&(l=Ss(l),l.wildcard=!0),o._addTemplatePropertyEffect(t,l.rootProperty,{fn:da,info:n,trigger:l})}}}function da(o,t,e,i,s,r,n){let a=n[s.index],l=s.binding,u=s.part;if(r&&u.source&&t.length>u.source.length&&l.kind=="property"&&!l.isCompound&&a.__isPropertyEffectsClient&&a.__dataHasAccessor&&a.__dataHasAccessor[l.target]){let c=e[t];t=it(u.source,l.target,t),a._setPendingPropertyOrPath(t,c,!1,!0)&&o._enqueueClient(a)}else{let c=s.evaluator._evaluateBinding(o,u,t,e,i,r);c!==st&&ua(o,a,l,u,c)}}function ua(o,t,e,i,s){if(s=ca(t,s,e,i),gt&&(s=gt(s,e.target,e.kind,t)),e.kind=="attribute")o._valueToNodeAttribute(t,s,e.target);else{let r=e.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[r]?(!t[I.READ_ONLY]||!t[I.READ_ONLY][r])&&t._setPendingProperty(r,s)&&o._enqueueClient(t):o._setUnmanagedPropertyToNode(t,r,s)}}function ca(o,t,e,i){if(e.isCompound){let s=o.__dataCompoundStorage[e.target];s[i.compoundIndex]=t,t=s.join("")}return e.kind!=="attribute"&&(e.target==="textContent"||e.target==="value"&&(o.localName==="input"||o.localName==="textarea"))&&(t=t==null?"":t),t}function ha(o){return!!o.target&&o.kind!="attribute"&&o.kind!="text"&&!o.isCompound&&o.parts[0].mode==="{"}function pa(o,t){let{nodeList:e,nodeInfoList:i}=t;if(i.length)for(let s=0;s<i.length;s++){let r=i[s],n=e[s],a=r.bindings;if(a)for(let l=0;l<a.length;l++){let u=a[l];fa(n,u),ma(n,o,u)}n.__dataHost=o}}function fa(o,t){if(t.isCompound){let e=o.__dataCompoundStorage||(o.__dataCompoundStorage={}),i=t.parts,s=new Array(i.length);for(let n=0;n<i.length;n++)s[n]=i[n].literal;let r=t.target;e[r]=s,t.literal&&t.kind=="property"&&(r==="className"&&(o=q(o)),o[r]=t.literal)}}function ma(o,t,e){if(e.listenerEvent){let i=e.parts[0];o.addEventListener(e.listenerEvent,function(s){ta(s,t,e.target,i.source,i.negate)})}}function _o(o,t,e,i,s,r){r=t.static||r&&(typeof r!="object"||r[t.methodName]);let n={methodName:t.methodName,args:t.args,methodInfo:s,dynamicFn:r};for(let a=0,l;a<t.args.length&&(l=t.args[a]);a++)l.literal||o._addPropertyEffect(l.rootProperty,e,{fn:i,info:n,trigger:l});return r&&o._addPropertyEffect(t.methodName,e,{fn:i,info:n}),n}function ii(o,t,e,i,s){let r=o._methodHost||o,n=r[s.methodName];if(n){let a=o._marshalArgs(s.args,t,e);return a===st?st:n.apply(r,a)}else s.dynamicFn||console.warn("method `"+s.methodName+"` not defined")}const _a=[],Ps="(?:[a-zA-Z_$][\\w.:$\\-*]*)",ga="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",ya="(?:'(?:[^'\\\\]|\\\\.)*')",va='(?:"(?:[^"\\\\]|\\\\.)*")',ba="(?:"+ya+"|"+va+")",go="(?:("+Ps+"|"+ga+"|"+ba+")\\s*)",wa="(?:"+go+"(?:,\\s*"+go+")*)",xa="(?:\\(\\s*(?:"+wa+"?)\\)\\s*)",Ca="("+Ps+"\\s*"+xa+"?)",Ta="(\\[\\[|{{)\\s*",Aa="(?:]]|}})",Da="(?:(!)\\s*)?",Ea=Ta+Da+Ca+Aa,yo=new RegExp(Ea,"g");function vo(o){let t="";for(let e=0;e<o.length;e++){let i=o[e].literal;t+=i||""}return t}function $t(o){let t=o.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let i={methodName:t[1],static:!0,args:_a};if(t[2].trim()){let s=t[2].replace(/\\,/g,"&comma;").split(",");return ka(s,i)}else return i}return null}function ka(o,t){return t.args=o.map(function(e){let i=Ss(e);return i.literal||(t.static=!1),i},this),t}function Ss(o){let t=o.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),e={name:t,value:"",literal:!1},i=t[0];switch(i==="-"&&(i=t[1]),i>="0"&&i<="9"&&(i="#"),i){case"'":case'"':e.value=t.slice(1,-1),e.literal=!0;break;case"#":e.value=Number(t),e.literal=!0;break}return e.literal||(e.rootProperty=De(t),e.structured=ei(t),e.structured&&(e.wildcard=t.slice(-2)==".*",e.wildcard&&(e.name=t.slice(0,-2)))),e}function bo(o,t,e){let i=Z(o,e);return i===void 0&&(i=t[e]),i}function Os(o,t,e,i){const s={indexSplices:i};Qt&&!o._overrideLegacyUndefined&&(t.splices=s),o.notifyPath(e+".splices",s),o.notifyPath(e+".length",t.length),Qt&&!o._overrideLegacyUndefined&&(s.indexSplices=[])}function Ve(o,t,e,i,s,r){Os(o,t,e,[{index:i,addedCount:s,removed:r,object:t,type:"splice"}])}function Pa(o){return o[0].toUpperCase()+o.substring(1)}const Pi=j(o=>{const t=Gn(Rn(o));class e extends t{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return I}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(Ue.length){let s=Ue[Ue.length-1];s._enqueueClient(this),this.__dataHost=s}}_initializeProtoProperties(s){this.__data=Object.create(s),this.__dataPending=Object.create(s),this.__dataOld={}}_initializeInstanceProperties(s){let r=this[I.READ_ONLY];for(let n in s)(!r||!r[n])&&(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=s[n])}_addPropertyEffect(s,r,n){this._createPropertyAccessor(s,r==I.READ_ONLY);let a=zt(this,r,!0)[s];a||(a=this[r][s]=[]),a.push(n)}_removePropertyEffect(s,r,n){let a=zt(this,r,!0)[s],l=a.indexOf(n);l>=0&&a.splice(l,1)}_hasPropertyEffect(s,r){let n=this[r];return!!(n&&n[s])}_hasReadOnlyEffect(s){return this._hasPropertyEffect(s,I.READ_ONLY)}_hasNotifyEffect(s){return this._hasPropertyEffect(s,I.NOTIFY)}_hasReflectEffect(s){return this._hasPropertyEffect(s,I.REFLECT)}_hasComputedEffect(s){return this._hasPropertyEffect(s,I.COMPUTE)}_setPendingPropertyOrPath(s,r,n,a){if(a||De(Array.isArray(s)?s[0]:s)!==s){if(!a){let l=Z(this,s);if(s=co(this,s,r),!s||!super._shouldPropertyChange(s,r,l))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(s,r,n))return aa(this,s,r),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[s])return this._setPendingProperty(s,r,n);this[s]=r}return!1}_setUnmanagedPropertyToNode(s,r,n){(n!==s[r]||typeof n=="object")&&(r==="className"&&(s=q(s)),s[r]=n)}_setPendingProperty(s,r,n){let a=this.__dataHasPaths&&ei(s),l=a?this.__dataTemp:this.__data;return this._shouldPropertyChange(s,r,l[s])?(this.__dataPending||(this.__dataPending={},this.__dataOld={}),s in this.__dataOld||(this.__dataOld[s]=this.__data[s]),a?this.__dataTemp[s]=r:this.__data[s]=r,this.__dataPending[s]=r,(a||this[I.NOTIFY]&&this[I.NOTIFY][s])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[s]=n),!0):!1}_setProperty(s,r){this._setPendingProperty(s,r,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(s){this.__dataPendingClients=this.__dataPendingClients||[],s!==this&&this.__dataPendingClients.push(s)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let s=this.__dataPendingClients;if(s){this.__dataPendingClients=null;for(let r=0;r<s.length;r++){let n=s[r];n.__dataEnabled?n.__dataPending&&n._flushProperties():n._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(s,r){for(let n in s)(r||!this[I.READ_ONLY]||!this[I.READ_ONLY][n])&&this._setPendingPropertyOrPath(n,s[n],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(s,r,n){let a=this.__dataHasPaths;this.__dataHasPaths=!1;let l;oa(this,r,n,a),l=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(r,n,a),this._flushClients(),qe(this,this[I.REFLECT],r,n,a),qe(this,this[I.OBSERVE],r,n,a),l&&Zn(this,l,r,n,a),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(s,r,n){this[I.PROPAGATE]&&qe(this,this[I.PROPAGATE],s,r,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,s,r,n)}_runEffectsForTemplate(s,r,n,a){const l=(u,c)=>{qe(this,s.propertyEffects,u,n,c,s.nodeList);for(let h=s.firstChild;h;h=h.nextSibling)this._runEffectsForTemplate(h,u,n,c)};s.runEffects?s.runEffects(l,r,a):l(r,a)}linkPaths(s,r){s=We(s),r=We(r),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[s]=r}unlinkPaths(s){s=We(s),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[s]}notifySplices(s,r){let n={path:""},a=Z(this,s,n);Os(this,a,n.path,r)}get(s,r){return Z(r||this,s)}set(s,r,n){n?co(n,s,r):(!this[I.READ_ONLY]||!this[I.READ_ONLY][s])&&this._setPendingPropertyOrPath(s,r,!0)&&this._invalidateProperties()}push(s,...r){let n={path:""},a=Z(this,s,n),l=a.length,u=a.push(...r);return r.length&&Ve(this,a,n.path,l,r.length,[]),u}pop(s){let r={path:""},n=Z(this,s,r),a=!!n.length,l=n.pop();return a&&Ve(this,n,r.path,n.length,0,[l]),l}splice(s,r,n,...a){let l={path:""},u=Z(this,s,l);r<0?r=u.length-Math.floor(-r):r&&(r=Math.floor(r));let c;return arguments.length===2?c=u.splice(r):c=u.splice(r,n,...a),(a.length||c.length)&&Ve(this,u,l.path,r,a.length,c),c}shift(s){let r={path:""},n=Z(this,s,r),a=!!n.length,l=n.shift();return a&&Ve(this,n,r.path,0,0,[l]),l}unshift(s,...r){let n={path:""},a=Z(this,s,n),l=a.unshift(...r);return r.length&&Ve(this,a,n.path,0,r.length,[]),l}notifyPath(s,r){let n;if(arguments.length==1){let a={path:""};r=Z(this,s,a),n=a.path}else Array.isArray(s)?n=We(s):n=s;this._setPendingPropertyOrPath(n,r,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(s,r){this._addPropertyEffect(s,I.READ_ONLY),r&&(this["_set"+Pa(s)]=function(n){this._setProperty(s,n)})}_createPropertyObserver(s,r,n){let a={property:s,method:r,dynamicFn:!!n};this._addPropertyEffect(s,I.OBSERVE,{fn:fo,info:a,trigger:{name:s}}),n&&this._addPropertyEffect(r,I.OBSERVE,{fn:fo,info:a,trigger:{name:r}})}_createMethodObserver(s,r){let n=$t(s);if(!n)throw new Error("Malformed observer expression '"+s+"'");_o(this,n,I.OBSERVE,ii,null,r)}_createNotifyingProperty(s){this._addPropertyEffect(s,I.NOTIFY,{fn:ea,info:{eventName:Tt(s)+"-changed",property:s}})}_createReflectedProperty(s){let r=this.constructor.attributeNameForProperty(s);r[0]==="-"?console.warn("Property "+s+" cannot be reflected to attribute "+r+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(s,I.REFLECT,{fn:ia,info:{attrName:r}})}_createComputedProperty(s,r,n){let a=$t(r);if(!a)throw new Error("Malformed computed expression '"+r+"'");const l=_o(this,a,I.COMPUTE,ks,s,n);zt(this,Ds)[s]=l}_marshalArgs(s,r,n){const a=this.__data,l=[];for(let u=0,c=s.length;u<c;u++){let{name:h,structured:p,wildcard:m,value:_,literal:C}=s[u];if(!C)if(m){const P=tt(h,r),F=bo(a,n,P?r:h);_={path:P?r:h,value:F,base:P?Z(a,h):F}}else _=p?bo(a,n,h):a[h];if(Qt&&!this._overrideLegacyUndefined&&_===void 0&&s.length>1)return st;l[u]=_}return l}static addPropertyEffect(s,r,n){this.prototype._addPropertyEffect(s,r,n)}static createPropertyObserver(s,r,n){this.prototype._createPropertyObserver(s,r,n)}static createMethodObserver(s,r){this.prototype._createMethodObserver(s,r)}static createNotifyingProperty(s){this.prototype._createNotifyingProperty(s)}static createReadOnlyProperty(s,r){this.prototype._createReadOnlyProperty(s,r)}static createReflectedProperty(s){this.prototype._createReflectedProperty(s)}static createComputedProperty(s,r,n){this.prototype._createComputedProperty(s,r,n)}static bindTemplate(s){return this.prototype._bindTemplate(s)}_bindTemplate(s,r){let n=this.constructor._parseTemplate(s),a=this.__preBoundTemplateInfo==n;if(!a)for(let l in n.propertyEffects)this._createPropertyAccessor(l);if(r)if(n=Object.create(n),n.wasPreBound=a,!this.__templateInfo)this.__templateInfo=n;else{const l=s._parentTemplateInfo||this.__templateInfo,u=l.lastChild;n.parent=l,l.lastChild=n,n.previousSibling=u,u?u.nextSibling=n:l.firstChild=n}else this.__preBoundTemplateInfo=n;return n}static _addTemplatePropertyEffect(s,r,n){let a=s.hostProps=s.hostProps||{};a[r]=!0;let l=s.propertyEffects=s.propertyEffects||{};(l[r]=l[r]||[]).push(n)}_stampTemplate(s,r){r=r||this._bindTemplate(s,!0),Ue.push(this);let n=super._stampTemplate(s,r);if(Ue.pop(),r.nodeList=n.nodeList,!r.wasPreBound){let a=r.childNodes=[];for(let l=n.firstChild;l;l=l.nextSibling)a.push(l)}return n.templateInfo=r,pa(this,r),this.__dataClientsReady&&(this._runEffectsForTemplate(r,this.__data,null,!1),this._flushClients()),n}_removeBoundDom(s){const r=s.templateInfo,{previousSibling:n,nextSibling:a,parent:l}=r;n?n.nextSibling=a:l&&(l.firstChild=a),a?a.previousSibling=n:l&&(l.lastChild=n),r.nextSibling=r.previousSibling=null;let u=r.childNodes;for(let c=0;c<u.length;c++){let h=u[c];q(q(h).parentNode).removeChild(h)}}static _parseTemplateNode(s,r,n){let a=t._parseTemplateNode.call(this,s,r,n);if(s.nodeType===Node.TEXT_NODE){let l=this._parseBindings(s.textContent,r);l&&(s.textContent=vo(l)||" ",Lt(this,r,n,"text","textContent",l),a=!0)}return a}static _parseTemplateNodeAttribute(s,r,n,a,l){let u=this._parseBindings(l,r);if(u){let c=a,h="property";Jn.test(a)?h="attribute":a[a.length-1]=="$"&&(a=a.slice(0,-1),h="attribute");let p=vo(u);return p&&h=="attribute"&&(a=="class"&&s.hasAttribute("class")&&(p+=" "+s.getAttribute(a)),s.setAttribute(a,p)),h=="attribute"&&c=="disable-upgrade$"&&s.setAttribute(a,""),s.localName==="input"&&c==="value"&&s.setAttribute(c,""),s.removeAttribute(c),h==="property"&&(a=vs(a)),Lt(this,r,n,h,a,u,p),!0}else return t._parseTemplateNodeAttribute.call(this,s,r,n,a,l)}static _parseTemplateNestedTemplate(s,r,n){let a=t._parseTemplateNestedTemplate.call(this,s,r,n);const l=s.parentNode,u=n.templateInfo,c=l.localName==="dom-if",h=l.localName==="dom-repeat";so&&(c||h)&&(l.removeChild(s),n=n.parentInfo,n.templateInfo=u,n.noted=!0,a=!1);let p=u.hostProps;if(bn&&c)p&&(r.hostProps=Object.assign(r.hostProps||{},p),so||(n.parentInfo.noted=!0));else{let m="{";for(let _ in p){let C=[{mode:m,source:_,dependencies:[_],hostProp:!0}];Lt(this,r,n,"property","_host_"+_,C)}}return a}static _parseBindings(s,r){let n=[],a=0,l;for(;(l=yo.exec(s))!==null;){l.index>a&&n.push({literal:s.slice(a,l.index)});let u=l[1][0],c=!!l[2],h=l[3].trim(),p=!1,m="",_=-1;u=="{"&&(_=h.indexOf("::"))>0&&(m=h.substring(_+2),h=h.substring(0,_),p=!0);let C=$t(h),P=[];if(C){let{args:F,methodName:z}=C;for(let M=0;M<F.length;M++){let H=F[M];H.literal||P.push(H)}let V=r.dynamicFns;(V&&V[z]||C.static)&&(P.push(z),C.dynamicFn=!0)}else P.push(h);n.push({source:h,mode:u,negate:c,customEvent:p,signature:C,dependencies:P,event:m}),a=yo.lastIndex}if(a&&a<s.length){let u=s.substring(a);u&&n.push({literal:u})}return n.length?n:null}static _evaluateBinding(s,r,n,a,l,u){let c;return r.signature?c=ii(s,n,a,l,r.signature):n!=r.source?c=Z(s,r.source):u&&ei(n)?c=Z(s,n):c=s.__data[n],r.negate&&(c=!c),c}}return e}),Ue=[];/**
2035
2035
  @license
2036
2036
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2037
2037
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -2057,7 +2057,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2057
2057
  * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
2058
2058
  * Google as part of the polymer project is also subject to an additional IP
2059
2059
  * rights grant found at http://polymer.github.io/PATENTS.txt
2060
- */const Ma="3.5.2",wo=window.ShadyCSS&&window.ShadyCSS.cssBuild,Ia=j(o=>{const t=Oa(Pi(o));function e(l){if(!l.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",l))){l.__propertyDefaults=null;let u=l._properties;for(let c in u){let h=u[c];"value"in h&&(l.__propertyDefaults=l.__propertyDefaults||{},l.__propertyDefaults[c]=h)}}return l.__propertyDefaults}function i(l){return l.hasOwnProperty(JSCompiler_renameProperty("__ownObservers",l))||(l.__ownObservers=l.hasOwnProperty(JSCompiler_renameProperty("observers",l))?l.observers:null),l.__ownObservers}function s(l,u,c,h){c.computed&&(c.readOnly=!0),c.computed&&(l._hasReadOnlyEffect(u)?console.warn(`Cannot redefine computed property '${u}'.`):l._createComputedProperty(u,c.computed,h)),c.readOnly&&!l._hasReadOnlyEffect(u)?l._createReadOnlyProperty(u,!c.computed):c.readOnly===!1&&l._hasReadOnlyEffect(u)&&console.warn(`Cannot make readOnly property '${u}' non-readOnly.`),c.reflectToAttribute&&!l._hasReflectEffect(u)?l._createReflectedProperty(u):c.reflectToAttribute===!1&&l._hasReflectEffect(u)&&console.warn(`Cannot make reflected property '${u}' non-reflected.`),c.notify&&!l._hasNotifyEffect(u)?l._createNotifyingProperty(u):c.notify===!1&&l._hasNotifyEffect(u)&&console.warn(`Cannot make notify property '${u}' non-notify.`),c.observer&&l._createPropertyObserver(u,c.observer,h[c.observer]),l._addPropertyToAttributeMap(u)}function r(l,u,c,h){if(!wo){const p=u.content.querySelectorAll("style"),f=ms(u),_=kn(c),C=u.content.firstElementChild;for(let F=0;F<_.length;F++){let z=_[F];z.textContent=l._processStyleText(z.textContent,h),u.content.insertBefore(z,C)}let P=0;for(let F=0;F<f.length;F++){let z=f[F],V=p[P];V!==z?(z=z.cloneNode(!0),V.parentNode.insertBefore(z,V)):P++,z.textContent=l._processStyleText(z.textContent,h)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(u,c),wn&&wo&&mn){const p=u.content.querySelectorAll("style");if(p){let f="";Array.from(p).forEach(_=>{f+=_.textContent,_.parentNode.removeChild(_)}),l._styleSheet=new CSSStyleSheet,l._styleSheet.replaceSync(f)}}}function n(l){let u=null;if(l&&(!yt||gn)&&(u=et.import(l,"template"),yt&&!u))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);return u}class a extends t{static get polymerElementVersion(){return Ma}static _finalizeClass(){t._finalizeClass.call(this);const u=i(this);u&&this.createObservers(u,this._properties),this._prepareTemplate()}static _prepareTemplate(){let u=this.template;u&&(typeof u=="string"?(console.error("template getter must return HTMLTemplateElement"),u=null):cs||(u=u.cloneNode(!0))),this.prototype._template=u}static createProperties(u){for(let c in u)s(this.prototype,c,u[c],u)}static createObservers(u,c){const h=this.prototype;for(let p=0;p<u.length;p++)h._createMethodObserver(u[p],c)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let u=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;typeof u=="function"&&(u=u()),this._template=u!==void 0?u:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&n(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(u){this._template=u}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const u=this.importMeta;if(u)this._importPath=Di(u.url);else{const c=et.import(this.is);this._importPath=c&&c.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=_n,this.importPath=this.constructor.importPath;let u=e(this.constructor);if(u)for(let c in u){let h=u[c];if(this._canApplyPropertyDefault(c)){let p=typeof h.value=="function"?h.value.call(this):h.value;this._hasAccessor(c)?this._setPendingProperty(c,p,!0):this[c]=p}}}_canApplyPropertyDefault(u){return!this.hasOwnProperty(u)}static _processStyleText(u,c){return Ai(u,c)}static _finalizeTemplate(u){const c=this.prototype._template;if(c&&!c.__polymerFinalized){c.__polymerFinalized=!0;const h=this.importPath,p=h?Je(h):"";r(this,c,u,p),this.prototype._bindTemplate(c)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(u){const c=q(this);if(c.attachShadow)return u?(c.shadowRoot||(c.attachShadow({mode:"open",shadyUpgradeFragment:u}),c.shadowRoot.appendChild(u),this.constructor._styleSheet&&(c.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),yn&&window.ShadyDOM&&window.ShadyDOM.flushInitial(c.shadowRoot),c.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(u){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,u)}resolveUrl(u,c){return!c&&this.importPath&&(c=Je(this.importPath)),Je(u,c)}static _parseTemplateContent(u,c,h){return c.dynamicFns=c.dynamicFns||this._properties,t._parseTemplateContent.call(this,u,c,h)}static _addTemplatePropertyEffect(u,c,h){return hs&&!(c in this._properties)&&!(h.info.part.signature&&h.info.part.signature.static)&&!h.info.part.hostProp&&!u.nestedTemplate&&console.warn(`Property '${c}' used in template but not declared in 'properties'; attribute will not be observed.`),t._addTemplatePropertyEffect.call(this,u,c,h)}}return a});/**
2060
+ */const Ma="3.5.2",wo=window.ShadyCSS&&window.ShadyCSS.cssBuild,Ia=j(o=>{const t=Oa(Pi(o));function e(l){if(!l.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",l))){l.__propertyDefaults=null;let u=l._properties;for(let c in u){let h=u[c];"value"in h&&(l.__propertyDefaults=l.__propertyDefaults||{},l.__propertyDefaults[c]=h)}}return l.__propertyDefaults}function i(l){return l.hasOwnProperty(JSCompiler_renameProperty("__ownObservers",l))||(l.__ownObservers=l.hasOwnProperty(JSCompiler_renameProperty("observers",l))?l.observers:null),l.__ownObservers}function s(l,u,c,h){c.computed&&(c.readOnly=!0),c.computed&&(l._hasReadOnlyEffect(u)?console.warn(`Cannot redefine computed property '${u}'.`):l._createComputedProperty(u,c.computed,h)),c.readOnly&&!l._hasReadOnlyEffect(u)?l._createReadOnlyProperty(u,!c.computed):c.readOnly===!1&&l._hasReadOnlyEffect(u)&&console.warn(`Cannot make readOnly property '${u}' non-readOnly.`),c.reflectToAttribute&&!l._hasReflectEffect(u)?l._createReflectedProperty(u):c.reflectToAttribute===!1&&l._hasReflectEffect(u)&&console.warn(`Cannot make reflected property '${u}' non-reflected.`),c.notify&&!l._hasNotifyEffect(u)?l._createNotifyingProperty(u):c.notify===!1&&l._hasNotifyEffect(u)&&console.warn(`Cannot make notify property '${u}' non-notify.`),c.observer&&l._createPropertyObserver(u,c.observer,h[c.observer]),l._addPropertyToAttributeMap(u)}function r(l,u,c,h){if(!wo){const p=u.content.querySelectorAll("style"),m=ms(u),_=kn(c),C=u.content.firstElementChild;for(let F=0;F<_.length;F++){let z=_[F];z.textContent=l._processStyleText(z.textContent,h),u.content.insertBefore(z,C)}let P=0;for(let F=0;F<m.length;F++){let z=m[F],V=p[P];V!==z?(z=z.cloneNode(!0),V.parentNode.insertBefore(z,V)):P++,z.textContent=l._processStyleText(z.textContent,h)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(u,c),wn&&wo&&mn){const p=u.content.querySelectorAll("style");if(p){let m="";Array.from(p).forEach(_=>{m+=_.textContent,_.parentNode.removeChild(_)}),l._styleSheet=new CSSStyleSheet,l._styleSheet.replaceSync(m)}}}function n(l){let u=null;if(l&&(!yt||gn)&&(u=et.import(l,"template"),yt&&!u))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);return u}class a extends t{static get polymerElementVersion(){return Ma}static _finalizeClass(){t._finalizeClass.call(this);const u=i(this);u&&this.createObservers(u,this._properties),this._prepareTemplate()}static _prepareTemplate(){let u=this.template;u&&(typeof u=="string"?(console.error("template getter must return HTMLTemplateElement"),u=null):cs||(u=u.cloneNode(!0))),this.prototype._template=u}static createProperties(u){for(let c in u)s(this.prototype,c,u[c],u)}static createObservers(u,c){const h=this.prototype;for(let p=0;p<u.length;p++)h._createMethodObserver(u[p],c)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let u=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;typeof u=="function"&&(u=u()),this._template=u!==void 0?u:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&n(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(u){this._template=u}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const u=this.importMeta;if(u)this._importPath=Di(u.url);else{const c=et.import(this.is);this._importPath=c&&c.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=_n,this.importPath=this.constructor.importPath;let u=e(this.constructor);if(u)for(let c in u){let h=u[c];if(this._canApplyPropertyDefault(c)){let p=typeof h.value=="function"?h.value.call(this):h.value;this._hasAccessor(c)?this._setPendingProperty(c,p,!0):this[c]=p}}}_canApplyPropertyDefault(u){return!this.hasOwnProperty(u)}static _processStyleText(u,c){return Ai(u,c)}static _finalizeTemplate(u){const c=this.prototype._template;if(c&&!c.__polymerFinalized){c.__polymerFinalized=!0;const h=this.importPath,p=h?Je(h):"";r(this,c,u,p),this.prototype._bindTemplate(c)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(u){const c=q(this);if(c.attachShadow)return u?(c.shadowRoot||(c.attachShadow({mode:"open",shadyUpgradeFragment:u}),c.shadowRoot.appendChild(u),this.constructor._styleSheet&&(c.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),yn&&window.ShadyDOM&&window.ShadyDOM.flushInitial(c.shadowRoot),c.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(u){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,u)}resolveUrl(u,c){return!c&&this.importPath&&(c=Je(this.importPath)),Je(u,c)}static _parseTemplateContent(u,c,h){return c.dynamicFns=c.dynamicFns||this._properties,t._parseTemplateContent.call(this,u,c,h)}static _addTemplatePropertyEffect(u,c,h){return hs&&!(c in this._properties)&&!(h.info.part.signature&&h.info.part.signature.static)&&!h.info.part.hostProp&&!u.nestedTemplate&&console.warn(`Property '${c}' used in template but not declared in 'properties'; attribute will not be observed.`),t._addTemplatePropertyEffect.call(this,u,c,h)}}return a});/**
2061
2061
  @license
2062
2062
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2063
2063
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -2241,7 +2241,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2241
2241
  * @license
2242
2242
  * Copyright (c) 2017 Anton Korzunov
2243
2243
  * SPDX-License-Identifier: MIT
2244
- */let Pe=new WeakMap,ut=new WeakMap,ct={},Rt=0;const Co=o=>o&&o.nodeType===Node.ELEMENT_NODE,Ht=(...o)=>{console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`)},tl=(o,t)=>Co(o)?t.map(e=>{if(!Co(e))return Ht(e,"is not a valid element"),null;let i=e;for(;i&&i!==o;){if(o.contains(i))return e;i=i.getRootNode().host}return Ht(e,"is not contained inside",o),null}).filter(e=>!!e):(Ht(o,"is not a valid element"),[]),il=(o,t,e,i)=>{const s=tl(t,Array.isArray(o)?o:[o]);ct[e]||(ct[e]=new WeakMap);const r=ct[e],n=[],a=new Set,l=new Set(s),u=h=>{if(!h||a.has(h))return;a.add(h);const p=h.assignedSlot;p&&u(p),u(h.parentNode||h.host)};s.forEach(u);const c=h=>{if(!h||l.has(h))return;const p=h.shadowRoot;(p?[...h.children,...p.children]:[...h.children]).forEach(_=>{if(!["template","script","style"].includes(_.localName))if(a.has(_))c(_);else{const C=_.getAttribute(i),P=C!==null&&C!=="false",F=(Pe.get(_)||0)+1,z=(r.get(_)||0)+1;Pe.set(_,F),r.set(_,z),n.push(_),F===1&&P&&ut.set(_,!0),z===1&&_.setAttribute(e,"true"),P||_.setAttribute(i,"true")}})};return c(t),a.clear(),Rt+=1,()=>{n.forEach(h=>{const p=Pe.get(h)-1,f=r.get(h)-1;Pe.set(h,p),r.set(h,f),p||(ut.has(h)?ut.delete(h):h.removeAttribute(i)),f||h.removeAttribute(e)}),Rt-=1,Rt||(Pe=new WeakMap,Pe=new WeakMap,ut=new WeakMap,ct={})}},Bs=(o,t=document.body,e="data-aria-hidden")=>{const i=Array.from(Array.isArray(o)?o:[o]);return t&&i.push(...Array.from(t.querySelectorAll("[aria-live]"))),il(i,t,e,"aria-hidden")};/**
2244
+ */let Pe=new WeakMap,ut=new WeakMap,ct={},Rt=0;const Co=o=>o&&o.nodeType===Node.ELEMENT_NODE,Ht=(...o)=>{console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`)},tl=(o,t)=>Co(o)?t.map(e=>{if(!Co(e))return Ht(e,"is not a valid element"),null;let i=e;for(;i&&i!==o;){if(o.contains(i))return e;i=i.getRootNode().host}return Ht(e,"is not contained inside",o),null}).filter(e=>!!e):(Ht(o,"is not a valid element"),[]),il=(o,t,e,i)=>{const s=tl(t,Array.isArray(o)?o:[o]);ct[e]||(ct[e]=new WeakMap);const r=ct[e],n=[],a=new Set,l=new Set(s),u=h=>{if(!h||a.has(h))return;a.add(h);const p=h.assignedSlot;p&&u(p),u(h.parentNode||h.host)};s.forEach(u);const c=h=>{if(!h||l.has(h))return;const p=h.shadowRoot;(p?[...h.children,...p.children]:[...h.children]).forEach(_=>{if(!["template","script","style"].includes(_.localName))if(a.has(_))c(_);else{const C=_.getAttribute(i),P=C!==null&&C!=="false",F=(Pe.get(_)||0)+1,z=(r.get(_)||0)+1;Pe.set(_,F),r.set(_,z),n.push(_),F===1&&P&&ut.set(_,!0),z===1&&_.setAttribute(e,"true"),P||_.setAttribute(i,"true")}})};return c(t),a.clear(),Rt+=1,()=>{n.forEach(h=>{const p=Pe.get(h)-1,m=r.get(h)-1;Pe.set(h,p),r.set(h,m),p||(ut.has(h)?ut.delete(h):h.removeAttribute(i)),m||h.removeAttribute(e)}),Rt-=1,Rt||(Pe=new WeakMap,Pe=new WeakMap,ut=new WeakMap,ct={})}},Bs=(o,t=document.body,e="data-aria-hidden")=>{const i=Array.from(Array.isArray(o)?o:[o]);return t&&i.push(...Array.from(t.querySelectorAll("[aria-live]"))),il(i,t,e,"aria-hidden")};/**
2245
2245
  * @license
2246
2246
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2247
2247
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -2277,11 +2277,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2277
2277
  * @license
2278
2278
  * Copyright (c) 2024 Vaadin Ltd.
2279
2279
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2280
- */function pl(o,t){let e=null;const i=document.documentElement;function s(){e&&e.disconnect(),e=null}function r(n=!1,a=1){s();const{left:l,top:u,width:c,height:h}=o.getBoundingClientRect();if(n||t(),!c||!h)return;const p=Math.floor(u),f=Math.floor(i.clientWidth-(l+c)),_=Math.floor(i.clientHeight-(u+h)),C=Math.floor(l),F={rootMargin:`${-p}px ${-f}px ${-_}px ${-C}px`,threshold:Math.max(0,Math.min(1,a))||1};let z=!0;function V(M){let H=M[0].intersectionRatio;if(H!==a){if(!z)return r();H===0&&(H=1e-7),r(!1,H)}z=!1}e=new IntersectionObserver(V,F),e.observe(o)}return r(!0),s}/**
2280
+ */function pl(o,t){let e=null;const i=document.documentElement;function s(){e&&e.disconnect(),e=null}function r(n=!1,a=1){s();const{left:l,top:u,width:c,height:h}=o.getBoundingClientRect();if(n||t(),!c||!h)return;const p=Math.floor(u),m=Math.floor(i.clientWidth-(l+c)),_=Math.floor(i.clientHeight-(u+h)),C=Math.floor(l),F={rootMargin:`${-p}px ${-m}px ${-_}px ${-C}px`,threshold:Math.max(0,Math.min(1,a))||1};let z=!0;function V(M){let H=M[0].intersectionRatio;if(H!==a){if(!z)return r();H===0&&(H=1e-7),r(!1,H)}z=!1}e=new IntersectionObserver(V,F),e.observe(o)}return r(!0),s}/**
2281
2281
  * @license
2282
2282
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
2283
2283
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2284
- */const Vt={start:"top",end:"bottom"},Ut={start:"left",end:"right"},To=new ResizeObserver(o=>{setTimeout(()=>{o.forEach(t=>{t.target.__overlay&&t.target.__overlay._updatePosition()})})}),fl=o=>class extends o{static get properties(){return{positionTarget:{type:Object,value:null,sync:!0},horizontalAlign:{type:String,value:"start",sync:!0},verticalAlign:{type:String,value:"top",sync:!0},noHorizontalOverlap:{type:Boolean,value:!1,sync:!0},noVerticalOverlap:{type:Boolean,value:!1,sync:!0},requiredVerticalSpace:{type:Number,value:0,sync:!0}}}static get observers(){return["__positionSettingsChanged(horizontalAlign, verticalAlign, noHorizontalOverlap, noVerticalOverlap, requiredVerticalSpace)","__overlayOpenedChanged(opened, positionTarget)"]}constructor(){super(),this.__onScroll=this.__onScroll.bind(this),this._updatePosition=this._updatePosition.bind(this)}connectedCallback(){super.connectedCallback(),this.opened&&this.__addUpdatePositionEventListeners()}disconnectedCallback(){super.disconnectedCallback(),this.__removeUpdatePositionEventListeners()}__addUpdatePositionEventListeners(){window.visualViewport.addEventListener("resize",this._updatePosition),window.visualViewport.addEventListener("scroll",this.__onScroll,!0),this.__positionTargetAncestorRootNodes=ul(this.positionTarget),this.__positionTargetAncestorRootNodes.forEach(e=>{e.addEventListener("scroll",this.__onScroll,!0)}),this.positionTarget&&(this.__observePositionTargetMove=pl(this.positionTarget,()=>{this._updatePosition()}))}__removeUpdatePositionEventListeners(){window.visualViewport.removeEventListener("resize",this._updatePosition),window.visualViewport.removeEventListener("scroll",this.__onScroll,!0),this.__positionTargetAncestorRootNodes&&(this.__positionTargetAncestorRootNodes.forEach(e=>{e.removeEventListener("scroll",this.__onScroll,!0)}),this.__positionTargetAncestorRootNodes=null),this.__observePositionTargetMove&&(this.__observePositionTargetMove(),this.__observePositionTargetMove=null)}__overlayOpenedChanged(e,i){if(this.__removeUpdatePositionEventListeners(),i&&(i.__overlay=null,To.unobserve(i),e&&(this.__addUpdatePositionEventListeners(),i.__overlay=this,To.observe(i))),e){const s=getComputedStyle(this);this.__margins||(this.__margins={},["top","bottom","left","right"].forEach(r=>{this.__margins[r]=parseInt(s[r],10)})),this._updatePosition(),requestAnimationFrame(()=>this._updatePosition())}}__positionSettingsChanged(){this._updatePosition()}__onScroll(e){e.target instanceof Node&&this.contains(e.target)||this._updatePosition()}_updatePosition(){if(!this.positionTarget||!this.opened||!this.__margins)return;const e=this.positionTarget.getBoundingClientRect();if(e.width===0&&e.height===0&&this.opened){this.opened=!1;return}const i=this.__shouldAlignStartVertically(e);this.style.justifyContent=i?"flex-start":"flex-end";const s=this.__isRTL,r=this.__shouldAlignStartHorizontally(e,s),n=!s&&r||s&&!r;this.style.alignItems=n?"flex-start":"flex-end";const a=this.getBoundingClientRect(),l=this.__calculatePositionInOneDimension(e,a,this.noVerticalOverlap,Vt,this,i),u=this.__calculatePositionInOneDimension(e,a,this.noHorizontalOverlap,Ut,this,r);Object.assign(this.style,l,u),this.toggleAttribute("bottom-aligned",!i),this.toggleAttribute("top-aligned",i),this.toggleAttribute("end-aligned",!n),this.toggleAttribute("start-aligned",n)}__shouldAlignStartHorizontally(e,i){const s=Math.max(this.__oldContentWidth||0,this.$.overlay.offsetWidth);this.__oldContentWidth=this.$.overlay.offsetWidth;const r=Math.min(window.innerWidth,document.documentElement.clientWidth),n=!i&&this.horizontalAlign==="start"||i&&this.horizontalAlign==="end";return this.__shouldAlignStart(e,s,r,this.__margins,n,this.noHorizontalOverlap,Ut)}__shouldAlignStartVertically(e){const i=this.requiredVerticalSpace||Math.max(this.__oldContentHeight||0,this.$.overlay.offsetHeight);this.__oldContentHeight=this.$.overlay.offsetHeight;const s=Math.min(window.innerHeight,document.documentElement.clientHeight),r=this.verticalAlign==="top";return this.__shouldAlignStart(e,i,s,this.__margins,r,this.noVerticalOverlap,Vt)}__shouldAlignStart(e,i,s,r,n,a,l){const u=s-e[a?l.end:l.start]-r[l.end],c=e[a?l.start:l.end]-r[l.start],h=n?u:c,f=h>(n?c:u)||h>i;return n===f}__adjustBottomProperty(e,i,s){let r;if(e===i.end){if(i.end===Vt.end){const n=Math.min(window.innerHeight,document.documentElement.clientHeight);if(s>n&&this.__oldViewportHeight){const a=this.__oldViewportHeight-n;r=s-a}this.__oldViewportHeight=n}if(i.end===Ut.end){const n=Math.min(window.innerWidth,document.documentElement.clientWidth);if(s>n&&this.__oldViewportWidth){const a=this.__oldViewportWidth-n;r=s-a}this.__oldViewportWidth=n}}return r}__calculatePositionInOneDimension(e,i,s,r,n,a){const l=a?r.start:r.end,u=a?r.end:r.start,c=parseFloat(n.style[l]||getComputedStyle(n)[l]),h=this.__adjustBottomProperty(l,r,c),p=i[a?r.start:r.end]-e[s===a?r.end:r.start],f=h?`${h}px`:`${c+p*(a?-1:1)}px`;return{[l]:f,[u]:""}}};/**
2284
+ */const Vt={start:"top",end:"bottom"},Ut={start:"left",end:"right"},To=new ResizeObserver(o=>{setTimeout(()=>{o.forEach(t=>{t.target.__overlay&&t.target.__overlay._updatePosition()})})}),fl=o=>class extends o{static get properties(){return{positionTarget:{type:Object,value:null,sync:!0},horizontalAlign:{type:String,value:"start",sync:!0},verticalAlign:{type:String,value:"top",sync:!0},noHorizontalOverlap:{type:Boolean,value:!1,sync:!0},noVerticalOverlap:{type:Boolean,value:!1,sync:!0},requiredVerticalSpace:{type:Number,value:0,sync:!0}}}static get observers(){return["__positionSettingsChanged(horizontalAlign, verticalAlign, noHorizontalOverlap, noVerticalOverlap, requiredVerticalSpace)","__overlayOpenedChanged(opened, positionTarget)"]}constructor(){super(),this.__onScroll=this.__onScroll.bind(this),this._updatePosition=this._updatePosition.bind(this)}connectedCallback(){super.connectedCallback(),this.opened&&this.__addUpdatePositionEventListeners()}disconnectedCallback(){super.disconnectedCallback(),this.__removeUpdatePositionEventListeners()}__addUpdatePositionEventListeners(){window.visualViewport.addEventListener("resize",this._updatePosition),window.visualViewport.addEventListener("scroll",this.__onScroll,!0),this.__positionTargetAncestorRootNodes=ul(this.positionTarget),this.__positionTargetAncestorRootNodes.forEach(e=>{e.addEventListener("scroll",this.__onScroll,!0)}),this.positionTarget&&(this.__observePositionTargetMove=pl(this.positionTarget,()=>{this._updatePosition()}))}__removeUpdatePositionEventListeners(){window.visualViewport.removeEventListener("resize",this._updatePosition),window.visualViewport.removeEventListener("scroll",this.__onScroll,!0),this.__positionTargetAncestorRootNodes&&(this.__positionTargetAncestorRootNodes.forEach(e=>{e.removeEventListener("scroll",this.__onScroll,!0)}),this.__positionTargetAncestorRootNodes=null),this.__observePositionTargetMove&&(this.__observePositionTargetMove(),this.__observePositionTargetMove=null)}__overlayOpenedChanged(e,i){if(this.__removeUpdatePositionEventListeners(),i&&(i.__overlay=null,To.unobserve(i),e&&(this.__addUpdatePositionEventListeners(),i.__overlay=this,To.observe(i))),e){const s=getComputedStyle(this);this.__margins||(this.__margins={},["top","bottom","left","right"].forEach(r=>{this.__margins[r]=parseInt(s[r],10)})),this._updatePosition(),requestAnimationFrame(()=>this._updatePosition())}}__positionSettingsChanged(){this._updatePosition()}__onScroll(e){e.target instanceof Node&&this.contains(e.target)||this._updatePosition()}_updatePosition(){if(!this.positionTarget||!this.opened||!this.__margins)return;const e=this.positionTarget.getBoundingClientRect();if(e.width===0&&e.height===0&&this.opened){this.opened=!1;return}const i=this.__shouldAlignStartVertically(e);this.style.justifyContent=i?"flex-start":"flex-end";const s=this.__isRTL,r=this.__shouldAlignStartHorizontally(e,s),n=!s&&r||s&&!r;this.style.alignItems=n?"flex-start":"flex-end";const a=this.getBoundingClientRect(),l=this.__calculatePositionInOneDimension(e,a,this.noVerticalOverlap,Vt,this,i),u=this.__calculatePositionInOneDimension(e,a,this.noHorizontalOverlap,Ut,this,r);Object.assign(this.style,l,u),this.toggleAttribute("bottom-aligned",!i),this.toggleAttribute("top-aligned",i),this.toggleAttribute("end-aligned",!n),this.toggleAttribute("start-aligned",n)}__shouldAlignStartHorizontally(e,i){const s=Math.max(this.__oldContentWidth||0,this.$.overlay.offsetWidth);this.__oldContentWidth=this.$.overlay.offsetWidth;const r=Math.min(window.innerWidth,document.documentElement.clientWidth),n=!i&&this.horizontalAlign==="start"||i&&this.horizontalAlign==="end";return this.__shouldAlignStart(e,s,r,this.__margins,n,this.noHorizontalOverlap,Ut)}__shouldAlignStartVertically(e){const i=this.requiredVerticalSpace||Math.max(this.__oldContentHeight||0,this.$.overlay.offsetHeight);this.__oldContentHeight=this.$.overlay.offsetHeight;const s=Math.min(window.innerHeight,document.documentElement.clientHeight),r=this.verticalAlign==="top";return this.__shouldAlignStart(e,i,s,this.__margins,r,this.noVerticalOverlap,Vt)}__shouldAlignStart(e,i,s,r,n,a,l){const u=s-e[a?l.end:l.start]-r[l.end],c=e[a?l.start:l.end]-r[l.start],h=n?u:c,m=h>(n?c:u)||h>i;return n===m}__adjustBottomProperty(e,i,s){let r;if(e===i.end){if(i.end===Vt.end){const n=Math.min(window.innerHeight,document.documentElement.clientHeight);if(s>n&&this.__oldViewportHeight){const a=this.__oldViewportHeight-n;r=s-a}this.__oldViewportHeight=n}if(i.end===Ut.end){const n=Math.min(window.innerWidth,document.documentElement.clientWidth);if(s>n&&this.__oldViewportWidth){const a=this.__oldViewportWidth-n;r=s-a}this.__oldViewportWidth=n}}return r}__calculatePositionInOneDimension(e,i,s,r,n,a){const l=a?r.start:r.end,u=a?r.end:r.start,c=parseFloat(n.style[l]||getComputedStyle(n)[l]),h=this.__adjustBottomProperty(l,r,c),p=i[a?r.start:r.end]-e[s===a?r.end:r.start],m=h?`${h}px`:`${c+p*(a?-1:1)}px`;return{[l]:m,[u]:""}}};/**
2285
2285
  * @license
2286
2286
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
2287
2287
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -3552,7 +3552,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3552
3552
  ></vaadin-date-picker-overlay>
3553
3553
 
3554
3554
  <slot name="tooltip"></slot>
3555
- `}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new qd(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e},{uniqueIdPrefix:"search-input"})),this.addController(new Kd(this.inputElement,this._labelController)),this._tooltipController=new Ks(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow(e=>!e.opened),this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown",e=>e.preventDefault()),this.$.overlay.addEventListener("vaadin-overlay-close",this._onVaadinOverlayClose.bind(this))}_onVaadinOverlayClose(t){t.detail.sourceEvent&&t.detail.sourceEvent.composedPath().includes(this)&&t.preventDefault()}_toggle(t){t.stopPropagation(),this.$.overlay.opened?this.close():this.open()}_openedChanged(t){super._openedChanged(t),this.$.overlay.positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this.$.overlay.noVerticalOverlap=!0}}le(ou);if(typeof window!="undefined"){let o=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=o(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountModal-hjSLdPip.cjs")).then(({default:t})=>{!customElements.get("player-account-modal")&&customElements.define("player-account-modal",t.element)})}if(typeof window!="undefined"){let o=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=o(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGeneralConfirmationModal-D8gEln9g.cjs")).then(({default:t})=>{!customElements.get("player-account-general-confirmation-modal")&&customElements.define("player-account-general-confirmation-modal",t.element)})}var mr={exports:{}};(function(o,t){(function(e,i){o.exports=i()})(d.commonjsGlobal,function(){var e=1e3,i=6e4,s=36e5,r="millisecond",n="second",a="minute",l="hour",u="day",c="week",h="month",p="quarter",f="year",_="date",C="Invalid Date",P=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,F=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,z={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(x){var v=["th","st","nd","rd"],m=x%100;return"["+x+(v[(m-20)%10]||v[m]||v[0])+"]"}},V=function(x,v,m){var y=String(x);return!y||y.length>=v?x:""+Array(v+1-y.length).join(m)+x},M={s:V,z:function(x){var v=-x.utcOffset(),m=Math.abs(v),y=Math.floor(m/60),g=m%60;return(v<=0?"+":"-")+V(y,2,"0")+":"+V(g,2,"0")},m:function x(v,m){if(v.date()<m.date())return-x(m,v);var y=12*(m.year()-v.year())+(m.month()-v.month()),g=v.clone().add(y,h),T=m-g<0,A=v.clone().add(y+(T?-1:1),h);return+(-(y+(m-g)/(T?g-A:A-g))||0)},a:function(x){return x<0?Math.ceil(x)||0:Math.floor(x)},p:function(x){return{M:h,y:f,w:c,d:u,D:_,h:l,m:a,s:n,ms:r,Q:p}[x]||String(x||"").toLowerCase().replace(/s$/,"")},u:function(x){return x===void 0}},H="en",W={};W[H]=z;var te="$isDayjsObject",G=function(x){return x instanceof Q||!(!x||!x[te])},re=function x(v,m,y){var g;if(!v)return H;if(typeof v=="string"){var T=v.toLowerCase();W[T]&&(g=T),m&&(W[T]=m,g=T);var A=v.split("-");if(!g&&A.length>1)return x(A[0])}else{var N=v.name;W[N]=v,g=N}return!y&&g&&(H=g),g||!y&&H},R=function(x,v){if(G(x))return x.clone();var m=typeof v=="object"?v:{};return m.date=x,m.args=arguments,new Q(m)},D=M;D.l=re,D.i=G,D.w=function(x,v){return R(x,{locale:v.$L,utc:v.$u,x:v.$x,$offset:v.$offset})};var Q=function(){function x(m){this.$L=re(m.locale,null,!0),this.parse(m),this.$x=this.$x||m.x||{},this[te]=!0}var v=x.prototype;return v.parse=function(m){this.$d=function(y){var g=y.date,T=y.utc;if(g===null)return new Date(NaN);if(D.u(g))return new Date;if(g instanceof Date)return new Date(g);if(typeof g=="string"&&!/Z$/i.test(g)){var A=g.match(P);if(A){var N=A[2]-1||0,S=(A[7]||"0").substring(0,3);return T?new Date(Date.UTC(A[1],N,A[3]||1,A[4]||0,A[5]||0,A[6]||0,S)):new Date(A[1],N,A[3]||1,A[4]||0,A[5]||0,A[6]||0,S)}}return new Date(g)}(m),this.init()},v.init=function(){var m=this.$d;this.$y=m.getFullYear(),this.$M=m.getMonth(),this.$D=m.getDate(),this.$W=m.getDay(),this.$H=m.getHours(),this.$m=m.getMinutes(),this.$s=m.getSeconds(),this.$ms=m.getMilliseconds()},v.$utils=function(){return D},v.isValid=function(){return this.$d.toString()!==C},v.isSame=function(m,y){var g=R(m);return this.startOf(y)<=g&&g<=this.endOf(y)},v.isAfter=function(m,y){return R(m)<this.startOf(y)},v.isBefore=function(m,y){return this.endOf(y)<R(m)},v.$g=function(m,y,g){return D.u(m)?this[y]:this.set(g,m)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(m,y){var g=this,T=!!D.u(y)||y,A=D.p(m),N=function(ie,K){var ne=D.w(g.$u?Date.UTC(g.$y,K,ie):new Date(g.$y,K,ie),g);return T?ne:ne.endOf(u)},S=function(ie,K){return D.w(g.toDate()[ie].apply(g.toDate("s"),(T?[0,0,0,0]:[23,59,59,999]).slice(K)),g)},L=this.$W,E=this.$M,$=this.$D,w="set"+(this.$u?"UTC":"");switch(A){case f:return T?N(1,0):N(31,11);case h:return T?N(1,E):N(0,E+1);case c:var k=this.$locale().weekStart||0,B=(L<k?L+7:L)-k;return N(T?$-B:$+(6-B),E);case u:case _:return S(w+"Hours",0);case l:return S(w+"Minutes",1);case a:return S(w+"Seconds",2);case n:return S(w+"Milliseconds",3);default:return this.clone()}},v.endOf=function(m){return this.startOf(m,!1)},v.$set=function(m,y){var g,T=D.p(m),A="set"+(this.$u?"UTC":""),N=(g={},g[u]=A+"Date",g[_]=A+"Date",g[h]=A+"Month",g[f]=A+"FullYear",g[l]=A+"Hours",g[a]=A+"Minutes",g[n]=A+"Seconds",g[r]=A+"Milliseconds",g)[T],S=T===u?this.$D+(y-this.$W):y;if(T===h||T===f){var L=this.clone().set(_,1);L.$d[N](S),L.init(),this.$d=L.set(_,Math.min(this.$D,L.daysInMonth())).$d}else N&&this.$d[N](S);return this.init(),this},v.set=function(m,y){return this.clone().$set(m,y)},v.get=function(m){return this[D.p(m)]()},v.add=function(m,y){var g,T=this;m=Number(m);var A=D.p(y),N=function(E){var $=R(T);return D.w($.date($.date()+Math.round(E*m)),T)};if(A===h)return this.set(h,this.$M+m);if(A===f)return this.set(f,this.$y+m);if(A===u)return N(1);if(A===c)return N(7);var S=(g={},g[a]=i,g[l]=s,g[n]=e,g)[A]||1,L=this.$d.getTime()+m*S;return D.w(L,this)},v.subtract=function(m,y){return this.add(-1*m,y)},v.format=function(m){var y=this,g=this.$locale();if(!this.isValid())return g.invalidDate||C;var T=m||"YYYY-MM-DDTHH:mm:ssZ",A=D.z(this),N=this.$H,S=this.$m,L=this.$M,E=g.weekdays,$=g.months,w=g.meridiem,k=function(K,ne,ge,ke){return K&&(K[ne]||K(y,T))||ge[ne].slice(0,ke)},B=function(K){return D.s(N%12||12,K,"0")},ie=w||function(K,ne,ge){var ke=K<12?"AM":"PM";return ge?ke.toLowerCase():ke};return T.replace(F,function(K,ne){return ne||function(ge){switch(ge){case"YY":return String(y.$y).slice(-2);case"YYYY":return D.s(y.$y,4,"0");case"M":return L+1;case"MM":return D.s(L+1,2,"0");case"MMM":return k(g.monthsShort,L,$,3);case"MMMM":return k($,L);case"D":return y.$D;case"DD":return D.s(y.$D,2,"0");case"d":return String(y.$W);case"dd":return k(g.weekdaysMin,y.$W,E,2);case"ddd":return k(g.weekdaysShort,y.$W,E,3);case"dddd":return E[y.$W];case"H":return String(N);case"HH":return D.s(N,2,"0");case"h":return B(1);case"hh":return B(2);case"a":return ie(N,S,!0);case"A":return ie(N,S,!1);case"m":return String(S);case"mm":return D.s(S,2,"0");case"s":return String(y.$s);case"ss":return D.s(y.$s,2,"0");case"SSS":return D.s(y.$ms,3,"0");case"Z":return A}return null}(K)||A.replace(":","")})},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(m,y,g){var T,A=this,N=D.p(y),S=R(m),L=(S.utcOffset()-this.utcOffset())*i,E=this-S,$=function(){return D.m(A,S)};switch(N){case f:T=$()/12;break;case h:T=$();break;case p:T=$()/3;break;case c:T=(E-L)/6048e5;break;case u:T=(E-L)/864e5;break;case l:T=E/s;break;case a:T=E/i;break;case n:T=E/e;break;default:T=E}return g?T:D.a(T)},v.daysInMonth=function(){return this.endOf(h).$D},v.$locale=function(){return W[this.$L]},v.locale=function(m,y){if(!m)return this.$L;var g=this.clone(),T=re(m,y,!0);return T&&(g.$L=T),g},v.clone=function(){return D.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},x}(),J=Q.prototype;return R.prototype=J,[["$ms",r],["$s",n],["$m",a],["$H",l],["$W",u],["$M",h],["$y",f],["$D",_]].forEach(function(x){J[x[1]]=function(v){return this.$g(v,x[0],x[1])}}),R.extend=function(x,v){return x.$i||(x(v,Q,R),x.$i=!0),R},R.locale=re,R.isDayjs=G,R.unix=function(x){return R(1e3*x)},R.en=W[H],R.Ls=W,R.p={},R})})(mr);var su=mr.exports;const vi=d.getDefaultExportFromCjs(su);function ru({withLocale:o,translations:t}){d.$locale.subscribe(e=>{e==null&&(d.$dictionary.set(t),d.$locale.set(o))})}function Fo(o,t){d.addMessages(o,t)}function nu(o){d.$locale.set(o)}const zo={en:{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",timeoutTextSecondary:'Please note that the “Time-out facility” does not in any case replace “Self-exclusion”. If you think you are experiencing a gambling addiction problem, please enter the link under "Responsible Gaming" and use the "Self-exclusion service" or contact us as soon as possible.',save:"Save",CoolOffFor24Hours:"24 hours",CoolOffFor72Hours:"72 hours",CoolOffFor7Days:"7 days",CoolOffFor30Days:"30 days",CoolOffFor6Weeks:"6 weeks",CoolOffFor2Months:"2 months",CoolOffFor3Months:"3 months",CoolOffUntilSelectedDate:"Until",dateInstructions:"In order to manually input date use the following format:",duration:"Duration:",confirmationModalTitle:"Confirmation",confirmationModalTextPeriodTimeout:"Are you sure you want to cool-off for {period}?",confirmationModalTextUntilTimeout:"Are you sure you want to cool-off until {date}?"},"en-us":{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",timeoutTextSecondary:'Please note that the “Time-out facility” does not in any case replace “Self-exclusion”. If you think you are experiencing a gambling addiction problem, please enter the link under "Responsible Gaming" and use the "Self-exclusion service" or contact us as soon as possible.',save:"Save",CoolOffFor24Hours:"24 hours",CoolOffFor72Hours:"72 hours",CoolOffFor7Days:"7 days",CoolOffFor30Days:"30 days",CoolOffFor6Weeks:"6 weeks",CoolOffFor2Months:"2 months",CoolOffFor3Months:"3 months",CoolOffUntilSelectedDate:"Until",dateInstructions:"In order to manually input date use the following format:",duration:"Duration:",confirmationModalTitle:"Confirmation",confirmationModalTextPeriodTimeout:"Are you sure you want to cool-off for {period}?",confirmationModalTextUntilTimeout:"Are you sure you want to cool-off until {date}?"},"zh-hk":{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} 為您提供一種從遊戲中休息的簡單方法。 您可以請求自動封鎖您的帳戶 24 小時。 在臨時限制期間,您將無法訪問您的帳戶。",timeoutTextSecondary:"請注意,“超時設施”在任何情況下都不能取代“自我排除”。 如果您認為自己有賭博成癮問題,請進入“負責任博彩”下的鏈接並使用“自我排除服務”或盡快與我們聯繫。",save:"節省",CoolOffFor24Hours:"24小時",CoolOffFor72Hours:"72小時",CoolOffFor7Days:"7天",CoolOffFor30Days:"30天",CoolOffFor6Weeks:"6週",CoolOffFor2Months:"2個月",CoolOffFor3Months:"3個月",CoolOffUntilSelectedDate:"直到",dateInstructions:"如需手動輸入日期,請使用以下格式:",duration:"持續時間:",confirmationModalTitle:"確認",confirmationModalTextPeriodTimeout:"您確定要冷靜 {period} 嗎?",confirmationModalTextUntilTimeout:"您確定要冷靜直到 {date} 嗎?"},fr:{titleTimeout:"Délai d'attente",timeoutTextFirst:"{operatorname} vous offre un moyen facile de faire une pause dans les jeux.vous pouvez demander le blocage automatique de votre compte pendant 24 heures . Pendant le blocage temporaire ,vous ne pourrez pas accéder à votre compte.",timeoutTextSecondary:`Veuillez noter que l'"installation du temps mort" ne remplace en aucun cas "l'auto exclusion". Si vous pensez avoir un problème de dépendance au jeu,veuillez cliquer sur le lien "jeux responsable" et utiliser le "service d'auto exclusion" ou nous contacter dès que possible.`,save:"Savez",CoolOffFor24Hours:"24 heures",CoolOffFor72Hours:"72 heures",CoolOffFor7Days:"7 jours",CoolOffFor30Days:"30 jours",CoolOffFor6Weeks:"6 semaines",CoolOffFor2Months:"2 mois",CoolOffFor3Months:"3 mois",CoolOffUntilSelectedDate:"Jusqu'à",dateInstructions:"Pour saisir une date manuellement, utilisez le format suivant :",duration:"Durée :",confirmationModalTitle:"Confirmation",confirmationModalTextPeriodTimeout:"Êtes-vous sûr de vouloir vous refroidir pendant {period} ?",confirmationModalTextUntilTimeout:"Êtes-vous sûr de vouloir vous refroidir jusqu'au {date} ?"},ro:{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} îți asigură o cale ușoară de a lua o pauză de la jocuri. Poți solicita o blocare automată a contului tău pentru 24 de ore. În timpul restricției temporare, nu vei putea accesa contul.",timeoutTextSecondary:"Te rugăm să reții că „Facilitatea de time-out” nu înlocuiește în niciun caz „Auto-excluderea”. Dacă crezi că te confrunți cu o problemă de dependență de jocuri de noroc, te rugăm să accesezi secțiunea de „Joc responsabil” și să utilizezi „Serviciul de auto-excludere” sau să ne contactezi cât mai curând posibil.",save:"Salvează",CoolOffFor24Hours:"24 ore",CoolOffFor72Hours:"72 ore",CoolOffFor7Days:"7 zile",CoolOffFor30Days:"30 zile",CoolOffFor6Weeks:"6 săptămâni",CoolOffFor2Months:"2 luni",CoolOffFor3Months:"3 luni",CoolOffUntilSelectedDate:"Până la",dateInstructions:"Pentru a introduce manual o dată, utilizați următorul format:",duration:"Durată:",confirmationModalTitle:"Confirmare",confirmationModalTextPeriodTimeout:"Ești sigur că vrei să te răcorești pentru {period}?",confirmationModalTextUntilTimeout:"Ești sigur că vrei să te răcorești până la {date}?"},es:{titleTimeout:"Descanso",timeoutTextFirst:"{operatorname} le brinda una manera fácil de tomarse un descanso de los juegos. Puedes solicitar un bloqueo automático de tu cuenta durante 24 horas. Durante la contención temporal, no será posible ingresar a su cuenta.",timeoutTextSecondary:'Tenga en cuenta que la función de tiempo de espera no sustituye en ningún caso la autoexclusión. Si cree que tiene un problema de adicción al juego, por favor ingrese al enlace de "Juego Responsable" y use el "Servicio de autoexclusión" o ponte en contacto con nosotros a la brevedad posible.',save:"Guardar",CoolOffFor24Hours:"24 horas",CoolOffFor72Hours:"72 horas",CoolOffFor7Days:"7 días",CoolOffFor30Days:"30 días",CoolOffFor6Weeks:"6 semanas",CoolOffFor2Months:"2 meses",CoolOffFor3Months:"3 meses",CoolOffUntilSelectedDate:"Hasta",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",duration:"Duración:",confirmationModalTitle:"Confirmación",confirmationModalTextPeriodTimeout:"¿Estás seguro de que quieres enfriarte por {period}?",confirmationModalTextUntilTimeout:"¿Estás seguro de que quieres enfriarte hasta {date}?"},pt:{titleTimeout:"Tempo esgotado",timeoutTextFirst:"{operatorname} oferece uma maneira fácil de fazer uma pausa nos jogos. Você pode solicitar o bloqueio automático de sua conta por 24 horas. Durante a restrição temporária, você não poderá acessar sua conta.",timeoutTextSecondary:'Observe que a “Facilidade de tempo limite” não substitui em nenhum caso a “Autoexclusão”. Se você acha que está enfrentando um problema de vício em jogos de azar, entre no link em "Jogo Responsável" e use o "Serviço de autoexclusão" ou entre em contato conosco o mais rápido possível.',save:"Guardar",CoolOffFor24Hours:"24 horas",CoolOffFor72Hours:"72 horas",CoolOffFor7Days:"7 dias",CoolOffFor30Days:"30 dias",CoolOffFor6Weeks:"6 semanas",CoolOffFor2Months:"2 meses",CoolOffFor3Months:"3 meses",CoolOffUntilSelectedDate:"Até",dateInstructions:"Para introduzir manualmente a data, utilize o seguinte formato:",duration:"Duração:",confirmationModalTitle:"Confirmação",confirmationModalTextPeriodTimeout:"Tem a certeza de que deseja se refrescar por {period}?",confirmationModalTextUntilTimeout:"Tem a certeza de que deseja se refrescar até {date}?"},hr:{titleTimeout:"Samoisključenje",timeoutTextFirst:'Svjesni smo da kockanje može dovesti do ovisnosti i u našem nastojanju da spriječimo te probleme Samoisključenje stupa na snagu od trenutka kada je postavljeno za razdoblje koje odaberete. Odaberite vremenski okvir ispod, a zatim kliknite "Potvrdi".',timeoutTextSecondary:"Tijekom samoisključivanja nećete moći pristupiti svom računu. U slučaju trajnog samoisključenja E-mail: {supportemail}",save:"Spremi",CoolOffFor24Hours:"24 sata",CoolOffFor72Hours:"72 sata",CoolOffFor7Days:"7 dana",CoolOffFor30Days:"30 dana",CoolOffFor6Weeks:"6 tjedana",CoolOffFor2Months:"2 mjeseca",CoolOffFor3Months:"3 mjeseca",CoolOffUntilSelectedDate:"Do",dateInstructions:"Za ručni unos datuma koristite sljedeći format:",duration:"Trajanje:",confirmationModalTitle:"Potvrda",confirmationModalTextPeriodTimeout:"Jeste li sigurni da se želite rashladiti na {period}?",confirmationModalTextUntilTimeout:"Jeste li sigurni da se želite rashladiti do {date}?"},"pt-br":{titleTimeout:"Tempo fora",timeoutTextFirst:"{operatorname} oferece uma maneira fácil de pausar o jogo. Você pode solicitar o bloqueio automático da conta por 24 horas. Durante a restrição temporária,no tendrá acceso a su cuenta",timeoutTextSecondary:"Observe que o tempo limite não substitui a autoexclusão. Se você acha que tem um problema de dependência de jogo, por favor acesse o link em “Jogo Responsável” e utilize o “Serviço de Autoexclusão” ou entre em contate-nos inmediatamente",save:"Manter",CoolOffFor24Hours:"24 horas",CoolOffFor72Hours:"72 horas",CoolOffFor7Days:"7 dias",CoolOffFor30Days:"30 dias",CoolOffFor6Weeks:"6 semanas",CoolOffFor2Months:"2 meses",CoolOffFor3Months:"3 meses",CoolOffUntilSelectedDate:"Até",dateInstructions:"Para inserir manualmente a data, use o seguinte formato:",duration:"Duração:",confirmationModalTitle:"Confirmação",confirmationModalTextPeriodTimeout:"Tem certeza de que deseja se refrescar por {period}?",confirmationModalTextUntilTimeout:"Tem certeza de que deseja se refrescar até {date}?"},"es-mx":{titleTimeout:"Tiempo Fuera",timeoutTextFirst:"{operatorname} le ofrece una forma fácil de tomar pausa del juego. Puede solicitar bloqueo automático de la cuenta por 24 hrs. Durante la restriccion temporal,no tendrá acceso a su cuenta",timeoutTextSecondary:'Por favor tenga en cuenta que el tiemo-fuera no reemplaza la auto-exclusión. Si usted cree que tiene un problema de adicción al juego," por favor acceda a la liga bajo ""Juego Responsable"" y utilice el ""servicio de Auto-exclusión"" o contáctenos en cuanto antes. "',save:"Guardar",CoolOffFor24Hours:"24 horas",CoolOffFor72Hours:"72 horas",CoolOffFor7Days:"7 días",CoolOffFor30Days:"30 días",CoolOffFor6Weeks:"6 semanas",CoolOffFor2Months:"2 meses",CoolOffFor3Months:"3 meses",CoolOffUntilSelectedDate:"Hasta",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",duration:"Duración:",confirmationModalTitle:"Confirmación",confirmationModalTextPeriodTimeout:"¿Está seguro de que desea refrescarse por {period}?",confirmationModalTextUntilTimeout:"¿Está seguro de que desea refrescarse hasta {date}?"},tr:{titleTimeout:"Zaman aşımı",timeoutTextFirst:"{operatorname} size oyunlara ara vermeniz için kolay bir yol sağlar. Hesabınızın 24 saat süreyle otomatik olarak engellenmesini talep edebilirsiniz. Geçici kısıtlama sırasında Hesabınıza erişemeyeceksiniz.",timeoutTextSecondary:"Lütfen 'Mola olanağının' hiçbir durumda 'Kendini ihraç etmenin' yerine geçmediğini unutmayın. Kumar bağımlılığı sorunu yaşadığınızı düşünüyorsanız lütfen Sorumlu Oyun altındaki bağlantıya girin ve 'Kendini men etme hizmetini' kullanın veya en kısa sürede bizimle iletişime geçin.",save:"Kaydetmek",CoolOffFor24Hours:"24 saat",CoolOffFor72Hours:"72 saat",CoolOffFor7Days:"7 gün",CoolOffFor30Days:"30 gün",CoolOffFor6Weeks:"6 hafta",CoolOffFor2Months:"2 ay",CoolOffFor3Months:"3 ay",CoolOffUntilSelectedDate:"Kadar",dateInstructions:"Tarihi manuel olarak girmek için şu formatı kullanın:",duration:"Süre:",confirmationModalTitle:"Onay",confirmationModalTextPeriodTimeout:"{period} için kendinizi soğutmak istediğinizden emin misiniz?",confirmationModalTextUntilTimeout:"{date} tarihine kadar kendinizi soğutmak istediğinizden emin misiniz?"}};function au(o){d.append_styles(o,"svelte-1dxh4dh",".TimeoutWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));padding:50px;max-width:760px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.TimeoutTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:var(--emw--color-gray-300, #58586b);line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:18px}.TimeoutConfigWrapper{width:50%;height:100%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.TimeoutConfigWrapper .TimeoutConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.TimeoutConfigWrapper .TimeoutConfigLabel .TimeoutConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.TimeoutConfigWrapper .TimeoutConfigLabel p{margin:0;font-family:inherit}.TimeoutConfigWrapper .TimeoutConfigLabel .TimeoutConfigIcon.active{transform:rotateZ(0deg)}.TimeoutConfigWrapper .TimeoutDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586b);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.TimeoutConfigWrapper .TimeoutDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));transition:all 0.5s ease-in-out;font-family:inherit}.TimeoutConfigWrapper .TimeoutDropDown div:hover{color:var(--emw--color-white, #ffffff);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.TimeoutConfigWrapper .TimeoutDropDown.active{max-height:600px;opacity:1}.TimeoutConfigWrapper.TimeoutConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.TimeoutConfigWrapper.TimeoutConfigWrapperMobile .TimeoutConfigLabel .TimeoutConfigIcon{width:10px;height:10px}.TimeoutDateWrapper{color:var(--emw--color-gray-300, #58586b);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.TimeoutDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.TimeoutDateWrapper .TimeoutDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));color:var(--emw--button-typography, var(--emw--color-white, #ffffff));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}")}function Lo(o,t,e){const i=o.slice();return i[49]=t[e],i}function lu(o){let t,e,i,s=o[19]("titleTimeout")+"",r,n,a,l,u=o[19]("timeoutTextFirst",{values:{operatorname:o[0],baseurl:o[6],lang:o[1]}})+"",c,h,p=o[19]("timeoutTextSecondary",{values:{supportemail:o[5],baseurl:o[6],lang:o[1]}})+"",f,_,C,P,F=o[19](o[11])+"",z,V,M,H,W,te,G,re,R,D,Q,J=o[19]("save")+"",x,v,m,y,g,T,A,N,S=o[20]&&uu(o),L=d.ensure_array_like(o[10]),E=[];for(let w=0;w<L.length;w+=1)E[w]=$o(Lo(o,L,w));let $=o[12]&&Ro(o);return{c(){t=d.element("form"),S&&S.c(),e=d.space(),i=d.element("h2"),r=d.text(s),n=d.space(),a=d.element("div"),l=d.element("p"),c=d.space(),h=d.element("p"),f=d.space(),_=d.element("div"),C=d.element("div"),P=d.element("p"),z=d.text(F),V=d.space(),M=d.svg_element("svg"),H=d.svg_element("g"),W=d.svg_element("path"),te=d.space(),G=d.element("div");for(let w=0;w<E.length;w+=1)E[w].c();re=d.space(),$&&$.c(),R=d.space(),D=d.element("div"),Q=d.element("button"),x=d.text(J),v=d.space(),m=d.element("player-account-modal"),y=d.element("player-account-general-confirmation-modal"),d.attr(i,"class","TimeoutTitle "+(o[20]?"TimeoutTitleNone":"")),d.attr(a,"class","TimeoutDescription "+(o[20]?"TimeoutDescriptionMobile":"")),d.attr(W,"d","M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"),d.attr(W,"stroke-linecap","round"),d.attr(M,"xmlns","http://www.w3.org/2000/svg"),d.attr(M,"xmlns:xlink","http://www.w3.org/1999/xlink"),d.attr(M,"version","1.1"),d.attr(M,"viewBox","0 0 100 100"),d.attr(M,"xml:space","preserve"),d.attr(M,"class","TimeoutConfigIcon"),d.toggle_class(M,"active",o[13]),d.attr(C,"class","TimeoutConfigLabel"),d.attr(C,"role","button"),d.attr(C,"tabindex","0"),d.attr(G,"class","TimeoutDropDown"),d.toggle_class(G,"active",o[13]),d.attr(_,"class","TimeoutConfigWrapper "+(o[20]?"TimeoutConfigWrapperMobile":"")),d.toggle_class(_,"active",o[13]),d.attr(Q,"class","TimeoutSave"),d.attr(D,"class","TimeoutActionButtons "+(o[20]?"TimeoutActionButtonsMobile":"")),d.attr(t,"class","TimeoutWrapper "+(o[20]?"TimeoutWrapperMobile":"")),d.set_custom_element_data(y,"modalTitle",g=o[19]("confirmationModalTitle")),d.set_custom_element_data(y,"modalText",o[17]),d.set_custom_element_data(y,"hascancelbutton",!1),d.set_custom_element_data(y,"modalconfirmevent","SetPlayerAccountTimeout"),d.set_custom_element_data(y,"modalconfirmdata",T={timeoutSelected:o[11],timeoutExpiryDate:o[14]}),d.set_custom_element_data(y,"mbsource",o[4]),d.set_custom_element_data(y,"lang",o[1]),d.set_custom_element_data(m,"clientstyling",o[2]),d.set_custom_element_data(m,"clientstylingurl",o[3]),d.set_custom_element_data(m,"mbsource",o[4]),d.set_custom_element_data(m,"showmodaleventname","ShowTimeoutConfirmationModal")},m(w,k){d.insert(w,t,k),S&&S.m(t,null),d.append(t,e),d.append(t,i),d.append(i,r),d.append(t,n),d.append(t,a),d.append(a,l),l.innerHTML=u,d.append(a,c),d.append(a,h),h.innerHTML=p,d.append(t,f),d.append(t,_),d.append(_,C),d.append(C,P),d.append(P,z),d.append(C,V),d.append(C,M),d.append(M,H),d.append(H,W),d.append(_,te),d.append(_,G);for(let B=0;B<E.length;B+=1)E[B]&&E[B].m(G,null);d.append(t,re),$&&$.m(t,null),d.append(t,R),d.append(t,D),d.append(D,Q),d.append(Q,x),d.insert(w,v,k),d.insert(w,m,k),d.append(m,y),o[36](y),A||(N=[d.listen(C,"click",o[30]),d.listen(C,"keydown",o[31]),d.listen(Q,"click",o[35])],A=!0)},p(w,k){if(w[20]&&S.p(w,k),k[0]&524288&&s!==(s=w[19]("titleTimeout")+"")&&d.set_data(r,s),k[0]&524355&&u!==(u=w[19]("timeoutTextFirst",{values:{operatorname:w[0],baseurl:w[6],lang:w[1]}})+"")&&(l.innerHTML=u),k[0]&524386&&p!==(p=w[19]("timeoutTextSecondary",{values:{supportemail:w[5],baseurl:w[6],lang:w[1]}})+"")&&(h.innerHTML=p),k[0]&526336&&F!==(F=w[19](w[11])+"")&&d.set_data(z,F),k[0]&8192&&d.toggle_class(M,"active",w[13]),k[0]&17304576){L=d.ensure_array_like(w[10]);let B;for(B=0;B<L.length;B+=1){const ie=Lo(w,L,B);E[B]?E[B].p(ie,k):(E[B]=$o(ie),E[B].c(),E[B].m(G,null))}for(;B<E.length;B+=1)E[B].d(1);E.length=L.length}k[0]&8192&&d.toggle_class(G,"active",w[13]),k[0]&8192&&d.toggle_class(_,"active",w[13]),w[12]?$?$.p(w,k):($=Ro(w),$.c(),$.m(t,R)):$&&($.d(1),$=null),k[0]&524288&&J!==(J=w[19]("save")+"")&&d.set_data(x,J),k[0]&524288&&g!==(g=w[19]("confirmationModalTitle"))&&d.set_custom_element_data(y,"modalTitle",g),k[0]&131072&&d.set_custom_element_data(y,"modalText",w[17]),k[0]&18432&&T!==(T={timeoutSelected:w[11],timeoutExpiryDate:w[14]})&&d.set_custom_element_data(y,"modalconfirmdata",T),k[0]&16&&d.set_custom_element_data(y,"mbsource",w[4]),k[0]&2&&d.set_custom_element_data(y,"lang",w[1]),k[0]&4&&d.set_custom_element_data(m,"clientstyling",w[2]),k[0]&8&&d.set_custom_element_data(m,"clientstylingurl",w[3]),k[0]&16&&d.set_custom_element_data(m,"mbsource",w[4])},d(w){w&&(d.detach(t),d.detach(v),d.detach(m)),S&&S.d(),d.destroy_each(E,w),$&&$.d(),o[36](null),A=!1,d.run_all(N)}}}function du(o){let t,e,i,s,r,n,a,l,u,c,h,p,f,_,C,P;function F(M,H){return M[20]?hu:cu}let V=F(o)(o);return{c(){t=d.element("div"),V.c(),e=d.space(),i=d.element("div"),s=d.element("ui-skeleton"),r=d.space(),n=d.element("div"),a=d.space(),l=d.element("ui-skeleton"),u=d.space(),c=d.element("div"),h=d.space(),p=d.element("div"),f=d.element("ui-skeleton"),_=d.space(),C=d.element("div"),P=d.element("ui-skeleton"),d.set_custom_element_data(s,"structure","text"),d.set_custom_element_data(s,"height",o[20]?"15px":"20px"),d.set_custom_element_data(s,"rows","3"),d.set_custom_element_data(s,"width","100%"),d.set_style(n,"height",o[20]?"10px":"30px"),d.set_custom_element_data(l,"structure","text"),d.set_custom_element_data(l,"height",o[20]?"15px":"20px"),d.set_custom_element_data(l,"rows","3"),d.set_custom_element_data(l,"width","100%"),d.set_style(c,"height",o[20]?"10px":"30px"),d.attr(i,"class","TimeoutDescription"),d.set_custom_element_data(f,"structure","rectangle"),d.set_custom_element_data(f,"width",o[20]?"100%":"50%"),d.set_custom_element_data(f,"height",o[20]?"30px":"44px"),d.set_custom_element_data(f,"margin-bottom","16px"),d.attr(p,"class","TimeoutConfigWrapper "+(o[20]?"TimeoutConfigWrapperMobile":"")),d.set_custom_element_data(P,"structure","rectangle"),d.set_custom_element_data(P,"width","100%"),d.set_custom_element_data(P,"height",o[20]?"35px":"50px"),d.attr(C,"class","TimeoutActionButtons "+(o[20]?"TimeoutActionButtonsMobile":"")),d.attr(t,"class","TimeoutWrapper "+(o[20]?"TimeoutWrapperMobile":""))},m(M,H){d.insert(M,t,H),V.m(t,null),d.append(t,e),d.append(t,i),d.append(i,s),d.append(i,r),d.append(i,n),d.append(i,a),d.append(i,l),d.append(i,u),d.append(i,c),d.append(t,h),d.append(t,p),d.append(p,f),d.append(t,_),d.append(t,C),d.append(C,P)},p:d.noop,d(M){M&&d.detach(t),V.d()}}}function uu(o){let t,e,i,s,r,n,a,l,u,c,h=o[19]("titleTimeout")+"",p,f,_;return{c(){t=d.element("div"),e=d.svg_element("svg"),i=d.svg_element("defs"),s=d.svg_element("style"),r=d.text(`.aaa {
3555
+ `}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new qd(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e},{uniqueIdPrefix:"search-input"})),this.addController(new Kd(this.inputElement,this._labelController)),this._tooltipController=new Ks(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow(e=>!e.opened),this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown",e=>e.preventDefault()),this.$.overlay.addEventListener("vaadin-overlay-close",this._onVaadinOverlayClose.bind(this))}_onVaadinOverlayClose(t){t.detail.sourceEvent&&t.detail.sourceEvent.composedPath().includes(this)&&t.preventDefault()}_toggle(t){t.stopPropagation(),this.$.overlay.opened?this.close():this.open()}_openedChanged(t){super._openedChanged(t),this.$.overlay.positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this.$.overlay.noVerticalOverlap=!0}}le(ou);if(typeof window!="undefined"){let o=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=o(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountModal-u6LegtfR.cjs")).then(({default:t})=>{!customElements.get("player-account-modal")&&customElements.define("player-account-modal",t.element)})}if(typeof window!="undefined"){let o=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=o(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGeneralConfirmationModal-BbGVvtLY.cjs")).then(({default:t})=>{!customElements.get("player-account-general-confirmation-modal")&&customElements.define("player-account-general-confirmation-modal",t.element)})}var mr={exports:{}};(function(o,t){(function(e,i){o.exports=i()})(d.commonjsGlobal,function(){var e=1e3,i=6e4,s=36e5,r="millisecond",n="second",a="minute",l="hour",u="day",c="week",h="month",p="quarter",m="year",_="date",C="Invalid Date",P=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,F=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,z={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(x){var v=["th","st","nd","rd"],f=x%100;return"["+x+(v[(f-20)%10]||v[f]||v[0])+"]"}},V=function(x,v,f){var y=String(x);return!y||y.length>=v?x:""+Array(v+1-y.length).join(f)+x},M={s:V,z:function(x){var v=-x.utcOffset(),f=Math.abs(v),y=Math.floor(f/60),g=f%60;return(v<=0?"+":"-")+V(y,2,"0")+":"+V(g,2,"0")},m:function x(v,f){if(v.date()<f.date())return-x(f,v);var y=12*(f.year()-v.year())+(f.month()-v.month()),g=v.clone().add(y,h),T=f-g<0,A=v.clone().add(y+(T?-1:1),h);return+(-(y+(f-g)/(T?g-A:A-g))||0)},a:function(x){return x<0?Math.ceil(x)||0:Math.floor(x)},p:function(x){return{M:h,y:m,w:c,d:u,D:_,h:l,m:a,s:n,ms:r,Q:p}[x]||String(x||"").toLowerCase().replace(/s$/,"")},u:function(x){return x===void 0}},H="en",W={};W[H]=z;var te="$isDayjsObject",G=function(x){return x instanceof Q||!(!x||!x[te])},re=function x(v,f,y){var g;if(!v)return H;if(typeof v=="string"){var T=v.toLowerCase();W[T]&&(g=T),f&&(W[T]=f,g=T);var A=v.split("-");if(!g&&A.length>1)return x(A[0])}else{var N=v.name;W[N]=v,g=N}return!y&&g&&(H=g),g||!y&&H},R=function(x,v){if(G(x))return x.clone();var f=typeof v=="object"?v:{};return f.date=x,f.args=arguments,new Q(f)},D=M;D.l=re,D.i=G,D.w=function(x,v){return R(x,{locale:v.$L,utc:v.$u,x:v.$x,$offset:v.$offset})};var Q=function(){function x(f){this.$L=re(f.locale,null,!0),this.parse(f),this.$x=this.$x||f.x||{},this[te]=!0}var v=x.prototype;return v.parse=function(f){this.$d=function(y){var g=y.date,T=y.utc;if(g===null)return new Date(NaN);if(D.u(g))return new Date;if(g instanceof Date)return new Date(g);if(typeof g=="string"&&!/Z$/i.test(g)){var A=g.match(P);if(A){var N=A[2]-1||0,S=(A[7]||"0").substring(0,3);return T?new Date(Date.UTC(A[1],N,A[3]||1,A[4]||0,A[5]||0,A[6]||0,S)):new Date(A[1],N,A[3]||1,A[4]||0,A[5]||0,A[6]||0,S)}}return new Date(g)}(f),this.init()},v.init=function(){var f=this.$d;this.$y=f.getFullYear(),this.$M=f.getMonth(),this.$D=f.getDate(),this.$W=f.getDay(),this.$H=f.getHours(),this.$m=f.getMinutes(),this.$s=f.getSeconds(),this.$ms=f.getMilliseconds()},v.$utils=function(){return D},v.isValid=function(){return this.$d.toString()!==C},v.isSame=function(f,y){var g=R(f);return this.startOf(y)<=g&&g<=this.endOf(y)},v.isAfter=function(f,y){return R(f)<this.startOf(y)},v.isBefore=function(f,y){return this.endOf(y)<R(f)},v.$g=function(f,y,g){return D.u(f)?this[y]:this.set(g,f)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(f,y){var g=this,T=!!D.u(y)||y,A=D.p(f),N=function(ie,K){var ne=D.w(g.$u?Date.UTC(g.$y,K,ie):new Date(g.$y,K,ie),g);return T?ne:ne.endOf(u)},S=function(ie,K){return D.w(g.toDate()[ie].apply(g.toDate("s"),(T?[0,0,0,0]:[23,59,59,999]).slice(K)),g)},L=this.$W,E=this.$M,$=this.$D,w="set"+(this.$u?"UTC":"");switch(A){case m:return T?N(1,0):N(31,11);case h:return T?N(1,E):N(0,E+1);case c:var k=this.$locale().weekStart||0,B=(L<k?L+7:L)-k;return N(T?$-B:$+(6-B),E);case u:case _:return S(w+"Hours",0);case l:return S(w+"Minutes",1);case a:return S(w+"Seconds",2);case n:return S(w+"Milliseconds",3);default:return this.clone()}},v.endOf=function(f){return this.startOf(f,!1)},v.$set=function(f,y){var g,T=D.p(f),A="set"+(this.$u?"UTC":""),N=(g={},g[u]=A+"Date",g[_]=A+"Date",g[h]=A+"Month",g[m]=A+"FullYear",g[l]=A+"Hours",g[a]=A+"Minutes",g[n]=A+"Seconds",g[r]=A+"Milliseconds",g)[T],S=T===u?this.$D+(y-this.$W):y;if(T===h||T===m){var L=this.clone().set(_,1);L.$d[N](S),L.init(),this.$d=L.set(_,Math.min(this.$D,L.daysInMonth())).$d}else N&&this.$d[N](S);return this.init(),this},v.set=function(f,y){return this.clone().$set(f,y)},v.get=function(f){return this[D.p(f)]()},v.add=function(f,y){var g,T=this;f=Number(f);var A=D.p(y),N=function(E){var $=R(T);return D.w($.date($.date()+Math.round(E*f)),T)};if(A===h)return this.set(h,this.$M+f);if(A===m)return this.set(m,this.$y+f);if(A===u)return N(1);if(A===c)return N(7);var S=(g={},g[a]=i,g[l]=s,g[n]=e,g)[A]||1,L=this.$d.getTime()+f*S;return D.w(L,this)},v.subtract=function(f,y){return this.add(-1*f,y)},v.format=function(f){var y=this,g=this.$locale();if(!this.isValid())return g.invalidDate||C;var T=f||"YYYY-MM-DDTHH:mm:ssZ",A=D.z(this),N=this.$H,S=this.$m,L=this.$M,E=g.weekdays,$=g.months,w=g.meridiem,k=function(K,ne,ge,ke){return K&&(K[ne]||K(y,T))||ge[ne].slice(0,ke)},B=function(K){return D.s(N%12||12,K,"0")},ie=w||function(K,ne,ge){var ke=K<12?"AM":"PM";return ge?ke.toLowerCase():ke};return T.replace(F,function(K,ne){return ne||function(ge){switch(ge){case"YY":return String(y.$y).slice(-2);case"YYYY":return D.s(y.$y,4,"0");case"M":return L+1;case"MM":return D.s(L+1,2,"0");case"MMM":return k(g.monthsShort,L,$,3);case"MMMM":return k($,L);case"D":return y.$D;case"DD":return D.s(y.$D,2,"0");case"d":return String(y.$W);case"dd":return k(g.weekdaysMin,y.$W,E,2);case"ddd":return k(g.weekdaysShort,y.$W,E,3);case"dddd":return E[y.$W];case"H":return String(N);case"HH":return D.s(N,2,"0");case"h":return B(1);case"hh":return B(2);case"a":return ie(N,S,!0);case"A":return ie(N,S,!1);case"m":return String(S);case"mm":return D.s(S,2,"0");case"s":return String(y.$s);case"ss":return D.s(y.$s,2,"0");case"SSS":return D.s(y.$ms,3,"0");case"Z":return A}return null}(K)||A.replace(":","")})},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(f,y,g){var T,A=this,N=D.p(y),S=R(f),L=(S.utcOffset()-this.utcOffset())*i,E=this-S,$=function(){return D.m(A,S)};switch(N){case m:T=$()/12;break;case h:T=$();break;case p:T=$()/3;break;case c:T=(E-L)/6048e5;break;case u:T=(E-L)/864e5;break;case l:T=E/s;break;case a:T=E/i;break;case n:T=E/e;break;default:T=E}return g?T:D.a(T)},v.daysInMonth=function(){return this.endOf(h).$D},v.$locale=function(){return W[this.$L]},v.locale=function(f,y){if(!f)return this.$L;var g=this.clone(),T=re(f,y,!0);return T&&(g.$L=T),g},v.clone=function(){return D.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},x}(),J=Q.prototype;return R.prototype=J,[["$ms",r],["$s",n],["$m",a],["$H",l],["$W",u],["$M",h],["$y",m],["$D",_]].forEach(function(x){J[x[1]]=function(v){return this.$g(v,x[0],x[1])}}),R.extend=function(x,v){return x.$i||(x(v,Q,R),x.$i=!0),R},R.locale=re,R.isDayjs=G,R.unix=function(x){return R(1e3*x)},R.en=W[H],R.Ls=W,R.p={},R})})(mr);var su=mr.exports;const vi=d.getDefaultExportFromCjs(su);function ru({withLocale:o,translations:t}){d.$locale.subscribe(e=>{e==null&&(d.$dictionary.set(t),d.$locale.set(o))})}function Fo(o,t){d.addMessages(o,t)}function nu(o){d.$locale.set(o)}const zo={en:{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",timeoutTextSecondary:'Please note that the “Time-out facility” does not in any case replace “Self-exclusion”. If you think you are experiencing a gambling addiction problem, please enter the link under "Responsible Gaming" and use the "Self-exclusion service" or contact us as soon as possible.',save:"Save",CoolOffFor24Hours:"24 hours",CoolOffFor72Hours:"72 hours",CoolOffFor7Days:"7 days",CoolOffFor30Days:"30 days",CoolOffFor6Weeks:"6 weeks",CoolOffFor2Months:"2 months",CoolOffFor3Months:"3 months",CoolOffUntilSelectedDate:"Until",dateInstructions:"In order to manually input date use the following format:",duration:"Duration:",confirmationModalTitle:"Confirmation",confirmationModalTextPeriodTimeout:"Are you sure you want to cool-off for {period}?",confirmationModalTextUntilTimeout:"Are you sure you want to cool-off until {date}?"},"en-us":{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",timeoutTextSecondary:'Please note that the “Time-out facility” does not in any case replace “Self-exclusion”. If you think you are experiencing a gambling addiction problem, please enter the link under "Responsible Gaming" and use the "Self-exclusion service" or contact us as soon as possible.',save:"Save",CoolOffFor24Hours:"24 hours",CoolOffFor72Hours:"72 hours",CoolOffFor7Days:"7 days",CoolOffFor30Days:"30 days",CoolOffFor6Weeks:"6 weeks",CoolOffFor2Months:"2 months",CoolOffFor3Months:"3 months",CoolOffUntilSelectedDate:"Until",dateInstructions:"In order to manually input date use the following format:",duration:"Duration:",confirmationModalTitle:"Confirmation",confirmationModalTextPeriodTimeout:"Are you sure you want to cool-off for {period}?",confirmationModalTextUntilTimeout:"Are you sure you want to cool-off until {date}?"},"zh-hk":{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} 為您提供一種從遊戲中休息的簡單方法。 您可以請求自動封鎖您的帳戶 24 小時。 在臨時限制期間,您將無法訪問您的帳戶。",timeoutTextSecondary:"請注意,“超時設施”在任何情況下都不能取代“自我排除”。 如果您認為自己有賭博成癮問題,請進入“負責任博彩”下的鏈接並使用“自我排除服務”或盡快與我們聯繫。",save:"節省",CoolOffFor24Hours:"24小時",CoolOffFor72Hours:"72小時",CoolOffFor7Days:"7天",CoolOffFor30Days:"30天",CoolOffFor6Weeks:"6週",CoolOffFor2Months:"2個月",CoolOffFor3Months:"3個月",CoolOffUntilSelectedDate:"直到",dateInstructions:"如需手動輸入日期,請使用以下格式:",duration:"持續時間:",confirmationModalTitle:"確認",confirmationModalTextPeriodTimeout:"您確定要冷靜 {period} 嗎?",confirmationModalTextUntilTimeout:"您確定要冷靜直到 {date} 嗎?"},fr:{titleTimeout:"Délai d'attente",timeoutTextFirst:"{operatorname} vous offre un moyen facile de faire une pause dans les jeux.vous pouvez demander le blocage automatique de votre compte pendant 24 heures . Pendant le blocage temporaire ,vous ne pourrez pas accéder à votre compte.",timeoutTextSecondary:`Veuillez noter que l'"installation du temps mort" ne remplace en aucun cas "l'auto exclusion". Si vous pensez avoir un problème de dépendance au jeu,veuillez cliquer sur le lien "jeux responsable" et utiliser le "service d'auto exclusion" ou nous contacter dès que possible.`,save:"Savez",CoolOffFor24Hours:"24 heures",CoolOffFor72Hours:"72 heures",CoolOffFor7Days:"7 jours",CoolOffFor30Days:"30 jours",CoolOffFor6Weeks:"6 semaines",CoolOffFor2Months:"2 mois",CoolOffFor3Months:"3 mois",CoolOffUntilSelectedDate:"Jusqu'à",dateInstructions:"Pour saisir une date manuellement, utilisez le format suivant :",duration:"Durée :",confirmationModalTitle:"Confirmation",confirmationModalTextPeriodTimeout:"Êtes-vous sûr de vouloir vous refroidir pendant {period} ?",confirmationModalTextUntilTimeout:"Êtes-vous sûr de vouloir vous refroidir jusqu'au {date} ?"},ro:{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} îți asigură o cale ușoară de a lua o pauză de la jocuri. Poți solicita o blocare automată a contului tău pentru 24 de ore. În timpul restricției temporare, nu vei putea accesa contul.",timeoutTextSecondary:"Te rugăm să reții că „Facilitatea de time-out” nu înlocuiește în niciun caz „Auto-excluderea”. Dacă crezi că te confrunți cu o problemă de dependență de jocuri de noroc, te rugăm să accesezi secțiunea de „Joc responsabil” și să utilizezi „Serviciul de auto-excludere” sau să ne contactezi cât mai curând posibil.",save:"Salvează",CoolOffFor24Hours:"24 ore",CoolOffFor72Hours:"72 ore",CoolOffFor7Days:"7 zile",CoolOffFor30Days:"30 zile",CoolOffFor6Weeks:"6 săptămâni",CoolOffFor2Months:"2 luni",CoolOffFor3Months:"3 luni",CoolOffUntilSelectedDate:"Până la",dateInstructions:"Pentru a introduce manual o dată, utilizați următorul format:",duration:"Durată:",confirmationModalTitle:"Confirmare",confirmationModalTextPeriodTimeout:"Ești sigur că vrei să te răcorești pentru {period}?",confirmationModalTextUntilTimeout:"Ești sigur că vrei să te răcorești până la {date}?"},es:{titleTimeout:"Descanso",timeoutTextFirst:"{operatorname} le brinda una manera fácil de tomarse un descanso de los juegos. Puedes solicitar un bloqueo automático de tu cuenta durante 24 horas. Durante la contención temporal, no será posible ingresar a su cuenta.",timeoutTextSecondary:'Tenga en cuenta que la función de tiempo de espera no sustituye en ningún caso la autoexclusión. Si cree que tiene un problema de adicción al juego, por favor ingrese al enlace de "Juego Responsable" y use el "Servicio de autoexclusión" o ponte en contacto con nosotros a la brevedad posible.',save:"Guardar",CoolOffFor24Hours:"24 horas",CoolOffFor72Hours:"72 horas",CoolOffFor7Days:"7 días",CoolOffFor30Days:"30 días",CoolOffFor6Weeks:"6 semanas",CoolOffFor2Months:"2 meses",CoolOffFor3Months:"3 meses",CoolOffUntilSelectedDate:"Hasta",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",duration:"Duración:",confirmationModalTitle:"Confirmación",confirmationModalTextPeriodTimeout:"¿Estás seguro de que quieres enfriarte por {period}?",confirmationModalTextUntilTimeout:"¿Estás seguro de que quieres enfriarte hasta {date}?"},pt:{titleTimeout:"Tempo esgotado",timeoutTextFirst:"{operatorname} oferece uma maneira fácil de fazer uma pausa nos jogos. Você pode solicitar o bloqueio automático de sua conta por 24 horas. Durante a restrição temporária, você não poderá acessar sua conta.",timeoutTextSecondary:'Observe que a “Facilidade de tempo limite” não substitui em nenhum caso a “Autoexclusão”. Se você acha que está enfrentando um problema de vício em jogos de azar, entre no link em "Jogo Responsável" e use o "Serviço de autoexclusão" ou entre em contato conosco o mais rápido possível.',save:"Guardar",CoolOffFor24Hours:"24 horas",CoolOffFor72Hours:"72 horas",CoolOffFor7Days:"7 dias",CoolOffFor30Days:"30 dias",CoolOffFor6Weeks:"6 semanas",CoolOffFor2Months:"2 meses",CoolOffFor3Months:"3 meses",CoolOffUntilSelectedDate:"Até",dateInstructions:"Para introduzir manualmente a data, utilize o seguinte formato:",duration:"Duração:",confirmationModalTitle:"Confirmação",confirmationModalTextPeriodTimeout:"Tem a certeza de que deseja se refrescar por {period}?",confirmationModalTextUntilTimeout:"Tem a certeza de que deseja se refrescar até {date}?"},hr:{titleTimeout:"Samoisključenje",timeoutTextFirst:'Svjesni smo da kockanje može dovesti do ovisnosti i u našem nastojanju da spriječimo te probleme Samoisključenje stupa na snagu od trenutka kada je postavljeno za razdoblje koje odaberete. Odaberite vremenski okvir ispod, a zatim kliknite "Potvrdi".',timeoutTextSecondary:"Tijekom samoisključivanja nećete moći pristupiti svom računu. U slučaju trajnog samoisključenja E-mail: {supportemail}",save:"Spremi",CoolOffFor24Hours:"24 sata",CoolOffFor72Hours:"72 sata",CoolOffFor7Days:"7 dana",CoolOffFor30Days:"30 dana",CoolOffFor6Weeks:"6 tjedana",CoolOffFor2Months:"2 mjeseca",CoolOffFor3Months:"3 mjeseca",CoolOffUntilSelectedDate:"Do",dateInstructions:"Za ručni unos datuma koristite sljedeći format:",duration:"Trajanje:",confirmationModalTitle:"Potvrda",confirmationModalTextPeriodTimeout:"Jeste li sigurni da se želite rashladiti na {period}?",confirmationModalTextUntilTimeout:"Jeste li sigurni da se želite rashladiti do {date}?"},"pt-br":{titleTimeout:"Tempo fora",timeoutTextFirst:"{operatorname} oferece uma maneira fácil de pausar o jogo. Você pode solicitar o bloqueio automático da conta por 24 horas. Durante a restrição temporária,no tendrá acceso a su cuenta",timeoutTextSecondary:"Observe que o tempo limite não substitui a autoexclusão. Se você acha que tem um problema de dependência de jogo, por favor acesse o link em “Jogo Responsável” e utilize o “Serviço de Autoexclusão” ou entre em contate-nos inmediatamente",save:"Manter",CoolOffFor24Hours:"24 horas",CoolOffFor72Hours:"72 horas",CoolOffFor7Days:"7 dias",CoolOffFor30Days:"30 dias",CoolOffFor6Weeks:"6 semanas",CoolOffFor2Months:"2 meses",CoolOffFor3Months:"3 meses",CoolOffUntilSelectedDate:"Até",dateInstructions:"Para inserir manualmente a data, use o seguinte formato:",duration:"Duração:",confirmationModalTitle:"Confirmação",confirmationModalTextPeriodTimeout:"Tem certeza de que deseja se refrescar por {period}?",confirmationModalTextUntilTimeout:"Tem certeza de que deseja se refrescar até {date}?"},"es-mx":{titleTimeout:"Tiempo Fuera",timeoutTextFirst:"{operatorname} le ofrece una forma fácil de tomar pausa del juego. Puede solicitar bloqueo automático de la cuenta por 24 hrs. Durante la restriccion temporal,no tendrá acceso a su cuenta",timeoutTextSecondary:'Por favor tenga en cuenta que el tiemo-fuera no reemplaza la auto-exclusión. Si usted cree que tiene un problema de adicción al juego," por favor acceda a la liga bajo ""Juego Responsable"" y utilice el ""servicio de Auto-exclusión"" o contáctenos en cuanto antes. "',save:"Guardar",CoolOffFor24Hours:"24 horas",CoolOffFor72Hours:"72 horas",CoolOffFor7Days:"7 días",CoolOffFor30Days:"30 días",CoolOffFor6Weeks:"6 semanas",CoolOffFor2Months:"2 meses",CoolOffFor3Months:"3 meses",CoolOffUntilSelectedDate:"Hasta",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",duration:"Duración:",confirmationModalTitle:"Confirmación",confirmationModalTextPeriodTimeout:"¿Está seguro de que desea refrescarse por {period}?",confirmationModalTextUntilTimeout:"¿Está seguro de que desea refrescarse hasta {date}?"},tr:{titleTimeout:"Zaman aşımı",timeoutTextFirst:"{operatorname} size oyunlara ara vermeniz için kolay bir yol sağlar. Hesabınızın 24 saat süreyle otomatik olarak engellenmesini talep edebilirsiniz. Geçici kısıtlama sırasında Hesabınıza erişemeyeceksiniz.",timeoutTextSecondary:"Lütfen 'Mola olanağının' hiçbir durumda 'Kendini ihraç etmenin' yerine geçmediğini unutmayın. Kumar bağımlılığı sorunu yaşadığınızı düşünüyorsanız lütfen Sorumlu Oyun altındaki bağlantıya girin ve 'Kendini men etme hizmetini' kullanın veya en kısa sürede bizimle iletişime geçin.",save:"Kaydetmek",CoolOffFor24Hours:"24 saat",CoolOffFor72Hours:"72 saat",CoolOffFor7Days:"7 gün",CoolOffFor30Days:"30 gün",CoolOffFor6Weeks:"6 hafta",CoolOffFor2Months:"2 ay",CoolOffFor3Months:"3 ay",CoolOffUntilSelectedDate:"Kadar",dateInstructions:"Tarihi manuel olarak girmek için şu formatı kullanın:",duration:"Süre:",confirmationModalTitle:"Onay",confirmationModalTextPeriodTimeout:"{period} için kendinizi soğutmak istediğinizden emin misiniz?",confirmationModalTextUntilTimeout:"{date} tarihine kadar kendinizi soğutmak istediğinizden emin misiniz?"}};function au(o){d.append_styles(o,"svelte-1dxh4dh",".TimeoutWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));padding:50px;max-width:760px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.TimeoutTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:var(--emw--color-gray-300, #58586b);line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:18px}.TimeoutConfigWrapper{width:50%;height:100%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.TimeoutConfigWrapper .TimeoutConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.TimeoutConfigWrapper .TimeoutConfigLabel .TimeoutConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.TimeoutConfigWrapper .TimeoutConfigLabel p{margin:0;font-family:inherit}.TimeoutConfigWrapper .TimeoutConfigLabel .TimeoutConfigIcon.active{transform:rotateZ(0deg)}.TimeoutConfigWrapper .TimeoutDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586b);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.TimeoutConfigWrapper .TimeoutDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));transition:all 0.5s ease-in-out;font-family:inherit}.TimeoutConfigWrapper .TimeoutDropDown div:hover{color:var(--emw--color-white, #ffffff);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.TimeoutConfigWrapper .TimeoutDropDown.active{max-height:600px;opacity:1}.TimeoutConfigWrapper.TimeoutConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.TimeoutConfigWrapper.TimeoutConfigWrapperMobile .TimeoutConfigLabel .TimeoutConfigIcon{width:10px;height:10px}.TimeoutDateWrapper{color:var(--emw--color-gray-300, #58586b);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.TimeoutDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.TimeoutDateWrapper .TimeoutDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));color:var(--emw--button-typography, var(--emw--color-white, #ffffff));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}")}function Lo(o,t,e){const i=o.slice();return i[49]=t[e],i}function lu(o){let t,e,i,s=o[19]("titleTimeout")+"",r,n,a,l,u=o[19]("timeoutTextFirst",{values:{operatorname:o[0],baseurl:o[6],lang:o[1]}})+"",c,h,p=o[19]("timeoutTextSecondary",{values:{supportemail:o[5],baseurl:o[6],lang:o[1]}})+"",m,_,C,P,F=o[19](o[11])+"",z,V,M,H,W,te,G,re,R,D,Q,J=o[19]("save")+"",x,v,f,y,g,T,A,N,S=o[20]&&uu(o),L=d.ensure_array_like(o[10]),E=[];for(let w=0;w<L.length;w+=1)E[w]=$o(Lo(o,L,w));let $=o[12]&&Ro(o);return{c(){t=d.element("form"),S&&S.c(),e=d.space(),i=d.element("h2"),r=d.text(s),n=d.space(),a=d.element("div"),l=d.element("p"),c=d.space(),h=d.element("p"),m=d.space(),_=d.element("div"),C=d.element("div"),P=d.element("p"),z=d.text(F),V=d.space(),M=d.svg_element("svg"),H=d.svg_element("g"),W=d.svg_element("path"),te=d.space(),G=d.element("div");for(let w=0;w<E.length;w+=1)E[w].c();re=d.space(),$&&$.c(),R=d.space(),D=d.element("div"),Q=d.element("button"),x=d.text(J),v=d.space(),f=d.element("player-account-modal"),y=d.element("player-account-general-confirmation-modal"),d.attr(i,"class","TimeoutTitle "+(o[20]?"TimeoutTitleNone":"")),d.attr(a,"class","TimeoutDescription "+(o[20]?"TimeoutDescriptionMobile":"")),d.attr(W,"d","M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"),d.attr(W,"stroke-linecap","round"),d.attr(M,"xmlns","http://www.w3.org/2000/svg"),d.attr(M,"xmlns:xlink","http://www.w3.org/1999/xlink"),d.attr(M,"version","1.1"),d.attr(M,"viewBox","0 0 100 100"),d.attr(M,"xml:space","preserve"),d.attr(M,"class","TimeoutConfigIcon"),d.toggle_class(M,"active",o[13]),d.attr(C,"class","TimeoutConfigLabel"),d.attr(C,"role","button"),d.attr(C,"tabindex","0"),d.attr(G,"class","TimeoutDropDown"),d.toggle_class(G,"active",o[13]),d.attr(_,"class","TimeoutConfigWrapper "+(o[20]?"TimeoutConfigWrapperMobile":"")),d.toggle_class(_,"active",o[13]),d.attr(Q,"class","TimeoutSave"),d.attr(D,"class","TimeoutActionButtons "+(o[20]?"TimeoutActionButtonsMobile":"")),d.attr(t,"class","TimeoutWrapper "+(o[20]?"TimeoutWrapperMobile":"")),d.set_custom_element_data(y,"modalTitle",g=o[19]("confirmationModalTitle")),d.set_custom_element_data(y,"modalText",o[17]),d.set_custom_element_data(y,"hascancelbutton",!1),d.set_custom_element_data(y,"modalconfirmevent","SetPlayerAccountTimeout"),d.set_custom_element_data(y,"modalconfirmdata",T={timeoutSelected:o[11],timeoutExpiryDate:o[14]}),d.set_custom_element_data(y,"mbsource",o[4]),d.set_custom_element_data(y,"lang",o[1]),d.set_custom_element_data(f,"clientstyling",o[2]),d.set_custom_element_data(f,"clientstylingurl",o[3]),d.set_custom_element_data(f,"mbsource",o[4]),d.set_custom_element_data(f,"showmodaleventname","ShowTimeoutConfirmationModal")},m(w,k){d.insert(w,t,k),S&&S.m(t,null),d.append(t,e),d.append(t,i),d.append(i,r),d.append(t,n),d.append(t,a),d.append(a,l),l.innerHTML=u,d.append(a,c),d.append(a,h),h.innerHTML=p,d.append(t,m),d.append(t,_),d.append(_,C),d.append(C,P),d.append(P,z),d.append(C,V),d.append(C,M),d.append(M,H),d.append(H,W),d.append(_,te),d.append(_,G);for(let B=0;B<E.length;B+=1)E[B]&&E[B].m(G,null);d.append(t,re),$&&$.m(t,null),d.append(t,R),d.append(t,D),d.append(D,Q),d.append(Q,x),d.insert(w,v,k),d.insert(w,f,k),d.append(f,y),o[36](y),A||(N=[d.listen(C,"click",o[30]),d.listen(C,"keydown",o[31]),d.listen(Q,"click",o[35])],A=!0)},p(w,k){if(w[20]&&S.p(w,k),k[0]&524288&&s!==(s=w[19]("titleTimeout")+"")&&d.set_data(r,s),k[0]&524355&&u!==(u=w[19]("timeoutTextFirst",{values:{operatorname:w[0],baseurl:w[6],lang:w[1]}})+"")&&(l.innerHTML=u),k[0]&524386&&p!==(p=w[19]("timeoutTextSecondary",{values:{supportemail:w[5],baseurl:w[6],lang:w[1]}})+"")&&(h.innerHTML=p),k[0]&526336&&F!==(F=w[19](w[11])+"")&&d.set_data(z,F),k[0]&8192&&d.toggle_class(M,"active",w[13]),k[0]&17304576){L=d.ensure_array_like(w[10]);let B;for(B=0;B<L.length;B+=1){const ie=Lo(w,L,B);E[B]?E[B].p(ie,k):(E[B]=$o(ie),E[B].c(),E[B].m(G,null))}for(;B<E.length;B+=1)E[B].d(1);E.length=L.length}k[0]&8192&&d.toggle_class(G,"active",w[13]),k[0]&8192&&d.toggle_class(_,"active",w[13]),w[12]?$?$.p(w,k):($=Ro(w),$.c(),$.m(t,R)):$&&($.d(1),$=null),k[0]&524288&&J!==(J=w[19]("save")+"")&&d.set_data(x,J),k[0]&524288&&g!==(g=w[19]("confirmationModalTitle"))&&d.set_custom_element_data(y,"modalTitle",g),k[0]&131072&&d.set_custom_element_data(y,"modalText",w[17]),k[0]&18432&&T!==(T={timeoutSelected:w[11],timeoutExpiryDate:w[14]})&&d.set_custom_element_data(y,"modalconfirmdata",T),k[0]&16&&d.set_custom_element_data(y,"mbsource",w[4]),k[0]&2&&d.set_custom_element_data(y,"lang",w[1]),k[0]&4&&d.set_custom_element_data(f,"clientstyling",w[2]),k[0]&8&&d.set_custom_element_data(f,"clientstylingurl",w[3]),k[0]&16&&d.set_custom_element_data(f,"mbsource",w[4])},d(w){w&&(d.detach(t),d.detach(v),d.detach(f)),S&&S.d(),d.destroy_each(E,w),$&&$.d(),o[36](null),A=!1,d.run_all(N)}}}function du(o){let t,e,i,s,r,n,a,l,u,c,h,p,m,_,C,P;function F(M,H){return M[20]?hu:cu}let V=F(o)(o);return{c(){t=d.element("div"),V.c(),e=d.space(),i=d.element("div"),s=d.element("ui-skeleton"),r=d.space(),n=d.element("div"),a=d.space(),l=d.element("ui-skeleton"),u=d.space(),c=d.element("div"),h=d.space(),p=d.element("div"),m=d.element("ui-skeleton"),_=d.space(),C=d.element("div"),P=d.element("ui-skeleton"),d.set_custom_element_data(s,"structure","text"),d.set_custom_element_data(s,"height",o[20]?"15px":"20px"),d.set_custom_element_data(s,"rows","3"),d.set_custom_element_data(s,"width","100%"),d.set_style(n,"height",o[20]?"10px":"30px"),d.set_custom_element_data(l,"structure","text"),d.set_custom_element_data(l,"height",o[20]?"15px":"20px"),d.set_custom_element_data(l,"rows","3"),d.set_custom_element_data(l,"width","100%"),d.set_style(c,"height",o[20]?"10px":"30px"),d.attr(i,"class","TimeoutDescription"),d.set_custom_element_data(m,"structure","rectangle"),d.set_custom_element_data(m,"width",o[20]?"100%":"50%"),d.set_custom_element_data(m,"height",o[20]?"30px":"44px"),d.set_custom_element_data(m,"margin-bottom","16px"),d.attr(p,"class","TimeoutConfigWrapper "+(o[20]?"TimeoutConfigWrapperMobile":"")),d.set_custom_element_data(P,"structure","rectangle"),d.set_custom_element_data(P,"width","100%"),d.set_custom_element_data(P,"height",o[20]?"35px":"50px"),d.attr(C,"class","TimeoutActionButtons "+(o[20]?"TimeoutActionButtonsMobile":"")),d.attr(t,"class","TimeoutWrapper "+(o[20]?"TimeoutWrapperMobile":""))},m(M,H){d.insert(M,t,H),V.m(t,null),d.append(t,e),d.append(t,i),d.append(i,s),d.append(i,r),d.append(i,n),d.append(i,a),d.append(i,l),d.append(i,u),d.append(i,c),d.append(t,h),d.append(t,p),d.append(p,m),d.append(t,_),d.append(t,C),d.append(C,P)},p:d.noop,d(M){M&&d.detach(t),V.d()}}}function uu(o){let t,e,i,s,r,n,a,l,u,c,h=o[19]("titleTimeout")+"",p,m,_;return{c(){t=d.element("div"),e=d.svg_element("svg"),i=d.svg_element("defs"),s=d.svg_element("style"),r=d.text(`.aaa {
3556
3556
  fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
3557
3557
  }
3558
- `),n=d.svg_element("g"),a=d.svg_element("g"),l=d.svg_element("path"),u=d.space(),c=d.element("h2"),p=d.text(h),d.attr(l,"class","aaa"),d.attr(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),d.attr(l,"transform","translate(15 15) rotate(180)"),d.attr(a,"transform","translate(20 158)"),d.attr(n,"transform","translate(-20 -158)"),d.attr(e,"xmlns","http://www.w3.org/2000/svg"),d.attr(e,"width","15"),d.attr(e,"height","15"),d.attr(e,"viewBox","0 0 15 15"),d.attr(c,"class","TimeoutTitleMobile"),d.attr(c,"part","TimeoutTitleMobile"),d.attr(t,"class","MenuReturnButton"),d.attr(t,"part","MenuReturnButton"),d.attr(t,"role","button"),d.attr(t,"tabindex","0")},m(C,P){d.insert(C,t,P),d.append(t,e),d.append(e,i),d.append(i,s),d.append(s,r),d.append(e,n),d.append(n,a),d.append(a,l),d.append(t,u),d.append(t,c),d.append(c,p),f||(_=[d.listen(t,"click",o[28]),d.listen(t,"keydown",o[29])],f=!0)},p(C,P){P[0]&524288&&h!==(h=C[19]("titleTimeout")+"")&&d.set_data(p,h)},d(C){C&&d.detach(t),f=!1,d.run_all(_)}}}function $o(o){let t,e=o[19](o[49].value)+"",i,s,r,n,a;function l(){return o[32](o[49])}function u(...c){return o[33](o[49],...c)}return{c(){t=d.element("div"),i=d.text(e),s=d.space(),d.attr(t,"role","option"),d.attr(t,"tabindex","0"),d.attr(t,"aria-selected",r=o[11]===o[49].value)},m(c,h){d.insert(c,t,h),d.append(t,i),d.append(t,s),n||(a=[d.listen(t,"click",l),d.listen(t,"keydown",u)],n=!0)},p(c,h){o=c,h[0]&525312&&e!==(e=o[19](o[49].value)+"")&&d.set_data(i,e),h[0]&3072&&r!==(r=o[11]===o[49].value)&&d.attr(t,"aria-selected",r)},d(c){c&&d.detach(t),n=!1,d.run_all(a)}}}function Ro(o){let t,e,i=o[19]("duration")+"",s,r,n,a=o[19]("dateInstructions")+"",l,u,c,h,p;return{c(){t=d.element("div"),e=d.element("label"),s=d.text(i),r=d.space(),n=d.element("span"),l=d.text(a),u=d.space(),c=d.element("strong"),c.innerHTML="MM/DD/YYYY<strong></strong>",h=d.space(),p=d.element("vaadin-date-picker"),d.attr(e,"for","TimeoutDate"),d.attr(n,"class","TimeoutDateInstructions"),d.set_custom_element_data(p,"min",o[15]),d.set_custom_element_data(p,"max",o[16]),d.set_custom_element_data(p,"value",o[15]),d.attr(t,"class","TimeoutDateWrapper "+(o[20]?"TimeoutDateWrapperMobile":""))},m(f,_){d.insert(f,t,_),d.append(t,e),d.append(e,s),d.append(t,r),d.append(t,n),d.append(n,l),d.append(n,u),d.append(n,c),d.append(t,h),d.append(t,p),o[34](p)},p(f,_){_[0]&524288&&i!==(i=f[19]("duration")+"")&&d.set_data(s,i),_[0]&524288&&a!==(a=f[19]("dateInstructions")+"")&&d.set_data(l,a),_[0]&32768&&d.set_custom_element_data(p,"min",f[15]),_[0]&65536&&d.set_custom_element_data(p,"max",f[16]),_[0]&32768&&d.set_custom_element_data(p,"value",f[15])},d(f){f&&d.detach(t),o[34](null)}}}function cu(o){let t;return{c(){t=d.element("ui-skeleton"),d.set_custom_element_data(t,"structure","title"),d.set_custom_element_data(t,"width","100px"),d.set_custom_element_data(t,"margin-top","20px"),d.set_custom_element_data(t,"margin-bottom","20px")},m(e,i){d.insert(e,t,i)},d(e){e&&d.detach(t)}}}function hu(o){let t;return{c(){t=d.element("div"),t.innerHTML='<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>',d.attr(t,"class","MenuReturnButton")},m(e,i){d.insert(e,t,i)},d(e){e&&d.detach(t)}}}function pu(o){let t;function e(r,n){return r[18]?du:lu}let i=e(o),s=i(o);return{c(){t=d.element("div"),s.c()},m(r,n){d.insert(r,t,n),s.m(t,null),o[37](t)},p(r,n){i===(i=e(r))&&s?s.p(r,n):(s.d(1),s=i(r),s&&(s.c(),s.m(t,null)))},i:d.noop,o:d.noop,d(r){r&&d.detach(t),s.d(),o[37](null)}}}function fu(o,t,e){let i;d.component_subscribe(o,d.$format,b=>e(19,i=b));let{operator:s="Everymatrix"}=t,{lang:r="en"}=t,{clientstyling:n=""}=t,{clientstylingurl:a=""}=t,{mbsource:l}=t,{translationurl:u=""}=t,{supportemail:c=""}=t,{endpoint:h=""}=t,{baseurl:p=""}=t,{hasconfirmationmodal:f="false"}=t;ru({withLocale:"en",translations:{}});let _,C,P,F=window.navigator.userAgent,z=d.getDevice(F)!=="PC",V=[{value:"CoolOffFor24Hours",dateSelector:!1},{value:"CoolOffFor7Days",dateSelector:!1},{value:"CoolOffFor30Days",dateSelector:!1},{value:"CoolOffFor3Months",dateSelector:!1}],M=V[0].value,H=!1,W=!1,te="",G,re,R="",D=f==="true",Q=!0,J;const x=()=>{fetch(u).then(b=>b.json()).then(b=>{Object.keys(b).forEach(X=>{Fo(X,b[X])})}).catch(b=>{console.log(b)})};Object.keys(zo).forEach(b=>{Fo(b,zo[b])});const v=()=>{const b=new URL("/v1/player/coolOffSettings",h),X={method:"GET"};fetch(b.href,X).then(oe=>{if(!oe.ok)throw new Error("There was an error while fetching the configuration");return oe.json()}).then(oe=>{const{periods:ji}=oe;ji&&e(10,V=ji.map(Pt=>({value:Pt.key,text:Pt.text,dateSelector:Pt.dateSelector})))}).catch(oe=>{console.log(oe)}).finally(()=>{e(18,Q=!1),e(11,M=V[0].value)})},m=()=>{if(!D){e(17,R="");return}e(17,R=H?i("confirmationModalTextUntilTimeout",{values:{date:te}}):i("confirmationModalTextPeriodTimeout",{values:{period:i(M)}}))},y=b=>{b.preventDefault(),D?window.postMessage({type:"ShowTimeoutConfirmationModal"},window.location.href):T()},g=b=>{const{timeoutSelected:X,timeoutExpiryDate:oe}=b.detail;e(11,M=X),e(14,te=oe),T()},T=()=>{window.postMessage({type:"SetPlayerAccountTimeout",timeoutSelected:M,timeoutExpiryDate:te},window.location.href)},A=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:z},window.location.href)},N=()=>{nu(r),v()},S=()=>{e(13,W=!W)},L=b=>{e(11,M=b.value),e(12,H=!1),b.dateSelector&&(e(12,H=!0),e(15,G=vi().format("YYYY-MM-DD")),e(16,re=vi().add(6,"months").format("YYYY-MM-DD")),e(14,te=G)),e(13,W=!1),D&&m()},E=b=>{var oe;const X=b.target;e(14,te=(oe=X==null?void 0:X.value)!=null?oe:"")},$=()=>{C.addEventListener("change",E,!1)};d.onDestroy(()=>{J&&J.removeEventListener("SetPlayerAccountTimeout",g),C&&C.removeEventListener("change",E)});const w=()=>A(),k=b=>{(b.key==="Enter"||b.key===" ")&&(b.preventDefault(),A())},B=()=>S(),ie=b=>{(b.key==="Enter"||b.key===" ")&&(b.preventDefault(),S())},K=b=>L(b),ne=(b,X)=>{(X.key==="Enter"||X.key===" ")&&(X.preventDefault(),L(b))};function ge(b){d.binding_callbacks[b?"unshift":"push"](()=>{C=b,e(8,C)})}const ke=b=>y(b);function gr(b){d.binding_callbacks[b?"unshift":"push"](()=>{J=b,e(9,J)})}function yr(b){d.binding_callbacks[b?"unshift":"push"](()=>{_=b,e(7,_)})}return o.$$set=b=>{"operator"in b&&e(0,s=b.operator),"lang"in b&&e(1,r=b.lang),"clientstyling"in b&&e(2,n=b.clientstyling),"clientstylingurl"in b&&e(3,a=b.clientstylingurl),"mbsource"in b&&e(4,l=b.mbsource),"translationurl"in b&&e(25,u=b.translationurl),"supportemail"in b&&e(5,c=b.supportemail),"endpoint"in b&&e(26,h=b.endpoint),"baseurl"in b&&e(6,p=b.baseurl),"hasconfirmationmodal"in b&&e(27,f=b.hasconfirmationmodal)},o.$$.update=()=>{o.$$.dirty[0]&256&&C&&$(),o.$$.dirty[0]&2&&r&&N(),o.$$.dirty[0]&132&&n&&_&&d.setClientStyling(_,n),o.$$.dirty[0]&136&&a&&_&&d.setClientStylingURL(_,a),o.$$.dirty[0]&144&&l&&_&&d.setStreamStyling(_,`${l}.Style`,P),o.$$.dirty[0]&33554432&&u&&x(),o.$$.dirty[0]&512&&J&&J.addEventListener("SetPlayerAccountTimeout",g)},D&&m(),[s,r,n,a,l,c,p,_,C,J,V,M,H,W,te,G,re,R,Q,i,z,y,A,S,L,u,h,f,w,k,B,ie,K,ne,ge,ke,gr,yr]}class _r extends d.SvelteComponent{constructor(t){super(),d.init(this,t,fu,pu,d.safe_not_equal,{operator:0,lang:1,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:25,supportemail:5,endpoint:26,baseurl:6,hasconfirmationmodal:27},au,[-1,-1])}get operator(){return this.$$.ctx[0]}set operator(t){this.$$set({operator:t}),d.flush()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),d.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),d.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),d.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),d.flush()}get translationurl(){return this.$$.ctx[25]}set translationurl(t){this.$$set({translationurl:t}),d.flush()}get supportemail(){return this.$$.ctx[5]}set supportemail(t){this.$$set({supportemail:t}),d.flush()}get endpoint(){return this.$$.ctx[26]}set endpoint(t){this.$$set({endpoint:t}),d.flush()}get baseurl(){return this.$$.ctx[6]}set baseurl(t){this.$$set({baseurl:t}),d.flush()}get hasconfirmationmodal(){return this.$$.ctx[27]}set hasconfirmationmodal(t){this.$$set({hasconfirmationmodal:t}),d.flush()}}d.create_custom_element(_r,{operator:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},supportemail:{},endpoint:{},baseurl:{},hasconfirmationmodal:{}},[],[],!0);const mu=Object.freeze(Object.defineProperty({__proto__:null,default:_r},Symbol.toStringTag,{value:"Module"}));exports.PlayerAccountTimeout_ce=mu;exports.dayjs=vi;
3558
+ `),n=d.svg_element("g"),a=d.svg_element("g"),l=d.svg_element("path"),u=d.space(),c=d.element("h2"),p=d.text(h),d.attr(l,"class","aaa"),d.attr(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),d.attr(l,"transform","translate(15 15) rotate(180)"),d.attr(a,"transform","translate(20 158)"),d.attr(n,"transform","translate(-20 -158)"),d.attr(e,"xmlns","http://www.w3.org/2000/svg"),d.attr(e,"width","15"),d.attr(e,"height","15"),d.attr(e,"viewBox","0 0 15 15"),d.attr(c,"class","TimeoutTitleMobile"),d.attr(c,"part","TimeoutTitleMobile"),d.attr(t,"class","MenuReturnButton"),d.attr(t,"part","MenuReturnButton"),d.attr(t,"role","button"),d.attr(t,"tabindex","0")},m(C,P){d.insert(C,t,P),d.append(t,e),d.append(e,i),d.append(i,s),d.append(s,r),d.append(e,n),d.append(n,a),d.append(a,l),d.append(t,u),d.append(t,c),d.append(c,p),m||(_=[d.listen(t,"click",o[28]),d.listen(t,"keydown",o[29])],m=!0)},p(C,P){P[0]&524288&&h!==(h=C[19]("titleTimeout")+"")&&d.set_data(p,h)},d(C){C&&d.detach(t),m=!1,d.run_all(_)}}}function $o(o){let t,e=o[19](o[49].value)+"",i,s,r,n,a;function l(){return o[32](o[49])}function u(...c){return o[33](o[49],...c)}return{c(){t=d.element("div"),i=d.text(e),s=d.space(),d.attr(t,"role","option"),d.attr(t,"tabindex","0"),d.attr(t,"aria-selected",r=o[11]===o[49].value)},m(c,h){d.insert(c,t,h),d.append(t,i),d.append(t,s),n||(a=[d.listen(t,"click",l),d.listen(t,"keydown",u)],n=!0)},p(c,h){o=c,h[0]&525312&&e!==(e=o[19](o[49].value)+"")&&d.set_data(i,e),h[0]&3072&&r!==(r=o[11]===o[49].value)&&d.attr(t,"aria-selected",r)},d(c){c&&d.detach(t),n=!1,d.run_all(a)}}}function Ro(o){let t,e,i=o[19]("duration")+"",s,r,n,a=o[19]("dateInstructions")+"",l,u,c,h,p;return{c(){t=d.element("div"),e=d.element("label"),s=d.text(i),r=d.space(),n=d.element("span"),l=d.text(a),u=d.space(),c=d.element("strong"),c.innerHTML="MM/DD/YYYY<strong></strong>",h=d.space(),p=d.element("vaadin-date-picker"),d.attr(e,"for","TimeoutDate"),d.attr(n,"class","TimeoutDateInstructions"),d.set_custom_element_data(p,"min",o[15]),d.set_custom_element_data(p,"max",o[16]),d.set_custom_element_data(p,"value",o[15]),d.attr(t,"class","TimeoutDateWrapper "+(o[20]?"TimeoutDateWrapperMobile":""))},m(m,_){d.insert(m,t,_),d.append(t,e),d.append(e,s),d.append(t,r),d.append(t,n),d.append(n,l),d.append(n,u),d.append(n,c),d.append(t,h),d.append(t,p),o[34](p)},p(m,_){_[0]&524288&&i!==(i=m[19]("duration")+"")&&d.set_data(s,i),_[0]&524288&&a!==(a=m[19]("dateInstructions")+"")&&d.set_data(l,a),_[0]&32768&&d.set_custom_element_data(p,"min",m[15]),_[0]&65536&&d.set_custom_element_data(p,"max",m[16]),_[0]&32768&&d.set_custom_element_data(p,"value",m[15])},d(m){m&&d.detach(t),o[34](null)}}}function cu(o){let t;return{c(){t=d.element("ui-skeleton"),d.set_custom_element_data(t,"structure","title"),d.set_custom_element_data(t,"width","100px"),d.set_custom_element_data(t,"margin-top","20px"),d.set_custom_element_data(t,"margin-bottom","20px")},m(e,i){d.insert(e,t,i)},d(e){e&&d.detach(t)}}}function hu(o){let t;return{c(){t=d.element("div"),t.innerHTML='<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>',d.attr(t,"class","MenuReturnButton")},m(e,i){d.insert(e,t,i)},d(e){e&&d.detach(t)}}}function pu(o){let t;function e(r,n){return r[18]?du:lu}let i=e(o),s=i(o);return{c(){t=d.element("div"),s.c()},m(r,n){d.insert(r,t,n),s.m(t,null),o[37](t)},p(r,n){i===(i=e(r))&&s?s.p(r,n):(s.d(1),s=i(r),s&&(s.c(),s.m(t,null)))},i:d.noop,o:d.noop,d(r){r&&d.detach(t),s.d(),o[37](null)}}}function fu(o,t,e){let i;d.component_subscribe(o,d.$format,b=>e(19,i=b));let{operator:s="Everymatrix"}=t,{lang:r="en"}=t,{clientstyling:n=""}=t,{clientstylingurl:a=""}=t,{mbsource:l}=t,{translationurl:u=""}=t,{supportemail:c=""}=t,{endpoint:h=""}=t,{baseurl:p=""}=t,{hasconfirmationmodal:m="false"}=t;ru({withLocale:"en",translations:{}});let _,C,P,F=window.navigator.userAgent,z=d.getDevice(F)!=="PC",V=[{value:"CoolOffFor24Hours",dateSelector:!1},{value:"CoolOffFor7Days",dateSelector:!1},{value:"CoolOffFor30Days",dateSelector:!1},{value:"CoolOffFor3Months",dateSelector:!1}],M=V[0].value,H=!1,W=!1,te="",G,re,R="",D=m==="true",Q=!0,J;const x=()=>{fetch(u).then(b=>b.json()).then(b=>{Object.keys(b).forEach(X=>{Fo(X,b[X])})}).catch(b=>{console.log(b)})};Object.keys(zo).forEach(b=>{Fo(b,zo[b])});const v=()=>{const b=new URL("/v1/player/coolOffSettings",h),X={method:"GET"};fetch(b.href,X).then(oe=>{if(!oe.ok)throw new Error("There was an error while fetching the configuration");return oe.json()}).then(oe=>{const{periods:ji}=oe;ji&&e(10,V=ji.map(Pt=>({value:Pt.key,text:Pt.text,dateSelector:Pt.dateSelector})))}).catch(oe=>{console.log(oe)}).finally(()=>{e(18,Q=!1),e(11,M=V[0].value)})},f=()=>{if(!D){e(17,R="");return}e(17,R=H?i("confirmationModalTextUntilTimeout",{values:{date:te}}):i("confirmationModalTextPeriodTimeout",{values:{period:i(M)}}))},y=b=>{b.preventDefault(),D?(f(),window.postMessage({type:"ShowTimeoutConfirmationModal"},window.location.href)):T()},g=b=>{const{timeoutSelected:X,timeoutExpiryDate:oe}=b.detail;e(11,M=X),e(14,te=oe),T()},T=()=>{window.postMessage({type:"SetPlayerAccountTimeout",timeoutSelected:M,timeoutExpiryDate:te},window.location.href)},A=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:z},window.location.href)},N=()=>{nu(r),v()},S=()=>{e(13,W=!W)},L=b=>{e(11,M=b.value),e(12,H=!1),b.dateSelector&&(e(12,H=!0),e(15,G=vi().format("YYYY-MM-DD")),e(16,re=vi().add(6,"months").format("YYYY-MM-DD")),e(14,te=G)),e(13,W=!1),D&&f()},E=b=>{var oe;const X=b.target;e(14,te=(oe=X==null?void 0:X.value)!=null?oe:"")},$=()=>{C.addEventListener("change",E,!1)};d.onDestroy(()=>{J&&J.removeEventListener("SetPlayerAccountTimeout",g),C&&C.removeEventListener("change",E)});const w=()=>A(),k=b=>{(b.key==="Enter"||b.key===" ")&&(b.preventDefault(),A())},B=()=>S(),ie=b=>{(b.key==="Enter"||b.key===" ")&&(b.preventDefault(),S())},K=b=>L(b),ne=(b,X)=>{(X.key==="Enter"||X.key===" ")&&(X.preventDefault(),L(b))};function ge(b){d.binding_callbacks[b?"unshift":"push"](()=>{C=b,e(8,C)})}const ke=b=>y(b);function gr(b){d.binding_callbacks[b?"unshift":"push"](()=>{J=b,e(9,J)})}function yr(b){d.binding_callbacks[b?"unshift":"push"](()=>{_=b,e(7,_)})}return o.$$set=b=>{"operator"in b&&e(0,s=b.operator),"lang"in b&&e(1,r=b.lang),"clientstyling"in b&&e(2,n=b.clientstyling),"clientstylingurl"in b&&e(3,a=b.clientstylingurl),"mbsource"in b&&e(4,l=b.mbsource),"translationurl"in b&&e(25,u=b.translationurl),"supportemail"in b&&e(5,c=b.supportemail),"endpoint"in b&&e(26,h=b.endpoint),"baseurl"in b&&e(6,p=b.baseurl),"hasconfirmationmodal"in b&&e(27,m=b.hasconfirmationmodal)},o.$$.update=()=>{o.$$.dirty[0]&256&&C&&$(),o.$$.dirty[0]&2&&r&&N(),o.$$.dirty[0]&132&&n&&_&&d.setClientStyling(_,n),o.$$.dirty[0]&136&&a&&_&&d.setClientStylingURL(_,a),o.$$.dirty[0]&144&&l&&_&&d.setStreamStyling(_,`${l}.Style`,P),o.$$.dirty[0]&33554432&&u&&x(),o.$$.dirty[0]&512&&J&&J.addEventListener("SetPlayerAccountTimeout",g)},D&&f(),[s,r,n,a,l,c,p,_,C,J,V,M,H,W,te,G,re,R,Q,i,z,y,A,S,L,u,h,m,w,k,B,ie,K,ne,ge,ke,gr,yr]}class _r extends d.SvelteComponent{constructor(t){super(),d.init(this,t,fu,pu,d.safe_not_equal,{operator:0,lang:1,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:25,supportemail:5,endpoint:26,baseurl:6,hasconfirmationmodal:27},au,[-1,-1])}get operator(){return this.$$.ctx[0]}set operator(t){this.$$set({operator:t}),d.flush()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),d.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),d.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),d.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),d.flush()}get translationurl(){return this.$$.ctx[25]}set translationurl(t){this.$$set({translationurl:t}),d.flush()}get supportemail(){return this.$$.ctx[5]}set supportemail(t){this.$$set({supportemail:t}),d.flush()}get endpoint(){return this.$$.ctx[26]}set endpoint(t){this.$$set({endpoint:t}),d.flush()}get baseurl(){return this.$$.ctx[6]}set baseurl(t){this.$$set({baseurl:t}),d.flush()}get hasconfirmationmodal(){return this.$$.ctx[27]}set hasconfirmationmodal(t){this.$$set({hasconfirmationmodal:t}),d.flush()}}d.create_custom_element(_r,{operator:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},supportemail:{},endpoint:{},baseurl:{},hasconfirmationmodal:{}},[],[],!0);const mu=Object.freeze(Object.defineProperty({__proto__:null,default:_r},Symbol.toStringTag,{value:"Module"}));exports.PlayerAccountTimeout_ce=mu;exports.dayjs=vi;