@everymatrix/player-account-controller-nd 1.51.0 → 1.52.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/components/{PlayerAccountControllerNd-DR83R7-J.js → PlayerAccountControllerNd-CKb_sN38.js} +50 -26
  2. package/components/PlayerAccountControllerNd-CnCL-6-Y.cjs +1 -0
  3. package/components/PlayerAccountGamingLimitsHistory2Nd-2hdjxCBn.cjs +1 -0
  4. package/components/{PlayerAccountGamingLimitsHistory2Nd-DXRuQv1n.js → PlayerAccountGamingLimitsHistory2Nd-BQRXsnS9.js} +265 -252
  5. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-TSh0wb3T.cjs +21 -0
  6. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B8qQXVFH.js → PlayerAccountGamingLimitsPage2Gm16Nd-qfL5QXeR.js} +653 -645
  7. package/components/{PlayerAccountGamingLimitsWrapper2Nd-CGOmn6XK.cjs → PlayerAccountGamingLimitsWrapper2Nd-B9Q7iGIP.cjs} +1 -1
  8. package/components/{PlayerAccountGamingLimitsWrapper2Nd-D5yyp7TU.js → PlayerAccountGamingLimitsWrapper2Nd-C2l4GKfA.js} +2 -2
  9. package/components/{PlayerAccountSelfExclusionNd-ws9NCp9W.js → PlayerAccountSelfExclusionNd-CcWfUeeq.js} +1350 -1345
  10. package/components/{PlayerAccountSelfExclusionNd-DLM2y_E4.cjs → PlayerAccountSelfExclusionNd-y8YlFTpW.cjs} +175 -175
  11. package/components/PlayerAccountTimeout-B0g85-4A.js +659 -0
  12. package/components/PlayerAccountTimeout-C0lXekrR.cjs +1 -0
  13. package/components/PlayerBonusHistory-Bq7IPMXk.cjs +1 -0
  14. package/components/{PlayerBonusHistory-BjLH5Cpv.js → PlayerBonusHistory-DG8zGNVv.js} +2 -2
  15. package/components/{PlayerChangePassword-CUN1sG6C.js → PlayerChangePassword-Cqg33tmy.js} +1 -1
  16. package/components/{PlayerChangePassword-BmuIKvz7.cjs → PlayerChangePassword-Cxyo6bYd.cjs} +1 -1
  17. package/components/{PlayerDeposit-B_VzcGon.cjs → PlayerDeposit-3qNMb75V.cjs} +1 -1
  18. package/components/{PlayerDeposit-B5nfKU2d.js → PlayerDeposit-BjBByisT.js} +6 -6
  19. package/components/PlayerGamingHistory-CxUirJqc.cjs +1 -0
  20. package/components/{PlayerGamingHistory-qknrLcKD.js → PlayerGamingHistory-CyH6YJA_.js} +43 -43
  21. package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +1 -0
  22. package/components/{PlayerPendingWithdrawals-CGwIbpUn.js → PlayerPendingWithdrawals-wMhZTLpq.js} +1 -1
  23. package/components/PlayerProfileInfo-BX32t6wz.cjs +1 -0
  24. package/components/{PlayerProfileInfo-ekifq0vv.js → PlayerProfileInfo-DTypEbEs.js} +1 -1
  25. package/components/PlayerTransactionHistory-CJqhYnbs.cjs +1 -0
  26. package/components/{PlayerTransactionHistory-CYZHUA0I.js → PlayerTransactionHistory-CvBbrQn6.js} +11 -11
  27. package/components/{PlayerWithdrawal-dZ0Dfd2u.cjs → PlayerWithdrawal-GDc_7hZX.cjs} +1 -1
  28. package/components/{PlayerWithdrawal-Ch_UQ-Zg.js → PlayerWithdrawal-jGmMHcUX.js} +13 -13
  29. package/es2015/player-account-controller-nd.cjs +1 -1
  30. package/es2015/player-account-controller-nd.js +1 -1
  31. package/package.json +1 -1
  32. package/components/PlayerAccountControllerNd-CMFoPhqm.cjs +0 -1
  33. package/components/PlayerAccountGamingLimitsHistory2Nd-CwNQB2iO.cjs +0 -1
  34. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-BeRUUVkE.cjs +0 -21
  35. package/components/PlayerAccountTimeout-7kn9WzaC.js +0 -458
  36. package/components/PlayerAccountTimeout-BtDp3SZn.cjs +0 -1
  37. package/components/PlayerBonusHistory-DSDZVDWl.cjs +0 -1
  38. package/components/PlayerGamingHistory-jj6bfNCU.cjs +0 -1
  39. package/components/PlayerPendingWithdrawals-JN84Pftx.cjs +0 -1
  40. package/components/PlayerProfileInfo-Bi_j5FDm.cjs +0 -1
  41. package/components/PlayerTransactionHistory-CFR4nRHc.cjs +0 -1
@@ -1,4 +1,4 @@
1
- "use strict";var wr=Object.defineProperty,Er=Object.defineProperties;var Sr=Object.getOwnPropertyDescriptors;var rs=Object.getOwnPropertySymbols;var Cr=Object.prototype.hasOwnProperty,Ar=Object.prototype.propertyIsEnumerable;var ns=(s,t,e)=>t in s?wr(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e,jt=(s,t)=>{for(var e in t||(t={}))Cr.call(t,e)&&ns(s,e,t[e]);if(rs)for(var e of rs(t))Ar.call(t,e)&&ns(s,e,t[e]);return s},Yt=(s,t)=>Er(s,Sr(t));var ft=(s,t,e)=>new Promise((o,i)=>{var r=l=>{try{a(e.next(l))}catch(c){i(c)}},n=l=>{try{a(e.throw(l))}catch(c){i(c)}},a=l=>l.done?o(l.value):Promise.resolve(l.value).then(r,n);a((e=e.apply(s,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./GeneralLogout-BW6b3iuS.cjs");var ei={exports:{}};(function(s,t){(function(e,o){s.exports=o()})(u.commonjsGlobal,function(){var e=1e3,o=6e4,i=36e5,r="millisecond",n="second",a="minute",l="hour",c="day",d="week",h="month",p="quarter",m="year",v="date",P="Invalid Date",N=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,O=/\[([^\]]+)]|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,I={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 g=["th","st","nd","rd"],f=x%100;return"["+x+(g[(f-20)%10]||g[f]||g[0])+"]"}},H=function(x,g,f){var b=String(x);return!b||b.length>=g?x:""+Array(g+1-b.length).join(f)+x},Q={s:H,z:function(x){var g=-x.utcOffset(),f=Math.abs(g),b=Math.floor(f/60),_=f%60;return(g<=0?"+":"-")+H(b,2,"0")+":"+H(_,2,"0")},m:function x(g,f){if(g.date()<f.date())return-x(f,g);var b=12*(f.year()-g.year())+(f.month()-g.month()),_=g.clone().add(b,h),S=f-_<0,w=g.clone().add(b+(S?-1:1),h);return+(-(b+(f-_)/(S?_-w:w-_))||0)},a:function(x){return x<0?Math.ceil(x)||0:Math.floor(x)},p:function(x){return{M:h,y:m,w:d,d:c,D:v,h:l,m:a,s:n,ms:r,Q:p}[x]||String(x||"").toLowerCase().replace(/s$/,"")},u:function(x){return x===void 0}},G="en",V={};V[G]=I;var ne="$isDayjsObject",ae=function(x){return x instanceof le||!(!x||!x[ne])},oe=function x(g,f,b){var _;if(!g)return G;if(typeof g=="string"){var S=g.toLowerCase();V[S]&&(_=S),f&&(V[S]=f,_=S);var w=g.split("-");if(!_&&w.length>1)return x(w[0])}else{var M=g.name;V[M]=g,_=M}return!b&&_&&(G=_),_||!b&&G},L=function(x,g){if(ae(x))return x.clone();var f=typeof g=="object"?g:{};return f.date=x,f.args=arguments,new le(f)},k=Q;k.l=oe,k.i=ae,k.w=function(x,g){return L(x,{locale:g.$L,utc:g.$u,x:g.$x,$offset:g.$offset})};var le=function(){function x(f){this.$L=oe(f.locale,null,!0),this.parse(f),this.$x=this.$x||f.x||{},this[ne]=!0}var g=x.prototype;return g.parse=function(f){this.$d=function(b){var _=b.date,S=b.utc;if(_===null)return new Date(NaN);if(k.u(_))return new Date;if(_ instanceof Date)return new Date(_);if(typeof _=="string"&&!/Z$/i.test(_)){var w=_.match(N);if(w){var M=w[2]-1||0,D=(w[7]||"0").substring(0,3);return S?new Date(Date.UTC(w[1],M,w[3]||1,w[4]||0,w[5]||0,w[6]||0,D)):new Date(w[1],M,w[3]||1,w[4]||0,w[5]||0,w[6]||0,D)}}return new Date(_)}(f),this.init()},g.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()},g.$utils=function(){return k},g.isValid=function(){return this.$d.toString()!==P},g.isSame=function(f,b){var _=L(f);return this.startOf(b)<=_&&_<=this.endOf(b)},g.isAfter=function(f,b){return L(f)<this.startOf(b)},g.isBefore=function(f,b){return this.endOf(b)<L(f)},g.$g=function(f,b,_){return k.u(f)?this[b]:this.set(_,f)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(f,b){var _=this,S=!!k.u(b)||b,w=k.p(f),M=function($,A){var J=k.w(_.$u?Date.UTC(_.$y,A,$):new Date(_.$y,A,$),_);return S?J:J.endOf(c)},D=function($,A){return k.w(_.toDate()[$].apply(_.toDate("s"),(S?[0,0,0,0]:[23,59,59,999]).slice(A)),_)},z=this.$W,B=this.$M,j=this.$D,se="set"+(this.$u?"UTC":"");switch(w){case m:return S?M(1,0):M(31,11);case h:return S?M(1,B):M(0,B+1);case d:var ie=this.$locale().weekStart||0,y=(z<ie?z+7:z)-ie;return M(S?j-y:j+(6-y),B);case c:case v:return D(se+"Hours",0);case l:return D(se+"Minutes",1);case a:return D(se+"Seconds",2);case n:return D(se+"Milliseconds",3);default:return this.clone()}},g.endOf=function(f){return this.startOf(f,!1)},g.$set=function(f,b){var _,S=k.p(f),w="set"+(this.$u?"UTC":""),M=(_={},_[c]=w+"Date",_[v]=w+"Date",_[h]=w+"Month",_[m]=w+"FullYear",_[l]=w+"Hours",_[a]=w+"Minutes",_[n]=w+"Seconds",_[r]=w+"Milliseconds",_)[S],D=S===c?this.$D+(b-this.$W):b;if(S===h||S===m){var z=this.clone().set(v,1);z.$d[M](D),z.init(),this.$d=z.set(v,Math.min(this.$D,z.daysInMonth())).$d}else M&&this.$d[M](D);return this.init(),this},g.set=function(f,b){return this.clone().$set(f,b)},g.get=function(f){return this[k.p(f)]()},g.add=function(f,b){var _,S=this;f=Number(f);var w=k.p(b),M=function(B){var j=L(S);return k.w(j.date(j.date()+Math.round(B*f)),S)};if(w===h)return this.set(h,this.$M+f);if(w===m)return this.set(m,this.$y+f);if(w===c)return M(1);if(w===d)return M(7);var D=(_={},_[a]=o,_[l]=i,_[n]=e,_)[w]||1,z=this.$d.getTime()+f*D;return k.w(z,this)},g.subtract=function(f,b){return this.add(-1*f,b)},g.format=function(f){var b=this,_=this.$locale();if(!this.isValid())return _.invalidDate||P;var S=f||"YYYY-MM-DDTHH:mm:ssZ",w=k.z(this),M=this.$H,D=this.$m,z=this.$M,B=_.weekdays,j=_.months,se=_.meridiem,ie=function(A,J,ee,be){return A&&(A[J]||A(b,S))||ee[J].slice(0,be)},y=function(A){return k.s(M%12||12,A,"0")},$=se||function(A,J,ee){var be=A<12?"AM":"PM";return ee?be.toLowerCase():be};return S.replace(O,function(A,J){return J||function(ee){switch(ee){case"YY":return String(b.$y).slice(-2);case"YYYY":return k.s(b.$y,4,"0");case"M":return z+1;case"MM":return k.s(z+1,2,"0");case"MMM":return ie(_.monthsShort,z,j,3);case"MMMM":return ie(j,z);case"D":return b.$D;case"DD":return k.s(b.$D,2,"0");case"d":return String(b.$W);case"dd":return ie(_.weekdaysMin,b.$W,B,2);case"ddd":return ie(_.weekdaysShort,b.$W,B,3);case"dddd":return B[b.$W];case"H":return String(M);case"HH":return k.s(M,2,"0");case"h":return y(1);case"hh":return y(2);case"a":return $(M,D,!0);case"A":return $(M,D,!1);case"m":return String(D);case"mm":return k.s(D,2,"0");case"s":return String(b.$s);case"ss":return k.s(b.$s,2,"0");case"SSS":return k.s(b.$ms,3,"0");case"Z":return w}return null}(A)||w.replace(":","")})},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(f,b,_){var S,w=this,M=k.p(b),D=L(f),z=(D.utcOffset()-this.utcOffset())*o,B=this-D,j=function(){return k.m(w,D)};switch(M){case m:S=j()/12;break;case h:S=j();break;case p:S=j()/3;break;case d:S=(B-z)/6048e5;break;case c:S=(B-z)/864e5;break;case l:S=B/i;break;case a:S=B/o;break;case n:S=B/e;break;default:S=B}return _?S:k.a(S)},g.daysInMonth=function(){return this.endOf(h).$D},g.$locale=function(){return V[this.$L]},g.locale=function(f,b){if(!f)return this.$L;var _=this.clone(),S=oe(f,b,!0);return S&&(_.$L=S),_},g.clone=function(){return k.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},x}(),me=le.prototype;return L.prototype=me,[["$ms",r],["$s",n],["$m",a],["$H",l],["$W",c],["$M",h],["$y",m],["$D",v]].forEach(function(x){me[x[1]]=function(g){return this.$g(g,x[0],x[1])}}),L.extend=function(x,g){return x.$i||(x(g,le,L),x.$i=!0),L},L.locale=oe,L.isDayjs=ae,L.unix=function(x){return L(1e3*x)},L.en=V[G],L.Ls=V,L.p={},L})})(ei);var kr=ei.exports;const Vt=u.getDefaultExportFromCjs(kr);function as(s,t){u.addMessages(s,t)}function Pr(s){u.$locale.set(s)}const ls={en:{titleSelfExclusion:"Self-Exclusion",selfExclusionText1:"We recognise that gambling can be harmful so to prevent problems associated with gambling, we offer our users the ability to exclude from all forms of betting on our site for a period of your choosing from the drop-down menu below.",selfExclusionText2:'Self-exclusion takes effect from the time it is set for your chosen period. Select a timeframe below then click "Save".',selfExclusionText3:"During a self-exclusion period, withdrawals will be possible, please check",termsAndConditions:"Terms and Conditions",selfExclusionText4:"to see the exact process; however, depositing funds or placing bets will be restricted. In the case of permanent self-exclusion, revocation is only possible upon written request and must occur no sooner than six months after the initial application. Please note that an alternative way to request self-exclusion is to contact Customer Service as follows:",selfExclusionText5:"E-mail:",duration:"Duration:",dateInstructions:"In order to manually input date use the following format:",forever:"Forever",save:"Save",noPeriodSelected:"Please select a self exclusion period",selectAPeriod:"Select a period",temporarySelfExclusion:"Your self-exclusion period will last until the {date} 23:59.",permanentSelfExclusion:"Your self-exclusion period will be permanent.",SelfExclusionFor30Days:"30 Days",SelfExclusionFor6Months:"6 Months",SelfExclusionFor1Year:"1 Year",SelfExclusionFor5Years:"5 Years",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Until"},"zh-hk":{titleSelfExclusion:"自我排除",selfExclusionText1:"我們認識到賭博可能帶來危害,因此為防止與賭博相關的問題,我們為用戶提供了排除本站所有投注形式的功能,您可從下拉菜單中選擇一個期間。",selfExclusionText2:'自我排除將從設置時開始生效,持續您選擇的期間。請在下方選擇一個時間範圍,然後點擊"保存"。',selfExclusionText3:"在自我排除期間,可進行提款操作,請查看",termsAndConditions:"條款和細則",selfExclusionText4:"了解具體流程;但存款或下注將受到限制。如選擇永久自我排除,撤銷申請僅可通過書面申請,且必須在最初申請六個月後才能進行。請注意,另一種請求自我排除的方法是通過以下方式聯繫客服:",selfExclusionText5:"電子郵件:",duration:"時長:",dateInstructions:"如需手動輸入日期,請使用以下格式:",forever:"永久",save:"保存",noPeriodSelected:"請選擇自我排除時段",selectAPeriod:"選擇一個時段",temporarySelfExclusion:"您的自我排除期將持續到 {date} 23:59。",permanentSelfExclusion:"您的自我排除期將是永久性的。",SelfExclusionFor30Days:"30天",SelfExclusionFor6Months:"6個月",SelfExclusionFor1Year:"1年",SelfExclusionFor5Years:"5年",SelfExclusionPermanent:"永久",SelfExclusionUntilSelectedDate:"直到"},fr:{titleSelfExclusion:"Auto-Exclusion",selfExclusionText1:"Nous reconnaissons que le jeu peut être nuisible. Pour prévenir les problèmes liés au jeu, nous offrons à nos utilisateurs la possibilité de s’exclure de toutes les formes de paris sur notre site pour une durée de votre choix, à sélectionner dans le menu déroulant ci-dessous.",selfExclusionText2:"L'auto-exclusion prend effet dès qu'elle est définie pour la période choisie. Sélectionnez une durée ci-dessous, puis cliquez sur « Enregistrer ».",selfExclusionText3:"Pendant une période d'auto-exclusion, les retraits seront possibles. Veuillez consulter",termsAndConditions:"les Termes et Conditions",selfExclusionText4:"pour connaître le processus exact ; cependant, les dépôts et les paris seront restreints. En cas d'auto-exclusion permanente, la révocation n'est possible que sur demande écrite et ne peut avoir lieu avant six mois après la demande initiale. Veuillez noter qu'une autre façon de demander l'auto-exclusion est de contacter le service client comme suit :",selfExclusionText5:"E-mail :",duration:"Durée :",dateInstructions:"Pour saisir une date manuellement, utilisez le format suivant :",forever:"Pour toujours",save:"Enregistrer",noPeriodSelected:"Veuillez sélectionner une période d'auto-exclusion",selectAPeriod:"Sélectionnez une période",temporarySelfExclusion:"Votre période d'auto-exclusion durera jusqu'au {date} 23:59.",permanentSelfExclusion:"Votre période d'auto-exclusion sera permanente.",SelfExclusionFor30Days:"30 Jours",SelfExclusionFor6Months:"6 Mois",SelfExclusionFor1Year:"1 An",SelfExclusionFor5Years:"5 Ans",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Jusqu'à"},ro:{titleSelfExclusion:"Auto-Excludere",selfExclusionText1:"Recunoaștem că jocurile de noroc pot fi dăunătoare, așa că pentru a preveni problemele asociate acestora, oferim utilizatorilor posibilitatea de a se exclude de la toate formele de pariere de pe site-ul nostru pentru o perioadă la alegerea dvs. din meniul derulant de mai jos.",selfExclusionText2:"Auto-excluderea intră în vigoare din momentul setării pentru perioada aleasă. Selectați un interval de timp mai jos, apoi faceți clic pe „Salvează”.",selfExclusionText3:"Pe durata perioadei de auto-excludere, retragerile vor fi posibile. Vă rugăm să verificați",termsAndConditions:"Termenii și Condițiile",selfExclusionText4:"pentru a vedea procesul exact; cu toate acestea, depunerile sau pariurile vor fi restricționate. În cazul auto-excluderii permanente, revocarea este posibilă doar printr-o cerere scrisă și nu mai devreme de șase luni de la aplicarea inițială. Rețineți că o altă modalitate de a solicita auto-excluderea este să contactați Serviciul Clienți după cum urmează:",selfExclusionText5:"E-mail:",duration:"Durată:",dateInstructions:"Pentru a introduce manual o dată, utilizați următorul format:",forever:"Pentru totdeauna",save:"Salvează",noPeriodSelected:"Vă rugăm să selectați o perioadă de auto-excludere",selectAPeriod:"Selectați o perioadă",temporarySelfExclusion:"Perioada dvs. de auto-excludere va dura până la {date} 23:59.",permanentSelfExclusion:"Perioada dvs. de auto-excludere va fi permanentă.",SelfExclusionFor30Days:"30 de Zile",SelfExclusionFor6Months:"6 Luni",SelfExclusionFor1Year:"1 An",SelfExclusionFor5Years:"5 Ani",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Până la"},es:{titleSelfExclusion:"Autoexclusión",selfExclusionText1:"Reconocemos que el juego puede ser perjudicial, por lo que para prevenir problemas asociados con el juego, ofrecemos a nuestros usuarios la posibilidad de excluirse de todas las formas de apuestas en nuestro sitio por un período de tiempo a su elección en el menú desplegable a continuación.",selfExclusionText2:'La autoexclusión entra en vigor desde el momento en que se establece para el período elegido. Seleccione un período a continuación y luego haga clic en "Guardar".',selfExclusionText3:"Durante el período de autoexclusión, los retiros serán posibles. Por favor, consulte",termsAndConditions:"Términos y Condiciones",selfExclusionText4:"para ver el proceso exacto; sin embargo, los depósitos o apuestas estarán restringidos. En caso de autoexclusión permanente, la revocación solo será posible mediante solicitud escrita y no antes de seis meses después de la solicitud inicial. Tenga en cuenta que otra forma de solicitar la autoexclusión es contactar al Servicio al Cliente de la siguiente manera:",selfExclusionText5:"Correo electrónico:",duration:"Duración:",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",forever:"Para siempre",save:"Guardar",noPeriodSelected:"Por favor, seleccione un período de autoexclusión",selectAPeriod:"Seleccione un período",temporarySelfExclusion:"Su período de autoexclusión durará hasta el {date} a las 23:59.",permanentSelfExclusion:"Su período de autoexclusión será permanente.",SelfExclusionFor30Days:"30 Días",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Año",SelfExclusionFor5Years:"5 Años",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Hasta"},pt:{titleSelfExclusion:"Autoexclusão",selfExclusionText1:"Reconhecemos que o jogo pode ser prejudicial, por isso, para evitar problemas associados ao jogo, oferecemos aos nossos utilizadores a possibilidade de se excluírem de todas as formas de apostas no nosso site por um período à sua escolha no menu suspenso abaixo.",selfExclusionText2:'A autoexclusão entra em vigor a partir do momento em que é configurada para o período escolhido. Selecione um período abaixo e clique em "Guardar".',selfExclusionText3:"Durante o período de autoexclusão, os levantamentos serão possíveis. Por favor, consulte",termsAndConditions:"os Termos e Condições",selfExclusionText4:"para ver o processo exato; no entanto, os depósitos ou apostas serão restringidos. No caso de autoexclusão permanente, a revogação só será possível mediante pedido por escrito e deve ocorrer não antes de seis meses após a solicitação inicial. Note que outra forma de solicitar autoexclusão é contactar o Serviço de Atendimento ao Cliente da seguinte forma:",selfExclusionText5:"E-mail:",duration:"Duração:",dateInstructions:"Para introduzir manualmente a data, utilize o seguinte formato:",forever:"Para sempre",save:"Guardar",noPeriodSelected:"Por favor, selecione um período de autoexclusão",selectAPeriod:"Selecione um período",temporarySelfExclusion:"O seu período de autoexclusão durará até às {date} 23:59.",permanentSelfExclusion:"O seu período de autoexclusão será permanente.",SelfExclusionFor30Days:"30 Dias",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Ano",SelfExclusionFor5Years:"5 Anos",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Até"},hr:{titleSelfExclusion:"Samoisključenje",selfExclusionText1:"Prepoznajemo da kockanje može biti štetno, stoga kako bismo spriječili probleme povezane s kockanjem, nudimo korisnicima mogućnost isključenja iz svih oblika klađenja na našoj stranici na razdoblje po vašem izboru iz donjeg padajućeg izbornika.",selfExclusionText2:'Samoisključenje stupa na snagu od trenutka postavljanja za odabrano razdoblje. Odaberite vremenski okvir ispod, a zatim kliknite "Spremi".',selfExclusionText3:"Tijekom razdoblja samoisključenja, isplate će biti moguće. Molimo provjerite",termsAndConditions:"Uvjeti i odredbe",selfExclusionText4:"za točan proces; međutim, polaganje sredstava ili postavljanje oklada bit će ograničeno. U slučaju trajnog samoisključenja, povlačenje je moguće samo uz pisani zahtjev i ne ranije od šest mjeseci nakon početne prijave. Napominjemo da alternativni način za traženje samoisključenja uključuje kontaktiranje korisničke službe na sljedeći način:",selfExclusionText5:"E-mail:",duration:"Trajanje:",dateInstructions:"Za ručni unos datuma koristite sljedeći format:",forever:"Zauvijek",save:"Spremi",noPeriodSelected:"Molimo odaberite razdoblje samoisključenja",selectAPeriod:"Odaberite razdoblje",temporarySelfExclusion:"Vaše razdoblje samoisključenja trajat će do {date} 23:59.",permanentSelfExclusion:"Vaše razdoblje samoisključenja bit će trajno.",SelfExclusionFor30Days:"30 Dana",SelfExclusionFor6Months:"6 Mjeseci",SelfExclusionFor1Year:"1 Godina",SelfExclusionFor5Years:"5 Godina",SelfExclusionPermanent:"Trajno",SelfExclusionUntilSelectedDate:"Do"},"pt-br":{titleSelfExclusion:"Autoexclusão",selfExclusionText1:"Reconhecemos que o jogo pode ser prejudicial, então, para prevenir problemas relacionados ao jogo, oferecemos aos nossos usuários a possibilidade de se excluir de todas as formas de apostas em nosso site por um período de sua escolha no menu suspenso abaixo.",selfExclusionText2:'A autoexclusão entra em vigor a partir do momento em que é configurada para o período escolhido. Selecione um período abaixo e clique em "Salvar".',selfExclusionText3:"Durante o período de autoexclusão, os saques serão possíveis. Por favor, consulte",termsAndConditions:"os Termos e Condições",selfExclusionText4:"para ver o processo exato; no entanto, os depósitos ou apostas estarão restritos. No caso de autoexclusão permanente, a revogação só será possível mediante solicitação por escrito e deve ocorrer não antes de seis meses após o pedido inicial. Observe que outra forma de solicitar a autoexclusão é entrar em contato com o Serviço de Atendimento ao Cliente da seguinte forma:",selfExclusionText5:"E-mail:",duration:"Duração:",dateInstructions:"Para inserir manualmente a data, use o seguinte formato:",forever:"Para sempre",save:"Salvar",noPeriodSelected:"Por favor, selecione um período de autoexclusão",selectAPeriod:"Selecione um período",temporarySelfExclusion:"Seu período de autoexclusão durará até {date} às 23:59.",permanentSelfExclusion:"Seu período de autoexclusão será permanente.",SelfExclusionFor30Days:"30 Dias",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Ano",SelfExclusionFor5Years:"5 Anos",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Até"},"es-mx":{titleSelfExclusion:"Autoexclusión",selfExclusionText1:"Reconocemos que el juego puede ser perjudicial, por lo que para prevenir problemas asociados con el juego, ofrecemos a nuestros usuarios la posibilidad de excluirse de todas las formas de apuestas en nuestro sitio por un período de tiempo a su elección en el menú desplegable a continuación.",selfExclusionText2:'La autoexclusión entra en vigor desde el momento en que se establece para el período elegido. Seleccione un período a continuación y luego haga clic en "Guardar".',selfExclusionText3:"Durante el período de autoexclusión, los retiros serán posibles. Por favor, consulte",termsAndConditions:"Términos y Condiciones",selfExclusionText4:"para ver el proceso exacto; sin embargo, los depósitos o apuestas estarán restringidos. En caso de autoexclusión permanente, la revocación solo será posible mediante solicitud escrita y no antes de seis meses después de la solicitud inicial. Tenga en cuenta que otra forma de solicitar la autoexclusión es contactar al Servicio al Cliente de la siguiente manera:",selfExclusionText5:"Correo electrónico:",duration:"Duración:",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",forever:"Para siempre",save:"Guardar",noPeriodSelected:"Por favor, seleccione un período de autoexclusión",selectAPeriod:"Seleccione un período",temporarySelfExclusion:"Su período de autoexclusión durará hasta el {date} a las 23:59.",permanentSelfExclusion:"Su período de autoexclusión será permanente.",SelfExclusionFor30Days:"30 Días",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Año",SelfExclusionFor5Years:"5 Años",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Hasta"},tr:{titleSelfExclusion:"Kendi Kendini Hariç Tutma",selfExclusionText1:"Kumarın zararlı olabileceğini kabul ediyoruz, bu nedenle kumarla ilgili sorunları önlemek için kullanıcılarımıza, aşağıdaki açılır menüden seçebileceğiniz bir süre boyunca sitemizdeki tüm bahislerden kendilerini hariç tutma olanağı sunuyoruz.",selfExclusionText2:'Kendi kendini hariç tutma, seçilen süre boyunca ayarlandığı andan itibaren yürürlüğe girer. Aşağıdan bir zaman dilimi seçin ve ardından "Kaydet"e tıklayın.',selfExclusionText3:"Kendi kendini hariç tutma süresi boyunca para çekme işlemleri mümkün olacaktır. Lütfen kontrol edin",termsAndConditions:"Hüküm ve Koşullar",selfExclusionText4:"tam süreci görmek için; ancak para yatırma veya bahis yapma kısıtlanacaktır. Kalıcı hariç tutma durumunda, iptal yalnızca yazılı talep üzerine ve ilk başvurudan en az altı ay sonra mümkün olacaktır. Kendi kendini hariç tutma talebinde bulunmanın alternatif bir yolu olarak aşağıdaki şekilde Müşteri Hizmetleri ile iletişime geçebilirsiniz:",selfExclusionText5:"E-posta:",duration:"Süre:",dateInstructions:"Tarihi manuel olarak girmek için şu formatı kullanın:",forever:"Sonsuza kadar",save:"Kaydet",noPeriodSelected:"Lütfen bir kendi kendini hariç tutma süresi seçin",selectAPeriod:"Bir süre seçin",temporarySelfExclusion:"Kendi kendini hariç tutma süreniz {date} saat 23:59'a kadar sürecektir.",permanentSelfExclusion:"Kendi kendini hariç tutma süreniz kalıcı olacaktır.",SelfExclusionFor30Days:"30 Gün",SelfExclusionFor6Months:"6 Ay",SelfExclusionFor1Year:"1 Yıl",SelfExclusionFor5Years:"5 Yıl",SelfExclusionPermanent:"Kalıcı",SelfExclusionUntilSelectedDate:"Tarihe kadar"}};/**
1
+ "use strict";var wr=Object.defineProperty,Er=Object.defineProperties;var Sr=Object.getOwnPropertyDescriptors;var rs=Object.getOwnPropertySymbols;var Cr=Object.prototype.hasOwnProperty,Ar=Object.prototype.propertyIsEnumerable;var ns=(s,t,e)=>t in s?wr(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e,Yt=(s,t)=>{for(var e in t||(t={}))Cr.call(t,e)&&ns(s,e,t[e]);if(rs)for(var e of rs(t))Ar.call(t,e)&&ns(s,e,t[e]);return s},Vt=(s,t)=>Er(s,Sr(t));var ft=(s,t,e)=>new Promise((o,i)=>{var r=l=>{try{a(e.next(l))}catch(c){i(c)}},n=l=>{try{a(e.throw(l))}catch(c){i(c)}},a=l=>l.done?o(l.value):Promise.resolve(l.value).then(r,n);a((e=e.apply(s,t)).next())});const u=require("./GeneralLogout-BW6b3iuS.cjs");/**
2
2
  * @license
3
3
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -6,46 +6,46 @@
6
6
  * @license
7
7
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
8
8
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
9
- */let Dr=class extends HTMLElement{static get is(){return"vaadin-lumo-styles"}static get version(){return"24.2.9"}};re(Dr);/**
9
+ */let kr=class extends HTMLElement{static get is(){return"vaadin-lumo-styles"}static get version(){return"24.2.9"}};re(kr);/**
10
10
  * @license
11
11
  * Copyright 2019 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */const bt=window,zo=bt.ShadowRoot&&(bt.ShadyCSS===void 0||bt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,No=Symbol(),cs=new WeakMap;let Fo=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==No)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(zo&&t===void 0){const o=e!==void 0&&e.length===1;o&&(t=cs.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&cs.set(e,t))}return t}toString(){return this.cssText}};const Tr=s=>new Fo(typeof s=="string"?s:s+"",void 0,No),C=(s,...t)=>{const e=s.length===1?s[0]:t.reduce((o,i,r)=>o+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+s[r+1],s[0]);return new Fo(e,s,No)},Mr=(s,t)=>{zo?s.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{const o=document.createElement("style"),i=bt.litNonce;i!==void 0&&o.setAttribute("nonce",i),o.textContent=e.cssText,s.appendChild(o)})},us=zo?s=>s:s=>s instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return Tr(e)})(s):s;/**
13
+ */const bt=window,zo=bt.ShadowRoot&&(bt.ShadyCSS===void 0||bt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,No=Symbol(),as=new WeakMap;let Fo=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==No)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(zo&&t===void 0){const o=e!==void 0&&e.length===1;o&&(t=as.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&as.set(e,t))}return t}toString(){return this.cssText}};const Pr=s=>new Fo(typeof s=="string"?s:s+"",void 0,No),C=(s,...t)=>{const e=s.length===1?s[0]:t.reduce((o,i,r)=>o+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+s[r+1],s[0]);return new Fo(e,s,No)},Dr=(s,t)=>{zo?s.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{const o=document.createElement("style"),i=bt.litNonce;i!==void 0&&o.setAttribute("nonce",i),o.textContent=e.cssText,s.appendChild(o)})},ls=zo?s=>s:s=>s instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return Pr(e)})(s):s;/**
14
14
  * @license
15
15
  * Copyright 2017 Google LLC
16
16
  * SPDX-License-Identifier: BSD-3-Clause
17
- */var Ut;const St=window,ds=St.trustedTypes,Or=ds?ds.emptyScript:"",hs=St.reactiveElementPolyfillSupport,ho={toAttribute(s,t){switch(t){case Boolean:s=s?Or:null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,t){let e=s;switch(t){case Boolean:e=s!==null;break;case Number:e=s===null?null:Number(s);break;case Object:case Array:try{e=JSON.parse(s)}catch(o){e=null}}return e}},ti=(s,t)=>t!==s&&(t==t||s==s),Wt={attribute:!0,type:String,converter:ho,reflect:!1,hasChanged:ti},po="finalized";let Ie=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var e;this.finalize(),((e=this.h)!==null&&e!==void 0?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,o)=>{const i=this._$Ep(o,e);i!==void 0&&(this._$Ev.set(i,o),t.push(i))}),t}static createProperty(t,e=Wt){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const o=typeof t=="symbol"?Symbol():"__"+t,i=this.getPropertyDescriptor(t,o,e);i!==void 0&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){return{get(){return this[e]},set(i){const r=this[t];this[e]=i,this.requestUpdate(t,r,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||Wt}static finalize(){if(this.hasOwnProperty(po))return!1;this[po]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,o=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const i of o)this.createProperty(i,e[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const i of o)e.unshift(us(i))}else t!==void 0&&e.push(us(t));return e}static _$Ep(t,e){const o=e.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(e=>e(this))}addController(t){var e,o;((e=this._$ES)!==null&&e!==void 0?e:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((o=t.hostConnected)===null||o===void 0||o.call(t))}removeController(t){var e;(e=this._$ES)===null||e===void 0||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return Mr(e,this.constructor.elementStyles),e}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(e=>{var o;return(o=e.hostConnected)===null||o===void 0?void 0:o.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var o;return(o=e.hostDisconnected)===null||o===void 0?void 0:o.call(e)})}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e,o=Wt){var i;const r=this.constructor._$Ep(t,o);if(r!==void 0&&o.reflect===!0){const n=(((i=o.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?o.converter:ho).toAttribute(e,o.type);this._$El=t,n==null?this.removeAttribute(r):this.setAttribute(r,n),this._$El=null}}_$AK(t,e){var o;const i=this.constructor,r=i._$Ev.get(t);if(r!==void 0&&this._$El!==r){const n=i.getPropertyOptions(r),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((o=n.converter)===null||o===void 0?void 0:o.fromAttribute)!==void 0?n.converter:ho;this._$El=r,this[r]=a.fromAttribute(e,n.type),this._$El=null}}requestUpdate(t,e,o){let i=!0;t!==void 0&&(((o=o||this.constructor.getPropertyOptions(t)).hasChanged||ti)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),o.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,o))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}_$Ej(){return ft(this,null,function*(){this.isUpdatePending=!0;try{yield this._$E_}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&(yield t),!this.isUpdatePending})}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((i,r)=>this[r]=i),this._$Ei=void 0);let e=!1;const o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),(t=this._$ES)===null||t===void 0||t.forEach(i=>{var r;return(r=i.hostUpdate)===null||r===void 0?void 0:r.call(i)}),this.update(o)):this._$Ek()}catch(i){throw e=!1,this._$Ek(),i}e&&this._$AE(o)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)===null||e===void 0||e.forEach(o=>{var i;return(i=o.hostUpdated)===null||i===void 0?void 0:i.call(o)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,o)=>this._$EO(o,this[o],e)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};Ie[po]=!0,Ie.elementProperties=new Map,Ie.elementStyles=[],Ie.shadowRootOptions={mode:"open"},hs==null||hs({ReactiveElement:Ie}),((Ut=St.reactiveElementVersions)!==null&&Ut!==void 0?Ut:St.reactiveElementVersions=[]).push("1.6.3");/**
17
+ */var Ut;const Ct=window,cs=Ct.trustedTypes,Tr=cs?cs.emptyScript:"",us=Ct.reactiveElementPolyfillSupport,ho={toAttribute(s,t){switch(t){case Boolean:s=s?Tr:null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,t){let e=s;switch(t){case Boolean:e=s!==null;break;case Number:e=s===null?null:Number(s);break;case Object:case Array:try{e=JSON.parse(s)}catch(o){e=null}}return e}},ei=(s,t)=>t!==s&&(t==t||s==s),Wt={attribute:!0,type:String,converter:ho,reflect:!1,hasChanged:ei},po="finalized";let Ie=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var e;this.finalize(),((e=this.h)!==null&&e!==void 0?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((e,o)=>{const i=this._$Ep(o,e);i!==void 0&&(this._$Ev.set(i,o),t.push(i))}),t}static createProperty(t,e=Wt){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const o=typeof t=="symbol"?Symbol():"__"+t,i=this.getPropertyDescriptor(t,o,e);i!==void 0&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){return{get(){return this[e]},set(i){const r=this[t];this[e]=i,this.requestUpdate(t,r,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||Wt}static finalize(){if(this.hasOwnProperty(po))return!1;this[po]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,o=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const i of o)this.createProperty(i,e[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const i of o)e.unshift(ls(i))}else t!==void 0&&e.push(ls(t));return e}static _$Ep(t,e){const o=e.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(e=>e(this))}addController(t){var e,o;((e=this._$ES)!==null&&e!==void 0?e:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((o=t.hostConnected)===null||o===void 0||o.call(t))}removeController(t){var e;(e=this._$ES)===null||e===void 0||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;const e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return Dr(e,this.constructor.elementStyles),e}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(e=>{var o;return(o=e.hostConnected)===null||o===void 0?void 0:o.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var o;return(o=e.hostDisconnected)===null||o===void 0?void 0:o.call(e)})}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e,o=Wt){var i;const r=this.constructor._$Ep(t,o);if(r!==void 0&&o.reflect===!0){const n=(((i=o.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?o.converter:ho).toAttribute(e,o.type);this._$El=t,n==null?this.removeAttribute(r):this.setAttribute(r,n),this._$El=null}}_$AK(t,e){var o;const i=this.constructor,r=i._$Ev.get(t);if(r!==void 0&&this._$El!==r){const n=i.getPropertyOptions(r),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((o=n.converter)===null||o===void 0?void 0:o.fromAttribute)!==void 0?n.converter:ho;this._$El=r,this[r]=a.fromAttribute(e,n.type),this._$El=null}}requestUpdate(t,e,o){let i=!0;t!==void 0&&(((o=o||this.constructor.getPropertyOptions(t)).hasChanged||ei)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),o.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,o))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}_$Ej(){return ft(this,null,function*(){this.isUpdatePending=!0;try{yield this._$E_}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&(yield t),!this.isUpdatePending})}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((i,r)=>this[r]=i),this._$Ei=void 0);let e=!1;const o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),(t=this._$ES)===null||t===void 0||t.forEach(i=>{var r;return(r=i.hostUpdate)===null||r===void 0?void 0:r.call(i)}),this.update(o)):this._$Ek()}catch(i){throw e=!1,this._$Ek(),i}e&&this._$AE(o)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)===null||e===void 0||e.forEach(o=>{var i;return(i=o.hostUpdated)===null||i===void 0?void 0:i.call(o)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,o)=>this._$EO(o,this[o],e)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};Ie[po]=!0,Ie.elementProperties=new Map,Ie.elementStyles=[],Ie.shadowRootOptions={mode:"open"},us==null||us({ReactiveElement:Ie}),((Ut=Ct.reactiveElementVersions)!==null&&Ut!==void 0?Ut:Ct.reactiveElementVersions=[]).push("1.6.3");/**
18
18
  * @license
19
19
  * Copyright 2017 Google LLC
20
20
  * SPDX-License-Identifier: BSD-3-Clause
21
- */var qt;const Ct=window,Le=Ct.trustedTypes,ps=Le?Le.createPolicy("lit-html",{createHTML:s=>s}):void 0,mo="$lit$",_e=`lit$${(Math.random()+"").slice(9)}$`,oi="?"+_e,Ir=`<${oi}>`,ke=document,Xe=()=>ke.createComment(""),Ze=s=>s===null||typeof s!="object"&&typeof s!="function",si=Array.isArray,zr=s=>si(s)||typeof(s==null?void 0:s[Symbol.iterator])=="function",Kt=`[
22
- \f\r]`,Ye=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ms=/-->/g,fs=/>/g,we=RegExp(`>|${Kt}(?:([^\\s"'>=/]+)(${Kt}*=${Kt}*(?:[^
23
- \f\r"'\`<>=]|("|')|))|$)`,"g"),_s=/'/g,gs=/"/g,ii=/^(?:script|style|textarea|title)$/i,$e=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),ys=new WeakMap,Ee=ke.createTreeWalker(ke,129,null,!1);function ri(s,t){if(!Array.isArray(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return ps!==void 0?ps.createHTML(t):t}const Nr=(s,t)=>{const e=s.length-1,o=[];let i,r=t===2?"<svg>":"",n=Ye;for(let a=0;a<e;a++){const l=s[a];let c,d,h=-1,p=0;for(;p<l.length&&(n.lastIndex=p,d=n.exec(l),d!==null);)p=n.lastIndex,n===Ye?d[1]==="!--"?n=ms:d[1]!==void 0?n=fs:d[2]!==void 0?(ii.test(d[2])&&(i=RegExp("</"+d[2],"g")),n=we):d[3]!==void 0&&(n=we):n===we?d[0]===">"?(n=i!=null?i:Ye,h=-1):d[1]===void 0?h=-2:(h=n.lastIndex-d[2].length,c=d[1],n=d[3]===void 0?we:d[3]==='"'?gs:_s):n===gs||n===_s?n=we:n===ms||n===fs?n=Ye:(n=we,i=void 0);const m=n===we&&s[a+1].startsWith("/>")?" ":"";r+=n===Ye?l+Ir:h>=0?(o.push(c),l.slice(0,h)+mo+l.slice(h)+_e+m):l+_e+(h===-2?(o.push(void 0),a):m)}return[ri(s,r+(s[e]||"<?>")+(t===2?"</svg>":"")),o]};class Qe{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[c,d]=Nr(t,e);if(this.el=Qe.createElement(c,o),Ee.currentNode=this.el.content,e===2){const h=this.el.content,p=h.firstChild;p.remove(),h.append(...p.childNodes)}for(;(i=Ee.nextNode())!==null&&l.length<a;){if(i.nodeType===1){if(i.hasAttributes()){const h=[];for(const p of i.getAttributeNames())if(p.endsWith(mo)||p.startsWith(_e)){const m=d[n++];if(h.push(p),m!==void 0){const v=i.getAttribute(m.toLowerCase()+mo).split(_e),P=/([.?@])?(.*)/.exec(m);l.push({type:1,index:r,name:P[2],strings:v,ctor:P[1]==="."?Lr:P[1]==="?"?Rr:P[1]==="@"?Br:Ot})}else l.push({type:6,index:r})}for(const p of h)i.removeAttribute(p)}if(ii.test(i.tagName)){const h=i.textContent.split(_e),p=h.length-1;if(p>0){i.textContent=Le?Le.emptyScript:"";for(let m=0;m<p;m++)i.append(h[m],Xe()),Ee.nextNode(),l.push({type:2,index:++r});i.append(h[p],Xe())}}}else if(i.nodeType===8)if(i.data===oi)l.push({type:2,index:r});else{let h=-1;for(;(h=i.data.indexOf(_e,h+1))!==-1;)l.push({type:7,index:r}),h+=_e.length-1}r++}}static createElement(t,e){const o=ke.createElement("template");return o.innerHTML=t,o}}function Re(s,t,e=s,o){var i,r,n,a;if(t===$e)return t;let l=o!==void 0?(i=e._$Co)===null||i===void 0?void 0:i[o]:e._$Cl;const c=Ze(t)?void 0:t._$litDirective$;return(l==null?void 0:l.constructor)!==c&&((r=l==null?void 0:l._$AO)===null||r===void 0||r.call(l,!1),c===void 0?l=void 0:(l=new c(s),l._$AT(s,e,o)),o!==void 0?((n=(a=e)._$Co)!==null&&n!==void 0?n:a._$Co=[])[o]=l:e._$Cl=l),l!==void 0&&(t=Re(s,l._$AS(s,t.values),l,o)),t}class Fr{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 e;const{el:{content:o},parts:i}=this._$AD,r=((e=t==null?void 0:t.creationScope)!==null&&e!==void 0?e:ke).importNode(o,!0);Ee.currentNode=r;let n=Ee.nextNode(),a=0,l=0,c=i[0];for(;c!==void 0;){if(a===c.index){let d;c.type===2?d=new lt(n,n.nextSibling,this,t):c.type===1?d=new c.ctor(n,c.name,c.strings,this,t):c.type===6&&(d=new Hr(n,this,t)),this._$AV.push(d),c=i[++l]}a!==(c==null?void 0:c.index)&&(n=Ee.nextNode(),a++)}return Ee.currentNode=ke,r}v(t){let e=0;for(const o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}class lt{constructor(t,e,o,i){var r;this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cp=(r=i==null?void 0:i.isConnected)===null||r===void 0||r}get _$AU(){var t,e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$Cp}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=Re(this,t,e),Ze(t)?t===U||t==null||t===""?(this._$AH!==U&&this._$AR(),this._$AH=U):t!==this._$AH&&t!==$e&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):zr(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==U&&Ze(this._$AH)?this._$AA.nextSibling.data=t:this.$(ke.createTextNode(t)),this._$AH=t}g(t){var e;const{values:o,_$litType$:i}=t,r=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=Qe.createElement(ri(i.h,i.h[0]),this.options)),i);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===r)this._$AH.v(o);else{const n=new Fr(r,this),a=n.u(this.options);n.v(o),this.$(a),this._$AH=n}}_$AC(t){let e=ys.get(t.strings);return e===void 0&&ys.set(t.strings,e=new Qe(t)),e}T(t){si(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new lt(this.k(Xe()),this.k(Xe()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var o;for((o=this._$AP)===null||o===void 0||o.call(this,!1,!0,e);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this._$Cp=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}}class Ot{constructor(t,e,o,i,r){this.type=1,this._$AH=U,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=U}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(r===void 0)t=Re(this,t,e,0),n=!Ze(t)||t!==this._$AH&&t!==$e,n&&(this._$AH=t);else{const a=t;let l,c;for(t=r[0],l=0;l<r.length-1;l++)c=Re(this,a[o+l],e,l),c===$e&&(c=this._$AH[l]),n||(n=!Ze(c)||c!==this._$AH[l]),c===U?t=U:t!==U&&(t+=(c!=null?c:"")+r[l+1]),this._$AH[l]=c}n&&!i&&this.j(t)}j(t){t===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}}class Lr extends Ot{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===U?void 0:t}}const $r=Le?Le.emptyScript:"";class Rr extends Ot{constructor(){super(...arguments),this.type=4}j(t){t&&t!==U?this.element.setAttribute(this.name,$r):this.element.removeAttribute(this.name)}}class Br extends Ot{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){var o;if((t=(o=Re(this,t,e,0))!==null&&o!==void 0?o:U)===$e)return;const i=this._$AH,r=t===U&&i!==U||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==U&&(i===U||r);r&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,o;typeof this._$AH=="function"?this._$AH.call((o=(e=this.options)===null||e===void 0?void 0:e.host)!==null&&o!==void 0?o:this.element,t):this._$AH.handleEvent(t)}}class Hr{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){Re(this,t)}}const vs=Ct.litHtmlPolyfillSupport;vs==null||vs(Qe,lt),((qt=Ct.litHtmlVersions)!==null&&qt!==void 0?qt:Ct.litHtmlVersions=[]).push("2.8.0");const jr=(s,t,e)=>{var o,i;const r=(o=e==null?void 0:e.renderBefore)!==null&&o!==void 0?o:t;let n=r._$litPart$;if(n===void 0){const a=(i=e==null?void 0:e.renderBefore)!==null&&i!==void 0?i:null;r._$litPart$=n=new lt(t.insertBefore(Xe(),a),a,void 0,e!=null?e:{})}return n._$AI(s),n};/**
21
+ */var qt;const At=window,Le=At.trustedTypes,ds=Le?Le.createPolicy("lit-html",{createHTML:s=>s}):void 0,mo="$lit$",_e=`lit$${(Math.random()+"").slice(9)}$`,ti="?"+_e,Mr=`<${ti}>`,ke=document,Xe=()=>ke.createComment(""),Ze=s=>s===null||typeof s!="object"&&typeof s!="function",oi=Array.isArray,Or=s=>oi(s)||typeof(s==null?void 0:s[Symbol.iterator])=="function",Kt=`[
22
+ \f\r]`,Ye=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,hs=/-->/g,ps=/>/g,we=RegExp(`>|${Kt}(?:([^\\s"'>=/]+)(${Kt}*=${Kt}*(?:[^
23
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ms=/'/g,fs=/"/g,si=/^(?:script|style|textarea|title)$/i,$e=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),_s=new WeakMap,Ee=ke.createTreeWalker(ke,129,null,!1);function ii(s,t){if(!Array.isArray(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return ds!==void 0?ds.createHTML(t):t}const Ir=(s,t)=>{const e=s.length-1,o=[];let i,r=t===2?"<svg>":"",n=Ye;for(let a=0;a<e;a++){const l=s[a];let c,d,h=-1,p=0;for(;p<l.length&&(n.lastIndex=p,d=n.exec(l),d!==null);)p=n.lastIndex,n===Ye?d[1]==="!--"?n=hs:d[1]!==void 0?n=ps:d[2]!==void 0?(si.test(d[2])&&(i=RegExp("</"+d[2],"g")),n=we):d[3]!==void 0&&(n=we):n===we?d[0]===">"?(n=i!=null?i:Ye,h=-1):d[1]===void 0?h=-2:(h=n.lastIndex-d[2].length,c=d[1],n=d[3]===void 0?we:d[3]==='"'?fs:ms):n===fs||n===ms?n=we:n===hs||n===ps?n=Ye:(n=we,i=void 0);const m=n===we&&s[a+1].startsWith("/>")?" ":"";r+=n===Ye?l+Mr:h>=0?(o.push(c),l.slice(0,h)+mo+l.slice(h)+_e+m):l+_e+(h===-2?(o.push(void 0),a):m)}return[ii(s,r+(s[e]||"<?>")+(t===2?"</svg>":"")),o]};class Qe{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[c,d]=Ir(t,e);if(this.el=Qe.createElement(c,o),Ee.currentNode=this.el.content,e===2){const h=this.el.content,p=h.firstChild;p.remove(),h.append(...p.childNodes)}for(;(i=Ee.nextNode())!==null&&l.length<a;){if(i.nodeType===1){if(i.hasAttributes()){const h=[];for(const p of i.getAttributeNames())if(p.endsWith(mo)||p.startsWith(_e)){const m=d[n++];if(h.push(p),m!==void 0){const v=i.getAttribute(m.toLowerCase()+mo).split(_e),P=/([.?@])?(.*)/.exec(m);l.push({type:1,index:r,name:P[2],strings:v,ctor:P[1]==="."?Nr:P[1]==="?"?Lr:P[1]==="@"?$r:It})}else l.push({type:6,index:r})}for(const p of h)i.removeAttribute(p)}if(si.test(i.tagName)){const h=i.textContent.split(_e),p=h.length-1;if(p>0){i.textContent=Le?Le.emptyScript:"";for(let m=0;m<p;m++)i.append(h[m],Xe()),Ee.nextNode(),l.push({type:2,index:++r});i.append(h[p],Xe())}}}else if(i.nodeType===8)if(i.data===ti)l.push({type:2,index:r});else{let h=-1;for(;(h=i.data.indexOf(_e,h+1))!==-1;)l.push({type:7,index:r}),h+=_e.length-1}r++}}static createElement(t,e){const o=ke.createElement("template");return o.innerHTML=t,o}}function Re(s,t,e=s,o){var i,r,n,a;if(t===$e)return t;let l=o!==void 0?(i=e._$Co)===null||i===void 0?void 0:i[o]:e._$Cl;const c=Ze(t)?void 0:t._$litDirective$;return(l==null?void 0:l.constructor)!==c&&((r=l==null?void 0:l._$AO)===null||r===void 0||r.call(l,!1),c===void 0?l=void 0:(l=new c(s),l._$AT(s,e,o)),o!==void 0?((n=(a=e)._$Co)!==null&&n!==void 0?n:a._$Co=[])[o]=l:e._$Cl=l),l!==void 0&&(t=Re(s,l._$AS(s,t.values),l,o)),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 e;const{el:{content:o},parts:i}=this._$AD,r=((e=t==null?void 0:t.creationScope)!==null&&e!==void 0?e:ke).importNode(o,!0);Ee.currentNode=r;let n=Ee.nextNode(),a=0,l=0,c=i[0];for(;c!==void 0;){if(a===c.index){let d;c.type===2?d=new lt(n,n.nextSibling,this,t):c.type===1?d=new c.ctor(n,c.name,c.strings,this,t):c.type===6&&(d=new Rr(n,this,t)),this._$AV.push(d),c=i[++l]}a!==(c==null?void 0:c.index)&&(n=Ee.nextNode(),a++)}return Ee.currentNode=ke,r}v(t){let e=0;for(const o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}class lt{constructor(t,e,o,i){var r;this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cp=(r=i==null?void 0:i.isConnected)===null||r===void 0||r}get _$AU(){var t,e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$Cp}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=Re(this,t,e),Ze(t)?t===U||t==null||t===""?(this._$AH!==U&&this._$AR(),this._$AH=U):t!==this._$AH&&t!==$e&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Or(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==U&&Ze(this._$AH)?this._$AA.nextSibling.data=t:this.$(ke.createTextNode(t)),this._$AH=t}g(t){var e;const{values:o,_$litType$:i}=t,r=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=Qe.createElement(ii(i.h,i.h[0]),this.options)),i);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===r)this._$AH.v(o);else{const n=new zr(r,this),a=n.u(this.options);n.v(o),this.$(a),this._$AH=n}}_$AC(t){let e=_s.get(t.strings);return e===void 0&&_s.set(t.strings,e=new Qe(t)),e}T(t){oi(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new lt(this.k(Xe()),this.k(Xe()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var o;for((o=this._$AP)===null||o===void 0||o.call(this,!1,!0,e);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this._$Cp=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}}class It{constructor(t,e,o,i,r){this.type=1,this._$AH=U,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=U}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(r===void 0)t=Re(this,t,e,0),n=!Ze(t)||t!==this._$AH&&t!==$e,n&&(this._$AH=t);else{const a=t;let l,c;for(t=r[0],l=0;l<r.length-1;l++)c=Re(this,a[o+l],e,l),c===$e&&(c=this._$AH[l]),n||(n=!Ze(c)||c!==this._$AH[l]),c===U?t=U:t!==U&&(t+=(c!=null?c:"")+r[l+1]),this._$AH[l]=c}n&&!i&&this.j(t)}j(t){t===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}}class Nr extends It{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===U?void 0:t}}const Fr=Le?Le.emptyScript:"";class Lr extends It{constructor(){super(...arguments),this.type=4}j(t){t&&t!==U?this.element.setAttribute(this.name,Fr):this.element.removeAttribute(this.name)}}class $r extends It{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){var o;if((t=(o=Re(this,t,e,0))!==null&&o!==void 0?o:U)===$e)return;const i=this._$AH,r=t===U&&i!==U||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==U&&(i===U||r);r&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,o;typeof this._$AH=="function"?this._$AH.call((o=(e=this.options)===null||e===void 0?void 0:e.host)!==null&&o!==void 0?o:this.element,t):this._$AH.handleEvent(t)}}class Rr{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){Re(this,t)}}const gs=At.litHtmlPolyfillSupport;gs==null||gs(Qe,lt),((qt=At.litHtmlVersions)!==null&&qt!==void 0?qt:At.litHtmlVersions=[]).push("2.8.0");const Br=(s,t,e)=>{var o,i;const r=(o=e==null?void 0:e.renderBefore)!==null&&o!==void 0?o:t;let n=r._$litPart$;if(n===void 0){const a=(i=e==null?void 0:e.renderBefore)!==null&&i!==void 0?i:null;r._$litPart$=n=new lt(t.insertBefore(Xe(),a),a,void 0,e!=null?e:{})}return n._$AI(s),n};/**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */var Gt,Jt;class xt extends Ie{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const o=super.createRenderRoot();return(t=(e=this.renderOptions).renderBefore)!==null&&t!==void 0||(e.renderBefore=o.firstChild),o}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=jr(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return $e}}xt.finalized=!0,xt._$litElement$=!0,(Gt=globalThis.litElementHydrateSupport)===null||Gt===void 0||Gt.call(globalThis,{LitElement:xt});const bs=globalThis.litElementPolyfillSupport;bs==null||bs({LitElement:xt});((Jt=globalThis.litElementVersions)!==null&&Jt!==void 0?Jt:globalThis.litElementVersions=[]).push("3.3.3");/**
27
+ */var Gt,Jt;class xt extends Ie{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const o=super.createRenderRoot();return(t=(e=this.renderOptions).renderBefore)!==null&&t!==void 0||(e.renderBefore=o.firstChild),o}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Br(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return $e}}xt.finalized=!0,xt._$litElement$=!0,(Gt=globalThis.litElementHydrateSupport)===null||Gt===void 0||Gt.call(globalThis,{LitElement:xt});const ys=globalThis.litElementPolyfillSupport;ys==null||ys({LitElement:xt});((Jt=globalThis.litElementVersions)!==null&&Jt!==void 0?Jt:globalThis.litElementVersions=[]).push("3.3.3");/**
28
28
  * @license
29
29
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
30
30
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
31
- */const Yr=s=>class extends s{static get properties(){return{_theme:{type:String,readOnly:!0}}}static get observedAttributes(){return[...super.observedAttributes,"theme"]}attributeChangedCallback(e,o,i){super.attributeChangedCallback(e,o,i),e==="theme"&&this._set_theme(i)}};/**
31
+ */const Hr=s=>class extends s{static get properties(){return{_theme:{type:String,readOnly:!0}}}static get observedAttributes(){return[...super.observedAttributes,"theme"]}attributeChangedCallback(e,o,i){super.attributeChangedCallback(e,o,i),e==="theme"&&this._set_theme(i)}};/**
32
32
  * @license
33
33
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
34
34
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
35
- */const ni=[];function ai(s){return s&&Object.prototype.hasOwnProperty.call(s,"__themes")}function Vr(s){return ai(customElements.get(s))}function Ur(s=[]){return[s].flat(1/0).filter(t=>t instanceof Fo?!0:(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1))}function R(s,t,e={}){s&&Vr(s)&&console.warn(`The custom element definition for "${s}"
35
+ */const ri=[];function ni(s){return s&&Object.prototype.hasOwnProperty.call(s,"__themes")}function jr(s){return ni(customElements.get(s))}function Yr(s=[]){return[s].flat(1/0).filter(t=>t instanceof Fo?!0:(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1))}function R(s,t,e={}){s&&jr(s)&&console.warn(`The custom element definition for "${s}"
36
36
  was finalized before a style module was registered.
37
37
  Make sure to add component specific style modules before
38
- importing the corresponding custom element.`),t=Ur(t),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(s,t,e):ni.push({themeFor:s,styles:t,include:e.include,moduleId:e.moduleId})}function fo(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():ni}function Wr(s,t){return(s||"").split(" ").some(e=>new RegExp(`^${e.split("*").join(".*")}$`,"u").test(t))}function qr(s=""){let t=0;return s.startsWith("lumo-")||s.startsWith("material-")?t=1:s.startsWith("vaadin-")&&(t=2),t}function li(s){const t=[];return s.include&&[].concat(s.include).forEach(e=>{const o=fo().find(i=>i.moduleId===e);o?t.push(...li(o),...o.styles):console.warn(`Included moduleId ${e} not found in style registry`)},s.styles),t}function Kr(s,t){const e=document.createElement("style");e.innerHTML=s.map(o=>o.cssText).join(`
39
- `),t.content.appendChild(e)}function Gr(s){const t=`${s}-default-theme`,e=fo().filter(o=>o.moduleId!==t&&Wr(o.themeFor,s)).map(o=>Yt(jt({},o),{styles:[...li(o),...o.styles],includePriority:qr(o.moduleId)})).sort((o,i)=>i.includePriority-o.includePriority);return e.length>0?e:fo().filter(o=>o.moduleId===t)}const Pe=s=>class extends Yr(s){static finalize(){if(super.finalize(),this.elementStyles)return;const e=this.prototype._template;!e||ai(this)||Kr(this.getStylesForThis(),e)}static finalizeStyles(e){const o=this.getStylesForThis();return e?[...super.finalizeStyles(e),...o]:o}static getStylesForThis(){const e=Object.getPrototypeOf(this.prototype),o=(e?e.constructor.__themes:[])||[];this.__themes=[...o,...Gr(this.is)];const i=this.__themes.flatMap(r=>r.styles);return i.filter((r,n)=>n===i.lastIndexOf(r))}};/**
38
+ importing the corresponding custom element.`),t=Yr(t),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(s,t,e):ri.push({themeFor:s,styles:t,include:e.include,moduleId:e.moduleId})}function fo(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():ri}function Vr(s,t){return(s||"").split(" ").some(e=>new RegExp(`^${e.split("*").join(".*")}$`,"u").test(t))}function Ur(s=""){let t=0;return s.startsWith("lumo-")||s.startsWith("material-")?t=1:s.startsWith("vaadin-")&&(t=2),t}function ai(s){const t=[];return s.include&&[].concat(s.include).forEach(e=>{const o=fo().find(i=>i.moduleId===e);o?t.push(...ai(o),...o.styles):console.warn(`Included moduleId ${e} not found in style registry`)},s.styles),t}function Wr(s,t){const e=document.createElement("style");e.innerHTML=s.map(o=>o.cssText).join(`
39
+ `),t.content.appendChild(e)}function qr(s){const t=`${s}-default-theme`,e=fo().filter(o=>o.moduleId!==t&&Vr(o.themeFor,s)).map(o=>Vt(Yt({},o),{styles:[...ai(o),...o.styles],includePriority:Ur(o.moduleId)})).sort((o,i)=>i.includePriority-o.includePriority);return e.length>0?e:fo().filter(o=>o.moduleId===t)}const Pe=s=>class extends Hr(s){static finalize(){if(super.finalize(),this.elementStyles)return;const e=this.prototype._template;!e||ni(this)||Wr(this.getStylesForThis(),e)}static finalizeStyles(e){const o=this.getStylesForThis();return e?[...super.finalizeStyles(e),...o]:o}static getStylesForThis(){const e=Object.getPrototypeOf(this.prototype),o=(e?e.constructor.__themes:[])||[];this.__themes=[...o,...qr(this.is)];const i=this.__themes.flatMap(r=>r.styles);return i.filter((r,n)=>n===i.lastIndexOf(r))}};/**
40
40
  * @license
41
41
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
42
42
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
43
43
  */const Lo=(s,...t)=>{const e=document.createElement("style");e.id=s,e.textContent=t.map(o=>o.toString()).join(`
44
- `).replace(":host","html"),document.head.insertAdjacentElement("afterbegin",e)},It=(s,...t)=>{Lo(`lumo-${s}`,t)};/**
44
+ `).replace(":host","html"),document.head.insertAdjacentElement("afterbegin",e)},zt=(s,...t)=>{Lo(`lumo-${s}`,t)};/**
45
45
  * @license
46
46
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
47
47
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
48
- */const Jr=C`
48
+ */const Kr=C`
49
49
  :host {
50
50
  /* Base (background) */
51
51
  --lumo-base-color: #fff;
@@ -130,7 +130,7 @@
130
130
  --lumo-disabled-text-color: GrayText;
131
131
  }
132
132
  }
133
- `;It("color-props",Jr);const Xr=C`
133
+ `;zt("color-props",Kr);const Gr=C`
134
134
  [theme~='dark'] {
135
135
  /* Base (background) */
136
136
  --lumo-base-color: hsl(214, 35%, 21%);
@@ -245,11 +245,11 @@
245
245
  background-color: var(--lumo-contrast-10pct);
246
246
  border-radius: var(--lumo-border-radius-m);
247
247
  }
248
- `;R("",Xr,{moduleId:"lumo-color"});/**
248
+ `;R("",Gr,{moduleId:"lumo-color"});/**
249
249
  * @license
250
250
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
251
251
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
252
- */const Zr=C`
252
+ */const Jr=C`
253
253
  :host {
254
254
  --lumo-size-xs: 1.625rem;
255
255
  --lumo-size-s: 1.875rem;
@@ -264,11 +264,11 @@
264
264
  /* For backwards compatibility */
265
265
  --lumo-icon-size: var(--lumo-icon-size-m);
266
266
  }
267
- `;It("sizing-props",Zr);/**
267
+ `;zt("sizing-props",Jr);/**
268
268
  * @license
269
269
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
270
270
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
271
- */const Qr=C`
271
+ */const Xr=C`
272
272
  :host {
273
273
  /* Border radius */
274
274
  --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
@@ -291,11 +291,11 @@
291
291
  --vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
292
292
  --vaadin-input-field-border-radius: var(--lumo-border-radius-m);
293
293
  }
294
- `;It("style-props",Qr);/**
294
+ `;zt("style-props",Xr);/**
295
295
  * @license
296
296
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
297
297
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
298
- */const en=C`
298
+ */const Zr=C`
299
299
  :host {
300
300
  /* prettier-ignore */
301
301
  --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
@@ -315,7 +315,7 @@
315
315
  --lumo-line-height-s: 1.375;
316
316
  --lumo-line-height-m: 1.625;
317
317
  }
318
- `,tn=C`
318
+ `,Qr=C`
319
319
  body,
320
320
  :host {
321
321
  font-family: var(--lumo-font-family);
@@ -407,7 +407,7 @@
407
407
  border-left: none;
408
408
  border-right: 2px solid var(--lumo-contrast-30pct);
409
409
  }
410
- `;R("",tn,{moduleId:"lumo-typography"});It("typography-props",en);R("vaadin-input-container",C`
410
+ `;R("",Qr,{moduleId:"lumo-typography"});zt("typography-props",Zr);R("vaadin-input-container",C`
411
411
  :host {
412
412
  background-color: var(--lumo-contrast-10pct);
413
413
  padding: 0 calc(0.375em + var(--_input-container-radius) / 4 - 1px);
@@ -590,7 +590,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
590
590
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
591
591
  Code distributed by Google as part of the polymer project is also
592
592
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
593
- */let on=/(url\()([^)]*)(\))/g,sn=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/,_t,te;function Je(s,t){if(s&&sn.test(s)||s==="//")return s;if(_t===void 0){_t=!1;try{const e=new URL("b","http://a");e.pathname="c%20d",_t=e.href==="http://a/c%20d"}catch(e){}}if(t||(t=document.baseURI||window.location.href),_t)try{return new URL(s,t).href}catch(e){return s}return te||(te=document.implementation.createHTMLDocument("temp"),te.base=te.createElement("base"),te.head.appendChild(te.base),te.anchor=te.createElement("a"),te.body.appendChild(te.anchor)),te.base.href=t,te.anchor.href=s,te.anchor.href||s}function $o(s,t){return s.replace(on,function(e,o,i,r){return o+"'"+Je(i.replace(/["']/g,""),t)+"'"+r})}function Ro(s){return s.substring(0,s.lastIndexOf("/")+1)}/**
593
+ */let en=/(url\()([^)]*)(\))/g,tn=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/,_t,te;function Je(s,t){if(s&&tn.test(s)||s==="//")return s;if(_t===void 0){_t=!1;try{const e=new URL("b","http://a");e.pathname="c%20d",_t=e.href==="http://a/c%20d"}catch(e){}}if(t||(t=document.baseURI||window.location.href),_t)try{return new URL(s,t).href}catch(e){return s}return te||(te=document.implementation.createHTMLDocument("temp"),te.base=te.createElement("base"),te.head.appendChild(te.base),te.anchor=te.createElement("a"),te.body.appendChild(te.anchor)),te.base.href=t,te.anchor.href=s,te.anchor.href||s}function $o(s,t){return s.replace(en,function(e,o,i,r){return o+"'"+Je(i.replace(/["']/g,""),t)+"'"+r})}function Ro(s){return s.substring(0,s.lastIndexOf("/")+1)}/**
594
594
  @license
595
595
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
596
596
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -598,7 +598,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
598
598
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
599
599
  Code distributed by Google as part of the polymer project is also
600
600
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
601
- */const ci=!window.ShadyDOM||!window.ShadyDOM.inUse;!window.ShadyCSS||window.ShadyCSS.nativeCss;const rn=ci&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const s=new CSSStyleSheet;s.replaceSync("");const t=document.createElement("div");return t.attachShadow({mode:"open"}),t.shadowRoot.adoptedStyleSheets=[s],t.shadowRoot.adoptedStyleSheets[0]===s}catch(s){return!1}})();let nn=window.Polymer&&window.Polymer.rootPath||Ro(document.baseURI||window.location.href),At=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;window.Polymer&&window.Polymer.setPassiveTouchGestures;let kt=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,an=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,ui=window.Polymer&&window.Polymer.legacyOptimizations||!1,di=window.Polymer&&window.Polymer.legacyWarnings||!1,ln=window.Polymer&&window.Polymer.syncInitialRender||!1,_o=window.Polymer&&window.Polymer.legacyUndefined||!1,cn=window.Polymer&&window.Polymer.orderedComputed||!1,xs=window.Polymer&&window.Polymer.removeNestedTemplates||!1,un=window.Polymer&&window.Polymer.fastDomIf||!1,ws=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1;window.Polymer&&window.Polymer.legacyNoObservedAttributes;let dn=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1;/**
601
+ */const li=!window.ShadyDOM||!window.ShadyDOM.inUse;!window.ShadyCSS||window.ShadyCSS.nativeCss;const on=li&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const s=new CSSStyleSheet;s.replaceSync("");const t=document.createElement("div");return t.attachShadow({mode:"open"}),t.shadowRoot.adoptedStyleSheets=[s],t.shadowRoot.adoptedStyleSheets[0]===s}catch(s){return!1}})();let sn=window.Polymer&&window.Polymer.rootPath||Ro(document.baseURI||window.location.href),kt=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;window.Polymer&&window.Polymer.setPassiveTouchGestures;let Pt=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,rn=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,ci=window.Polymer&&window.Polymer.legacyOptimizations||!1,ui=window.Polymer&&window.Polymer.legacyWarnings||!1,nn=window.Polymer&&window.Polymer.syncInitialRender||!1,_o=window.Polymer&&window.Polymer.legacyUndefined||!1,an=window.Polymer&&window.Polymer.orderedComputed||!1,vs=window.Polymer&&window.Polymer.removeNestedTemplates||!1,ln=window.Polymer&&window.Polymer.fastDomIf||!1,bs=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1;window.Polymer&&window.Polymer.legacyNoObservedAttributes;let cn=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1;/**
602
602
  @license
603
603
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
604
604
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -606,7 +606,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
606
606
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
607
607
  Code distributed by Google as part of the polymer project is also
608
608
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
609
- */let hn=0;const Y=function(s){let t=s.__mixinApplications;t||(t=new WeakMap,s.__mixinApplications=t);let e=hn++;function o(i){let r=i.__mixinSet;if(r&&r[e])return i;let n=t,a=n.get(i);if(!a){a=s(i),n.set(i,a);let l=Object.create(a.__mixinSet||r||null);l[e]=!0,a.__mixinSet=l}return a}return o};/**
609
+ */let un=0;const Y=function(s){let t=s.__mixinApplications;t||(t=new WeakMap,s.__mixinApplications=t);let e=un++;function o(i){let r=i.__mixinSet;if(r&&r[e])return i;let n=t,a=n.get(i);if(!a){a=s(i),n.set(i,a);let l=Object.create(a.__mixinSet||r||null);l[e]=!0,a.__mixinSet=l}return a}return o};/**
610
610
  @license
611
611
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
612
612
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -614,7 +614,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
614
614
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
615
615
  Code distributed by Google as part of the polymer project is also
616
616
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
617
- */let Bo={},hi={};function Es(s,t){Bo[s]=hi[s.toLowerCase()]=t}function Ss(s){return Bo[s]||hi[s.toLowerCase()]}function pn(s){s.querySelector("style")&&console.warn("dom-module %s has style outside template",s.id)}class et extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,e){if(t){let o=Ss(t);return o&&e?o.querySelector(e):o}return null}attributeChangedCallback(t,e,o,i){e!==o&&this.register()}get assetpath(){if(!this.__assetpath){const t=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=Je(this.getAttribute("assetpath")||"",t.baseURI);this.__assetpath=Ro(e)}return this.__assetpath}register(t){if(t=t||this.id,t){if(kt&&Ss(t)!==void 0)throw Es(t,null),new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);this.id=t,Es(t,this),pn(this)}}}et.prototype.modules=Bo;customElements.define("dom-module",et);/**
617
+ */let Bo={},di={};function xs(s,t){Bo[s]=di[s.toLowerCase()]=t}function ws(s){return Bo[s]||di[s.toLowerCase()]}function dn(s){s.querySelector("style")&&console.warn("dom-module %s has style outside template",s.id)}class et extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,e){if(t){let o=ws(t);return o&&e?o.querySelector(e):o}return null}attributeChangedCallback(t,e,o,i){e!==o&&this.register()}get assetpath(){if(!this.__assetpath){const t=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,e=Je(this.getAttribute("assetpath")||"",t.baseURI);this.__assetpath=Ro(e)}return this.__assetpath}register(t){if(t=t||this.id,t){if(Pt&&ws(t)!==void 0)throw xs(t,null),new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);this.id=t,xs(t,this),dn(this)}}}et.prototype.modules=Bo;customElements.define("dom-module",et);/**
618
618
  @license
619
619
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
620
620
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -622,7 +622,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
622
622
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
623
623
  Code distributed by Google as part of the polymer project is also
624
624
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
625
- */const mn="link[rel=import][type~=css]",fn="include",Cs="shady-unscoped";function pi(s){return et.import(s)}function As(s){let t=s.body?s.body:s;const e=$o(t.textContent,s.baseURI),o=document.createElement("style");return o.textContent=e,o}function _n(s){const t=s.trim().split(/\s+/),e=[];for(let o=0;o<t.length;o++)e.push(...gn(t[o]));return e}function gn(s){const t=pi(s);if(!t)return console.warn("Could not find style data in module named",s),[];if(t._styles===void 0){const e=[];e.push(...fi(t));const o=t.querySelector("template");o&&e.push(...mi(o,t.assetpath)),t._styles=e}return t._styles}function mi(s,t){if(!s._styles){const e=[],o=s.content.querySelectorAll("style");for(let i=0;i<o.length;i++){let r=o[i],n=r.getAttribute(fn);n&&e.push(..._n(n).filter(function(a,l,c){return c.indexOf(a)===l})),t&&(r.textContent=$o(r.textContent,t)),e.push(r)}s._styles=e}return s._styles}function yn(s){let t=pi(s);return t?fi(t):[]}function fi(s){const t=[],e=s.querySelectorAll(mn);for(let o=0;o<e.length;o++){let i=e[o];if(i.import){const r=i.import,n=i.hasAttribute(Cs);if(n&&!r._unscopedStyle){const a=As(r);a.setAttribute(Cs,""),r._unscopedStyle=a}else r._style||(r._style=As(r));t.push(n?r._unscopedStyle:r._style)}}return t}/**
625
+ */const hn="link[rel=import][type~=css]",pn="include",Es="shady-unscoped";function hi(s){return et.import(s)}function Ss(s){let t=s.body?s.body:s;const e=$o(t.textContent,s.baseURI),o=document.createElement("style");return o.textContent=e,o}function mn(s){const t=s.trim().split(/\s+/),e=[];for(let o=0;o<t.length;o++)e.push(...fn(t[o]));return e}function fn(s){const t=hi(s);if(!t)return console.warn("Could not find style data in module named",s),[];if(t._styles===void 0){const e=[];e.push(...mi(t));const o=t.querySelector("template");o&&e.push(...pi(o,t.assetpath)),t._styles=e}return t._styles}function pi(s,t){if(!s._styles){const e=[],o=s.content.querySelectorAll("style");for(let i=0;i<o.length;i++){let r=o[i],n=r.getAttribute(pn);n&&e.push(...mn(n).filter(function(a,l,c){return c.indexOf(a)===l})),t&&(r.textContent=$o(r.textContent,t)),e.push(r)}s._styles=e}return s._styles}function _n(s){let t=hi(s);return t?mi(t):[]}function mi(s){const t=[],e=s.querySelectorAll(hn);for(let o=0;o<e.length;o++){let i=e[o];if(i.import){const r=i.import,n=i.hasAttribute(Es);if(n&&!r._unscopedStyle){const a=Ss(r);a.setAttribute(Es,""),r._unscopedStyle=a}else r._style||(r._style=Ss(r));t.push(n?r._unscopedStyle:r._style)}}return t}/**
626
626
  @license
627
627
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
628
628
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -638,7 +638,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
638
638
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
639
639
  Code distributed by Google as part of the polymer project is also
640
640
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
641
- */function go(s){return s.indexOf(".")>=0}function De(s){let t=s.indexOf(".");return t===-1?s:s.slice(0,t)}function _i(s,t){return s.indexOf(t+".")===0}function tt(s,t){return t.indexOf(s+".")===0}function ot(s,t,e){return t+e.slice(s.length)}function vn(s,t){return s===t||_i(s,t)||tt(s,t)}function Ke(s){if(Array.isArray(s)){let t=[];for(let e=0;e<s.length;e++){let o=s[e].toString().split(".");for(let i=0;i<o.length;i++)t.push(o[i])}return t.join(".")}else return s}function gi(s){return Array.isArray(s)?Ke(s).split("."):s.toString().split(".")}function Z(s,t,e){let o=s,i=gi(t);for(let r=0;r<i.length;r++){if(!o)return;let n=i[r];o=o[n]}return e&&(e.path=i.join(".")),o}function ks(s,t,e){let o=s,i=gi(t),r=i[i.length-1];if(i.length>1){for(let n=0;n<i.length-1;n++){let a=i[n];if(o=o[a],!o)return}o[r]=e}else o[t]=e;return i.join(".")}/**
641
+ */function go(s){return s.indexOf(".")>=0}function De(s){let t=s.indexOf(".");return t===-1?s:s.slice(0,t)}function fi(s,t){return s.indexOf(t+".")===0}function tt(s,t){return t.indexOf(s+".")===0}function ot(s,t,e){return t+e.slice(s.length)}function gn(s,t){return s===t||fi(s,t)||tt(s,t)}function Ke(s){if(Array.isArray(s)){let t=[];for(let e=0;e<s.length;e++){let o=s[e].toString().split(".");for(let i=0;i<o.length;i++)t.push(o[i])}return t.join(".")}else return s}function _i(s){return Array.isArray(s)?Ke(s).split("."):s.toString().split(".")}function Z(s,t,e){let o=s,i=_i(t);for(let r=0;r<i.length;r++){if(!o)return;let n=i[r];o=o[n]}return e&&(e.path=i.join(".")),o}function Cs(s,t,e){let o=s,i=_i(t),r=i[i.length-1];if(i.length>1){for(let n=0;n<i.length-1;n++){let a=i[n];if(o=o[a],!o)return}o[r]=e}else o[t]=e;return i.join(".")}/**
642
642
  @license
643
643
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
644
644
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -646,7 +646,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
646
646
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
647
647
  Code distributed by Google as part of the polymer project is also
648
648
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
649
- */const Pt={},bn=/-[a-z]/g,xn=/([A-Z])/g;function yi(s){return Pt[s]||(Pt[s]=s.indexOf("-")<0?s:s.replace(bn,t=>t[1].toUpperCase()))}function zt(s){return Pt[s]||(Pt[s]=s.replace(xn,"-$1").toLowerCase())}/**
649
+ */const Dt={},yn=/-[a-z]/g,vn=/([A-Z])/g;function gi(s){return Dt[s]||(Dt[s]=s.indexOf("-")<0?s:s.replace(yn,t=>t[1].toUpperCase()))}function Nt(s){return Dt[s]||(Dt[s]=s.replace(vn,"-$1").toLowerCase())}/**
650
650
  @license
651
651
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
652
652
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -654,7 +654,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
654
654
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
655
655
  Code distributed by Google as part of the polymer project is also
656
656
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
657
- */let wn=0,vi=0,ze=[],En=0,yo=!1,bi=document.createTextNode("");new window.MutationObserver(Sn).observe(bi,{characterData:!0});function Sn(){yo=!1;const s=ze.length;for(let t=0;t<s;t++){let e=ze[t];if(e)try{e()}catch(o){setTimeout(()=>{throw o})}}ze.splice(0,s),vi+=s}const Cn={after(s){return{run(t){return window.setTimeout(t,s)},cancel(t){window.clearTimeout(t)}}},run(s,t){return window.setTimeout(s,t)},cancel(s){window.clearTimeout(s)}},xi={run(s){return yo||(yo=!0,bi.textContent=En++),ze.push(s),wn++},cancel(s){const t=s-vi;if(t>=0){if(!ze[t])throw new Error("invalid async handle: "+s);ze[t]=null}}};/**
657
+ */let bn=0,yi=0,ze=[],xn=0,yo=!1,vi=document.createTextNode("");new window.MutationObserver(wn).observe(vi,{characterData:!0});function wn(){yo=!1;const s=ze.length;for(let t=0;t<s;t++){let e=ze[t];if(e)try{e()}catch(o){setTimeout(()=>{throw o})}}ze.splice(0,s),yi+=s}const En={after(s){return{run(t){return window.setTimeout(t,s)},cancel(t){window.clearTimeout(t)}}},run(s,t){return window.setTimeout(s,t)},cancel(s){window.clearTimeout(s)}},bi={run(s){return yo||(yo=!0,vi.textContent=xn++),ze.push(s),bn++},cancel(s){const t=s-yi;if(t>=0){if(!ze[t])throw new Error("invalid async handle: "+s);ze[t]=null}}};/**
658
658
  @license
659
659
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
660
660
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -662,7 +662,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
662
662
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
663
663
  Code distributed by Google as part of the polymer project is also
664
664
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
665
- */const An=xi,wi=Y(s=>{class t extends s{static createProperties(o){const i=this.prototype;for(let r in o)r in i||i._createPropertyAccessor(r)}static attributeNameForProperty(o){return o.toLowerCase()}static typeForProperty(o){}_createPropertyAccessor(o,i){this._addPropertyToAttributeMap(o),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[o]||(this.__dataHasAccessor[o]=!0,this._definePropertyAccessor(o,i))}_addPropertyToAttributeMap(o){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let i=this.__dataAttributes[o];return i||(i=this.constructor.attributeNameForProperty(o),this.__dataAttributes[i]=o),i}_definePropertyAccessor(o,i){Object.defineProperty(this,o,{get(){return this.__data[o]},set:i?function(){}:function(r){this._setPendingProperty(o,r,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let o in this.__dataHasAccessor)this.hasOwnProperty(o)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[o]=this[o],delete this[o])}_initializeInstanceProperties(o){Object.assign(this,o)}_setProperty(o,i){this._setPendingProperty(o,i)&&this._invalidateProperties()}_getProperty(o){return this.__data[o]}_setPendingProperty(o,i,r){let n=this.__data[o],a=this._shouldPropertyChange(o,i,n);return a&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(o in this.__dataOld)&&(this.__dataOld[o]=n),this.__data[o]=i,this.__dataPending[o]=i),a}_isPropertyPending(o){return!!(this.__dataPending&&this.__dataPending.hasOwnProperty(o))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,An.run(()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())}))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const o=this.__data,i=this.__dataPending,r=this.__dataOld;this._shouldPropertiesChange(o,i,r)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(o,i,r)),this.__dataCounter--}_shouldPropertiesChange(o,i,r){return!!i}_propertiesChanged(o,i,r){}_shouldPropertyChange(o,i,r){return r!==i&&(r===r||i===i)}attributeChangedCallback(o,i,r,n){i!==r&&this._attributeToProperty(o,r),super.attributeChangedCallback&&super.attributeChangedCallback(o,i,r,n)}_attributeToProperty(o,i,r){if(!this.__serializing){const n=this.__dataAttributes,a=n&&n[o]||o;this[a]=this._deserializeValue(i,r||this.constructor.typeForProperty(a))}}_propertyToAttribute(o,i,r){this.__serializing=!0,r=arguments.length<3?this[o]:r,this._valueToNodeAttribute(this,r,i||this.constructor.attributeNameForProperty(o)),this.__serializing=!1}_valueToNodeAttribute(o,i,r){const n=this._serializeValue(i);(r==="class"||r==="name"||r==="slot")&&(o=q(o)),n===void 0?o.removeAttribute(r):o.setAttribute(r,n===""&&window.trustedTypes?window.trustedTypes.emptyScript:n)}_serializeValue(o){switch(typeof o){case"boolean":return o?"":void 0;default:return o!=null?o.toString():void 0}}_deserializeValue(o,i){switch(i){case Boolean:return o!==null;case Number:return Number(o);default:return o}}}return t});/**
665
+ */const Sn=bi,xi=Y(s=>{class t extends s{static createProperties(o){const i=this.prototype;for(let r in o)r in i||i._createPropertyAccessor(r)}static attributeNameForProperty(o){return o.toLowerCase()}static typeForProperty(o){}_createPropertyAccessor(o,i){this._addPropertyToAttributeMap(o),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[o]||(this.__dataHasAccessor[o]=!0,this._definePropertyAccessor(o,i))}_addPropertyToAttributeMap(o){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let i=this.__dataAttributes[o];return i||(i=this.constructor.attributeNameForProperty(o),this.__dataAttributes[i]=o),i}_definePropertyAccessor(o,i){Object.defineProperty(this,o,{get(){return this.__data[o]},set:i?function(){}:function(r){this._setPendingProperty(o,r,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let o in this.__dataHasAccessor)this.hasOwnProperty(o)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[o]=this[o],delete this[o])}_initializeInstanceProperties(o){Object.assign(this,o)}_setProperty(o,i){this._setPendingProperty(o,i)&&this._invalidateProperties()}_getProperty(o){return this.__data[o]}_setPendingProperty(o,i,r){let n=this.__data[o],a=this._shouldPropertyChange(o,i,n);return a&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(o in this.__dataOld)&&(this.__dataOld[o]=n),this.__data[o]=i,this.__dataPending[o]=i),a}_isPropertyPending(o){return!!(this.__dataPending&&this.__dataPending.hasOwnProperty(o))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,Sn.run(()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())}))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const o=this.__data,i=this.__dataPending,r=this.__dataOld;this._shouldPropertiesChange(o,i,r)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(o,i,r)),this.__dataCounter--}_shouldPropertiesChange(o,i,r){return!!i}_propertiesChanged(o,i,r){}_shouldPropertyChange(o,i,r){return r!==i&&(r===r||i===i)}attributeChangedCallback(o,i,r,n){i!==r&&this._attributeToProperty(o,r),super.attributeChangedCallback&&super.attributeChangedCallback(o,i,r,n)}_attributeToProperty(o,i,r){if(!this.__serializing){const n=this.__dataAttributes,a=n&&n[o]||o;this[a]=this._deserializeValue(i,r||this.constructor.typeForProperty(a))}}_propertyToAttribute(o,i,r){this.__serializing=!0,r=arguments.length<3?this[o]:r,this._valueToNodeAttribute(this,r,i||this.constructor.attributeNameForProperty(o)),this.__serializing=!1}_valueToNodeAttribute(o,i,r){const n=this._serializeValue(i);(r==="class"||r==="name"||r==="slot")&&(o=q(o)),n===void 0?o.removeAttribute(r):o.setAttribute(r,n===""&&window.trustedTypes?window.trustedTypes.emptyScript:n)}_serializeValue(o){switch(typeof o){case"boolean":return o?"":void 0;default:return o!=null?o.toString():void 0}}_deserializeValue(o,i){switch(i){case Boolean:return o!==null;case Number:return Number(o);default:return o}}}return t});/**
666
666
  @license
667
667
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
668
668
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -670,7 +670,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
670
670
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
671
671
  Code distributed by Google as part of the polymer project is also
672
672
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
673
- */const Ei={};let gt=HTMLElement.prototype;for(;gt;){let s=Object.getOwnPropertyNames(gt);for(let t=0;t<s.length;t++)Ei[s[t]]=!0;gt=Object.getPrototypeOf(gt)}const kn=window.trustedTypes?s=>trustedTypes.isHTML(s)||trustedTypes.isScript(s)||trustedTypes.isScriptURL(s):()=>!1;function Pn(s,t){if(!Ei[t]){let e=s[t];e!==void 0&&(s.__data?s._setPendingProperty(t,e):(s.__dataProto?s.hasOwnProperty(JSCompiler_renameProperty("__dataProto",s))||(s.__dataProto=Object.create(s.__dataProto)):s.__dataProto={},s.__dataProto[t]=e))}}const Dn=Y(s=>{const t=wi(s);class e extends t{static createPropertiesForAttributes(){let i=this.observedAttributes;for(let r=0;r<i.length;r++)this.prototype._createPropertyAccessor(yi(i[r]))}static attributeNameForProperty(i){return zt(i)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(i){for(let r in i)this._setProperty(r,i[r])}_ensureAttribute(i,r){const n=this;n.hasAttribute(i)||this._valueToNodeAttribute(n,r,i)}_serializeValue(i){switch(typeof i){case"object":if(i instanceof Date)return i.toString();if(i){if(kn(i))return i;try{return JSON.stringify(i)}catch(r){return""}}default:return super._serializeValue(i)}}_deserializeValue(i,r){let n;switch(r){case Object:try{n=JSON.parse(i)}catch(a){n=i}break;case Array:try{n=JSON.parse(i)}catch(a){n=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${i}`)}break;case Date:n=isNaN(i)?String(i):Number(i),n=new Date(n);break;default:n=super._deserializeValue(i,r);break}return n}_definePropertyAccessor(i,r){Pn(this,i),super._definePropertyAccessor(i,r)}_hasAccessor(i){return this.__dataHasAccessor&&this.__dataHasAccessor[i]}_isPropertyPending(i){return!!(this.__dataPending&&i in this.__dataPending)}}return e});/**
673
+ */const wi={};let gt=HTMLElement.prototype;for(;gt;){let s=Object.getOwnPropertyNames(gt);for(let t=0;t<s.length;t++)wi[s[t]]=!0;gt=Object.getPrototypeOf(gt)}const Cn=window.trustedTypes?s=>trustedTypes.isHTML(s)||trustedTypes.isScript(s)||trustedTypes.isScriptURL(s):()=>!1;function An(s,t){if(!wi[t]){let e=s[t];e!==void 0&&(s.__data?s._setPendingProperty(t,e):(s.__dataProto?s.hasOwnProperty(JSCompiler_renameProperty("__dataProto",s))||(s.__dataProto=Object.create(s.__dataProto)):s.__dataProto={},s.__dataProto[t]=e))}}const kn=Y(s=>{const t=xi(s);class e extends t{static createPropertiesForAttributes(){let i=this.observedAttributes;for(let r=0;r<i.length;r++)this.prototype._createPropertyAccessor(gi(i[r]))}static attributeNameForProperty(i){return Nt(i)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(i){for(let r in i)this._setProperty(r,i[r])}_ensureAttribute(i,r){const n=this;n.hasAttribute(i)||this._valueToNodeAttribute(n,r,i)}_serializeValue(i){switch(typeof i){case"object":if(i instanceof Date)return i.toString();if(i){if(Cn(i))return i;try{return JSON.stringify(i)}catch(r){return""}}default:return super._serializeValue(i)}}_deserializeValue(i,r){let n;switch(r){case Object:try{n=JSON.parse(i)}catch(a){n=i}break;case Array:try{n=JSON.parse(i)}catch(a){n=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${i}`)}break;case Date:n=isNaN(i)?String(i):Number(i),n=new Date(n);break;default:n=super._deserializeValue(i,r);break}return n}_definePropertyAccessor(i,r){An(this,i),super._definePropertyAccessor(i,r)}_hasAccessor(i){return this.__dataHasAccessor&&this.__dataHasAccessor[i]}_isPropertyPending(i){return!!(this.__dataPending&&i in this.__dataPending)}}return e});/**
674
674
  @license
675
675
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
676
676
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -678,7 +678,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
678
678
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
679
679
  Code distributed by Google as part of the polymer project is also
680
680
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
681
- */const Tn={"dom-if":!0,"dom-repeat":!0};let Ps=!1,Ds=!1;function Mn(){if(!Ps){Ps=!0;const s=document.createElement("textarea");s.placeholder="a",Ds=s.placeholder===s.textContent}return Ds}function On(s){Mn()&&s.localName==="textarea"&&s.placeholder&&s.placeholder===s.textContent&&(s.textContent=null)}const In=(()=>{const s=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(t,e,o)=>{const i=e.getAttribute(o);if(s&&o.startsWith("on-")){t.setAttribute(o,s.createScript(i,o));return}t.setAttribute(o,i)}})();function zn(s){let t=s.getAttribute("is");if(t&&Tn[t]){let e=s;for(e.removeAttribute("is"),s=e.ownerDocument.createElement(t),e.parentNode.replaceChild(s,e),s.appendChild(e);e.attributes.length;){const{name:o}=e.attributes[0];In(s,e,o),e.removeAttribute(o)}}return s}function Si(s,t){let e=t.parentInfo&&Si(s,t.parentInfo);if(e){for(let o=e.firstChild,i=0;o;o=o.nextSibling)if(t.parentIndex===i++)return o}else return s}function Nn(s,t,e,o){o.id&&(t[o.id]=e)}function Fn(s,t,e){if(e.events&&e.events.length)for(let o=0,i=e.events,r;o<i.length&&(r=i[o]);o++)s._addMethodEventListenerToNode(t,r.name,r.value,s)}function Ln(s,t,e,o){e.templateInfo&&(t._templateInfo=e.templateInfo,t._parentTemplateInfo=o)}function $n(s,t,e){return s=s._methodHost||s,function(i){s[e]?s[e](i,i.detail):console.warn("listener method `"+e+"` not defined")}}const Rn=Y(s=>{class t extends s{static _parseTemplate(o,i){if(!o._templateInfo){let r=o._templateInfo={};r.nodeInfoList=[],r.nestedTemplate=!!i,r.stripWhiteSpace=i&&i.stripWhiteSpace||o.hasAttribute&&o.hasAttribute("strip-whitespace"),this._parseTemplateContent(o,r,{parent:null})}return o._templateInfo}static _parseTemplateContent(o,i,r){return this._parseTemplateNode(o.content,i,r)}static _parseTemplateNode(o,i,r){let n=!1,a=o;return a.localName=="template"&&!a.hasAttribute("preserve-content")?n=this._parseTemplateNestedTemplate(a,i,r)||n:a.localName==="slot"&&(i.hasInsertionPoint=!0),On(a),a.firstChild&&this._parseTemplateChildNodes(a,i,r),a.hasAttributes&&a.hasAttributes()&&(n=this._parseTemplateNodeAttributes(a,i,r)||n),n||r.noted}static _parseTemplateChildNodes(o,i,r){if(!(o.localName==="script"||o.localName==="style"))for(let n=o.firstChild,a=0,l;n;n=l){if(n.localName=="template"&&(n=zn(n)),l=n.nextSibling,n.nodeType===Node.TEXT_NODE){let d=l;for(;d&&d.nodeType===Node.TEXT_NODE;)n.textContent+=d.textContent,l=d.nextSibling,o.removeChild(d),d=l;if(i.stripWhiteSpace&&!n.textContent.trim()){o.removeChild(n);continue}}let c={parentIndex:a,parentInfo:r};this._parseTemplateNode(n,i,c)&&(c.infoIndex=i.nodeInfoList.push(c)-1),n.parentNode&&a++}}static _parseTemplateNestedTemplate(o,i,r){let n=o,a=this._parseTemplate(n,i);return(a.content=n.content.ownerDocument.createDocumentFragment()).appendChild(n.content),r.templateInfo=a,!0}static _parseTemplateNodeAttributes(o,i,r){let n=!1,a=Array.from(o.attributes);for(let l=a.length-1,c;c=a[l];l--)n=this._parseTemplateNodeAttribute(o,i,r,c.name,c.value)||n;return n}static _parseTemplateNodeAttribute(o,i,r,n,a){return n.slice(0,3)==="on-"?(o.removeAttribute(n),r.events=r.events||[],r.events.push({name:n.slice(3),value:a}),!0):n==="id"?(r.id=a,!0):!1}static _contentForTemplate(o){let i=o._templateInfo;return i&&i.content||o.content}_stampTemplate(o,i){o&&!o.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(o),i=i||this.constructor._parseTemplate(o);let r=i.nodeInfoList,n=i.content||o.content,a=document.importNode(n,!0);a.__noInsertionPoint=!i.hasInsertionPoint;let l=a.nodeList=new Array(r.length);a.$={};for(let c=0,d=r.length,h;c<d&&(h=r[c]);c++){let p=l[c]=Si(a,h);Nn(this,a.$,p,h),Ln(this,p,h,i),Fn(this,p,h)}return a=a,a}_addMethodEventListenerToNode(o,i,r,n){n=n||o;let a=$n(n,i,r);return this._addEventListenerToNode(o,i,a),a}_addEventListenerToNode(o,i,r){o.addEventListener(i,r)}_removeEventListenerFromNode(o,i,r){o.removeEventListener(i,r)}}return t});/**
681
+ */const Pn={"dom-if":!0,"dom-repeat":!0};let As=!1,ks=!1;function Dn(){if(!As){As=!0;const s=document.createElement("textarea");s.placeholder="a",ks=s.placeholder===s.textContent}return ks}function Tn(s){Dn()&&s.localName==="textarea"&&s.placeholder&&s.placeholder===s.textContent&&(s.textContent=null)}const Mn=(()=>{const s=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(t,e,o)=>{const i=e.getAttribute(o);if(s&&o.startsWith("on-")){t.setAttribute(o,s.createScript(i,o));return}t.setAttribute(o,i)}})();function On(s){let t=s.getAttribute("is");if(t&&Pn[t]){let e=s;for(e.removeAttribute("is"),s=e.ownerDocument.createElement(t),e.parentNode.replaceChild(s,e),s.appendChild(e);e.attributes.length;){const{name:o}=e.attributes[0];Mn(s,e,o),e.removeAttribute(o)}}return s}function Ei(s,t){let e=t.parentInfo&&Ei(s,t.parentInfo);if(e){for(let o=e.firstChild,i=0;o;o=o.nextSibling)if(t.parentIndex===i++)return o}else return s}function In(s,t,e,o){o.id&&(t[o.id]=e)}function zn(s,t,e){if(e.events&&e.events.length)for(let o=0,i=e.events,r;o<i.length&&(r=i[o]);o++)s._addMethodEventListenerToNode(t,r.name,r.value,s)}function Nn(s,t,e,o){e.templateInfo&&(t._templateInfo=e.templateInfo,t._parentTemplateInfo=o)}function Fn(s,t,e){return s=s._methodHost||s,function(i){s[e]?s[e](i,i.detail):console.warn("listener method `"+e+"` not defined")}}const Ln=Y(s=>{class t extends s{static _parseTemplate(o,i){if(!o._templateInfo){let r=o._templateInfo={};r.nodeInfoList=[],r.nestedTemplate=!!i,r.stripWhiteSpace=i&&i.stripWhiteSpace||o.hasAttribute&&o.hasAttribute("strip-whitespace"),this._parseTemplateContent(o,r,{parent:null})}return o._templateInfo}static _parseTemplateContent(o,i,r){return this._parseTemplateNode(o.content,i,r)}static _parseTemplateNode(o,i,r){let n=!1,a=o;return a.localName=="template"&&!a.hasAttribute("preserve-content")?n=this._parseTemplateNestedTemplate(a,i,r)||n:a.localName==="slot"&&(i.hasInsertionPoint=!0),Tn(a),a.firstChild&&this._parseTemplateChildNodes(a,i,r),a.hasAttributes&&a.hasAttributes()&&(n=this._parseTemplateNodeAttributes(a,i,r)||n),n||r.noted}static _parseTemplateChildNodes(o,i,r){if(!(o.localName==="script"||o.localName==="style"))for(let n=o.firstChild,a=0,l;n;n=l){if(n.localName=="template"&&(n=On(n)),l=n.nextSibling,n.nodeType===Node.TEXT_NODE){let d=l;for(;d&&d.nodeType===Node.TEXT_NODE;)n.textContent+=d.textContent,l=d.nextSibling,o.removeChild(d),d=l;if(i.stripWhiteSpace&&!n.textContent.trim()){o.removeChild(n);continue}}let c={parentIndex:a,parentInfo:r};this._parseTemplateNode(n,i,c)&&(c.infoIndex=i.nodeInfoList.push(c)-1),n.parentNode&&a++}}static _parseTemplateNestedTemplate(o,i,r){let n=o,a=this._parseTemplate(n,i);return(a.content=n.content.ownerDocument.createDocumentFragment()).appendChild(n.content),r.templateInfo=a,!0}static _parseTemplateNodeAttributes(o,i,r){let n=!1,a=Array.from(o.attributes);for(let l=a.length-1,c;c=a[l];l--)n=this._parseTemplateNodeAttribute(o,i,r,c.name,c.value)||n;return n}static _parseTemplateNodeAttribute(o,i,r,n,a){return n.slice(0,3)==="on-"?(o.removeAttribute(n),r.events=r.events||[],r.events.push({name:n.slice(3),value:a}),!0):n==="id"?(r.id=a,!0):!1}static _contentForTemplate(o){let i=o._templateInfo;return i&&i.content||o.content}_stampTemplate(o,i){o&&!o.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(o),i=i||this.constructor._parseTemplate(o);let r=i.nodeInfoList,n=i.content||o.content,a=document.importNode(n,!0);a.__noInsertionPoint=!i.hasInsertionPoint;let l=a.nodeList=new Array(r.length);a.$={};for(let c=0,d=r.length,h;c<d&&(h=r[c]);c++){let p=l[c]=Ei(a,h);In(this,a.$,p,h),Nn(this,p,h,i),zn(this,p,h)}return a=a,a}_addMethodEventListenerToNode(o,i,r,n){n=n||o;let a=Fn(n,i,r);return this._addEventListenerToNode(o,i,a),a}_addEventListenerToNode(o,i,r){o.addEventListener(i,r)}_removeEventListenerFromNode(o,i,r){o.removeEventListener(i,r)}}return t});/**
682
682
  * @fileoverview
683
683
  * @suppress {checkPrototypalTypes}
684
684
  * @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -688,7 +688,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
688
688
  * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
689
689
  * Google as part of the polymer project is also subject to an additional IP
690
690
  * rights grant found at http://polymer.github.io/PATENTS.txt
691
- */let st=0;const it=[],T={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},Ci="__computeInfo",Bn=/[A-Z]/;function Xt(s,t,e){let o=s[t];if(!o)o=s[t]={};else if(!s.hasOwnProperty(t)&&(o=s[t]=Object.create(s[t]),e))for(let i in o){let r=o[i],n=o[i]=Array(r.length);for(let a=0;a<r.length;a++)n[a]=r[a]}return o}function Ge(s,t,e,o,i,r){if(t){let n=!1;const a=st++;for(let l in e){let c=i?De(l):l,d=t[c];if(d)for(let h=0,p=d.length,m;h<p&&(m=d[h]);h++)(!m.info||m.info.lastRun!==a)&&(!i||Ho(l,m.trigger))&&(m.info&&(m.info.lastRun=a),m.fn(s,l,e,o,m.info,i,r),n=!0)}return n}return!1}function Hn(s,t,e,o,i,r,n,a){let l=!1,c=n?De(o):o,d=t[c];if(d)for(let h=0,p=d.length,m;h<p&&(m=d[h]);h++)(!m.info||m.info.lastRun!==e)&&(!n||Ho(o,m.trigger))&&(m.info&&(m.info.lastRun=e),m.fn(s,o,i,r,m.info,n,a),l=!0);return l}function Ho(s,t){if(t){let e=t.name;return e==s||!!(t.structured&&_i(e,s))||!!(t.wildcard&&tt(e,s))}else return!0}function Ts(s,t,e,o,i){let r=typeof i.method=="string"?s[i.method]:i.method,n=i.property;r?r.call(s,s.__data[n],o[n]):i.dynamicFn||console.warn("observer method `"+i.method+"` not defined")}function jn(s,t,e,o,i){let r=s[T.NOTIFY],n,a=st++;for(let c in t)t[c]&&(r&&Hn(s,r,a,c,e,o,i)||i&&Yn(s,c,e))&&(n=!0);let l;n&&(l=s.__dataHost)&&l._invalidateProperties&&l._invalidateProperties()}function Yn(s,t,e){let o=De(t);if(o!==t){let i=zt(o)+"-changed";return Ai(s,i,e[t],t),!0}return!1}function Ai(s,t,e,o){let i={value:e,queueProperty:!0};o&&(i.path=o),q(s).dispatchEvent(new CustomEvent(t,{detail:i}))}function Vn(s,t,e,o,i,r){let a=(r?De(t):t)!=t?t:null,l=a?Z(s,a):s.__data[t];a&&l===void 0&&(l=e[t]),Ai(s,i.eventName,l,a)}function Un(s,t,e,o,i){let r,n=s.detail,a=n&&n.path;a?(o=ot(e,o,a),r=n&&n.value):r=s.currentTarget[e],r=i?!r:r,(!t[T.READ_ONLY]||!t[T.READ_ONLY][o])&&t._setPendingPropertyOrPath(o,r,!0,!!a)&&(!n||!n.queueProperty)&&t._invalidateProperties()}function Wn(s,t,e,o,i){let r=s.__data[t];At&&(r=At(r,i.attrName,"attribute",s)),s._propertyToAttribute(t,i.attrName,r)}function qn(s,t,e,o){let i=s[T.COMPUTE];if(i)if(cn){st++;const r=Gn(s),n=[];for(let l in t)Ms(l,i,n,r,o);let a;for(;a=n.shift();)ki(s,"",t,e,a)&&Ms(a.methodInfo,i,n,r,o);Object.assign(e,s.__dataOld),Object.assign(t,s.__dataPending),s.__dataPending=null}else{let r=t;for(;Ge(s,i,r,e,o);)Object.assign(e,s.__dataOld),Object.assign(t,s.__dataPending),r=s.__dataPending,s.__dataPending=null}}const Kn=(s,t,e)=>{let o=0,i=t.length-1,r=-1;for(;o<=i;){const n=o+i>>1,a=e.get(t[n].methodInfo)-e.get(s.methodInfo);if(a<0)o=n+1;else if(a>0)i=n-1;else{r=n;break}}r<0&&(r=i+1),t.splice(r,0,s)},Ms=(s,t,e,o,i)=>{const r=i?De(s):s,n=t[r];if(n)for(let a=0;a<n.length;a++){const l=n[a];l.info.lastRun!==st&&(!i||Ho(s,l.trigger))&&(l.info.lastRun=st,Kn(l.info,e,o))}};function Gn(s){let t=s.constructor.__orderedComputedDeps;if(!t){t=new Map;const e=s[T.COMPUTE];let{counts:o,ready:i,total:r}=Jn(s),n;for(;n=i.shift();){t.set(n,t.size);const a=e[n];a&&a.forEach(l=>{const c=l.info.methodInfo;--r,--o[c]===0&&i.push(c)})}r!==0&&console.warn(`Computed graph for ${s.localName} incomplete; circular?`),s.constructor.__orderedComputedDeps=t}return t}function Jn(s){const t=s[Ci],e={},o=s[T.COMPUTE],i=[];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 o)t[n]||i.push(n);return{counts:e,ready:i,total:r}}function ki(s,t,e,o,i){let r=vo(s,t,e,o,i);if(r===it)return!1;let n=i.methodInfo;return s.__dataHasAccessor&&s.__dataHasAccessor[n]?s._setPendingProperty(n,r,!0):(s[n]=r,!1)}function Xn(s,t,e){let o=s.__dataLinkedPaths;if(o){let i;for(let r in o){let n=o[r];tt(r,t)?(i=ot(r,n,t),s._setPendingPropertyOrPath(i,e,!0,!0)):tt(n,t)&&(i=ot(n,r,t),s._setPendingPropertyOrPath(i,e,!0,!0))}}}function Zt(s,t,e,o,i,r,n){e.bindings=e.bindings||[];let a={kind:o,target:i,parts:r,literal:n,isCompound:r.length!==1};if(e.bindings.push(a),oa(a)){let{event:c,negate:d}=a.parts[0];a.listenerEvent=c||zt(i)+"-changed",a.listenerNegate=d}let l=t.nodeInfoList.length;for(let c=0;c<a.parts.length;c++){let d=a.parts[c];d.compoundIndex=c,Zn(s,t,a,d,l)}}function Zn(s,t,e,o,i){if(!o.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=o.dependencies,n={index:i,binding:e,part:o,evaluator:s};for(let a=0;a<r.length;a++){let l=r[a];typeof l=="string"&&(l=Di(l),l.wildcard=!0),s._addTemplatePropertyEffect(t,l.rootProperty,{fn:Qn,info:n,trigger:l})}}}function Qn(s,t,e,o,i,r,n){let a=n[i.index],l=i.binding,c=i.part;if(r&&c.source&&t.length>c.source.length&&l.kind=="property"&&!l.isCompound&&a.__isPropertyEffectsClient&&a.__dataHasAccessor&&a.__dataHasAccessor[l.target]){let d=e[t];t=ot(c.source,l.target,t),a._setPendingPropertyOrPath(t,d,!1,!0)&&s._enqueueClient(a)}else{let d=i.evaluator._evaluateBinding(s,c,t,e,o,r);d!==it&&ea(s,a,l,c,d)}}function ea(s,t,e,o,i){if(i=ta(t,i,e,o),At&&(i=At(i,e.target,e.kind,t)),e.kind=="attribute")s._valueToNodeAttribute(t,i,e.target);else{let r=e.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[r]?(!t[T.READ_ONLY]||!t[T.READ_ONLY][r])&&t._setPendingProperty(r,i)&&s._enqueueClient(t):s._setUnmanagedPropertyToNode(t,r,i)}}function ta(s,t,e,o){if(e.isCompound){let i=s.__dataCompoundStorage[e.target];i[o.compoundIndex]=t,t=i.join("")}return e.kind!=="attribute"&&(e.target==="textContent"||e.target==="value"&&(s.localName==="input"||s.localName==="textarea"))&&(t=t==null?"":t),t}function oa(s){return!!s.target&&s.kind!="attribute"&&s.kind!="text"&&!s.isCompound&&s.parts[0].mode==="{"}function sa(s,t){let{nodeList:e,nodeInfoList:o}=t;if(o.length)for(let i=0;i<o.length;i++){let r=o[i],n=e[i],a=r.bindings;if(a)for(let l=0;l<a.length;l++){let c=a[l];ia(n,c),ra(n,s,c)}n.__dataHost=s}}function ia(s,t){if(t.isCompound){let e=s.__dataCompoundStorage||(s.__dataCompoundStorage={}),o=t.parts,i=new Array(o.length);for(let n=0;n<o.length;n++)i[n]=o[n].literal;let r=t.target;e[r]=i,t.literal&&t.kind=="property"&&(r==="className"&&(s=q(s)),s[r]=t.literal)}}function ra(s,t,e){if(e.listenerEvent){let o=e.parts[0];s.addEventListener(e.listenerEvent,function(i){Un(i,t,e.target,o.source,o.negate)})}}function Os(s,t,e,o,i,r){r=t.static||r&&(typeof r!="object"||r[t.methodName]);let n={methodName:t.methodName,args:t.args,methodInfo:i,dynamicFn:r};for(let a=0,l;a<t.args.length&&(l=t.args[a]);a++)l.literal||s._addPropertyEffect(l.rootProperty,e,{fn:o,info:n,trigger:l});return r&&s._addPropertyEffect(t.methodName,e,{fn:o,info:n}),n}function vo(s,t,e,o,i){let r=s._methodHost||s,n=r[i.methodName];if(n){let a=s._marshalArgs(i.args,t,e);return a===it?it:n.apply(r,a)}else i.dynamicFn||console.warn("method `"+i.methodName+"` not defined")}const na=[],Pi="(?:[a-zA-Z_$][\\w.:$\\-*]*)",aa="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",la="(?:'(?:[^'\\\\]|\\\\.)*')",ca='(?:"(?:[^"\\\\]|\\\\.)*")',ua="(?:"+la+"|"+ca+")",Is="(?:("+Pi+"|"+aa+"|"+ua+")\\s*)",da="(?:"+Is+"(?:,\\s*"+Is+")*)",ha="(?:\\(\\s*(?:"+da+"?)\\)\\s*)",pa="("+Pi+"\\s*"+ha+"?)",ma="(\\[\\[|{{)\\s*",fa="(?:]]|}})",_a="(?:(!)\\s*)?",ga=ma+_a+pa+fa,zs=new RegExp(ga,"g");function Ns(s){let t="";for(let e=0;e<s.length;e++){let o=s[e].literal;t+=o||""}return t}function Qt(s){let t=s.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let o={methodName:t[1],static:!0,args:na};if(t[2].trim()){let i=t[2].replace(/\\,/g,"&comma;").split(",");return ya(i,o)}else return o}return null}function ya(s,t){return t.args=s.map(function(e){let o=Di(e);return o.literal||(t.static=!1),o},this),t}function Di(s){let t=s.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),e={name:t,value:"",literal:!1},o=t[0];switch(o==="-"&&(o=t[1]),o>="0"&&o<="9"&&(o="#"),o){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=go(t),e.structured&&(e.wildcard=t.slice(-2)==".*",e.wildcard&&(e.name=t.slice(0,-2)))),e}function Fs(s,t,e){let o=Z(s,e);return o===void 0&&(o=t[e]),o}function Ti(s,t,e,o){const i={indexSplices:o};_o&&!s._overrideLegacyUndefined&&(t.splices=i),s.notifyPath(e+".splices",i),s.notifyPath(e+".length",t.length),_o&&!s._overrideLegacyUndefined&&(i.indexSplices=[])}function Ve(s,t,e,o,i,r){Ti(s,t,e,[{index:o,addedCount:i,removed:r,object:t,type:"splice"}])}function va(s){return s[0].toUpperCase()+s.substring(1)}const jo=Y(s=>{const t=Rn(Dn(s));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 T}_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 i=Ue[Ue.length-1];i._enqueueClient(this),this.__dataHost=i}}_initializeProtoProperties(i){this.__data=Object.create(i),this.__dataPending=Object.create(i),this.__dataOld={}}_initializeInstanceProperties(i){let r=this[T.READ_ONLY];for(let n in i)(!r||!r[n])&&(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=i[n])}_addPropertyEffect(i,r,n){this._createPropertyAccessor(i,r==T.READ_ONLY);let a=Xt(this,r,!0)[i];a||(a=this[r][i]=[]),a.push(n)}_removePropertyEffect(i,r,n){let a=Xt(this,r,!0)[i],l=a.indexOf(n);l>=0&&a.splice(l,1)}_hasPropertyEffect(i,r){let n=this[r];return!!(n&&n[i])}_hasReadOnlyEffect(i){return this._hasPropertyEffect(i,T.READ_ONLY)}_hasNotifyEffect(i){return this._hasPropertyEffect(i,T.NOTIFY)}_hasReflectEffect(i){return this._hasPropertyEffect(i,T.REFLECT)}_hasComputedEffect(i){return this._hasPropertyEffect(i,T.COMPUTE)}_setPendingPropertyOrPath(i,r,n,a){if(a||De(Array.isArray(i)?i[0]:i)!==i){if(!a){let l=Z(this,i);if(i=ks(this,i,r),!i||!super._shouldPropertyChange(i,r,l))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(i,r,n))return Xn(this,i,r),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[i])return this._setPendingProperty(i,r,n);this[i]=r}return!1}_setUnmanagedPropertyToNode(i,r,n){(n!==i[r]||typeof n=="object")&&(r==="className"&&(i=q(i)),i[r]=n)}_setPendingProperty(i,r,n){let a=this.__dataHasPaths&&go(i),l=a?this.__dataTemp:this.__data;return this._shouldPropertyChange(i,r,l[i])?(this.__dataPending||(this.__dataPending={},this.__dataOld={}),i in this.__dataOld||(this.__dataOld[i]=this.__data[i]),a?this.__dataTemp[i]=r:this.__data[i]=r,this.__dataPending[i]=r,(a||this[T.NOTIFY]&&this[T.NOTIFY][i])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[i]=n),!0):!1}_setProperty(i,r){this._setPendingProperty(i,r,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(i){this.__dataPendingClients=this.__dataPendingClients||[],i!==this&&this.__dataPendingClients.push(i)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let i=this.__dataPendingClients;if(i){this.__dataPendingClients=null;for(let r=0;r<i.length;r++){let n=i[r];n.__dataEnabled?n.__dataPending&&n._flushProperties():n._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(i,r){for(let n in i)(r||!this[T.READ_ONLY]||!this[T.READ_ONLY][n])&&this._setPendingPropertyOrPath(n,i[n],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(i,r,n){let a=this.__dataHasPaths;this.__dataHasPaths=!1;let l;qn(this,r,n,a),l=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(r,n,a),this._flushClients(),Ge(this,this[T.REFLECT],r,n,a),Ge(this,this[T.OBSERVE],r,n,a),l&&jn(this,l,r,n,a),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(i,r,n){this[T.PROPAGATE]&&Ge(this,this[T.PROPAGATE],i,r,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,i,r,n)}_runEffectsForTemplate(i,r,n,a){const l=(c,d)=>{Ge(this,i.propertyEffects,c,n,d,i.nodeList);for(let h=i.firstChild;h;h=h.nextSibling)this._runEffectsForTemplate(h,c,n,d)};i.runEffects?i.runEffects(l,r,a):l(r,a)}linkPaths(i,r){i=Ke(i),r=Ke(r),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[i]=r}unlinkPaths(i){i=Ke(i),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[i]}notifySplices(i,r){let n={path:""},a=Z(this,i,n);Ti(this,a,n.path,r)}get(i,r){return Z(r||this,i)}set(i,r,n){n?ks(n,i,r):(!this[T.READ_ONLY]||!this[T.READ_ONLY][i])&&this._setPendingPropertyOrPath(i,r,!0)&&this._invalidateProperties()}push(i,...r){let n={path:""},a=Z(this,i,n),l=a.length,c=a.push(...r);return r.length&&Ve(this,a,n.path,l,r.length,[]),c}pop(i){let r={path:""},n=Z(this,i,r),a=!!n.length,l=n.pop();return a&&Ve(this,n,r.path,n.length,0,[l]),l}splice(i,r,n,...a){let l={path:""},c=Z(this,i,l);r<0?r=c.length-Math.floor(-r):r&&(r=Math.floor(r));let d;return arguments.length===2?d=c.splice(r):d=c.splice(r,n,...a),(a.length||d.length)&&Ve(this,c,l.path,r,a.length,d),d}shift(i){let r={path:""},n=Z(this,i,r),a=!!n.length,l=n.shift();return a&&Ve(this,n,r.path,0,0,[l]),l}unshift(i,...r){let n={path:""},a=Z(this,i,n),l=a.unshift(...r);return r.length&&Ve(this,a,n.path,0,r.length,[]),l}notifyPath(i,r){let n;if(arguments.length==1){let a={path:""};r=Z(this,i,a),n=a.path}else Array.isArray(i)?n=Ke(i):n=i;this._setPendingPropertyOrPath(n,r,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(i,r){this._addPropertyEffect(i,T.READ_ONLY),r&&(this["_set"+va(i)]=function(n){this._setProperty(i,n)})}_createPropertyObserver(i,r,n){let a={property:i,method:r,dynamicFn:!!n};this._addPropertyEffect(i,T.OBSERVE,{fn:Ts,info:a,trigger:{name:i}}),n&&this._addPropertyEffect(r,T.OBSERVE,{fn:Ts,info:a,trigger:{name:r}})}_createMethodObserver(i,r){let n=Qt(i);if(!n)throw new Error("Malformed observer expression '"+i+"'");Os(this,n,T.OBSERVE,vo,null,r)}_createNotifyingProperty(i){this._addPropertyEffect(i,T.NOTIFY,{fn:Vn,info:{eventName:zt(i)+"-changed",property:i}})}_createReflectedProperty(i){let r=this.constructor.attributeNameForProperty(i);r[0]==="-"?console.warn("Property "+i+" 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(i,T.REFLECT,{fn:Wn,info:{attrName:r}})}_createComputedProperty(i,r,n){let a=Qt(r);if(!a)throw new Error("Malformed computed expression '"+r+"'");const l=Os(this,a,T.COMPUTE,ki,i,n);Xt(this,Ci)[i]=l}_marshalArgs(i,r,n){const a=this.__data,l=[];for(let c=0,d=i.length;c<d;c++){let{name:h,structured:p,wildcard:m,value:v,literal:P}=i[c];if(!P)if(m){const N=tt(h,r),O=Fs(a,n,N?r:h);v={path:N?r:h,value:O,base:N?Z(a,h):O}}else v=p?Fs(a,n,h):a[h];if(_o&&!this._overrideLegacyUndefined&&v===void 0&&i.length>1)return it;l[c]=v}return l}static addPropertyEffect(i,r,n){this.prototype._addPropertyEffect(i,r,n)}static createPropertyObserver(i,r,n){this.prototype._createPropertyObserver(i,r,n)}static createMethodObserver(i,r){this.prototype._createMethodObserver(i,r)}static createNotifyingProperty(i){this.prototype._createNotifyingProperty(i)}static createReadOnlyProperty(i,r){this.prototype._createReadOnlyProperty(i,r)}static createReflectedProperty(i){this.prototype._createReflectedProperty(i)}static createComputedProperty(i,r,n){this.prototype._createComputedProperty(i,r,n)}static bindTemplate(i){return this.prototype._bindTemplate(i)}_bindTemplate(i,r){let n=this.constructor._parseTemplate(i),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=i._parentTemplateInfo||this.__templateInfo,c=l.lastChild;n.parent=l,l.lastChild=n,n.previousSibling=c,c?c.nextSibling=n:l.firstChild=n}else this.__preBoundTemplateInfo=n;return n}static _addTemplatePropertyEffect(i,r,n){let a=i.hostProps=i.hostProps||{};a[r]=!0;let l=i.propertyEffects=i.propertyEffects||{};(l[r]=l[r]||[]).push(n)}_stampTemplate(i,r){r=r||this._bindTemplate(i,!0),Ue.push(this);let n=super._stampTemplate(i,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,sa(this,r),this.__dataClientsReady&&(this._runEffectsForTemplate(r,this.__data,null,!1),this._flushClients()),n}_removeBoundDom(i){const r=i.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 c=r.childNodes;for(let d=0;d<c.length;d++){let h=c[d];q(q(h).parentNode).removeChild(h)}}static _parseTemplateNode(i,r,n){let a=t._parseTemplateNode.call(this,i,r,n);if(i.nodeType===Node.TEXT_NODE){let l=this._parseBindings(i.textContent,r);l&&(i.textContent=Ns(l)||" ",Zt(this,r,n,"text","textContent",l),a=!0)}return a}static _parseTemplateNodeAttribute(i,r,n,a,l){let c=this._parseBindings(l,r);if(c){let d=a,h="property";Bn.test(a)?h="attribute":a[a.length-1]=="$"&&(a=a.slice(0,-1),h="attribute");let p=Ns(c);return p&&h=="attribute"&&(a=="class"&&i.hasAttribute("class")&&(p+=" "+i.getAttribute(a)),i.setAttribute(a,p)),h=="attribute"&&d=="disable-upgrade$"&&i.setAttribute(a,""),i.localName==="input"&&d==="value"&&i.setAttribute(d,""),i.removeAttribute(d),h==="property"&&(a=yi(a)),Zt(this,r,n,h,a,c,p),!0}else return t._parseTemplateNodeAttribute.call(this,i,r,n,a,l)}static _parseTemplateNestedTemplate(i,r,n){let a=t._parseTemplateNestedTemplate.call(this,i,r,n);const l=i.parentNode,c=n.templateInfo,d=l.localName==="dom-if",h=l.localName==="dom-repeat";xs&&(d||h)&&(l.removeChild(i),n=n.parentInfo,n.templateInfo=c,n.noted=!0,a=!1);let p=c.hostProps;if(un&&d)p&&(r.hostProps=Object.assign(r.hostProps||{},p),xs||(n.parentInfo.noted=!0));else{let m="{";for(let v in p){let P=[{mode:m,source:v,dependencies:[v],hostProp:!0}];Zt(this,r,n,"property","_host_"+v,P)}}return a}static _parseBindings(i,r){let n=[],a=0,l;for(;(l=zs.exec(i))!==null;){l.index>a&&n.push({literal:i.slice(a,l.index)});let c=l[1][0],d=!!l[2],h=l[3].trim(),p=!1,m="",v=-1;c=="{"&&(v=h.indexOf("::"))>0&&(m=h.substring(v+2),h=h.substring(0,v),p=!0);let P=Qt(h),N=[];if(P){let{args:O,methodName:I}=P;for(let Q=0;Q<O.length;Q++){let G=O[Q];G.literal||N.push(G)}let H=r.dynamicFns;(H&&H[I]||P.static)&&(N.push(I),P.dynamicFn=!0)}else N.push(h);n.push({source:h,mode:c,negate:d,customEvent:p,signature:P,dependencies:N,event:m}),a=zs.lastIndex}if(a&&a<i.length){let c=i.substring(a);c&&n.push({literal:c})}return n.length?n:null}static _evaluateBinding(i,r,n,a,l,c){let d;return r.signature?d=vo(i,n,a,l,r.signature):n!=r.source?d=Z(i,r.source):c&&go(n)?d=Z(i,n):d=i.__data[n],r.negate&&(d=!d),d}}return e}),Ue=[];/**
691
+ */let st=0;const it=[],T={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},Si="__computeInfo",$n=/[A-Z]/;function Xt(s,t,e){let o=s[t];if(!o)o=s[t]={};else if(!s.hasOwnProperty(t)&&(o=s[t]=Object.create(s[t]),e))for(let i in o){let r=o[i],n=o[i]=Array(r.length);for(let a=0;a<r.length;a++)n[a]=r[a]}return o}function Ge(s,t,e,o,i,r){if(t){let n=!1;const a=st++;for(let l in e){let c=i?De(l):l,d=t[c];if(d)for(let h=0,p=d.length,m;h<p&&(m=d[h]);h++)(!m.info||m.info.lastRun!==a)&&(!i||Ho(l,m.trigger))&&(m.info&&(m.info.lastRun=a),m.fn(s,l,e,o,m.info,i,r),n=!0)}return n}return!1}function Rn(s,t,e,o,i,r,n,a){let l=!1,c=n?De(o):o,d=t[c];if(d)for(let h=0,p=d.length,m;h<p&&(m=d[h]);h++)(!m.info||m.info.lastRun!==e)&&(!n||Ho(o,m.trigger))&&(m.info&&(m.info.lastRun=e),m.fn(s,o,i,r,m.info,n,a),l=!0);return l}function Ho(s,t){if(t){let e=t.name;return e==s||!!(t.structured&&fi(e,s))||!!(t.wildcard&&tt(e,s))}else return!0}function Ps(s,t,e,o,i){let r=typeof i.method=="string"?s[i.method]:i.method,n=i.property;r?r.call(s,s.__data[n],o[n]):i.dynamicFn||console.warn("observer method `"+i.method+"` not defined")}function Bn(s,t,e,o,i){let r=s[T.NOTIFY],n,a=st++;for(let c in t)t[c]&&(r&&Rn(s,r,a,c,e,o,i)||i&&Hn(s,c,e))&&(n=!0);let l;n&&(l=s.__dataHost)&&l._invalidateProperties&&l._invalidateProperties()}function Hn(s,t,e){let o=De(t);if(o!==t){let i=Nt(o)+"-changed";return Ci(s,i,e[t],t),!0}return!1}function Ci(s,t,e,o){let i={value:e,queueProperty:!0};o&&(i.path=o),q(s).dispatchEvent(new CustomEvent(t,{detail:i}))}function jn(s,t,e,o,i,r){let a=(r?De(t):t)!=t?t:null,l=a?Z(s,a):s.__data[t];a&&l===void 0&&(l=e[t]),Ci(s,i.eventName,l,a)}function Yn(s,t,e,o,i){let r,n=s.detail,a=n&&n.path;a?(o=ot(e,o,a),r=n&&n.value):r=s.currentTarget[e],r=i?!r:r,(!t[T.READ_ONLY]||!t[T.READ_ONLY][o])&&t._setPendingPropertyOrPath(o,r,!0,!!a)&&(!n||!n.queueProperty)&&t._invalidateProperties()}function Vn(s,t,e,o,i){let r=s.__data[t];kt&&(r=kt(r,i.attrName,"attribute",s)),s._propertyToAttribute(t,i.attrName,r)}function Un(s,t,e,o){let i=s[T.COMPUTE];if(i)if(an){st++;const r=qn(s),n=[];for(let l in t)Ds(l,i,n,r,o);let a;for(;a=n.shift();)Ai(s,"",t,e,a)&&Ds(a.methodInfo,i,n,r,o);Object.assign(e,s.__dataOld),Object.assign(t,s.__dataPending),s.__dataPending=null}else{let r=t;for(;Ge(s,i,r,e,o);)Object.assign(e,s.__dataOld),Object.assign(t,s.__dataPending),r=s.__dataPending,s.__dataPending=null}}const Wn=(s,t,e)=>{let o=0,i=t.length-1,r=-1;for(;o<=i;){const n=o+i>>1,a=e.get(t[n].methodInfo)-e.get(s.methodInfo);if(a<0)o=n+1;else if(a>0)i=n-1;else{r=n;break}}r<0&&(r=i+1),t.splice(r,0,s)},Ds=(s,t,e,o,i)=>{const r=i?De(s):s,n=t[r];if(n)for(let a=0;a<n.length;a++){const l=n[a];l.info.lastRun!==st&&(!i||Ho(s,l.trigger))&&(l.info.lastRun=st,Wn(l.info,e,o))}};function qn(s){let t=s.constructor.__orderedComputedDeps;if(!t){t=new Map;const e=s[T.COMPUTE];let{counts:o,ready:i,total:r}=Kn(s),n;for(;n=i.shift();){t.set(n,t.size);const a=e[n];a&&a.forEach(l=>{const c=l.info.methodInfo;--r,--o[c]===0&&i.push(c)})}r!==0&&console.warn(`Computed graph for ${s.localName} incomplete; circular?`),s.constructor.__orderedComputedDeps=t}return t}function Kn(s){const t=s[Si],e={},o=s[T.COMPUTE],i=[];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 o)t[n]||i.push(n);return{counts:e,ready:i,total:r}}function Ai(s,t,e,o,i){let r=vo(s,t,e,o,i);if(r===it)return!1;let n=i.methodInfo;return s.__dataHasAccessor&&s.__dataHasAccessor[n]?s._setPendingProperty(n,r,!0):(s[n]=r,!1)}function Gn(s,t,e){let o=s.__dataLinkedPaths;if(o){let i;for(let r in o){let n=o[r];tt(r,t)?(i=ot(r,n,t),s._setPendingPropertyOrPath(i,e,!0,!0)):tt(n,t)&&(i=ot(n,r,t),s._setPendingPropertyOrPath(i,e,!0,!0))}}}function Zt(s,t,e,o,i,r,n){e.bindings=e.bindings||[];let a={kind:o,target:i,parts:r,literal:n,isCompound:r.length!==1};if(e.bindings.push(a),ea(a)){let{event:c,negate:d}=a.parts[0];a.listenerEvent=c||Nt(i)+"-changed",a.listenerNegate=d}let l=t.nodeInfoList.length;for(let c=0;c<a.parts.length;c++){let d=a.parts[c];d.compoundIndex=c,Jn(s,t,a,d,l)}}function Jn(s,t,e,o,i){if(!o.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=o.dependencies,n={index:i,binding:e,part:o,evaluator:s};for(let a=0;a<r.length;a++){let l=r[a];typeof l=="string"&&(l=Pi(l),l.wildcard=!0),s._addTemplatePropertyEffect(t,l.rootProperty,{fn:Xn,info:n,trigger:l})}}}function Xn(s,t,e,o,i,r,n){let a=n[i.index],l=i.binding,c=i.part;if(r&&c.source&&t.length>c.source.length&&l.kind=="property"&&!l.isCompound&&a.__isPropertyEffectsClient&&a.__dataHasAccessor&&a.__dataHasAccessor[l.target]){let d=e[t];t=ot(c.source,l.target,t),a._setPendingPropertyOrPath(t,d,!1,!0)&&s._enqueueClient(a)}else{let d=i.evaluator._evaluateBinding(s,c,t,e,o,r);d!==it&&Zn(s,a,l,c,d)}}function Zn(s,t,e,o,i){if(i=Qn(t,i,e,o),kt&&(i=kt(i,e.target,e.kind,t)),e.kind=="attribute")s._valueToNodeAttribute(t,i,e.target);else{let r=e.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[r]?(!t[T.READ_ONLY]||!t[T.READ_ONLY][r])&&t._setPendingProperty(r,i)&&s._enqueueClient(t):s._setUnmanagedPropertyToNode(t,r,i)}}function Qn(s,t,e,o){if(e.isCompound){let i=s.__dataCompoundStorage[e.target];i[o.compoundIndex]=t,t=i.join("")}return e.kind!=="attribute"&&(e.target==="textContent"||e.target==="value"&&(s.localName==="input"||s.localName==="textarea"))&&(t=t==null?"":t),t}function ea(s){return!!s.target&&s.kind!="attribute"&&s.kind!="text"&&!s.isCompound&&s.parts[0].mode==="{"}function ta(s,t){let{nodeList:e,nodeInfoList:o}=t;if(o.length)for(let i=0;i<o.length;i++){let r=o[i],n=e[i],a=r.bindings;if(a)for(let l=0;l<a.length;l++){let c=a[l];oa(n,c),sa(n,s,c)}n.__dataHost=s}}function oa(s,t){if(t.isCompound){let e=s.__dataCompoundStorage||(s.__dataCompoundStorage={}),o=t.parts,i=new Array(o.length);for(let n=0;n<o.length;n++)i[n]=o[n].literal;let r=t.target;e[r]=i,t.literal&&t.kind=="property"&&(r==="className"&&(s=q(s)),s[r]=t.literal)}}function sa(s,t,e){if(e.listenerEvent){let o=e.parts[0];s.addEventListener(e.listenerEvent,function(i){Yn(i,t,e.target,o.source,o.negate)})}}function Ts(s,t,e,o,i,r){r=t.static||r&&(typeof r!="object"||r[t.methodName]);let n={methodName:t.methodName,args:t.args,methodInfo:i,dynamicFn:r};for(let a=0,l;a<t.args.length&&(l=t.args[a]);a++)l.literal||s._addPropertyEffect(l.rootProperty,e,{fn:o,info:n,trigger:l});return r&&s._addPropertyEffect(t.methodName,e,{fn:o,info:n}),n}function vo(s,t,e,o,i){let r=s._methodHost||s,n=r[i.methodName];if(n){let a=s._marshalArgs(i.args,t,e);return a===it?it:n.apply(r,a)}else i.dynamicFn||console.warn("method `"+i.methodName+"` not defined")}const ia=[],ki="(?:[a-zA-Z_$][\\w.:$\\-*]*)",ra="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",na="(?:'(?:[^'\\\\]|\\\\.)*')",aa='(?:"(?:[^"\\\\]|\\\\.)*")',la="(?:"+na+"|"+aa+")",Ms="(?:("+ki+"|"+ra+"|"+la+")\\s*)",ca="(?:"+Ms+"(?:,\\s*"+Ms+")*)",ua="(?:\\(\\s*(?:"+ca+"?)\\)\\s*)",da="("+ki+"\\s*"+ua+"?)",ha="(\\[\\[|{{)\\s*",pa="(?:]]|}})",ma="(?:(!)\\s*)?",fa=ha+ma+da+pa,Os=new RegExp(fa,"g");function Is(s){let t="";for(let e=0;e<s.length;e++){let o=s[e].literal;t+=o||""}return t}function Qt(s){let t=s.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let o={methodName:t[1],static:!0,args:ia};if(t[2].trim()){let i=t[2].replace(/\\,/g,"&comma;").split(",");return _a(i,o)}else return o}return null}function _a(s,t){return t.args=s.map(function(e){let o=Pi(e);return o.literal||(t.static=!1),o},this),t}function Pi(s){let t=s.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),e={name:t,value:"",literal:!1},o=t[0];switch(o==="-"&&(o=t[1]),o>="0"&&o<="9"&&(o="#"),o){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=go(t),e.structured&&(e.wildcard=t.slice(-2)==".*",e.wildcard&&(e.name=t.slice(0,-2)))),e}function zs(s,t,e){let o=Z(s,e);return o===void 0&&(o=t[e]),o}function Di(s,t,e,o){const i={indexSplices:o};_o&&!s._overrideLegacyUndefined&&(t.splices=i),s.notifyPath(e+".splices",i),s.notifyPath(e+".length",t.length),_o&&!s._overrideLegacyUndefined&&(i.indexSplices=[])}function Ve(s,t,e,o,i,r){Di(s,t,e,[{index:o,addedCount:i,removed:r,object:t,type:"splice"}])}function ga(s){return s[0].toUpperCase()+s.substring(1)}const jo=Y(s=>{const t=Ln(kn(s));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 T}_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 i=Ue[Ue.length-1];i._enqueueClient(this),this.__dataHost=i}}_initializeProtoProperties(i){this.__data=Object.create(i),this.__dataPending=Object.create(i),this.__dataOld={}}_initializeInstanceProperties(i){let r=this[T.READ_ONLY];for(let n in i)(!r||!r[n])&&(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=i[n])}_addPropertyEffect(i,r,n){this._createPropertyAccessor(i,r==T.READ_ONLY);let a=Xt(this,r,!0)[i];a||(a=this[r][i]=[]),a.push(n)}_removePropertyEffect(i,r,n){let a=Xt(this,r,!0)[i],l=a.indexOf(n);l>=0&&a.splice(l,1)}_hasPropertyEffect(i,r){let n=this[r];return!!(n&&n[i])}_hasReadOnlyEffect(i){return this._hasPropertyEffect(i,T.READ_ONLY)}_hasNotifyEffect(i){return this._hasPropertyEffect(i,T.NOTIFY)}_hasReflectEffect(i){return this._hasPropertyEffect(i,T.REFLECT)}_hasComputedEffect(i){return this._hasPropertyEffect(i,T.COMPUTE)}_setPendingPropertyOrPath(i,r,n,a){if(a||De(Array.isArray(i)?i[0]:i)!==i){if(!a){let l=Z(this,i);if(i=Cs(this,i,r),!i||!super._shouldPropertyChange(i,r,l))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(i,r,n))return Gn(this,i,r),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[i])return this._setPendingProperty(i,r,n);this[i]=r}return!1}_setUnmanagedPropertyToNode(i,r,n){(n!==i[r]||typeof n=="object")&&(r==="className"&&(i=q(i)),i[r]=n)}_setPendingProperty(i,r,n){let a=this.__dataHasPaths&&go(i),l=a?this.__dataTemp:this.__data;return this._shouldPropertyChange(i,r,l[i])?(this.__dataPending||(this.__dataPending={},this.__dataOld={}),i in this.__dataOld||(this.__dataOld[i]=this.__data[i]),a?this.__dataTemp[i]=r:this.__data[i]=r,this.__dataPending[i]=r,(a||this[T.NOTIFY]&&this[T.NOTIFY][i])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[i]=n),!0):!1}_setProperty(i,r){this._setPendingProperty(i,r,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(i){this.__dataPendingClients=this.__dataPendingClients||[],i!==this&&this.__dataPendingClients.push(i)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let i=this.__dataPendingClients;if(i){this.__dataPendingClients=null;for(let r=0;r<i.length;r++){let n=i[r];n.__dataEnabled?n.__dataPending&&n._flushProperties():n._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(i,r){for(let n in i)(r||!this[T.READ_ONLY]||!this[T.READ_ONLY][n])&&this._setPendingPropertyOrPath(n,i[n],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(i,r,n){let a=this.__dataHasPaths;this.__dataHasPaths=!1;let l;Un(this,r,n,a),l=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(r,n,a),this._flushClients(),Ge(this,this[T.REFLECT],r,n,a),Ge(this,this[T.OBSERVE],r,n,a),l&&Bn(this,l,r,n,a),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(i,r,n){this[T.PROPAGATE]&&Ge(this,this[T.PROPAGATE],i,r,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,i,r,n)}_runEffectsForTemplate(i,r,n,a){const l=(c,d)=>{Ge(this,i.propertyEffects,c,n,d,i.nodeList);for(let h=i.firstChild;h;h=h.nextSibling)this._runEffectsForTemplate(h,c,n,d)};i.runEffects?i.runEffects(l,r,a):l(r,a)}linkPaths(i,r){i=Ke(i),r=Ke(r),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[i]=r}unlinkPaths(i){i=Ke(i),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[i]}notifySplices(i,r){let n={path:""},a=Z(this,i,n);Di(this,a,n.path,r)}get(i,r){return Z(r||this,i)}set(i,r,n){n?Cs(n,i,r):(!this[T.READ_ONLY]||!this[T.READ_ONLY][i])&&this._setPendingPropertyOrPath(i,r,!0)&&this._invalidateProperties()}push(i,...r){let n={path:""},a=Z(this,i,n),l=a.length,c=a.push(...r);return r.length&&Ve(this,a,n.path,l,r.length,[]),c}pop(i){let r={path:""},n=Z(this,i,r),a=!!n.length,l=n.pop();return a&&Ve(this,n,r.path,n.length,0,[l]),l}splice(i,r,n,...a){let l={path:""},c=Z(this,i,l);r<0?r=c.length-Math.floor(-r):r&&(r=Math.floor(r));let d;return arguments.length===2?d=c.splice(r):d=c.splice(r,n,...a),(a.length||d.length)&&Ve(this,c,l.path,r,a.length,d),d}shift(i){let r={path:""},n=Z(this,i,r),a=!!n.length,l=n.shift();return a&&Ve(this,n,r.path,0,0,[l]),l}unshift(i,...r){let n={path:""},a=Z(this,i,n),l=a.unshift(...r);return r.length&&Ve(this,a,n.path,0,r.length,[]),l}notifyPath(i,r){let n;if(arguments.length==1){let a={path:""};r=Z(this,i,a),n=a.path}else Array.isArray(i)?n=Ke(i):n=i;this._setPendingPropertyOrPath(n,r,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(i,r){this._addPropertyEffect(i,T.READ_ONLY),r&&(this["_set"+ga(i)]=function(n){this._setProperty(i,n)})}_createPropertyObserver(i,r,n){let a={property:i,method:r,dynamicFn:!!n};this._addPropertyEffect(i,T.OBSERVE,{fn:Ps,info:a,trigger:{name:i}}),n&&this._addPropertyEffect(r,T.OBSERVE,{fn:Ps,info:a,trigger:{name:r}})}_createMethodObserver(i,r){let n=Qt(i);if(!n)throw new Error("Malformed observer expression '"+i+"'");Ts(this,n,T.OBSERVE,vo,null,r)}_createNotifyingProperty(i){this._addPropertyEffect(i,T.NOTIFY,{fn:jn,info:{eventName:Nt(i)+"-changed",property:i}})}_createReflectedProperty(i){let r=this.constructor.attributeNameForProperty(i);r[0]==="-"?console.warn("Property "+i+" 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(i,T.REFLECT,{fn:Vn,info:{attrName:r}})}_createComputedProperty(i,r,n){let a=Qt(r);if(!a)throw new Error("Malformed computed expression '"+r+"'");const l=Ts(this,a,T.COMPUTE,Ai,i,n);Xt(this,Si)[i]=l}_marshalArgs(i,r,n){const a=this.__data,l=[];for(let c=0,d=i.length;c<d;c++){let{name:h,structured:p,wildcard:m,value:v,literal:P}=i[c];if(!P)if(m){const N=tt(h,r),O=zs(a,n,N?r:h);v={path:N?r:h,value:O,base:N?Z(a,h):O}}else v=p?zs(a,n,h):a[h];if(_o&&!this._overrideLegacyUndefined&&v===void 0&&i.length>1)return it;l[c]=v}return l}static addPropertyEffect(i,r,n){this.prototype._addPropertyEffect(i,r,n)}static createPropertyObserver(i,r,n){this.prototype._createPropertyObserver(i,r,n)}static createMethodObserver(i,r){this.prototype._createMethodObserver(i,r)}static createNotifyingProperty(i){this.prototype._createNotifyingProperty(i)}static createReadOnlyProperty(i,r){this.prototype._createReadOnlyProperty(i,r)}static createReflectedProperty(i){this.prototype._createReflectedProperty(i)}static createComputedProperty(i,r,n){this.prototype._createComputedProperty(i,r,n)}static bindTemplate(i){return this.prototype._bindTemplate(i)}_bindTemplate(i,r){let n=this.constructor._parseTemplate(i),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=i._parentTemplateInfo||this.__templateInfo,c=l.lastChild;n.parent=l,l.lastChild=n,n.previousSibling=c,c?c.nextSibling=n:l.firstChild=n}else this.__preBoundTemplateInfo=n;return n}static _addTemplatePropertyEffect(i,r,n){let a=i.hostProps=i.hostProps||{};a[r]=!0;let l=i.propertyEffects=i.propertyEffects||{};(l[r]=l[r]||[]).push(n)}_stampTemplate(i,r){r=r||this._bindTemplate(i,!0),Ue.push(this);let n=super._stampTemplate(i,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,ta(this,r),this.__dataClientsReady&&(this._runEffectsForTemplate(r,this.__data,null,!1),this._flushClients()),n}_removeBoundDom(i){const r=i.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 c=r.childNodes;for(let d=0;d<c.length;d++){let h=c[d];q(q(h).parentNode).removeChild(h)}}static _parseTemplateNode(i,r,n){let a=t._parseTemplateNode.call(this,i,r,n);if(i.nodeType===Node.TEXT_NODE){let l=this._parseBindings(i.textContent,r);l&&(i.textContent=Is(l)||" ",Zt(this,r,n,"text","textContent",l),a=!0)}return a}static _parseTemplateNodeAttribute(i,r,n,a,l){let c=this._parseBindings(l,r);if(c){let d=a,h="property";$n.test(a)?h="attribute":a[a.length-1]=="$"&&(a=a.slice(0,-1),h="attribute");let p=Is(c);return p&&h=="attribute"&&(a=="class"&&i.hasAttribute("class")&&(p+=" "+i.getAttribute(a)),i.setAttribute(a,p)),h=="attribute"&&d=="disable-upgrade$"&&i.setAttribute(a,""),i.localName==="input"&&d==="value"&&i.setAttribute(d,""),i.removeAttribute(d),h==="property"&&(a=gi(a)),Zt(this,r,n,h,a,c,p),!0}else return t._parseTemplateNodeAttribute.call(this,i,r,n,a,l)}static _parseTemplateNestedTemplate(i,r,n){let a=t._parseTemplateNestedTemplate.call(this,i,r,n);const l=i.parentNode,c=n.templateInfo,d=l.localName==="dom-if",h=l.localName==="dom-repeat";vs&&(d||h)&&(l.removeChild(i),n=n.parentInfo,n.templateInfo=c,n.noted=!0,a=!1);let p=c.hostProps;if(ln&&d)p&&(r.hostProps=Object.assign(r.hostProps||{},p),vs||(n.parentInfo.noted=!0));else{let m="{";for(let v in p){let P=[{mode:m,source:v,dependencies:[v],hostProp:!0}];Zt(this,r,n,"property","_host_"+v,P)}}return a}static _parseBindings(i,r){let n=[],a=0,l;for(;(l=Os.exec(i))!==null;){l.index>a&&n.push({literal:i.slice(a,l.index)});let c=l[1][0],d=!!l[2],h=l[3].trim(),p=!1,m="",v=-1;c=="{"&&(v=h.indexOf("::"))>0&&(m=h.substring(v+2),h=h.substring(0,v),p=!0);let P=Qt(h),N=[];if(P){let{args:O,methodName:I}=P;for(let Q=0;Q<O.length;Q++){let G=O[Q];G.literal||N.push(G)}let H=r.dynamicFns;(H&&H[I]||P.static)&&(N.push(I),P.dynamicFn=!0)}else N.push(h);n.push({source:h,mode:c,negate:d,customEvent:p,signature:P,dependencies:N,event:m}),a=Os.lastIndex}if(a&&a<i.length){let c=i.substring(a);c&&n.push({literal:c})}return n.length?n:null}static _evaluateBinding(i,r,n,a,l,c){let d;return r.signature?d=vo(i,n,a,l,r.signature):n!=r.source?d=Z(i,r.source):c&&go(n)?d=Z(i,n):d=i.__data[n],r.negate&&(d=!d),d}}return e}),Ue=[];/**
692
692
  @license
693
693
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
694
694
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -704,7 +704,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
704
704
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
705
705
  Code distributed by Google as part of the polymer project is also
706
706
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
707
- */function ba(s){const t={};for(let e in s){const o=s[e];t[e]=typeof o=="function"?{type:o}:o}return t}const xa=Y(s=>{const t=wi(s);function e(r){const n=Object.getPrototypeOf(r);return n.prototype instanceof i?n:null}function o(r){if(!r.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",r))){let n=null;if(r.hasOwnProperty(JSCompiler_renameProperty("properties",r))){const a=r.properties;a&&(n=ba(a))}r.__ownProperties=n}return r.__ownProperties}class i extends t{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){this.prototype;const n=this._properties;this.__observedAttributes=n?Object.keys(n).map(a=>this.prototype._addPropertyToAttributeMap(a)):[]}return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const n=e(this);n&&n.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const n=o(this);n&&this.createProperties(n)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const n=e(this);this.__properties=Object.assign({},n&&n._properties,o(this))}return this.__properties}static typeForProperty(n){const a=this._properties[n];return a&&a.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return i});/**
707
+ */function ya(s){const t={};for(let e in s){const o=s[e];t[e]=typeof o=="function"?{type:o}:o}return t}const va=Y(s=>{const t=xi(s);function e(r){const n=Object.getPrototypeOf(r);return n.prototype instanceof i?n:null}function o(r){if(!r.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",r))){let n=null;if(r.hasOwnProperty(JSCompiler_renameProperty("properties",r))){const a=r.properties;a&&(n=ya(a))}r.__ownProperties=n}return r.__ownProperties}class i extends t{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){this.prototype;const n=this._properties;this.__observedAttributes=n?Object.keys(n).map(a=>this.prototype._addPropertyToAttributeMap(a)):[]}return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const n=e(this);n&&n.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const n=o(this);n&&this.createProperties(n)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const n=e(this);this.__properties=Object.assign({},n&&n._properties,o(this))}return this.__properties}static typeForProperty(n){const a=this._properties[n];return a&&a.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return i});/**
708
708
  * @fileoverview
709
709
  * @suppress {checkPrototypalTypes}
710
710
  * @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -714,7 +714,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
714
714
  * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
715
715
  * Google as part of the polymer project is also subject to an additional IP
716
716
  * rights grant found at http://polymer.github.io/PATENTS.txt
717
- */const wa="3.5.2",Ls=window.ShadyCSS&&window.ShadyCSS.cssBuild,Ea=Y(s=>{const t=xa(jo(s));function e(l){if(!l.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",l))){l.__propertyDefaults=null;let c=l._properties;for(let d in c){let h=c[d];"value"in h&&(l.__propertyDefaults=l.__propertyDefaults||{},l.__propertyDefaults[d]=h)}}return l.__propertyDefaults}function o(l){return l.hasOwnProperty(JSCompiler_renameProperty("__ownObservers",l))||(l.__ownObservers=l.hasOwnProperty(JSCompiler_renameProperty("observers",l))?l.observers:null),l.__ownObservers}function i(l,c,d,h){d.computed&&(d.readOnly=!0),d.computed&&(l._hasReadOnlyEffect(c)?console.warn(`Cannot redefine computed property '${c}'.`):l._createComputedProperty(c,d.computed,h)),d.readOnly&&!l._hasReadOnlyEffect(c)?l._createReadOnlyProperty(c,!d.computed):d.readOnly===!1&&l._hasReadOnlyEffect(c)&&console.warn(`Cannot make readOnly property '${c}' non-readOnly.`),d.reflectToAttribute&&!l._hasReflectEffect(c)?l._createReflectedProperty(c):d.reflectToAttribute===!1&&l._hasReflectEffect(c)&&console.warn(`Cannot make reflected property '${c}' non-reflected.`),d.notify&&!l._hasNotifyEffect(c)?l._createNotifyingProperty(c):d.notify===!1&&l._hasNotifyEffect(c)&&console.warn(`Cannot make notify property '${c}' non-notify.`),d.observer&&l._createPropertyObserver(c,d.observer,h[d.observer]),l._addPropertyToAttributeMap(c)}function r(l,c,d,h){if(!Ls){const p=c.content.querySelectorAll("style"),m=mi(c),v=yn(d),P=c.content.firstElementChild;for(let O=0;O<v.length;O++){let I=v[O];I.textContent=l._processStyleText(I.textContent,h),c.content.insertBefore(I,P)}let N=0;for(let O=0;O<m.length;O++){let I=m[O],H=p[N];H!==I?(I=I.cloneNode(!0),H.parentNode.insertBefore(I,H)):N++,I.textContent=l._processStyleText(I.textContent,h)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(c,d),dn&&Ls&&rn){const p=c.content.querySelectorAll("style");if(p){let m="";Array.from(p).forEach(v=>{m+=v.textContent,v.parentNode.removeChild(v)}),l._styleSheet=new CSSStyleSheet,l._styleSheet.replaceSync(m)}}}function n(l){let c=null;if(l&&(!kt||an)&&(c=et.import(l,"template"),kt&&!c))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);return c}class a extends t{static get polymerElementVersion(){return wa}static _finalizeClass(){t._finalizeClass.call(this);const c=o(this);c&&this.createObservers(c,this._properties),this._prepareTemplate()}static _prepareTemplate(){let c=this.template;c&&(typeof c=="string"?(console.error("template getter must return HTMLTemplateElement"),c=null):ui||(c=c.cloneNode(!0))),this.prototype._template=c}static createProperties(c){for(let d in c)i(this.prototype,d,c[d],c)}static createObservers(c,d){const h=this.prototype;for(let p=0;p<c.length;p++)h._createMethodObserver(c[p],d)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let c=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;typeof c=="function"&&(c=c()),this._template=c!==void 0?c:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&n(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(c){this._template=c}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const c=this.importMeta;if(c)this._importPath=Ro(c.url);else{const d=et.import(this.is);this._importPath=d&&d.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=nn,this.importPath=this.constructor.importPath;let c=e(this.constructor);if(c)for(let d in c){let h=c[d];if(this._canApplyPropertyDefault(d)){let p=typeof h.value=="function"?h.value.call(this):h.value;this._hasAccessor(d)?this._setPendingProperty(d,p,!0):this[d]=p}}}_canApplyPropertyDefault(c){return!this.hasOwnProperty(c)}static _processStyleText(c,d){return $o(c,d)}static _finalizeTemplate(c){const d=this.prototype._template;if(d&&!d.__polymerFinalized){d.__polymerFinalized=!0;const h=this.importPath,p=h?Je(h):"";r(this,d,c,p),this.prototype._bindTemplate(d)}}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(c){const d=q(this);if(d.attachShadow)return c?(d.shadowRoot||(d.attachShadow({mode:"open",shadyUpgradeFragment:c}),d.shadowRoot.appendChild(c),this.constructor._styleSheet&&(d.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),ln&&window.ShadyDOM&&window.ShadyDOM.flushInitial(d.shadowRoot),d.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(c){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,c)}resolveUrl(c,d){return!d&&this.importPath&&(d=Je(this.importPath)),Je(c,d)}static _parseTemplateContent(c,d,h){return d.dynamicFns=d.dynamicFns||this._properties,t._parseTemplateContent.call(this,c,d,h)}static _addTemplatePropertyEffect(c,d,h){return di&&!(d in this._properties)&&!(h.info.part.signature&&h.info.part.signature.static)&&!h.info.part.hostProp&&!c.nestedTemplate&&console.warn(`Property '${d}' used in template but not declared in 'properties'; attribute will not be observed.`),t._addTemplatePropertyEffect.call(this,c,d,h)}}return a});/**
717
+ */const ba="3.5.2",Ns=window.ShadyCSS&&window.ShadyCSS.cssBuild,xa=Y(s=>{const t=va(jo(s));function e(l){if(!l.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",l))){l.__propertyDefaults=null;let c=l._properties;for(let d in c){let h=c[d];"value"in h&&(l.__propertyDefaults=l.__propertyDefaults||{},l.__propertyDefaults[d]=h)}}return l.__propertyDefaults}function o(l){return l.hasOwnProperty(JSCompiler_renameProperty("__ownObservers",l))||(l.__ownObservers=l.hasOwnProperty(JSCompiler_renameProperty("observers",l))?l.observers:null),l.__ownObservers}function i(l,c,d,h){d.computed&&(d.readOnly=!0),d.computed&&(l._hasReadOnlyEffect(c)?console.warn(`Cannot redefine computed property '${c}'.`):l._createComputedProperty(c,d.computed,h)),d.readOnly&&!l._hasReadOnlyEffect(c)?l._createReadOnlyProperty(c,!d.computed):d.readOnly===!1&&l._hasReadOnlyEffect(c)&&console.warn(`Cannot make readOnly property '${c}' non-readOnly.`),d.reflectToAttribute&&!l._hasReflectEffect(c)?l._createReflectedProperty(c):d.reflectToAttribute===!1&&l._hasReflectEffect(c)&&console.warn(`Cannot make reflected property '${c}' non-reflected.`),d.notify&&!l._hasNotifyEffect(c)?l._createNotifyingProperty(c):d.notify===!1&&l._hasNotifyEffect(c)&&console.warn(`Cannot make notify property '${c}' non-notify.`),d.observer&&l._createPropertyObserver(c,d.observer,h[d.observer]),l._addPropertyToAttributeMap(c)}function r(l,c,d,h){if(!Ns){const p=c.content.querySelectorAll("style"),m=pi(c),v=_n(d),P=c.content.firstElementChild;for(let O=0;O<v.length;O++){let I=v[O];I.textContent=l._processStyleText(I.textContent,h),c.content.insertBefore(I,P)}let N=0;for(let O=0;O<m.length;O++){let I=m[O],H=p[N];H!==I?(I=I.cloneNode(!0),H.parentNode.insertBefore(I,H)):N++,I.textContent=l._processStyleText(I.textContent,h)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(c,d),cn&&Ns&&on){const p=c.content.querySelectorAll("style");if(p){let m="";Array.from(p).forEach(v=>{m+=v.textContent,v.parentNode.removeChild(v)}),l._styleSheet=new CSSStyleSheet,l._styleSheet.replaceSync(m)}}}function n(l){let c=null;if(l&&(!Pt||rn)&&(c=et.import(l,"template"),Pt&&!c))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);return c}class a extends t{static get polymerElementVersion(){return ba}static _finalizeClass(){t._finalizeClass.call(this);const c=o(this);c&&this.createObservers(c,this._properties),this._prepareTemplate()}static _prepareTemplate(){let c=this.template;c&&(typeof c=="string"?(console.error("template getter must return HTMLTemplateElement"),c=null):ci||(c=c.cloneNode(!0))),this.prototype._template=c}static createProperties(c){for(let d in c)i(this.prototype,d,c[d],c)}static createObservers(c,d){const h=this.prototype;for(let p=0;p<c.length;p++)h._createMethodObserver(c[p],d)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let c=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;typeof c=="function"&&(c=c()),this._template=c!==void 0?c:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&n(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(c){this._template=c}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const c=this.importMeta;if(c)this._importPath=Ro(c.url);else{const d=et.import(this.is);this._importPath=d&&d.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=sn,this.importPath=this.constructor.importPath;let c=e(this.constructor);if(c)for(let d in c){let h=c[d];if(this._canApplyPropertyDefault(d)){let p=typeof h.value=="function"?h.value.call(this):h.value;this._hasAccessor(d)?this._setPendingProperty(d,p,!0):this[d]=p}}}_canApplyPropertyDefault(c){return!this.hasOwnProperty(c)}static _processStyleText(c,d){return $o(c,d)}static _finalizeTemplate(c){const d=this.prototype._template;if(d&&!d.__polymerFinalized){d.__polymerFinalized=!0;const h=this.importPath,p=h?Je(h):"";r(this,d,c,p),this.prototype._bindTemplate(d)}}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(c){const d=q(this);if(d.attachShadow)return c?(d.shadowRoot||(d.attachShadow({mode:"open",shadyUpgradeFragment:c}),d.shadowRoot.appendChild(c),this.constructor._styleSheet&&(d.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),nn&&window.ShadyDOM&&window.ShadyDOM.flushInitial(d.shadowRoot),d.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(c){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,c)}resolveUrl(c,d){return!d&&this.importPath&&(d=Je(this.importPath)),Je(c,d)}static _parseTemplateContent(c,d,h){return d.dynamicFns=d.dynamicFns||this._properties,t._parseTemplateContent.call(this,c,d,h)}static _addTemplatePropertyEffect(c,d,h){return ui&&!(d in this._properties)&&!(h.info.part.signature&&h.info.part.signature.static)&&!h.info.part.hostProp&&!c.nestedTemplate&&console.warn(`Property '${d}' used in template but not declared in 'properties'; attribute will not be observed.`),t._addTemplatePropertyEffect.call(this,c,d,h)}}return a});/**
718
718
  @license
719
719
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
720
720
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -722,7 +722,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
722
722
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
723
723
  Code distributed by Google as part of the polymer project is also
724
724
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
725
- */const $s=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:s=>s});class Mi{constructor(t,e){Ii(t,e);const o=e.reduce((i,r,n)=>i+Oi(r)+t[n+1],t[0]);this.value=o.toString()}toString(){return this.value}}function Oi(s){if(s instanceof Mi)return s.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${s}`)}function Sa(s){if(s instanceof HTMLTemplateElement)return s.innerHTML;if(s instanceof Mi)return Oi(s);throw new Error(`non-template value passed to Polymer's html function: ${s}`)}const Te=function(t,...e){Ii(t,e);const o=document.createElement("template");let i=e.reduce((r,n,a)=>r+Sa(n)+t[a+1],t[0]);return $s&&(i=$s.createHTML(i)),o.innerHTML=i,o},Ii=(s,t)=>{if(!Array.isArray(s)||!Array.isArray(s.raw)||t.length!==s.length-1)throw new TypeError("Invalid call to the html template tag")};/**
725
+ */const Fs=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:s=>s});class Ti{constructor(t,e){Oi(t,e);const o=e.reduce((i,r,n)=>i+Mi(r)+t[n+1],t[0]);this.value=o.toString()}toString(){return this.value}}function Mi(s){if(s instanceof Ti)return s.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${s}`)}function wa(s){if(s instanceof HTMLTemplateElement)return s.innerHTML;if(s instanceof Ti)return Mi(s);throw new Error(`non-template value passed to Polymer's html function: ${s}`)}const Te=function(t,...e){Oi(t,e);const o=document.createElement("template");let i=e.reduce((r,n,a)=>r+wa(n)+t[a+1],t[0]);return Fs&&(i=Fs.createHTML(i)),o.innerHTML=i,o},Oi=(s,t)=>{if(!Array.isArray(s)||!Array.isArray(s.raw)||t.length!==s.length-1)throw new TypeError("Invalid call to the html template tag")};/**
726
726
  @license
727
727
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
728
728
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -730,15 +730,15 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
730
730
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
731
731
  Code distributed by Google as part of the polymer project is also
732
732
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
733
- */const ye=Ea(HTMLElement);/**
733
+ */const ye=xa(HTMLElement);/**
734
734
  * @license
735
735
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
736
736
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
737
- */const de=[];function bo(s,t,e=s.getAttribute("dir")){t?s.setAttribute("dir",t):e!=null&&s.removeAttribute("dir")}function xo(){return document.documentElement.getAttribute("dir")}function Ca(){const s=xo();de.forEach(t=>{bo(t,s)})}const Aa=new MutationObserver(Ca);Aa.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const Nt=s=>class extends s{static get properties(){return{dir:{type:String,value:"",reflectToAttribute:!0,converter:{fromAttribute:e=>e||"",toAttribute:e=>e===""?null:e}}}}get __isRTL(){return this.getAttribute("dir")==="rtl"}connectedCallback(){super.connectedCallback(),(!this.hasAttribute("dir")||this.__restoreSubscription)&&(this.__subscribe(),bo(this,xo(),null))}attributeChangedCallback(e,o,i){if(super.attributeChangedCallback(e,o,i),e!=="dir")return;const r=xo(),n=i===r&&de.indexOf(this)===-1,a=!i&&o&&de.indexOf(this)===-1;n||a?(this.__subscribe(),bo(this,r,i)):i!==r&&o===r&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=de.includes(this),this.__unsubscribe()}_valueToNodeAttribute(e,o,i){i==="dir"&&o===""&&!e.hasAttribute("dir")||super._valueToNodeAttribute(e,o,i)}_attributeToProperty(e,o,i){e==="dir"&&!o?this.dir="":super._attributeToProperty(e,o,i)}__subscribe(){de.includes(this)||de.push(this)}__unsubscribe(){de.includes(this)&&de.splice(de.indexOf(this),1)}};/**
737
+ */const de=[];function bo(s,t,e=s.getAttribute("dir")){t?s.setAttribute("dir",t):e!=null&&s.removeAttribute("dir")}function xo(){return document.documentElement.getAttribute("dir")}function Ea(){const s=xo();de.forEach(t=>{bo(t,s)})}const Sa=new MutationObserver(Ea);Sa.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const Ft=s=>class extends s{static get properties(){return{dir:{type:String,value:"",reflectToAttribute:!0,converter:{fromAttribute:e=>e||"",toAttribute:e=>e===""?null:e}}}}get __isRTL(){return this.getAttribute("dir")==="rtl"}connectedCallback(){super.connectedCallback(),(!this.hasAttribute("dir")||this.__restoreSubscription)&&(this.__subscribe(),bo(this,xo(),null))}attributeChangedCallback(e,o,i){if(super.attributeChangedCallback(e,o,i),e!=="dir")return;const r=xo(),n=i===r&&de.indexOf(this)===-1,a=!i&&o&&de.indexOf(this)===-1;n||a?(this.__subscribe(),bo(this,r,i)):i!==r&&o===r&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=de.includes(this),this.__unsubscribe()}_valueToNodeAttribute(e,o,i){i==="dir"&&o===""&&!e.hasAttribute("dir")||super._valueToNodeAttribute(e,o,i)}_attributeToProperty(e,o,i){e==="dir"&&!o?this.dir="":super._attributeToProperty(e,o,i)}__subscribe(){de.includes(this)||de.push(this)}__unsubscribe(){de.includes(this)&&de.splice(de.indexOf(this),1)}};/**
738
738
  * @license
739
739
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
740
740
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
741
- */class ka extends Pe(Nt(ye)){static get is(){return"vaadin-input-container"}static get template(){return Te`
741
+ */class Ca extends Pe(Ft(ye)){static get is(){return"vaadin-input-container"}static get template(){return Te`
742
742
  <style>
743
743
  :host {
744
744
  display: flex;
@@ -808,15 +808,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
808
808
  <slot name="prefix"></slot>
809
809
  <slot></slot>
810
810
  <slot name="suffix"></slot>
811
- `}static get properties(){return{disabled:{type:Boolean,reflectToAttribute:!0},readonly:{type:Boolean,reflectToAttribute:!0},invalid:{type:Boolean,reflectToAttribute:!0}}}ready(){super.ready(),this.addEventListener("pointerdown",t=>{t.target===this&&t.preventDefault()}),this.addEventListener("click",t=>{t.target===this&&this.shadowRoot.querySelector("slot:not([name])").assignedNodes({flatten:!0}).forEach(e=>e.focus&&e.focus())})}}re(ka);/**
811
+ `}static get properties(){return{disabled:{type:Boolean,reflectToAttribute:!0},readonly:{type:Boolean,reflectToAttribute:!0},invalid:{type:Boolean,reflectToAttribute:!0}}}ready(){super.ready(),this.addEventListener("pointerdown",t=>{t.target===this&&t.preventDefault()}),this.addEventListener("click",t=>{t.target===this&&this.shadowRoot.querySelector("slot:not([name])").assignedNodes({flatten:!0}).forEach(e=>e.focus&&e.focus())})}}re(Ca);/**
812
812
  * @license
813
813
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
814
814
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
815
- */let Pa=class extends HTMLElement{static get is(){return"vaadin-lumo-styles"}static get version(){return"24.2.5"}};re(Pa);const Be=(s,...t)=>{Lo(`lumo-${s}`,t)};/**
815
+ */let Aa=class extends HTMLElement{static get is(){return"vaadin-lumo-styles"}static get version(){return"24.2.5"}};re(Aa);const Be=(s,...t)=>{Lo(`lumo-${s}`,t)};/**
816
816
  * @license
817
817
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
818
818
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
819
- */const Da=C`
819
+ */const ka=C`
820
820
  :host {
821
821
  --lumo-size-xs: 1.625rem;
822
822
  --lumo-size-s: 1.875rem;
@@ -831,11 +831,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
831
831
  /* For backwards compatibility */
832
832
  --lumo-icon-size: var(--lumo-icon-size-m);
833
833
  }
834
- `;Be("sizing-props",Da);/**
834
+ `;Be("sizing-props",ka);/**
835
835
  * @license
836
836
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
837
837
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
838
- */const Ta=C`
838
+ */const Pa=C`
839
839
  :host {
840
840
  /* Square */
841
841
  --lumo-space-xs: 0.25rem;
@@ -858,11 +858,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
858
858
  --lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
859
859
  --lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
860
860
  }
861
- `;Be("spacing-props",Ta);/**
861
+ `;Be("spacing-props",Pa);/**
862
862
  * @license
863
863
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
864
864
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
865
- */const Ma=C`
865
+ */const Da=C`
866
866
  :host {
867
867
  /* Border radius */
868
868
  --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
@@ -885,11 +885,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
885
885
  --vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
886
886
  --vaadin-input-field-border-radius: var(--lumo-border-radius-m);
887
887
  }
888
- `;Be("style-props",Ma);/**
888
+ `;Be("style-props",Da);/**
889
889
  * @license
890
890
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
891
891
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
892
- */const Oa=C`
892
+ */const Ta=C`
893
893
  :host {
894
894
  /* Base (background) */
895
895
  --lumo-base-color: #fff;
@@ -974,7 +974,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
974
974
  --lumo-disabled-text-color: GrayText;
975
975
  }
976
976
  }
977
- `;Be("color-props",Oa);const Ia=C`
977
+ `;Be("color-props",Ta);const Ma=C`
978
978
  [theme~='dark'] {
979
979
  /* Base (background) */
980
980
  --lumo-base-color: hsl(214, 35%, 21%);
@@ -1089,11 +1089,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1089
1089
  background-color: var(--lumo-contrast-10pct);
1090
1090
  border-radius: var(--lumo-border-radius-m);
1091
1091
  }
1092
- `;R("",Ia,{moduleId:"lumo-color"});/**
1092
+ `;R("",Ma,{moduleId:"lumo-color"});/**
1093
1093
  * @license
1094
1094
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
1095
1095
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1096
- */const za=C`
1096
+ */const Oa=C`
1097
1097
  :host {
1098
1098
  /* prettier-ignore */
1099
1099
  --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
@@ -1113,7 +1113,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1113
1113
  --lumo-line-height-s: 1.375;
1114
1114
  --lumo-line-height-m: 1.625;
1115
1115
  }
1116
- `,Na=C`
1116
+ `,Ia=C`
1117
1117
  body,
1118
1118
  :host {
1119
1119
  font-family: var(--lumo-font-family);
@@ -1205,11 +1205,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1205
1205
  border-left: none;
1206
1206
  border-right: 2px solid var(--lumo-contrast-30pct);
1207
1207
  }
1208
- `;R("",Na,{moduleId:"lumo-typography"});Be("typography-props",za);/**
1208
+ `;R("",Ia,{moduleId:"lumo-typography"});Be("typography-props",Oa);/**
1209
1209
  * @license
1210
1210
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
1211
1211
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1212
- */const zi=C`
1212
+ */const Ii=C`
1213
1213
  :host {
1214
1214
  top: var(--lumo-space-m);
1215
1215
  right: var(--lumo-space-m);
@@ -1272,11 +1272,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1272
1272
  opacity: 1;
1273
1273
  }
1274
1274
  }
1275
- `;R("",zi,{moduleId:"lumo-overlay"});/**
1275
+ `;R("",Ii,{moduleId:"lumo-overlay"});/**
1276
1276
  * @license
1277
1277
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
1278
1278
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1279
- */const Ni=C`
1279
+ */const zi=C`
1280
1280
  :host([opening]),
1281
1281
  :host([closing]) {
1282
1282
  animation: 0.14s lumo-overlay-dummy-animation;
@@ -1306,7 +1306,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1306
1306
  opacity: 0;
1307
1307
  }
1308
1308
  }
1309
- `;R("",Ni,{moduleId:"lumo-menu-overlay-core"});const Fa=C`
1309
+ `;R("",zi,{moduleId:"lumo-menu-overlay-core"});const za=C`
1310
1310
  /* Small viewport (bottom sheet) styles */
1311
1311
  /* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
1312
1312
  @media (max-width: 420px), (max-height: 420px) {
@@ -1368,7 +1368,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1368
1368
  transform: translateY(150%);
1369
1369
  }
1370
1370
  }
1371
- `,Fi=[zi,Ni,Fa];R("",Fi,{moduleId:"lumo-menu-overlay"});const La=C`
1371
+ `,Ni=[Ii,zi,za];R("",Ni,{moduleId:"lumo-menu-overlay"});const Na=C`
1372
1372
  [part='overlay'] {
1373
1373
  /*
1374
1374
  Width:
@@ -1416,15 +1416,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1416
1416
  max-height: 70vh;
1417
1417
  }
1418
1418
  }
1419
- `;R("vaadin-date-picker-overlay",[Fi,La],{moduleId:"lumo-date-picker-overlay"});/**
1419
+ `;R("vaadin-date-picker-overlay",[Ni,Na],{moduleId:"lumo-date-picker-overlay"});/**
1420
1420
  * @license
1421
1421
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
1422
1422
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1423
- */class $a extends HTMLElement{static get is(){return"vaadin-lumo-styles"}static get version(){return"24.2.9"}}re($a);const ct=(s,...t)=>{Lo(`lumo-${s}`,t)};/**
1423
+ */class Fa extends HTMLElement{static get is(){return"vaadin-lumo-styles"}static get version(){return"24.2.9"}}re(Fa);const ct=(s,...t)=>{Lo(`lumo-${s}`,t)};/**
1424
1424
  * @license
1425
1425
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
1426
1426
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1427
- */const Ra=C`
1427
+ */const La=C`
1428
1428
  :host {
1429
1429
  /* Base (background) */
1430
1430
  --lumo-base-color: #fff;
@@ -1509,7 +1509,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1509
1509
  --lumo-disabled-text-color: GrayText;
1510
1510
  }
1511
1511
  }
1512
- `;ct("color-props",Ra);const Ba=C`
1512
+ `;ct("color-props",La);const $a=C`
1513
1513
  [theme~='dark'] {
1514
1514
  /* Base (background) */
1515
1515
  --lumo-base-color: hsl(214, 35%, 21%);
@@ -1624,11 +1624,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1624
1624
  background-color: var(--lumo-contrast-10pct);
1625
1625
  border-radius: var(--lumo-border-radius-m);
1626
1626
  }
1627
- `;R("",Ba,{moduleId:"lumo-color"});/**
1627
+ `;R("",$a,{moduleId:"lumo-color"});/**
1628
1628
  * @license
1629
1629
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
1630
1630
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1631
- */const Ha=C`
1631
+ */const Ra=C`
1632
1632
  :host {
1633
1633
  --lumo-size-xs: 1.625rem;
1634
1634
  --lumo-size-s: 1.875rem;
@@ -1643,11 +1643,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1643
1643
  /* For backwards compatibility */
1644
1644
  --lumo-icon-size: var(--lumo-icon-size-m);
1645
1645
  }
1646
- `;ct("sizing-props",Ha);/**
1646
+ `;ct("sizing-props",Ra);/**
1647
1647
  * @license
1648
1648
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
1649
1649
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1650
- */const ja=C`
1650
+ */const Ba=C`
1651
1651
  :host {
1652
1652
  /* Square */
1653
1653
  --lumo-space-xs: 0.25rem;
@@ -1670,11 +1670,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1670
1670
  --lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
1671
1671
  --lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
1672
1672
  }
1673
- `;ct("spacing-props",ja);/**
1673
+ `;ct("spacing-props",Ba);/**
1674
1674
  * @license
1675
1675
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
1676
1676
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1677
- */const Ya=C`
1677
+ */const Ha=C`
1678
1678
  :host {
1679
1679
  /* Border radius */
1680
1680
  --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
@@ -1697,11 +1697,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1697
1697
  --vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
1698
1698
  --vaadin-input-field-border-radius: var(--lumo-border-radius-m);
1699
1699
  }
1700
- `;ct("style-props",Ya);/**
1700
+ `;ct("style-props",Ha);/**
1701
1701
  * @license
1702
1702
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
1703
1703
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1704
- */const Va=C`
1704
+ */const ja=C`
1705
1705
  :host {
1706
1706
  /* prettier-ignore */
1707
1707
  --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
@@ -1721,7 +1721,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1721
1721
  --lumo-line-height-s: 1.375;
1722
1722
  --lumo-line-height-m: 1.625;
1723
1723
  }
1724
- `,Ua=C`
1724
+ `,Ya=C`
1725
1725
  body,
1726
1726
  :host {
1727
1727
  font-family: var(--lumo-font-family);
@@ -1813,7 +1813,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
1813
1813
  border-left: none;
1814
1814
  border-right: 2px solid var(--lumo-contrast-30pct);
1815
1815
  }
1816
- `;R("",Ua,{moduleId:"lumo-typography"});ct("typography-props",Va);const Wa=C`
1816
+ `;R("",Ya,{moduleId:"lumo-typography"});ct("typography-props",ja);const Va=C`
1817
1817
  :host {
1818
1818
  /* Sizing */
1819
1819
  --lumo-button-size: var(--lumo-size-m);
@@ -2062,11 +2062,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2062
2062
  margin-left: 0;
2063
2063
  margin-right: 0;
2064
2064
  }
2065
- `;R("vaadin-button",Wa,{moduleId:"lumo-button"});/**
2065
+ `;R("vaadin-button",Va,{moduleId:"lumo-button"});/**
2066
2066
  * @license
2067
2067
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
2068
2068
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2069
- */const He=Y(s=>typeof s.prototype.addController=="function"?s:class extends s{constructor(){super(),this.__controllers=new Set}connectedCallback(){super.connectedCallback(),this.__controllers.forEach(e=>{e.hostConnected&&e.hostConnected()})}disconnectedCallback(){super.disconnectedCallback(),this.__controllers.forEach(e=>{e.hostDisconnected&&e.hostDisconnected()})}addController(e){this.__controllers.add(e),this.$!==void 0&&this.isConnected&&e.hostConnected&&e.hostConnected()}removeController(e){this.__controllers.delete(e)}}),qa=/\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,wt=window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients;function Ka(){function s(){return!0}return Li(s)}function Ga(){try{return Ja()?!0:Xa()?wt?!Za():!Ka():!1}catch(s){return!1}}function Ja(){return localStorage.getItem("vaadin.developmentmode.force")}function Xa(){return["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0}function Za(){return!!(wt&&Object.keys(wt).map(t=>wt[t]).filter(t=>t.productionMode).length>0)}function Li(s,t){if(typeof s!="function")return;const e=qa.exec(s.toString());if(e)try{s=new Function(e[1])}catch(o){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",o)}return s(t)}window.Vaadin=window.Vaadin||{};const Rs=function(s,t){if(window.Vaadin.developmentMode)return Li(s,t)};window.Vaadin.developmentMode===void 0&&(window.Vaadin.developmentMode=Ga());function Qa(){/*! vaadin-dev-mode:start
2069
+ */const He=Y(s=>typeof s.prototype.addController=="function"?s:class extends s{constructor(){super(),this.__controllers=new Set}connectedCallback(){super.connectedCallback(),this.__controllers.forEach(e=>{e.hostConnected&&e.hostConnected()})}disconnectedCallback(){super.disconnectedCallback(),this.__controllers.forEach(e=>{e.hostDisconnected&&e.hostDisconnected()})}addController(e){this.__controllers.add(e),this.$!==void 0&&this.isConnected&&e.hostConnected&&e.hostConnected()}removeController(e){this.__controllers.delete(e)}}),Ua=/\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,wt=window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients;function Wa(){function s(){return!0}return Fi(s)}function qa(){try{return Ka()?!0:Ga()?wt?!Ja():!Wa():!1}catch(s){return!1}}function Ka(){return localStorage.getItem("vaadin.developmentmode.force")}function Ga(){return["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0}function Ja(){return!!(wt&&Object.keys(wt).map(t=>wt[t]).filter(t=>t.productionMode).length>0)}function Fi(s,t){if(typeof s!="function")return;const e=Ua.exec(s.toString());if(e)try{s=new Function(e[1])}catch(o){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",o)}return s(t)}window.Vaadin=window.Vaadin||{};const Ls=function(s,t){if(window.Vaadin.developmentMode)return Fi(s,t)};window.Vaadin.developmentMode===void 0&&(window.Vaadin.developmentMode=qa());function Xa(){/*! vaadin-dev-mode:start
2070
2070
  (function () {
2071
2071
  'use strict';
2072
2072
 
@@ -2544,7 +2544,7 @@ try {
2544
2544
 
2545
2545
  }());
2546
2546
 
2547
- vaadin-dev-mode:end **/}const el=function(){if(typeof Rs=="function")return Rs(Qa)};/**
2547
+ vaadin-dev-mode:end **/}const Za=function(){if(typeof Ls=="function")return Ls(Xa)};/**
2548
2548
  * @license
2549
2549
  * Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2550
2550
  * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -2552,7 +2552,7 @@ try {
2552
2552
  * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2553
2553
  * Code distributed by Google as part of the polymer project is also
2554
2554
  * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2555
- */let Bs=0,$i=0;const Ne=[];let wo=!1;function tl(){wo=!1;const s=Ne.length;for(let t=0;t<s;t++){const e=Ne[t];if(e)try{e()}catch(o){setTimeout(()=>{throw o})}}Ne.splice(0,s),$i+=s}const Dt={after(s){return{run(t){return window.setTimeout(t,s)},cancel(t){window.clearTimeout(t)}}},run(s,t){return window.setTimeout(s,t)},cancel(s){window.clearTimeout(s)}},ol={run(s){return window.requestIdleCallback?window.requestIdleCallback(s):window.setTimeout(s,16)},cancel(s){window.cancelIdleCallback?window.cancelIdleCallback(s):window.clearTimeout(s)}},sl={run(s){wo||(wo=!0,queueMicrotask(()=>tl())),Ne.push(s);const t=Bs;return Bs+=1,t},cancel(s){const t=s-$i;if(t>=0){if(!Ne[t])throw new Error(`invalid async handle: ${s}`);Ne[t]=null}}};/**
2555
+ */let $s=0,Li=0;const Ne=[];let wo=!1;function Qa(){wo=!1;const s=Ne.length;for(let t=0;t<s;t++){const e=Ne[t];if(e)try{e()}catch(o){setTimeout(()=>{throw o})}}Ne.splice(0,s),Li+=s}const Tt={after(s){return{run(t){return window.setTimeout(t,s)},cancel(t){window.clearTimeout(t)}}},run(s,t){return window.setTimeout(s,t)},cancel(s){window.clearTimeout(s)}},el={run(s){return window.requestIdleCallback?window.requestIdleCallback(s):window.setTimeout(s,16)},cancel(s){window.cancelIdleCallback?window.cancelIdleCallback(s):window.clearTimeout(s)}},tl={run(s){wo||(wo=!0,queueMicrotask(()=>Qa())),Ne.push(s);const t=$s;return $s+=1,t},cancel(s){const t=s-Li;if(t>=0){if(!Ne[t])throw new Error(`invalid async handle: ${s}`);Ne[t]=null}}};/**
2556
2556
  @license
2557
2557
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2558
2558
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -2560,35 +2560,35 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
2560
2560
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2561
2561
  Code distributed by Google as part of the polymer project is also
2562
2562
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2563
- */const Eo=new Set;let rt=class So{static debounce(t,e,o){return t instanceof So?t._cancelAsync():t=new So,t.setConfig(e,o),t}constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,e){this._asyncModule=t,this._callback=e,this._timer=this._asyncModule.run(()=>{this._timer=null,Eo.delete(this),this._callback()})}cancel(){this.isActive()&&(this._cancelAsync(),Eo.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return this._timer!=null}};function il(s){Eo.add(s)}/**
2563
+ */const Eo=new Set;let rt=class So{static debounce(t,e,o){return t instanceof So?t._cancelAsync():t=new So,t.setConfig(e,o),t}constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,e){this._asyncModule=t,this._callback=e,this._timer=this._asyncModule.run(()=>{this._timer=null,Eo.delete(this),this._callback()})}cancel(){this.isActive()&&(this._cancelAsync(),Eo.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return this._timer!=null}};function ol(s){Eo.add(s)}/**
2564
2564
  * @license
2565
2565
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
2566
2566
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2567
- */window.Vaadin||(window.Vaadin={});window.Vaadin.registrations||(window.Vaadin.registrations=[]);window.Vaadin.developmentModeCallback||(window.Vaadin.developmentModeCallback={});window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){el()};let eo;const Hs=new Set,Ri=s=>class extends Nt(s){static get version(){return"24.2.9"}static finalize(){super.finalize();const{is:e}=this;e&&!Hs.has(e)&&(window.Vaadin.registrations.push(this),Hs.add(e),window.Vaadin.developmentModeCallback&&(eo=rt.debounce(eo,ol,()=>{window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()}),il(eo)))}constructor(){super(),document.doctype===null&&console.warn('Vaadin components require the "standards mode" declaration. Please add <!DOCTYPE html> to the HTML document.')}};/**
2567
+ */window.Vaadin||(window.Vaadin={});window.Vaadin.registrations||(window.Vaadin.registrations=[]);window.Vaadin.developmentModeCallback||(window.Vaadin.developmentModeCallback={});window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){Za()};let eo;const Rs=new Set,$i=s=>class extends Ft(s){static get version(){return"24.2.9"}static finalize(){super.finalize();const{is:e}=this;e&&!Rs.has(e)&&(window.Vaadin.registrations.push(this),Rs.add(e),window.Vaadin.developmentModeCallback&&(eo=rt.debounce(eo,el,()=>{window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()}),ol(eo)))}constructor(){super(),document.doctype===null&&console.warn('Vaadin components require the "standards mode" declaration. Please add <!DOCTYPE html> to the HTML document.')}};/**
2568
2568
  * @license
2569
2569
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
2570
2570
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2571
- */function rl(s){const t=[];for(;s;){if(s.nodeType===Node.DOCUMENT_NODE){t.push(s);break}if(s.nodeType===Node.DOCUMENT_FRAGMENT_NODE){t.push(s),s=s.host;continue}if(s.assignedSlot){s=s.assignedSlot;continue}s=s.parentNode}return t}function Yo(s){return s?new Set(s.split(" ")):new Set}function Ft(s){return s?[...s].join(" "):""}function Bi(s,t,e){const o=Yo(s.getAttribute(t));o.add(e),s.setAttribute(t,Ft(o))}function nl(s,t,e){const o=Yo(s.getAttribute(t));if(o.delete(e),o.size===0){s.removeAttribute(t);return}s.setAttribute(t,Ft(o))}function al(s){return s.nodeType===Node.TEXT_NODE&&s.textContent.trim()===""}/**
2571
+ */function sl(s){const t=[];for(;s;){if(s.nodeType===Node.DOCUMENT_NODE){t.push(s);break}if(s.nodeType===Node.DOCUMENT_FRAGMENT_NODE){t.push(s),s=s.host;continue}if(s.assignedSlot){s=s.assignedSlot;continue}s=s.parentNode}return t}function Yo(s){return s?new Set(s.split(" ")):new Set}function Lt(s){return s?[...s].join(" "):""}function Ri(s,t,e){const o=Yo(s.getAttribute(t));o.add(e),s.setAttribute(t,Lt(o))}function il(s,t,e){const o=Yo(s.getAttribute(t));if(o.delete(e),o.size===0){s.removeAttribute(t);return}s.setAttribute(t,Lt(o))}function rl(s){return s.nodeType===Node.TEXT_NODE&&s.textContent.trim()===""}/**
2572
2572
  * @license
2573
2573
  * Copyright (c) 2023 Vaadin Ltd.
2574
2574
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2575
- */class ll{constructor(t,e){this.slot=t,this.callback=e,this._storedNodes=[],this._connected=!1,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){this.slot.addEventListener("slotchange",this._boundSchedule),this._connected=!0}disconnect(){this.slot.removeEventListener("slotchange",this._boundSchedule),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,queueMicrotask(()=>{this.flush()}))}flush(){this._connected&&(this._scheduled=!1,this._processNodes())}_processNodes(){const t=this.slot.assignedNodes({flatten:!0});let e=[];const o=[],i=[];t.length&&(e=t.filter(r=>!this._storedNodes.includes(r))),this._storedNodes.length&&this._storedNodes.forEach((r,n)=>{const a=t.indexOf(r);a===-1?o.push(r):a!==n&&i.push(r)}),(e.length||o.length||i.length)&&this.callback({addedNodes:e,movedNodes:i,removedNodes:o}),this._storedNodes=t}}/**
2575
+ */class nl{constructor(t,e){this.slot=t,this.callback=e,this._storedNodes=[],this._connected=!1,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){this.slot.addEventListener("slotchange",this._boundSchedule),this._connected=!0}disconnect(){this.slot.removeEventListener("slotchange",this._boundSchedule),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,queueMicrotask(()=>{this.flush()}))}flush(){this._connected&&(this._scheduled=!1,this._processNodes())}_processNodes(){const t=this.slot.assignedNodes({flatten:!0});let e=[];const o=[],i=[];t.length&&(e=t.filter(r=>!this._storedNodes.includes(r))),this._storedNodes.length&&this._storedNodes.forEach((r,n)=>{const a=t.indexOf(r);a===-1?o.push(r):a!==n&&i.push(r)}),(e.length||o.length||i.length)&&this.callback({addedNodes:e,movedNodes:i,removedNodes:o}),this._storedNodes=t}}/**
2576
2576
  * @license
2577
2577
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
2578
2578
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2579
- */let cl=0;function Hi(){return cl++}/**
2579
+ */let al=0;function Bi(){return al++}/**
2580
2580
  * @license
2581
2581
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
2582
2582
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2583
- */class Se extends EventTarget{static generateId(t,e){return`${e||"default"}-${t.localName}-${Hi()}`}constructor(t,e,o,i={}){super();const{initializer:r,multiple:n,observe:a,useUniqueId:l}=i;this.host=t,this.slotName=e,this.tagName=o,this.observe=typeof a=="boolean"?a:!0,this.multiple=typeof n=="boolean"?n:!1,this.slotInitializer=r,n&&(this.nodes=[]),l&&(this.defaultId=this.constructor.generateId(t,e))}hostConnected(){this.initialized||(this.multiple?this.initMultiple():this.initSingle(),this.observe&&this.observeSlot(),this.initialized=!0)}initSingle(){let t=this.getSlotChild();t?(this.node=t,this.initAddedNode(t)):(t=this.attachDefaultNode(),this.initNode(t))}initMultiple(){const t=this.getSlotChildren();if(t.length===0){const e=this.attachDefaultNode();e&&(this.nodes=[e],this.initNode(e))}else this.nodes=t,t.forEach(e=>{this.initAddedNode(e)})}attachDefaultNode(){const{host:t,slotName:e,tagName:o}=this;let i=this.defaultNode;return!i&&o&&(i=document.createElement(o),i instanceof Element&&(e!==""&&i.setAttribute("slot",e),this.node=i,this.defaultNode=i)),i&&t.appendChild(i),i}getSlotChildren(){const{slotName:t}=this;return Array.from(this.host.childNodes).filter(e=>e.nodeType===Node.ELEMENT_NODE&&e.slot===t||e.nodeType===Node.TEXT_NODE&&e.textContent.trim()&&t==="")}getSlotChild(){return this.getSlotChildren()[0]}initNode(t){const{slotInitializer:e}=this;e&&e(t,this.host)}initCustomNode(t){}teardownNode(t){}initAddedNode(t){t!==this.defaultNode&&(this.initCustomNode(t),this.initNode(t))}observeSlot(){const{slotName:t}=this,e=t===""?"slot:not([name])":`slot[name=${t}]`,o=this.host.shadowRoot.querySelector(e);this.__slotObserver=new ll(o,({addedNodes:i,removedNodes:r})=>{const n=this.multiple?this.nodes:[this.node],a=i.filter(l=>!al(l)&&!n.includes(l));r.length&&(this.nodes=n.filter(l=>!r.includes(l)),r.forEach(l=>{this.teardownNode(l)})),a&&a.length>0&&(this.multiple?(this.defaultNode&&this.defaultNode.remove(),this.nodes=[...n,...a].filter(l=>l!==this.defaultNode),a.forEach(l=>{this.initAddedNode(l)})):(this.node&&this.node.remove(),this.node=a[0],this.initAddedNode(this.node)))})}}/**
2583
+ */class Se extends EventTarget{static generateId(t,e){return`${e||"default"}-${t.localName}-${Bi()}`}constructor(t,e,o,i={}){super();const{initializer:r,multiple:n,observe:a,useUniqueId:l}=i;this.host=t,this.slotName=e,this.tagName=o,this.observe=typeof a=="boolean"?a:!0,this.multiple=typeof n=="boolean"?n:!1,this.slotInitializer=r,n&&(this.nodes=[]),l&&(this.defaultId=this.constructor.generateId(t,e))}hostConnected(){this.initialized||(this.multiple?this.initMultiple():this.initSingle(),this.observe&&this.observeSlot(),this.initialized=!0)}initSingle(){let t=this.getSlotChild();t?(this.node=t,this.initAddedNode(t)):(t=this.attachDefaultNode(),this.initNode(t))}initMultiple(){const t=this.getSlotChildren();if(t.length===0){const e=this.attachDefaultNode();e&&(this.nodes=[e],this.initNode(e))}else this.nodes=t,t.forEach(e=>{this.initAddedNode(e)})}attachDefaultNode(){const{host:t,slotName:e,tagName:o}=this;let i=this.defaultNode;return!i&&o&&(i=document.createElement(o),i instanceof Element&&(e!==""&&i.setAttribute("slot",e),this.node=i,this.defaultNode=i)),i&&t.appendChild(i),i}getSlotChildren(){const{slotName:t}=this;return Array.from(this.host.childNodes).filter(e=>e.nodeType===Node.ELEMENT_NODE&&e.slot===t||e.nodeType===Node.TEXT_NODE&&e.textContent.trim()&&t==="")}getSlotChild(){return this.getSlotChildren()[0]}initNode(t){const{slotInitializer:e}=this;e&&e(t,this.host)}initCustomNode(t){}teardownNode(t){}initAddedNode(t){t!==this.defaultNode&&(this.initCustomNode(t),this.initNode(t))}observeSlot(){const{slotName:t}=this,e=t===""?"slot:not([name])":`slot[name=${t}]`,o=this.host.shadowRoot.querySelector(e);this.__slotObserver=new nl(o,({addedNodes:i,removedNodes:r})=>{const n=this.multiple?this.nodes:[this.node],a=i.filter(l=>!rl(l)&&!n.includes(l));r.length&&(this.nodes=n.filter(l=>!r.includes(l)),r.forEach(l=>{this.teardownNode(l)})),a&&a.length>0&&(this.multiple?(this.defaultNode&&this.defaultNode.remove(),this.nodes=[...n,...a].filter(l=>l!==this.defaultNode),a.forEach(l=>{this.initAddedNode(l)})):(this.node&&this.node.remove(),this.node=a[0],this.initAddedNode(this.node)))})}}/**
2584
2584
  * @license
2585
2585
  * Copyright (c) 2022 - 2023 Vaadin Ltd.
2586
2586
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2587
- */class ji extends Se{constructor(t){super(t,"tooltip"),this.setTarget(t)}initCustomNode(t){t.target=this.target,this.ariaTarget!==void 0&&(t.ariaTarget=this.ariaTarget),this.context!==void 0&&(t.context=this.context),this.manual!==void 0&&(t.manual=this.manual),this.opened!==void 0&&(t.opened=this.opened),this.position!==void 0&&(t._position=this.position),this.shouldShow!==void 0&&(t.shouldShow=this.shouldShow),this.__notifyChange()}teardownNode(){this.__notifyChange()}setAriaTarget(t){this.ariaTarget=t;const e=this.node;e&&(e.ariaTarget=t)}setContext(t){this.context=t;const e=this.node;e&&(e.context=t)}setManual(t){this.manual=t;const e=this.node;e&&(e.manual=t)}setOpened(t){this.opened=t;const e=this.node;e&&(e.opened=t)}setPosition(t){this.position=t;const e=this.node;e&&(e._position=t)}setShouldShow(t){this.shouldShow=t;const e=this.node;e&&(e.shouldShow=t)}setTarget(t){this.target=t;const e=this.node;e&&(e.target=t)}__notifyChange(){this.dispatchEvent(new CustomEvent("tooltip-changed",{detail:{node:this.node}}))}}/**
2587
+ */class Hi extends Se{constructor(t){super(t,"tooltip"),this.setTarget(t)}initCustomNode(t){t.target=this.target,this.ariaTarget!==void 0&&(t.ariaTarget=this.ariaTarget),this.context!==void 0&&(t.context=this.context),this.manual!==void 0&&(t.manual=this.manual),this.opened!==void 0&&(t.opened=this.opened),this.position!==void 0&&(t._position=this.position),this.shouldShow!==void 0&&(t.shouldShow=this.shouldShow),this.__notifyChange()}teardownNode(){this.__notifyChange()}setAriaTarget(t){this.ariaTarget=t;const e=this.node;e&&(e.ariaTarget=t)}setContext(t){this.context=t;const e=this.node;e&&(e.context=t)}setManual(t){this.manual=t;const e=this.node;e&&(e.manual=t)}setOpened(t){this.opened=t;const e=this.node;e&&(e.opened=t)}setPosition(t){this.position=t;const e=this.node;e&&(e._position=t)}setShouldShow(t){this.shouldShow=t;const e=this.node;e&&(e.shouldShow=t)}setTarget(t){this.target=t;const e=this.node;e&&(e.target=t)}__notifyChange(){this.dispatchEvent(new CustomEvent("tooltip-changed",{detail:{node:this.node}}))}}/**
2588
2588
  * @license
2589
2589
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
2590
2590
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2591
- */const ul=C`
2591
+ */const ll=C`
2592
2592
  :host {
2593
2593
  display: inline-block;
2594
2594
  position: relative;
@@ -2648,7 +2648,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2648
2648
  outline-color: GrayText;
2649
2649
  }
2650
2650
  }
2651
- `,dl=s=>s`
2651
+ `,cl=s=>s`
2652
2652
  <div class="vaadin-button-container">
2653
2653
  <span part="prefix" aria-hidden="true">
2654
2654
  <slot name="prefix"></slot>
@@ -2669,39 +2669,39 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
2669
2669
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2670
2670
  Code distributed by Google as part of the polymer project is also
2671
2671
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2672
- */const hl=!1,pl=s=>s,Vo=typeof document.head.style.touchAction=="string",Co="__polymerGestures",to="__polymerGesturesHandled",Ao="__polymerGesturesTouchAction",js=25,Ys=5,ml=2,fl=["mousedown","mousemove","mouseup","click"],_l=[0,1,4,2],gl=function(){try{return new MouseEvent("test",{buttons:1}).buttons===1}catch(s){return!1}}();function Uo(s){return fl.indexOf(s)>-1}let Yi=!1;(function(){try{const s=Object.defineProperty({},"passive",{get(){Yi=!0}});window.addEventListener("test",null,s),window.removeEventListener("test",null,s)}catch(s){}})();function yl(s){if(!(Uo(s)||s==="touchend")&&Vo&&Yi&&hl)return{passive:!0}}const vl=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u),bl={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function Ae(s){const t=s.type;if(!Uo(t))return!1;if(t==="mousemove"){let o=s.buttons===void 0?1:s.buttons;return s instanceof window.MouseEvent&&!gl&&(o=_l[s.which]||0),!!(o&1)}return(s.button===void 0?0:s.button)===0}function xl(s){if(s.type==="click"){if(s.detail===0)return!0;const t=ge(s);if(!t.nodeType||t.nodeType!==Node.ELEMENT_NODE)return!0;const e=t.getBoundingClientRect(),o=s.pageX,i=s.pageY;return!(o>=e.left&&o<=e.right&&i>=e.top&&i<=e.bottom)}return!1}const he={mouse:{target:null,mouseIgnoreJob:null},touch:{x:0,y:0,id:-1,scrollDecided:!1}};function wl(s){let t="auto";const e=Ui(s);for(let o=0,i;o<e.length;o++)if(i=e[o],i[Ao]){t=i[Ao];break}return t}function Vi(s,t,e){s.movefn=t,s.upfn=e,document.addEventListener("mousemove",t),document.addEventListener("mouseup",e)}function Fe(s){document.removeEventListener("mousemove",s.movefn),document.removeEventListener("mouseup",s.upfn),s.movefn=null,s.upfn=null}const Ui=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:s=>s.composedPath&&s.composedPath()||[],Wo={},Ce=[];function El(s,t){let e=document.elementFromPoint(s,t),o=e;for(;o&&o.shadowRoot&&!window.ShadyDOM;){const i=o;if(o=o.shadowRoot.elementFromPoint(s,t),i===o)break;o&&(e=o)}return e}function ge(s){const t=Ui(s);return t.length>0?t[0]:s.target}function Sl(s){const t=s.type,o=s.currentTarget[Co];if(!o)return;const i=o[t];if(!i)return;if(!s[to]&&(s[to]={},t.startsWith("touch"))){const n=s.changedTouches[0];if(t==="touchstart"&&s.touches.length===1&&(he.touch.id=n.identifier),he.touch.id!==n.identifier)return;Vo||(t==="touchstart"||t==="touchmove")&&Cl(s)}const r=s[to];if(!r.skip){for(let n=0,a;n<Ce.length;n++)a=Ce[n],i[a.name]&&!r[a.name]&&a.flow&&a.flow.start.indexOf(s.type)>-1&&a.reset&&a.reset();for(let n=0,a;n<Ce.length;n++)a=Ce[n],i[a.name]&&!r[a.name]&&(r[a.name]=!0,a[t](s))}}function Cl(s){const t=s.changedTouches[0],e=s.type;if(e==="touchstart")he.touch.x=t.clientX,he.touch.y=t.clientY,he.touch.scrollDecided=!1;else if(e==="touchmove"){if(he.touch.scrollDecided)return;he.touch.scrollDecided=!0;const o=wl(s);let i=!1;const r=Math.abs(he.touch.x-t.clientX),n=Math.abs(he.touch.y-t.clientY);s.cancelable&&(o==="none"?i=!0:o==="pan-x"?i=n>r:o==="pan-y"&&(i=r>n)),i?s.preventDefault():Tt("track")}}function ue(s,t,e){return Wo[t]?(Al(s,t,e),!0):!1}function Al(s,t,e){const o=Wo[t],i=o.deps,r=o.name;let n=s[Co];n||(s[Co]=n={});for(let a=0,l,c;a<i.length;a++)l=i[a],!(vl&&Uo(l)&&l!=="click")&&(c=n[l],c||(n[l]=c={_count:0}),c._count===0&&s.addEventListener(l,Sl,yl(l)),c[r]=(c[r]||0)+1,c._count=(c._count||0)+1);s.addEventListener(t,e),o.touchAction&&Wi(s,o.touchAction)}function qo(s){Ce.push(s),s.emits.forEach(t=>{Wo[t]=s})}function kl(s){for(let t=0,e;t<Ce.length;t++){e=Ce[t];for(let o=0,i;o<e.emits.length;o++)if(i=e.emits[o],i===s)return e}return null}function Wi(s,t){Vo&&s instanceof HTMLElement&&sl.run(()=>{s.style.touchAction=t}),s[Ao]=t}function Ko(s,t,e){const o=new Event(t,{bubbles:!0,cancelable:!0,composed:!0});if(o.detail=e,pl(s).dispatchEvent(o),o.defaultPrevented){const i=e.preventer||e.sourceEvent;i&&i.preventDefault&&i.preventDefault()}}function Tt(s){const t=kl(s);t.info&&(t.info.prevent=!0)}qo({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset(){Fe(this.info)},mousedown(s){if(!Ae(s))return;const t=ge(s),e=this,o=r=>{Ae(r)||(We("up",t,r),Fe(e.info))},i=r=>{Ae(r)&&We("up",t,r),Fe(e.info)};Vi(this.info,o,i),We("down",t,s)},touchstart(s){We("down",ge(s),s.changedTouches[0],s)},touchend(s){We("up",ge(s),s.changedTouches[0],s)}});function We(s,t,e,o){t&&Ko(t,s,{x:e.clientX,y:e.clientY,sourceEvent:e,preventer:o,prevent(i){return Tt(i)}})}qo({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove(s){this.moves.length>ml&&this.moves.shift(),this.moves.push(s)},movefn:null,upfn:null,prevent:!1},reset(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,Fe(this.info)},mousedown(s){if(!Ae(s))return;const t=ge(s),e=this,o=r=>{const n=r.clientX,a=r.clientY;Vs(e.info,n,a)&&(e.info.state=e.info.started?r.type==="mouseup"?"end":"track":"start",e.info.state==="start"&&Tt("tap"),e.info.addMove({x:n,y:a}),Ae(r)||(e.info.state="end",Fe(e.info)),t&&oo(e.info,t,r),e.info.started=!0)},i=r=>{e.info.started&&o(r),Fe(e.info)};Vi(this.info,o,i),this.info.x=s.clientX,this.info.y=s.clientY},touchstart(s){const t=s.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchmove(s){const t=ge(s),e=s.changedTouches[0],o=e.clientX,i=e.clientY;Vs(this.info,o,i)&&(this.info.state==="start"&&Tt("tap"),this.info.addMove({x:o,y:i}),oo(this.info,t,e),this.info.state="track",this.info.started=!0)},touchend(s){const t=ge(s),e=s.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:e.clientX,y:e.clientY}),oo(this.info,t,e))}});function Vs(s,t,e){if(s.prevent)return!1;if(s.started)return!0;const o=Math.abs(s.x-t),i=Math.abs(s.y-e);return o>=Ys||i>=Ys}function oo(s,t,e){if(!t)return;const o=s.moves[s.moves.length-2],i=s.moves[s.moves.length-1],r=i.x-s.x,n=i.y-s.y;let a,l=0;o&&(a=i.x-o.x,l=i.y-o.y),Ko(t,"track",{state:s.state,x:e.clientX,y:e.clientY,dx:r,dy:n,ddx:a,ddy:l,sourceEvent:e,hover(){return El(e.clientX,e.clientY)}})}qo({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown(s){Ae(s)&&(this.info.x=s.clientX,this.info.y=s.clientY)},click(s){Ae(s)&&Us(this.info,s)},touchstart(s){const t=s.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchend(s){Us(this.info,s.changedTouches[0],s)}});function Us(s,t,e){const o=Math.abs(t.clientX-s.x),i=Math.abs(t.clientY-s.y),r=ge(e||t);!r||bl[r.localName]&&r.hasAttribute("disabled")||(isNaN(o)||isNaN(i)||o<=js&&i<=js||xl(t))&&(s.prevent||Ko(r,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:e}))}/**
2672
+ */const ul=!1,dl=s=>s,Vo=typeof document.head.style.touchAction=="string",Co="__polymerGestures",to="__polymerGesturesHandled",Ao="__polymerGesturesTouchAction",Bs=25,Hs=5,hl=2,pl=["mousedown","mousemove","mouseup","click"],ml=[0,1,4,2],fl=function(){try{return new MouseEvent("test",{buttons:1}).buttons===1}catch(s){return!1}}();function Uo(s){return pl.indexOf(s)>-1}let ji=!1;(function(){try{const s=Object.defineProperty({},"passive",{get(){ji=!0}});window.addEventListener("test",null,s),window.removeEventListener("test",null,s)}catch(s){}})();function _l(s){if(!(Uo(s)||s==="touchend")&&Vo&&ji&&ul)return{passive:!0}}const gl=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u),yl={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function Ae(s){const t=s.type;if(!Uo(t))return!1;if(t==="mousemove"){let o=s.buttons===void 0?1:s.buttons;return s instanceof window.MouseEvent&&!fl&&(o=ml[s.which]||0),!!(o&1)}return(s.button===void 0?0:s.button)===0}function vl(s){if(s.type==="click"){if(s.detail===0)return!0;const t=ge(s);if(!t.nodeType||t.nodeType!==Node.ELEMENT_NODE)return!0;const e=t.getBoundingClientRect(),o=s.pageX,i=s.pageY;return!(o>=e.left&&o<=e.right&&i>=e.top&&i<=e.bottom)}return!1}const he={mouse:{target:null,mouseIgnoreJob:null},touch:{x:0,y:0,id:-1,scrollDecided:!1}};function bl(s){let t="auto";const e=Vi(s);for(let o=0,i;o<e.length;o++)if(i=e[o],i[Ao]){t=i[Ao];break}return t}function Yi(s,t,e){s.movefn=t,s.upfn=e,document.addEventListener("mousemove",t),document.addEventListener("mouseup",e)}function Fe(s){document.removeEventListener("mousemove",s.movefn),document.removeEventListener("mouseup",s.upfn),s.movefn=null,s.upfn=null}const Vi=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:s=>s.composedPath&&s.composedPath()||[],Wo={},Ce=[];function xl(s,t){let e=document.elementFromPoint(s,t),o=e;for(;o&&o.shadowRoot&&!window.ShadyDOM;){const i=o;if(o=o.shadowRoot.elementFromPoint(s,t),i===o)break;o&&(e=o)}return e}function ge(s){const t=Vi(s);return t.length>0?t[0]:s.target}function wl(s){const t=s.type,o=s.currentTarget[Co];if(!o)return;const i=o[t];if(!i)return;if(!s[to]&&(s[to]={},t.startsWith("touch"))){const n=s.changedTouches[0];if(t==="touchstart"&&s.touches.length===1&&(he.touch.id=n.identifier),he.touch.id!==n.identifier)return;Vo||(t==="touchstart"||t==="touchmove")&&El(s)}const r=s[to];if(!r.skip){for(let n=0,a;n<Ce.length;n++)a=Ce[n],i[a.name]&&!r[a.name]&&a.flow&&a.flow.start.indexOf(s.type)>-1&&a.reset&&a.reset();for(let n=0,a;n<Ce.length;n++)a=Ce[n],i[a.name]&&!r[a.name]&&(r[a.name]=!0,a[t](s))}}function El(s){const t=s.changedTouches[0],e=s.type;if(e==="touchstart")he.touch.x=t.clientX,he.touch.y=t.clientY,he.touch.scrollDecided=!1;else if(e==="touchmove"){if(he.touch.scrollDecided)return;he.touch.scrollDecided=!0;const o=bl(s);let i=!1;const r=Math.abs(he.touch.x-t.clientX),n=Math.abs(he.touch.y-t.clientY);s.cancelable&&(o==="none"?i=!0:o==="pan-x"?i=n>r:o==="pan-y"&&(i=r>n)),i?s.preventDefault():Mt("track")}}function ue(s,t,e){return Wo[t]?(Sl(s,t,e),!0):!1}function Sl(s,t,e){const o=Wo[t],i=o.deps,r=o.name;let n=s[Co];n||(s[Co]=n={});for(let a=0,l,c;a<i.length;a++)l=i[a],!(gl&&Uo(l)&&l!=="click")&&(c=n[l],c||(n[l]=c={_count:0}),c._count===0&&s.addEventListener(l,wl,_l(l)),c[r]=(c[r]||0)+1,c._count=(c._count||0)+1);s.addEventListener(t,e),o.touchAction&&Ui(s,o.touchAction)}function qo(s){Ce.push(s),s.emits.forEach(t=>{Wo[t]=s})}function Cl(s){for(let t=0,e;t<Ce.length;t++){e=Ce[t];for(let o=0,i;o<e.emits.length;o++)if(i=e.emits[o],i===s)return e}return null}function Ui(s,t){Vo&&s instanceof HTMLElement&&tl.run(()=>{s.style.touchAction=t}),s[Ao]=t}function Ko(s,t,e){const o=new Event(t,{bubbles:!0,cancelable:!0,composed:!0});if(o.detail=e,dl(s).dispatchEvent(o),o.defaultPrevented){const i=e.preventer||e.sourceEvent;i&&i.preventDefault&&i.preventDefault()}}function Mt(s){const t=Cl(s);t.info&&(t.info.prevent=!0)}qo({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset(){Fe(this.info)},mousedown(s){if(!Ae(s))return;const t=ge(s),e=this,o=r=>{Ae(r)||(We("up",t,r),Fe(e.info))},i=r=>{Ae(r)&&We("up",t,r),Fe(e.info)};Yi(this.info,o,i),We("down",t,s)},touchstart(s){We("down",ge(s),s.changedTouches[0],s)},touchend(s){We("up",ge(s),s.changedTouches[0],s)}});function We(s,t,e,o){t&&Ko(t,s,{x:e.clientX,y:e.clientY,sourceEvent:e,preventer:o,prevent(i){return Mt(i)}})}qo({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove(s){this.moves.length>hl&&this.moves.shift(),this.moves.push(s)},movefn:null,upfn:null,prevent:!1},reset(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,Fe(this.info)},mousedown(s){if(!Ae(s))return;const t=ge(s),e=this,o=r=>{const n=r.clientX,a=r.clientY;js(e.info,n,a)&&(e.info.state=e.info.started?r.type==="mouseup"?"end":"track":"start",e.info.state==="start"&&Mt("tap"),e.info.addMove({x:n,y:a}),Ae(r)||(e.info.state="end",Fe(e.info)),t&&oo(e.info,t,r),e.info.started=!0)},i=r=>{e.info.started&&o(r),Fe(e.info)};Yi(this.info,o,i),this.info.x=s.clientX,this.info.y=s.clientY},touchstart(s){const t=s.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchmove(s){const t=ge(s),e=s.changedTouches[0],o=e.clientX,i=e.clientY;js(this.info,o,i)&&(this.info.state==="start"&&Mt("tap"),this.info.addMove({x:o,y:i}),oo(this.info,t,e),this.info.state="track",this.info.started=!0)},touchend(s){const t=ge(s),e=s.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:e.clientX,y:e.clientY}),oo(this.info,t,e))}});function js(s,t,e){if(s.prevent)return!1;if(s.started)return!0;const o=Math.abs(s.x-t),i=Math.abs(s.y-e);return o>=Hs||i>=Hs}function oo(s,t,e){if(!t)return;const o=s.moves[s.moves.length-2],i=s.moves[s.moves.length-1],r=i.x-s.x,n=i.y-s.y;let a,l=0;o&&(a=i.x-o.x,l=i.y-o.y),Ko(t,"track",{state:s.state,x:e.clientX,y:e.clientY,dx:r,dy:n,ddx:a,ddy:l,sourceEvent:e,hover(){return xl(e.clientX,e.clientY)}})}qo({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown(s){Ae(s)&&(this.info.x=s.clientX,this.info.y=s.clientY)},click(s){Ae(s)&&Ys(this.info,s)},touchstart(s){const t=s.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchend(s){Ys(this.info,s.changedTouches[0],s)}});function Ys(s,t,e){const o=Math.abs(t.clientX-s.x),i=Math.abs(t.clientY-s.y),r=ge(e||t);!r||yl[r.localName]&&r.hasAttribute("disabled")||(isNaN(o)||isNaN(i)||o<=Bs&&i<=Bs||vl(t))&&(s.prevent||Ko(r,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:e}))}/**
2673
2673
  * @license
2674
2674
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
2675
2675
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2676
- */const qi=Y(s=>class extends s{static get properties(){return{disabled:{type:Boolean,value:!1,observer:"_disabledChanged",reflectToAttribute:!0}}}_disabledChanged(e){this._setAriaDisabled(e)}_setAriaDisabled(e){e?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")}click(){this.disabled||super.click()}});/**
2676
+ */const Wi=Y(s=>class extends s{static get properties(){return{disabled:{type:Boolean,value:!1,observer:"_disabledChanged",reflectToAttribute:!0}}}_disabledChanged(e){this._setAriaDisabled(e)}_setAriaDisabled(e){e?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")}click(){this.disabled||super.click()}});/**
2677
2677
  * @license
2678
2678
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
2679
2679
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2680
- */const Lt=Y(s=>class extends s{ready(){super.ready(),this.addEventListener("keydown",e=>{this._onKeyDown(e)}),this.addEventListener("keyup",e=>{this._onKeyUp(e)})}_onKeyDown(e){switch(e.key){case"Enter":this._onEnter(e);break;case"Escape":this._onEscape(e);break}}_onKeyUp(e){}_onEnter(e){}_onEscape(e){}});/**
2680
+ */const $t=Y(s=>class extends s{ready(){super.ready(),this.addEventListener("keydown",e=>{this._onKeyDown(e)}),this.addEventListener("keyup",e=>{this._onKeyUp(e)})}_onKeyDown(e){switch(e.key){case"Enter":this._onEnter(e);break;case"Escape":this._onEscape(e);break}}_onKeyUp(e){}_onEnter(e){}_onEscape(e){}});/**
2681
2681
  * @license
2682
2682
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
2683
2683
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2684
- */const Pl=s=>class extends qi(Lt(s)){get _activeKeys(){return[" "]}ready(){super.ready(),ue(this,"down",e=>{this._shouldSetActive(e)&&this._setActive(!0)}),ue(this,"up",()=>{this._setActive(!1)})}disconnectedCallback(){super.disconnectedCallback(),this._setActive(!1)}_shouldSetActive(e){return!this.disabled}_onKeyDown(e){super._onKeyDown(e),this._shouldSetActive(e)&&this._activeKeys.includes(e.key)&&(this._setActive(!0),document.addEventListener("keyup",o=>{this._activeKeys.includes(o.key)&&this._setActive(!1)},{once:!0}))}_setActive(e){this.toggleAttribute("active",e)}};/**
2684
+ */const Al=s=>class extends Wi($t(s)){get _activeKeys(){return[" "]}ready(){super.ready(),ue(this,"down",e=>{this._shouldSetActive(e)&&this._setActive(!0)}),ue(this,"up",()=>{this._setActive(!1)})}disconnectedCallback(){super.disconnectedCallback(),this._setActive(!1)}_shouldSetActive(e){return!this.disabled}_onKeyDown(e){super._onKeyDown(e),this._shouldSetActive(e)&&this._activeKeys.includes(e.key)&&(this._setActive(!0),document.addEventListener("keyup",o=>{this._activeKeys.includes(o.key)&&this._setActive(!1)},{once:!0}))}_setActive(e){this.toggleAttribute("active",e)}};/**
2685
2685
  * @license
2686
2686
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
2687
2687
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2688
- */let Go=!1;window.addEventListener("keydown",()=>{Go=!0},{capture:!0});window.addEventListener("mousedown",()=>{Go=!1},{capture:!0});function ko(){let s=document.activeElement||document.body;for(;s.shadowRoot&&s.shadowRoot.activeElement;)s=s.shadowRoot.activeElement;return s}function Dl(){return Go}function Tl(s){const t=s.style;if(t.visibility==="hidden"||t.display==="none")return!0;const e=window.getComputedStyle(s);return e.visibility==="hidden"||e.display==="none"}function Ml(s,t){const e=Math.max(s.tabIndex,0),o=Math.max(t.tabIndex,0);return e===0||o===0?o>e:e>o}function Ol(s,t){const e=[];for(;s.length>0&&t.length>0;)Ml(s[0],t[0])?e.push(t.shift()):e.push(s.shift());return e.concat(s,t)}function Po(s){const t=s.length;if(t<2)return s;const e=Math.ceil(t/2),o=Po(s.slice(0,e)),i=Po(s.slice(e));return Ol(o,i)}function Il(s){return s.matches('[tabindex="-1"]')?!1:s.matches("input, select, textarea, button, object")?s.matches(":not([disabled])"):s.matches("a[href], area[href], iframe, [tabindex], [contentEditable]")}function zl(s){return s.getRootNode().activeElement===s}function Nl(s){if(!Il(s))return-1;const t=s.getAttribute("tabindex")||0;return Number(t)}function Ki(s,t){if(s.nodeType!==Node.ELEMENT_NODE||Tl(s))return!1;const e=s,o=Nl(e);let i=o>0;o>=0&&t.push(e);let r=[];return e.localName==="slot"?r=e.assignedNodes({flatten:!0}):r=(e.shadowRoot||e).children,[...r].forEach(n=>{i=Ki(n,t)||i}),i}function Fl(s){const t=[];return Ki(s,t)?Po(t):t}/**
2688
+ */let Go=!1;window.addEventListener("keydown",()=>{Go=!0},{capture:!0});window.addEventListener("mousedown",()=>{Go=!1},{capture:!0});function ko(){let s=document.activeElement||document.body;for(;s.shadowRoot&&s.shadowRoot.activeElement;)s=s.shadowRoot.activeElement;return s}function kl(){return Go}function Pl(s){const t=s.style;if(t.visibility==="hidden"||t.display==="none")return!0;const e=window.getComputedStyle(s);return e.visibility==="hidden"||e.display==="none"}function Dl(s,t){const e=Math.max(s.tabIndex,0),o=Math.max(t.tabIndex,0);return e===0||o===0?o>e:e>o}function Tl(s,t){const e=[];for(;s.length>0&&t.length>0;)Dl(s[0],t[0])?e.push(t.shift()):e.push(s.shift());return e.concat(s,t)}function Po(s){const t=s.length;if(t<2)return s;const e=Math.ceil(t/2),o=Po(s.slice(0,e)),i=Po(s.slice(e));return Tl(o,i)}function Ml(s){return s.matches('[tabindex="-1"]')?!1:s.matches("input, select, textarea, button, object")?s.matches(":not([disabled])"):s.matches("a[href], area[href], iframe, [tabindex], [contentEditable]")}function Ol(s){return s.getRootNode().activeElement===s}function Il(s){if(!Ml(s))return-1;const t=s.getAttribute("tabindex")||0;return Number(t)}function qi(s,t){if(s.nodeType!==Node.ELEMENT_NODE||Pl(s))return!1;const e=s,o=Il(e);let i=o>0;o>=0&&t.push(e);let r=[];return e.localName==="slot"?r=e.assignedNodes({flatten:!0}):r=(e.shadowRoot||e).children,[...r].forEach(n=>{i=qi(n,t)||i}),i}function zl(s){const t=[];return qi(s,t)?Po(t):t}/**
2689
2689
  * @license
2690
2690
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
2691
2691
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2692
- */const Jo=Y(s=>class extends s{get _keyboardActive(){return Dl()}ready(){this.addEventListener("focusin",e=>{this._shouldSetFocus(e)&&this._setFocused(!0)}),this.addEventListener("focusout",e=>{this._shouldRemoveFocus(e)&&this._setFocused(!1)}),super.ready()}disconnectedCallback(){super.disconnectedCallback(),this.hasAttribute("focused")&&this._setFocused(!1)}_setFocused(e){this.toggleAttribute("focused",e),this.toggleAttribute("focus-ring",e&&this._keyboardActive)}_shouldSetFocus(e){return!0}_shouldRemoveFocus(e){return!0}});/**
2692
+ */const Jo=Y(s=>class extends s{get _keyboardActive(){return kl()}ready(){this.addEventListener("focusin",e=>{this._shouldSetFocus(e)&&this._setFocused(!0)}),this.addEventListener("focusout",e=>{this._shouldRemoveFocus(e)&&this._setFocused(!1)}),super.ready()}disconnectedCallback(){super.disconnectedCallback(),this.hasAttribute("focused")&&this._setFocused(!1)}_setFocused(e){this.toggleAttribute("focused",e),this.toggleAttribute("focus-ring",e&&this._keyboardActive)}_shouldSetFocus(e){return!0}_shouldRemoveFocus(e){return!0}});/**
2693
2693
  * @license
2694
2694
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
2695
2695
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2696
- */const Gi=s=>class extends qi(s){static get properties(){return{tabindex:{type:Number,reflectToAttribute:!0,observer:"_tabindexChanged"},_lastTabIndex:{type:Number}}}_disabledChanged(e,o){super._disabledChanged(e,o),e?(this.tabindex!==void 0&&(this._lastTabIndex=this.tabindex),this.tabindex=-1):o&&(this.tabindex=this._lastTabIndex)}_tabindexChanged(e){this.disabled&&e!==-1&&(this._lastTabIndex=e,this.tabindex=-1)}};/**
2696
+ */const Ki=s=>class extends Wi(s){static get properties(){return{tabindex:{type:Number,reflectToAttribute:!0,observer:"_tabindexChanged"},_lastTabIndex:{type:Number}}}_disabledChanged(e,o){super._disabledChanged(e,o),e?(this.tabindex!==void 0&&(this._lastTabIndex=this.tabindex),this.tabindex=-1):o&&(this.tabindex=this._lastTabIndex)}_tabindexChanged(e){this.disabled&&e!==-1&&(this._lastTabIndex=e,this.tabindex=-1)}};/**
2697
2697
  * @license
2698
2698
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
2699
2699
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2700
- */const Ll=s=>class extends Pl(Gi(Jo(s))){static get properties(){return{tabindex:{type:Number,value:0,reflectToAttribute:!0}}}get _activeKeys(){return["Enter"," "]}ready(){super.ready(),this.hasAttribute("role")||this.setAttribute("role","button")}_onKeyDown(e){super._onKeyDown(e),!(e.altKey||e.shiftKey||e.ctrlKey||e.metaKey)&&this._activeKeys.includes(e.key)&&(e.preventDefault(),this.click())}};/**
2700
+ */const Nl=s=>class extends Al(Ki(Jo(s))){static get properties(){return{tabindex:{type:Number,value:0,reflectToAttribute:!0}}}get _activeKeys(){return["Enter"," "]}ready(){super.ready(),this.hasAttribute("role")||this.setAttribute("role","button")}_onKeyDown(e){super._onKeyDown(e),!(e.altKey||e.shiftKey||e.ctrlKey||e.metaKey)&&this._activeKeys.includes(e.key)&&(e.preventDefault(),this.click())}};/**
2701
2701
  * @license
2702
2702
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
2703
2703
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2704
- */R("vaadin-button",ul,{moduleId:"vaadin-button-styles"});class $l extends Ll(Ri(Pe(He(ye)))){static get is(){return"vaadin-button"}static get template(){return dl(Te)}ready(){super.ready(),this._tooltipController=new ji(this),this.addController(this._tooltipController)}}re($l);R("vaadin-date-picker-year",C`
2704
+ */R("vaadin-button",ll,{moduleId:"vaadin-button-styles"});class Fl extends Nl($i(Pe(He(ye)))){static get is(){return"vaadin-button"}static get template(){return cl(Te)}ready(){super.ready(),this._tooltipController=new Hi(this),this.addController(this._tooltipController)}}re(Fl);R("vaadin-date-picker-year",C`
2705
2705
  :host([current]) [part='year-number'] {
2706
2706
  color: var(--lumo-primary-text-color);
2707
2707
  }
@@ -3015,7 +3015,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3015
3015
  :host([disabled]) * {
3016
3016
  color: var(--lumo-disabled-text-color) !important;
3017
3017
  }
3018
- `,{moduleId:"lumo-month-calendar"});const Ji=document.createElement("template");Ji.innerHTML=`
3018
+ `,{moduleId:"lumo-month-calendar"});const Gi=document.createElement("template");Gi.innerHTML=`
3019
3019
  <style>
3020
3020
  @keyframes vaadin-date-picker-month-calendar-focus-date {
3021
3021
  50% {
@@ -3023,11 +3023,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3023
3023
  }
3024
3024
  }
3025
3025
  </style>
3026
- `;document.head.appendChild(Ji.content);/**
3026
+ `;document.head.appendChild(Gi.content);/**
3027
3027
  * @license
3028
3028
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
3029
3029
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3030
- */const Rl=C`
3030
+ */const Ll=C`
3031
3031
  @font-face {
3032
3032
  font-family: 'lumo-icons';
3033
3033
  src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6zHcd2bCfP+Wic1Z9N0jpNHCD9SNqqoVBgbQoMjY+pjA4hNnWa2pV1rHSIif0DGkyT2k10Kmu1Cag6huj4ZpqYBHSqJsTEJgZCG3TaVBFv595nO3ZIv4RIrPPuvefe884599zzO/cRF8G/tgn6CFFImNgkR0ggX8wlspbhSSWSdrC5ozd30s2dw5afzvgtyz9/zG9t1hV4RtF1pXolowvtzc2z6L2aYUQM45jKH9WDTvd1LRDoDASYWhfTzTyvboXz6uZX4ARX5wrF39y+HM2+CJ8d0pkyqBIqoze3D12ez4DrFoYzxI8dWwMrDlZ2DMqQAR9AROsJU+2smlTPaTTco52BVxXa2a2+I8vvqd2dVHm1LoPeTn/AZPRYGthDYOeZjBjKoFsVGulR3lGU95SeCK44oHU7MhWUGUKZDT3oSUcG2GWuh+EDDfUYA/jhIhl0TOsJNYSEu7mQmi3UzfXwZKA4BsVsHLXQYGgJW95qEtpJ1VcW9HiTriZBlFEqxsDjA09yCNUoQxxwd7KWSTt2y3GTKifkqHRCoWZc3m11Wa/dKdFgXD4kSYfkeJBKd8KMz7J8dZn/cGRCcLGDnA2Ge3bKzcvlnTDNthFWLH7Xt80ua5FMjA4WKelWv5Xo16vHuYzpRbJhhdVlftuRK0VlR27D9lu5TF0DPBi60OrHNO0AfP/uRWvhn/U3LXICE+nh+3IHPUJ8JE6GyBjZQLbjGchlrSgYngF8zyrIF4NJD3atUcgWsWunGN/UHX5B5/yg7uF87Nqp4Gf52F3gH73DjEZNRoqCKAr9giQJp5rGJABpiVE2htNhW9R8nw0jqYjCYcY4LIjwYNScf4WN06IZnZCEqsI4cFaQbo4Z1TsZBx40YhXkHOecaYE5oY37IIQ+iJJ+UsDYSun5MuRSBRZRUUhlY2DqOGajOR6zrSU/5My6l2DnusH1GQgnw5BZP7iuYM/ahcfQ7Z8y51ddfutvuwNqWQ0cBYr8fj0U0vsHpwerVaB2sWhXT2NExi2r1KUE2tUuVMnkepVQrxTmpQrZTG4iu8he8iPyM3KcPE/+RP5KPoE2CEAKclCBzXATxkYOtUY/o961PWRqsj0chRrHFBbtrjP9/P0ven5pcbRdpL94vfsy33e5+izuwz3nFLFPVNayPZx/jdG1fOChflFRvYzsW6L18efgLrSWIgvcqnGJYi4skO4xREURjbDuxKke5v0T3Mrzkt2fi31uyZlLLrqIpEuXXsMlgw442Jb0GAxjS1DM20kBoCzHLXm/jEm0IltdcvU0fEW24jgiwwRjVd9u4NJHcIyoHJcwvyVqgqj5hqBJ1ZWSJryh9p56UWhX1XbhRbW2ZopuZWsQd5y8mEQ8M+C6xjRYxZbDKWf5AgY+Qq/l6wSPk16zDFjowYuu+wjx13mfkxbyDDxadYT/LijZyI0THB+6yfLaWsRcO82zo9mWTNtpO18qlorZoIVMwSN40tky5DOQ1MCIAe24mvlsuwIIxPb10+uXDQ4uWz/9m3rj+ql7p6bufZARuPVq5tXtsn6KwfP8Jy0TeWOyNhUJN6mhX5rkUTtUppQWEMNTqEdaCGKFYKJaQrCE4JtDLYOlNEKmO5kBTPGY2A0N2sY3+dVlo1N9ycBsIGtOjQ2p/tlZvzo0ur4v6cOh8NTospB7U/X40KahoU3bGIH97dnwmtHlYffVG3R1YOwKM2vNhrPhCT5zk64sG53oS4b31aYjqe/B7+kQiXBN+b6h21hNUPMq29B8CU4elINdygMPKF1B+WBTG7Z9ZshpN/xwEuuDQZR+nuoo4CDaAiiwXmLpmukMQyPf/JMclqgL1ixZQ/nnP2VbdUODFGt2fgBvL123rlLYu/6A9ckb7F3K0/CyBMEu6aQoPscroCcacVehvyQyCZAsizsWWBkoLC+WAiWnOksLKaeuQDzGuqSk42aiYTiJ4zf9afl17SrqaTO1f+XlZAfIuYcq7/IqYMaMrksOJ6vHkOCPDq943xcCnHqVD9pHFRpMqSPXrIua1WNs+tOz1U+ciTCDpPk+c4QYJIHnYhxP/kVPAq+ahFpVhPcHp8qyarhiF+HsBU9Hrl+UZa876fbKipL0KqB6OdUveErgtOI97fZ63ae9SvWU6k2w1JfwqnUbHsYcFCJFrC/W12zIMMirWYEHxMPs6LGYSdkSZ5TsNP9PCpwnWC3HKZ1lydNjWHC2Mn3l6vL0dHn1ldP3LTSrX+vKrBqv7KmMr8p0SR6P1NqF63or6XRlIyO90f7+kf7+myOhvt4tq7f09oUiTc2/dycGgqFQcCDRLYmi1NL7fk0CknVMxEg/cdfs/TnpJMNkgqwj17B8beVazSrVbU4lG67IZYOCnWrYy3yBR9cyWcChywos3LJBEdhhFoAdYjiw0rLGm0xU5OzoGm5/ZfmHjVZpNNg6SznzGKDdwv2cCtVn6Eaxo12cfxLprpVtTcZ6hVx6dow7Yq7e8LXO8PY9Jgjoze9yCtU5FNbegcKkQMdCbt9au/te4Ebe0jkc0ukUL32eYnTpNs20h0KpUOhZPYwVcfhZnfdqeCvDfXiuCbAoYWcXERPc/mDQD3/hdF+wK4i/xv3kYfprIpAuMkk2kW3kdtS0kBIKpZwp8KxmsCyfM1MFzAss9LBkDxRyThiaqTLwKYKJVTwmWTudMyz+yks09346MDh4m72yOxCKrt1XMlQ1qPVlTEVVQ1ofdK/sCWjtZu9qGwZ8YZ9PPWlo1IV3eW3+U0aXblP39zrt+JPf6UhEQ1rUjNBULN+utyuaDNW34kpAVuSOeMTyWbSNWnooFu+QFNWQ4d/Ox4IPWx41fP/fB/Rjeoz08ezPA9TysMtmnOXfGN7Ui3xIYLDALrlDLOP09qtJuY2OeL0+QZXdRnR1nxRVBF/SOyKKPpcrn9mWzH4rH9IidE+PTNU2182+hOgSItrE1slByS24vaLvJpxOqe4Pduf3HJkZ+jLqUz9rRzB7p8gKcgWZwV1L8JtUS5Z2JxZSOCuBoMTQihMzLbCPA0KqGMAljRQjONklW/wjnXKy8vxT/Elvm3/KiMUMOoV0/vnDYlhec0SMKtt3/kKMyOt33tj2bqxQLsTjSGLl+EAsNhCnTyRGktW55EgCn/A4PlnWn+Mg8bgZrWqHxTbPwMuyy1u5YeZF2SUM7JRhddwRgiRuxpmgJmxn9ZW7XpcF3ViX/ar6ptRpGJ0S9Adg4qhb9sI3vbL7qNJV/y4i07t5TZBiho1imFoMz3gED+CtjYUxvP4SOxov4bFoNPg5aR1e+G4UgDPoedJTpogyCJ7oYvRqoVS0MQAy+CoNEdTDUjok5ZHZL/WtjV7rFj3PKQE3iKp7ou+rIxN3b9LB1dGjeT4cvKo3FrnWpYpuaFd/h3dtV8UeKN1Y9hpR3dt4p0H/zKuPQq0kZQUIIpuDfoiETsnIk+gCWMJZUXHtE8V9LkUc2TE8vOMbO4ax/MACabzyaGXc7u3FBr11ThBdB8SIeMAlCntG2KThHSPsaj2Dc9KNyY2a0KZ7ODaTHoRiFkeYz+shZBpCS4X6471KKKnuHd84edfk5F37d1XO5bbkcltu2ZLNbvnPXiUVAnVvprJrP+NObryjxrllS65md6Tm6wzFHRR4dY3QUUjb7MgxaIixU8hspi98fl/Xc+IB4iU66eCVL9YfAfahiSUt4TONS8x0D8W7u8vd3fGWx6OXlM/U1IoU/s61PGhpyXRFa3eReq2qG56lvmYtXavCC1iN7lbiBpWxXHU+cSlztVLVz0tVN600fVsLxaVDknhYioeoXP3t4lqV1r79MAw0GCI1FTL1YIGzPL1MMlJ9ZsN9P7lvA2yr9ZFUzwzPrVgxN/x/SS+chwB4nGNgZGBgAOLPrYdY4vltvjJwM78AijDUqG5oRND/XzNPZboF5HIwMIFEAU/lC+J4nGNgZGBgDvqfBSRfMAAB81QGRgZUoA0AVvYDbwAAAHicY2BgYGB+MTQwAM8EJo8AAAAAAE4AmgDoAQoBLAFOAXABmgHEAe4CGgKcAugEmgS8BNYE8gUOBSoFegXQBf4GRAZmBrYHGAeQCBgIUghqCP4JRgm+CdoKBAo+CoQKugr0C1QLmgvAeJxjYGRgYNBmTGEQZQABJiDmAkIGhv9gPgMAGJQBvAB4nG2RPU7DMBiG3/QP0UoIBGJh8QILavozdmRo9w7d09RpUzlx5LgVvQMn4BAcgoEzcAgOwVvzSZVQbcnf48fvFysJgGt8IcJxROiG9TgauODuj5ukG+EW+UG4jR4ehTv0Q+EunjER7uEWmk+IWpc0d3gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
@@ -3080,11 +3080,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3080
3080
  --lumo-icons-upload: '\\ea29';
3081
3081
  --lumo-icons-user: '\\ea2a';
3082
3082
  }
3083
- `;Be("font-icons",Rl);/**
3083
+ `;Be("font-icons",Ll);/**
3084
3084
  * @license
3085
3085
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
3086
3086
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3087
- */const Xi=C`
3087
+ */const Ji=C`
3088
3088
  [part$='button'] {
3089
3089
  flex: none;
3090
3090
  width: 1em;
@@ -3111,11 +3111,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3111
3111
  font-family: 'lumo-icons';
3112
3112
  display: block;
3113
3113
  }
3114
- `;R("",Xi,{moduleId:"lumo-field-button"});/**
3114
+ `;R("",Ji,{moduleId:"lumo-field-button"});/**
3115
3115
  * @license
3116
3116
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
3117
3117
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3118
- */const Bl=C`
3118
+ */const $l=C`
3119
3119
  :host([has-helper]) [part='helper-text']::before {
3120
3120
  content: '';
3121
3121
  display: block;
@@ -3170,7 +3170,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3170
3170
  * @license
3171
3171
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
3172
3172
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3173
- */const Zi=C`
3173
+ */const Xi=C`
3174
3174
  [part='label'] {
3175
3175
  align-self: flex-start;
3176
3176
  color: var(--lumo-secondary-text-color);
@@ -3266,11 +3266,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3266
3266
  margin-left: 0;
3267
3267
  margin-right: calc(var(--lumo-border-radius-m) / 4);
3268
3268
  }
3269
- `;R("",Zi,{moduleId:"lumo-required-field"});/**
3269
+ `;R("",Xi,{moduleId:"lumo-required-field"});/**
3270
3270
  * @license
3271
3271
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
3272
3272
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3273
- */const Hl=C`
3273
+ */const Rl=C`
3274
3274
  :host {
3275
3275
  --lumo-text-field-size: var(--lumo-size-m);
3276
3276
  color: var(--lumo-body-text-color);
@@ -3404,7 +3404,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3404
3404
  [part='clear-button']::before {
3405
3405
  content: var(--lumo-icons-cross);
3406
3406
  }
3407
- `,Qi=[Zi,Xi,Bl,Hl];R("",Qi,{moduleId:"lumo-input-field-shared-styles"});const jl=C`
3407
+ `,Zi=[Xi,Ji,$l,Rl];R("",Zi,{moduleId:"lumo-input-field-shared-styles"});const Bl=C`
3408
3408
  :host {
3409
3409
  outline: none;
3410
3410
  }
@@ -3430,7 +3430,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3430
3430
  :host([dir='rtl']) [part='input-field'] ::slotted(input:placeholder-shown) {
3431
3431
  --_lumo-text-field-overflow-mask-image: none;
3432
3432
  }
3433
- `;R("vaadin-date-picker",[Qi,jl],{moduleId:"lumo-date-picker"});/**
3433
+ `;R("vaadin-date-picker",[Zi,Bl],{moduleId:"lumo-date-picker"});/**
3434
3434
  @license
3435
3435
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
3436
3436
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -3438,47 +3438,47 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
3438
3438
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
3439
3439
  Code distributed by Google as part of the polymer project is also
3440
3440
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
3441
- */let Do=!1,Yl=[],er=[];function Vl(){Do=!0,requestAnimationFrame(function(){Do=!1,Ul(Yl),setTimeout(function(){Wl(er)})})}function Ul(s){for(;s.length;)tr(s.shift())}function Wl(s){for(let t=0,e=s.length;t<e;t++)tr(s.shift())}function tr(s){const t=s[0],e=s[1],o=s[2];try{e.apply(t,o)}catch(i){setTimeout(()=>{throw i})}}function or(s,t,e){Do||Vl(),er.push([s,t,e])}/**
3441
+ */let Do=!1,Hl=[],Qi=[];function jl(){Do=!0,requestAnimationFrame(function(){Do=!1,Yl(Hl),setTimeout(function(){Vl(Qi)})})}function Yl(s){for(;s.length;)er(s.shift())}function Vl(s){for(let t=0,e=s.length;t<e;t++)er(s.shift())}function er(s){const t=s[0],e=s[1],o=s[2];try{e.apply(t,o)}catch(i){setTimeout(()=>{throw i})}}function tr(s,t,e){Do||jl(),Qi.push([s,t,e])}/**
3442
3442
  * @license
3443
3443
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
3444
3444
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3445
- */const $t=s=>s.test(navigator.userAgent),To=s=>s.test(navigator.platform),ql=s=>s.test(navigator.vendor);$t(/Android/u);$t(/Chrome/u)&&ql(/Google Inc/u);const Kl=$t(/Firefox/u),Gl=To(/^iPad/u)||To(/^Mac/u)&&navigator.maxTouchPoints>1,Jl=To(/^iPhone/u),sr=Jl||Gl;$t(/^((?!chrome|android).)*safari/iu);const Xl=(()=>{try{return document.createEvent("TouchEvent"),!0}catch(s){return!1}})();/**
3445
+ */const Rt=s=>s.test(navigator.userAgent),To=s=>s.test(navigator.platform),Ul=s=>s.test(navigator.vendor);Rt(/Android/u);Rt(/Chrome/u)&&Ul(/Google Inc/u);const Wl=Rt(/Firefox/u),ql=To(/^iPad/u)||To(/^Mac/u)&&navigator.maxTouchPoints>1,Kl=To(/^iPhone/u),or=Kl||ql;Rt(/^((?!chrome|android).)*safari/iu);const Gl=(()=>{try{return document.createEvent("TouchEvent"),!0}catch(s){return!1}})();/**
3446
3446
  * @license
3447
3447
  * Copyright (c) 2017 Anton Korzunov
3448
3448
  * SPDX-License-Identifier: MIT
3449
- */let Oe=new WeakMap,yt=new WeakMap,vt={},so=0;const Ws=s=>s&&s.nodeType===Node.ELEMENT_NODE,io=(...s)=>{console.error(`Error: ${s.join(" ")}. Skip setting aria-hidden.`)},Zl=(s,t)=>Ws(s)?t.map(e=>{if(!Ws(e))return io(e,"is not a valid element"),null;let o=e;for(;o&&o!==s;){if(s.contains(o))return e;o=o.getRootNode().host}return io(e,"is not contained inside",s),null}).filter(e=>!!e):(io(s,"is not a valid element"),[]),Ql=(s,t,e,o)=>{const i=Zl(t,Array.isArray(s)?s:[s]);vt[e]||(vt[e]=new WeakMap);const r=vt[e],n=[],a=new Set,l=new Set(i),c=h=>{if(!h||a.has(h))return;a.add(h);const p=h.assignedSlot;p&&c(p),c(h.parentNode||h.host)};i.forEach(c);const d=h=>{if(!h||l.has(h))return;const p=h.shadowRoot;(p?[...h.children,...p.children]:[...h.children]).forEach(v=>{if(!["template","script","style"].includes(v.localName))if(a.has(v))d(v);else{const P=v.getAttribute(o),N=P!==null&&P!=="false",O=(Oe.get(v)||0)+1,I=(r.get(v)||0)+1;Oe.set(v,O),r.set(v,I),n.push(v),O===1&&N&&yt.set(v,!0),I===1&&v.setAttribute(e,"true"),N||v.setAttribute(o,"true")}})};return d(t),a.clear(),so+=1,()=>{n.forEach(h=>{const p=Oe.get(h)-1,m=r.get(h)-1;Oe.set(h,p),r.set(h,m),p||(yt.has(h)?yt.delete(h):h.removeAttribute(o)),m||h.removeAttribute(e)}),so-=1,so||(Oe=new WeakMap,Oe=new WeakMap,yt=new WeakMap,vt={})}},ir=(s,t=document.body,e="data-aria-hidden")=>{const o=Array.from(Array.isArray(s)?s:[s]);return t&&o.push(...Array.from(t.querySelectorAll("[aria-live]"))),Ql(o,t,e,"aria-hidden")};/**
3449
+ */let Oe=new WeakMap,yt=new WeakMap,vt={},so=0;const Vs=s=>s&&s.nodeType===Node.ELEMENT_NODE,io=(...s)=>{console.error(`Error: ${s.join(" ")}. Skip setting aria-hidden.`)},Jl=(s,t)=>Vs(s)?t.map(e=>{if(!Vs(e))return io(e,"is not a valid element"),null;let o=e;for(;o&&o!==s;){if(s.contains(o))return e;o=o.getRootNode().host}return io(e,"is not contained inside",s),null}).filter(e=>!!e):(io(s,"is not a valid element"),[]),Xl=(s,t,e,o)=>{const i=Jl(t,Array.isArray(s)?s:[s]);vt[e]||(vt[e]=new WeakMap);const r=vt[e],n=[],a=new Set,l=new Set(i),c=h=>{if(!h||a.has(h))return;a.add(h);const p=h.assignedSlot;p&&c(p),c(h.parentNode||h.host)};i.forEach(c);const d=h=>{if(!h||l.has(h))return;const p=h.shadowRoot;(p?[...h.children,...p.children]:[...h.children]).forEach(v=>{if(!["template","script","style"].includes(v.localName))if(a.has(v))d(v);else{const P=v.getAttribute(o),N=P!==null&&P!=="false",O=(Oe.get(v)||0)+1,I=(r.get(v)||0)+1;Oe.set(v,O),r.set(v,I),n.push(v),O===1&&N&&yt.set(v,!0),I===1&&v.setAttribute(e,"true"),N||v.setAttribute(o,"true")}})};return d(t),a.clear(),so+=1,()=>{n.forEach(h=>{const p=Oe.get(h)-1,m=r.get(h)-1;Oe.set(h,p),r.set(h,m),p||(yt.has(h)?yt.delete(h):h.removeAttribute(o)),m||h.removeAttribute(e)}),so-=1,so||(Oe=new WeakMap,Oe=new WeakMap,yt=new WeakMap,vt={})}},sr=(s,t=document.body,e="data-aria-hidden")=>{const o=Array.from(Array.isArray(s)?s:[s]);return t&&o.push(...Array.from(t.querySelectorAll("[aria-live]"))),Xl(o,t,e,"aria-hidden")};/**
3450
3450
  * @license
3451
3451
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
3452
3452
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3453
- */class ec{constructor(t,e){this.host=t,this.callback=typeof e=="function"?e:()=>t}showModal(){const t=this.callback();this.__showOthers=ir(t)}close(){this.__showOthers&&(this.__showOthers(),this.__showOthers=null)}}/**
3453
+ */class Zl{constructor(t,e){this.host=t,this.callback=typeof e=="function"?e:()=>t}showModal(){const t=this.callback();this.__showOthers=sr(t)}close(){this.__showOthers&&(this.__showOthers(),this.__showOthers=null)}}/**
3454
3454
  * @license
3455
3455
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
3456
3456
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3457
- */class tc{saveFocus(t){this.focusNode=t||ko()}restoreFocus(){const t=this.focusNode;t&&(ko()===document.body?setTimeout(()=>t.focus()):t.focus(),this.focusNode=null)}}/**
3457
+ */class Ql{saveFocus(t){this.focusNode=t||ko()}restoreFocus(){const t=this.focusNode;t&&(ko()===document.body?setTimeout(()=>t.focus()):t.focus(),this.focusNode=null)}}/**
3458
3458
  * @license
3459
3459
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
3460
3460
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3461
- */const ro=[];class oc{constructor(t){this.host=t,this.__trapNode=null,this.__onKeyDown=this.__onKeyDown.bind(this)}get __focusableElements(){return Fl(this.__trapNode)}get __focusedElementIndex(){const t=this.__focusableElements;return t.indexOf(t.filter(zl).pop())}hostConnected(){document.addEventListener("keydown",this.__onKeyDown)}hostDisconnected(){document.removeEventListener("keydown",this.__onKeyDown)}trapFocus(t){if(this.__trapNode=t,this.__focusableElements.length===0)throw this.__trapNode=null,new Error("The trap node should have at least one focusable descendant or be focusable itself.");ro.push(this),this.__focusedElementIndex===-1&&this.__focusableElements[0].focus()}releaseFocus(){this.__trapNode=null,ro.pop()}__onKeyDown(t){if(this.__trapNode&&this===Array.from(ro).pop()&&t.key==="Tab"){t.preventDefault();const e=t.shiftKey;this.__focusNextElement(e)}}__focusNextElement(t=!1){const e=this.__focusableElements,o=t?-1:1,i=this.__focusedElementIndex,r=(e.length+i+o)%e.length,n=e[r];n.focus(),n.localName==="input"&&n.select()}}/**
3461
+ */const ro=[];class ec{constructor(t){this.host=t,this.__trapNode=null,this.__onKeyDown=this.__onKeyDown.bind(this)}get __focusableElements(){return zl(this.__trapNode)}get __focusedElementIndex(){const t=this.__focusableElements;return t.indexOf(t.filter(Ol).pop())}hostConnected(){document.addEventListener("keydown",this.__onKeyDown)}hostDisconnected(){document.removeEventListener("keydown",this.__onKeyDown)}trapFocus(t){if(this.__trapNode=t,this.__focusableElements.length===0)throw this.__trapNode=null,new Error("The trap node should have at least one focusable descendant or be focusable itself.");ro.push(this),this.__focusedElementIndex===-1&&this.__focusableElements[0].focus()}releaseFocus(){this.__trapNode=null,ro.pop()}__onKeyDown(t){if(this.__trapNode&&this===Array.from(ro).pop()&&t.key==="Tab"){t.preventDefault();const e=t.shiftKey;this.__focusNextElement(e)}}__focusNextElement(t=!1){const e=this.__focusableElements,o=t?-1:1,i=this.__focusedElementIndex,r=(e.length+i+o)%e.length,n=e[r];n.focus(),n.localName==="input"&&n.select()}}/**
3462
3462
  * @license
3463
3463
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
3464
3464
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3465
- */const sc=s=>class extends He(s){static get properties(){return{focusTrap:{type:Boolean,value:!1},restoreFocusOnClose:{type:Boolean,value:!1},restoreFocusNode:{type:HTMLElement}}}constructor(){super(),this.__ariaModalController=new ec(this),this.__focusTrapController=new oc(this),this.__focusRestorationController=new tc}ready(){super.ready(),this.addController(this.__ariaModalController),this.addController(this.__focusTrapController),this.addController(this.__focusRestorationController)}_resetFocus(){this.focusTrap&&(this.__ariaModalController.close(),this.__focusTrapController.releaseFocus()),this.restoreFocusOnClose&&this._shouldRestoreFocus()&&this.__focusRestorationController.restoreFocus()}_saveFocus(){this.restoreFocusOnClose&&this.__focusRestorationController.saveFocus(this.restoreFocusNode)}_trapFocus(){this.focusTrap&&(this.__ariaModalController.showModal(),this.__focusTrapController.trapFocus(this.$.overlay))}_shouldRestoreFocus(){const e=ko();return e===document.body||this._deepContains(e)}_deepContains(e){if(this.contains(e))return!0;let o=e;const i=e.ownerDocument;for(;o&&o!==i&&o!==this;)o=o.parentNode||o.host;return o===this}};/**
3465
+ */const tc=s=>class extends He(s){static get properties(){return{focusTrap:{type:Boolean,value:!1},restoreFocusOnClose:{type:Boolean,value:!1},restoreFocusNode:{type:HTMLElement}}}constructor(){super(),this.__ariaModalController=new Zl(this),this.__focusTrapController=new ec(this),this.__focusRestorationController=new Ql}ready(){super.ready(),this.addController(this.__ariaModalController),this.addController(this.__focusTrapController),this.addController(this.__focusRestorationController)}_resetFocus(){this.focusTrap&&(this.__ariaModalController.close(),this.__focusTrapController.releaseFocus()),this.restoreFocusOnClose&&this._shouldRestoreFocus()&&this.__focusRestorationController.restoreFocus()}_saveFocus(){this.restoreFocusOnClose&&this.__focusRestorationController.saveFocus(this.restoreFocusNode)}_trapFocus(){this.focusTrap&&(this.__ariaModalController.showModal(),this.__focusTrapController.trapFocus(this.$.overlay))}_shouldRestoreFocus(){const e=ko();return e===document.body||this._deepContains(e)}_deepContains(e){if(this.contains(e))return!0;let o=e;const i=e.ownerDocument;for(;o&&o!==i&&o!==this;)o=o.parentNode||o.host;return o===this}};/**
3466
3466
  * @license
3467
3467
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
3468
3468
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3469
- */const Et=()=>Array.from(document.body.children).filter(s=>s instanceof HTMLElement&&s._hasOverlayStackMixin&&!s.hasAttribute("closing")).sort((s,t)=>s.__zIndex-t.__zIndex||0),ic=s=>s===Et().pop(),rc=s=>class extends s{constructor(){super(),this._hasOverlayStackMixin=!0}get _last(){return ic(this)}bringToFront(){let e="";const o=Et().filter(i=>i!==this).pop();o&&(e=o.__zIndex+1),this.style.zIndex=e,this.__zIndex=e||parseFloat(getComputedStyle(this).zIndex)}_enterModalState(){document.body.style.pointerEvents!=="none"&&(this._previousDocumentPointerEvents=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),Et().forEach(e=>{e!==this&&(e.$.overlay.style.pointerEvents="none")})}_exitModalState(){this._previousDocumentPointerEvents!==void 0&&(document.body.style.pointerEvents=this._previousDocumentPointerEvents,delete this._previousDocumentPointerEvents);const e=Et();let o;for(;(o=e.pop())&&!(o!==this&&(o.$.overlay.style.removeProperty("pointer-events"),!o.modeless)););}};/**
3469
+ */const Et=()=>Array.from(document.body.children).filter(s=>s instanceof HTMLElement&&s._hasOverlayStackMixin&&!s.hasAttribute("closing")).sort((s,t)=>s.__zIndex-t.__zIndex||0),oc=s=>s===Et().pop(),sc=s=>class extends s{constructor(){super(),this._hasOverlayStackMixin=!0}get _last(){return oc(this)}bringToFront(){let e="";const o=Et().filter(i=>i!==this).pop();o&&(e=o.__zIndex+1),this.style.zIndex=e,this.__zIndex=e||parseFloat(getComputedStyle(this).zIndex)}_enterModalState(){document.body.style.pointerEvents!=="none"&&(this._previousDocumentPointerEvents=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),Et().forEach(e=>{e!==this&&(e.$.overlay.style.pointerEvents="none")})}_exitModalState(){this._previousDocumentPointerEvents!==void 0&&(document.body.style.pointerEvents=this._previousDocumentPointerEvents,delete this._previousDocumentPointerEvents);const e=Et();let o;for(;(o=e.pop())&&!(o!==this&&(o.$.overlay.style.removeProperty("pointer-events"),!o.modeless)););}};/**
3470
3470
  * @license
3471
3471
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
3472
3472
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3473
- */const nc=s=>class extends sc(rc(s)){static get properties(){return{opened:{type:Boolean,notify:!0,observer:"_openedChanged",reflectToAttribute:!0},owner:{type:Object},model:{type:Object},renderer:{type:Object},modeless:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_modelessChanged"},hidden:{type:Boolean,reflectToAttribute:!0,observer:"_hiddenChanged"},withBackdrop:{type:Boolean,value:!1,reflectToAttribute:!0}}}static get observers(){return["_rendererOrDataChanged(renderer, owner, model, opened)"]}constructor(){super(),this._boundMouseDownListener=this._mouseDownListener.bind(this),this._boundMouseUpListener=this._mouseUpListener.bind(this),this._boundOutsideClickListener=this._outsideClickListener.bind(this),this._boundKeydownListener=this._keydownListener.bind(this),sr&&(this._boundIosResizeListener=()=>this._detectIosNavbar())}ready(){super.ready(),this.addEventListener("click",()=>{}),this.$.backdrop.addEventListener("click",()=>{}),this.addEventListener("mouseup",()=>{document.activeElement===document.body&&this.$.overlay.getAttribute("tabindex")==="0"&&this.$.overlay.focus()})}connectedCallback(){super.connectedCallback(),this._boundIosResizeListener&&(this._detectIosNavbar(),window.addEventListener("resize",this._boundIosResizeListener))}disconnectedCallback(){super.disconnectedCallback(),this._boundIosResizeListener&&window.removeEventListener("resize",this._boundIosResizeListener)}requestContentUpdate(){this.renderer&&this.renderer.call(this.owner,this,this.owner,this.model)}close(e){const o=new CustomEvent("vaadin-overlay-close",{bubbles:!0,cancelable:!0,detail:{sourceEvent:e}});this.dispatchEvent(o),o.defaultPrevented||(this.opened=!1)}_detectIosNavbar(){if(!this.opened)return;const e=window.innerHeight,i=window.innerWidth>e,r=document.documentElement.clientHeight;i&&r>e?this.style.setProperty("--vaadin-overlay-viewport-bottom",`${r-e}px`):this.style.setProperty("--vaadin-overlay-viewport-bottom","0")}_addGlobalListeners(){document.addEventListener("mousedown",this._boundMouseDownListener),document.addEventListener("mouseup",this._boundMouseUpListener),document.documentElement.addEventListener("click",this._boundOutsideClickListener,!0)}_removeGlobalListeners(){document.removeEventListener("mousedown",this._boundMouseDownListener),document.removeEventListener("mouseup",this._boundMouseUpListener),document.documentElement.removeEventListener("click",this._boundOutsideClickListener,!0)}_rendererOrDataChanged(e,o,i,r){const n=this._oldOwner!==o||this._oldModel!==i;this._oldModel=i,this._oldOwner=o;const a=this._oldRenderer!==e;this._oldRenderer=e;const l=this._oldOpened!==r;this._oldOpened=r,a&&(this.innerHTML="",delete this._$litPart$),r&&e&&(a||l||n)&&this.requestContentUpdate()}_modelessChanged(e){e?(this._removeGlobalListeners(),this._exitModalState()):this.opened&&(this._addGlobalListeners(),this._enterModalState())}_openedChanged(e,o){e?(this._saveFocus(),this._animatedOpening(),or(this,()=>{this._trapFocus();const i=new CustomEvent("vaadin-overlay-open",{bubbles:!0});this.dispatchEvent(i)}),document.addEventListener("keydown",this._boundKeydownListener),this.modeless||this._addGlobalListeners()):o&&(this._resetFocus(),this._animatedClosing(),document.removeEventListener("keydown",this._boundKeydownListener),this.modeless||this._removeGlobalListeners())}_hiddenChanged(e){e&&this.hasAttribute("closing")&&this._flushAnimation("closing")}_shouldAnimate(){const e=getComputedStyle(this),o=e.getPropertyValue("animation-name");return!(e.getPropertyValue("display")==="none")&&o&&o!=="none"}_enqueueAnimation(e,o){const i=`__${e}Handler`,r=n=>{n&&n.target!==this||(o(),this.removeEventListener("animationend",r),delete this[i])};this[i]=r,this.addEventListener("animationend",r)}_flushAnimation(e){const o=`__${e}Handler`;typeof this[o]=="function"&&this[o]()}_animatedOpening(){this.parentNode===document.body&&this.hasAttribute("closing")&&this._flushAnimation("closing"),this._attachOverlay(),this.modeless||this._enterModalState(),this.setAttribute("opening",""),this._shouldAnimate()?this._enqueueAnimation("opening",()=>{this._finishOpening()}):this._finishOpening()}_attachOverlay(){this._placeholder=document.createComment("vaadin-overlay-placeholder"),this.parentNode.insertBefore(this._placeholder,this),document.body.appendChild(this),this.bringToFront()}_finishOpening(){this.removeAttribute("opening")}_finishClosing(){this._detachOverlay(),this.$.overlay.style.removeProperty("pointer-events"),this.removeAttribute("closing"),this.dispatchEvent(new CustomEvent("vaadin-overlay-closed"))}_animatedClosing(){this.hasAttribute("opening")&&this._flushAnimation("opening"),this._placeholder&&(this._exitModalState(),this.setAttribute("closing",""),this.dispatchEvent(new CustomEvent("vaadin-overlay-closing")),this._shouldAnimate()?this._enqueueAnimation("closing",()=>{this._finishClosing()}):this._finishClosing())}_detachOverlay(){this._placeholder.parentNode.insertBefore(this,this._placeholder),this._placeholder.parentNode.removeChild(this._placeholder)}_mouseDownListener(e){this._mouseDownInside=e.composedPath().indexOf(this.$.overlay)>=0}_mouseUpListener(e){this._mouseUpInside=e.composedPath().indexOf(this.$.overlay)>=0}_shouldCloseOnOutsideClick(e){return this._last}_outsideClickListener(e){if(e.composedPath().includes(this.$.overlay)||this._mouseDownInside||this._mouseUpInside){this._mouseDownInside=!1,this._mouseUpInside=!1;return}if(!this._shouldCloseOnOutsideClick(e))return;const o=new CustomEvent("vaadin-overlay-outside-click",{bubbles:!0,cancelable:!0,detail:{sourceEvent:e}});this.dispatchEvent(o),this.opened&&!o.defaultPrevented&&this.close(e)}_keydownListener(e){if(this._last&&!(this.modeless&&!e.composedPath().includes(this.$.overlay))&&e.key==="Escape"){const o=new CustomEvent("vaadin-overlay-escape-press",{bubbles:!0,cancelable:!0,detail:{sourceEvent:e}});this.dispatchEvent(o),this.opened&&!o.defaultPrevented&&this.close(e)}}};/**
3473
+ */const ic=s=>class extends tc(sc(s)){static get properties(){return{opened:{type:Boolean,notify:!0,observer:"_openedChanged",reflectToAttribute:!0},owner:{type:Object},model:{type:Object},renderer:{type:Object},modeless:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_modelessChanged"},hidden:{type:Boolean,reflectToAttribute:!0,observer:"_hiddenChanged"},withBackdrop:{type:Boolean,value:!1,reflectToAttribute:!0}}}static get observers(){return["_rendererOrDataChanged(renderer, owner, model, opened)"]}constructor(){super(),this._boundMouseDownListener=this._mouseDownListener.bind(this),this._boundMouseUpListener=this._mouseUpListener.bind(this),this._boundOutsideClickListener=this._outsideClickListener.bind(this),this._boundKeydownListener=this._keydownListener.bind(this),or&&(this._boundIosResizeListener=()=>this._detectIosNavbar())}ready(){super.ready(),this.addEventListener("click",()=>{}),this.$.backdrop.addEventListener("click",()=>{}),this.addEventListener("mouseup",()=>{document.activeElement===document.body&&this.$.overlay.getAttribute("tabindex")==="0"&&this.$.overlay.focus()})}connectedCallback(){super.connectedCallback(),this._boundIosResizeListener&&(this._detectIosNavbar(),window.addEventListener("resize",this._boundIosResizeListener))}disconnectedCallback(){super.disconnectedCallback(),this._boundIosResizeListener&&window.removeEventListener("resize",this._boundIosResizeListener)}requestContentUpdate(){this.renderer&&this.renderer.call(this.owner,this,this.owner,this.model)}close(e){const o=new CustomEvent("vaadin-overlay-close",{bubbles:!0,cancelable:!0,detail:{sourceEvent:e}});this.dispatchEvent(o),o.defaultPrevented||(this.opened=!1)}_detectIosNavbar(){if(!this.opened)return;const e=window.innerHeight,i=window.innerWidth>e,r=document.documentElement.clientHeight;i&&r>e?this.style.setProperty("--vaadin-overlay-viewport-bottom",`${r-e}px`):this.style.setProperty("--vaadin-overlay-viewport-bottom","0")}_addGlobalListeners(){document.addEventListener("mousedown",this._boundMouseDownListener),document.addEventListener("mouseup",this._boundMouseUpListener),document.documentElement.addEventListener("click",this._boundOutsideClickListener,!0)}_removeGlobalListeners(){document.removeEventListener("mousedown",this._boundMouseDownListener),document.removeEventListener("mouseup",this._boundMouseUpListener),document.documentElement.removeEventListener("click",this._boundOutsideClickListener,!0)}_rendererOrDataChanged(e,o,i,r){const n=this._oldOwner!==o||this._oldModel!==i;this._oldModel=i,this._oldOwner=o;const a=this._oldRenderer!==e;this._oldRenderer=e;const l=this._oldOpened!==r;this._oldOpened=r,a&&(this.innerHTML="",delete this._$litPart$),r&&e&&(a||l||n)&&this.requestContentUpdate()}_modelessChanged(e){e?(this._removeGlobalListeners(),this._exitModalState()):this.opened&&(this._addGlobalListeners(),this._enterModalState())}_openedChanged(e,o){e?(this._saveFocus(),this._animatedOpening(),tr(this,()=>{this._trapFocus();const i=new CustomEvent("vaadin-overlay-open",{bubbles:!0});this.dispatchEvent(i)}),document.addEventListener("keydown",this._boundKeydownListener),this.modeless||this._addGlobalListeners()):o&&(this._resetFocus(),this._animatedClosing(),document.removeEventListener("keydown",this._boundKeydownListener),this.modeless||this._removeGlobalListeners())}_hiddenChanged(e){e&&this.hasAttribute("closing")&&this._flushAnimation("closing")}_shouldAnimate(){const e=getComputedStyle(this),o=e.getPropertyValue("animation-name");return!(e.getPropertyValue("display")==="none")&&o&&o!=="none"}_enqueueAnimation(e,o){const i=`__${e}Handler`,r=n=>{n&&n.target!==this||(o(),this.removeEventListener("animationend",r),delete this[i])};this[i]=r,this.addEventListener("animationend",r)}_flushAnimation(e){const o=`__${e}Handler`;typeof this[o]=="function"&&this[o]()}_animatedOpening(){this.parentNode===document.body&&this.hasAttribute("closing")&&this._flushAnimation("closing"),this._attachOverlay(),this.modeless||this._enterModalState(),this.setAttribute("opening",""),this._shouldAnimate()?this._enqueueAnimation("opening",()=>{this._finishOpening()}):this._finishOpening()}_attachOverlay(){this._placeholder=document.createComment("vaadin-overlay-placeholder"),this.parentNode.insertBefore(this._placeholder,this),document.body.appendChild(this),this.bringToFront()}_finishOpening(){this.removeAttribute("opening")}_finishClosing(){this._detachOverlay(),this.$.overlay.style.removeProperty("pointer-events"),this.removeAttribute("closing"),this.dispatchEvent(new CustomEvent("vaadin-overlay-closed"))}_animatedClosing(){this.hasAttribute("opening")&&this._flushAnimation("opening"),this._placeholder&&(this._exitModalState(),this.setAttribute("closing",""),this.dispatchEvent(new CustomEvent("vaadin-overlay-closing")),this._shouldAnimate()?this._enqueueAnimation("closing",()=>{this._finishClosing()}):this._finishClosing())}_detachOverlay(){this._placeholder.parentNode.insertBefore(this,this._placeholder),this._placeholder.parentNode.removeChild(this._placeholder)}_mouseDownListener(e){this._mouseDownInside=e.composedPath().indexOf(this.$.overlay)>=0}_mouseUpListener(e){this._mouseUpInside=e.composedPath().indexOf(this.$.overlay)>=0}_shouldCloseOnOutsideClick(e){return this._last}_outsideClickListener(e){if(e.composedPath().includes(this.$.overlay)||this._mouseDownInside||this._mouseUpInside){this._mouseDownInside=!1,this._mouseUpInside=!1;return}if(!this._shouldCloseOnOutsideClick(e))return;const o=new CustomEvent("vaadin-overlay-outside-click",{bubbles:!0,cancelable:!0,detail:{sourceEvent:e}});this.dispatchEvent(o),this.opened&&!o.defaultPrevented&&this.close(e)}_keydownListener(e){if(this._last&&!(this.modeless&&!e.composedPath().includes(this.$.overlay))&&e.key==="Escape"){const o=new CustomEvent("vaadin-overlay-escape-press",{bubbles:!0,cancelable:!0,detail:{sourceEvent:e}});this.dispatchEvent(o),this.opened&&!o.defaultPrevented&&this.close(e)}}};/**
3474
3474
  * @license
3475
3475
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
3476
3476
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3477
- */const no={start:"top",end:"bottom"},ao={start:"left",end:"right"},qs=new ResizeObserver(s=>{setTimeout(()=>{s.forEach(t=>{t.target.__overlay&&t.target.__overlay._updatePosition()})})}),ac=s=>class extends s{static get properties(){return{positionTarget:{type:Object,value:null},horizontalAlign:{type:String,value:"start"},verticalAlign:{type:String,value:"top"},noHorizontalOverlap:{type:Boolean,value:!1},noVerticalOverlap:{type:Boolean,value:!1},requiredVerticalSpace:{type:Number,value: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.addEventListener("resize",this._updatePosition),this.__positionTargetAncestorRootNodes=rl(this.positionTarget),this.__positionTargetAncestorRootNodes.forEach(e=>{e.addEventListener("scroll",this.__onScroll,!0)})}__removeUpdatePositionEventListeners(){window.removeEventListener("resize",this._updatePosition),this.__positionTargetAncestorRootNodes&&(this.__positionTargetAncestorRootNodes.forEach(e=>{e.removeEventListener("scroll",this.__onScroll,!0)}),this.__positionTargetAncestorRootNodes=null)}__overlayOpenedChanged(e,o){if(this.__removeUpdatePositionEventListeners(),o&&(o.__overlay=null,qs.unobserve(o),e&&(this.__addUpdatePositionEventListeners(),o.__overlay=this,qs.observe(o))),e){const i=getComputedStyle(this);this.__margins||(this.__margins={},["top","bottom","left","right"].forEach(r=>{this.__margins[r]=parseInt(i[r],10)})),this.setAttribute("dir",i.direction),this._updatePosition(),requestAnimationFrame(()=>this._updatePosition())}}__positionSettingsChanged(){this._updatePosition()}__onScroll(e){this.contains(e.target)||this._updatePosition()}_updatePosition(){if(!this.positionTarget||!this.opened)return;const e=this.positionTarget.getBoundingClientRect(),o=this.__shouldAlignStartVertically(e);this.style.justifyContent=o?"flex-start":"flex-end";const i=this.__isRTL,r=this.__shouldAlignStartHorizontally(e,i),n=!i&&r||i&&!r;this.style.alignItems=n?"flex-start":"flex-end";const a=this.getBoundingClientRect(),l=this.__calculatePositionInOneDimension(e,a,this.noVerticalOverlap,no,this,o),c=this.__calculatePositionInOneDimension(e,a,this.noHorizontalOverlap,ao,this,r);Object.assign(this.style,l,c),this.toggleAttribute("bottom-aligned",!o),this.toggleAttribute("top-aligned",o),this.toggleAttribute("end-aligned",!n),this.toggleAttribute("start-aligned",n)}__shouldAlignStartHorizontally(e,o){const i=Math.max(this.__oldContentWidth||0,this.$.overlay.offsetWidth);this.__oldContentWidth=this.$.overlay.offsetWidth;const r=Math.min(window.innerWidth,document.documentElement.clientWidth),n=!o&&this.horizontalAlign==="start"||o&&this.horizontalAlign==="end";return this.__shouldAlignStart(e,i,r,this.__margins,n,this.noHorizontalOverlap,ao)}__shouldAlignStartVertically(e){const o=this.requiredVerticalSpace||Math.max(this.__oldContentHeight||0,this.$.overlay.offsetHeight);this.__oldContentHeight=this.$.overlay.offsetHeight;const i=Math.min(window.innerHeight,document.documentElement.clientHeight),r=this.verticalAlign==="top";return this.__shouldAlignStart(e,o,i,this.__margins,r,this.noVerticalOverlap,no)}__shouldAlignStart(e,o,i,r,n,a,l){const c=i-e[a?l.end:l.start]-r[l.end],d=e[a?l.start:l.end]-r[l.start],h=n?c:d,m=h>(n?d:c)||h>o;return n===m}__adjustBottomProperty(e,o,i){let r;if(e===o.end){if(o.end===no.end){const n=Math.min(window.innerHeight,document.documentElement.clientHeight);if(i>n&&this.__oldViewportHeight){const a=this.__oldViewportHeight-n;r=i-a}this.__oldViewportHeight=n}if(o.end===ao.end){const n=Math.min(window.innerWidth,document.documentElement.clientWidth);if(i>n&&this.__oldViewportWidth){const a=this.__oldViewportWidth-n;r=i-a}this.__oldViewportWidth=n}}return r}__calculatePositionInOneDimension(e,o,i,r,n,a){const l=a?r.start:r.end,c=a?r.end:r.start,d=parseFloat(n.style[l]||getComputedStyle(n)[l]),h=this.__adjustBottomProperty(l,r,d),p=o[a?r.start:r.end]-e[i===a?r.end:r.start],m=h?`${h}px`:`${d+p*(a?-1:1)}px`;return{[l]:m,[c]:""}}};/**
3477
+ */const no={start:"top",end:"bottom"},ao={start:"left",end:"right"},Us=new ResizeObserver(s=>{setTimeout(()=>{s.forEach(t=>{t.target.__overlay&&t.target.__overlay._updatePosition()})})}),rc=s=>class extends s{static get properties(){return{positionTarget:{type:Object,value:null},horizontalAlign:{type:String,value:"start"},verticalAlign:{type:String,value:"top"},noHorizontalOverlap:{type:Boolean,value:!1},noVerticalOverlap:{type:Boolean,value:!1},requiredVerticalSpace:{type:Number,value: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.addEventListener("resize",this._updatePosition),this.__positionTargetAncestorRootNodes=sl(this.positionTarget),this.__positionTargetAncestorRootNodes.forEach(e=>{e.addEventListener("scroll",this.__onScroll,!0)})}__removeUpdatePositionEventListeners(){window.removeEventListener("resize",this._updatePosition),this.__positionTargetAncestorRootNodes&&(this.__positionTargetAncestorRootNodes.forEach(e=>{e.removeEventListener("scroll",this.__onScroll,!0)}),this.__positionTargetAncestorRootNodes=null)}__overlayOpenedChanged(e,o){if(this.__removeUpdatePositionEventListeners(),o&&(o.__overlay=null,Us.unobserve(o),e&&(this.__addUpdatePositionEventListeners(),o.__overlay=this,Us.observe(o))),e){const i=getComputedStyle(this);this.__margins||(this.__margins={},["top","bottom","left","right"].forEach(r=>{this.__margins[r]=parseInt(i[r],10)})),this.setAttribute("dir",i.direction),this._updatePosition(),requestAnimationFrame(()=>this._updatePosition())}}__positionSettingsChanged(){this._updatePosition()}__onScroll(e){this.contains(e.target)||this._updatePosition()}_updatePosition(){if(!this.positionTarget||!this.opened)return;const e=this.positionTarget.getBoundingClientRect(),o=this.__shouldAlignStartVertically(e);this.style.justifyContent=o?"flex-start":"flex-end";const i=this.__isRTL,r=this.__shouldAlignStartHorizontally(e,i),n=!i&&r||i&&!r;this.style.alignItems=n?"flex-start":"flex-end";const a=this.getBoundingClientRect(),l=this.__calculatePositionInOneDimension(e,a,this.noVerticalOverlap,no,this,o),c=this.__calculatePositionInOneDimension(e,a,this.noHorizontalOverlap,ao,this,r);Object.assign(this.style,l,c),this.toggleAttribute("bottom-aligned",!o),this.toggleAttribute("top-aligned",o),this.toggleAttribute("end-aligned",!n),this.toggleAttribute("start-aligned",n)}__shouldAlignStartHorizontally(e,o){const i=Math.max(this.__oldContentWidth||0,this.$.overlay.offsetWidth);this.__oldContentWidth=this.$.overlay.offsetWidth;const r=Math.min(window.innerWidth,document.documentElement.clientWidth),n=!o&&this.horizontalAlign==="start"||o&&this.horizontalAlign==="end";return this.__shouldAlignStart(e,i,r,this.__margins,n,this.noHorizontalOverlap,ao)}__shouldAlignStartVertically(e){const o=this.requiredVerticalSpace||Math.max(this.__oldContentHeight||0,this.$.overlay.offsetHeight);this.__oldContentHeight=this.$.overlay.offsetHeight;const i=Math.min(window.innerHeight,document.documentElement.clientHeight),r=this.verticalAlign==="top";return this.__shouldAlignStart(e,o,i,this.__margins,r,this.noVerticalOverlap,no)}__shouldAlignStart(e,o,i,r,n,a,l){const c=i-e[a?l.end:l.start]-r[l.end],d=e[a?l.start:l.end]-r[l.start],h=n?c:d,m=h>(n?d:c)||h>o;return n===m}__adjustBottomProperty(e,o,i){let r;if(e===o.end){if(o.end===no.end){const n=Math.min(window.innerHeight,document.documentElement.clientHeight);if(i>n&&this.__oldViewportHeight){const a=this.__oldViewportHeight-n;r=i-a}this.__oldViewportHeight=n}if(o.end===ao.end){const n=Math.min(window.innerWidth,document.documentElement.clientWidth);if(i>n&&this.__oldViewportWidth){const a=this.__oldViewportWidth-n;r=i-a}this.__oldViewportWidth=n}}return r}__calculatePositionInOneDimension(e,o,i,r,n,a){const l=a?r.start:r.end,c=a?r.end:r.start,d=parseFloat(n.style[l]||getComputedStyle(n)[l]),h=this.__adjustBottomProperty(l,r,d),p=o[a?r.start:r.end]-e[i===a?r.end:r.start],m=h?`${h}px`:`${d+p*(a?-1:1)}px`;return{[l]:m,[c]:""}}};/**
3478
3478
  * @license
3479
3479
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
3480
3480
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3481
- */const lc=C`
3481
+ */const nc=C`
3482
3482
  :host {
3483
3483
  z-index: 200;
3484
3484
  position: fixed;
@@ -3540,7 +3540,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3540
3540
  * @license
3541
3541
  * Copyright (c) 2016 - 2023 Vaadin Ltd.
3542
3542
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3543
- */const cc=C`
3543
+ */const ac=C`
3544
3544
  [part='overlay'] {
3545
3545
  display: flex;
3546
3546
  flex: auto;
@@ -3559,22 +3559,22 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3559
3559
  * @license
3560
3560
  * Copyright (c) 2016 - 2023 Vaadin Ltd.
3561
3561
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3562
- */R("vaadin-date-picker-overlay",[lc,cc],{moduleId:"vaadin-date-picker-overlay-styles"});class uc extends ac(nc(Nt(Pe(ye)))){static get is(){return"vaadin-date-picker-overlay"}static get template(){return Te`
3562
+ */R("vaadin-date-picker-overlay",[nc,ac],{moduleId:"vaadin-date-picker-overlay-styles"});class lc extends rc(ic(Ft(Pe(ye)))){static get is(){return"vaadin-date-picker-overlay"}static get template(){return Te`
3563
3563
  <div id="backdrop" part="backdrop" hidden$="[[!withBackdrop]]"></div>
3564
3564
  <div part="overlay" id="overlay">
3565
3565
  <div part="content" id="content">
3566
3566
  <slot></slot>
3567
3567
  </div>
3568
3568
  </div>
3569
- `}}re(uc);/**
3569
+ `}}re(lc);/**
3570
3570
  * @license
3571
3571
  * Copyright (c) 2016 - 2023 Vaadin Ltd.
3572
3572
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3573
- */function dc(s){let t=s.getDay();t===0&&(t=7);const e=4-t,o=new Date(s.getTime()+e*24*3600*1e3),i=new Date(0,0);i.setFullYear(o.getFullYear());const r=o.getTime()-i.getTime(),n=Math.round(r/(24*3600*1e3));return Math.floor(n/7+1)}function pe(s,t){return s instanceof Date&&t instanceof Date&&s.getFullYear()===t.getFullYear()&&s.getMonth()===t.getMonth()&&s.getDate()===t.getDate()}function nt(s,t,e){return(!t||s>=t)&&(!e||s<=e)}function rr(s,t){return t.filter(e=>e!==void 0).reduce((e,o)=>{if(!o)return e;if(!e)return o;const i=Math.abs(s.getTime()-o.getTime()),r=Math.abs(e.getTime()-s.getTime());return i<r?o:e})}function nr(s){return{day:s.getDate(),month:s.getMonth(),year:s.getFullYear()}}function ar(s){const t=new Date,e=new Date(t);return e.setDate(1),e.setMonth(parseInt(s)+t.getMonth()),e}function hc(s,t,e=0,o=1){if(t>99)throw new Error("The provided year cannot have more than 2 digits.");if(t<0)throw new Error("The provided year cannot be negative.");let i=t+Math.floor(s.getFullYear()/100)*100;return s<new Date(i-50,e,o)?i-=100:s>new Date(i+50,e,o)&&(i+=100),i}function qe(s){const t=/^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/u.exec(s);if(!t)return;const e=new Date(0,0);return e.setFullYear(parseInt(t[1],10)),e.setMonth(parseInt(t[2],10)-1),e.setDate(parseInt(t[3],10)),e}/**
3573
+ */function cc(s){let t=s.getDay();t===0&&(t=7);const e=4-t,o=new Date(s.getTime()+e*24*3600*1e3),i=new Date(0,0);i.setFullYear(o.getFullYear());const r=o.getTime()-i.getTime(),n=Math.round(r/(24*3600*1e3));return Math.floor(n/7+1)}function pe(s,t){return s instanceof Date&&t instanceof Date&&s.getFullYear()===t.getFullYear()&&s.getMonth()===t.getMonth()&&s.getDate()===t.getDate()}function nt(s,t,e){return(!t||s>=t)&&(!e||s<=e)}function ir(s,t){return t.filter(e=>e!==void 0).reduce((e,o)=>{if(!o)return e;if(!e)return o;const i=Math.abs(s.getTime()-o.getTime()),r=Math.abs(e.getTime()-s.getTime());return i<r?o:e})}function rr(s){return{day:s.getDate(),month:s.getMonth(),year:s.getFullYear()}}function nr(s){const t=new Date,e=new Date(t);return e.setDate(1),e.setMonth(parseInt(s)+t.getMonth()),e}function uc(s,t,e=0,o=1){if(t>99)throw new Error("The provided year cannot have more than 2 digits.");if(t<0)throw new Error("The provided year cannot be negative.");let i=t+Math.floor(s.getFullYear()/100)*100;return s<new Date(i-50,e,o)?i-=100:s>new Date(i+50,e,o)&&(i+=100),i}function qe(s){const t=/^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/u.exec(s);if(!t)return;const e=new Date(0,0);return e.setFullYear(parseInt(t[1],10)),e.setMonth(parseInt(t[2],10)-1),e.setDate(parseInt(t[3],10)),e}/**
3574
3574
  * @license
3575
3575
  * Copyright (c) 2016 - 2023 Vaadin Ltd.
3576
3576
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3577
- */const lr=document.createElement("template");lr.innerHTML=`
3577
+ */const ar=document.createElement("template");ar.innerHTML=`
3578
3578
  <style>
3579
3579
  :host {
3580
3580
  display: block;
@@ -3624,11 +3624,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3624
3624
  <div class="buffer"></div>
3625
3625
  <div id="fullHeight"></div>
3626
3626
  </div>
3627
- `;class cr extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"}).appendChild(lr.content.cloneNode(!0)),this.bufferSize=20,this._initialScroll=5e5,this._initialIndex=0,this._activated=!1}get active(){return this._activated}set active(t){t&&!this._activated&&(this._createPool(),this._activated=!0)}get bufferOffset(){return this._buffers[0].offsetTop}get itemHeight(){if(!this._itemHeightVal){const t=getComputedStyle(this).getPropertyValue("--vaadin-infinite-scroller-item-height"),e="background-position";this.$.fullHeight.style.setProperty(e,t);const o=getComputedStyle(this.$.fullHeight).getPropertyValue(e);this.$.fullHeight.style.removeProperty(e),this._itemHeightVal=parseFloat(o)}return this._itemHeightVal}get _bufferHeight(){return this.itemHeight*this.bufferSize}get position(){return(this.$.scroller.scrollTop-this._buffers[0].translateY)/this.itemHeight+this._firstIndex}set position(t){this._preventScrollEvent=!0,t>this._firstIndex&&t<this._firstIndex+this.bufferSize*2?this.$.scroller.scrollTop=this.itemHeight*(t-this._firstIndex)+this._buffers[0].translateY:(this._initialIndex=~~t,this._reset(),this._scrollDisabled=!0,this.$.scroller.scrollTop+=t%1*this.itemHeight,this._scrollDisabled=!1),this._mayHaveMomentum&&(this.$.scroller.classList.add("notouchscroll"),this._mayHaveMomentum=!1,setTimeout(()=>{this.$.scroller.classList.remove("notouchscroll")},10))}connectedCallback(){this._ready||(this._ready=!0,this.$={},this.shadowRoot.querySelectorAll("[id]").forEach(t=>{this.$[t.id]=t}),this.$.scroller.addEventListener("scroll",()=>this._scroll()),this._buffers=[...this.shadowRoot.querySelectorAll(".buffer")],this.$.fullHeight.style.height=`${this._initialScroll*2}px`,Kl&&(this.$.scroller.tabIndex=-1))}forceUpdate(){this._debouncerUpdateClones&&(this._buffers[0].updated=this._buffers[1].updated=!1,this._updateClones(),this._debouncerUpdateClones.cancel())}_createElement(){}_updateElement(t,e){}_finishInit(){this._initDone||(this._buffers.forEach(t=>{[...t.children].forEach(e=>{this._ensureStampedInstance(e._itemWrapper)})}),this._buffers[0].translateY||this._reset(),this._initDone=!0,this.dispatchEvent(new CustomEvent("init-done")))}_translateBuffer(t){const e=t?1:0;this._buffers[e].translateY=this._buffers[e?0:1].translateY+this._bufferHeight*(e?-1:1),this._buffers[e].style.transform=`translate3d(0, ${this._buffers[e].translateY}px, 0)`,this._buffers[e].updated=!1,this._buffers.reverse()}_scroll(){if(this._scrollDisabled)return;const t=this.$.scroller.scrollTop;(t<this._bufferHeight||t>this._initialScroll*2-this._bufferHeight)&&(this._initialIndex=~~this.position,this._reset());const e=this.itemHeight+this.bufferOffset,o=t>this._buffers[1].translateY+e,i=t<this._buffers[0].translateY+e;(o||i)&&(this._translateBuffer(i),this._updateClones()),this._preventScrollEvent||(this.dispatchEvent(new CustomEvent("custom-scroll",{bubbles:!1,composed:!0})),this._mayHaveMomentum=!0),this._preventScrollEvent=!1,this._debouncerScrollFinish=rt.debounce(this._debouncerScrollFinish,Dt.after(200),()=>{const r=this.$.scroller.getBoundingClientRect();!this._isVisible(this._buffers[0],r)&&!this._isVisible(this._buffers[1],r)&&(this.position=this.position)})}_reset(){this._scrollDisabled=!0,this.$.scroller.scrollTop=this._initialScroll,this._buffers[0].translateY=this._initialScroll-this._bufferHeight,this._buffers[1].translateY=this._initialScroll,this._buffers.forEach(t=>{t.style.transform=`translate3d(0, ${t.translateY}px, 0)`}),this._buffers[0].updated=this._buffers[1].updated=!1,this._updateClones(!0),this._debouncerUpdateClones=rt.debounce(this._debouncerUpdateClones,Dt.after(200),()=>{this._buffers[0].updated=this._buffers[1].updated=!1,this._updateClones()}),this._scrollDisabled=!1}_createPool(){const t=this.getBoundingClientRect();this._buffers.forEach(e=>{for(let o=0;o<this.bufferSize;o++){const i=document.createElement("div");i.style.height=`${this.itemHeight}px`,i.instance={};const r=`vaadin-infinite-scroller-item-content-${Hi()}`,n=document.createElement("slot");n.setAttribute("name",r),n._itemWrapper=i,e.appendChild(n),i.setAttribute("slot",r),this.appendChild(i),this._isVisible(i,t)&&this._ensureStampedInstance(i)}}),requestAnimationFrame(()=>{this._finishInit()})}_ensureStampedInstance(t){if(t.firstElementChild)return;const e=t.instance;t.instance=this._createElement(),t.appendChild(t.instance),Object.keys(e).forEach(o=>{t.instance[o]=e[o]})}_updateClones(t){this._firstIndex=~~((this._buffers[0].translateY-this._initialScroll)/this.itemHeight)+this._initialIndex;const e=t?this.$.scroller.getBoundingClientRect():void 0;this._buffers.forEach((o,i)=>{if(!o.updated){const r=this._firstIndex+this.bufferSize*i;[...o.children].forEach((n,a)=>{const l=n._itemWrapper;(!t||this._isVisible(l,e))&&this._updateElement(l.instance,r+a)}),o.updated=!0}})}_isVisible(t,e){const o=t.getBoundingClientRect();return o.bottom>e.top&&o.top<e.bottom}}/**
3627
+ `;class lr extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"}).appendChild(ar.content.cloneNode(!0)),this.bufferSize=20,this._initialScroll=5e5,this._initialIndex=0,this._activated=!1}get active(){return this._activated}set active(t){t&&!this._activated&&(this._createPool(),this._activated=!0)}get bufferOffset(){return this._buffers[0].offsetTop}get itemHeight(){if(!this._itemHeightVal){const t=getComputedStyle(this).getPropertyValue("--vaadin-infinite-scroller-item-height"),e="background-position";this.$.fullHeight.style.setProperty(e,t);const o=getComputedStyle(this.$.fullHeight).getPropertyValue(e);this.$.fullHeight.style.removeProperty(e),this._itemHeightVal=parseFloat(o)}return this._itemHeightVal}get _bufferHeight(){return this.itemHeight*this.bufferSize}get position(){return(this.$.scroller.scrollTop-this._buffers[0].translateY)/this.itemHeight+this._firstIndex}set position(t){this._preventScrollEvent=!0,t>this._firstIndex&&t<this._firstIndex+this.bufferSize*2?this.$.scroller.scrollTop=this.itemHeight*(t-this._firstIndex)+this._buffers[0].translateY:(this._initialIndex=~~t,this._reset(),this._scrollDisabled=!0,this.$.scroller.scrollTop+=t%1*this.itemHeight,this._scrollDisabled=!1),this._mayHaveMomentum&&(this.$.scroller.classList.add("notouchscroll"),this._mayHaveMomentum=!1,setTimeout(()=>{this.$.scroller.classList.remove("notouchscroll")},10))}connectedCallback(){this._ready||(this._ready=!0,this.$={},this.shadowRoot.querySelectorAll("[id]").forEach(t=>{this.$[t.id]=t}),this.$.scroller.addEventListener("scroll",()=>this._scroll()),this._buffers=[...this.shadowRoot.querySelectorAll(".buffer")],this.$.fullHeight.style.height=`${this._initialScroll*2}px`,Wl&&(this.$.scroller.tabIndex=-1))}forceUpdate(){this._debouncerUpdateClones&&(this._buffers[0].updated=this._buffers[1].updated=!1,this._updateClones(),this._debouncerUpdateClones.cancel())}_createElement(){}_updateElement(t,e){}_finishInit(){this._initDone||(this._buffers.forEach(t=>{[...t.children].forEach(e=>{this._ensureStampedInstance(e._itemWrapper)})}),this._buffers[0].translateY||this._reset(),this._initDone=!0,this.dispatchEvent(new CustomEvent("init-done")))}_translateBuffer(t){const e=t?1:0;this._buffers[e].translateY=this._buffers[e?0:1].translateY+this._bufferHeight*(e?-1:1),this._buffers[e].style.transform=`translate3d(0, ${this._buffers[e].translateY}px, 0)`,this._buffers[e].updated=!1,this._buffers.reverse()}_scroll(){if(this._scrollDisabled)return;const t=this.$.scroller.scrollTop;(t<this._bufferHeight||t>this._initialScroll*2-this._bufferHeight)&&(this._initialIndex=~~this.position,this._reset());const e=this.itemHeight+this.bufferOffset,o=t>this._buffers[1].translateY+e,i=t<this._buffers[0].translateY+e;(o||i)&&(this._translateBuffer(i),this._updateClones()),this._preventScrollEvent||(this.dispatchEvent(new CustomEvent("custom-scroll",{bubbles:!1,composed:!0})),this._mayHaveMomentum=!0),this._preventScrollEvent=!1,this._debouncerScrollFinish=rt.debounce(this._debouncerScrollFinish,Tt.after(200),()=>{const r=this.$.scroller.getBoundingClientRect();!this._isVisible(this._buffers[0],r)&&!this._isVisible(this._buffers[1],r)&&(this.position=this.position)})}_reset(){this._scrollDisabled=!0,this.$.scroller.scrollTop=this._initialScroll,this._buffers[0].translateY=this._initialScroll-this._bufferHeight,this._buffers[1].translateY=this._initialScroll,this._buffers.forEach(t=>{t.style.transform=`translate3d(0, ${t.translateY}px, 0)`}),this._buffers[0].updated=this._buffers[1].updated=!1,this._updateClones(!0),this._debouncerUpdateClones=rt.debounce(this._debouncerUpdateClones,Tt.after(200),()=>{this._buffers[0].updated=this._buffers[1].updated=!1,this._updateClones()}),this._scrollDisabled=!1}_createPool(){const t=this.getBoundingClientRect();this._buffers.forEach(e=>{for(let o=0;o<this.bufferSize;o++){const i=document.createElement("div");i.style.height=`${this.itemHeight}px`,i.instance={};const r=`vaadin-infinite-scroller-item-content-${Bi()}`,n=document.createElement("slot");n.setAttribute("name",r),n._itemWrapper=i,e.appendChild(n),i.setAttribute("slot",r),this.appendChild(i),this._isVisible(i,t)&&this._ensureStampedInstance(i)}}),requestAnimationFrame(()=>{this._finishInit()})}_ensureStampedInstance(t){if(t.firstElementChild)return;const e=t.instance;t.instance=this._createElement(),t.appendChild(t.instance),Object.keys(e).forEach(o=>{t.instance[o]=e[o]})}_updateClones(t){this._firstIndex=~~((this._buffers[0].translateY-this._initialScroll)/this.itemHeight)+this._initialIndex;const e=t?this.$.scroller.getBoundingClientRect():void 0;this._buffers.forEach((o,i)=>{if(!o.updated){const r=this._firstIndex+this.bufferSize*i;[...o.children].forEach((n,a)=>{const l=n._itemWrapper;(!t||this._isVisible(l,e))&&this._updateElement(l.instance,r+a)}),o.updated=!0}})}_isVisible(t,e){const o=t.getBoundingClientRect();return o.bottom>e.top&&o.top<e.bottom}}/**
3628
3628
  * @license
3629
3629
  * Copyright (c) 2016 - 2023 Vaadin Ltd.
3630
3630
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3631
- */const ur=document.createElement("template");ur.innerHTML=`
3631
+ */const cr=document.createElement("template");cr.innerHTML=`
3632
3632
  <style>
3633
3633
  :host {
3634
3634
  --vaadin-infinite-scroller-item-height: 270px;
@@ -3640,11 +3640,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3640
3640
  height: 100%;
3641
3641
  }
3642
3642
  </style>
3643
- `;class pc extends cr{static get is(){return"vaadin-date-picker-month-scroller"}constructor(){super(),this.bufferSize=3,this.shadowRoot.appendChild(ur.content.cloneNode(!0))}_createElement(){return document.createElement("vaadin-month-calendar")}_updateElement(t,e){t.month=ar(e)}}re(pc);/**
3643
+ `;class dc extends lr{static get is(){return"vaadin-date-picker-month-scroller"}constructor(){super(),this.bufferSize=3,this.shadowRoot.appendChild(cr.content.cloneNode(!0))}_createElement(){return document.createElement("vaadin-month-calendar")}_updateElement(t,e){t.month=nr(e)}}re(dc);/**
3644
3644
  * @license
3645
3645
  * Copyright (c) 2016 - 2023 Vaadin Ltd.
3646
3646
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3647
- */const dr=document.createElement("template");dr.innerHTML=`
3647
+ */const ur=document.createElement("template");ur.innerHTML=`
3648
3648
  <style>
3649
3649
  :host {
3650
3650
  --vaadin-infinite-scroller-item-height: 80px;
@@ -3678,11 +3678,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3678
3678
  border-left-color: #000;
3679
3679
  }
3680
3680
  </style>
3681
- `;class mc extends cr{static get is(){return"vaadin-date-picker-year-scroller"}constructor(){super(),this.bufferSize=12,this.shadowRoot.appendChild(dr.content.cloneNode(!0))}_createElement(){return document.createElement("vaadin-date-picker-year")}_updateElement(t,e){t.year=this._yearAfterXYears(e)}_yearAfterXYears(t){const e=new Date,o=new Date(e);return o.setFullYear(parseInt(t)+e.getFullYear()),o.getFullYear()}}re(mc);/**
3681
+ `;class hc extends lr{static get is(){return"vaadin-date-picker-year-scroller"}constructor(){super(),this.bufferSize=12,this.shadowRoot.appendChild(ur.content.cloneNode(!0))}_createElement(){return document.createElement("vaadin-date-picker-year")}_updateElement(t,e){t.year=this._yearAfterXYears(e)}_yearAfterXYears(t){const e=new Date,o=new Date(e);return o.setFullYear(parseInt(t)+e.getFullYear()),o.getFullYear()}}re(hc);/**
3682
3682
  * @license
3683
3683
  * Copyright (c) 2016 - 2023 Vaadin Ltd.
3684
3684
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3685
- */class fc extends Pe(ye){static get is(){return"vaadin-date-picker-year"}static get template(){return Te`
3685
+ */class pc extends Pe(ye){static get is(){return"vaadin-date-picker-year"}static get template(){return Te`
3686
3686
  <style>
3687
3687
  :host {
3688
3688
  display: block;
@@ -3691,7 +3691,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3691
3691
  </style>
3692
3692
  <div part="year-number">[[year]]</div>
3693
3693
  <div part="year-separator" aria-hidden="true"></div>
3694
- `}static get properties(){return{year:{type:String},selectedDate:{type:Object}}}static get observers(){return["__updateSelected(year, selectedDate)"]}__updateSelected(t,e){this.toggleAttribute("selected",e&&e.getFullYear()===t),this.toggleAttribute("current",t===new Date().getFullYear())}}re(fc);/**
3694
+ `}static get properties(){return{year:{type:String},selectedDate:{type:Object}}}static get observers(){return["__updateSelected(year, selectedDate)"]}__updateSelected(t,e){this.toggleAttribute("selected",e&&e.getFullYear()===t),this.toggleAttribute("current",t===new Date().getFullYear())}}re(pc);/**
3695
3695
  @license
3696
3696
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
3697
3697
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -3699,7 +3699,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
3699
3699
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
3700
3700
  Code distributed by Google as part of the polymer project is also
3701
3701
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
3702
- */function Xo(s,t,e,o,i){let r;i&&(r=typeof e=="object"&&e!==null,r&&(o=s.__dataTemp[t]));let n=o!==e&&(o===o||e===e);return r&&n&&(s.__dataTemp[t]=e),n}const Zo=Y(s=>{class t extends s{_shouldPropertyChange(o,i,r){return Xo(this,o,i,r,!0)}}return t}),_c=Y(s=>{class t extends s{static get properties(){return{mutableData:Boolean}}_shouldPropertyChange(o,i,r){return Xo(this,o,i,r,this.mutableData)}}return t});Zo._mutablePropertyChange=Xo;/**
3702
+ */function Xo(s,t,e,o,i){let r;i&&(r=typeof e=="object"&&e!==null,r&&(o=s.__dataTemp[t]));let n=o!==e&&(o===o||e===e);return r&&n&&(s.__dataTemp[t]=e),n}const Zo=Y(s=>{class t extends s{_shouldPropertyChange(o,i,r){return Xo(this,o,i,r,!0)}}return t}),mc=Y(s=>{class t extends s{static get properties(){return{mutableData:Boolean}}_shouldPropertyChange(o,i,r){return Xo(this,o,i,r,this.mutableData)}}return t});Zo._mutablePropertyChange=Xo;/**
3703
3703
  @license
3704
3704
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
3705
3705
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -3707,7 +3707,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
3707
3707
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
3708
3708
  Code distributed by Google as part of the polymer project is also
3709
3709
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
3710
- */let Mo=null;function Oo(){return Mo}Oo.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:Oo,writable:!0}});const hr=jo(Oo),gc=Zo(hr);function yc(s,t){Mo=s,Object.setPrototypeOf(s,t.prototype),new t,Mo=null}const vc=jo(class{});function bc(s,t){for(let e=0;e<t.length;e++){let o=t[e];if(!!s!=!!o.__hideTemplateChildren__)if(o.nodeType===Node.TEXT_NODE)s?(o.__polymerTextContent__=o.textContent,o.textContent=""):o.textContent=o.__polymerTextContent__;else if(o.localName==="slot")if(s)o.__polymerReplaced__=document.createComment("hidden-slot"),q(q(o).parentNode).replaceChild(o.__polymerReplaced__,o);else{const i=o.__polymerReplaced__;i&&q(q(i).parentNode).replaceChild(o,i)}else o.style&&(s?(o.__polymerDisplay__=o.style.display,o.style.display="none"):o.style.display=o.__polymerDisplay__);o.__hideTemplateChildren__=s,o._showHideChildren&&o._showHideChildren(s)}}class ve extends vc{constructor(t){super(),this._configureProperties(t),this.root=this._stampTemplate(this.__dataHost);let e=[];this.children=e;for(let i=this.root.firstChild;i;i=i.nextSibling)e.push(i),i.__templatizeInstance=this;this.__templatizeOwner&&this.__templatizeOwner.__hideTemplateChildren__&&this._showHideChildren(!0);let o=this.__templatizeOptions;(t&&o.instanceProps||!o.instanceProps)&&this._enableProperties()}_configureProperties(t){if(this.__templatizeOptions.forwardHostProp)for(let o in this.__hostProps)this._setPendingProperty(o,this.__dataHost["_host_"+o]);for(let o in t)this._setPendingProperty(o,t[o])}forwardHostProp(t,e){this._setPendingPropertyOrPath(t,e,!1,!0)&&this.__dataHost._enqueueClient(this)}_addEventListenerToNode(t,e,o){if(this._methodHost&&this.__templatizeOptions.parentModel)this._methodHost._addEventListenerToNode(t,e,i=>{i.model=this,o(i)});else{let i=this.__dataHost.__dataHost;i&&i._addEventListenerToNode(t,e,o)}}_showHideChildren(t){bc(t,this.children)}_setUnmanagedPropertyToNode(t,e,o){t.__hideTemplateChildren__&&t.nodeType==Node.TEXT_NODE&&e=="textContent"?t.__polymerTextContent__=o:super._setUnmanagedPropertyToNode(t,e,o)}get parentModel(){let t=this.__parentModel;if(!t){let e;t=this;do t=t.__dataHost.__dataHost;while((e=t.__templatizeOptions)&&!e.parentModel);this.__parentModel=t}return t}dispatchEvent(t){return!0}}ve.prototype.__dataHost;ve.prototype.__templatizeOptions;ve.prototype._methodHost;ve.prototype.__templatizeOwner;ve.prototype.__hostProps;const xc=Zo(ve);function Ks(s){let t=s.__dataHost;return t&&t._methodHost||t}function wc(s,t,e){let o=e.mutableData?xc:ve;Io.mixin&&(o=Io.mixin(o));let i=class extends o{};return i.prototype.__templatizeOptions=e,i.prototype._bindTemplate(s),Cc(i,s,t,e),i}function Ec(s,t,e,o){let i=e.forwardHostProp;if(i&&t.hasHostProps){const r=s.localName=="template";let n=t.templatizeTemplateClass;if(!n){if(r){let l=e.mutableData?gc:hr;class c extends l{}n=t.templatizeTemplateClass=c}else{const l=s.constructor;class c extends l{}n=t.templatizeTemplateClass=c}let a=t.hostProps;for(let l in a)n.prototype._addPropertyEffect("_host_"+l,n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,{fn:Sc(l,i)}),n.prototype._createNotifyingProperty("_host_"+l);di&&o&&Pc(t,e,o)}if(s.__dataProto&&Object.assign(s.__data,s.__dataProto),r)yc(s,n),s.__dataTemp={},s.__dataPending=null,s.__dataOld=null,s._enableProperties();else{Object.setPrototypeOf(s,n.prototype);const a=t.hostProps;for(let l in a)if(l="_host_"+l,l in s){const c=s[l];delete s[l],s.__data[l]=c}}}}function Sc(s,t){return function(o,i,r){t.call(o.__templatizeOwner,i.substring(6),r[i])}}function Cc(s,t,e,o){let i=e.hostProps||{};for(let r in o.instanceProps){delete i[r];let n=o.notifyInstanceProp;n&&s.prototype._addPropertyEffect(r,s.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:Ac(r,n)})}if(o.forwardHostProp&&t.__dataHost)for(let r in i)e.hasHostProps||(e.hasHostProps=!0),s.prototype._addPropertyEffect(r,s.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:kc()})}function Ac(s,t){return function(o,i,r){t.call(o.__templatizeOwner,o,i,r[i])}}function kc(){return function(t,e,o){t.__dataHost._setPendingPropertyOrPath("_host_"+e,o[e],!0,!0)}}function Io(s,t,e){if(kt&&!Ks(s))throw new Error("strictTemplatePolicy: template owner not trusted");if(e=e||{},s.__templatizeOwner)throw new Error("A <template> can only be templatized once");s.__templatizeOwner=t;let i=(t?t.constructor:ve)._parseTemplate(s),r=i.templatizeInstanceClass;r||(r=wc(s,i,e),i.templatizeInstanceClass=r);const n=Ks(s);Ec(s,i,e,n);let a=class extends r{};return a.prototype._methodHost=n,a.prototype.__dataHost=s,a.prototype.__templatizeOwner=t,a.prototype.__hostProps=i.hostProps,a=a,a}function Pc(s,t,e){const o=e.constructor._properties,{propertyEffects:i}=s,{instanceProps:r}=t;for(let n in i)if(!o[n]&&!(r&&r[n])){const a=i[n];for(let l=0;l<a.length;l++){const{part:c}=a[l].info;if(!(c.signature&&c.signature.static)){console.warn(`Property '${n}' used in template but not declared in 'properties'; attribute will not be observed.`);break}}}}function Dc(s,t){let e;for(;t;)if(e=t.__dataHost?t:t.__templatizeInstance)if(e.__dataHost!=s)t=e.__dataHost;else return e;else t=q(t).parentNode;return null}/**
3710
+ */let Mo=null;function Oo(){return Mo}Oo.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:Oo,writable:!0}});const dr=jo(Oo),fc=Zo(dr);function _c(s,t){Mo=s,Object.setPrototypeOf(s,t.prototype),new t,Mo=null}const gc=jo(class{});function yc(s,t){for(let e=0;e<t.length;e++){let o=t[e];if(!!s!=!!o.__hideTemplateChildren__)if(o.nodeType===Node.TEXT_NODE)s?(o.__polymerTextContent__=o.textContent,o.textContent=""):o.textContent=o.__polymerTextContent__;else if(o.localName==="slot")if(s)o.__polymerReplaced__=document.createComment("hidden-slot"),q(q(o).parentNode).replaceChild(o.__polymerReplaced__,o);else{const i=o.__polymerReplaced__;i&&q(q(i).parentNode).replaceChild(o,i)}else o.style&&(s?(o.__polymerDisplay__=o.style.display,o.style.display="none"):o.style.display=o.__polymerDisplay__);o.__hideTemplateChildren__=s,o._showHideChildren&&o._showHideChildren(s)}}class ve extends gc{constructor(t){super(),this._configureProperties(t),this.root=this._stampTemplate(this.__dataHost);let e=[];this.children=e;for(let i=this.root.firstChild;i;i=i.nextSibling)e.push(i),i.__templatizeInstance=this;this.__templatizeOwner&&this.__templatizeOwner.__hideTemplateChildren__&&this._showHideChildren(!0);let o=this.__templatizeOptions;(t&&o.instanceProps||!o.instanceProps)&&this._enableProperties()}_configureProperties(t){if(this.__templatizeOptions.forwardHostProp)for(let o in this.__hostProps)this._setPendingProperty(o,this.__dataHost["_host_"+o]);for(let o in t)this._setPendingProperty(o,t[o])}forwardHostProp(t,e){this._setPendingPropertyOrPath(t,e,!1,!0)&&this.__dataHost._enqueueClient(this)}_addEventListenerToNode(t,e,o){if(this._methodHost&&this.__templatizeOptions.parentModel)this._methodHost._addEventListenerToNode(t,e,i=>{i.model=this,o(i)});else{let i=this.__dataHost.__dataHost;i&&i._addEventListenerToNode(t,e,o)}}_showHideChildren(t){yc(t,this.children)}_setUnmanagedPropertyToNode(t,e,o){t.__hideTemplateChildren__&&t.nodeType==Node.TEXT_NODE&&e=="textContent"?t.__polymerTextContent__=o:super._setUnmanagedPropertyToNode(t,e,o)}get parentModel(){let t=this.__parentModel;if(!t){let e;t=this;do t=t.__dataHost.__dataHost;while((e=t.__templatizeOptions)&&!e.parentModel);this.__parentModel=t}return t}dispatchEvent(t){return!0}}ve.prototype.__dataHost;ve.prototype.__templatizeOptions;ve.prototype._methodHost;ve.prototype.__templatizeOwner;ve.prototype.__hostProps;const vc=Zo(ve);function Ws(s){let t=s.__dataHost;return t&&t._methodHost||t}function bc(s,t,e){let o=e.mutableData?vc:ve;Io.mixin&&(o=Io.mixin(o));let i=class extends o{};return i.prototype.__templatizeOptions=e,i.prototype._bindTemplate(s),Ec(i,s,t,e),i}function xc(s,t,e,o){let i=e.forwardHostProp;if(i&&t.hasHostProps){const r=s.localName=="template";let n=t.templatizeTemplateClass;if(!n){if(r){let l=e.mutableData?fc:dr;class c extends l{}n=t.templatizeTemplateClass=c}else{const l=s.constructor;class c extends l{}n=t.templatizeTemplateClass=c}let a=t.hostProps;for(let l in a)n.prototype._addPropertyEffect("_host_"+l,n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,{fn:wc(l,i)}),n.prototype._createNotifyingProperty("_host_"+l);ui&&o&&Ac(t,e,o)}if(s.__dataProto&&Object.assign(s.__data,s.__dataProto),r)_c(s,n),s.__dataTemp={},s.__dataPending=null,s.__dataOld=null,s._enableProperties();else{Object.setPrototypeOf(s,n.prototype);const a=t.hostProps;for(let l in a)if(l="_host_"+l,l in s){const c=s[l];delete s[l],s.__data[l]=c}}}}function wc(s,t){return function(o,i,r){t.call(o.__templatizeOwner,i.substring(6),r[i])}}function Ec(s,t,e,o){let i=e.hostProps||{};for(let r in o.instanceProps){delete i[r];let n=o.notifyInstanceProp;n&&s.prototype._addPropertyEffect(r,s.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:Sc(r,n)})}if(o.forwardHostProp&&t.__dataHost)for(let r in i)e.hasHostProps||(e.hasHostProps=!0),s.prototype._addPropertyEffect(r,s.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:Cc()})}function Sc(s,t){return function(o,i,r){t.call(o.__templatizeOwner,o,i,r[i])}}function Cc(){return function(t,e,o){t.__dataHost._setPendingPropertyOrPath("_host_"+e,o[e],!0,!0)}}function Io(s,t,e){if(Pt&&!Ws(s))throw new Error("strictTemplatePolicy: template owner not trusted");if(e=e||{},s.__templatizeOwner)throw new Error("A <template> can only be templatized once");s.__templatizeOwner=t;let i=(t?t.constructor:ve)._parseTemplate(s),r=i.templatizeInstanceClass;r||(r=bc(s,i,e),i.templatizeInstanceClass=r);const n=Ws(s);xc(s,i,e,n);let a=class extends r{};return a.prototype._methodHost=n,a.prototype.__dataHost=s,a.prototype.__templatizeOwner=t,a.prototype.__hostProps=i.hostProps,a=a,a}function Ac(s,t,e){const o=e.constructor._properties,{propertyEffects:i}=s,{instanceProps:r}=t;for(let n in i)if(!o[n]&&!(r&&r[n])){const a=i[n];for(let l=0;l<a.length;l++){const{part:c}=a[l].info;if(!(c.signature&&c.signature.static)){console.warn(`Property '${n}' used in template but not declared in 'properties'; attribute will not be observed.`);break}}}}function kc(s,t){let e;for(;t;)if(e=t.__dataHost?t:t.__templatizeInstance)if(e.__dataHost!=s)t=e.__dataHost;else return e;else t=q(t).parentNode;return null}/**
3711
3711
  @license
3712
3712
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
3713
3713
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -3715,7 +3715,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
3715
3715
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
3716
3716
  Code distributed by Google as part of the polymer project is also
3717
3717
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
3718
- */class Mt{constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,e){this._asyncModule=t,this._callback=e,this._timer=this._asyncModule.run(()=>{this._timer=null,at.delete(this),this._callback()})}cancel(){this.isActive()&&(this._cancelAsync(),at.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return this._timer!=null}static debounce(t,e,o){return t instanceof Mt?t._cancelAsync():t=new Mt,t.setConfig(e,o),t}}let at=new Set;const Tc=function(s){at.add(s)},Mc=function(){const s=!!at.size;return at.forEach(t=>{try{t.flush()}catch(e){setTimeout(()=>{throw e})}}),s};/**
3718
+ */class Ot{constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,e){this._asyncModule=t,this._callback=e,this._timer=this._asyncModule.run(()=>{this._timer=null,at.delete(this),this._callback()})}cancel(){this.isActive()&&(this._cancelAsync(),at.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return this._timer!=null}static debounce(t,e,o){return t instanceof Ot?t._cancelAsync():t=new Ot,t.setConfig(e,o),t}}let at=new Set;const Pc=function(s){at.add(s)},Dc=function(){const s=!!at.size;return at.forEach(t=>{try{t.flush()}catch(e){setTimeout(()=>{throw e})}}),s};/**
3719
3719
  @license
3720
3720
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
3721
3721
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -3723,7 +3723,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
3723
3723
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
3724
3724
  Code distributed by Google as part of the polymer project is also
3725
3725
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
3726
- */const pr=function(){let s,t;do s=window.ShadyDOM&&ShadyDOM.flush(),window.ShadyCSS&&window.ShadyCSS.ScopingShim&&window.ShadyCSS.ScopingShim.flush(),t=Mc();while(s||t)};/**
3726
+ */const hr=function(){let s,t;do s=window.ShadyDOM&&ShadyDOM.flush(),window.ShadyCSS&&window.ShadyCSS.ScopingShim&&window.ShadyCSS.ScopingShim.flush(),t=Dc();while(s||t)};/**
3727
3727
  @license
3728
3728
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
3729
3729
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -3731,7 +3731,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
3731
3731
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
3732
3732
  Code distributed by Google as part of the polymer project is also
3733
3733
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
3734
- */let Gs=!1;function Oc(){if(ui&&!ci){if(!Gs){Gs=!0;const s=document.createElement("style");s.textContent="dom-bind,dom-if,dom-repeat{display:none;}",document.head.appendChild(s)}return!0}return!1}/**
3734
+ */let qs=!1;function Tc(){if(ci&&!li){if(!qs){qs=!0;const s=document.createElement("style");s.textContent="dom-bind,dom-if,dom-repeat{display:none;}",document.head.appendChild(s)}return!0}return!1}/**
3735
3735
  @license
3736
3736
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
3737
3737
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -3739,15 +3739,15 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
3739
3739
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
3740
3740
  Code distributed by Google as part of the polymer project is also
3741
3741
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
3742
- */const Ic=_c(ye);class Js extends Ic{static get is(){return"dom-repeat"}static get template(){return null}static get properties(){return{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},itemsIndexAs:{type:String,value:"itemsIndex"},sort:{type:Function,observer:"__sortChanged"},filter:{type:Function,observer:"__filterChanged"},observe:{type:String,observer:"__observeChanged"},delay:Number,renderedItemCount:{type:Number,notify:!ws,readOnly:!0},initialCount:{type:Number},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,computed:"__computeFrameTime(targetFramerate)"},notifyDomChange:{type:Boolean},reuseChunkedInstances:{type:Boolean}}}static get observers(){return["__itemsChanged(items.*)"]}constructor(){super(),this.__instances=[],this.__renderDebouncer=null,this.__itemsIdxToInstIdx={},this.__chunkCount=null,this.__renderStartTime=null,this.__itemsArrayChanged=!1,this.__shouldMeasureChunk=!1,this.__shouldContinueChunking=!1,this.__chunkingId=0,this.__sortFn=null,this.__filterFn=null,this.__observePaths=null,this.__ctor=null,this.__isDetached=!0,this.template=null,this._templateInfo}disconnectedCallback(){super.disconnectedCallback(),this.__isDetached=!0;for(let t=0;t<this.__instances.length;t++)this.__detachInstance(t);this.__chunkingId&&cancelAnimationFrame(this.__chunkingId)}connectedCallback(){if(super.connectedCallback(),Oc()||(this.style.display="none"),this.__isDetached){this.__isDetached=!1;let t=q(q(this).parentNode);for(let e=0;e<this.__instances.length;e++)this.__attachInstance(e,t);this.__chunkingId&&this.__render()}}__ensureTemplatized(){if(!this.__ctor){const t=this;let e=this.template=t._templateInfo?t:this.querySelector("template");if(!e){let i=new MutationObserver(()=>{if(this.querySelector("template"))i.disconnect(),this.__render();else throw new Error("dom-repeat requires a <template> child")});return i.observe(this,{childList:!0}),!1}let o={};o[this.as]=!0,o[this.indexAs]=!0,o[this.itemsIndexAs]=!0,this.__ctor=Io(e,this,{mutableData:this.mutableData,parentModel:!0,instanceProps:o,forwardHostProp:function(i,r){let n=this.__instances;for(let a=0,l;a<n.length&&(l=n[a]);a++)l.forwardHostProp(i,r)},notifyInstanceProp:function(i,r,n){if(vn(this.as,r)){let a=i[this.itemsIndexAs];r==this.as&&(this.items[a]=n);let l=ot(this.as,`${JSCompiler_renameProperty("items",this)}.${a}`,r);this.notifyPath(l,n)}}})}return!0}__getMethodHost(){return this.__dataHost._methodHost||this.__dataHost}__functionFromPropertyValue(t){if(typeof t=="string"){let e=t,o=this.__getMethodHost();return function(){return o[e].apply(o,arguments)}}return t}__sortChanged(t){this.__sortFn=this.__functionFromPropertyValue(t),this.items&&this.__debounceRender(this.__render)}__filterChanged(t){this.__filterFn=this.__functionFromPropertyValue(t),this.items&&this.__debounceRender(this.__render)}__computeFrameTime(t){return Math.ceil(1e3/t)}__observeChanged(){this.__observePaths=this.observe&&this.observe.replace(".*",".").split(" ")}__handleObservedPaths(t){if(this.__sortFn||this.__filterFn){if(!t)this.__debounceRender(this.__render,this.delay);else if(this.__observePaths){let e=this.__observePaths;for(let o=0;o<e.length;o++)t.indexOf(e[o])===0&&this.__debounceRender(this.__render,this.delay)}}}__itemsChanged(t){this.items&&!Array.isArray(this.items)&&console.warn("dom-repeat expected array for `items`, found",this.items),this.__handleItemPath(t.path,t.value)||(t.path==="items"&&(this.__itemsArrayChanged=!0),this.__debounceRender(this.__render))}__debounceRender(t,e=0){this.__renderDebouncer=Mt.debounce(this.__renderDebouncer,e>0?Cn.after(e):xi,t.bind(this)),Tc(this.__renderDebouncer)}render(){this.__debounceRender(this.__render),pr()}__render(){if(!this.__ensureTemplatized())return;let t=this.items||[];const e=this.__sortAndFilterItems(t),o=this.__calculateLimit(e.length);this.__updateInstances(t,o,e),this.initialCount&&(this.__shouldMeasureChunk||this.__shouldContinueChunking)&&(cancelAnimationFrame(this.__chunkingId),this.__chunkingId=requestAnimationFrame(()=>{this.__chunkingId=null,this.__continueChunking()})),this._setRenderedItemCount(this.__instances.length),(!ws||this.notifyDomChange)&&this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}__sortAndFilterItems(t){let e=new Array(t.length);for(let o=0;o<t.length;o++)e[o]=o;return this.__filterFn&&(e=e.filter((o,i,r)=>this.__filterFn(t[o],i,r))),this.__sortFn&&e.sort((o,i)=>this.__sortFn(t[o],t[i])),e}__calculateLimit(t){let e=t;const o=this.__instances.length;if(this.initialCount){let i;!this.__chunkCount||this.__itemsArrayChanged&&!this.reuseChunkedInstances?(e=Math.min(t,this.initialCount),i=Math.max(e-o,0),this.__chunkCount=i||1):(i=Math.min(Math.max(t-o,0),this.__chunkCount),e=Math.min(o+i,t)),this.__shouldMeasureChunk=i===this.__chunkCount,this.__shouldContinueChunking=e<t,this.__renderStartTime=performance.now()}return this.__itemsArrayChanged=!1,e}__continueChunking(){if(this.__shouldMeasureChunk){const t=performance.now()-this.__renderStartTime,e=this._targetFrameTime/t;this.__chunkCount=Math.round(this.__chunkCount*e)||1}this.__shouldContinueChunking&&this.__debounceRender(this.__render)}__updateInstances(t,e,o){const i=this.__itemsIdxToInstIdx={};let r;for(r=0;r<e;r++){let n=this.__instances[r],a=o[r],l=t[a];i[a]=r,n?(n._setPendingProperty(this.as,l),n._setPendingProperty(this.indexAs,r),n._setPendingProperty(this.itemsIndexAs,a),n._flushProperties()):this.__insertInstance(l,r,a)}for(let n=this.__instances.length-1;n>=r;n--)this.__detachAndRemoveInstance(n)}__detachInstance(t){let e=this.__instances[t];const o=q(e.root);for(let i=0;i<e.children.length;i++){let r=e.children[i];o.appendChild(r)}return e}__attachInstance(t,e){let o=this.__instances[t];e.insertBefore(o.root,this)}__detachAndRemoveInstance(t){this.__detachInstance(t),this.__instances.splice(t,1)}__stampInstance(t,e,o){let i={};return i[this.as]=t,i[this.indexAs]=e,i[this.itemsIndexAs]=o,new this.__ctor(i)}__insertInstance(t,e,o){const i=this.__stampInstance(t,e,o);let r=this.__instances[e+1],n=r?r.children[0]:this;return q(q(this).parentNode).insertBefore(i.root,n),this.__instances[e]=i,i}_showHideChildren(t){for(let e=0;e<this.__instances.length;e++)this.__instances[e]._showHideChildren(t)}__handleItemPath(t,e){let o=t.slice(6),i=o.indexOf("."),r=i<0?o:o.substring(0,i);if(r==parseInt(r,10)){let n=i<0?"":o.substring(i+1);this.__handleObservedPaths(n);let a=this.__itemsIdxToInstIdx[r],l=this.__instances[a];if(l){let c=this.as+(n?"."+n:"");l._setPendingPropertyOrPath(c,e,!1,!0),l._flushProperties()}return!0}}itemForElement(t){let e=this.modelForElement(t);return e&&e[this.as]}indexForElement(t){let e=this.modelForElement(t);return e&&e[this.indexAs]}modelForElement(t){return Dc(this.template,t)}}customElements.define(Js.is,Js);/**
3742
+ */const Mc=mc(ye);class Ks extends Mc{static get is(){return"dom-repeat"}static get template(){return null}static get properties(){return{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},itemsIndexAs:{type:String,value:"itemsIndex"},sort:{type:Function,observer:"__sortChanged"},filter:{type:Function,observer:"__filterChanged"},observe:{type:String,observer:"__observeChanged"},delay:Number,renderedItemCount:{type:Number,notify:!bs,readOnly:!0},initialCount:{type:Number},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,computed:"__computeFrameTime(targetFramerate)"},notifyDomChange:{type:Boolean},reuseChunkedInstances:{type:Boolean}}}static get observers(){return["__itemsChanged(items.*)"]}constructor(){super(),this.__instances=[],this.__renderDebouncer=null,this.__itemsIdxToInstIdx={},this.__chunkCount=null,this.__renderStartTime=null,this.__itemsArrayChanged=!1,this.__shouldMeasureChunk=!1,this.__shouldContinueChunking=!1,this.__chunkingId=0,this.__sortFn=null,this.__filterFn=null,this.__observePaths=null,this.__ctor=null,this.__isDetached=!0,this.template=null,this._templateInfo}disconnectedCallback(){super.disconnectedCallback(),this.__isDetached=!0;for(let t=0;t<this.__instances.length;t++)this.__detachInstance(t);this.__chunkingId&&cancelAnimationFrame(this.__chunkingId)}connectedCallback(){if(super.connectedCallback(),Tc()||(this.style.display="none"),this.__isDetached){this.__isDetached=!1;let t=q(q(this).parentNode);for(let e=0;e<this.__instances.length;e++)this.__attachInstance(e,t);this.__chunkingId&&this.__render()}}__ensureTemplatized(){if(!this.__ctor){const t=this;let e=this.template=t._templateInfo?t:this.querySelector("template");if(!e){let i=new MutationObserver(()=>{if(this.querySelector("template"))i.disconnect(),this.__render();else throw new Error("dom-repeat requires a <template> child")});return i.observe(this,{childList:!0}),!1}let o={};o[this.as]=!0,o[this.indexAs]=!0,o[this.itemsIndexAs]=!0,this.__ctor=Io(e,this,{mutableData:this.mutableData,parentModel:!0,instanceProps:o,forwardHostProp:function(i,r){let n=this.__instances;for(let a=0,l;a<n.length&&(l=n[a]);a++)l.forwardHostProp(i,r)},notifyInstanceProp:function(i,r,n){if(gn(this.as,r)){let a=i[this.itemsIndexAs];r==this.as&&(this.items[a]=n);let l=ot(this.as,`${JSCompiler_renameProperty("items",this)}.${a}`,r);this.notifyPath(l,n)}}})}return!0}__getMethodHost(){return this.__dataHost._methodHost||this.__dataHost}__functionFromPropertyValue(t){if(typeof t=="string"){let e=t,o=this.__getMethodHost();return function(){return o[e].apply(o,arguments)}}return t}__sortChanged(t){this.__sortFn=this.__functionFromPropertyValue(t),this.items&&this.__debounceRender(this.__render)}__filterChanged(t){this.__filterFn=this.__functionFromPropertyValue(t),this.items&&this.__debounceRender(this.__render)}__computeFrameTime(t){return Math.ceil(1e3/t)}__observeChanged(){this.__observePaths=this.observe&&this.observe.replace(".*",".").split(" ")}__handleObservedPaths(t){if(this.__sortFn||this.__filterFn){if(!t)this.__debounceRender(this.__render,this.delay);else if(this.__observePaths){let e=this.__observePaths;for(let o=0;o<e.length;o++)t.indexOf(e[o])===0&&this.__debounceRender(this.__render,this.delay)}}}__itemsChanged(t){this.items&&!Array.isArray(this.items)&&console.warn("dom-repeat expected array for `items`, found",this.items),this.__handleItemPath(t.path,t.value)||(t.path==="items"&&(this.__itemsArrayChanged=!0),this.__debounceRender(this.__render))}__debounceRender(t,e=0){this.__renderDebouncer=Ot.debounce(this.__renderDebouncer,e>0?En.after(e):bi,t.bind(this)),Pc(this.__renderDebouncer)}render(){this.__debounceRender(this.__render),hr()}__render(){if(!this.__ensureTemplatized())return;let t=this.items||[];const e=this.__sortAndFilterItems(t),o=this.__calculateLimit(e.length);this.__updateInstances(t,o,e),this.initialCount&&(this.__shouldMeasureChunk||this.__shouldContinueChunking)&&(cancelAnimationFrame(this.__chunkingId),this.__chunkingId=requestAnimationFrame(()=>{this.__chunkingId=null,this.__continueChunking()})),this._setRenderedItemCount(this.__instances.length),(!bs||this.notifyDomChange)&&this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}__sortAndFilterItems(t){let e=new Array(t.length);for(let o=0;o<t.length;o++)e[o]=o;return this.__filterFn&&(e=e.filter((o,i,r)=>this.__filterFn(t[o],i,r))),this.__sortFn&&e.sort((o,i)=>this.__sortFn(t[o],t[i])),e}__calculateLimit(t){let e=t;const o=this.__instances.length;if(this.initialCount){let i;!this.__chunkCount||this.__itemsArrayChanged&&!this.reuseChunkedInstances?(e=Math.min(t,this.initialCount),i=Math.max(e-o,0),this.__chunkCount=i||1):(i=Math.min(Math.max(t-o,0),this.__chunkCount),e=Math.min(o+i,t)),this.__shouldMeasureChunk=i===this.__chunkCount,this.__shouldContinueChunking=e<t,this.__renderStartTime=performance.now()}return this.__itemsArrayChanged=!1,e}__continueChunking(){if(this.__shouldMeasureChunk){const t=performance.now()-this.__renderStartTime,e=this._targetFrameTime/t;this.__chunkCount=Math.round(this.__chunkCount*e)||1}this.__shouldContinueChunking&&this.__debounceRender(this.__render)}__updateInstances(t,e,o){const i=this.__itemsIdxToInstIdx={};let r;for(r=0;r<e;r++){let n=this.__instances[r],a=o[r],l=t[a];i[a]=r,n?(n._setPendingProperty(this.as,l),n._setPendingProperty(this.indexAs,r),n._setPendingProperty(this.itemsIndexAs,a),n._flushProperties()):this.__insertInstance(l,r,a)}for(let n=this.__instances.length-1;n>=r;n--)this.__detachAndRemoveInstance(n)}__detachInstance(t){let e=this.__instances[t];const o=q(e.root);for(let i=0;i<e.children.length;i++){let r=e.children[i];o.appendChild(r)}return e}__attachInstance(t,e){let o=this.__instances[t];e.insertBefore(o.root,this)}__detachAndRemoveInstance(t){this.__detachInstance(t),this.__instances.splice(t,1)}__stampInstance(t,e,o){let i={};return i[this.as]=t,i[this.indexAs]=e,i[this.itemsIndexAs]=o,new this.__ctor(i)}__insertInstance(t,e,o){const i=this.__stampInstance(t,e,o);let r=this.__instances[e+1],n=r?r.children[0]:this;return q(q(this).parentNode).insertBefore(i.root,n),this.__instances[e]=i,i}_showHideChildren(t){for(let e=0;e<this.__instances.length;e++)this.__instances[e]._showHideChildren(t)}__handleItemPath(t,e){let o=t.slice(6),i=o.indexOf("."),r=i<0?o:o.substring(0,i);if(r==parseInt(r,10)){let n=i<0?"":o.substring(i+1);this.__handleObservedPaths(n);let a=this.__itemsIdxToInstIdx[r],l=this.__instances[a];if(l){let c=this.as+(n?"."+n:"");l._setPendingPropertyOrPath(c,e,!1,!0),l._flushProperties()}return!0}}itemForElement(t){let e=this.modelForElement(t);return e&&e[this.as]}indexForElement(t){let e=this.modelForElement(t);return e&&e[this.indexAs]}modelForElement(t){return kc(this.template,t)}}customElements.define(Ks.is,Ks);/**
3743
3743
  * @license
3744
3744
  * Copyright (c) 2016 - 2023 Vaadin Ltd.
3745
3745
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3746
- */const zc=s=>class extends Jo(s){static get properties(){return{month:{type:Object,value:new Date,sync:!0},selectedDate:{type:Object,notify:!0,sync:!0},focusedDate:{type:Object},showWeekNumbers:{type:Boolean,value:!1},i18n:{type:Object},ignoreTaps:{type:Boolean},minDate:{type:Date,value:null,sync:!0},maxDate:{type:Date,value:null,sync:!0},disabled:{type:Boolean,reflectToAttribute:!0},_days:{type:Array},_weeks:{type:Array},_notTapping:{type:Boolean}}}static get observers(){return["__focusedDateChanged(focusedDate, _days)"]}get focusableDateElement(){return[...this.shadowRoot.querySelectorAll("[part~=date]")].find(e=>pe(e.date,this.focusedDate))}ready(){super.ready(),ue(this.$.monthGrid,"tap",this._handleTap.bind(this))}_isDisabled(e,o,i){const r=new Date(0,0);r.setFullYear(e.getFullYear()),r.setMonth(e.getMonth()),r.setDate(1);const n=new Date(0,0);return n.setFullYear(e.getFullYear()),n.setMonth(e.getMonth()+1),n.setDate(0),o&&i&&o.getMonth()===i.getMonth()&&o.getMonth()===e.getMonth()&&i.getDate()-o.getDate()>=0?!1:!nt(r,o,i)&&!nt(n,o,i)}_getTitle(e,o){if(!(e===void 0||o===void 0))return o.formatTitle(o.monthNames[e.getMonth()],e.getFullYear())}_onMonthGridTouchStart(){this._notTapping=!1,setTimeout(()=>{this._notTapping=!0},300)}_dateAdd(e,o){e.setDate(e.getDate()+o)}_applyFirstDayOfWeek(e,o){if(!(e===void 0||o===void 0))return e.slice(o).concat(e.slice(0,o))}_getWeekDayNames(e,o){if(e===void 0||o===void 0)return[];const{weekdays:i,weekdaysShort:r,firstDayOfWeek:n}=e,a=this._applyFirstDayOfWeek(r,n);return this._applyFirstDayOfWeek(i,n).map((c,d)=>({weekDay:c,weekDayShort:a[d]}))}__focusedDateChanged(e,o){Array.isArray(o)&&o.some(i=>pe(i,e))?this.removeAttribute("aria-hidden"):this.setAttribute("aria-hidden","true")}_getDate(e){return e?e.getDate():""}_showWeekSeparator(e,o){return e&&o&&o.firstDayOfWeek===1}_isToday(e){return pe(new Date,e)}_getDays(e,o){if(e===void 0||o===void 0)return[];const i=new Date(0,0);for(i.setFullYear(e.getFullYear()),i.setMonth(e.getMonth()),i.setDate(1);i.getDay()!==o.firstDayOfWeek;)this._dateAdd(i,-1);const r=[],n=i.getMonth(),a=e.getMonth();for(;i.getMonth()===a||i.getMonth()===n;)r.push(i.getMonth()===a?new Date(i.getTime()):null),this._dateAdd(i,1);return r}_getWeeks(e){return e.reduce((o,i,r)=>(r%7===0&&o.push([]),o[o.length-1].push(i),o),[])}_handleTap(e){!this.ignoreTaps&&!this._notTapping&&e.target.date&&!e.target.hasAttribute("disabled")&&(this.selectedDate=e.target.date,this.dispatchEvent(new CustomEvent("date-tap",{detail:{date:e.target.date},bubbles:!0,composed:!0})))}_preventDefault(e){e.preventDefault()}__getWeekNumber(e){const o=e.reduce((i,r)=>!i&&r?r:i);return dc(o)}__getDayAriaLabel(e){if(!e)return"";let o=`${this._getDate(e)} ${this.i18n.monthNames[e.getMonth()]} ${e.getFullYear()}, ${this.i18n.weekdays[e.getDay()]}`;return this._isToday(e)&&(o+=`, ${this.i18n.today}`),o}};/**
3746
+ */const Oc=s=>class extends Jo(s){static get properties(){return{month:{type:Object,value:new Date,sync:!0},selectedDate:{type:Object,notify:!0,sync:!0},focusedDate:{type:Object},showWeekNumbers:{type:Boolean,value:!1},i18n:{type:Object},ignoreTaps:{type:Boolean},minDate:{type:Date,value:null,sync:!0},maxDate:{type:Date,value:null,sync:!0},disabled:{type:Boolean,reflectToAttribute:!0},_days:{type:Array},_weeks:{type:Array},_notTapping:{type:Boolean}}}static get observers(){return["__focusedDateChanged(focusedDate, _days)"]}get focusableDateElement(){return[...this.shadowRoot.querySelectorAll("[part~=date]")].find(e=>pe(e.date,this.focusedDate))}ready(){super.ready(),ue(this.$.monthGrid,"tap",this._handleTap.bind(this))}_isDisabled(e,o,i){const r=new Date(0,0);r.setFullYear(e.getFullYear()),r.setMonth(e.getMonth()),r.setDate(1);const n=new Date(0,0);return n.setFullYear(e.getFullYear()),n.setMonth(e.getMonth()+1),n.setDate(0),o&&i&&o.getMonth()===i.getMonth()&&o.getMonth()===e.getMonth()&&i.getDate()-o.getDate()>=0?!1:!nt(r,o,i)&&!nt(n,o,i)}_getTitle(e,o){if(!(e===void 0||o===void 0))return o.formatTitle(o.monthNames[e.getMonth()],e.getFullYear())}_onMonthGridTouchStart(){this._notTapping=!1,setTimeout(()=>{this._notTapping=!0},300)}_dateAdd(e,o){e.setDate(e.getDate()+o)}_applyFirstDayOfWeek(e,o){if(!(e===void 0||o===void 0))return e.slice(o).concat(e.slice(0,o))}_getWeekDayNames(e,o){if(e===void 0||o===void 0)return[];const{weekdays:i,weekdaysShort:r,firstDayOfWeek:n}=e,a=this._applyFirstDayOfWeek(r,n);return this._applyFirstDayOfWeek(i,n).map((c,d)=>({weekDay:c,weekDayShort:a[d]}))}__focusedDateChanged(e,o){Array.isArray(o)&&o.some(i=>pe(i,e))?this.removeAttribute("aria-hidden"):this.setAttribute("aria-hidden","true")}_getDate(e){return e?e.getDate():""}_showWeekSeparator(e,o){return e&&o&&o.firstDayOfWeek===1}_isToday(e){return pe(new Date,e)}_getDays(e,o){if(e===void 0||o===void 0)return[];const i=new Date(0,0);for(i.setFullYear(e.getFullYear()),i.setMonth(e.getMonth()),i.setDate(1);i.getDay()!==o.firstDayOfWeek;)this._dateAdd(i,-1);const r=[],n=i.getMonth(),a=e.getMonth();for(;i.getMonth()===a||i.getMonth()===n;)r.push(i.getMonth()===a?new Date(i.getTime()):null),this._dateAdd(i,1);return r}_getWeeks(e){return e.reduce((o,i,r)=>(r%7===0&&o.push([]),o[o.length-1].push(i),o),[])}_handleTap(e){!this.ignoreTaps&&!this._notTapping&&e.target.date&&!e.target.hasAttribute("disabled")&&(this.selectedDate=e.target.date,this.dispatchEvent(new CustomEvent("date-tap",{detail:{date:e.target.date},bubbles:!0,composed:!0})))}_preventDefault(e){e.preventDefault()}__getWeekNumber(e){const o=e.reduce((i,r)=>!i&&r?r:i);return cc(o)}__getDayAriaLabel(e){if(!e)return"";let o=`${this._getDate(e)} ${this.i18n.monthNames[e.getMonth()]} ${e.getFullYear()}, ${this.i18n.weekdays[e.getDay()]}`;return this._isToday(e)&&(o+=`, ${this.i18n.today}`),o}};/**
3747
3747
  * @license
3748
3748
  * Copyright (c) 2016 - 2023 Vaadin Ltd.
3749
3749
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3750
- */const Nc=C`
3750
+ */const Ic=C`
3751
3751
  :host {
3752
3752
  display: block;
3753
3753
  }
@@ -3807,7 +3807,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3807
3807
  * @license
3808
3808
  * Copyright (c) 2016 - 2023 Vaadin Ltd.
3809
3809
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3810
- */R("vaadin-month-calendar",Nc,{moduleId:"vaadin-month-calendar-styles"});class Fc extends zc(Pe(ye)){static get template(){return Te`
3810
+ */R("vaadin-month-calendar",Ic,{moduleId:"vaadin-month-calendar-styles"});class zc extends Oc(Pe(ye)){static get template(){return Te`
3811
3811
  <div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
3812
3812
  <table
3813
3813
  id="monthGrid"
@@ -3849,19 +3849,19 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3849
3849
  </template>
3850
3850
  </tbody>
3851
3851
  </table>
3852
- `}static get is(){return"vaadin-month-calendar"}static get properties(){return{_days:{type:Array,computed:"_getDays(month, i18n, minDate, maxDate)"},_weeks:{type:Array,computed:"_getWeeks(_days)"},disabled:{type:Boolean,reflectToAttribute:!0,computed:"_isDisabled(month, minDate, maxDate)"}}}static get observers(){return["_showWeekNumbersChanged(showWeekNumbers, i18n)"]}_showWeekNumbersChanged(t,e){t&&e&&e.firstDayOfWeek===1?this.setAttribute("week-numbers",""):this.removeAttribute("week-numbers")}__getDatePart(t,e,o,i,r){const n=["date"];return this.__isDayDisabled(t,i,r)&&n.push("disabled"),this.__isDayFocused(t,e)&&n.push("focused"),this.__isDaySelected(t,o)&&n.push("selected"),this._isToday(t)&&n.push("today"),n.join(" ")}__isDayFocused(t,e){return pe(t,e)}__isDaySelected(t,e){return pe(t,e)}__getDayAriaSelected(t,e){if(this.__isDaySelected(t,e))return"true"}__isDayDisabled(t,e,o){return!nt(t,e,o)}__getDayAriaDisabled(t,e,o){if(!(t===void 0||e===void 0||o===void 0)&&this.__isDayDisabled(t,e,o))return"true"}__getDayTabindex(t,e){return this.__isDayFocused(t,e)?"0":"-1"}}re(Fc);/**
3852
+ `}static get is(){return"vaadin-month-calendar"}static get properties(){return{_days:{type:Array,computed:"_getDays(month, i18n, minDate, maxDate)"},_weeks:{type:Array,computed:"_getWeeks(_days)"},disabled:{type:Boolean,reflectToAttribute:!0,computed:"_isDisabled(month, minDate, maxDate)"}}}static get observers(){return["_showWeekNumbersChanged(showWeekNumbers, i18n)"]}_showWeekNumbersChanged(t,e){t&&e&&e.firstDayOfWeek===1?this.setAttribute("week-numbers",""):this.removeAttribute("week-numbers")}__getDatePart(t,e,o,i,r){const n=["date"];return this.__isDayDisabled(t,i,r)&&n.push("disabled"),this.__isDayFocused(t,e)&&n.push("focused"),this.__isDaySelected(t,o)&&n.push("selected"),this._isToday(t)&&n.push("today"),n.join(" ")}__isDayFocused(t,e){return pe(t,e)}__isDaySelected(t,e){return pe(t,e)}__getDayAriaSelected(t,e){if(this.__isDaySelected(t,e))return"true"}__isDayDisabled(t,e,o){return!nt(t,e,o)}__getDayAriaDisabled(t,e,o){if(!(t===void 0||e===void 0||o===void 0)&&this.__isDayDisabled(t,e,o))return"true"}__getDayTabindex(t,e){return this.__isDayFocused(t,e)?"0":"-1"}}re(zc);/**
3853
3853
  * @license
3854
3854
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
3855
3855
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3856
- */class mr{constructor(t,e){this.query=t,this.callback=e,this._boundQueryHandler=this._queryHandler.bind(this)}hostConnected(){this._removeListener(),this._mediaQuery=window.matchMedia(this.query),this._addListener(),this._queryHandler(this._mediaQuery)}hostDisconnected(){this._removeListener()}_addListener(){this._mediaQuery&&this._mediaQuery.addListener(this._boundQueryHandler)}_removeListener(){this._mediaQuery&&this._mediaQuery.removeListener(this._boundQueryHandler),this._mediaQuery=null}_queryHandler(t){typeof this.callback=="function"&&this.callback(t.matches)}}/**
3856
+ */class pr{constructor(t,e){this.query=t,this.callback=e,this._boundQueryHandler=this._queryHandler.bind(this)}hostConnected(){this._removeListener(),this._mediaQuery=window.matchMedia(this.query),this._addListener(),this._queryHandler(this._mediaQuery)}hostDisconnected(){this._removeListener()}_addListener(){this._mediaQuery&&this._mediaQuery.addListener(this._boundQueryHandler)}_removeListener(){this._mediaQuery&&this._mediaQuery.removeListener(this._boundQueryHandler),this._mediaQuery=null}_queryHandler(t){typeof this.callback=="function"&&this.callback(t.matches)}}/**
3857
3857
  * @license
3858
3858
  * Copyright (c) 2016 - 2023 Vaadin Ltd.
3859
3859
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3860
- */const Lc=s=>class extends s{static get properties(){return{scrollDuration:{type:Number,value:300},selectedDate:{type:Object,value:null,sync:!0},focusedDate:{type:Object,notify:!0,observer:"_focusedDateChanged",sync:!0},_focusedMonthDate:Number,initialPosition:{type:Object,observer:"_initialPositionChanged"},_originDate:{type:Object,value:new Date},_visibleMonthIndex:Number,_desktopMode:{type:Boolean,observer:"_desktopModeChanged"},_desktopMediaQuery:{type:String,value:"(min-width: 375px)"},_translateX:{observer:"_translateXChanged"},_yearScrollerWidth:{value:50},i18n:{type:Object},showWeekNumbers:{type:Boolean,value:!1},_ignoreTaps:Boolean,_notTapping:Boolean,minDate:{type:Object,sync:!0},maxDate:{type:Object,sync:!0},label:String,_cancelButton:{type:Object},_todayButton:{type:Object},calendars:{type:Array,value:()=>[]},years:{type:Array,value:()=>[]}}}static get observers(){return["__updateCalendars(calendars, i18n, minDate, maxDate, selectedDate, focusedDate, showWeekNumbers, _ignoreTaps, _theme)","__updateCancelButton(_cancelButton, i18n)","__updateTodayButton(_todayButton, i18n, minDate, maxDate)","__updateYears(years, selectedDate, _theme)"]}get __useSubMonthScrolling(){return this._monthScroller.clientHeight<this._monthScroller.itemHeight+this._monthScroller.bufferOffset}get focusableDateElement(){return this.calendars.map(e=>e.focusableDateElement).find(Boolean)}_addListeners(){Wi(this.$.scrollers,"pan-y"),ue(this.$.scrollers,"track",this._track.bind(this)),ue(this.shadowRoot.querySelector('[part="clear-button"]'),"tap",this._clear.bind(this)),ue(this.shadowRoot.querySelector('[part="toggle-button"]'),"tap",this._cancel.bind(this)),ue(this.shadowRoot.querySelector('[part="years-toggle-button"]'),"tap",this._toggleYearScroller.bind(this))}_initControllers(){this.addController(new mr(this._desktopMediaQuery,e=>{this._desktopMode=e})),this.addController(new Se(this,"today-button","vaadin-button",{observe:!1,initializer:e=>{e.setAttribute("theme","tertiary"),e.addEventListener("keydown",o=>this.__onTodayButtonKeyDown(o)),ue(e,"tap",this._onTodayTap.bind(this)),this._todayButton=e}})),this.addController(new Se(this,"cancel-button","vaadin-button",{observe:!1,initializer:e=>{e.setAttribute("theme","tertiary"),e.addEventListener("keydown",o=>this.__onCancelButtonKeyDown(o)),ue(e,"tap",this._cancel.bind(this)),this._cancelButton=e}})),this.__initMonthScroller(),this.__initYearScroller()}reset(){this._closeYearScroller(),this._toggleAnimateClass(!0)}focusCancel(){this._cancelButton.focus()}scrollToDate(e,o){const i=this.__useSubMonthScrolling?this._calculateWeekScrollOffset(e):0;this._scrollToPosition(this._differenceInMonths(e,this._originDate)+i,o),this._monthScroller.forceUpdate()}__initMonthScroller(){this.addController(new Se(this,"months","vaadin-date-picker-month-scroller",{observe:!1,initializer:e=>{e.addEventListener("custom-scroll",()=>{this._onMonthScroll()}),e.addEventListener("touchstart",()=>{this._onMonthScrollTouchStart()}),e.addEventListener("keydown",o=>{this.__onMonthCalendarKeyDown(o)}),e.addEventListener("init-done",()=>{const o=[...this.querySelectorAll("vaadin-month-calendar")];o.forEach(i=>{i.addEventListener("selected-date-changed",r=>{this.selectedDate=r.detail.value})}),this.calendars=o}),this._monthScroller=e}}))}__initYearScroller(){this.addController(new Se(this,"years","vaadin-date-picker-year-scroller",{observe:!1,initializer:e=>{e.setAttribute("aria-hidden","true"),ue(e,"tap",o=>{this._onYearTap(o)}),e.addEventListener("custom-scroll",()=>{this._onYearScroll()}),e.addEventListener("touchstart",()=>{this._onYearScrollTouchStart()}),e.addEventListener("init-done",()=>{this.years=[...this.querySelectorAll("vaadin-date-picker-year")]}),this._yearScroller=e}}))}__updateCancelButton(e,o){e&&(e.textContent=o&&o.cancel)}__updateTodayButton(e,o,i,r){e&&(e.textContent=o&&o.today,e.disabled=!this._isTodayAllowed(i,r))}__updateCalendars(e,o,i,r,n,a,l,c,d){e&&e.length&&e.forEach(h=>{h.i18n=o,h.minDate=i,h.maxDate=r,h.focusedDate=a,h.selectedDate=n,h.showWeekNumbers=l,h.ignoreTaps=c,d?h.setAttribute("theme",d):h.removeAttribute("theme")})}__updateYears(e,o,i){e&&e.length&&e.forEach(r=>{r.selectedDate=o,i?r.setAttribute("theme",i):r.removeAttribute("theme")})}_selectDate(e){this.selectedDate=e,this.dispatchEvent(new CustomEvent("date-selected",{detail:{date:e},bubbles:!0,composed:!0}))}_desktopModeChanged(e){this.toggleAttribute("desktop",e)}_focusedDateChanged(e){this.revealDate(e)}revealDate(e,o=!0){if(!e)return;const i=this._differenceInMonths(e,this._originDate);if(this.__useSubMonthScrolling){const c=this._calculateWeekScrollOffset(e);this._scrollToPosition(i+c,o);return}const r=this._monthScroller.position>i,a=Math.max(this._monthScroller.itemHeight,this._monthScroller.clientHeight-this._monthScroller.bufferOffset*2)/this._monthScroller.itemHeight,l=this._monthScroller.position+a-1<i;r?this._scrollToPosition(i,o):l&&this._scrollToPosition(i-a+1,o)}_calculateWeekScrollOffset(e){const o=new Date(0,0);o.setFullYear(e.getFullYear()),o.setMonth(e.getMonth()),o.setDate(1);let i=0;for(;o.getDate()<e.getDate();)o.setDate(o.getDate()+1),o.getDay()===this.i18n.firstDayOfWeek&&(i+=1);return i/6}_initialPositionChanged(e){this._monthScroller&&this._yearScroller&&(this._monthScroller.active=!0,this._yearScroller.active=!0),this.scrollToDate(e)}_repositionYearScroller(){const e=this._monthScroller.position;this._visibleMonthIndex=Math.floor(e),this._yearScroller.position=(e+this._originDate.getMonth())/12}_repositionMonthScroller(){this._monthScroller.position=this._yearScroller.position*12-this._originDate.getMonth(),this._visibleMonthIndex=Math.floor(this._monthScroller.position)}_onMonthScroll(){this._repositionYearScroller(),this._doIgnoreTaps()}_onYearScroll(){this._repositionMonthScroller(),this._doIgnoreTaps()}_onYearScrollTouchStart(){this._notTapping=!1,setTimeout(()=>{this._notTapping=!0},300),this._repositionMonthScroller()}_onMonthScrollTouchStart(){this._repositionYearScroller()}_doIgnoreTaps(){this._ignoreTaps=!0,this._debouncer=rt.debounce(this._debouncer,Dt.after(300),()=>{this._ignoreTaps=!1})}_formatDisplayed(e,o,i){return e&&o&&typeof o.formatDate=="function"?o.formatDate(nr(e)):i}_onTodayTap(){const e=new Date;Math.abs(this._monthScroller.position-this._differenceInMonths(e,this._originDate))<.001?(this._selectDate(e),this._close()):this._scrollToCurrentMonth()}_scrollToCurrentMonth(){this.focusedDate&&(this.focusedDate=new Date),this.scrollToDate(new Date,!0)}_onYearTap(e){if(!this._ignoreTaps&&!this._notTapping){const i=(e.detail.y-(this._yearScroller.getBoundingClientRect().top+this._yearScroller.clientHeight/2))/this._yearScroller.itemHeight;this._scrollToPosition(this._monthScroller.position+i*12,!0)}}_scrollToPosition(e,o){if(this._targetPosition!==void 0){this._targetPosition=e;return}if(!o){this._monthScroller.position=e,this._targetPosition=void 0,this._repositionYearScroller(),this.__tryFocusDate();return}this._targetPosition=e;let i;this._revealPromise=new Promise(c=>{i=c});const r=(c,d,h,p)=>(c/=p/2,c<1?h/2*c*c+d:(c-=1,-h/2*(c*(c-2)-1)+d));let n=0;const a=this._monthScroller.position,l=c=>{n||(n=c);const d=c-n;if(d<this.scrollDuration){const h=r(d,a,this._targetPosition-a,this.scrollDuration);this._monthScroller.position=h,window.requestAnimationFrame(l)}else this.dispatchEvent(new CustomEvent("scroll-animation-finished",{bubbles:!0,composed:!0,detail:{position:this._targetPosition,oldPosition:a}})),this._monthScroller.position=this._targetPosition,this._targetPosition=void 0,i(),this._revealPromise=void 0;setTimeout(this._repositionYearScroller.bind(this),1)};window.requestAnimationFrame(l)}_limit(e,o){return Math.min(o.max,Math.max(o.min,e))}_handleTrack(e){if(Math.abs(e.detail.dx)<10||Math.abs(e.detail.ddy)>10)return;Math.abs(e.detail.ddx)>this._yearScrollerWidth/3&&this._toggleAnimateClass(!0);const o=this._translateX+e.detail.ddx;this._translateX=this._limit(o,{min:0,max:this._yearScrollerWidth})}_track(e){if(!this._desktopMode)switch(e.detail.state){case"start":this._toggleAnimateClass(!1);break;case"track":this._handleTrack(e);break;case"end":this._toggleAnimateClass(!0),this._translateX>=this._yearScrollerWidth/2?this._closeYearScroller():this._openYearScroller();break}}_toggleAnimateClass(e){e?this.classList.add("animate"):this.classList.remove("animate")}_toggleYearScroller(){this._isYearScrollerVisible()?this._closeYearScroller():this._openYearScroller()}_openYearScroller(){this._translateX=0,this.setAttribute("years-visible","")}_closeYearScroller(){this.removeAttribute("years-visible"),this._translateX=this._yearScrollerWidth}_isYearScrollerVisible(){return this._translateX<this._yearScrollerWidth/2}_translateXChanged(e){this._desktopMode||(this._monthScroller.style.transform=`translateX(${e-this._yearScrollerWidth}px)`,this._yearScroller.style.transform=`translateX(${e}px)`)}_yearAfterXMonths(e){return ar(e).getFullYear()}_differenceInMonths(e,o){return(e.getFullYear()-o.getFullYear())*12-o.getMonth()+e.getMonth()}_clear(){this._selectDate("")}_close(){this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}_cancel(){this.focusedDate=this.selectedDate,this._close()}_preventDefault(e){e.preventDefault()}__toggleDate(e){pe(e,this.selectedDate)?(this._clear(),this.focusedDate=e):this._selectDate(e)}__onMonthCalendarKeyDown(e){let o=!1;switch(e.key){case"ArrowDown":this._moveFocusByDays(7),o=!0;break;case"ArrowUp":this._moveFocusByDays(-7),o=!0;break;case"ArrowRight":this._moveFocusByDays(this.__isRTL?-1:1),o=!0;break;case"ArrowLeft":this._moveFocusByDays(this.__isRTL?1:-1),o=!0;break;case"Enter":this._selectDate(this.focusedDate),this._close(),o=!0;break;case" ":this.__toggleDate(this.focusedDate),o=!0;break;case"Home":this._moveFocusInsideMonth(this.focusedDate,"minDate"),o=!0;break;case"End":this._moveFocusInsideMonth(this.focusedDate,"maxDate"),o=!0;break;case"PageDown":this._moveFocusByMonths(e.shiftKey?12:1),o=!0;break;case"PageUp":this._moveFocusByMonths(e.shiftKey?-12:-1),o=!0;break;case"Tab":this._onTabKeyDown(e,"calendar");break}o&&(e.preventDefault(),e.stopPropagation())}_onTabKeyDown(e,o){switch(e.stopPropagation(),o){case"calendar":e.shiftKey&&(e.preventDefault(),this.hasAttribute("fullscreen")?this.focusCancel():this.__focusInput());break;case"today":e.shiftKey&&(e.preventDefault(),this.focusDateElement());break;case"cancel":e.shiftKey||(e.preventDefault(),this.hasAttribute("fullscreen")?this.focusDateElement():this.__focusInput());break}}__onTodayButtonKeyDown(e){e.key==="Tab"&&this._onTabKeyDown(e,"today")}__onCancelButtonKeyDown(e){e.key==="Tab"&&this._onTabKeyDown(e,"cancel")}__focusInput(){this.dispatchEvent(new CustomEvent("focus-input",{bubbles:!0,composed:!0}))}__tryFocusDate(){if(this.__pendingDateFocus){const o=this.focusableDateElement;o&&pe(o.date,this.__pendingDateFocus)&&(delete this.__pendingDateFocus,o.focus())}}focusDate(e,o){return ft(this,null,function*(){const i=e||this.selectedDate||this.initialPosition||new Date;this.focusedDate=i,o||(this._focusedMonthDate=i.getDate()),yield this.focusDateElement(!1)})}focusDateElement(e=!0){return ft(this,null,function*(){this.__pendingDateFocus=this.focusedDate,this.calendars.length||(yield new Promise(o=>{or(this,()=>{pr(),o()})})),e&&this.revealDate(this.focusedDate),this._revealPromise&&(yield this._revealPromise),this.__tryFocusDate()})}_focusClosestDate(e){this.focusDate(rr(e,[this.minDate,this.maxDate]))}_focusAllowedDate(e,o,i){this._dateAllowed(e)?this.focusDate(e,i):this._dateAllowed(this.focusedDate)?o>0?this.focusDate(this.maxDate):this.focusDate(this.minDate):this._focusClosestDate(this.focusedDate)}_getDateDiff(e,o){const i=new Date(0,0);return i.setFullYear(this.focusedDate.getFullYear()),i.setMonth(this.focusedDate.getMonth()+e),o&&i.setDate(this.focusedDate.getDate()+o),i}_moveFocusByDays(e){const o=this._getDateDiff(0,e);this._focusAllowedDate(o,e,!1)}_moveFocusByMonths(e){const o=this._getDateDiff(e),i=o.getMonth();this._focusedMonthDate||(this._focusedMonthDate=this.focusedDate.getDate()),o.setDate(this._focusedMonthDate),o.getMonth()!==i&&o.setDate(0),this._focusAllowedDate(o,e,!0)}_moveFocusInsideMonth(e,o){const i=new Date(0,0);i.setFullYear(e.getFullYear()),o==="minDate"?(i.setMonth(e.getMonth()),i.setDate(1)):(i.setMonth(e.getMonth()+1),i.setDate(0)),this._dateAllowed(i)?this.focusDate(i):this._dateAllowed(e)?this.focusDate(this[o]):this._focusClosestDate(e)}_dateAllowed(e,o=this.minDate,i=this.maxDate){return(!o||e>=o)&&(!i||e<=i)}_isTodayAllowed(e,o){const i=new Date,r=new Date(0,0);return r.setFullYear(i.getFullYear()),r.setMonth(i.getMonth()),r.setDate(i.getDate()),this._dateAllowed(r,e,o)}};/**
3860
+ */const Nc=s=>class extends s{static get properties(){return{scrollDuration:{type:Number,value:300},selectedDate:{type:Object,value:null,sync:!0},focusedDate:{type:Object,notify:!0,observer:"_focusedDateChanged",sync:!0},_focusedMonthDate:Number,initialPosition:{type:Object,observer:"_initialPositionChanged"},_originDate:{type:Object,value:new Date},_visibleMonthIndex:Number,_desktopMode:{type:Boolean,observer:"_desktopModeChanged"},_desktopMediaQuery:{type:String,value:"(min-width: 375px)"},_translateX:{observer:"_translateXChanged"},_yearScrollerWidth:{value:50},i18n:{type:Object},showWeekNumbers:{type:Boolean,value:!1},_ignoreTaps:Boolean,_notTapping:Boolean,minDate:{type:Object,sync:!0},maxDate:{type:Object,sync:!0},label:String,_cancelButton:{type:Object},_todayButton:{type:Object},calendars:{type:Array,value:()=>[]},years:{type:Array,value:()=>[]}}}static get observers(){return["__updateCalendars(calendars, i18n, minDate, maxDate, selectedDate, focusedDate, showWeekNumbers, _ignoreTaps, _theme)","__updateCancelButton(_cancelButton, i18n)","__updateTodayButton(_todayButton, i18n, minDate, maxDate)","__updateYears(years, selectedDate, _theme)"]}get __useSubMonthScrolling(){return this._monthScroller.clientHeight<this._monthScroller.itemHeight+this._monthScroller.bufferOffset}get focusableDateElement(){return this.calendars.map(e=>e.focusableDateElement).find(Boolean)}_addListeners(){Ui(this.$.scrollers,"pan-y"),ue(this.$.scrollers,"track",this._track.bind(this)),ue(this.shadowRoot.querySelector('[part="clear-button"]'),"tap",this._clear.bind(this)),ue(this.shadowRoot.querySelector('[part="toggle-button"]'),"tap",this._cancel.bind(this)),ue(this.shadowRoot.querySelector('[part="years-toggle-button"]'),"tap",this._toggleYearScroller.bind(this))}_initControllers(){this.addController(new pr(this._desktopMediaQuery,e=>{this._desktopMode=e})),this.addController(new Se(this,"today-button","vaadin-button",{observe:!1,initializer:e=>{e.setAttribute("theme","tertiary"),e.addEventListener("keydown",o=>this.__onTodayButtonKeyDown(o)),ue(e,"tap",this._onTodayTap.bind(this)),this._todayButton=e}})),this.addController(new Se(this,"cancel-button","vaadin-button",{observe:!1,initializer:e=>{e.setAttribute("theme","tertiary"),e.addEventListener("keydown",o=>this.__onCancelButtonKeyDown(o)),ue(e,"tap",this._cancel.bind(this)),this._cancelButton=e}})),this.__initMonthScroller(),this.__initYearScroller()}reset(){this._closeYearScroller(),this._toggleAnimateClass(!0)}focusCancel(){this._cancelButton.focus()}scrollToDate(e,o){const i=this.__useSubMonthScrolling?this._calculateWeekScrollOffset(e):0;this._scrollToPosition(this._differenceInMonths(e,this._originDate)+i,o),this._monthScroller.forceUpdate()}__initMonthScroller(){this.addController(new Se(this,"months","vaadin-date-picker-month-scroller",{observe:!1,initializer:e=>{e.addEventListener("custom-scroll",()=>{this._onMonthScroll()}),e.addEventListener("touchstart",()=>{this._onMonthScrollTouchStart()}),e.addEventListener("keydown",o=>{this.__onMonthCalendarKeyDown(o)}),e.addEventListener("init-done",()=>{const o=[...this.querySelectorAll("vaadin-month-calendar")];o.forEach(i=>{i.addEventListener("selected-date-changed",r=>{this.selectedDate=r.detail.value})}),this.calendars=o}),this._monthScroller=e}}))}__initYearScroller(){this.addController(new Se(this,"years","vaadin-date-picker-year-scroller",{observe:!1,initializer:e=>{e.setAttribute("aria-hidden","true"),ue(e,"tap",o=>{this._onYearTap(o)}),e.addEventListener("custom-scroll",()=>{this._onYearScroll()}),e.addEventListener("touchstart",()=>{this._onYearScrollTouchStart()}),e.addEventListener("init-done",()=>{this.years=[...this.querySelectorAll("vaadin-date-picker-year")]}),this._yearScroller=e}}))}__updateCancelButton(e,o){e&&(e.textContent=o&&o.cancel)}__updateTodayButton(e,o,i,r){e&&(e.textContent=o&&o.today,e.disabled=!this._isTodayAllowed(i,r))}__updateCalendars(e,o,i,r,n,a,l,c,d){e&&e.length&&e.forEach(h=>{h.i18n=o,h.minDate=i,h.maxDate=r,h.focusedDate=a,h.selectedDate=n,h.showWeekNumbers=l,h.ignoreTaps=c,d?h.setAttribute("theme",d):h.removeAttribute("theme")})}__updateYears(e,o,i){e&&e.length&&e.forEach(r=>{r.selectedDate=o,i?r.setAttribute("theme",i):r.removeAttribute("theme")})}_selectDate(e){this.selectedDate=e,this.dispatchEvent(new CustomEvent("date-selected",{detail:{date:e},bubbles:!0,composed:!0}))}_desktopModeChanged(e){this.toggleAttribute("desktop",e)}_focusedDateChanged(e){this.revealDate(e)}revealDate(e,o=!0){if(!e)return;const i=this._differenceInMonths(e,this._originDate);if(this.__useSubMonthScrolling){const c=this._calculateWeekScrollOffset(e);this._scrollToPosition(i+c,o);return}const r=this._monthScroller.position>i,a=Math.max(this._monthScroller.itemHeight,this._monthScroller.clientHeight-this._monthScroller.bufferOffset*2)/this._monthScroller.itemHeight,l=this._monthScroller.position+a-1<i;r?this._scrollToPosition(i,o):l&&this._scrollToPosition(i-a+1,o)}_calculateWeekScrollOffset(e){const o=new Date(0,0);o.setFullYear(e.getFullYear()),o.setMonth(e.getMonth()),o.setDate(1);let i=0;for(;o.getDate()<e.getDate();)o.setDate(o.getDate()+1),o.getDay()===this.i18n.firstDayOfWeek&&(i+=1);return i/6}_initialPositionChanged(e){this._monthScroller&&this._yearScroller&&(this._monthScroller.active=!0,this._yearScroller.active=!0),this.scrollToDate(e)}_repositionYearScroller(){const e=this._monthScroller.position;this._visibleMonthIndex=Math.floor(e),this._yearScroller.position=(e+this._originDate.getMonth())/12}_repositionMonthScroller(){this._monthScroller.position=this._yearScroller.position*12-this._originDate.getMonth(),this._visibleMonthIndex=Math.floor(this._monthScroller.position)}_onMonthScroll(){this._repositionYearScroller(),this._doIgnoreTaps()}_onYearScroll(){this._repositionMonthScroller(),this._doIgnoreTaps()}_onYearScrollTouchStart(){this._notTapping=!1,setTimeout(()=>{this._notTapping=!0},300),this._repositionMonthScroller()}_onMonthScrollTouchStart(){this._repositionYearScroller()}_doIgnoreTaps(){this._ignoreTaps=!0,this._debouncer=rt.debounce(this._debouncer,Tt.after(300),()=>{this._ignoreTaps=!1})}_formatDisplayed(e,o,i){return e&&o&&typeof o.formatDate=="function"?o.formatDate(rr(e)):i}_onTodayTap(){const e=new Date;Math.abs(this._monthScroller.position-this._differenceInMonths(e,this._originDate))<.001?(this._selectDate(e),this._close()):this._scrollToCurrentMonth()}_scrollToCurrentMonth(){this.focusedDate&&(this.focusedDate=new Date),this.scrollToDate(new Date,!0)}_onYearTap(e){if(!this._ignoreTaps&&!this._notTapping){const i=(e.detail.y-(this._yearScroller.getBoundingClientRect().top+this._yearScroller.clientHeight/2))/this._yearScroller.itemHeight;this._scrollToPosition(this._monthScroller.position+i*12,!0)}}_scrollToPosition(e,o){if(this._targetPosition!==void 0){this._targetPosition=e;return}if(!o){this._monthScroller.position=e,this._targetPosition=void 0,this._repositionYearScroller(),this.__tryFocusDate();return}this._targetPosition=e;let i;this._revealPromise=new Promise(c=>{i=c});const r=(c,d,h,p)=>(c/=p/2,c<1?h/2*c*c+d:(c-=1,-h/2*(c*(c-2)-1)+d));let n=0;const a=this._monthScroller.position,l=c=>{n||(n=c);const d=c-n;if(d<this.scrollDuration){const h=r(d,a,this._targetPosition-a,this.scrollDuration);this._monthScroller.position=h,window.requestAnimationFrame(l)}else this.dispatchEvent(new CustomEvent("scroll-animation-finished",{bubbles:!0,composed:!0,detail:{position:this._targetPosition,oldPosition:a}})),this._monthScroller.position=this._targetPosition,this._targetPosition=void 0,i(),this._revealPromise=void 0;setTimeout(this._repositionYearScroller.bind(this),1)};window.requestAnimationFrame(l)}_limit(e,o){return Math.min(o.max,Math.max(o.min,e))}_handleTrack(e){if(Math.abs(e.detail.dx)<10||Math.abs(e.detail.ddy)>10)return;Math.abs(e.detail.ddx)>this._yearScrollerWidth/3&&this._toggleAnimateClass(!0);const o=this._translateX+e.detail.ddx;this._translateX=this._limit(o,{min:0,max:this._yearScrollerWidth})}_track(e){if(!this._desktopMode)switch(e.detail.state){case"start":this._toggleAnimateClass(!1);break;case"track":this._handleTrack(e);break;case"end":this._toggleAnimateClass(!0),this._translateX>=this._yearScrollerWidth/2?this._closeYearScroller():this._openYearScroller();break}}_toggleAnimateClass(e){e?this.classList.add("animate"):this.classList.remove("animate")}_toggleYearScroller(){this._isYearScrollerVisible()?this._closeYearScroller():this._openYearScroller()}_openYearScroller(){this._translateX=0,this.setAttribute("years-visible","")}_closeYearScroller(){this.removeAttribute("years-visible"),this._translateX=this._yearScrollerWidth}_isYearScrollerVisible(){return this._translateX<this._yearScrollerWidth/2}_translateXChanged(e){this._desktopMode||(this._monthScroller.style.transform=`translateX(${e-this._yearScrollerWidth}px)`,this._yearScroller.style.transform=`translateX(${e}px)`)}_yearAfterXMonths(e){return nr(e).getFullYear()}_differenceInMonths(e,o){return(e.getFullYear()-o.getFullYear())*12-o.getMonth()+e.getMonth()}_clear(){this._selectDate("")}_close(){this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}_cancel(){this.focusedDate=this.selectedDate,this._close()}_preventDefault(e){e.preventDefault()}__toggleDate(e){pe(e,this.selectedDate)?(this._clear(),this.focusedDate=e):this._selectDate(e)}__onMonthCalendarKeyDown(e){let o=!1;switch(e.key){case"ArrowDown":this._moveFocusByDays(7),o=!0;break;case"ArrowUp":this._moveFocusByDays(-7),o=!0;break;case"ArrowRight":this._moveFocusByDays(this.__isRTL?-1:1),o=!0;break;case"ArrowLeft":this._moveFocusByDays(this.__isRTL?1:-1),o=!0;break;case"Enter":this._selectDate(this.focusedDate),this._close(),o=!0;break;case" ":this.__toggleDate(this.focusedDate),o=!0;break;case"Home":this._moveFocusInsideMonth(this.focusedDate,"minDate"),o=!0;break;case"End":this._moveFocusInsideMonth(this.focusedDate,"maxDate"),o=!0;break;case"PageDown":this._moveFocusByMonths(e.shiftKey?12:1),o=!0;break;case"PageUp":this._moveFocusByMonths(e.shiftKey?-12:-1),o=!0;break;case"Tab":this._onTabKeyDown(e,"calendar");break}o&&(e.preventDefault(),e.stopPropagation())}_onTabKeyDown(e,o){switch(e.stopPropagation(),o){case"calendar":e.shiftKey&&(e.preventDefault(),this.hasAttribute("fullscreen")?this.focusCancel():this.__focusInput());break;case"today":e.shiftKey&&(e.preventDefault(),this.focusDateElement());break;case"cancel":e.shiftKey||(e.preventDefault(),this.hasAttribute("fullscreen")?this.focusDateElement():this.__focusInput());break}}__onTodayButtonKeyDown(e){e.key==="Tab"&&this._onTabKeyDown(e,"today")}__onCancelButtonKeyDown(e){e.key==="Tab"&&this._onTabKeyDown(e,"cancel")}__focusInput(){this.dispatchEvent(new CustomEvent("focus-input",{bubbles:!0,composed:!0}))}__tryFocusDate(){if(this.__pendingDateFocus){const o=this.focusableDateElement;o&&pe(o.date,this.__pendingDateFocus)&&(delete this.__pendingDateFocus,o.focus())}}focusDate(e,o){return ft(this,null,function*(){const i=e||this.selectedDate||this.initialPosition||new Date;this.focusedDate=i,o||(this._focusedMonthDate=i.getDate()),yield this.focusDateElement(!1)})}focusDateElement(e=!0){return ft(this,null,function*(){this.__pendingDateFocus=this.focusedDate,this.calendars.length||(yield new Promise(o=>{tr(this,()=>{hr(),o()})})),e&&this.revealDate(this.focusedDate),this._revealPromise&&(yield this._revealPromise),this.__tryFocusDate()})}_focusClosestDate(e){this.focusDate(ir(e,[this.minDate,this.maxDate]))}_focusAllowedDate(e,o,i){this._dateAllowed(e)?this.focusDate(e,i):this._dateAllowed(this.focusedDate)?o>0?this.focusDate(this.maxDate):this.focusDate(this.minDate):this._focusClosestDate(this.focusedDate)}_getDateDiff(e,o){const i=new Date(0,0);return i.setFullYear(this.focusedDate.getFullYear()),i.setMonth(this.focusedDate.getMonth()+e),o&&i.setDate(this.focusedDate.getDate()+o),i}_moveFocusByDays(e){const o=this._getDateDiff(0,e);this._focusAllowedDate(o,e,!1)}_moveFocusByMonths(e){const o=this._getDateDiff(e),i=o.getMonth();this._focusedMonthDate||(this._focusedMonthDate=this.focusedDate.getDate()),o.setDate(this._focusedMonthDate),o.getMonth()!==i&&o.setDate(0),this._focusAllowedDate(o,e,!0)}_moveFocusInsideMonth(e,o){const i=new Date(0,0);i.setFullYear(e.getFullYear()),o==="minDate"?(i.setMonth(e.getMonth()),i.setDate(1)):(i.setMonth(e.getMonth()+1),i.setDate(0)),this._dateAllowed(i)?this.focusDate(i):this._dateAllowed(e)?this.focusDate(this[o]):this._focusClosestDate(e)}_dateAllowed(e,o=this.minDate,i=this.maxDate){return(!o||e>=o)&&(!i||e<=i)}_isTodayAllowed(e,o){const i=new Date,r=new Date(0,0);return r.setFullYear(i.getFullYear()),r.setMonth(i.getMonth()),r.setDate(i.getDate()),this._dateAllowed(r,e,o)}};/**
3861
3861
  * @license
3862
3862
  * Copyright (c) 2016 - 2023 Vaadin Ltd.
3863
3863
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3864
- */const $c=C`
3864
+ */const Fc=C`
3865
3865
  :host {
3866
3866
  display: flex;
3867
3867
  flex-direction: column;
@@ -3925,7 +3925,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3925
3925
  * @license
3926
3926
  * Copyright (c) 2016 - 2023 Vaadin Ltd.
3927
3927
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3928
- */R("vaadin-date-picker-overlay-content",$c,{moduleId:"vaadin-date-picker-overlay-content-styles"});class Rc extends Lc(He(Pe(Nt(ye)))){static get template(){return Te`
3928
+ */R("vaadin-date-picker-overlay-content",Fc,{moduleId:"vaadin-date-picker-overlay-content-styles"});class Lc extends Nc(He(Pe(Ft(ye)))){static get template(){return Te`
3929
3929
  <div part="overlay-header" on-touchend="_preventDefault" aria-hidden="true">
3930
3930
  <div part="label">[[_formatDisplayed(selectedDate, i18n, label)]]</div>
3931
3931
  <div part="clear-button" hidden$="[[!selectedDate]]"></div>
@@ -3945,88 +3945,88 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3945
3945
  <slot name="today-button"></slot>
3946
3946
  <slot name="cancel-button"></slot>
3947
3947
  </div>
3948
- `}static get is(){return"vaadin-date-picker-overlay-content"}ready(){super.ready(),this.setAttribute("role","dialog"),this._addListeners(),this._initControllers()}}re(Rc);/**
3948
+ `}static get is(){return"vaadin-date-picker-overlay-content"}ready(){super.ready(),this.setAttribute("role","dialog"),this._addListeners(),this._initControllers()}}re(Lc);/**
3949
3949
  * @license
3950
3950
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
3951
3951
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3952
- */const fr=Y(s=>class extends Jo(Gi(s)){static get properties(){return{autofocus:{type:Boolean},focusElement:{type:Object,readOnly:!0,observer:"_focusElementChanged"},_lastTabIndex:{value:0}}}constructor(){super(),this._boundOnBlur=this._onBlur.bind(this),this._boundOnFocus=this._onFocus.bind(this)}ready(){super.ready(),this.autofocus&&!this.disabled&&requestAnimationFrame(()=>{this.focus(),this.setAttribute("focus-ring","")})}focus(){this.focusElement&&!this.disabled&&this.focusElement.focus()}blur(){this.focusElement&&this.focusElement.blur()}click(){this.focusElement&&!this.disabled&&this.focusElement.click()}_focusElementChanged(e,o){e?(e.disabled=this.disabled,this._addFocusListeners(e),this.__forwardTabIndex(this.tabindex)):o&&this._removeFocusListeners(o)}_addFocusListeners(e){e.addEventListener("blur",this._boundOnBlur),e.addEventListener("focus",this._boundOnFocus)}_removeFocusListeners(e){e.removeEventListener("blur",this._boundOnBlur),e.removeEventListener("focus",this._boundOnFocus)}_onFocus(e){e.stopPropagation(),this.dispatchEvent(new Event("focus"))}_onBlur(e){e.stopPropagation(),this.dispatchEvent(new Event("blur"))}_shouldSetFocus(e){return e.target===this.focusElement}_shouldRemoveFocus(e){return e.target===this.focusElement}_disabledChanged(e,o){super._disabledChanged(e,o),this.focusElement&&(this.focusElement.disabled=e),e&&this.blur()}_tabindexChanged(e){this.__forwardTabIndex(e)}__forwardTabIndex(e){e!==void 0&&this.focusElement&&(this.focusElement.tabIndex=e,e!==-1&&(this.tabindex=void 0)),this.disabled&&e&&(e!==-1&&(this._lastTabIndex=e),this.tabindex=void 0)}});/**
3952
+ */const mr=Y(s=>class extends Jo(Ki(s)){static get properties(){return{autofocus:{type:Boolean},focusElement:{type:Object,readOnly:!0,observer:"_focusElementChanged"},_lastTabIndex:{value:0}}}constructor(){super(),this._boundOnBlur=this._onBlur.bind(this),this._boundOnFocus=this._onFocus.bind(this)}ready(){super.ready(),this.autofocus&&!this.disabled&&requestAnimationFrame(()=>{this.focus(),this.setAttribute("focus-ring","")})}focus(){this.focusElement&&!this.disabled&&this.focusElement.focus()}blur(){this.focusElement&&this.focusElement.blur()}click(){this.focusElement&&!this.disabled&&this.focusElement.click()}_focusElementChanged(e,o){e?(e.disabled=this.disabled,this._addFocusListeners(e),this.__forwardTabIndex(this.tabindex)):o&&this._removeFocusListeners(o)}_addFocusListeners(e){e.addEventListener("blur",this._boundOnBlur),e.addEventListener("focus",this._boundOnFocus)}_removeFocusListeners(e){e.removeEventListener("blur",this._boundOnBlur),e.removeEventListener("focus",this._boundOnFocus)}_onFocus(e){e.stopPropagation(),this.dispatchEvent(new Event("focus"))}_onBlur(e){e.stopPropagation(),this.dispatchEvent(new Event("blur"))}_shouldSetFocus(e){return e.target===this.focusElement}_shouldRemoveFocus(e){return e.target===this.focusElement}_disabledChanged(e,o){super._disabledChanged(e,o),this.focusElement&&(this.focusElement.disabled=e),e&&this.blur()}_tabindexChanged(e){this.__forwardTabIndex(e)}__forwardTabIndex(e){e!==void 0&&this.focusElement&&(this.focusElement.tabIndex=e,e!==-1&&(this.tabindex=void 0)),this.disabled&&e&&(e!==-1&&(this._lastTabIndex=e),this.tabindex=void 0)}});/**
3953
3953
  * @license
3954
3954
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
3955
3955
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3956
- */const lo=new WeakMap;function Bc(s){return lo.has(s)||lo.set(s,new Set),lo.get(s)}function Hc(s,t){const e=document.createElement("style");e.textContent=s,t===document?document.head.appendChild(e):t.insertBefore(e,t.firstChild)}const jc=Y(s=>class extends s{get slotStyles(){return{}}connectedCallback(){super.connectedCallback(),this.__applySlotStyles()}__applySlotStyles(){const e=this.getRootNode(),o=Bc(e);this.slotStyles.forEach(i=>{o.has(i)||(Hc(i,e),o.add(i))})}});/**
3956
+ */const lo=new WeakMap;function $c(s){return lo.has(s)||lo.set(s,new Set),lo.get(s)}function Rc(s,t){const e=document.createElement("style");e.textContent=s,t===document?document.head.appendChild(e):t.insertBefore(e,t.firstChild)}const Bc=Y(s=>class extends s{get slotStyles(){return{}}connectedCallback(){super.connectedCallback(),this.__applySlotStyles()}__applySlotStyles(){const e=this.getRootNode(),o=$c(e);this.slotStyles.forEach(i=>{o.has(i)||(Rc(i,e),o.add(i))})}});/**
3957
3957
  * @license
3958
3958
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
3959
3959
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3960
- */const _r=Y(s=>class extends s{static get properties(){return{inputElement:{type:Object,readOnly:!0,observer:"_inputElementChanged"},type:{type:String,readOnly:!0},value:{type:String,value:"",observer:"_valueChanged",notify:!0,sync:!0},_hasInputValue:{type:Boolean,value:!1,observer:"_hasInputValueChanged"}}}constructor(){super(),this._boundOnInput=this.__onInput.bind(this),this._boundOnChange=this._onChange.bind(this)}get _hasValue(){return this.value!=null&&this.value!==""}get _inputElementValueProperty(){return"value"}get _inputElementValue(){return this.inputElement?this.inputElement[this._inputElementValueProperty]:void 0}set _inputElementValue(e){this.inputElement&&(this.inputElement[this._inputElementValueProperty]=e)}clear(){this._hasInputValue=!1,this.value="",this._inputElementValue=""}_addInputListeners(e){e.addEventListener("input",this._boundOnInput),e.addEventListener("change",this._boundOnChange)}_removeInputListeners(e){e.removeEventListener("input",this._boundOnInput),e.removeEventListener("change",this._boundOnChange)}_forwardInputValue(e){this.inputElement&&(this._inputElementValue=e!=null?e:"")}_inputElementChanged(e,o){e?this._addInputListeners(e):o&&this._removeInputListeners(o)}_hasInputValueChanged(e,o){(e||o)&&this.dispatchEvent(new CustomEvent("has-input-value-changed"))}__onInput(e){this._setHasInputValue(e),this._onInput(e)}_onInput(e){const o=e.composedPath()[0];this.__userInput=e.isTrusted,this.value=o.value,this.__userInput=!1}_onChange(e){}_toggleHasValue(e){this.toggleAttribute("has-value",e)}_valueChanged(e,o){this._toggleHasValue(this._hasValue),!(e===""&&o===void 0)&&(this.__userInput||this._forwardInputValue(e))}_setHasInputValue(e){const o=e.composedPath()[0];this._hasInputValue=o.value.length>0}});/**
3960
+ */const fr=Y(s=>class extends s{static get properties(){return{inputElement:{type:Object,readOnly:!0,observer:"_inputElementChanged"},type:{type:String,readOnly:!0},value:{type:String,value:"",observer:"_valueChanged",notify:!0,sync:!0},_hasInputValue:{type:Boolean,value:!1,observer:"_hasInputValueChanged"}}}constructor(){super(),this._boundOnInput=this.__onInput.bind(this),this._boundOnChange=this._onChange.bind(this)}get _hasValue(){return this.value!=null&&this.value!==""}get _inputElementValueProperty(){return"value"}get _inputElementValue(){return this.inputElement?this.inputElement[this._inputElementValueProperty]:void 0}set _inputElementValue(e){this.inputElement&&(this.inputElement[this._inputElementValueProperty]=e)}clear(){this._hasInputValue=!1,this.value="",this._inputElementValue=""}_addInputListeners(e){e.addEventListener("input",this._boundOnInput),e.addEventListener("change",this._boundOnChange)}_removeInputListeners(e){e.removeEventListener("input",this._boundOnInput),e.removeEventListener("change",this._boundOnChange)}_forwardInputValue(e){this.inputElement&&(this._inputElementValue=e!=null?e:"")}_inputElementChanged(e,o){e?this._addInputListeners(e):o&&this._removeInputListeners(o)}_hasInputValueChanged(e,o){(e||o)&&this.dispatchEvent(new CustomEvent("has-input-value-changed"))}__onInput(e){this._setHasInputValue(e),this._onInput(e)}_onInput(e){const o=e.composedPath()[0];this.__userInput=e.isTrusted,this.value=o.value,this.__userInput=!1}_onChange(e){}_toggleHasValue(e){this.toggleAttribute("has-value",e)}_valueChanged(e,o){this._toggleHasValue(this._hasValue),!(e===""&&o===void 0)&&(this.__userInput||this._forwardInputValue(e))}_setHasInputValue(e){const o=e.composedPath()[0];this._hasInputValue=o.value.length>0}});/**
3961
3961
  * @license
3962
3962
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
3963
3963
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3964
- */const Yc=s=>class extends _r(Lt(s)){static get properties(){return{clearButtonVisible:{type:Boolean,reflectToAttribute:!0,value:!1}}}get clearElement(){return console.warn(`Please implement the 'clearElement' property in <${this.localName}>`),null}ready(){super.ready(),this.clearElement&&(this.clearElement.addEventListener("mousedown",e=>this._onClearButtonMouseDown(e)),this.clearElement.addEventListener("click",e=>this._onClearButtonClick(e)))}_onClearButtonClick(e){e.preventDefault(),this._onClearAction()}_onClearButtonMouseDown(e){e.preventDefault(),Xl||this.inputElement.focus()}_onEscape(e){super._onEscape(e),this.clearButtonVisible&&this.value&&(e.stopPropagation(),this._onClearAction())}_onClearAction(){this.clear(),this.inputElement.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),this.inputElement.dispatchEvent(new Event("change",{bubbles:!0}))}};/**
3964
+ */const Hc=s=>class extends fr($t(s)){static get properties(){return{clearButtonVisible:{type:Boolean,reflectToAttribute:!0,value:!1}}}get clearElement(){return console.warn(`Please implement the 'clearElement' property in <${this.localName}>`),null}ready(){super.ready(),this.clearElement&&(this.clearElement.addEventListener("mousedown",e=>this._onClearButtonMouseDown(e)),this.clearElement.addEventListener("click",e=>this._onClearButtonClick(e)))}_onClearButtonClick(e){e.preventDefault(),this._onClearAction()}_onClearButtonMouseDown(e){e.preventDefault(),Gl||this.inputElement.focus()}_onEscape(e){super._onEscape(e),this.clearButtonVisible&&this.value&&(e.stopPropagation(),this._onClearAction())}_onClearAction(){this.clear(),this.inputElement.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),this.inputElement.dispatchEvent(new Event("change",{bubbles:!0}))}};/**
3965
3965
  * @license
3966
3966
  * Copyright (c) 2023 Vaadin Ltd.
3967
3967
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3968
- */const co=new Map;function Qo(s){return co.has(s)||co.set(s,new WeakMap),co.get(s)}function gr(s,t){s&&s.removeAttribute(t)}function yr(s,t){if(!s||!t)return;const e=Qo(t);if(e.has(s))return;const o=Yo(s.getAttribute(t));e.set(s,new Set(o))}function Vc(s,t){if(!s||!t)return;const e=Qo(t),o=e.get(s);!o||o.size===0?s.removeAttribute(t):Bi(s,t,Ft(o)),e.delete(s)}function uo(s,t,e={newId:null,oldId:null,fromUser:!1}){if(!s||!t)return;const{newId:o,oldId:i,fromUser:r}=e,n=Qo(t),a=n.get(s);if(!r&&a){i&&a.delete(i),o&&a.add(o);return}r&&(a?o||n.delete(s):yr(s,t),gr(s,t)),nl(s,t,i);const l=o||Ft(a);l&&Bi(s,t,l)}function Uc(s,t){yr(s,t),gr(s,t)}/**
3968
+ */const co=new Map;function Qo(s){return co.has(s)||co.set(s,new WeakMap),co.get(s)}function _r(s,t){s&&s.removeAttribute(t)}function gr(s,t){if(!s||!t)return;const e=Qo(t);if(e.has(s))return;const o=Yo(s.getAttribute(t));e.set(s,new Set(o))}function jc(s,t){if(!s||!t)return;const e=Qo(t),o=e.get(s);!o||o.size===0?s.removeAttribute(t):Ri(s,t,Lt(o)),e.delete(s)}function uo(s,t,e={newId:null,oldId:null,fromUser:!1}){if(!s||!t)return;const{newId:o,oldId:i,fromUser:r}=e,n=Qo(t),a=n.get(s);if(!r&&a){i&&a.delete(i),o&&a.add(o);return}r&&(a?o||n.delete(s):gr(s,t),_r(s,t)),il(s,t,i);const l=o||Lt(a);l&&Ri(s,t,l)}function Yc(s,t){gr(s,t),_r(s,t)}/**
3969
3969
  * @license
3970
3970
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
3971
3971
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3972
- */class Wc{constructor(t){this.host=t,this.__required=!1}setTarget(t){this.__target=t,this.__setAriaRequiredAttribute(this.__required),this.__setLabelIdToAriaAttribute(this.__labelId,this.__labelId),this.__labelIdFromUser!=null&&this.__setLabelIdToAriaAttribute(this.__labelIdFromUser,this.__labelIdFromUser,!0),this.__setErrorIdToAriaAttribute(this.__errorId),this.__setHelperIdToAriaAttribute(this.__helperId),this.setAriaLabel(this.__label)}setRequired(t){this.__setAriaRequiredAttribute(t),this.__required=t}setAriaLabel(t){this.__setAriaLabelToAttribute(t),this.__label=t}setLabelId(t,e=!1){const o=e?this.__labelIdFromUser:this.__labelId;this.__setLabelIdToAriaAttribute(t,o,e),e?this.__labelIdFromUser=t:this.__labelId=t}setErrorId(t){this.__setErrorIdToAriaAttribute(t,this.__errorId),this.__errorId=t}setHelperId(t){this.__setHelperIdToAriaAttribute(t,this.__helperId),this.__helperId=t}__setAriaLabelToAttribute(t){this.__target&&(t?(Uc(this.__target,"aria-labelledby"),this.__target.setAttribute("aria-label",t)):this.__label&&(Vc(this.__target,"aria-labelledby"),this.__target.removeAttribute("aria-label")))}__setLabelIdToAriaAttribute(t,e,o){uo(this.__target,"aria-labelledby",{newId:t,oldId:e,fromUser:o})}__setErrorIdToAriaAttribute(t,e){uo(this.__target,"aria-describedby",{newId:t,oldId:e,fromUser:!1})}__setHelperIdToAriaAttribute(t,e){uo(this.__target,"aria-describedby",{newId:t,oldId:e,fromUser:!1})}__setAriaRequiredAttribute(t){this.__target&&(["input","textarea"].includes(this.__target.localName)||(t?this.__target.setAttribute("aria-required","true"):this.__target.removeAttribute("aria-required")))}}/**
3972
+ */class Vc{constructor(t){this.host=t,this.__required=!1}setTarget(t){this.__target=t,this.__setAriaRequiredAttribute(this.__required),this.__setLabelIdToAriaAttribute(this.__labelId,this.__labelId),this.__labelIdFromUser!=null&&this.__setLabelIdToAriaAttribute(this.__labelIdFromUser,this.__labelIdFromUser,!0),this.__setErrorIdToAriaAttribute(this.__errorId),this.__setHelperIdToAriaAttribute(this.__helperId),this.setAriaLabel(this.__label)}setRequired(t){this.__setAriaRequiredAttribute(t),this.__required=t}setAriaLabel(t){this.__setAriaLabelToAttribute(t),this.__label=t}setLabelId(t,e=!1){const o=e?this.__labelIdFromUser:this.__labelId;this.__setLabelIdToAriaAttribute(t,o,e),e?this.__labelIdFromUser=t:this.__labelId=t}setErrorId(t){this.__setErrorIdToAriaAttribute(t,this.__errorId),this.__errorId=t}setHelperId(t){this.__setHelperIdToAriaAttribute(t,this.__helperId),this.__helperId=t}__setAriaLabelToAttribute(t){this.__target&&(t?(Yc(this.__target,"aria-labelledby"),this.__target.setAttribute("aria-label",t)):this.__label&&(jc(this.__target,"aria-labelledby"),this.__target.removeAttribute("aria-label")))}__setLabelIdToAriaAttribute(t,e,o){uo(this.__target,"aria-labelledby",{newId:t,oldId:e,fromUser:o})}__setErrorIdToAriaAttribute(t,e){uo(this.__target,"aria-describedby",{newId:t,oldId:e,fromUser:!1})}__setHelperIdToAriaAttribute(t,e){uo(this.__target,"aria-describedby",{newId:t,oldId:e,fromUser:!1})}__setAriaRequiredAttribute(t){this.__target&&(["input","textarea"].includes(this.__target.localName)||(t?this.__target.setAttribute("aria-required","true"):this.__target.removeAttribute("aria-required")))}}/**
3973
3973
  * @license
3974
3974
  * Copyright (c) 2022 - 2023 Vaadin Ltd.
3975
3975
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3976
- */class es extends Se{constructor(t,e,o,i={}){super(t,e,o,Yt(jt({},i),{useUniqueId:!0}))}initCustomNode(t){this.__updateNodeId(t),this.__notifyChange(t)}teardownNode(t){const e=this.getSlotChild();e&&e!==this.defaultNode?this.__notifyChange(e):(this.restoreDefaultNode(),this.updateDefaultNode(this.node))}attachDefaultNode(){const t=super.attachDefaultNode();return t&&this.__updateNodeId(t),t}restoreDefaultNode(){}updateDefaultNode(t){this.__notifyChange(t)}observeNode(t){this.__nodeObserver&&this.__nodeObserver.disconnect(),this.__nodeObserver=new MutationObserver(e=>{e.forEach(o=>{const i=o.target,r=i===this.node;o.type==="attributes"?r&&this.__updateNodeId(i):(r||i.parentElement===this.node)&&this.__notifyChange(this.node)})}),this.__nodeObserver.observe(t,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0,characterData:!0})}__hasContent(t){return t?t.nodeType===Node.ELEMENT_NODE&&(customElements.get(t.localName)||t.children.length>0)||t.textContent&&t.textContent.trim()!=="":!1}__notifyChange(t){this.dispatchEvent(new CustomEvent("slot-content-changed",{detail:{hasContent:this.__hasContent(t),node:t}}))}__updateNodeId(t){const e=!this.nodes||t===this.nodes[0];t.nodeType===Node.ELEMENT_NODE&&(!this.multiple||e)&&!t.id&&(t.id=this.defaultId)}}/**
3976
+ */class es extends Se{constructor(t,e,o,i={}){super(t,e,o,Vt(Yt({},i),{useUniqueId:!0}))}initCustomNode(t){this.__updateNodeId(t),this.__notifyChange(t)}teardownNode(t){const e=this.getSlotChild();e&&e!==this.defaultNode?this.__notifyChange(e):(this.restoreDefaultNode(),this.updateDefaultNode(this.node))}attachDefaultNode(){const t=super.attachDefaultNode();return t&&this.__updateNodeId(t),t}restoreDefaultNode(){}updateDefaultNode(t){this.__notifyChange(t)}observeNode(t){this.__nodeObserver&&this.__nodeObserver.disconnect(),this.__nodeObserver=new MutationObserver(e=>{e.forEach(o=>{const i=o.target,r=i===this.node;o.type==="attributes"?r&&this.__updateNodeId(i):(r||i.parentElement===this.node)&&this.__notifyChange(this.node)})}),this.__nodeObserver.observe(t,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0,characterData:!0})}__hasContent(t){return t?t.nodeType===Node.ELEMENT_NODE&&(customElements.get(t.localName)||t.children.length>0)||t.textContent&&t.textContent.trim()!=="":!1}__notifyChange(t){this.dispatchEvent(new CustomEvent("slot-content-changed",{detail:{hasContent:this.__hasContent(t),node:t}}))}__updateNodeId(t){const e=!this.nodes||t===this.nodes[0];t.nodeType===Node.ELEMENT_NODE&&(!this.multiple||e)&&!t.id&&(t.id=this.defaultId)}}/**
3977
3977
  * @license
3978
3978
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
3979
3979
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3980
- */class qc extends es{constructor(t){super(t,"error-message","div")}setErrorMessage(t){this.errorMessage=t,this.updateDefaultNode(this.node)}setInvalid(t){this.invalid=t,this.updateDefaultNode(this.node)}initAddedNode(t){t!==this.defaultNode&&this.initCustomNode(t)}initNode(t){this.updateDefaultNode(t)}initCustomNode(t){t.textContent&&!this.errorMessage&&(this.errorMessage=t.textContent.trim()),super.initCustomNode(t)}restoreDefaultNode(){this.attachDefaultNode()}updateDefaultNode(t){const{errorMessage:e,invalid:o}=this,i=!!(o&&e&&e.trim()!=="");t&&(t.textContent=i?e:"",t.hidden=!i,i?t.setAttribute("role","alert"):t.removeAttribute("role")),super.updateDefaultNode(t)}}/**
3980
+ */class Uc extends es{constructor(t){super(t,"error-message","div")}setErrorMessage(t){this.errorMessage=t,this.updateDefaultNode(this.node)}setInvalid(t){this.invalid=t,this.updateDefaultNode(this.node)}initAddedNode(t){t!==this.defaultNode&&this.initCustomNode(t)}initNode(t){this.updateDefaultNode(t)}initCustomNode(t){t.textContent&&!this.errorMessage&&(this.errorMessage=t.textContent.trim()),super.initCustomNode(t)}restoreDefaultNode(){this.attachDefaultNode()}updateDefaultNode(t){const{errorMessage:e,invalid:o}=this,i=!!(o&&e&&e.trim()!=="");t&&(t.textContent=i?e:"",t.hidden=!i,i?t.setAttribute("role","alert"):t.removeAttribute("role")),super.updateDefaultNode(t)}}/**
3981
3981
  * @license
3982
3982
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
3983
3983
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3984
- */class Kc extends es{constructor(t){super(t,"helper",null)}setHelperText(t){this.helperText=t,this.getSlotChild()||this.restoreDefaultNode(),this.node===this.defaultNode&&this.updateDefaultNode(this.node)}restoreDefaultNode(){const{helperText:t}=this;if(t&&t.trim()!==""){this.tagName="div";const e=this.attachDefaultNode();this.observeNode(e)}}updateDefaultNode(t){t&&(t.textContent=this.helperText),super.updateDefaultNode(t)}initCustomNode(t){super.initCustomNode(t),this.observeNode(t)}}/**
3984
+ */class Wc extends es{constructor(t){super(t,"helper",null)}setHelperText(t){this.helperText=t,this.getSlotChild()||this.restoreDefaultNode(),this.node===this.defaultNode&&this.updateDefaultNode(this.node)}restoreDefaultNode(){const{helperText:t}=this;if(t&&t.trim()!==""){this.tagName="div";const e=this.attachDefaultNode();this.observeNode(e)}}updateDefaultNode(t){t&&(t.textContent=this.helperText),super.updateDefaultNode(t)}initCustomNode(t){super.initCustomNode(t),this.observeNode(t)}}/**
3985
3985
  * @license
3986
3986
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
3987
3987
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3988
- */class Gc extends es{constructor(t){super(t,"label","label")}setLabel(t){this.label=t,this.getSlotChild()||this.restoreDefaultNode(),this.node===this.defaultNode&&this.updateDefaultNode(this.node)}restoreDefaultNode(){const{label:t}=this;if(t&&t.trim()!==""){const e=this.attachDefaultNode();this.observeNode(e)}}updateDefaultNode(t){t&&(t.textContent=this.label),super.updateDefaultNode(t)}initCustomNode(t){super.initCustomNode(t),this.observeNode(t)}}/**
3988
+ */class qc extends es{constructor(t){super(t,"label","label")}setLabel(t){this.label=t,this.getSlotChild()||this.restoreDefaultNode(),this.node===this.defaultNode&&this.updateDefaultNode(this.node)}restoreDefaultNode(){const{label:t}=this;if(t&&t.trim()!==""){const e=this.attachDefaultNode();this.observeNode(e)}}updateDefaultNode(t){t&&(t.textContent=this.label),super.updateDefaultNode(t)}initCustomNode(t){super.initCustomNode(t),this.observeNode(t)}}/**
3989
3989
  * @license
3990
3990
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
3991
3991
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3992
- */const Jc=Y(s=>class extends He(s){static get properties(){return{label:{type:String,observer:"_labelChanged"}}}constructor(){super(),this._labelController=new Gc(this),this._labelController.addEventListener("slot-content-changed",e=>{this.toggleAttribute("has-label",e.detail.hasContent)})}get _labelId(){const e=this._labelNode;return e&&e.id}get _labelNode(){return this._labelController.node}ready(){super.ready(),this.addController(this._labelController)}_labelChanged(e){this._labelController.setLabel(e)}});/**
3992
+ */const Kc=Y(s=>class extends He(s){static get properties(){return{label:{type:String,observer:"_labelChanged"}}}constructor(){super(),this._labelController=new qc(this),this._labelController.addEventListener("slot-content-changed",e=>{this.toggleAttribute("has-label",e.detail.hasContent)})}get _labelId(){const e=this._labelNode;return e&&e.id}get _labelNode(){return this._labelController.node}ready(){super.ready(),this.addController(this._labelController)}_labelChanged(e){this._labelController.setLabel(e)}});/**
3993
3993
  * @license
3994
3994
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
3995
3995
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3996
- */const vr=Y(s=>class extends s{static get properties(){return{invalid:{type:Boolean,reflectToAttribute:!0,notify:!0,value:!1},required:{type:Boolean,reflectToAttribute:!0}}}validate(){const e=this.checkValidity();return this._setInvalid(!e),this.dispatchEvent(new CustomEvent("validated",{detail:{valid:e}})),e}checkValidity(){return!this.required||!!this.value}_setInvalid(e){this._shouldSetInvalid(e)&&(this.invalid=e)}_shouldSetInvalid(e){return!0}});/**
3996
+ */const yr=Y(s=>class extends s{static get properties(){return{invalid:{type:Boolean,reflectToAttribute:!0,notify:!0,value:!1},required:{type:Boolean,reflectToAttribute:!0}}}validate(){const e=this.checkValidity();return this._setInvalid(!e),this.dispatchEvent(new CustomEvent("validated",{detail:{valid:e}})),e}checkValidity(){return!this.required||!!this.value}_setInvalid(e){this._shouldSetInvalid(e)&&(this.invalid=e)}_shouldSetInvalid(e){return!0}});/**
3997
3997
  * @license
3998
3998
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
3999
3999
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4000
- */const Xc=s=>class extends vr(Jc(He(s))){static get properties(){return{ariaTarget:{type:Object,observer:"_ariaTargetChanged"},errorMessage:{type:String,observer:"_errorMessageChanged"},helperText:{type:String,observer:"_helperTextChanged"},accessibleName:{type:String,observer:"_accessibleNameChanged"},accessibleNameRef:{type:String,observer:"_accessibleNameRefChanged"}}}static get observers(){return["_invalidChanged(invalid)","_requiredChanged(required)"]}constructor(){super(),this._fieldAriaController=new Wc(this),this._helperController=new Kc(this),this._errorController=new qc(this),this._errorController.addEventListener("slot-content-changed",e=>{this.toggleAttribute("has-error-message",e.detail.hasContent)}),this._labelController.addEventListener("slot-content-changed",e=>{const{hasContent:o,node:i}=e.detail;this.__labelChanged(o,i)}),this._helperController.addEventListener("slot-content-changed",e=>{const{hasContent:o,node:i}=e.detail;this.toggleAttribute("has-helper",o),this.__helperChanged(o,i)})}get _errorNode(){return this._errorController.node}get _helperNode(){return this._helperController.node}ready(){super.ready(),this.addController(this._fieldAriaController),this.addController(this._helperController),this.addController(this._errorController)}__helperChanged(e,o){e?this._fieldAriaController.setHelperId(o.id):this._fieldAriaController.setHelperId(null)}_accessibleNameChanged(e){this._fieldAriaController.setAriaLabel(e)}_accessibleNameRefChanged(e){this._fieldAriaController.setLabelId(e,!0)}__labelChanged(e,o){e?this._fieldAriaController.setLabelId(o.id):this._fieldAriaController.setLabelId(null)}_errorMessageChanged(e){this._errorController.setErrorMessage(e)}_helperTextChanged(e){this._helperController.setHelperText(e)}_ariaTargetChanged(e){e&&this._fieldAriaController.setTarget(e)}_requiredChanged(e){this._fieldAriaController.setRequired(e)}_invalidChanged(e){this._errorController.setInvalid(e),setTimeout(()=>{if(e){const o=this._errorNode;this._fieldAriaController.setErrorId(o&&o.id)}else this._fieldAriaController.setErrorId(null)})}};/**
4000
+ */const Gc=s=>class extends yr(Kc(He(s))){static get properties(){return{ariaTarget:{type:Object,observer:"_ariaTargetChanged"},errorMessage:{type:String,observer:"_errorMessageChanged"},helperText:{type:String,observer:"_helperTextChanged"},accessibleName:{type:String,observer:"_accessibleNameChanged"},accessibleNameRef:{type:String,observer:"_accessibleNameRefChanged"}}}static get observers(){return["_invalidChanged(invalid)","_requiredChanged(required)"]}constructor(){super(),this._fieldAriaController=new Vc(this),this._helperController=new Wc(this),this._errorController=new Uc(this),this._errorController.addEventListener("slot-content-changed",e=>{this.toggleAttribute("has-error-message",e.detail.hasContent)}),this._labelController.addEventListener("slot-content-changed",e=>{const{hasContent:o,node:i}=e.detail;this.__labelChanged(o,i)}),this._helperController.addEventListener("slot-content-changed",e=>{const{hasContent:o,node:i}=e.detail;this.toggleAttribute("has-helper",o),this.__helperChanged(o,i)})}get _errorNode(){return this._errorController.node}get _helperNode(){return this._helperController.node}ready(){super.ready(),this.addController(this._fieldAriaController),this.addController(this._helperController),this.addController(this._errorController)}__helperChanged(e,o){e?this._fieldAriaController.setHelperId(o.id):this._fieldAriaController.setHelperId(null)}_accessibleNameChanged(e){this._fieldAriaController.setAriaLabel(e)}_accessibleNameRefChanged(e){this._fieldAriaController.setLabelId(e,!0)}__labelChanged(e,o){e?this._fieldAriaController.setLabelId(o.id):this._fieldAriaController.setLabelId(null)}_errorMessageChanged(e){this._errorController.setErrorMessage(e)}_helperTextChanged(e){this._helperController.setHelperText(e)}_ariaTargetChanged(e){e&&this._fieldAriaController.setTarget(e)}_requiredChanged(e){this._fieldAriaController.setRequired(e)}_invalidChanged(e){this._errorController.setInvalid(e),setTimeout(()=>{if(e){const o=this._errorNode;this._fieldAriaController.setErrorId(o&&o.id)}else this._fieldAriaController.setErrorId(null)})}};/**
4001
4001
  * @license
4002
4002
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
4003
4003
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4004
- */const Zc=Y(s=>class extends s{static get properties(){return{stateTarget:{type:Object,observer:"_stateTargetChanged"}}}static get delegateAttrs(){return[]}static get delegateProps(){return[]}ready(){super.ready(),this._createDelegateAttrsObserver(),this._createDelegatePropsObserver()}_stateTargetChanged(e){e&&(this._ensureAttrsDelegated(),this._ensurePropsDelegated())}_createDelegateAttrsObserver(){this._createMethodObserver(`_delegateAttrsChanged(${this.constructor.delegateAttrs.join(", ")})`)}_createDelegatePropsObserver(){this._createMethodObserver(`_delegatePropsChanged(${this.constructor.delegateProps.join(", ")})`)}_ensureAttrsDelegated(){this.constructor.delegateAttrs.forEach(e=>{this._delegateAttribute(e,this[e])})}_ensurePropsDelegated(){this.constructor.delegateProps.forEach(e=>{this._delegateProperty(e,this[e])})}_delegateAttrsChanged(...e){this.constructor.delegateAttrs.forEach((o,i)=>{this._delegateAttribute(o,e[i])})}_delegatePropsChanged(...e){this.constructor.delegateProps.forEach((o,i)=>{this._delegateProperty(o,e[i])})}_delegateAttribute(e,o){this.stateTarget&&(e==="invalid"&&this._delegateAttribute("aria-invalid",o?"true":!1),typeof o=="boolean"?this.stateTarget.toggleAttribute(e,o):o?this.stateTarget.setAttribute(e,o):this.stateTarget.removeAttribute(e))}_delegateProperty(e,o){this.stateTarget&&(this.stateTarget[e]=o)}});/**
4004
+ */const Jc=Y(s=>class extends s{static get properties(){return{stateTarget:{type:Object,observer:"_stateTargetChanged"}}}static get delegateAttrs(){return[]}static get delegateProps(){return[]}ready(){super.ready(),this._createDelegateAttrsObserver(),this._createDelegatePropsObserver()}_stateTargetChanged(e){e&&(this._ensureAttrsDelegated(),this._ensurePropsDelegated())}_createDelegateAttrsObserver(){this._createMethodObserver(`_delegateAttrsChanged(${this.constructor.delegateAttrs.join(", ")})`)}_createDelegatePropsObserver(){this._createMethodObserver(`_delegatePropsChanged(${this.constructor.delegateProps.join(", ")})`)}_ensureAttrsDelegated(){this.constructor.delegateAttrs.forEach(e=>{this._delegateAttribute(e,this[e])})}_ensurePropsDelegated(){this.constructor.delegateProps.forEach(e=>{this._delegateProperty(e,this[e])})}_delegateAttrsChanged(...e){this.constructor.delegateAttrs.forEach((o,i)=>{this._delegateAttribute(o,e[i])})}_delegatePropsChanged(...e){this.constructor.delegateProps.forEach((o,i)=>{this._delegateProperty(o,e[i])})}_delegateAttribute(e,o){this.stateTarget&&(e==="invalid"&&this._delegateAttribute("aria-invalid",o?"true":!1),typeof o=="boolean"?this.stateTarget.toggleAttribute(e,o):o?this.stateTarget.setAttribute(e,o):this.stateTarget.removeAttribute(e))}_delegateProperty(e,o){this.stateTarget&&(this.stateTarget[e]=o)}});/**
4005
4005
  * @license
4006
4006
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
4007
4007
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4008
- */const br=Y(s=>class extends Zc(vr(_r(s))){static get constraints(){return["required"]}static get delegateAttrs(){return[...super.delegateAttrs,"required"]}ready(){super.ready(),this._createConstraintsObserver()}checkValidity(){return this.inputElement&&this._hasValidConstraints(this.constructor.constraints.map(e=>this[e]))?this.inputElement.checkValidity():!this.invalid}_hasValidConstraints(e){return e.some(o=>this.__isValidConstraint(o))}_createConstraintsObserver(){this._createMethodObserver(`_constraintsChanged(stateTarget, ${this.constructor.constraints.join(", ")})`)}_constraintsChanged(e,...o){if(!e)return;const i=this._hasValidConstraints(o),r=this.__previousHasConstraints&&!i;(this._hasValue||this.invalid)&&i?this.validate():r&&this._setInvalid(!1),this.__previousHasConstraints=i}_onChange(e){e.stopPropagation(),this.validate(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:e},bubbles:e.bubbles,cancelable:e.cancelable}))}__isValidConstraint(e){return!!e||e===0}});/**
4008
+ */const vr=Y(s=>class extends Jc(yr(fr(s))){static get constraints(){return["required"]}static get delegateAttrs(){return[...super.delegateAttrs,"required"]}ready(){super.ready(),this._createConstraintsObserver()}checkValidity(){return this.inputElement&&this._hasValidConstraints(this.constructor.constraints.map(e=>this[e]))?this.inputElement.checkValidity():!this.invalid}_hasValidConstraints(e){return e.some(o=>this.__isValidConstraint(o))}_createConstraintsObserver(){this._createMethodObserver(`_constraintsChanged(stateTarget, ${this.constructor.constraints.join(", ")})`)}_constraintsChanged(e,...o){if(!e)return;const i=this._hasValidConstraints(o),r=this.__previousHasConstraints&&!i;(this._hasValue||this.invalid)&&i?this.validate():r&&this._setInvalid(!1),this.__previousHasConstraints=i}_onChange(e){e.stopPropagation(),this.validate(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:e},bubbles:e.bubbles,cancelable:e.cancelable}))}__isValidConstraint(e){return!!e||e===0}});/**
4009
4009
  * @license
4010
4010
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
4011
4011
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4012
- */const Qc=s=>class extends jc(fr(br(Xc(Yc(Lt(s)))))){static get properties(){return{allowedCharPattern:{type:String,observer:"_allowedCharPatternChanged"},autoselect:{type:Boolean,value:!1},name:{type:String,reflectToAttribute:!0},placeholder:{type:String,reflectToAttribute:!0},readonly:{type:Boolean,value:!1,reflectToAttribute:!0},title:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"name","type","placeholder","readonly","invalid","title"]}constructor(){super(),this._boundOnPaste=this._onPaste.bind(this),this._boundOnDrop=this._onDrop.bind(this),this._boundOnBeforeInput=this._onBeforeInput.bind(this)}get slotStyles(){return[`
4012
+ */const Xc=s=>class extends Bc(mr(vr(Gc(Hc($t(s)))))){static get properties(){return{allowedCharPattern:{type:String,observer:"_allowedCharPatternChanged"},autoselect:{type:Boolean,value:!1},name:{type:String,reflectToAttribute:!0},placeholder:{type:String,reflectToAttribute:!0},readonly:{type:Boolean,value:!1,reflectToAttribute:!0},title:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"name","type","placeholder","readonly","invalid","title"]}constructor(){super(),this._boundOnPaste=this._onPaste.bind(this),this._boundOnDrop=this._onDrop.bind(this),this._boundOnBeforeInput=this._onBeforeInput.bind(this)}get slotStyles(){return[`
4013
4013
  :is(input[slot='input'], textarea[slot='textarea'])::placeholder {
4014
4014
  font: inherit;
4015
4015
  color: inherit;
4016
4016
  }
4017
- `]}_onFocus(e){super._onFocus(e),this.autoselect&&this.inputElement&&this.inputElement.select()}_onChange(e){e.stopPropagation(),this.validate(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:e},bubbles:e.bubbles,cancelable:e.cancelable}))}_addInputListeners(e){super._addInputListeners(e),e.addEventListener("paste",this._boundOnPaste),e.addEventListener("drop",this._boundOnDrop),e.addEventListener("beforeinput",this._boundOnBeforeInput)}_removeInputListeners(e){super._removeInputListeners(e),e.removeEventListener("paste",this._boundOnPaste),e.removeEventListener("drop",this._boundOnDrop),e.removeEventListener("beforeinput",this._boundOnBeforeInput)}_onKeyDown(e){super._onKeyDown(e),this.allowedCharPattern&&!this.__shouldAcceptKey(e)&&(e.preventDefault(),this._markInputPrevented())}_markInputPrevented(){this.setAttribute("input-prevented",""),this._preventInputDebouncer=rt.debounce(this._preventInputDebouncer,Dt.after(200),()=>{this.removeAttribute("input-prevented")})}__shouldAcceptKey(e){return e.metaKey||e.ctrlKey||!e.key||e.key.length!==1||this.__allowedCharRegExp.test(e.key)}_onPaste(e){if(this.allowedCharPattern){const o=e.clipboardData.getData("text");this.__allowedTextRegExp.test(o)||(e.preventDefault(),this._markInputPrevented())}}_onDrop(e){if(this.allowedCharPattern){const o=e.dataTransfer.getData("text");this.__allowedTextRegExp.test(o)||(e.preventDefault(),this._markInputPrevented())}}_onBeforeInput(e){this.allowedCharPattern&&e.data&&!this.__allowedTextRegExp.test(e.data)&&(e.preventDefault(),this._markInputPrevented())}_allowedCharPatternChanged(e){if(e)try{this.__allowedCharRegExp=new RegExp(`^${e}$`,"u"),this.__allowedTextRegExp=new RegExp(`^${e}*$`,"u")}catch(o){console.error(o)}}};/**
4017
+ `]}_onFocus(e){super._onFocus(e),this.autoselect&&this.inputElement&&this.inputElement.select()}_onChange(e){e.stopPropagation(),this.validate(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:e},bubbles:e.bubbles,cancelable:e.cancelable}))}_addInputListeners(e){super._addInputListeners(e),e.addEventListener("paste",this._boundOnPaste),e.addEventListener("drop",this._boundOnDrop),e.addEventListener("beforeinput",this._boundOnBeforeInput)}_removeInputListeners(e){super._removeInputListeners(e),e.removeEventListener("paste",this._boundOnPaste),e.removeEventListener("drop",this._boundOnDrop),e.removeEventListener("beforeinput",this._boundOnBeforeInput)}_onKeyDown(e){super._onKeyDown(e),this.allowedCharPattern&&!this.__shouldAcceptKey(e)&&(e.preventDefault(),this._markInputPrevented())}_markInputPrevented(){this.setAttribute("input-prevented",""),this._preventInputDebouncer=rt.debounce(this._preventInputDebouncer,Tt.after(200),()=>{this.removeAttribute("input-prevented")})}__shouldAcceptKey(e){return e.metaKey||e.ctrlKey||!e.key||e.key.length!==1||this.__allowedCharRegExp.test(e.key)}_onPaste(e){if(this.allowedCharPattern){const o=e.clipboardData.getData("text");this.__allowedTextRegExp.test(o)||(e.preventDefault(),this._markInputPrevented())}}_onDrop(e){if(this.allowedCharPattern){const o=e.dataTransfer.getData("text");this.__allowedTextRegExp.test(o)||(e.preventDefault(),this._markInputPrevented())}}_onBeforeInput(e){this.allowedCharPattern&&e.data&&!this.__allowedTextRegExp.test(e.data)&&(e.preventDefault(),this._markInputPrevented())}_allowedCharPatternChanged(e){if(e)try{this.__allowedCharRegExp=new RegExp(`^${e}$`,"u"),this.__allowedTextRegExp=new RegExp(`^${e}*$`,"u")}catch(o){console.error(o)}}};/**
4018
4018
  * @license
4019
4019
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
4020
4020
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4021
- */class eu extends Se{constructor(t,e){super(t,"input","input",{initializer:(o,i)=>{i.value&&(o.value=i.value),i.type&&o.setAttribute("type",i.type),o.id=this.defaultId,typeof e=="function"&&e(o)},useUniqueId:!0})}}/**
4021
+ */class Zc extends Se{constructor(t,e){super(t,"input","input",{initializer:(o,i)=>{i.value&&(o.value=i.value),i.type&&o.setAttribute("type",i.type),o.id=this.defaultId,typeof e=="function"&&e(o)},useUniqueId:!0})}}/**
4022
4022
  * @license
4023
4023
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
4024
4024
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4025
- */class tu{constructor(t,e){this.input=t,this.__preventDuplicateLabelClick=this.__preventDuplicateLabelClick.bind(this),e.addEventListener("slot-content-changed",o=>{this.__initLabel(o.detail.node)}),this.__initLabel(e.node)}__initLabel(t){t&&(t.addEventListener("click",this.__preventDuplicateLabelClick),this.input&&t.setAttribute("for",this.input.id))}__preventDuplicateLabelClick(){const t=e=>{e.stopImmediatePropagation(),this.input.removeEventListener("click",t)};this.input.addEventListener("click",t)}}/**
4025
+ */class Qc{constructor(t,e){this.input=t,this.__preventDuplicateLabelClick=this.__preventDuplicateLabelClick.bind(this),e.addEventListener("slot-content-changed",o=>{this.__initLabel(o.detail.node)}),this.__initLabel(e.node)}__initLabel(t){t&&(t.addEventListener("click",this.__preventDuplicateLabelClick),this.input&&t.setAttribute("for",this.input.id))}__preventDuplicateLabelClick(){const t=e=>{e.stopImmediatePropagation(),this.input.removeEventListener("click",t)};this.input.addEventListener("click",t)}}/**
4026
4026
  * @license
4027
4027
  * Copyright (c) 2021 - 2023 Vaadin Ltd..
4028
4028
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4029
- */const ou=C`
4029
+ */const eu=C`
4030
4030
  [part='clear-button'] {
4031
4031
  display: none;
4032
4032
  cursor: default;
@@ -4043,7 +4043,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
4043
4043
  * @license
4044
4044
  * Copyright (c) 2021 - 2023 Vaadin Ltd..
4045
4045
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4046
- */const su=C`
4046
+ */const tu=C`
4047
4047
  :host {
4048
4048
  display: inline-flex;
4049
4049
  outline: none;
@@ -4081,7 +4081,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
4081
4081
  * @license
4082
4082
  * Copyright (c) 2021 - 2023 Vaadin Ltd..
4083
4083
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4084
- */const iu=C`
4084
+ */const ou=C`
4085
4085
  [class$='container'] {
4086
4086
  display: flex;
4087
4087
  flex-direction: column;
@@ -4093,23 +4093,23 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
4093
4093
  * @license
4094
4094
  * Copyright (c) 2021 - 2023 Vaadin Ltd..
4095
4095
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4096
- */const ru=[su,iu,ou];/**
4096
+ */const su=[tu,ou,eu];/**
4097
4097
  * @license
4098
4098
  * Copyright (c) 2023 Vaadin Ltd.
4099
4099
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4100
- */const nu=s=>class extends s{static get properties(){return{overlayClass:{type:String},_overlayElement:{type:Object}}}static get observers(){return["__updateOverlayClassNames(overlayClass, _overlayElement)"]}__updateOverlayClassNames(e,o){if(!o||e===void 0)return;const{classList:i}=o;if(this.__initialClasses||(this.__initialClasses=new Set(i)),Array.isArray(this.__previousClasses)){const n=this.__previousClasses.filter(a=>!this.__initialClasses.has(a));n.length>0&&i.remove(...n)}const r=typeof e=="string"?e.split(" "):[];r.length>0&&i.add(...r),this.__previousClasses=r}};/**
4100
+ */const iu=s=>class extends s{static get properties(){return{overlayClass:{type:String},_overlayElement:{type:Object}}}static get observers(){return["__updateOverlayClassNames(overlayClass, _overlayElement)"]}__updateOverlayClassNames(e,o){if(!o||e===void 0)return;const{classList:i}=o;if(this.__initialClasses||(this.__initialClasses=new Set(i)),Array.isArray(this.__previousClasses)){const n=this.__previousClasses.filter(a=>!this.__initialClasses.has(a));n.length>0&&i.remove(...n)}const r=typeof e=="string"?e.split(" "):[];r.length>0&&i.add(...r),this.__previousClasses=r}};/**
4101
4101
  * @license
4102
4102
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
4103
4103
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4104
- */class au{constructor(t){this.host=t,t.addEventListener("opened-changed",()=>{t.opened||this.__setVirtualKeyboardEnabled(!1)}),t.addEventListener("blur",()=>this.__setVirtualKeyboardEnabled(!0)),t.addEventListener("touchstart",()=>this.__setVirtualKeyboardEnabled(!0))}__setVirtualKeyboardEnabled(t){this.host.inputElement&&(this.host.inputElement.inputMode=t?"":"none")}}/**
4104
+ */class ru{constructor(t){this.host=t,t.addEventListener("opened-changed",()=>{t.opened||this.__setVirtualKeyboardEnabled(!1)}),t.addEventListener("blur",()=>this.__setVirtualKeyboardEnabled(!0)),t.addEventListener("touchstart",()=>this.__setVirtualKeyboardEnabled(!0))}__setVirtualKeyboardEnabled(t){this.host.inputElement&&(this.host.inputElement.inputMode=t?"":"none")}}/**
4105
4105
  * @license
4106
4106
  * Copyright (c) 2016 - 2023 Vaadin Ltd.
4107
4107
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4108
- */const lu=s=>class extends nu(He(fr(br(Lt(s))))){static get properties(){return{_selectedDate:{type:Object,sync:!0},_focusedDate:{type:Object,sync:!0},value:{type:String,notify:!0,value:"",sync:!0},initialPosition:String,opened:{type:Boolean,reflectToAttribute:!0,notify:!0,observer:"_openedChanged",sync:!0},autoOpenDisabled:Boolean,showWeekNumbers:{type:Boolean,value:!1,sync:!0},_fullscreen:{type:Boolean,value:!1,sync:!0},_fullscreenMediaQuery:{value:"(max-width: 420px), (max-height: 420px)"},i18n:{type:Object,sync:!0,value:()=>({monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],firstDayOfWeek:0,today:"Today",cancel:"Cancel",referenceDate:"",formatDate(e){const o=String(e.year).replace(/\d+/u,i=>"0000".substr(i.length)+i);return[e.month+1,e.day,o].join("/")},parseDate(e){const o=e.split("/"),i=new Date;let r,n=i.getMonth(),a=i.getFullYear();if(o.length===3){if(n=parseInt(o[0])-1,r=parseInt(o[1]),a=parseInt(o[2]),o[2].length<3&&a>=0){const l=this.referenceDate?qe(this.referenceDate):new Date;a=hc(l,a,n,r)}}else o.length===2?(n=parseInt(o[0])-1,r=parseInt(o[1])):o.length===1&&(r=parseInt(o[0]));if(r!==void 0)return{day:r,month:n,year:a}},formatTitle:(e,o)=>`${e} ${o}`})},min:{type:String,sync:!0},max:{type:String,sync:!0},_minDate:{type:Date,computed:"__computeMinOrMaxDate(min)",sync:!0},_maxDate:{type:Date,computed:"__computeMinOrMaxDate(max)",sync:!0},_noInput:{type:Boolean,computed:"_isNoInput(inputElement, _fullscreen, _ios, i18n, opened, autoOpenDisabled)"},_ios:{type:Boolean,value:sr},_focusOverlayOnOpen:Boolean,_overlayContent:{type:Object,sync:!0},_hasInputValue:{type:Boolean}}}static get observers(){return["_selectedDateChanged(_selectedDate, i18n)","_focusedDateChanged(_focusedDate, i18n)","__updateOverlayContent(_overlayContent, i18n, label, _minDate, _maxDate, _focusedDate, _selectedDate, showWeekNumbers)","__updateOverlayContentTheme(_overlayContent, _theme)","__updateOverlayContentFullScreen(_overlayContent, _fullscreen)"]}static get constraints(){return[...super.constraints,"min","max"]}constructor(){super(),this._boundOnClick=this._onClick.bind(this),this._boundOnScroll=this._onScroll.bind(this),this._boundOverlayRenderer=this._overlayRenderer.bind(this)}get _inputElementValue(){return super._inputElementValue}set _inputElementValue(e){super._inputElementValue=e,this._hasInputValue=!1}get clearElement(){return null}get _nativeInput(){return this.inputElement?this.inputElement.focusElement||this.inputElement:null}_onFocus(e){super._onFocus(e),this._noInput&&e.target.blur()}_onBlur(e){super._onBlur(e),this.opened||(this._selectParsedOrFocusedDate(),document.hasFocus()&&this.validate())}ready(){super.ready(),this.addEventListener("click",this._boundOnClick),this.addController(new mr(this._fullscreenMediaQuery,o=>{this._fullscreen=o})),this.addController(new au(this));const e=this.$.overlay;this._overlayElement=e,e.renderer=this._boundOverlayRenderer,this.addEventListener("mousedown",()=>this.__bringToFront()),this.addEventListener("touchstart",()=>this.__bringToFront())}disconnectedCallback(){super.disconnectedCallback(),this.opened=!1}open(){!this.disabled&&!this.readonly&&(this.opened=!0)}close(){this.$.overlay.close()}_overlayRenderer(e){if(e.firstChild)return;const o=document.createElement("vaadin-date-picker-overlay-content");e.appendChild(o),this._overlayContent=o,o.addEventListener("close",()=>{this._close()}),o.addEventListener("focus-input",this._focusAndSelect.bind(this)),o.addEventListener("date-tap",i=>{this.__userConfirmedDate=!0,this._selectDate(i.detail.date),this._close()}),o.addEventListener("date-selected",i=>{this.__userConfirmedDate=!!i.detail.date,this._selectDate(i.detail.date)}),o.addEventListener("focusin",()=>{this._keyboardActive&&this._setFocused(!0)}),o.addEventListener("focused-date-changed",i=>{this._focusedDate=i.detail.value})}__parseDate(e){if(!this.i18n.parseDate)return;let o=this.i18n.parseDate(e);if(o&&(o=qe(`${o.year}-${o.month+1}-${o.day}`)),o&&!isNaN(o.getTime()))return o}__formatDate(e){if(this.i18n.formatDate)return this.i18n.formatDate(nr(e))}checkValidity(){const e=this._inputElementValue,o=!e||!!this._selectedDate&&e===this.__formatDate(this._selectedDate),i=!this._selectedDate||nt(this._selectedDate,this._minDate,this._maxDate);let r=!0;return this.inputElement&&(this.inputElement.checkValidity?r=this.inputElement.checkValidity():this.inputElement.validate&&(r=this.inputElement.validate())),o&&i&&r}_shouldSetFocus(e){return!this._shouldKeepFocusRing}_shouldRemoveFocus(e){return!this.opened}_setFocused(e){super._setFocused(e),this._shouldKeepFocusRing=e&&this._keyboardActive}__dispatchChange(){this.validate(),this.dispatchEvent(new CustomEvent("change",{bubbles:!0}))}_selectDate(e){const o=this.value;this._selectedDate=e,o!==this.value&&this.__dispatchChange()}_close(){this._focus(),this.close()}__bringToFront(){requestAnimationFrame(()=>{this.$.overlay.bringToFront()})}_isNoInput(e,o,i,r,n,a){return!e||o&&(!a||n)||i&&n||!r.parseDate}_formatISO(e){if(!(e instanceof Date))return"";const o=(d,h="00")=>(h+d).substr((h+d).length-h.length);let i="",r="0000",n=e.getFullYear();n<0?(n=-n,i="-",r="000000"):e.getFullYear()>=1e4&&(i="+",r="000000");const a=i+o(n,r),l=o(e.getMonth()+1),c=o(e.getDate());return[a,l,c].join("-")}_inputElementChanged(e){super._inputElementChanged(e),e&&(e.autocomplete="off",e.setAttribute("role","combobox"),e.setAttribute("aria-haspopup","dialog"),e.setAttribute("aria-expanded",!!this.opened),this._applyInputValue(this._selectedDate))}_openedChanged(e){this.inputElement&&this.inputElement.setAttribute("aria-expanded",e)}_selectedDateChanged(e,o){e===void 0||o===void 0||(this.__keepInputValue||this._applyInputValue(e),this.value=this._formatISO(e),this._ignoreFocusedDateChange=!0,this._focusedDate=e,this._ignoreFocusedDateChange=!1)}_focusedDateChanged(e,o){e===void 0||o===void 0||!this._ignoreFocusedDateChange&&!this._noInput&&this._applyInputValue(e)}_valueChanged(e,o){const i=qe(e);if(e&&!i){this.value=o;return}e?pe(this._selectedDate,i)||(this._selectedDate=i,o!==void 0&&this.validate()):this._selectedDate=null,this._toggleHasValue(this._hasValue)}__updateOverlayContent(e,o,i,r,n,a,l,c){e&&(e.i18n=o,e.label=i,e.minDate=r,e.maxDate=n,e.focusedDate=a,e.selectedDate=l,e.showWeekNumbers=c)}__updateOverlayContentTheme(e,o){e&&(o?e.setAttribute("theme",o):e.removeAttribute("theme"))}__updateOverlayContentFullScreen(e,o){e&&e.toggleAttribute("fullscreen",o)}_onOverlayEscapePress(){this._focusedDate=this._selectedDate,this._close()}_onOverlayOpened(){const e=this._overlayContent;e.reset();const o=this._getInitialPosition();e.initialPosition=o;const i=e.focusedDate||o;e.scrollToDate(i),this._ignoreFocusedDateChange=!0,e.focusedDate=i,this._ignoreFocusedDateChange=!1,window.addEventListener("scroll",this._boundOnScroll,!0),this._focusOverlayOnOpen?(e.focusDateElement(),this._focusOverlayOnOpen=!1):this._focus();const r=this._nativeInput;this._noInput&&r&&(r.blur(),this._overlayContent.focusDateElement());const n=this._noInput?e:[r,e];this.__showOthers=ir(n)}_getInitialPosition(){const e=qe(this.initialPosition),o=this._selectedDate||this._overlayContent.initialPosition||e||new Date;return e||nt(o,this._minDate,this._maxDate)?o:rr(o,[this._minDate,this._maxDate])}_selectParsedOrFocusedDate(){if(this._ignoreFocusedDateChange=!0,this.i18n.parseDate){const e=this._inputElementValue||"",o=this.__parseDate(e);o?this._selectDate(o):(this.__keepInputValue=!0,this._selectDate(null),this._selectedDate=null,this.__keepInputValue=!1)}else this._focusedDate&&this._selectDate(this._focusedDate);this._ignoreFocusedDateChange=!1}_onOverlayClosed(){this.__showOthers&&(this.__showOthers(),this.__showOthers=null),window.removeEventListener("scroll",this._boundOnScroll,!0),this.__userConfirmedDate?this.__userConfirmedDate=!1:this._selectParsedOrFocusedDate(),this._nativeInput&&this._nativeInput.selectionStart&&(this._nativeInput.selectionStart=this._nativeInput.selectionEnd),!this.value&&!this._keyboardActive&&this.validate()}_onScroll(e){(e.target===window||!this._overlayContent.contains(e.target))&&this._overlayContent._repositionYearScroller()}_focus(){this._noInput||this.inputElement.focus()}_focusAndSelect(){this._focus(),this._setSelectionRange(0,this._inputElementValue.length)}_applyInputValue(e){this._inputElementValue=e?this.__formatDate(e):""}_setSelectionRange(e,o){this._nativeInput&&this._nativeInput.setSelectionRange&&this._nativeInput.setSelectionRange(e,o)}_onChange(e){e.stopPropagation()}_onClick(e){this._isClearButton(e)||this._onHostClick(e)}_onHostClick(e){(!this.autoOpenDisabled||this._noInput)&&(e.preventDefault(),this.open())}_onClearButtonClick(e){e.preventDefault(),this._inputElementValue="",this.value="",this.__dispatchChange()}_onKeyDown(e){switch(super._onKeyDown(e),this._noInput&&[9].indexOf(e.keyCode)===-1&&e.preventDefault(),e.key){case"ArrowDown":case"ArrowUp":e.preventDefault(),this.opened?this._overlayContent.focusDateElement():(this._focusOverlayOnOpen=!0,this.open());break;case"Tab":this.opened&&(e.preventDefault(),e.stopPropagation(),this._setSelectionRange(0,0),e.shiftKey?this._overlayContent.focusCancel():this._overlayContent.focusDateElement());break}}_onEnter(e){const o=this.value;this.opened?this.close():this._selectParsedOrFocusedDate(),o===this.value&&this.validate()}_onEscape(e){if(!this.opened){if(this.clearButtonVisible&&this.value){e.stopPropagation(),this._onClearButtonClick(e);return}this.autoOpenDisabled?(this.inputElement.value===""&&this._selectDate(null),this._applyInputValue(this._selectedDate)):(this._focusedDate=this._selectedDate,this._selectParsedOrFocusedDate())}}_isClearButton(e){return e.composedPath()[0]===this.clearElement}_onInput(){if(!this.opened&&this._inputElementValue&&!this.autoOpenDisabled&&this.open(),this._inputElementValue){const e=this.__parseDate(this._inputElementValue);e&&(this._ignoreFocusedDateChange=!0,pe(e,this._focusedDate)||(this._focusedDate=e),this._ignoreFocusedDateChange=!1)}}__computeMinOrMaxDate(e){return qe(e)}};/**
4108
+ */const nu=s=>class extends iu(He(mr(vr($t(s))))){static get properties(){return{_selectedDate:{type:Object,sync:!0},_focusedDate:{type:Object,sync:!0},value:{type:String,notify:!0,value:"",sync:!0},initialPosition:String,opened:{type:Boolean,reflectToAttribute:!0,notify:!0,observer:"_openedChanged",sync:!0},autoOpenDisabled:Boolean,showWeekNumbers:{type:Boolean,value:!1,sync:!0},_fullscreen:{type:Boolean,value:!1,sync:!0},_fullscreenMediaQuery:{value:"(max-width: 420px), (max-height: 420px)"},i18n:{type:Object,sync:!0,value:()=>({monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],firstDayOfWeek:0,today:"Today",cancel:"Cancel",referenceDate:"",formatDate(e){const o=String(e.year).replace(/\d+/u,i=>"0000".substr(i.length)+i);return[e.month+1,e.day,o].join("/")},parseDate(e){const o=e.split("/"),i=new Date;let r,n=i.getMonth(),a=i.getFullYear();if(o.length===3){if(n=parseInt(o[0])-1,r=parseInt(o[1]),a=parseInt(o[2]),o[2].length<3&&a>=0){const l=this.referenceDate?qe(this.referenceDate):new Date;a=uc(l,a,n,r)}}else o.length===2?(n=parseInt(o[0])-1,r=parseInt(o[1])):o.length===1&&(r=parseInt(o[0]));if(r!==void 0)return{day:r,month:n,year:a}},formatTitle:(e,o)=>`${e} ${o}`})},min:{type:String,sync:!0},max:{type:String,sync:!0},_minDate:{type:Date,computed:"__computeMinOrMaxDate(min)",sync:!0},_maxDate:{type:Date,computed:"__computeMinOrMaxDate(max)",sync:!0},_noInput:{type:Boolean,computed:"_isNoInput(inputElement, _fullscreen, _ios, i18n, opened, autoOpenDisabled)"},_ios:{type:Boolean,value:or},_focusOverlayOnOpen:Boolean,_overlayContent:{type:Object,sync:!0},_hasInputValue:{type:Boolean}}}static get observers(){return["_selectedDateChanged(_selectedDate, i18n)","_focusedDateChanged(_focusedDate, i18n)","__updateOverlayContent(_overlayContent, i18n, label, _minDate, _maxDate, _focusedDate, _selectedDate, showWeekNumbers)","__updateOverlayContentTheme(_overlayContent, _theme)","__updateOverlayContentFullScreen(_overlayContent, _fullscreen)"]}static get constraints(){return[...super.constraints,"min","max"]}constructor(){super(),this._boundOnClick=this._onClick.bind(this),this._boundOnScroll=this._onScroll.bind(this),this._boundOverlayRenderer=this._overlayRenderer.bind(this)}get _inputElementValue(){return super._inputElementValue}set _inputElementValue(e){super._inputElementValue=e,this._hasInputValue=!1}get clearElement(){return null}get _nativeInput(){return this.inputElement?this.inputElement.focusElement||this.inputElement:null}_onFocus(e){super._onFocus(e),this._noInput&&e.target.blur()}_onBlur(e){super._onBlur(e),this.opened||(this._selectParsedOrFocusedDate(),document.hasFocus()&&this.validate())}ready(){super.ready(),this.addEventListener("click",this._boundOnClick),this.addController(new pr(this._fullscreenMediaQuery,o=>{this._fullscreen=o})),this.addController(new ru(this));const e=this.$.overlay;this._overlayElement=e,e.renderer=this._boundOverlayRenderer,this.addEventListener("mousedown",()=>this.__bringToFront()),this.addEventListener("touchstart",()=>this.__bringToFront())}disconnectedCallback(){super.disconnectedCallback(),this.opened=!1}open(){!this.disabled&&!this.readonly&&(this.opened=!0)}close(){this.$.overlay.close()}_overlayRenderer(e){if(e.firstChild)return;const o=document.createElement("vaadin-date-picker-overlay-content");e.appendChild(o),this._overlayContent=o,o.addEventListener("close",()=>{this._close()}),o.addEventListener("focus-input",this._focusAndSelect.bind(this)),o.addEventListener("date-tap",i=>{this.__userConfirmedDate=!0,this._selectDate(i.detail.date),this._close()}),o.addEventListener("date-selected",i=>{this.__userConfirmedDate=!!i.detail.date,this._selectDate(i.detail.date)}),o.addEventListener("focusin",()=>{this._keyboardActive&&this._setFocused(!0)}),o.addEventListener("focused-date-changed",i=>{this._focusedDate=i.detail.value})}__parseDate(e){if(!this.i18n.parseDate)return;let o=this.i18n.parseDate(e);if(o&&(o=qe(`${o.year}-${o.month+1}-${o.day}`)),o&&!isNaN(o.getTime()))return o}__formatDate(e){if(this.i18n.formatDate)return this.i18n.formatDate(rr(e))}checkValidity(){const e=this._inputElementValue,o=!e||!!this._selectedDate&&e===this.__formatDate(this._selectedDate),i=!this._selectedDate||nt(this._selectedDate,this._minDate,this._maxDate);let r=!0;return this.inputElement&&(this.inputElement.checkValidity?r=this.inputElement.checkValidity():this.inputElement.validate&&(r=this.inputElement.validate())),o&&i&&r}_shouldSetFocus(e){return!this._shouldKeepFocusRing}_shouldRemoveFocus(e){return!this.opened}_setFocused(e){super._setFocused(e),this._shouldKeepFocusRing=e&&this._keyboardActive}__dispatchChange(){this.validate(),this.dispatchEvent(new CustomEvent("change",{bubbles:!0}))}_selectDate(e){const o=this.value;this._selectedDate=e,o!==this.value&&this.__dispatchChange()}_close(){this._focus(),this.close()}__bringToFront(){requestAnimationFrame(()=>{this.$.overlay.bringToFront()})}_isNoInput(e,o,i,r,n,a){return!e||o&&(!a||n)||i&&n||!r.parseDate}_formatISO(e){if(!(e instanceof Date))return"";const o=(d,h="00")=>(h+d).substr((h+d).length-h.length);let i="",r="0000",n=e.getFullYear();n<0?(n=-n,i="-",r="000000"):e.getFullYear()>=1e4&&(i="+",r="000000");const a=i+o(n,r),l=o(e.getMonth()+1),c=o(e.getDate());return[a,l,c].join("-")}_inputElementChanged(e){super._inputElementChanged(e),e&&(e.autocomplete="off",e.setAttribute("role","combobox"),e.setAttribute("aria-haspopup","dialog"),e.setAttribute("aria-expanded",!!this.opened),this._applyInputValue(this._selectedDate))}_openedChanged(e){this.inputElement&&this.inputElement.setAttribute("aria-expanded",e)}_selectedDateChanged(e,o){e===void 0||o===void 0||(this.__keepInputValue||this._applyInputValue(e),this.value=this._formatISO(e),this._ignoreFocusedDateChange=!0,this._focusedDate=e,this._ignoreFocusedDateChange=!1)}_focusedDateChanged(e,o){e===void 0||o===void 0||!this._ignoreFocusedDateChange&&!this._noInput&&this._applyInputValue(e)}_valueChanged(e,o){const i=qe(e);if(e&&!i){this.value=o;return}e?pe(this._selectedDate,i)||(this._selectedDate=i,o!==void 0&&this.validate()):this._selectedDate=null,this._toggleHasValue(this._hasValue)}__updateOverlayContent(e,o,i,r,n,a,l,c){e&&(e.i18n=o,e.label=i,e.minDate=r,e.maxDate=n,e.focusedDate=a,e.selectedDate=l,e.showWeekNumbers=c)}__updateOverlayContentTheme(e,o){e&&(o?e.setAttribute("theme",o):e.removeAttribute("theme"))}__updateOverlayContentFullScreen(e,o){e&&e.toggleAttribute("fullscreen",o)}_onOverlayEscapePress(){this._focusedDate=this._selectedDate,this._close()}_onOverlayOpened(){const e=this._overlayContent;e.reset();const o=this._getInitialPosition();e.initialPosition=o;const i=e.focusedDate||o;e.scrollToDate(i),this._ignoreFocusedDateChange=!0,e.focusedDate=i,this._ignoreFocusedDateChange=!1,window.addEventListener("scroll",this._boundOnScroll,!0),this._focusOverlayOnOpen?(e.focusDateElement(),this._focusOverlayOnOpen=!1):this._focus();const r=this._nativeInput;this._noInput&&r&&(r.blur(),this._overlayContent.focusDateElement());const n=this._noInput?e:[r,e];this.__showOthers=sr(n)}_getInitialPosition(){const e=qe(this.initialPosition),o=this._selectedDate||this._overlayContent.initialPosition||e||new Date;return e||nt(o,this._minDate,this._maxDate)?o:ir(o,[this._minDate,this._maxDate])}_selectParsedOrFocusedDate(){if(this._ignoreFocusedDateChange=!0,this.i18n.parseDate){const e=this._inputElementValue||"",o=this.__parseDate(e);o?this._selectDate(o):(this.__keepInputValue=!0,this._selectDate(null),this._selectedDate=null,this.__keepInputValue=!1)}else this._focusedDate&&this._selectDate(this._focusedDate);this._ignoreFocusedDateChange=!1}_onOverlayClosed(){this.__showOthers&&(this.__showOthers(),this.__showOthers=null),window.removeEventListener("scroll",this._boundOnScroll,!0),this.__userConfirmedDate?this.__userConfirmedDate=!1:this._selectParsedOrFocusedDate(),this._nativeInput&&this._nativeInput.selectionStart&&(this._nativeInput.selectionStart=this._nativeInput.selectionEnd),!this.value&&!this._keyboardActive&&this.validate()}_onScroll(e){(e.target===window||!this._overlayContent.contains(e.target))&&this._overlayContent._repositionYearScroller()}_focus(){this._noInput||this.inputElement.focus()}_focusAndSelect(){this._focus(),this._setSelectionRange(0,this._inputElementValue.length)}_applyInputValue(e){this._inputElementValue=e?this.__formatDate(e):""}_setSelectionRange(e,o){this._nativeInput&&this._nativeInput.setSelectionRange&&this._nativeInput.setSelectionRange(e,o)}_onChange(e){e.stopPropagation()}_onClick(e){this._isClearButton(e)||this._onHostClick(e)}_onHostClick(e){(!this.autoOpenDisabled||this._noInput)&&(e.preventDefault(),this.open())}_onClearButtonClick(e){e.preventDefault(),this._inputElementValue="",this.value="",this.__dispatchChange()}_onKeyDown(e){switch(super._onKeyDown(e),this._noInput&&[9].indexOf(e.keyCode)===-1&&e.preventDefault(),e.key){case"ArrowDown":case"ArrowUp":e.preventDefault(),this.opened?this._overlayContent.focusDateElement():(this._focusOverlayOnOpen=!0,this.open());break;case"Tab":this.opened&&(e.preventDefault(),e.stopPropagation(),this._setSelectionRange(0,0),e.shiftKey?this._overlayContent.focusCancel():this._overlayContent.focusDateElement());break}}_onEnter(e){const o=this.value;this.opened?this.close():this._selectParsedOrFocusedDate(),o===this.value&&this.validate()}_onEscape(e){if(!this.opened){if(this.clearButtonVisible&&this.value){e.stopPropagation(),this._onClearButtonClick(e);return}this.autoOpenDisabled?(this.inputElement.value===""&&this._selectDate(null),this._applyInputValue(this._selectedDate)):(this._focusedDate=this._selectedDate,this._selectParsedOrFocusedDate())}}_isClearButton(e){return e.composedPath()[0]===this.clearElement}_onInput(){if(!this.opened&&this._inputElementValue&&!this.autoOpenDisabled&&this.open(),this._inputElementValue){const e=this.__parseDate(this._inputElementValue);e&&(this._ignoreFocusedDateChange=!0,pe(e,this._focusedDate)||(this._focusedDate=e),this._ignoreFocusedDateChange=!1)}}__computeMinOrMaxDate(e){return qe(e)}};/**
4109
4109
  * @license
4110
4110
  * Copyright (c) 2016 - 2023 Vaadin Ltd.
4111
4111
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4112
- */const cu=C`
4112
+ */const au=C`
4113
4113
  :host([opened]) {
4114
4114
  pointer-events: auto;
4115
4115
  }
@@ -4126,7 +4126,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
4126
4126
  * @license
4127
4127
  * Copyright (c) 2016 - 2023 Vaadin Ltd.
4128
4128
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4129
- */R("vaadin-date-picker",[ru,cu],{moduleId:"vaadin-date-picker-styles"});class uu extends lu(Qc(Pe(Ri(ye)))){static get is(){return"vaadin-date-picker"}static get template(){return Te`
4129
+ */R("vaadin-date-picker",[su,au],{moduleId:"vaadin-date-picker-styles"});class lu extends nu(Xc(Pe($i(ye)))){static get is(){return"vaadin-date-picker"}static get template(){return Te`
4130
4130
  <div class="vaadin-date-picker-container">
4131
4131
  <div part="label">
4132
4132
  <slot name="label"></slot>
@@ -4168,4 +4168,4 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
4168
4168
  ></vaadin-date-picker-overlay>
4169
4169
 
4170
4170
  <slot name="tooltip"></slot>
4171
- `}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new eu(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e})),this.addController(new tu(this.inputElement,this._labelController)),this._tooltipController=new ji(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}}re(uu);function du(s){u.append_styles(s,"svelte-qpnd27",'.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:20px;height:100vh;max-width:100%}.SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionDescription.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper{width:50%;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, 20px);cursor:pointer}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{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}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{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, 20px) var(--emw--border-radius-medium, 20px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown 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}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:300px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-gray-150, #828282) 80%, black 20%), var(--emw--color-gray-150, #828282), color-mix(in srgb, var(--emw--color-gray-150, #828282) 80%, white 30%));border:2px solid var(--emw--color-black, #000000);border-radius:50px;padding:30px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF)}.SelfExclusionActionButtons .SelfExclusionSave.active{cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924)}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}')}function Xs(s,t,e){const o=s.slice();return o[43]=t[e],o}function hu(s){let t,e,o,i,r,n,a,l,c,d,h=s[14]("titleSelfExclusion")+"",p,m,v;return{c(){t=u.element("div"),e=u.svg_element("svg"),o=u.svg_element("defs"),i=u.svg_element("style"),r=u.text(".aaa{fill:var(--emw--color-primary, #22B04E);}"),n=u.svg_element("g"),a=u.svg_element("g"),l=u.svg_element("path"),c=u.space(),d=u.element("h2"),p=u.text(h),u.attr(l,"class","aaa"),u.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"),u.attr(l,"transform","translate(15 15) rotate(180)"),u.attr(a,"transform","translate(20 158)"),u.attr(n,"transform","translate(-20 -158)"),u.attr(e,"xmlns","http://www.w3.org/2000/svg"),u.attr(e,"width","15"),u.attr(e,"height","15"),u.attr(e,"viewBox","0 0 15 15"),u.attr(d,"class","PlayerSelfExclusionTitleMobile"),u.attr(t,"class","MenuReturnButton")},m(P,N){u.insert(P,t,N),u.append(t,e),u.append(e,o),u.append(o,i),u.append(i,r),u.append(e,n),u.append(n,a),u.append(a,l),u.append(t,c),u.append(t,d),u.append(d,p),m||(v=u.listen(t,"click",s[25]),m=!0)},p(P,N){N[0]&16384&&h!==(h=P[14]("titleSelfExclusion")+"")&&u.set_data(p,h)},d(P){P&&u.detach(t),m=!1,v()}}}function Zs(s){let t,e=s[14](`${s[43].key}`)+"",o,i,r;function n(){return s[27](s[43])}return{c(){t=u.element("div"),o=u.text(e)},m(a,l){u.insert(a,t,l),u.append(t,o),i||(r=u.listen(t,"click",n),i=!0)},p(a,l){s=a,l[0]&16416&&e!==(e=s[14](`${s[43].key}`)+"")&&u.set_data(o,e)},d(a){a&&u.detach(t),i=!1,r()}}}function Qs(s){let t,e,o=s[14]("duration")+"",i,r,n,a=s[14]("dateInstructions")+"",l,c,d,h,p;return{c(){t=u.element("div"),e=u.element("label"),i=u.text(o),r=u.space(),n=u.element("span"),l=u.text(a),c=u.space(),d=u.element("strong"),d.innerHTML="MM/DD/YYYY<strong></strong>",h=u.space(),p=u.element("vaadin-date-picker"),u.attr(e,"for","SelfExclusionDate"),u.attr(n,"class","SelfExclusionDateInstructions"),u.set_custom_element_data(p,"min",s[6]),u.set_custom_element_data(p,"max",s[7]),u.set_custom_element_data(p,"value",s[6]),u.attr(t,"class","SelfExclusionDateWrapper "+(s[15]?"SelfExclusionDateWrapperMobile":""))},m(m,v){u.insert(m,t,v),u.append(t,e),u.append(e,i),u.append(t,r),u.append(t,n),u.append(n,l),u.append(n,c),u.append(n,d),u.append(t,h),u.append(t,p),s[28](p)},p(m,v){v[0]&16384&&o!==(o=m[14]("duration")+"")&&u.set_data(i,o),v[0]&16384&&a!==(a=m[14]("dateInstructions")+"")&&u.set_data(l,a),v[0]&64&&u.set_custom_element_data(p,"min",m[6]),v[0]&128&&u.set_custom_element_data(p,"max",m[7]),v[0]&64&&u.set_custom_element_data(p,"value",m[6])},d(m){m&&u.detach(t),s[28](null)}}}function pu(s){let t,e,o=s[14]("temporarySelfExclusion",{values:{date:s[8]}})+"",i;return{c(){t=u.element("p"),e=u.element("strong"),i=u.text(o),u.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){u.insert(r,t,n),u.append(t,e),u.append(e,i)},p(r,n){n[0]&16640&&o!==(o=r[14]("temporarySelfExclusion",{values:{date:r[8]}})+"")&&u.set_data(i,o)},d(r){r&&u.detach(t)}}}function mu(s){let t,e,o=s[14]("noPeriodSelected")+"",i;return{c(){t=u.element("p"),e=u.element("strong"),i=u.text(o),u.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){u.insert(r,t,n),u.append(t,e),u.append(e,i)},p(r,n){n[0]&16384&&o!==(o=r[14]("noPeriodSelected")+"")&&u.set_data(i,o)},d(r){r&&u.detach(t)}}}function fu(s){let t,e,o=s[14]("permanentSelfExclusion")+"",i;return{c(){t=u.element("p"),e=u.element("strong"),i=u.text(o),u.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){u.insert(r,t,n),u.append(t,e),u.append(e,i)},p(r,n){n[0]&16384&&o!==(o=r[14]("permanentSelfExclusion")+"")&&u.set_data(i,o)},d(r){r&&u.detach(t)}}}function _u(s){let t,e,o,i,r=s[14]("titleSelfExclusion")+"",n,a,l,c,d=s[14]("selfExclusionText1",{values:{operatorname:s[0]}})+"",h,p,m,v=s[14]("selfExclusionText2")+"",P,N,O,I,H=s[14]("selfExclusionText3",{values:{operatorname:s[0]}})+"",Q,G,V,ne=s[14]("termsAndConditions")+"",ae,oe,L,k=s[14]("selfExclusionText4",{values:{operatorname:s[0]}})+"",le,me,x,g=s[14]("selfExclusionText5")+"",f,b,_,S,w,M,D,z,B,j=s[14](`${s[9]}`)+"",se,ie,y,$,A,J,ee,be,Rt,je,ts,ut,fe,dt=s[14]("save")+"",Bt,ht,pt,Ht,os,xe=s[15]&&hu(s),Me=u.ensure_array_like(s[5]),K=[];for(let E=0;E<Me.length;E+=1)K[E]=Zs(Xs(s,Me,E));let X=s[11]&&Qs(s);function ss(E,F){return E[10]?fu:E[12]?pu:mu}let mt=ss(s),ce=mt(s);return{c(){t=u.element("div"),e=u.element("form"),xe&&xe.c(),o=u.space(),i=u.element("h2"),n=u.text(r),a=u.space(),l=u.element("div"),c=u.element("p"),h=u.text(d),p=u.space(),m=u.element("p"),P=u.text(v),N=u.space(),O=u.element("p"),I=u.element("span"),Q=u.text(H),G=u.space(),V=u.element("a"),ae=u.text(ne),oe=u.space(),L=u.element("span"),le=u.text(k),me=u.space(),x=u.element("p"),f=u.text(g),b=u.space(),_=u.element("a"),S=u.text(s[1]),M=u.space(),D=u.element("div"),z=u.element("div"),B=u.element("p"),se=u.text(j),ie=u.space(),y=u.svg_element("svg"),$=u.svg_element("g"),A=u.svg_element("path"),J=u.space(),ee=u.element("div");for(let E=0;E<K.length;E+=1)K[E].c();be=u.space(),X&&X.c(),Rt=u.space(),je=u.element("div"),ce.c(),ts=u.space(),ut=u.element("div"),fe=u.element("button"),Bt=u.text(dt),u.attr(i,"class","PlayerSelfExclusionTitle "+(s[15]?"PlayerSelfExclusionTitleNone":"")),u.attr(c,"class","SelfExclusionDescriptionText"),u.attr(m,"class","SelfExclusionDescriptionText"),u.attr(V,"href",s[2]),u.attr(O,"class","SelfExclusionDescriptionText"),u.attr(_,"href",w="mailto:"+s[1]),u.attr(x,"class","SelfExclusionDescriptionText"),u.attr(l,"class","SelfExclusionDescription "+(s[15]?"SelfExclusionDescriptionMobile":"")),u.attr(A,"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"),u.attr(A,"stroke-linecap","round"),u.attr(y,"xmlns","http://www.w3.org/2000/svg"),u.attr(y,"xmlns:xlink","http://www.w3.org/1999/xlink"),u.attr(y,"version","1.1"),u.attr(y,"viewBox","0 0 100 100"),u.attr(y,"xml:space","preserve"),u.attr(y,"class","SelfExclusionConfigIcon"),u.toggle_class(y,"active",s[13]),u.attr(z,"class","SelfExclusionConfigLabel"),u.attr(ee,"class","SelfExclusionDropDown"),u.toggle_class(ee,"active",s[13]),u.attr(D,"class","SelfExclusionConfigWrapper "+(s[15]?"SelfExclusionConfigWrapperMobile":"")),u.toggle_class(D,"active",s[13]),u.attr(je,"class","SelfExclusionDescription "+(s[15]?"SelfExclusionDescriptionMobile":"")),u.attr(fe,"class",ht="SelfExclusionSave "+(s[12]?"active":"")),fe.disabled=pt=!s[12],u.attr(ut,"class","SelfExclusionActionButtons "+(s[15]?"SelfExclusionActionButtonsMobile":"")),u.attr(e,"class","SelfExclusionWrapper "+(s[15]?"SelfExclusionWrapperMobile":""))},m(E,F){u.insert(E,t,F),u.append(t,e),xe&&xe.m(e,null),u.append(e,o),u.append(e,i),u.append(i,n),u.append(e,a),u.append(e,l),u.append(l,c),u.append(c,h),u.append(l,p),u.append(l,m),u.append(m,P),u.append(l,N),u.append(l,O),u.append(O,I),u.append(I,Q),u.append(O,G),u.append(O,V),u.append(V,ae),u.append(O,oe),u.append(O,L),u.append(L,le),u.append(l,me),u.append(l,x),u.append(x,f),u.append(x,b),u.append(x,_),u.append(_,S),u.append(e,M),u.append(e,D),u.append(D,z),u.append(z,B),u.append(B,se),u.append(z,ie),u.append(z,y),u.append(y,$),u.append($,A),u.append(D,J),u.append(D,ee);for(let W=0;W<K.length;W+=1)K[W]&&K[W].m(ee,null);u.append(e,be),X&&X.m(e,null),u.append(e,Rt),u.append(e,je),ce.m(je,null),u.append(e,ts),u.append(e,ut),u.append(ut,fe),u.append(fe,Bt),s[30](t),Ht||(os=[u.listen(z,"click",s[26]),u.listen(fe,"click",s[29])],Ht=!0)},p(E,F){if(E[15]&&xe.p(E,F),F[0]&16384&&r!==(r=E[14]("titleSelfExclusion")+"")&&u.set_data(n,r),F[0]&16385&&d!==(d=E[14]("selfExclusionText1",{values:{operatorname:E[0]}})+"")&&u.set_data(h,d),F[0]&16384&&v!==(v=E[14]("selfExclusionText2")+"")&&u.set_data(P,v),F[0]&16385&&H!==(H=E[14]("selfExclusionText3",{values:{operatorname:E[0]}})+"")&&u.set_data(Q,H),F[0]&16384&&ne!==(ne=E[14]("termsAndConditions")+"")&&u.set_data(ae,ne),F[0]&4&&u.attr(V,"href",E[2]),F[0]&16385&&k!==(k=E[14]("selfExclusionText4",{values:{operatorname:E[0]}})+"")&&u.set_data(le,k),F[0]&16384&&g!==(g=E[14]("selfExclusionText5")+"")&&u.set_data(f,g),F[0]&2&&u.set_data(S,E[1]),F[0]&2&&w!==(w="mailto:"+E[1])&&u.attr(_,"href",w),F[0]&16896&&j!==(j=E[14](`${E[9]}`)+"")&&u.set_data(se,j),F[0]&8192&&u.toggle_class(y,"active",E[13]),F[0]&147488){Me=u.ensure_array_like(E[5]);let W;for(W=0;W<Me.length;W+=1){const is=Xs(E,Me,W);K[W]?K[W].p(is,F):(K[W]=Zs(is),K[W].c(),K[W].m(ee,null))}for(;W<K.length;W+=1)K[W].d(1);K.length=Me.length}F[0]&8192&&u.toggle_class(ee,"active",E[13]),F[0]&8192&&u.toggle_class(D,"active",E[13]),E[11]?X?X.p(E,F):(X=Qs(E),X.c(),X.m(e,Rt)):X&&(X.d(1),X=null),mt===(mt=ss(E))&&ce?ce.p(E,F):(ce.d(1),ce=mt(E),ce&&(ce.c(),ce.m(je,null))),F[0]&16384&&dt!==(dt=E[14]("save")+"")&&u.set_data(Bt,dt),F[0]&4096&&ht!==(ht="SelfExclusionSave "+(E[12]?"active":""))&&u.attr(fe,"class",ht),F[0]&4096&&pt!==(pt=!E[12])&&(fe.disabled=pt)},i:u.noop,o:u.noop,d(E){E&&u.detach(t),xe&&xe.d(),u.destroy_each(K,E),X&&X.d(),ce.d(),s[30](null),Ht=!1,u.run_all(os)}}}function gu(s,t,e){let o;u.component_subscribe(s,u.$format,y=>e(14,o=y));let{endpoint:i="",lang:r="en",operator:n="Everymatrix",supportemail:a="",termsconditionslink:l="",clientstyling:c="",clientstylingurl:d="",translationurl:h=""}=t,p,m,v=[],P=window.navigator.userAgent,N,O,I="",H="",Q="selectAPeriod",G=u.getDevice(P)!=="PC",V=!1,ne=!1,ae=!1,oe=!1;const L=()=>{fetch(h).then($=>$.json()).then($=>{Object.keys($).forEach(A=>{as(A,$[A])})}).catch($=>{console.log($)})};Object.keys(ls).forEach(y=>{as(y,ls[y])});const k=()=>{let y=new URL(`${i}/v1/player/selfExclusionSettings`);fetch(y,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(A=>le(A)).then(A=>{e(5,v=A.periods)}).catch(A=>{console.log(A)})},le=y=>{if(y.status>=300)throw new Error("There was an error fetching the config");return y.json()},me=()=>{e(13,oe=!oe)},x=y=>{switch(H=y.text,e(9,Q=y.key),e(12,ae=!0),e(13,oe=!1),e(10,V=!1),e(11,ne=!1),H){case"Until":e(11,ne=!0),e(6,N=Vt().add(6,"M").format("YYYY-MM-DD")),e(7,O=Vt().add(5,"y").format("YYYY-MM-DD")),e(8,I=N);break;case"Permanent":e(10,V=!V);break;default:const[$,A]=H.split(" "),J=A.includes("Day")?"days":A.includes("Month")?"months":A.includes("Year")?"years":null;if(!J)return;e(8,I=Vt().add(Number($),J).format("YYYY-MM-DD"));break}},g=y=>{y.preventDefault(),window.postMessage({type:"SetSelfExclusion",selfExclusionPeriod:Q,selfExclusionExpiryDate:I},window.location.href)},f=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:G},window.location.href)},b=y=>{e(8,I=y.target.value)},_=()=>{m.addEventListener("change",b,!1)},S=()=>{let y=document.createElement("style");y.innerHTML=c,p.appendChild(y)},w=()=>{let y=new URL(d),$=document.createElement("style");fetch(y.href).then(A=>A.text()).then(A=>{$.innerHTML=A,setTimeout(()=>{p.appendChild($)},1)})};u.onMount(()=>()=>{m.removeEventListener("change",b)});const M=()=>{Pr(r)},D=()=>f(),z=()=>me(),B=y=>x(y);function j(y){u.binding_callbacks[y?"unshift":"push"](()=>{m=y,e(4,m)})}const se=y=>g(y);function ie(y){u.binding_callbacks[y?"unshift":"push"](()=>{p=y,e(3,p)})}return s.$$set=y=>{"endpoint"in y&&e(20,i=y.endpoint),"lang"in y&&e(21,r=y.lang),"operator"in y&&e(0,n=y.operator),"supportemail"in y&&e(1,a=y.supportemail),"termsconditionslink"in y&&e(2,l=y.termsconditionslink),"clientstyling"in y&&e(22,c=y.clientstyling),"clientstylingurl"in y&&e(23,d=y.clientstylingurl),"translationurl"in y&&e(24,h=y.translationurl)},s.$$.update=()=>{s.$$.dirty[0]&16&&m&&_(),s.$$.dirty[0]&1048576&&i&&k(),s.$$.dirty[0]&2097152&&r&&M(),s.$$.dirty[0]&8388616&&d&&p&&w(),s.$$.dirty[0]&4194312&&c&&p&&S(),s.$$.dirty[0]&16777216&&h&&L()},[n,a,l,p,m,v,N,O,I,Q,V,ne,ae,oe,o,G,me,x,g,f,i,r,c,d,h,D,z,B,j,se,ie]}class xr extends u.SvelteComponent{constructor(t){super(),u.init(this,t,gu,_u,u.safe_not_equal,{endpoint:20,lang:21,operator:0,supportemail:1,termsconditionslink:2,clientstyling:22,clientstylingurl:23,translationurl:24},du,[-1,-1])}get endpoint(){return this.$$.ctx[20]}set endpoint(t){this.$$set({endpoint:t}),u.flush()}get lang(){return this.$$.ctx[21]}set lang(t){this.$$set({lang:t}),u.flush()}get operator(){return this.$$.ctx[0]}set operator(t){this.$$set({operator:t}),u.flush()}get supportemail(){return this.$$.ctx[1]}set supportemail(t){this.$$set({supportemail:t}),u.flush()}get termsconditionslink(){return this.$$.ctx[2]}set termsconditionslink(t){this.$$set({termsconditionslink:t}),u.flush()}get clientstyling(){return this.$$.ctx[22]}set clientstyling(t){this.$$set({clientstyling:t}),u.flush()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),u.flush()}get translationurl(){return this.$$.ctx[24]}set translationurl(t){this.$$set({translationurl:t}),u.flush()}}u.create_custom_element(xr,{endpoint:{},lang:{},operator:{},supportemail:{},termsconditionslink:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=xr;
4171
+ `}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new Zc(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e})),this.addController(new Qc(this.inputElement,this._labelController)),this._tooltipController=new Hi(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}}re(lu);var br={exports:{}};(function(s,t){(function(e,o){s.exports=o()})(u.commonjsGlobal,function(){var e=1e3,o=6e4,i=36e5,r="millisecond",n="second",a="minute",l="hour",c="day",d="week",h="month",p="quarter",m="year",v="date",P="Invalid Date",N=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,O=/\[([^\]]+)]|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,I={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 g=["th","st","nd","rd"],f=x%100;return"["+x+(g[(f-20)%10]||g[f]||g[0])+"]"}},H=function(x,g,f){var b=String(x);return!b||b.length>=g?x:""+Array(g+1-b.length).join(f)+x},Q={s:H,z:function(x){var g=-x.utcOffset(),f=Math.abs(g),b=Math.floor(f/60),_=f%60;return(g<=0?"+":"-")+H(b,2,"0")+":"+H(_,2,"0")},m:function x(g,f){if(g.date()<f.date())return-x(f,g);var b=12*(f.year()-g.year())+(f.month()-g.month()),_=g.clone().add(b,h),S=f-_<0,w=g.clone().add(b+(S?-1:1),h);return+(-(b+(f-_)/(S?_-w:w-_))||0)},a:function(x){return x<0?Math.ceil(x)||0:Math.floor(x)},p:function(x){return{M:h,y:m,w:d,d:c,D:v,h:l,m:a,s:n,ms:r,Q:p}[x]||String(x||"").toLowerCase().replace(/s$/,"")},u:function(x){return x===void 0}},G="en",V={};V[G]=I;var ne="$isDayjsObject",ae=function(x){return x instanceof le||!(!x||!x[ne])},oe=function x(g,f,b){var _;if(!g)return G;if(typeof g=="string"){var S=g.toLowerCase();V[S]&&(_=S),f&&(V[S]=f,_=S);var w=g.split("-");if(!_&&w.length>1)return x(w[0])}else{var M=g.name;V[M]=g,_=M}return!b&&_&&(G=_),_||!b&&G},L=function(x,g){if(ae(x))return x.clone();var f=typeof g=="object"?g:{};return f.date=x,f.args=arguments,new le(f)},k=Q;k.l=oe,k.i=ae,k.w=function(x,g){return L(x,{locale:g.$L,utc:g.$u,x:g.$x,$offset:g.$offset})};var le=function(){function x(f){this.$L=oe(f.locale,null,!0),this.parse(f),this.$x=this.$x||f.x||{},this[ne]=!0}var g=x.prototype;return g.parse=function(f){this.$d=function(b){var _=b.date,S=b.utc;if(_===null)return new Date(NaN);if(k.u(_))return new Date;if(_ instanceof Date)return new Date(_);if(typeof _=="string"&&!/Z$/i.test(_)){var w=_.match(N);if(w){var M=w[2]-1||0,D=(w[7]||"0").substring(0,3);return S?new Date(Date.UTC(w[1],M,w[3]||1,w[4]||0,w[5]||0,w[6]||0,D)):new Date(w[1],M,w[3]||1,w[4]||0,w[5]||0,w[6]||0,D)}}return new Date(_)}(f),this.init()},g.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()},g.$utils=function(){return k},g.isValid=function(){return this.$d.toString()!==P},g.isSame=function(f,b){var _=L(f);return this.startOf(b)<=_&&_<=this.endOf(b)},g.isAfter=function(f,b){return L(f)<this.startOf(b)},g.isBefore=function(f,b){return this.endOf(b)<L(f)},g.$g=function(f,b,_){return k.u(f)?this[b]:this.set(_,f)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(f,b){var _=this,S=!!k.u(b)||b,w=k.p(f),M=function($,A){var J=k.w(_.$u?Date.UTC(_.$y,A,$):new Date(_.$y,A,$),_);return S?J:J.endOf(c)},D=function($,A){return k.w(_.toDate()[$].apply(_.toDate("s"),(S?[0,0,0,0]:[23,59,59,999]).slice(A)),_)},z=this.$W,B=this.$M,j=this.$D,se="set"+(this.$u?"UTC":"");switch(w){case m:return S?M(1,0):M(31,11);case h:return S?M(1,B):M(0,B+1);case d:var ie=this.$locale().weekStart||0,y=(z<ie?z+7:z)-ie;return M(S?j-y:j+(6-y),B);case c:case v:return D(se+"Hours",0);case l:return D(se+"Minutes",1);case a:return D(se+"Seconds",2);case n:return D(se+"Milliseconds",3);default:return this.clone()}},g.endOf=function(f){return this.startOf(f,!1)},g.$set=function(f,b){var _,S=k.p(f),w="set"+(this.$u?"UTC":""),M=(_={},_[c]=w+"Date",_[v]=w+"Date",_[h]=w+"Month",_[m]=w+"FullYear",_[l]=w+"Hours",_[a]=w+"Minutes",_[n]=w+"Seconds",_[r]=w+"Milliseconds",_)[S],D=S===c?this.$D+(b-this.$W):b;if(S===h||S===m){var z=this.clone().set(v,1);z.$d[M](D),z.init(),this.$d=z.set(v,Math.min(this.$D,z.daysInMonth())).$d}else M&&this.$d[M](D);return this.init(),this},g.set=function(f,b){return this.clone().$set(f,b)},g.get=function(f){return this[k.p(f)]()},g.add=function(f,b){var _,S=this;f=Number(f);var w=k.p(b),M=function(B){var j=L(S);return k.w(j.date(j.date()+Math.round(B*f)),S)};if(w===h)return this.set(h,this.$M+f);if(w===m)return this.set(m,this.$y+f);if(w===c)return M(1);if(w===d)return M(7);var D=(_={},_[a]=o,_[l]=i,_[n]=e,_)[w]||1,z=this.$d.getTime()+f*D;return k.w(z,this)},g.subtract=function(f,b){return this.add(-1*f,b)},g.format=function(f){var b=this,_=this.$locale();if(!this.isValid())return _.invalidDate||P;var S=f||"YYYY-MM-DDTHH:mm:ssZ",w=k.z(this),M=this.$H,D=this.$m,z=this.$M,B=_.weekdays,j=_.months,se=_.meridiem,ie=function(A,J,ee,be){return A&&(A[J]||A(b,S))||ee[J].slice(0,be)},y=function(A){return k.s(M%12||12,A,"0")},$=se||function(A,J,ee){var be=A<12?"AM":"PM";return ee?be.toLowerCase():be};return S.replace(O,function(A,J){return J||function(ee){switch(ee){case"YY":return String(b.$y).slice(-2);case"YYYY":return k.s(b.$y,4,"0");case"M":return z+1;case"MM":return k.s(z+1,2,"0");case"MMM":return ie(_.monthsShort,z,j,3);case"MMMM":return ie(j,z);case"D":return b.$D;case"DD":return k.s(b.$D,2,"0");case"d":return String(b.$W);case"dd":return ie(_.weekdaysMin,b.$W,B,2);case"ddd":return ie(_.weekdaysShort,b.$W,B,3);case"dddd":return B[b.$W];case"H":return String(M);case"HH":return k.s(M,2,"0");case"h":return y(1);case"hh":return y(2);case"a":return $(M,D,!0);case"A":return $(M,D,!1);case"m":return String(D);case"mm":return k.s(D,2,"0");case"s":return String(b.$s);case"ss":return k.s(b.$s,2,"0");case"SSS":return k.s(b.$ms,3,"0");case"Z":return w}return null}(A)||w.replace(":","")})},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(f,b,_){var S,w=this,M=k.p(b),D=L(f),z=(D.utcOffset()-this.utcOffset())*o,B=this-D,j=function(){return k.m(w,D)};switch(M){case m:S=j()/12;break;case h:S=j();break;case p:S=j()/3;break;case d:S=(B-z)/6048e5;break;case c:S=(B-z)/864e5;break;case l:S=B/i;break;case a:S=B/o;break;case n:S=B/e;break;default:S=B}return _?S:k.a(S)},g.daysInMonth=function(){return this.endOf(h).$D},g.$locale=function(){return V[this.$L]},g.locale=function(f,b){if(!f)return this.$L;var _=this.clone(),S=oe(f,b,!0);return S&&(_.$L=S),_},g.clone=function(){return k.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},x}(),me=le.prototype;return L.prototype=me,[["$ms",r],["$s",n],["$m",a],["$H",l],["$W",c],["$M",h],["$y",m],["$D",v]].forEach(function(x){me[x[1]]=function(g){return this.$g(g,x[0],x[1])}}),L.extend=function(x,g){return x.$i||(x(g,le,L),x.$i=!0),L},L.locale=oe,L.isDayjs=ae,L.unix=function(x){return L(1e3*x)},L.en=V[G],L.Ls=V,L.p={},L})})(br);var cu=br.exports;const St=u.getDefaultExportFromCjs(cu);function Gs(s,t){u.addMessages(s,t)}function uu(s){u.$locale.set(s)}const Js={en:{titleSelfExclusion:"Self-Exclusion",selfExclusionText1:"We recognise that gambling can be harmful so to prevent problems associated with gambling, we offer our users the ability to exclude from all forms of betting on our site for a period of your choosing from the drop-down menu below.",selfExclusionText2:'Self-exclusion takes effect from the time it is set for your chosen period. Select a timeframe below then click "Save".',selfExclusionText3:"During a self-exclusion period, withdrawals will be possible, please check",termsAndConditions:"Terms and Conditions",selfExclusionText4:"to see the exact process; however, depositing funds or placing bets will be restricted. In the case of permanent self-exclusion, revocation is only possible upon written request and must occur no sooner than six months after the initial application. Please note that an alternative way to request self-exclusion is to contact Customer Service as follows:",selfExclusionText5:"E-mail:",duration:"Duration:",dateInstructions:"In order to manually input date use the following format:",forever:"Forever",save:"Save",noPeriodSelected:"Please select a self exclusion period",selectAPeriod:"Select a period",temporarySelfExclusion:"Your self-exclusion period will last until the {date} 23:59.",permanentSelfExclusion:"Your self-exclusion period will be permanent.",SelfExclusionFor30Days:"30 Days",SelfExclusionFor6Months:"6 Months",SelfExclusionFor1Year:"1 Year",SelfExclusionFor5Years:"5 Years",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Until"},"zh-hk":{titleSelfExclusion:"自我排除",selfExclusionText1:"我們認識到賭博可能帶來危害,因此為防止與賭博相關的問題,我們為用戶提供了排除本站所有投注形式的功能,您可從下拉菜單中選擇一個期間。",selfExclusionText2:'自我排除將從設置時開始生效,持續您選擇的期間。請在下方選擇一個時間範圍,然後點擊"保存"。',selfExclusionText3:"在自我排除期間,可進行提款操作,請查看",termsAndConditions:"條款和細則",selfExclusionText4:"了解具體流程;但存款或下注將受到限制。如選擇永久自我排除,撤銷申請僅可通過書面申請,且必須在最初申請六個月後才能進行。請注意,另一種請求自我排除的方法是通過以下方式聯繫客服:",selfExclusionText5:"電子郵件:",duration:"時長:",dateInstructions:"如需手動輸入日期,請使用以下格式:",forever:"永久",save:"保存",noPeriodSelected:"請選擇自我排除時段",selectAPeriod:"選擇一個時段",temporarySelfExclusion:"您的自我排除期將持續到 {date} 23:59。",permanentSelfExclusion:"您的自我排除期將是永久性的。",SelfExclusionFor30Days:"30天",SelfExclusionFor6Months:"6個月",SelfExclusionFor1Year:"1年",SelfExclusionFor5Years:"5年",SelfExclusionPermanent:"永久",SelfExclusionUntilSelectedDate:"直到"},fr:{titleSelfExclusion:"Auto-Exclusion",selfExclusionText1:"Nous reconnaissons que le jeu peut être nuisible. Pour prévenir les problèmes liés au jeu, nous offrons à nos utilisateurs la possibilité de s’exclure de toutes les formes de paris sur notre site pour une durée de votre choix, à sélectionner dans le menu déroulant ci-dessous.",selfExclusionText2:"L'auto-exclusion prend effet dès qu'elle est définie pour la période choisie. Sélectionnez une durée ci-dessous, puis cliquez sur « Enregistrer ».",selfExclusionText3:"Pendant une période d'auto-exclusion, les retraits seront possibles. Veuillez consulter",termsAndConditions:"les Termes et Conditions",selfExclusionText4:"pour connaître le processus exact ; cependant, les dépôts et les paris seront restreints. En cas d'auto-exclusion permanente, la révocation n'est possible que sur demande écrite et ne peut avoir lieu avant six mois après la demande initiale. Veuillez noter qu'une autre façon de demander l'auto-exclusion est de contacter le service client comme suit :",selfExclusionText5:"E-mail :",duration:"Durée :",dateInstructions:"Pour saisir une date manuellement, utilisez le format suivant :",forever:"Pour toujours",save:"Enregistrer",noPeriodSelected:"Veuillez sélectionner une période d'auto-exclusion",selectAPeriod:"Sélectionnez une période",temporarySelfExclusion:"Votre période d'auto-exclusion durera jusqu'au {date} 23:59.",permanentSelfExclusion:"Votre période d'auto-exclusion sera permanente.",SelfExclusionFor30Days:"30 Jours",SelfExclusionFor6Months:"6 Mois",SelfExclusionFor1Year:"1 An",SelfExclusionFor5Years:"5 Ans",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Jusqu'à"},ro:{titleSelfExclusion:"Auto-Excludere",selfExclusionText1:"Recunoaștem că jocurile de noroc pot fi dăunătoare, așa că pentru a preveni problemele asociate acestora, oferim utilizatorilor posibilitatea de a se exclude de la toate formele de pariere de pe site-ul nostru pentru o perioadă la alegerea dvs. din meniul derulant de mai jos.",selfExclusionText2:"Auto-excluderea intră în vigoare din momentul setării pentru perioada aleasă. Selectați un interval de timp mai jos, apoi faceți clic pe „Salvează”.",selfExclusionText3:"Pe durata perioadei de auto-excludere, retragerile vor fi posibile. Vă rugăm să verificați",termsAndConditions:"Termenii și Condițiile",selfExclusionText4:"pentru a vedea procesul exact; cu toate acestea, depunerile sau pariurile vor fi restricționate. În cazul auto-excluderii permanente, revocarea este posibilă doar printr-o cerere scrisă și nu mai devreme de șase luni de la aplicarea inițială. Rețineți că o altă modalitate de a solicita auto-excluderea este să contactați Serviciul Clienți după cum urmează:",selfExclusionText5:"E-mail:",duration:"Durată:",dateInstructions:"Pentru a introduce manual o dată, utilizați următorul format:",forever:"Pentru totdeauna",save:"Salvează",noPeriodSelected:"Vă rugăm să selectați o perioadă de auto-excludere",selectAPeriod:"Selectați o perioadă",temporarySelfExclusion:"Perioada dvs. de auto-excludere va dura până la {date} 23:59.",permanentSelfExclusion:"Perioada dvs. de auto-excludere va fi permanentă.",SelfExclusionFor30Days:"30 de Zile",SelfExclusionFor6Months:"6 Luni",SelfExclusionFor1Year:"1 An",SelfExclusionFor5Years:"5 Ani",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Până la"},es:{titleSelfExclusion:"Autoexclusión",selfExclusionText1:"Reconocemos que el juego puede ser perjudicial, por lo que para prevenir problemas asociados con el juego, ofrecemos a nuestros usuarios la posibilidad de excluirse de todas las formas de apuestas en nuestro sitio por un período de tiempo a su elección en el menú desplegable a continuación.",selfExclusionText2:'La autoexclusión entra en vigor desde el momento en que se establece para el período elegido. Seleccione un período a continuación y luego haga clic en "Guardar".',selfExclusionText3:"Durante el período de autoexclusión, los retiros serán posibles. Por favor, consulte",termsAndConditions:"Términos y Condiciones",selfExclusionText4:"para ver el proceso exacto; sin embargo, los depósitos o apuestas estarán restringidos. En caso de autoexclusión permanente, la revocación solo será posible mediante solicitud escrita y no antes de seis meses después de la solicitud inicial. Tenga en cuenta que otra forma de solicitar la autoexclusión es contactar al Servicio al Cliente de la siguiente manera:",selfExclusionText5:"Correo electrónico:",duration:"Duración:",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",forever:"Para siempre",save:"Guardar",noPeriodSelected:"Por favor, seleccione un período de autoexclusión",selectAPeriod:"Seleccione un período",temporarySelfExclusion:"Su período de autoexclusión durará hasta el {date} a las 23:59.",permanentSelfExclusion:"Su período de autoexclusión será permanente.",SelfExclusionFor30Days:"30 Días",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Año",SelfExclusionFor5Years:"5 Años",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Hasta"},pt:{titleSelfExclusion:"Autoexclusão",selfExclusionText1:"Reconhecemos que o jogo pode ser prejudicial, por isso, para evitar problemas associados ao jogo, oferecemos aos nossos utilizadores a possibilidade de se excluírem de todas as formas de apostas no nosso site por um período à sua escolha no menu suspenso abaixo.",selfExclusionText2:'A autoexclusão entra em vigor a partir do momento em que é configurada para o período escolhido. Selecione um período abaixo e clique em "Guardar".',selfExclusionText3:"Durante o período de autoexclusão, os levantamentos serão possíveis. Por favor, consulte",termsAndConditions:"os Termos e Condições",selfExclusionText4:"para ver o processo exato; no entanto, os depósitos ou apostas serão restringidos. No caso de autoexclusão permanente, a revogação só será possível mediante pedido por escrito e deve ocorrer não antes de seis meses após a solicitação inicial. Note que outra forma de solicitar autoexclusão é contactar o Serviço de Atendimento ao Cliente da seguinte forma:",selfExclusionText5:"E-mail:",duration:"Duração:",dateInstructions:"Para introduzir manualmente a data, utilize o seguinte formato:",forever:"Para sempre",save:"Guardar",noPeriodSelected:"Por favor, selecione um período de autoexclusão",selectAPeriod:"Selecione um período",temporarySelfExclusion:"O seu período de autoexclusão durará até às {date} 23:59.",permanentSelfExclusion:"O seu período de autoexclusão será permanente.",SelfExclusionFor30Days:"30 Dias",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Ano",SelfExclusionFor5Years:"5 Anos",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Até"},hr:{titleSelfExclusion:"Samoisključenje",selfExclusionText1:"Prepoznajemo da kockanje može biti štetno, stoga kako bismo spriječili probleme povezane s kockanjem, nudimo korisnicima mogućnost isključenja iz svih oblika klađenja na našoj stranici na razdoblje po vašem izboru iz donjeg padajućeg izbornika.",selfExclusionText2:'Samoisključenje stupa na snagu od trenutka postavljanja za odabrano razdoblje. Odaberite vremenski okvir ispod, a zatim kliknite "Spremi".',selfExclusionText3:"Tijekom razdoblja samoisključenja, isplate će biti moguće. Molimo provjerite",termsAndConditions:"Uvjeti i odredbe",selfExclusionText4:"za točan proces; međutim, polaganje sredstava ili postavljanje oklada bit će ograničeno. U slučaju trajnog samoisključenja, povlačenje je moguće samo uz pisani zahtjev i ne ranije od šest mjeseci nakon početne prijave. Napominjemo da alternativni način za traženje samoisključenja uključuje kontaktiranje korisničke službe na sljedeći način:",selfExclusionText5:"E-mail:",duration:"Trajanje:",dateInstructions:"Za ručni unos datuma koristite sljedeći format:",forever:"Zauvijek",save:"Spremi",noPeriodSelected:"Molimo odaberite razdoblje samoisključenja",selectAPeriod:"Odaberite razdoblje",temporarySelfExclusion:"Vaše razdoblje samoisključenja trajat će do {date} 23:59.",permanentSelfExclusion:"Vaše razdoblje samoisključenja bit će trajno.",SelfExclusionFor30Days:"30 Dana",SelfExclusionFor6Months:"6 Mjeseci",SelfExclusionFor1Year:"1 Godina",SelfExclusionFor5Years:"5 Godina",SelfExclusionPermanent:"Trajno",SelfExclusionUntilSelectedDate:"Do"},"pt-br":{titleSelfExclusion:"Autoexclusão",selfExclusionText1:"Reconhecemos que o jogo pode ser prejudicial, então, para prevenir problemas relacionados ao jogo, oferecemos aos nossos usuários a possibilidade de se excluir de todas as formas de apostas em nosso site por um período de sua escolha no menu suspenso abaixo.",selfExclusionText2:'A autoexclusão entra em vigor a partir do momento em que é configurada para o período escolhido. Selecione um período abaixo e clique em "Salvar".',selfExclusionText3:"Durante o período de autoexclusão, os saques serão possíveis. Por favor, consulte",termsAndConditions:"os Termos e Condições",selfExclusionText4:"para ver o processo exato; no entanto, os depósitos ou apostas estarão restritos. No caso de autoexclusão permanente, a revogação só será possível mediante solicitação por escrito e deve ocorrer não antes de seis meses após o pedido inicial. Observe que outra forma de solicitar a autoexclusão é entrar em contato com o Serviço de Atendimento ao Cliente da seguinte forma:",selfExclusionText5:"E-mail:",duration:"Duração:",dateInstructions:"Para inserir manualmente a data, use o seguinte formato:",forever:"Para sempre",save:"Salvar",noPeriodSelected:"Por favor, selecione um período de autoexclusão",selectAPeriod:"Selecione um período",temporarySelfExclusion:"Seu período de autoexclusão durará até {date} às 23:59.",permanentSelfExclusion:"Seu período de autoexclusão será permanente.",SelfExclusionFor30Days:"30 Dias",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Ano",SelfExclusionFor5Years:"5 Anos",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Até"},"es-mx":{titleSelfExclusion:"Autoexclusión",selfExclusionText1:"Reconocemos que el juego puede ser perjudicial, por lo que para prevenir problemas asociados con el juego, ofrecemos a nuestros usuarios la posibilidad de excluirse de todas las formas de apuestas en nuestro sitio por un período de tiempo a su elección en el menú desplegable a continuación.",selfExclusionText2:'La autoexclusión entra en vigor desde el momento en que se establece para el período elegido. Seleccione un período a continuación y luego haga clic en "Guardar".',selfExclusionText3:"Durante el período de autoexclusión, los retiros serán posibles. Por favor, consulte",termsAndConditions:"Términos y Condiciones",selfExclusionText4:"para ver el proceso exacto; sin embargo, los depósitos o apuestas estarán restringidos. En caso de autoexclusión permanente, la revocación solo será posible mediante solicitud escrita y no antes de seis meses después de la solicitud inicial. Tenga en cuenta que otra forma de solicitar la autoexclusión es contactar al Servicio al Cliente de la siguiente manera:",selfExclusionText5:"Correo electrónico:",duration:"Duración:",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",forever:"Para siempre",save:"Guardar",noPeriodSelected:"Por favor, seleccione un período de autoexclusión",selectAPeriod:"Seleccione un período",temporarySelfExclusion:"Su período de autoexclusión durará hasta el {date} a las 23:59.",permanentSelfExclusion:"Su período de autoexclusión será permanente.",SelfExclusionFor30Days:"30 Días",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Año",SelfExclusionFor5Years:"5 Años",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Hasta"},tr:{titleSelfExclusion:"Kendi Kendini Hariç Tutma",selfExclusionText1:"Kumarın zararlı olabileceğini kabul ediyoruz, bu nedenle kumarla ilgili sorunları önlemek için kullanıcılarımıza, aşağıdaki açılır menüden seçebileceğiniz bir süre boyunca sitemizdeki tüm bahislerden kendilerini hariç tutma olanağı sunuyoruz.",selfExclusionText2:'Kendi kendini hariç tutma, seçilen süre boyunca ayarlandığı andan itibaren yürürlüğe girer. Aşağıdan bir zaman dilimi seçin ve ardından "Kaydet"e tıklayın.',selfExclusionText3:"Kendi kendini hariç tutma süresi boyunca para çekme işlemleri mümkün olacaktır. Lütfen kontrol edin",termsAndConditions:"Hüküm ve Koşullar",selfExclusionText4:"tam süreci görmek için; ancak para yatırma veya bahis yapma kısıtlanacaktır. Kalıcı hariç tutma durumunda, iptal yalnızca yazılı talep üzerine ve ilk başvurudan en az altı ay sonra mümkün olacaktır. Kendi kendini hariç tutma talebinde bulunmanın alternatif bir yolu olarak aşağıdaki şekilde Müşteri Hizmetleri ile iletişime geçebilirsiniz:",selfExclusionText5:"E-posta:",duration:"Süre:",dateInstructions:"Tarihi manuel olarak girmek için şu formatı kullanın:",forever:"Sonsuza kadar",save:"Kaydet",noPeriodSelected:"Lütfen bir kendi kendini hariç tutma süresi seçin",selectAPeriod:"Bir süre seçin",temporarySelfExclusion:"Kendi kendini hariç tutma süreniz {date} saat 23:59'a kadar sürecektir.",permanentSelfExclusion:"Kendi kendini hariç tutma süreniz kalıcı olacaktır.",SelfExclusionFor30Days:"30 Gün",SelfExclusionFor6Months:"6 Ay",SelfExclusionFor1Year:"1 Yıl",SelfExclusionFor5Years:"5 Yıl",SelfExclusionPermanent:"Kalıcı",SelfExclusionUntilSelectedDate:"Tarihe kadar"}};function du(s){u.append_styles(s,"svelte-qpnd27",'.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:20px;height:100vh;max-width:100%}.SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionDescription.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper{width:50%;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, 20px);cursor:pointer}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{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}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{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, 20px) var(--emw--border-radius-medium, 20px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown 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}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:300px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-gray-150, #828282) 80%, black 20%), var(--emw--color-gray-150, #828282), color-mix(in srgb, var(--emw--color-gray-150, #828282) 80%, white 30%));border:2px solid var(--emw--color-black, #000000);border-radius:50px;padding:30px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF)}.SelfExclusionActionButtons .SelfExclusionSave.active{cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924)}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}')}function Xs(s,t,e){const o=s.slice();return o[43]=t[e],o}function hu(s){let t,e,o,i,r,n,a,l,c,d,h=s[14]("titleSelfExclusion")+"",p,m,v;return{c(){t=u.element("div"),e=u.svg_element("svg"),o=u.svg_element("defs"),i=u.svg_element("style"),r=u.text(".aaa{fill:var(--emw--color-primary, #22B04E);}"),n=u.svg_element("g"),a=u.svg_element("g"),l=u.svg_element("path"),c=u.space(),d=u.element("h2"),p=u.text(h),u.attr(l,"class","aaa"),u.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"),u.attr(l,"transform","translate(15 15) rotate(180)"),u.attr(a,"transform","translate(20 158)"),u.attr(n,"transform","translate(-20 -158)"),u.attr(e,"xmlns","http://www.w3.org/2000/svg"),u.attr(e,"width","15"),u.attr(e,"height","15"),u.attr(e,"viewBox","0 0 15 15"),u.attr(d,"class","PlayerSelfExclusionTitleMobile"),u.attr(t,"class","MenuReturnButton")},m(P,N){u.insert(P,t,N),u.append(t,e),u.append(e,o),u.append(o,i),u.append(i,r),u.append(e,n),u.append(n,a),u.append(a,l),u.append(t,c),u.append(t,d),u.append(d,p),m||(v=u.listen(t,"click",s[25]),m=!0)},p(P,N){N[0]&16384&&h!==(h=P[14]("titleSelfExclusion")+"")&&u.set_data(p,h)},d(P){P&&u.detach(t),m=!1,v()}}}function Zs(s){let t,e=s[14](`${s[43].key}`)+"",o,i,r;function n(){return s[27](s[43])}return{c(){t=u.element("div"),o=u.text(e)},m(a,l){u.insert(a,t,l),u.append(t,o),i||(r=u.listen(t,"click",n),i=!0)},p(a,l){s=a,l[0]&16416&&e!==(e=s[14](`${s[43].key}`)+"")&&u.set_data(o,e)},d(a){a&&u.detach(t),i=!1,r()}}}function Qs(s){let t,e,o=s[14]("duration")+"",i,r,n,a=s[14]("dateInstructions")+"",l,c,d,h,p;return{c(){t=u.element("div"),e=u.element("label"),i=u.text(o),r=u.space(),n=u.element("span"),l=u.text(a),c=u.space(),d=u.element("strong"),d.innerHTML="MM/DD/YYYY<strong></strong>",h=u.space(),p=u.element("vaadin-date-picker"),u.attr(e,"for","SelfExclusionDate"),u.attr(n,"class","SelfExclusionDateInstructions"),u.set_custom_element_data(p,"min",s[6]),u.set_custom_element_data(p,"max",s[7]),u.set_custom_element_data(p,"value",s[6]),u.attr(t,"class","SelfExclusionDateWrapper "+(s[15]?"SelfExclusionDateWrapperMobile":""))},m(m,v){u.insert(m,t,v),u.append(t,e),u.append(e,i),u.append(t,r),u.append(t,n),u.append(n,l),u.append(n,c),u.append(n,d),u.append(t,h),u.append(t,p),s[28](p)},p(m,v){v[0]&16384&&o!==(o=m[14]("duration")+"")&&u.set_data(i,o),v[0]&16384&&a!==(a=m[14]("dateInstructions")+"")&&u.set_data(l,a),v[0]&64&&u.set_custom_element_data(p,"min",m[6]),v[0]&128&&u.set_custom_element_data(p,"max",m[7]),v[0]&64&&u.set_custom_element_data(p,"value",m[6])},d(m){m&&u.detach(t),s[28](null)}}}function pu(s){let t,e,o=s[14]("temporarySelfExclusion",{values:{date:s[8]}})+"",i;return{c(){t=u.element("p"),e=u.element("strong"),i=u.text(o),u.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){u.insert(r,t,n),u.append(t,e),u.append(e,i)},p(r,n){n[0]&16640&&o!==(o=r[14]("temporarySelfExclusion",{values:{date:r[8]}})+"")&&u.set_data(i,o)},d(r){r&&u.detach(t)}}}function mu(s){let t,e,o=s[14]("noPeriodSelected")+"",i;return{c(){t=u.element("p"),e=u.element("strong"),i=u.text(o),u.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){u.insert(r,t,n),u.append(t,e),u.append(e,i)},p(r,n){n[0]&16384&&o!==(o=r[14]("noPeriodSelected")+"")&&u.set_data(i,o)},d(r){r&&u.detach(t)}}}function fu(s){let t,e,o=s[14]("permanentSelfExclusion")+"",i;return{c(){t=u.element("p"),e=u.element("strong"),i=u.text(o),u.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){u.insert(r,t,n),u.append(t,e),u.append(e,i)},p(r,n){n[0]&16384&&o!==(o=r[14]("permanentSelfExclusion")+"")&&u.set_data(i,o)},d(r){r&&u.detach(t)}}}function _u(s){let t,e,o,i,r=s[14]("titleSelfExclusion")+"",n,a,l,c,d=s[14]("selfExclusionText1",{values:{operatorname:s[0]}})+"",h,p,m,v=s[14]("selfExclusionText2")+"",P,N,O,I,H=s[14]("selfExclusionText3",{values:{operatorname:s[0]}})+"",Q,G,V,ne=s[14]("termsAndConditions")+"",ae,oe,L,k=s[14]("selfExclusionText4",{values:{operatorname:s[0]}})+"",le,me,x,g=s[14]("selfExclusionText5")+"",f,b,_,S,w,M,D,z,B,j=s[14](`${s[9]}`)+"",se,ie,y,$,A,J,ee,be,Bt,je,ts,ut,fe,dt=s[14]("save")+"",Ht,ht,pt,jt,os,xe=s[15]&&hu(s),Me=u.ensure_array_like(s[5]),K=[];for(let E=0;E<Me.length;E+=1)K[E]=Zs(Xs(s,Me,E));let X=s[11]&&Qs(s);function ss(E,F){return E[10]?fu:E[12]?pu:mu}let mt=ss(s),ce=mt(s);return{c(){t=u.element("div"),e=u.element("form"),xe&&xe.c(),o=u.space(),i=u.element("h2"),n=u.text(r),a=u.space(),l=u.element("div"),c=u.element("p"),h=u.text(d),p=u.space(),m=u.element("p"),P=u.text(v),N=u.space(),O=u.element("p"),I=u.element("span"),Q=u.text(H),G=u.space(),V=u.element("a"),ae=u.text(ne),oe=u.space(),L=u.element("span"),le=u.text(k),me=u.space(),x=u.element("p"),f=u.text(g),b=u.space(),_=u.element("a"),S=u.text(s[1]),M=u.space(),D=u.element("div"),z=u.element("div"),B=u.element("p"),se=u.text(j),ie=u.space(),y=u.svg_element("svg"),$=u.svg_element("g"),A=u.svg_element("path"),J=u.space(),ee=u.element("div");for(let E=0;E<K.length;E+=1)K[E].c();be=u.space(),X&&X.c(),Bt=u.space(),je=u.element("div"),ce.c(),ts=u.space(),ut=u.element("div"),fe=u.element("button"),Ht=u.text(dt),u.attr(i,"class","PlayerSelfExclusionTitle "+(s[15]?"PlayerSelfExclusionTitleNone":"")),u.attr(c,"class","SelfExclusionDescriptionText"),u.attr(m,"class","SelfExclusionDescriptionText"),u.attr(V,"href",s[2]),u.attr(O,"class","SelfExclusionDescriptionText"),u.attr(_,"href",w="mailto:"+s[1]),u.attr(x,"class","SelfExclusionDescriptionText"),u.attr(l,"class","SelfExclusionDescription "+(s[15]?"SelfExclusionDescriptionMobile":"")),u.attr(A,"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"),u.attr(A,"stroke-linecap","round"),u.attr(y,"xmlns","http://www.w3.org/2000/svg"),u.attr(y,"xmlns:xlink","http://www.w3.org/1999/xlink"),u.attr(y,"version","1.1"),u.attr(y,"viewBox","0 0 100 100"),u.attr(y,"xml:space","preserve"),u.attr(y,"class","SelfExclusionConfigIcon"),u.toggle_class(y,"active",s[13]),u.attr(z,"class","SelfExclusionConfigLabel"),u.attr(ee,"class","SelfExclusionDropDown"),u.toggle_class(ee,"active",s[13]),u.attr(D,"class","SelfExclusionConfigWrapper "+(s[15]?"SelfExclusionConfigWrapperMobile":"")),u.toggle_class(D,"active",s[13]),u.attr(je,"class","SelfExclusionDescription "+(s[15]?"SelfExclusionDescriptionMobile":"")),u.attr(fe,"class",ht="SelfExclusionSave "+(s[12]?"active":"")),fe.disabled=pt=!s[12],u.attr(ut,"class","SelfExclusionActionButtons "+(s[15]?"SelfExclusionActionButtonsMobile":"")),u.attr(e,"class","SelfExclusionWrapper "+(s[15]?"SelfExclusionWrapperMobile":""))},m(E,F){u.insert(E,t,F),u.append(t,e),xe&&xe.m(e,null),u.append(e,o),u.append(e,i),u.append(i,n),u.append(e,a),u.append(e,l),u.append(l,c),u.append(c,h),u.append(l,p),u.append(l,m),u.append(m,P),u.append(l,N),u.append(l,O),u.append(O,I),u.append(I,Q),u.append(O,G),u.append(O,V),u.append(V,ae),u.append(O,oe),u.append(O,L),u.append(L,le),u.append(l,me),u.append(l,x),u.append(x,f),u.append(x,b),u.append(x,_),u.append(_,S),u.append(e,M),u.append(e,D),u.append(D,z),u.append(z,B),u.append(B,se),u.append(z,ie),u.append(z,y),u.append(y,$),u.append($,A),u.append(D,J),u.append(D,ee);for(let W=0;W<K.length;W+=1)K[W]&&K[W].m(ee,null);u.append(e,be),X&&X.m(e,null),u.append(e,Bt),u.append(e,je),ce.m(je,null),u.append(e,ts),u.append(e,ut),u.append(ut,fe),u.append(fe,Ht),s[30](t),jt||(os=[u.listen(z,"click",s[26]),u.listen(fe,"click",s[29])],jt=!0)},p(E,F){if(E[15]&&xe.p(E,F),F[0]&16384&&r!==(r=E[14]("titleSelfExclusion")+"")&&u.set_data(n,r),F[0]&16385&&d!==(d=E[14]("selfExclusionText1",{values:{operatorname:E[0]}})+"")&&u.set_data(h,d),F[0]&16384&&v!==(v=E[14]("selfExclusionText2")+"")&&u.set_data(P,v),F[0]&16385&&H!==(H=E[14]("selfExclusionText3",{values:{operatorname:E[0]}})+"")&&u.set_data(Q,H),F[0]&16384&&ne!==(ne=E[14]("termsAndConditions")+"")&&u.set_data(ae,ne),F[0]&4&&u.attr(V,"href",E[2]),F[0]&16385&&k!==(k=E[14]("selfExclusionText4",{values:{operatorname:E[0]}})+"")&&u.set_data(le,k),F[0]&16384&&g!==(g=E[14]("selfExclusionText5")+"")&&u.set_data(f,g),F[0]&2&&u.set_data(S,E[1]),F[0]&2&&w!==(w="mailto:"+E[1])&&u.attr(_,"href",w),F[0]&16896&&j!==(j=E[14](`${E[9]}`)+"")&&u.set_data(se,j),F[0]&8192&&u.toggle_class(y,"active",E[13]),F[0]&147488){Me=u.ensure_array_like(E[5]);let W;for(W=0;W<Me.length;W+=1){const is=Xs(E,Me,W);K[W]?K[W].p(is,F):(K[W]=Zs(is),K[W].c(),K[W].m(ee,null))}for(;W<K.length;W+=1)K[W].d(1);K.length=Me.length}F[0]&8192&&u.toggle_class(ee,"active",E[13]),F[0]&8192&&u.toggle_class(D,"active",E[13]),E[11]?X?X.p(E,F):(X=Qs(E),X.c(),X.m(e,Bt)):X&&(X.d(1),X=null),mt===(mt=ss(E))&&ce?ce.p(E,F):(ce.d(1),ce=mt(E),ce&&(ce.c(),ce.m(je,null))),F[0]&16384&&dt!==(dt=E[14]("save")+"")&&u.set_data(Ht,dt),F[0]&4096&&ht!==(ht="SelfExclusionSave "+(E[12]?"active":""))&&u.attr(fe,"class",ht),F[0]&4096&&pt!==(pt=!E[12])&&(fe.disabled=pt)},i:u.noop,o:u.noop,d(E){E&&u.detach(t),xe&&xe.d(),u.destroy_each(K,E),X&&X.d(),ce.d(),s[30](null),jt=!1,u.run_all(os)}}}function gu(s,t,e){let o;u.component_subscribe(s,u.$format,y=>e(14,o=y));let{endpoint:i="",lang:r="en",operator:n="Everymatrix",supportemail:a="",termsconditionslink:l="",clientstyling:c="",clientstylingurl:d="",translationurl:h=""}=t,p,m,v=[],P=window.navigator.userAgent,N,O,I="",H="",Q="selectAPeriod",G=u.getDevice(P)!=="PC",V=!1,ne=!1,ae=!1,oe=!1;const L=()=>{fetch(h).then($=>$.json()).then($=>{Object.keys($).forEach(A=>{Gs(A,$[A])})}).catch($=>{console.log($)})};Object.keys(Js).forEach(y=>{Gs(y,Js[y])});const k=()=>{let y=new URL(`${i}/v1/player/selfExclusionSettings`);fetch(y,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(A=>le(A)).then(A=>{e(5,v=A.periods)}).catch(A=>{console.log(A)})},le=y=>{if(y.status>=300)throw new Error("There was an error fetching the config");return y.json()},me=()=>{e(13,oe=!oe)},x=y=>{switch(H=y.text,e(9,Q=y.key),e(12,ae=!0),e(13,oe=!1),e(10,V=!1),e(11,ne=!1),H){case"Until":e(11,ne=!0),e(6,N=St().add(6,"M").format("YYYY-MM-DD")),e(7,O=St().add(5,"y").format("YYYY-MM-DD")),e(8,I=N);break;case"Permanent":e(10,V=!V);break;default:const[$,A]=H.split(" "),J=A.includes("Day")?"days":A.includes("Month")?"months":A.includes("Year")?"years":null;if(!J)return;e(8,I=St().add(Number($),J).format("YYYY-MM-DD"));break}},g=y=>{y.preventDefault(),window.postMessage({type:"SetSelfExclusion",selfExclusionPeriod:Q,selfExclusionExpiryDate:I},window.location.href)},f=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:G},window.location.href)},b=y=>{e(8,I=y.target.value)},_=()=>{m.addEventListener("change",b,!1)},S=()=>{let y=document.createElement("style");y.innerHTML=c,p.appendChild(y)},w=()=>{let y=new URL(d),$=document.createElement("style");fetch(y.href).then(A=>A.text()).then(A=>{$.innerHTML=A,setTimeout(()=>{p.appendChild($)},1)})};u.onMount(()=>()=>{m.removeEventListener("change",b)});const M=()=>{uu(r)},D=()=>f(),z=()=>me(),B=y=>x(y);function j(y){u.binding_callbacks[y?"unshift":"push"](()=>{m=y,e(4,m)})}const se=y=>g(y);function ie(y){u.binding_callbacks[y?"unshift":"push"](()=>{p=y,e(3,p)})}return s.$$set=y=>{"endpoint"in y&&e(20,i=y.endpoint),"lang"in y&&e(21,r=y.lang),"operator"in y&&e(0,n=y.operator),"supportemail"in y&&e(1,a=y.supportemail),"termsconditionslink"in y&&e(2,l=y.termsconditionslink),"clientstyling"in y&&e(22,c=y.clientstyling),"clientstylingurl"in y&&e(23,d=y.clientstylingurl),"translationurl"in y&&e(24,h=y.translationurl)},s.$$.update=()=>{s.$$.dirty[0]&16&&m&&_(),s.$$.dirty[0]&1048576&&i&&k(),s.$$.dirty[0]&2097152&&r&&M(),s.$$.dirty[0]&8388616&&d&&p&&w(),s.$$.dirty[0]&4194312&&c&&p&&S(),s.$$.dirty[0]&16777216&&h&&L()},[n,a,l,p,m,v,N,O,I,Q,V,ne,ae,oe,o,G,me,x,g,f,i,r,c,d,h,D,z,B,j,se,ie]}class xr extends u.SvelteComponent{constructor(t){super(),u.init(this,t,gu,_u,u.safe_not_equal,{endpoint:20,lang:21,operator:0,supportemail:1,termsconditionslink:2,clientstyling:22,clientstylingurl:23,translationurl:24},du,[-1,-1])}get endpoint(){return this.$$.ctx[20]}set endpoint(t){this.$$set({endpoint:t}),u.flush()}get lang(){return this.$$.ctx[21]}set lang(t){this.$$set({lang:t}),u.flush()}get operator(){return this.$$.ctx[0]}set operator(t){this.$$set({operator:t}),u.flush()}get supportemail(){return this.$$.ctx[1]}set supportemail(t){this.$$set({supportemail:t}),u.flush()}get termsconditionslink(){return this.$$.ctx[2]}set termsconditionslink(t){this.$$set({termsconditionslink:t}),u.flush()}get clientstyling(){return this.$$.ctx[22]}set clientstyling(t){this.$$set({clientstyling:t}),u.flush()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),u.flush()}get translationurl(){return this.$$.ctx[24]}set translationurl(t){this.$$set({translationurl:t}),u.flush()}}u.create_custom_element(xr,{endpoint:{},lang:{},operator:{},supportemail:{},termsconditionslink:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);const yu=Object.freeze(Object.defineProperty({__proto__:null,default:xr},Symbol.toStringTag,{value:"Module"}));exports.PlayerAccountSelfExclusionNd_ce=yu;exports.dayjs=St;