@everymatrix/player-account-self-exclusion 1.74.2 → 1.74.4

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.
@@ -1,4 +1,4 @@
1
- "use strict";var Sr=Object.defineProperty,Ar=Object.defineProperties;var Cr=Object.getOwnPropertyDescriptors;var Ji=Object.getOwnPropertySymbols;var Dr=Object.prototype.hasOwnProperty,kr=Object.prototype.propertyIsEnumerable;var Xi=(o,t,e)=>t in o?Sr(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,mt=(o,t)=>{for(var e in t||(t={}))Dr.call(t,e)&&Xi(o,e,t[e]);if(Ji)for(var e of Ji(t))kr.call(t,e)&&Xi(o,e,t[e]);return o},_t=(o,t)=>Ar(o,Cr(t));var qe=(o,t,e)=>new Promise((i,s)=>{var r=l=>{try{a(e.next(l))}catch(u){s(u)}},n=l=>{try{a(e.throw(l))}catch(u){s(u)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(r,n);a((e=e.apply(o,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./PlayerAccountGeneralConfirmationModal-CTkrsADp.cjs");require("../stencil/ui-skeleton-BPqjm-YB.cjs");var Jo={exports:{}};(function(o,t){(function(e,i){o.exports=i()})(c.commonjsGlobal,function(){var e=1e3,i=6e4,s=36e5,r="millisecond",n="second",a="minute",l="hour",u="day",d="week",h="month",p="quarter",f="year",y="date",m="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,D=/\[([^\]]+)]|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,C={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(E){var v=["th","st","nd","rd"],_=E%100;return"["+E+(v[(_-20)%10]||v[_]||v[0])+"]"}},I=function(E,v,_){var x=String(E);return!x||x.length>=v?E:""+Array(v+1-x.length).join(_)+E},O={s:I,z:function(E){var v=-E.utcOffset(),_=Math.abs(v),x=Math.floor(_/60),g=_%60;return(v<=0?"+":"-")+I(x,2,"0")+":"+I(g,2,"0")},m:function E(v,_){if(v.date()<_.date())return-E(_,v);var x=12*(_.year()-v.year())+(_.month()-v.month()),g=v.clone().add(x,h),A=_-g<0,S=v.clone().add(x+(A?-1:1),h);return+(-(x+(_-g)/(A?g-S:S-g))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:h,y:f,w:d,d:u,D:y,h:l,m:a,s:n,ms:r,Q:p}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},N="en",U={};U[N]=C;var V="$isDayjsObject",W=function(E){return E instanceof H||!(!E||!E[V])},Y=function E(v,_,x){var g;if(!v)return N;if(typeof v=="string"){var A=v.toLowerCase();U[A]&&(g=A),_&&(U[A]=_,g=A);var S=v.split("-");if(!g&&S.length>1)return E(S[0])}else{var M=v.name;U[M]=v,g=M}return!x&&g&&(N=g),g||!x&&N},T=function(E,v){if(W(E))return E.clone();var _=typeof v=="object"?v:{};return _.date=E,_.args=arguments,new H(_)},k=O;k.l=Y,k.i=W,k.w=function(E,v){return T(E,{locale:v.$L,utc:v.$u,x:v.$x,$offset:v.$offset})};var H=function(){function E(_){this.$L=Y(_.locale,null,!0),this.parse(_),this.$x=this.$x||_.x||{},this[V]=!0}var v=E.prototype;return v.parse=function(_){this.$d=function(x){var g=x.date,A=x.utc;if(g===null)return new Date(NaN);if(k.u(g))return new Date;if(g instanceof Date)return new Date(g);if(typeof g=="string"&&!/Z$/i.test(g)){var S=g.match(b);if(S){var M=S[2]-1||0,L=(S[7]||"0").substring(0,3);return A?new Date(Date.UTC(S[1],M,S[3]||1,S[4]||0,S[5]||0,S[6]||0,L)):new Date(S[1],M,S[3]||1,S[4]||0,S[5]||0,S[6]||0,L)}}return new Date(g)}(_),this.init()},v.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},v.$utils=function(){return k},v.isValid=function(){return this.$d.toString()!==m},v.isSame=function(_,x){var g=T(_);return this.startOf(x)<=g&&g<=this.endOf(x)},v.isAfter=function(_,x){return T(_)<this.startOf(x)},v.isBefore=function(_,x){return this.endOf(x)<T(_)},v.$g=function(_,x,g){return k.u(_)?this[x]:this.set(g,_)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(_,x){var g=this,A=!!k.u(x)||x,S=k.p(_),M=function(K,F){var R=k.w(g.$u?Date.UTC(g.$y,F,K):new Date(g.$y,F,K),g);return A?R:R.endOf(u)},L=function(K,F){return k.w(g.toDate()[K].apply(g.toDate("s"),(A?[0,0,0,0]:[23,59,59,999]).slice(F)),g)},B=this.$W,j=this.$M,J=this.$D,le="set"+(this.$u?"UTC":"");switch(S){case f:return A?M(1,0):M(31,11);case h:return A?M(1,j):M(0,j+1);case d:var re=this.$locale().weekStart||0,X=(B<re?B+7:B)-re;return M(A?J-X:J+(6-X),j);case u:case y:return L(le+"Hours",0);case l:return L(le+"Minutes",1);case a:return L(le+"Seconds",2);case n:return L(le+"Milliseconds",3);default:return this.clone()}},v.endOf=function(_){return this.startOf(_,!1)},v.$set=function(_,x){var g,A=k.p(_),S="set"+(this.$u?"UTC":""),M=(g={},g[u]=S+"Date",g[y]=S+"Date",g[h]=S+"Month",g[f]=S+"FullYear",g[l]=S+"Hours",g[a]=S+"Minutes",g[n]=S+"Seconds",g[r]=S+"Milliseconds",g)[A],L=A===u?this.$D+(x-this.$W):x;if(A===h||A===f){var B=this.clone().set(y,1);B.$d[M](L),B.init(),this.$d=B.set(y,Math.min(this.$D,B.daysInMonth())).$d}else M&&this.$d[M](L);return this.init(),this},v.set=function(_,x){return this.clone().$set(_,x)},v.get=function(_){return this[k.p(_)]()},v.add=function(_,x){var g,A=this;_=Number(_);var S=k.p(x),M=function(j){var J=T(A);return k.w(J.date(J.date()+Math.round(j*_)),A)};if(S===h)return this.set(h,this.$M+_);if(S===f)return this.set(f,this.$y+_);if(S===u)return M(1);if(S===d)return M(7);var L=(g={},g[a]=i,g[l]=s,g[n]=e,g)[S]||1,B=this.$d.getTime()+_*L;return k.w(B,this)},v.subtract=function(_,x){return this.add(-1*_,x)},v.format=function(_){var x=this,g=this.$locale();if(!this.isValid())return g.invalidDate||m;var A=_||"YYYY-MM-DDTHH:mm:ssZ",S=k.z(this),M=this.$H,L=this.$m,B=this.$M,j=g.weekdays,J=g.months,le=g.meridiem,re=function(F,R,ce,ne){return F&&(F[R]||F(x,A))||ce[R].slice(0,ne)},X=function(F){return k.s(M%12||12,F,"0")},K=le||function(F,R,ce){var ne=F<12?"AM":"PM";return ce?ne.toLowerCase():ne};return A.replace(D,function(F,R){return R||function(ce){switch(ce){case"YY":return String(x.$y).slice(-2);case"YYYY":return k.s(x.$y,4,"0");case"M":return B+1;case"MM":return k.s(B+1,2,"0");case"MMM":return re(g.monthsShort,B,J,3);case"MMMM":return re(J,B);case"D":return x.$D;case"DD":return k.s(x.$D,2,"0");case"d":return String(x.$W);case"dd":return re(g.weekdaysMin,x.$W,j,2);case"ddd":return re(g.weekdaysShort,x.$W,j,3);case"dddd":return j[x.$W];case"H":return String(M);case"HH":return k.s(M,2,"0");case"h":return X(1);case"hh":return X(2);case"a":return K(M,L,!0);case"A":return K(M,L,!1);case"m":return String(L);case"mm":return k.s(L,2,"0");case"s":return String(x.$s);case"ss":return k.s(x.$s,2,"0");case"SSS":return k.s(x.$ms,3,"0");case"Z":return S}return null}(F)||S.replace(":","")})},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(_,x,g){var A,S=this,M=k.p(x),L=T(_),B=(L.utcOffset()-this.utcOffset())*i,j=this-L,J=function(){return k.m(S,L)};switch(M){case f:A=J()/12;break;case h:A=J();break;case p:A=J()/3;break;case d:A=(j-B)/6048e5;break;case u:A=(j-B)/864e5;break;case l:A=j/s;break;case a:A=j/i;break;case n:A=j/e;break;default:A=j}return g?A:k.a(A)},v.daysInMonth=function(){return this.endOf(h).$D},v.$locale=function(){return U[this.$L]},v.locale=function(_,x){if(!_)return this.$L;var g=this.clone(),A=Y(_,x,!0);return A&&(g.$L=A),g},v.clone=function(){return k.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},E}(),ee=H.prototype;return T.prototype=ee,[["$ms",r],["$s",n],["$m",a],["$H",l],["$W",u],["$M",h],["$y",f],["$D",y]].forEach(function(E){ee[E[1]]=function(v){return this.$g(v,E[0],E[1])}}),T.extend=function(E,v){return E.$i||(E(v,H,T),E.$i=!0),T},T.locale=Y,T.isDayjs=W,T.unix=function(E){return T(1e3*E)},T.en=U[N],T.Ls=U,T.p={},T})})(Jo);var Pr=Jo.exports;const ge=c.getDefaultExportFromCjs(Pr);var Xo={exports:{}};(function(o,t){(function(e,i){o.exports=i()})(c.commonjsGlobal,function(){var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},i=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,s=/\d\d/,r=/\d\d?/,n=/\d*[^-_:/,()\s\d]+/,a={},l=function(m){return(m=+m)+(m>68?1900:2e3)},u=function(m){return function(b){this[m]=+b}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(m){(this.zone||(this.zone={})).offset=function(b){if(!b||b==="Z")return 0;var D=b.match(/([+-]|\d\d)/g),C=60*D[1]+(+D[2]||0);return C===0?0:D[0]==="+"?-C:C}(m)}],h=function(m){var b=a[m];return b&&(b.indexOf?b:b.s.concat(b.f))},p=function(m,b){var D,C=a.meridiem;if(C){for(var I=1;I<=24;I+=1)if(m.indexOf(C(I,0,b))>-1){D=I>12;break}}else D=m===(b?"pm":"PM");return D},f={A:[n,function(m){this.afternoon=p(m,!1)}],a:[n,function(m){this.afternoon=p(m,!0)}],S:[/\d/,function(m){this.milliseconds=100*+m}],SS:[s,function(m){this.milliseconds=10*+m}],SSS:[/\d{3}/,function(m){this.milliseconds=+m}],s:[r,u("seconds")],ss:[r,u("seconds")],m:[r,u("minutes")],mm:[r,u("minutes")],H:[r,u("hours")],h:[r,u("hours")],HH:[r,u("hours")],hh:[r,u("hours")],D:[r,u("day")],DD:[s,u("day")],Do:[n,function(m){var b=a.ordinal,D=m.match(/\d+/);if(this.day=D[0],b)for(var C=1;C<=31;C+=1)b(C).replace(/\[|\]/g,"")===m&&(this.day=C)}],M:[r,u("month")],MM:[s,u("month")],MMM:[n,function(m){var b=h("months"),D=(h("monthsShort")||b.map(function(C){return C.slice(0,3)})).indexOf(m)+1;if(D<1)throw new Error;this.month=D%12||D}],MMMM:[n,function(m){var b=h("months").indexOf(m)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,u("year")],YY:[s,function(m){this.year=l(m)}],YYYY:[/\d{4}/,u("year")],Z:d,ZZ:d};function y(m){var b,D;b=m,D=a&&a.formats;for(var C=(m=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(Y,T,k){var H=k&&k.toUpperCase();return T||D[k]||e[k]||D[H].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ee,E,v){return E||v.slice(1)})})).match(i),I=C.length,O=0;O<I;O+=1){var N=C[O],U=f[N],V=U&&U[0],W=U&&U[1];C[O]=W?{regex:V,parser:W}:N.replace(/^\[|\]$/g,"")}return function(Y){for(var T={},k=0,H=0;k<I;k+=1){var ee=C[k];if(typeof ee=="string")H+=ee.length;else{var E=ee.regex,v=ee.parser,_=Y.slice(H),x=E.exec(_)[0];v.call(T,x),Y=Y.replace(x,"")}}return function(g){var A=g.afternoon;if(A!==void 0){var S=g.hours;A?S<12&&(g.hours+=12):S===12&&(g.hours=0),delete g.afternoon}}(T),T}}return function(m,b,D){D.p.customParseFormat=!0,m&&m.parseTwoDigitYear&&(l=m.parseTwoDigitYear);var C=b.prototype,I=C.parse;C.parse=function(O){var N=O.date,U=O.utc,V=O.args;this.$u=U;var W=V[1];if(typeof W=="string"){var Y=V[2]===!0,T=V[3]===!0,k=Y||T,H=V[2];T&&(H=V[2]),a=this.$locale(),!Y&&H&&(a=D.Ls[H]),this.$d=function(_,x,g){try{if(["x","X"].indexOf(x)>-1)return new Date((x==="X"?1e3:1)*_);var A=y(x)(_),S=A.year,M=A.month,L=A.day,B=A.hours,j=A.minutes,J=A.seconds,le=A.milliseconds,re=A.zone,X=new Date,K=L||(S||M?1:X.getDate()),F=S||X.getFullYear(),R=0;S&&!M||(R=M>0?M-1:X.getMonth());var ce=B||0,ne=j||0,ae=J||0,de=le||0;return re?new Date(Date.UTC(F,R,K,ce,ne,ae,de+60*re.offset*1e3)):g?new Date(Date.UTC(F,R,K,ce,ne,ae,de)):new Date(F,R,K,ce,ne,ae,de)}catch(P){return new Date("")}}(N,W,U),this.init(),H&&H!==!0&&(this.$L=this.locale(H).$L),k&&N!=this.format(W)&&(this.$d=new Date("")),a={}}else if(W instanceof Array)for(var ee=W.length,E=1;E<=ee;E+=1){V[1]=W[E-1];var v=D.apply(this,V);if(v.isValid()){this.$d=v.$d,this.$L=v.$L,this.init();break}E===ee&&(this.$d=new Date(""))}else I.call(this,O)}}})})(Xo);var Tr=Xo.exports;const Mr=c.getDefaultExportFromCjs(Tr);function Zi(o,t){c.addMessages(o,t)}function Or(o){c.$locale.set(o)}const Qi={en:{titleSelfExclusion:"Self-Exclusion",selfExclusionText:"<p>While self-excluded, access to your account will be entirely restricted.</br>Self-exclusion can only be lifted after the period that you selected has passed by communicating with Customer Support, which will be subject to review and a cooling-off period. </br> Alternatively, you can choose to take a 'time out' (a break of up to 6 weeks) from our services via the '<a href='{baseurl}/{lang}/account/timeout'>Time out</a>' option. </br> If you would prefer just to close your account, '<a href='{baseurl}/{lang}/account/account-closure'>Account Closure</a>' you can choose to do so via the option.</br> We'd recommend you also read our '<a href='{baseurl}/{lang}/page/responsible-gambling'>Responsible Gambling</a>' help pages for further advice should you need it.",selfExclusionEmailText:"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",SelfExclusionFor2Months:"2 Months",SelfExclusionFor3Months:"3 Months",SelfExclusionFor6Months:"6 Months",SelfExclusionFor7Months:"7 Months",SelfExclusionFor8Months:"8 Months",SelfExclusionFor9Months:"9 Months",SelfExclusionFor10Months:"10 Months",SelfExclusionFor11Months:"11 Months",SelfExclusionFor1Year:"1 Year",SelfExclusionFor2Years:"2 Years",SelfExclusionFor5Years:"5 Years",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Until",confirmationModalTitle:"Confirmation",selfExclusionSuccess:"Self exclusion active",confirmationModalTextPeriodSelfExclusion:"Are you sure you want to self-exclude for {period}?",confirmationModalTextUntilSelfExclusion:"Are you sure you want to self-exclude until {date}?",errorSelfExclusionCall:"There was a problem while making the self exclusion request.",generalError:"There was an error while fetching the self exclusion.",InvalidSession:"The session is exipired."},"en-us":{titleSelfExclusion:"Self-Exclusion",selfExclusionText:"<p>While self-excluded, access to your account will be entirely restricted.</br>Self-exclusion can only be lifted after the period that you selected has passed by communicating with Customer Support, which will be subject to review and a cooling-off period. </br> Alternatively, you can choose to take a 'time out' (a break of up to 6 weeks) from our services via the '<a href='{baseurl}/{lang}/account/timeout'>Time out</a>' option. </br> If you would prefer just to close your account, '<a href='{baseurl}/{lang}/account/account-closure'>Account Closure</a>' you can choose to do so via the option.</br> We'd recommend you also read our '<a href='{baseurl}/{lang}/page/responsible-gambling'>Responsible Gambling</a>' help pages for further advice should you need it.",selfExclusionEmailText:"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",SelfExclusionFor2Months:"2 Months",SelfExclusionFor3Months:"3 Months",SelfExclusionFor6Months:"6 Months",SelfExclusionFor7Months:"7 Months",SelfExclusionFor8Months:"8 Months",SelfExclusionFor9Months:"9 Months",SelfExclusionFor10Months:"10 Months",SelfExclusionFor11Months:"11 Months",SelfExclusionFor1Year:"1 Year",SelfExclusionFor2Years:"2 Years",SelfExclusionFor5Years:"5 Years",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Until",confirmationModalTitle:"Confirmation",selfExclusionSuccess:"Self exclusion active",confirmationModalTextPeriodSelfExclusion:"Are you sure you want to self-exclude for {period}?",confirmationModalTextUntilSelfExclusion:"Are you sure you want to self-exclude until {date}?",errorSelfExclusionCall:"There was a problem while making the self exclusion request.",generalError:"There was an error while fetching the self exclusion.",InvalidSession:"The session is exipired."},"zh-hk":{titleSelfExclusion:"自我排除",selfExclusionText:"<p>在自我排除期間,您的帳戶將完全受到限制。</br> 自我排除僅可在您選擇的期間結束後,通過與客戶支援聯繫進行解除,並將接受審查和冷靜期。</br> 或者,您可以選擇通過'<a href='{baseurl}/{lang}/account/timeout'>暫停</a>'選項從我們的服務中暫停(最多6週)。</br> 如果您更願意關閉帳戶,可以通過'<a href='{baseurl}/{lang}/account/account-closure'>關閉帳戶</a>'選項進行關閉。</br> 我們建議您閱讀我們的'<a href='{baseurl}/{lang}/page/responsible-gambling'>負責任博彩</a>'幫助頁面以獲取進一步的建議。</p>",selfExclusionEmailText:"電子郵件:",duration:"時長:",dateInstructions:"如需手動輸入日期,請使用以下格式:",forever:"永久",save:"保存",noPeriodSelected:"請選擇自我排除時段",selectAPeriod:"選擇一個時段",temporarySelfExclusion:"您的自我排除期將持續到 {date} 23:59。",permanentSelfExclusion:"您的自我排除期將是永久性的。",SelfExclusionFor30Days:"30天",SelfExclusionFor2Months:"2個月",SelfExclusionFor3Months:"3個月",SelfExclusionFor6Months:"6個月",SelfExclusionFor7Months:"7個月",SelfExclusionFor8Months:"8個月",SelfExclusionFor9Months:"9個月",SelfExclusionFor10Months:"10個月",SelfExclusionFor11Months:"11個月",SelfExclusionFor1Year:"1年",SelfExclusionFor2Years:"2年",SelfExclusionFor5Years:"5年",SelfExclusionPermanent:"永久",SelfExclusionUntilSelectedDate:"直到",selfExclusionSuccess:"自我排斥活躍",confirmationModalTitle:"確認",confirmationModalTextPeriodSelfExclusion:"您確定要自我排除 {period} 嗎?",confirmationModalTextUntilSelfExclusion:"您確定要自我排除直到 {date} 嗎?",generalError:"提取自我排除时发生错误。",errorSelfExclusionCall:"发出自我排除请求时出现问题。",InvalidSession:"会话已过期。"},fr:{titleSelfExclusion:"Auto-Exclusion",selfExclusionText:"<p>Pendant la période d'auto-exclusion, l'accès à votre compte sera entièrement restreint.</br> L'auto-exclusion ne peut être levée qu'après la période que vous avez sélectionnée et en contactant le Service Client, sous réserve d'une révision et d'une période de réflexion.</br> Alternativement, vous pouvez choisir de prendre un '<a href='{baseurl}/{lang}/account/timeout'>temps de pause</a>' (jusqu'à 6 semaines) via l'option correspondante.</br> Si vous préférez simplement fermer votre compte, vous pouvez le faire via l'option '<a href='{baseurl}/{lang}/account/account-closure'>Fermeture de compte</a>'.</br> Nous vous recommandons également de consulter nos pages d'aide '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jeu Responsable</a>' pour des conseils supplémentaires si nécessaire.</p>",selfExclusionEmailText:"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",SelfExclusionFor2Months:"2 Mois",SelfExclusionFor3Months:"3 Mois",SelfExclusionFor6Months:"6 Mois",SelfExclusionFor7Months:"7 Mois",SelfExclusionFor8Months:"8 Mois",SelfExclusionFor9Months:"9 Mois",SelfExclusionFor10Months:"10 Mois",SelfExclusionFor11Months:"11 Mois",SelfExclusionFor1Year:"1 An",SelfExclusionFor2Years:"2 Ans",SelfExclusionFor5Years:"5 Ans",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Jusqu'à",selfExclusionSuccess:"Auto exclusion active",confirmationModalTitle:"Confirmation",confirmationModalTextPeriodSelfExclusion:"Êtes-vous sûr de vouloir vous auto-exclure pour {period} ?",confirmationModalTextUntilSelfExclusion:"Êtes-vous sûr de vouloir vous auto-exclure jusqu'au {date} ?",generalError:"Une erreur s'est produite lors de la récupération de l'auto-exclusion.",errorSelfExclusionCall:"Un problème est survenu lors de la demande d'auto-exclusion.",InvalidSession:"La session a expiré."},ro:{titleSelfExclusion:"Auto-Excludere",selfExclusionText:"<p>În timpul perioadei de autoexcludere, accesul la contul dvs. va fi complet restricționat.</br> Autoexcluderea poate fi ridicată numai după ce perioada selectată de dvs. a expirat, contactând Suportul Clienți, și va fi supusă unei revizuiri și unei perioade de reflecție.</br> Alternativ, puteți alege să luați o '<a href='{baseurl}/{lang}/account/timeout'>pauză</a>' (o întrerupere de până la 6 săptămâni) prin opțiunea corespunzătoare.</br> Dacă preferați să vă închideți contul, puteți face acest lucru prin opțiunea '<a href='{baseurl}/{lang}/account/account-closure'>Închidere cont</a>'.</br> Vă recomandăm, de asemenea, să consultați paginile noastre de ajutor '<a href='{baseurl}/{lang}/page/responsible-gambling'>Joc Responsabil</a>' pentru sfaturi suplimentare, dacă este necesar.</p>",selfExclusionEmailText:"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",SelfExclusionFor2Months:"2 Luni",SelfExclusionFor3Months:"3 Luni",SelfExclusionFor6Months:"6 Luni",SelfExclusionFor7Months:"7 Luni",SelfExclusionFor8Months:"8 Luni",SelfExclusionFor9Months:"9 Luni",SelfExclusionFor10Months:"10 Luni",SelfExclusionFor11Months:"11 Luni",SelfExclusionFor1Year:"1 An",SelfExclusionFor2Years:"2 Ani",SelfExclusionFor5Years:"5 Ani",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Până la",selfExclusionSuccess:"Auto-excludere activa",confirmationModalTitle:"Confirmare",confirmationModalTextPeriodSelfExclusion:"Sunteți sigur că doriți să vă auto-excludeți pentru {period}?",confirmationModalTextUntilSelfExclusion:"Sunteți sigur că doriți să vă auto-excludeți până la {date}?",generalError:"A apărut o eroare la preluarea auto-excluderii.",errorSelfExclusionCall:"A apărut o problemă la efectuarea cererii de auto-excludere.",InvalidSession:"Sesiunea a expirat."},es:{titleSelfExclusion:"Autoexclusión",selfExclusionText:"<p>Mientras esté autoexcluido, el acceso a su cuenta estará completamente restringido.</br> La autoexclusión solo se puede levantar después de que haya pasado el período seleccionado, comunicándose con Atención al Cliente, sujeto a una revisión y un período de enfriamiento.</br> Alternativamente, puede optar por tomarse un '<a href='{baseurl}/{lang}/account/timeout'>descanso</a>' (un descanso de hasta 6 semanas) a través de la opción correspondiente.</br> Si prefiere cerrar su cuenta, puede hacerlo a través de la opción '<a href='{baseurl}/{lang}/account/account-closure'>Cierre de Cuenta</a>'.</br> También le recomendamos que lea nuestras páginas de ayuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Juego Responsable</a>' para obtener más consejos si los necesita.</p>",selfExclusionEmailText:"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",SelfExclusionFor2Months:"2 Meses",SelfExclusionFor3Months:"3 Meses",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor7Months:"7 Meses",SelfExclusionFor8Months:"8 Meses",SelfExclusionFor9Months:"9 Meses",SelfExclusionFor10Months:"10 Meses",SelfExclusionFor11Months:"11 Meses",SelfExclusionFor1Year:"1 Año",SelfExclusionFor2Years:"2 Años",SelfExclusionFor5Years:"5 Años",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Hasta",selfExclusionSuccess:"Auto Exclusión activa.",confirmationModalTitle:"Confirmación",confirmationModalTextPeriodSelfExclusion:"¿Estás seguro de que deseas autoexcluirte por {period}?",confirmationModalTextUntilSelfExclusion:"¿Estás seguro de que deseas autoexcluirte hasta {date}?",generalError:"Hubo un error al obtener la autoexclusión.",errorSelfExclusionCall:"Hubo un problema al hacer la solicitud de autoexclusión.",InvalidSession:"La sesión ha expirado."},pt:{titleSelfExclusion:"Autoexclusão",selfExclusionText:"<p>Durante o período de autoexclusão, o acesso à sua conta estará totalmente restrito.</br> A autoexclusão só pode ser levantada após o término do período selecionado, entrando em contato com o Suporte ao Cliente, sujeito a uma revisão e a um período de reflexão.</br> Alternativamente, você pode optar por fazer uma '<a href='{baseurl}/{lang}/account/timeout'>pausa</a>' (um intervalo de até 6 semanas) através da opção correspondente.</br> Se preferir encerrar a sua conta, pode fazê-lo através da opção '<a href='{baseurl}/{lang}/account/account-closure'>Encerramento de Conta</a>'.</br> Recomendamos também que leia as nossas páginas de ajuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jogo Responsável</a>' para obter mais conselhos, caso necessite.</p>",selfExclusionEmailText:"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",SelfExclusionFor2Months:"2 Meses",SelfExclusionFor3Months:"3 Meses",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor7Months:"7 Meses",SelfExclusionFor8Months:"8 Meses",SelfExclusionFor9Months:"9 Meses",SelfExclusionFor10Months:"10 Meses",SelfExclusionFor11Months:"11 Meses",SelfExclusionFor1Year:"1 Ano",SelfExclusionFor2Years:"2 Anos",SelfExclusionFor5Years:"5 Anos",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Até",selfExclusionSuccess:"Autoexclusão ativa",confirmationModalTitle:"Confirmação",confirmationModalTextPeriodSelfExclusion:"Tem a certeza de que deseja autoexcluir-se por {period}?",confirmationModalTextUntilSelfExclusion:"Tem a certeza de que deseja autoexcluir-se até {date}?",generalError:"Ocorreu um erro ao buscar a autoexclusão.",errorSelfExclusionCall:"Ocorreu um problema ao fazer a solicitação de autoexclusão.",InvalidSession:"A sessão expirou."},hr:{titleSelfExclusion:"Samoisključenje",selfExclusionText:"<p>Tijekom razdoblja samoisključenja, pristup vašem računu bit će potpuno ograničen.</br> Samoisključenje se može ukinuti tek nakon što istekne razdoblje koje ste odabrali, uz kontaktiranje Korisničke podrške, uz reviziju i razdoblje hlađenja.</br> Alternativno, možete odabrati '<a href='{baseurl}/{lang}/account/timeout'>stanku</a>' (pauzu do 6 tjedana) putem odgovarajuće opcije.</br> Ako radije želite zatvoriti svoj račun, to možete učiniti putem opcije '<a href='{baseurl}/{lang}/account/account-closure'>Zatvaranje računa</a>'.</br> Također vam preporučujemo da pročitate naše stranice s pomoći o '<a href='{baseurl}/{lang}/page/responsible-gambling'>Odgovorno kockanje</a>' za dodatne savjete, ako su vam potrebni.</p>",selfExclusionEmailText:"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",SelfExclusionFor2Months:"2 Mjeseca",SelfExclusionFor3Months:"3 Mjeseca",SelfExclusionFor6Months:"6 Mjeseci",SelfExclusionFor7Months:"7 Mjeseci",SelfExclusionFor8Months:"8 Mjeseci",SelfExclusionFor9Months:"9 Mjeseci",SelfExclusionFor10Months:"10 Mjeseci",SelfExclusionFor11Months:"11 Mjeseci",SelfExclusionFor1Year:"1 Godina",SelfExclusionFor2Years:"2 Godina",SelfExclusionFor5Years:"5 Godina",SelfExclusionPermanent:"Trajno",SelfExclusionUntilSelectedDate:"Do",selfExclusionSuccess:"Aktivno samoisključivanje",confirmationModalTitle:"Potvrda",confirmationModalTextPeriodSelfExclusion:"Jeste li sigurni da se želite samoisključiti na {period}?",confirmationModalTextUntilSelfExclusion:"Jeste li sigurni da se želite samoisključiti do {date}?",generalError:"Došlo je do pogreške prilikom dohvaćanja samoisključenja.",errorSelfExclusionCall:"Došlo je do problema prilikom slanja zahtjeva za samoisključenje.",InvalidSession:"Sesija je istekla."},"pt-br":{titleSelfExclusion:"Autoexclusão",selfExclusionText:"<p>Durante o período de autoexclusão, o acesso à sua conta será completamente restrito.</br> A autoexclusão só pode ser removida após o término do período selecionado, entrando em contato com o Suporte ao Cliente, sujeito a revisão e a um período de reflexão.</br> Alternativamente, você pode optar por fazer um '<a href='{baseurl}/{lang}/account/timeout'>intervalo</a>' (uma pausa de até 6 semanas) através da opção correspondente.</br> Se preferir encerrar sua conta, você pode fazer isso através da opção '<a href='{baseurl}/{lang}/account/account-closure'>Encerramento de Conta</a>'.</br> Recomendamos também que leia nossas páginas de ajuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jogo Responsável</a>' para obter mais conselhos, caso necessite.</p>",selfExclusionEmailText:"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",SelfExclusionFor2Months:"2 Meses",SelfExclusionFor3Months:"3 Meses",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor7Months:"7 Meses",SelfExclusionFor8Months:"8 Meses",SelfExclusionFor9Months:"9 Meses",SelfExclusionFor10Months:"10 Meses",SelfExclusionFor11Months:"11 Meses",SelfExclusionFor1Year:"1 Ano",SelfExclusionFor2Years:"2 Anos",SelfExclusionFor5Years:"5 Anos",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Até",selfExclusionSuccess:"Autoexclusão ativa",confirmationModalTitle:"Confirmação",confirmationModalTextPeriodSelfExclusion:"Você tem certeza de que deseja se autoexcluir por {period}?",confirmationModalTextUntilSelfExclusion:"Você tem certeza de que deseja se autoexcluir até {date}?",generalError:"Houve um erro ao buscar a autoexclusão.",errorSelfExclusionCall:"Houve um problema ao fazer a solicitação de autoexclusão.",InvalidSession:"A sessão expirou."},"es-mx":{titleSelfExclusion:"Autoexclusión",selfExclusionText:"<p>Mientras esté autoexcluido, el acceso a su cuenta estará completamente restringido.</br> La autoexclusión solo puede levantarse después de que haya pasado el período que seleccionó, comunicándose con el Servicio al Cliente, sujeto a una revisión y un período de enfriamiento.</br> Alternativamente, puede elegir tomarse un '<a href='{baseurl}/{lang}/account/timeout'>descanso</a>' (una pausa de hasta 6 semanas) a través de la opción correspondiente.</br> Si prefiere cerrar su cuenta, puede hacerlo mediante la opción '<a href='{baseurl}/{lang}/account/account-closure'>Cierre de Cuenta</a>'.</br> También le recomendamos leer nuestras páginas de ayuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Juego Responsable</a>' para obtener más consejos si lo necesita.</p>",selfExclusionEmailText:"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",SelfExclusionFor2Months:"2 Meses",SelfExclusionFor3Months:"3 Meses",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor7Months:"7 Meses",SelfExclusionFor8Months:"8 Meses",SelfExclusionFor9Months:"9 Meses",SelfExclusionFor10Months:"10 Meses",SelfExclusionFor11Months:"11 Meses",SelfExclusionFor1Year:"1 Año",SelfExclusionFor2Years:"2 Anos",SelfExclusionFor5Years:"5 Años",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Hasta",selfExclusionSuccess:"Auto-exclusión activa",confirmationModalTitle:"Confirmación",confirmationModalTextPeriodSelfExclusion:"¿Estás seguro de que deseas autoexcluirte por {period}?",confirmationModalTextUntilSelfExclusion:"¿Estás seguro de que deseas autoexcluirte hasta {date}?",generalError:"Hubo un error al obtener la autoexclusión.",errorSelfExclusionCall:"Hubo un problema al hacer la solicitud de autoexclusión.",InvalidSession:"La sesión ha expirado."},tr:{titleSelfExclusion:"Kendi Kendini Hariç Tutma",selfExclusionText:"<p>Kendinizi dışlama süresince hesabınıza erişiminiz tamamen kısıtlanacaktır.</br> Kendinizi dışlama, yalnızca seçtiğiniz süre sona erdikten sonra, Müşteri Hizmetleri ile iletişime geçerek kaldırılabilir ve inceleme ile bir düşünme süresine tabi olacaktır.</br> Alternatif olarak, '<a href='{baseurl}/{lang}/account/timeout'>Mola</a>' seçeneğiyle hizmetlerimizden (6 haftaya kadar bir ara) faydalanmayı tercih edebilirsiniz.</br> Hesabınızı kapatmayı tercih ederseniz, bunu '<a href='{baseurl}/{lang}/account/account-closure'>Hesap Kapatma</a>' seçeneği aracılığıyla yapabilirsiniz.</br> Ayrıca, gerektiğinde daha fazla tavsiye almak için '<a href='{baseurl}/{lang}/page/responsible-gambling'>Sorumlu Oyun</a>' yardım sayfalarımızı okumanızı öneririz.</p>",selfExclusionEmailText:"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",SelfExclusionFor2Months:"2 Ay",SelfExclusionFor3Months:"3 Ay",SelfExclusionFor6Months:"6 Ay",SelfExclusionFor7Months:"7 Ay",SelfExclusionFor8Months:"8 Ay",SelfExclusionFor9Months:"9 Ay",SelfExclusionFor10Months:"10 Ay",SelfExclusionFor11Months:"11 Ay",SelfExclusionFor1Year:"1 Yıl",SelfExclusionFor2Years:"2 Yıl",SelfExclusionFor5Years:"5 Yıl",SelfExclusionPermanent:"Kalıcı",SelfExclusionUntilSelectedDate:"Tarihe kadar",selfExclusionSuccess:"Kendini dışlama etkin",confirmationModalTitle:"Onay",confirmationModalTextPeriodSelfExclusion:"{period} için kendinizi hariç tutmak istediğinizden emin misiniz?",confirmationModalTextUntilSelfExclusion:"{date} tarihine kadar kendinizi hariç tutmak istediğinizden emin misiniz?",generalError:"Kendi kendini dışlama alınırken bir hata oluştu.",errorSelfExclusionCall:"Kendi kendini dışlama isteği yapılırken bir sorun oluştu.",InvalidSession:"Oturum süresi doldu."}};/**
1
+ "use strict";var Sr=Object.defineProperty,Ar=Object.defineProperties;var Cr=Object.getOwnPropertyDescriptors;var Ji=Object.getOwnPropertySymbols;var Dr=Object.prototype.hasOwnProperty,kr=Object.prototype.propertyIsEnumerable;var Xi=(o,t,e)=>t in o?Sr(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,mt=(o,t)=>{for(var e in t||(t={}))Dr.call(t,e)&&Xi(o,e,t[e]);if(Ji)for(var e of Ji(t))kr.call(t,e)&&Xi(o,e,t[e]);return o},_t=(o,t)=>Ar(o,Cr(t));var qe=(o,t,e)=>new Promise((i,s)=>{var r=l=>{try{a(e.next(l))}catch(u){s(u)}},n=l=>{try{a(e.throw(l))}catch(u){s(u)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(r,n);a((e=e.apply(o,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./PlayerAccountGeneralConfirmationModal-CTkrsADp.cjs");require("../stencil/ui-skeleton-BPqjm-YB.cjs");var Jo={exports:{}};(function(o,t){(function(e,i){o.exports=i()})(c.commonjsGlobal,function(){var e=1e3,i=6e4,s=36e5,r="millisecond",n="second",a="minute",l="hour",u="day",d="week",h="month",p="quarter",f="year",y="date",m="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,D=/\[([^\]]+)]|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,C={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(E){var v=["th","st","nd","rd"],_=E%100;return"["+E+(v[(_-20)%10]||v[_]||v[0])+"]"}},I=function(E,v,_){var x=String(E);return!x||x.length>=v?E:""+Array(v+1-x.length).join(_)+E},O={s:I,z:function(E){var v=-E.utcOffset(),_=Math.abs(v),x=Math.floor(_/60),g=_%60;return(v<=0?"+":"-")+I(x,2,"0")+":"+I(g,2,"0")},m:function E(v,_){if(v.date()<_.date())return-E(_,v);var x=12*(_.year()-v.year())+(_.month()-v.month()),g=v.clone().add(x,h),A=_-g<0,S=v.clone().add(x+(A?-1:1),h);return+(-(x+(_-g)/(A?g-S:S-g))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:h,y:f,w:d,d:u,D:y,h:l,m:a,s:n,ms:r,Q:p}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},N="en",U={};U[N]=C;var V="$isDayjsObject",W=function(E){return E instanceof H||!(!E||!E[V])},Y=function E(v,_,x){var g;if(!v)return N;if(typeof v=="string"){var A=v.toLowerCase();U[A]&&(g=A),_&&(U[A]=_,g=A);var S=v.split("-");if(!g&&S.length>1)return E(S[0])}else{var M=v.name;U[M]=v,g=M}return!x&&g&&(N=g),g||!x&&N},T=function(E,v){if(W(E))return E.clone();var _=typeof v=="object"?v:{};return _.date=E,_.args=arguments,new H(_)},k=O;k.l=Y,k.i=W,k.w=function(E,v){return T(E,{locale:v.$L,utc:v.$u,x:v.$x,$offset:v.$offset})};var H=function(){function E(_){this.$L=Y(_.locale,null,!0),this.parse(_),this.$x=this.$x||_.x||{},this[V]=!0}var v=E.prototype;return v.parse=function(_){this.$d=function(x){var g=x.date,A=x.utc;if(g===null)return new Date(NaN);if(k.u(g))return new Date;if(g instanceof Date)return new Date(g);if(typeof g=="string"&&!/Z$/i.test(g)){var S=g.match(b);if(S){var M=S[2]-1||0,L=(S[7]||"0").substring(0,3);return A?new Date(Date.UTC(S[1],M,S[3]||1,S[4]||0,S[5]||0,S[6]||0,L)):new Date(S[1],M,S[3]||1,S[4]||0,S[5]||0,S[6]||0,L)}}return new Date(g)}(_),this.init()},v.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},v.$utils=function(){return k},v.isValid=function(){return this.$d.toString()!==m},v.isSame=function(_,x){var g=T(_);return this.startOf(x)<=g&&g<=this.endOf(x)},v.isAfter=function(_,x){return T(_)<this.startOf(x)},v.isBefore=function(_,x){return this.endOf(x)<T(_)},v.$g=function(_,x,g){return k.u(_)?this[x]:this.set(g,_)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(_,x){var g=this,A=!!k.u(x)||x,S=k.p(_),M=function(K,F){var R=k.w(g.$u?Date.UTC(g.$y,F,K):new Date(g.$y,F,K),g);return A?R:R.endOf(u)},L=function(K,F){return k.w(g.toDate()[K].apply(g.toDate("s"),(A?[0,0,0,0]:[23,59,59,999]).slice(F)),g)},B=this.$W,j=this.$M,J=this.$D,le="set"+(this.$u?"UTC":"");switch(S){case f:return A?M(1,0):M(31,11);case h:return A?M(1,j):M(0,j+1);case d:var re=this.$locale().weekStart||0,X=(B<re?B+7:B)-re;return M(A?J-X:J+(6-X),j);case u:case y:return L(le+"Hours",0);case l:return L(le+"Minutes",1);case a:return L(le+"Seconds",2);case n:return L(le+"Milliseconds",3);default:return this.clone()}},v.endOf=function(_){return this.startOf(_,!1)},v.$set=function(_,x){var g,A=k.p(_),S="set"+(this.$u?"UTC":""),M=(g={},g[u]=S+"Date",g[y]=S+"Date",g[h]=S+"Month",g[f]=S+"FullYear",g[l]=S+"Hours",g[a]=S+"Minutes",g[n]=S+"Seconds",g[r]=S+"Milliseconds",g)[A],L=A===u?this.$D+(x-this.$W):x;if(A===h||A===f){var B=this.clone().set(y,1);B.$d[M](L),B.init(),this.$d=B.set(y,Math.min(this.$D,B.daysInMonth())).$d}else M&&this.$d[M](L);return this.init(),this},v.set=function(_,x){return this.clone().$set(_,x)},v.get=function(_){return this[k.p(_)]()},v.add=function(_,x){var g,A=this;_=Number(_);var S=k.p(x),M=function(j){var J=T(A);return k.w(J.date(J.date()+Math.round(j*_)),A)};if(S===h)return this.set(h,this.$M+_);if(S===f)return this.set(f,this.$y+_);if(S===u)return M(1);if(S===d)return M(7);var L=(g={},g[a]=i,g[l]=s,g[n]=e,g)[S]||1,B=this.$d.getTime()+_*L;return k.w(B,this)},v.subtract=function(_,x){return this.add(-1*_,x)},v.format=function(_){var x=this,g=this.$locale();if(!this.isValid())return g.invalidDate||m;var A=_||"YYYY-MM-DDTHH:mm:ssZ",S=k.z(this),M=this.$H,L=this.$m,B=this.$M,j=g.weekdays,J=g.months,le=g.meridiem,re=function(F,R,ce,ne){return F&&(F[R]||F(x,A))||ce[R].slice(0,ne)},X=function(F){return k.s(M%12||12,F,"0")},K=le||function(F,R,ce){var ne=F<12?"AM":"PM";return ce?ne.toLowerCase():ne};return A.replace(D,function(F,R){return R||function(ce){switch(ce){case"YY":return String(x.$y).slice(-2);case"YYYY":return k.s(x.$y,4,"0");case"M":return B+1;case"MM":return k.s(B+1,2,"0");case"MMM":return re(g.monthsShort,B,J,3);case"MMMM":return re(J,B);case"D":return x.$D;case"DD":return k.s(x.$D,2,"0");case"d":return String(x.$W);case"dd":return re(g.weekdaysMin,x.$W,j,2);case"ddd":return re(g.weekdaysShort,x.$W,j,3);case"dddd":return j[x.$W];case"H":return String(M);case"HH":return k.s(M,2,"0");case"h":return X(1);case"hh":return X(2);case"a":return K(M,L,!0);case"A":return K(M,L,!1);case"m":return String(L);case"mm":return k.s(L,2,"0");case"s":return String(x.$s);case"ss":return k.s(x.$s,2,"0");case"SSS":return k.s(x.$ms,3,"0");case"Z":return S}return null}(F)||S.replace(":","")})},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(_,x,g){var A,S=this,M=k.p(x),L=T(_),B=(L.utcOffset()-this.utcOffset())*i,j=this-L,J=function(){return k.m(S,L)};switch(M){case f:A=J()/12;break;case h:A=J();break;case p:A=J()/3;break;case d:A=(j-B)/6048e5;break;case u:A=(j-B)/864e5;break;case l:A=j/s;break;case a:A=j/i;break;case n:A=j/e;break;default:A=j}return g?A:k.a(A)},v.daysInMonth=function(){return this.endOf(h).$D},v.$locale=function(){return U[this.$L]},v.locale=function(_,x){if(!_)return this.$L;var g=this.clone(),A=Y(_,x,!0);return A&&(g.$L=A),g},v.clone=function(){return k.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},E}(),Z=H.prototype;return T.prototype=Z,[["$ms",r],["$s",n],["$m",a],["$H",l],["$W",u],["$M",h],["$y",f],["$D",y]].forEach(function(E){Z[E[1]]=function(v){return this.$g(v,E[0],E[1])}}),T.extend=function(E,v){return E.$i||(E(v,H,T),E.$i=!0),T},T.locale=Y,T.isDayjs=W,T.unix=function(E){return T(1e3*E)},T.en=U[N],T.Ls=U,T.p={},T})})(Jo);var Pr=Jo.exports;const ge=c.getDefaultExportFromCjs(Pr);var Xo={exports:{}};(function(o,t){(function(e,i){o.exports=i()})(c.commonjsGlobal,function(){var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},i=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,s=/\d\d/,r=/\d\d?/,n=/\d*[^-_:/,()\s\d]+/,a={},l=function(m){return(m=+m)+(m>68?1900:2e3)},u=function(m){return function(b){this[m]=+b}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(m){(this.zone||(this.zone={})).offset=function(b){if(!b||b==="Z")return 0;var D=b.match(/([+-]|\d\d)/g),C=60*D[1]+(+D[2]||0);return C===0?0:D[0]==="+"?-C:C}(m)}],h=function(m){var b=a[m];return b&&(b.indexOf?b:b.s.concat(b.f))},p=function(m,b){var D,C=a.meridiem;if(C){for(var I=1;I<=24;I+=1)if(m.indexOf(C(I,0,b))>-1){D=I>12;break}}else D=m===(b?"pm":"PM");return D},f={A:[n,function(m){this.afternoon=p(m,!1)}],a:[n,function(m){this.afternoon=p(m,!0)}],S:[/\d/,function(m){this.milliseconds=100*+m}],SS:[s,function(m){this.milliseconds=10*+m}],SSS:[/\d{3}/,function(m){this.milliseconds=+m}],s:[r,u("seconds")],ss:[r,u("seconds")],m:[r,u("minutes")],mm:[r,u("minutes")],H:[r,u("hours")],h:[r,u("hours")],HH:[r,u("hours")],hh:[r,u("hours")],D:[r,u("day")],DD:[s,u("day")],Do:[n,function(m){var b=a.ordinal,D=m.match(/\d+/);if(this.day=D[0],b)for(var C=1;C<=31;C+=1)b(C).replace(/\[|\]/g,"")===m&&(this.day=C)}],M:[r,u("month")],MM:[s,u("month")],MMM:[n,function(m){var b=h("months"),D=(h("monthsShort")||b.map(function(C){return C.slice(0,3)})).indexOf(m)+1;if(D<1)throw new Error;this.month=D%12||D}],MMMM:[n,function(m){var b=h("months").indexOf(m)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,u("year")],YY:[s,function(m){this.year=l(m)}],YYYY:[/\d{4}/,u("year")],Z:d,ZZ:d};function y(m){var b,D;b=m,D=a&&a.formats;for(var C=(m=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(Y,T,k){var H=k&&k.toUpperCase();return T||D[k]||e[k]||D[H].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Z,E,v){return E||v.slice(1)})})).match(i),I=C.length,O=0;O<I;O+=1){var N=C[O],U=f[N],V=U&&U[0],W=U&&U[1];C[O]=W?{regex:V,parser:W}:N.replace(/^\[|\]$/g,"")}return function(Y){for(var T={},k=0,H=0;k<I;k+=1){var Z=C[k];if(typeof Z=="string")H+=Z.length;else{var E=Z.regex,v=Z.parser,_=Y.slice(H),x=E.exec(_)[0];v.call(T,x),Y=Y.replace(x,"")}}return function(g){var A=g.afternoon;if(A!==void 0){var S=g.hours;A?S<12&&(g.hours+=12):S===12&&(g.hours=0),delete g.afternoon}}(T),T}}return function(m,b,D){D.p.customParseFormat=!0,m&&m.parseTwoDigitYear&&(l=m.parseTwoDigitYear);var C=b.prototype,I=C.parse;C.parse=function(O){var N=O.date,U=O.utc,V=O.args;this.$u=U;var W=V[1];if(typeof W=="string"){var Y=V[2]===!0,T=V[3]===!0,k=Y||T,H=V[2];T&&(H=V[2]),a=this.$locale(),!Y&&H&&(a=D.Ls[H]),this.$d=function(_,x,g){try{if(["x","X"].indexOf(x)>-1)return new Date((x==="X"?1e3:1)*_);var A=y(x)(_),S=A.year,M=A.month,L=A.day,B=A.hours,j=A.minutes,J=A.seconds,le=A.milliseconds,re=A.zone,X=new Date,K=L||(S||M?1:X.getDate()),F=S||X.getFullYear(),R=0;S&&!M||(R=M>0?M-1:X.getMonth());var ce=B||0,ne=j||0,ae=J||0,de=le||0;return re?new Date(Date.UTC(F,R,K,ce,ne,ae,de+60*re.offset*1e3)):g?new Date(Date.UTC(F,R,K,ce,ne,ae,de)):new Date(F,R,K,ce,ne,ae,de)}catch(P){return new Date("")}}(N,W,U),this.init(),H&&H!==!0&&(this.$L=this.locale(H).$L),k&&N!=this.format(W)&&(this.$d=new Date("")),a={}}else if(W instanceof Array)for(var Z=W.length,E=1;E<=Z;E+=1){V[1]=W[E-1];var v=D.apply(this,V);if(v.isValid()){this.$d=v.$d,this.$L=v.$L,this.init();break}E===Z&&(this.$d=new Date(""))}else I.call(this,O)}}})})(Xo);var Tr=Xo.exports;const Mr=c.getDefaultExportFromCjs(Tr);function Zi(o,t){c.addMessages(o,t)}function Or(o){c.$locale.set(o)}const Qi={en:{titleSelfExclusion:"Self-Exclusion",selfExclusionText:"<p>While self-excluded, access to your account will be entirely restricted.</br>Self-exclusion can only be lifted after the period that you selected has passed by communicating with Customer Support, which will be subject to review and a cooling-off period. </br> Alternatively, you can choose to take a 'time out' (a break of up to 6 weeks) from our services via the '<a href='{baseurl}/{lang}/account/timeout'>Time out</a>' option. </br> If you would prefer just to close your account, '<a href='{baseurl}/{lang}/account/account-closure'>Account Closure</a>' you can choose to do so via the option.</br> We'd recommend you also read our '<a href='{baseurl}/{lang}/page/responsible-gambling'>Responsible Gambling</a>' help pages for further advice should you need it.",selfExclusionEmailText:"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",SelfExclusionFor2Months:"2 Months",SelfExclusionFor3Months:"3 Months",SelfExclusionFor6Months:"6 Months",SelfExclusionFor7Months:"7 Months",SelfExclusionFor8Months:"8 Months",SelfExclusionFor9Months:"9 Months",SelfExclusionFor10Months:"10 Months",SelfExclusionFor11Months:"11 Months",SelfExclusionFor1Year:"1 Year",SelfExclusionFor2Years:"2 Years",SelfExclusionFor5Years:"5 Years",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Until",confirmationModalTitle:"Confirmation",selfExclusionSuccess:"Self exclusion active",confirmationModalTextPeriodSelfExclusion:"Are you sure you want to self-exclude for {period}?",confirmationModalTextUntilSelfExclusion:"Are you sure you want to self-exclude until {date}?",errorSelfExclusionCall:"There was a problem while making the self exclusion request.",generalError:"There was an error while fetching the self exclusion.",InvalidSession:"The session is exipired."},"en-us":{titleSelfExclusion:"Self-Exclusion",selfExclusionText:"<p>While self-excluded, access to your account will be entirely restricted.</br>Self-exclusion can only be lifted after the period that you selected has passed by communicating with Customer Support, which will be subject to review and a cooling-off period. </br> Alternatively, you can choose to take a 'time out' (a break of up to 6 weeks) from our services via the '<a href='{baseurl}/{lang}/account/timeout'>Time out</a>' option. </br> If you would prefer just to close your account, '<a href='{baseurl}/{lang}/account/account-closure'>Account Closure</a>' you can choose to do so via the option.</br> We'd recommend you also read our '<a href='{baseurl}/{lang}/page/responsible-gambling'>Responsible Gambling</a>' help pages for further advice should you need it.",selfExclusionEmailText:"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",SelfExclusionFor2Months:"2 Months",SelfExclusionFor3Months:"3 Months",SelfExclusionFor6Months:"6 Months",SelfExclusionFor7Months:"7 Months",SelfExclusionFor8Months:"8 Months",SelfExclusionFor9Months:"9 Months",SelfExclusionFor10Months:"10 Months",SelfExclusionFor11Months:"11 Months",SelfExclusionFor1Year:"1 Year",SelfExclusionFor2Years:"2 Years",SelfExclusionFor5Years:"5 Years",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Until",confirmationModalTitle:"Confirmation",selfExclusionSuccess:"Self exclusion active",confirmationModalTextPeriodSelfExclusion:"Are you sure you want to self-exclude for {period}?",confirmationModalTextUntilSelfExclusion:"Are you sure you want to self-exclude until {date}?",errorSelfExclusionCall:"There was a problem while making the self exclusion request.",generalError:"There was an error while fetching the self exclusion.",InvalidSession:"The session is exipired."},"zh-hk":{titleSelfExclusion:"自我排除",selfExclusionText:"<p>在自我排除期間,您的帳戶將完全受到限制。</br> 自我排除僅可在您選擇的期間結束後,通過與客戶支援聯繫進行解除,並將接受審查和冷靜期。</br> 或者,您可以選擇通過'<a href='{baseurl}/{lang}/account/timeout'>暫停</a>'選項從我們的服務中暫停(最多6週)。</br> 如果您更願意關閉帳戶,可以通過'<a href='{baseurl}/{lang}/account/account-closure'>關閉帳戶</a>'選項進行關閉。</br> 我們建議您閱讀我們的'<a href='{baseurl}/{lang}/page/responsible-gambling'>負責任博彩</a>'幫助頁面以獲取進一步的建議。</p>",selfExclusionEmailText:"電子郵件:",duration:"時長:",dateInstructions:"如需手動輸入日期,請使用以下格式:",forever:"永久",save:"保存",noPeriodSelected:"請選擇自我排除時段",selectAPeriod:"選擇一個時段",temporarySelfExclusion:"您的自我排除期將持續到 {date} 23:59。",permanentSelfExclusion:"您的自我排除期將是永久性的。",SelfExclusionFor30Days:"30天",SelfExclusionFor2Months:"2個月",SelfExclusionFor3Months:"3個月",SelfExclusionFor6Months:"6個月",SelfExclusionFor7Months:"7個月",SelfExclusionFor8Months:"8個月",SelfExclusionFor9Months:"9個月",SelfExclusionFor10Months:"10個月",SelfExclusionFor11Months:"11個月",SelfExclusionFor1Year:"1年",SelfExclusionFor2Years:"2年",SelfExclusionFor5Years:"5年",SelfExclusionPermanent:"永久",SelfExclusionUntilSelectedDate:"直到",selfExclusionSuccess:"自我排斥活躍",confirmationModalTitle:"確認",confirmationModalTextPeriodSelfExclusion:"您確定要自我排除 {period} 嗎?",confirmationModalTextUntilSelfExclusion:"您確定要自我排除直到 {date} 嗎?",generalError:"提取自我排除时发生错误。",errorSelfExclusionCall:"发出自我排除请求时出现问题。",InvalidSession:"会话已过期。"},fr:{titleSelfExclusion:"Auto-Exclusion",selfExclusionText:"<p>Pendant la période d'auto-exclusion, l'accès à votre compte sera entièrement restreint.</br> L'auto-exclusion ne peut être levée qu'après la période que vous avez sélectionnée et en contactant le Service Client, sous réserve d'une révision et d'une période de réflexion.</br> Alternativement, vous pouvez choisir de prendre un '<a href='{baseurl}/{lang}/account/timeout'>temps de pause</a>' (jusqu'à 6 semaines) via l'option correspondante.</br> Si vous préférez simplement fermer votre compte, vous pouvez le faire via l'option '<a href='{baseurl}/{lang}/account/account-closure'>Fermeture de compte</a>'.</br> Nous vous recommandons également de consulter nos pages d'aide '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jeu Responsable</a>' pour des conseils supplémentaires si nécessaire.</p>",selfExclusionEmailText:"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",SelfExclusionFor2Months:"2 Mois",SelfExclusionFor3Months:"3 Mois",SelfExclusionFor6Months:"6 Mois",SelfExclusionFor7Months:"7 Mois",SelfExclusionFor8Months:"8 Mois",SelfExclusionFor9Months:"9 Mois",SelfExclusionFor10Months:"10 Mois",SelfExclusionFor11Months:"11 Mois",SelfExclusionFor1Year:"1 An",SelfExclusionFor2Years:"2 Ans",SelfExclusionFor5Years:"5 Ans",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Jusqu'à",selfExclusionSuccess:"Auto exclusion active",confirmationModalTitle:"Confirmation",confirmationModalTextPeriodSelfExclusion:"Êtes-vous sûr de vouloir vous auto-exclure pour {period} ?",confirmationModalTextUntilSelfExclusion:"Êtes-vous sûr de vouloir vous auto-exclure jusqu'au {date} ?",generalError:"Une erreur s'est produite lors de la récupération de l'auto-exclusion.",errorSelfExclusionCall:"Un problème est survenu lors de la demande d'auto-exclusion.",InvalidSession:"La session a expiré."},ro:{titleSelfExclusion:"Auto-Excludere",selfExclusionText:"<p>În timpul perioadei de autoexcludere, accesul la contul dvs. va fi complet restricționat.</br> Autoexcluderea poate fi ridicată numai după ce perioada selectată de dvs. a expirat, contactând Suportul Clienți, și va fi supusă unei revizuiri și unei perioade de reflecție.</br> Alternativ, puteți alege să luați o '<a href='{baseurl}/{lang}/account/timeout'>pauză</a>' (o întrerupere de până la 6 săptămâni) prin opțiunea corespunzătoare.</br> Dacă preferați să vă închideți contul, puteți face acest lucru prin opțiunea '<a href='{baseurl}/{lang}/account/account-closure'>Închidere cont</a>'.</br> Vă recomandăm, de asemenea, să consultați paginile noastre de ajutor '<a href='{baseurl}/{lang}/page/responsible-gambling'>Joc Responsabil</a>' pentru sfaturi suplimentare, dacă este necesar.</p>",selfExclusionEmailText:"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",SelfExclusionFor2Months:"2 Luni",SelfExclusionFor3Months:"3 Luni",SelfExclusionFor6Months:"6 Luni",SelfExclusionFor7Months:"7 Luni",SelfExclusionFor8Months:"8 Luni",SelfExclusionFor9Months:"9 Luni",SelfExclusionFor10Months:"10 Luni",SelfExclusionFor11Months:"11 Luni",SelfExclusionFor1Year:"1 An",SelfExclusionFor2Years:"2 Ani",SelfExclusionFor5Years:"5 Ani",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Până la",selfExclusionSuccess:"Auto-excludere activa",confirmationModalTitle:"Confirmare",confirmationModalTextPeriodSelfExclusion:"Sunteți sigur că doriți să vă auto-excludeți pentru {period}?",confirmationModalTextUntilSelfExclusion:"Sunteți sigur că doriți să vă auto-excludeți până la {date}?",generalError:"A apărut o eroare la preluarea auto-excluderii.",errorSelfExclusionCall:"A apărut o problemă la efectuarea cererii de auto-excludere.",InvalidSession:"Sesiunea a expirat."},es:{titleSelfExclusion:"Autoexclusión",selfExclusionText:"<p>Mientras esté autoexcluido, el acceso a su cuenta estará completamente restringido.</br> La autoexclusión solo se puede levantar después de que haya pasado el período seleccionado, comunicándose con Atención al Cliente, sujeto a una revisión y un período de enfriamiento.</br> Alternativamente, puede optar por tomarse un '<a href='{baseurl}/{lang}/account/timeout'>descanso</a>' (un descanso de hasta 6 semanas) a través de la opción correspondiente.</br> Si prefiere cerrar su cuenta, puede hacerlo a través de la opción '<a href='{baseurl}/{lang}/account/account-closure'>Cierre de Cuenta</a>'.</br> También le recomendamos que lea nuestras páginas de ayuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Juego Responsable</a>' para obtener más consejos si los necesita.</p>",selfExclusionEmailText:"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",SelfExclusionFor2Months:"2 Meses",SelfExclusionFor3Months:"3 Meses",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor7Months:"7 Meses",SelfExclusionFor8Months:"8 Meses",SelfExclusionFor9Months:"9 Meses",SelfExclusionFor10Months:"10 Meses",SelfExclusionFor11Months:"11 Meses",SelfExclusionFor1Year:"1 Año",SelfExclusionFor2Years:"2 Años",SelfExclusionFor5Years:"5 Años",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Hasta",selfExclusionSuccess:"Auto Exclusión activa.",confirmationModalTitle:"Confirmación",confirmationModalTextPeriodSelfExclusion:"¿Estás seguro de que deseas autoexcluirte por {period}?",confirmationModalTextUntilSelfExclusion:"¿Estás seguro de que deseas autoexcluirte hasta {date}?",generalError:"Hubo un error al obtener la autoexclusión.",errorSelfExclusionCall:"Hubo un problema al hacer la solicitud de autoexclusión.",InvalidSession:"La sesión ha expirado."},pt:{titleSelfExclusion:"Autoexclusão",selfExclusionText:"<p>Durante o período de autoexclusão, o acesso à sua conta estará totalmente restrito.</br> A autoexclusão só pode ser levantada após o término do período selecionado, entrando em contato com o Suporte ao Cliente, sujeito a uma revisão e a um período de reflexão.</br> Alternativamente, você pode optar por fazer uma '<a href='{baseurl}/{lang}/account/timeout'>pausa</a>' (um intervalo de até 6 semanas) através da opção correspondente.</br> Se preferir encerrar a sua conta, pode fazê-lo através da opção '<a href='{baseurl}/{lang}/account/account-closure'>Encerramento de Conta</a>'.</br> Recomendamos também que leia as nossas páginas de ajuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jogo Responsável</a>' para obter mais conselhos, caso necessite.</p>",selfExclusionEmailText:"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",SelfExclusionFor2Months:"2 Meses",SelfExclusionFor3Months:"3 Meses",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor7Months:"7 Meses",SelfExclusionFor8Months:"8 Meses",SelfExclusionFor9Months:"9 Meses",SelfExclusionFor10Months:"10 Meses",SelfExclusionFor11Months:"11 Meses",SelfExclusionFor1Year:"1 Ano",SelfExclusionFor2Years:"2 Anos",SelfExclusionFor5Years:"5 Anos",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Até",selfExclusionSuccess:"Autoexclusão ativa",confirmationModalTitle:"Confirmação",confirmationModalTextPeriodSelfExclusion:"Tem a certeza de que deseja autoexcluir-se por {period}?",confirmationModalTextUntilSelfExclusion:"Tem a certeza de que deseja autoexcluir-se até {date}?",generalError:"Ocorreu um erro ao buscar a autoexclusão.",errorSelfExclusionCall:"Ocorreu um problema ao fazer a solicitação de autoexclusão.",InvalidSession:"A sessão expirou."},hr:{titleSelfExclusion:"Samoisključenje",selfExclusionText:"<p>Tijekom razdoblja samoisključenja, pristup vašem računu bit će potpuno ograničen.</br> Samoisključenje se može ukinuti tek nakon što istekne razdoblje koje ste odabrali, uz kontaktiranje Korisničke podrške, uz reviziju i razdoblje hlađenja.</br> Alternativno, možete odabrati '<a href='{baseurl}/{lang}/account/timeout'>stanku</a>' (pauzu do 6 tjedana) putem odgovarajuće opcije.</br> Ako radije želite zatvoriti svoj račun, to možete učiniti putem opcije '<a href='{baseurl}/{lang}/account/account-closure'>Zatvaranje računa</a>'.</br> Također vam preporučujemo da pročitate naše stranice s pomoći o '<a href='{baseurl}/{lang}/page/responsible-gambling'>Odgovorno kockanje</a>' za dodatne savjete, ako su vam potrebni.</p>",selfExclusionEmailText:"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",SelfExclusionFor2Months:"2 Mjeseca",SelfExclusionFor3Months:"3 Mjeseca",SelfExclusionFor6Months:"6 Mjeseci",SelfExclusionFor7Months:"7 Mjeseci",SelfExclusionFor8Months:"8 Mjeseci",SelfExclusionFor9Months:"9 Mjeseci",SelfExclusionFor10Months:"10 Mjeseci",SelfExclusionFor11Months:"11 Mjeseci",SelfExclusionFor1Year:"1 Godina",SelfExclusionFor2Years:"2 Godina",SelfExclusionFor5Years:"5 Godina",SelfExclusionPermanent:"Trajno",SelfExclusionUntilSelectedDate:"Do",selfExclusionSuccess:"Aktivno samoisključivanje",confirmationModalTitle:"Potvrda",confirmationModalTextPeriodSelfExclusion:"Jeste li sigurni da se želite samoisključiti na {period}?",confirmationModalTextUntilSelfExclusion:"Jeste li sigurni da se želite samoisključiti do {date}?",generalError:"Došlo je do pogreške prilikom dohvaćanja samoisključenja.",errorSelfExclusionCall:"Došlo je do problema prilikom slanja zahtjeva za samoisključenje.",InvalidSession:"Sesija je istekla."},"pt-br":{titleSelfExclusion:"Autoexclusão",selfExclusionText:"<p>Durante o período de autoexclusão, o acesso à sua conta será completamente restrito.</br> A autoexclusão só pode ser removida após o término do período selecionado, entrando em contato com o Suporte ao Cliente, sujeito a revisão e a um período de reflexão.</br> Alternativamente, você pode optar por fazer um '<a href='{baseurl}/{lang}/account/timeout'>intervalo</a>' (uma pausa de até 6 semanas) através da opção correspondente.</br> Se preferir encerrar sua conta, você pode fazer isso através da opção '<a href='{baseurl}/{lang}/account/account-closure'>Encerramento de Conta</a>'.</br> Recomendamos também que leia nossas páginas de ajuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jogo Responsável</a>' para obter mais conselhos, caso necessite.</p>",selfExclusionEmailText:"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",SelfExclusionFor2Months:"2 Meses",SelfExclusionFor3Months:"3 Meses",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor7Months:"7 Meses",SelfExclusionFor8Months:"8 Meses",SelfExclusionFor9Months:"9 Meses",SelfExclusionFor10Months:"10 Meses",SelfExclusionFor11Months:"11 Meses",SelfExclusionFor1Year:"1 Ano",SelfExclusionFor2Years:"2 Anos",SelfExclusionFor5Years:"5 Anos",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Até",selfExclusionSuccess:"Autoexclusão ativa",confirmationModalTitle:"Confirmação",confirmationModalTextPeriodSelfExclusion:"Você tem certeza de que deseja se autoexcluir por {period}?",confirmationModalTextUntilSelfExclusion:"Você tem certeza de que deseja se autoexcluir até {date}?",generalError:"Houve um erro ao buscar a autoexclusão.",errorSelfExclusionCall:"Houve um problema ao fazer a solicitação de autoexclusão.",InvalidSession:"A sessão expirou."},"es-mx":{titleSelfExclusion:"Autoexclusión",selfExclusionText:"<p>Mientras esté autoexcluido, el acceso a su cuenta estará completamente restringido.</br> La autoexclusión solo puede levantarse después de que haya pasado el período que seleccionó, comunicándose con el Servicio al Cliente, sujeto a una revisión y un período de enfriamiento.</br> Alternativamente, puede elegir tomarse un '<a href='{baseurl}/{lang}/account/timeout'>descanso</a>' (una pausa de hasta 6 semanas) a través de la opción correspondiente.</br> Si prefiere cerrar su cuenta, puede hacerlo mediante la opción '<a href='{baseurl}/{lang}/account/account-closure'>Cierre de Cuenta</a>'.</br> También le recomendamos leer nuestras páginas de ayuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Juego Responsable</a>' para obtener más consejos si lo necesita.</p>",selfExclusionEmailText:"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",SelfExclusionFor2Months:"2 Meses",SelfExclusionFor3Months:"3 Meses",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor7Months:"7 Meses",SelfExclusionFor8Months:"8 Meses",SelfExclusionFor9Months:"9 Meses",SelfExclusionFor10Months:"10 Meses",SelfExclusionFor11Months:"11 Meses",SelfExclusionFor1Year:"1 Año",SelfExclusionFor2Years:"2 Anos",SelfExclusionFor5Years:"5 Años",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Hasta",selfExclusionSuccess:"Auto-exclusión activa",confirmationModalTitle:"Confirmación",confirmationModalTextPeriodSelfExclusion:"¿Estás seguro de que deseas autoexcluirte por {period}?",confirmationModalTextUntilSelfExclusion:"¿Estás seguro de que deseas autoexcluirte hasta {date}?",generalError:"Hubo un error al obtener la autoexclusión.",errorSelfExclusionCall:"Hubo un problema al hacer la solicitud de autoexclusión.",InvalidSession:"La sesión ha expirado."},tr:{titleSelfExclusion:"Kendi Kendini Hariç Tutma",selfExclusionText:"<p>Kendinizi dışlama süresince hesabınıza erişiminiz tamamen kısıtlanacaktır.</br> Kendinizi dışlama, yalnızca seçtiğiniz süre sona erdikten sonra, Müşteri Hizmetleri ile iletişime geçerek kaldırılabilir ve inceleme ile bir düşünme süresine tabi olacaktır.</br> Alternatif olarak, '<a href='{baseurl}/{lang}/account/timeout'>Mola</a>' seçeneğiyle hizmetlerimizden (6 haftaya kadar bir ara) faydalanmayı tercih edebilirsiniz.</br> Hesabınızı kapatmayı tercih ederseniz, bunu '<a href='{baseurl}/{lang}/account/account-closure'>Hesap Kapatma</a>' seçeneği aracılığıyla yapabilirsiniz.</br> Ayrıca, gerektiğinde daha fazla tavsiye almak için '<a href='{baseurl}/{lang}/page/responsible-gambling'>Sorumlu Oyun</a>' yardım sayfalarımızı okumanızı öneririz.</p>",selfExclusionEmailText:"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",SelfExclusionFor2Months:"2 Ay",SelfExclusionFor3Months:"3 Ay",SelfExclusionFor6Months:"6 Ay",SelfExclusionFor7Months:"7 Ay",SelfExclusionFor8Months:"8 Ay",SelfExclusionFor9Months:"9 Ay",SelfExclusionFor10Months:"10 Ay",SelfExclusionFor11Months:"11 Ay",SelfExclusionFor1Year:"1 Yıl",SelfExclusionFor2Years:"2 Yıl",SelfExclusionFor5Years:"5 Yıl",SelfExclusionPermanent:"Kalıcı",SelfExclusionUntilSelectedDate:"Tarihe kadar",selfExclusionSuccess:"Kendini dışlama etkin",confirmationModalTitle:"Onay",confirmationModalTextPeriodSelfExclusion:"{period} için kendinizi hariç tutmak istediğinizden emin misiniz?",confirmationModalTextUntilSelfExclusion:"{date} tarihine kadar kendinizi hariç tutmak istediğinizden emin misiniz?",generalError:"Kendi kendini dışlama alınırken bir hata oluştu.",errorSelfExclusionCall:"Kendi kendini dışlama isteği yapılırken bir sorun oluştu.",InvalidSession:"Oturum süresi doldu."}};/**
2
2
  * @license
3
3
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -1949,7 +1949,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1949
1949
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1950
1950
  Code distributed by Google as part of the polymer project is also
1951
1951
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1952
- */let Mn=0;const Q=function(o){let t=o.__mixinApplications;t||(t=new WeakMap,o.__mixinApplications=t);let e=Mn++;function i(s){let r=s.__mixinSet;if(r&&r[e])return s;let n=t,a=n.get(s);if(!a){a=o(s),n.set(s,a);let l=Object.create(a.__mixinSet||r||null);l[e]=!0,a.__mixinSet=l}return a}return i};/**
1952
+ */let Mn=0;const ee=function(o){let t=o.__mixinApplications;t||(t=new WeakMap,o.__mixinApplications=t);let e=Mn++;function i(s){let r=s.__mixinSet;if(r&&r[e])return s;let n=t,a=n.get(s);if(!a){a=o(s),n.set(s,a);let l=Object.create(a.__mixinSet||r||null);l[e]=!0,a.__mixinSet=l}return a}return i};/**
1953
1953
  @license
1954
1954
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1955
1955
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -2005,7 +2005,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
2005
2005
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2006
2006
  Code distributed by Google as part of the polymer project is also
2007
2007
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2008
- */const Vn=ks,Ps=Q(o=>{class t extends o{static createProperties(i){const s=this.prototype;for(let r in i)r in s||s._createPropertyAccessor(r)}static attributeNameForProperty(i){return i.toLowerCase()}static typeForProperty(i){}_createPropertyAccessor(i,s){this._addPropertyToAttributeMap(i),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[i]||(this.__dataHasAccessor[i]=!0,this._definePropertyAccessor(i,s))}_addPropertyToAttributeMap(i){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let s=this.__dataAttributes[i];return s||(s=this.constructor.attributeNameForProperty(i),this.__dataAttributes[s]=i),s}_definePropertyAccessor(i,s){Object.defineProperty(this,i,{get(){return this.__data[i]},set:s?function(){}:function(r){this._setPendingProperty(i,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 i in this.__dataHasAccessor)this.hasOwnProperty(i)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[i]=this[i],delete this[i])}_initializeInstanceProperties(i){Object.assign(this,i)}_setProperty(i,s){this._setPendingProperty(i,s)&&this._invalidateProperties()}_getProperty(i){return this.__data[i]}_setPendingProperty(i,s,r){let n=this.__data[i],a=this._shouldPropertyChange(i,s,n);return a&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(i in this.__dataOld)&&(this.__dataOld[i]=n),this.__data[i]=s,this.__dataPending[i]=s),a}_isPropertyPending(i){return!!(this.__dataPending&&this.__dataPending.hasOwnProperty(i))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,Vn.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 i=this.__data,s=this.__dataPending,r=this.__dataOld;this._shouldPropertiesChange(i,s,r)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(i,s,r)),this.__dataCounter--}_shouldPropertiesChange(i,s,r){return!!s}_propertiesChanged(i,s,r){}_shouldPropertyChange(i,s,r){return r!==s&&(r===r||s===s)}attributeChangedCallback(i,s,r,n){s!==r&&this._attributeToProperty(i,r),super.attributeChangedCallback&&super.attributeChangedCallback(i,s,r,n)}_attributeToProperty(i,s,r){if(!this.__serializing){const n=this.__dataAttributes,a=n&&n[i]||i;this[a]=this._deserializeValue(s,r||this.constructor.typeForProperty(a))}}_propertyToAttribute(i,s,r){this.__serializing=!0,r=arguments.length<3?this[i]:r,this._valueToNodeAttribute(this,r,s||this.constructor.attributeNameForProperty(i)),this.__serializing=!1}_valueToNodeAttribute(i,s,r){const n=this._serializeValue(s);(r==="class"||r==="name"||r==="slot")&&(i=se(i)),n===void 0?i.removeAttribute(r):i.setAttribute(r,n===""&&window.trustedTypes?window.trustedTypes.emptyScript:n)}_serializeValue(i){switch(typeof i){case"boolean":return i?"":void 0;default:return i!=null?i.toString():void 0}}_deserializeValue(i,s){switch(s){case Boolean:return i!==null;case Number:return Number(i);default:return i}}}return t});/**
2008
+ */const Vn=ks,Ps=ee(o=>{class t extends o{static createProperties(i){const s=this.prototype;for(let r in i)r in s||s._createPropertyAccessor(r)}static attributeNameForProperty(i){return i.toLowerCase()}static typeForProperty(i){}_createPropertyAccessor(i,s){this._addPropertyToAttributeMap(i),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[i]||(this.__dataHasAccessor[i]=!0,this._definePropertyAccessor(i,s))}_addPropertyToAttributeMap(i){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let s=this.__dataAttributes[i];return s||(s=this.constructor.attributeNameForProperty(i),this.__dataAttributes[s]=i),s}_definePropertyAccessor(i,s){Object.defineProperty(this,i,{get(){return this.__data[i]},set:s?function(){}:function(r){this._setPendingProperty(i,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 i in this.__dataHasAccessor)this.hasOwnProperty(i)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[i]=this[i],delete this[i])}_initializeInstanceProperties(i){Object.assign(this,i)}_setProperty(i,s){this._setPendingProperty(i,s)&&this._invalidateProperties()}_getProperty(i){return this.__data[i]}_setPendingProperty(i,s,r){let n=this.__data[i],a=this._shouldPropertyChange(i,s,n);return a&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(i in this.__dataOld)&&(this.__dataOld[i]=n),this.__data[i]=s,this.__dataPending[i]=s),a}_isPropertyPending(i){return!!(this.__dataPending&&this.__dataPending.hasOwnProperty(i))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,Vn.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 i=this.__data,s=this.__dataPending,r=this.__dataOld;this._shouldPropertiesChange(i,s,r)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(i,s,r)),this.__dataCounter--}_shouldPropertiesChange(i,s,r){return!!s}_propertiesChanged(i,s,r){}_shouldPropertyChange(i,s,r){return r!==s&&(r===r||s===s)}attributeChangedCallback(i,s,r,n){s!==r&&this._attributeToProperty(i,r),super.attributeChangedCallback&&super.attributeChangedCallback(i,s,r,n)}_attributeToProperty(i,s,r){if(!this.__serializing){const n=this.__dataAttributes,a=n&&n[i]||i;this[a]=this._deserializeValue(s,r||this.constructor.typeForProperty(a))}}_propertyToAttribute(i,s,r){this.__serializing=!0,r=arguments.length<3?this[i]:r,this._valueToNodeAttribute(this,r,s||this.constructor.attributeNameForProperty(i)),this.__serializing=!1}_valueToNodeAttribute(i,s,r){const n=this._serializeValue(s);(r==="class"||r==="name"||r==="slot")&&(i=se(i)),n===void 0?i.removeAttribute(r):i.setAttribute(r,n===""&&window.trustedTypes?window.trustedTypes.emptyScript:n)}_serializeValue(i){switch(typeof i){case"boolean":return i?"":void 0;default:return i!=null?i.toString():void 0}}_deserializeValue(i,s){switch(s){case Boolean:return i!==null;case Number:return Number(i);default:return i}}}return t});/**
2009
2009
  @license
2010
2010
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2011
2011
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -2013,7 +2013,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
2013
2013
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2014
2014
  Code distributed by Google as part of the polymer project is also
2015
2015
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2016
- */const Ts={};let vt=HTMLElement.prototype;for(;vt;){let o=Object.getOwnPropertyNames(vt);for(let t=0;t<o.length;t++)Ts[o[t]]=!0;vt=Object.getPrototypeOf(vt)}const Wn=window.trustedTypes?o=>trustedTypes.isHTML(o)||trustedTypes.isScript(o)||trustedTypes.isScriptURL(o):()=>!1;function qn(o,t){if(!Ts[t]){let e=o[t];e!==void 0&&(o.__data?o._setPendingProperty(t,e):(o.__dataProto?o.hasOwnProperty(JSCompiler_renameProperty("__dataProto",o))||(o.__dataProto=Object.create(o.__dataProto)):o.__dataProto={},o.__dataProto[t]=e))}}const Kn=Q(o=>{const t=Ps(o);class e extends t{static createPropertiesForAttributes(){let s=this.observedAttributes;for(let r=0;r<s.length;r++)this.prototype._createPropertyAccessor(As(s[r]))}static attributeNameForProperty(s){return It(s)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(s){for(let r in s)this._setProperty(r,s[r])}_ensureAttribute(s,r){const n=this;n.hasAttribute(s)||this._valueToNodeAttribute(n,r,s)}_serializeValue(s){switch(typeof s){case"object":if(s instanceof Date)return s.toString();if(s){if(Wn(s))return s;try{return JSON.stringify(s)}catch(r){return""}}default:return super._serializeValue(s)}}_deserializeValue(s,r){let n;switch(r){case Object:try{n=JSON.parse(s)}catch(a){n=s}break;case Array:try{n=JSON.parse(s)}catch(a){n=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${s}`)}break;case Date:n=isNaN(s)?String(s):Number(s),n=new Date(n);break;default:n=super._deserializeValue(s,r);break}return n}_definePropertyAccessor(s,r){qn(this,s),super._definePropertyAccessor(s,r)}_hasAccessor(s){return this.__dataHasAccessor&&this.__dataHasAccessor[s]}_isPropertyPending(s){return!!(this.__dataPending&&s in this.__dataPending)}}return e});/**
2016
+ */const Ts={};let vt=HTMLElement.prototype;for(;vt;){let o=Object.getOwnPropertyNames(vt);for(let t=0;t<o.length;t++)Ts[o[t]]=!0;vt=Object.getPrototypeOf(vt)}const Wn=window.trustedTypes?o=>trustedTypes.isHTML(o)||trustedTypes.isScript(o)||trustedTypes.isScriptURL(o):()=>!1;function qn(o,t){if(!Ts[t]){let e=o[t];e!==void 0&&(o.__data?o._setPendingProperty(t,e):(o.__dataProto?o.hasOwnProperty(JSCompiler_renameProperty("__dataProto",o))||(o.__dataProto=Object.create(o.__dataProto)):o.__dataProto={},o.__dataProto[t]=e))}}const Kn=ee(o=>{const t=Ps(o);class e extends t{static createPropertiesForAttributes(){let s=this.observedAttributes;for(let r=0;r<s.length;r++)this.prototype._createPropertyAccessor(As(s[r]))}static attributeNameForProperty(s){return It(s)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(s){for(let r in s)this._setProperty(r,s[r])}_ensureAttribute(s,r){const n=this;n.hasAttribute(s)||this._valueToNodeAttribute(n,r,s)}_serializeValue(s){switch(typeof s){case"object":if(s instanceof Date)return s.toString();if(s){if(Wn(s))return s;try{return JSON.stringify(s)}catch(r){return""}}default:return super._serializeValue(s)}}_deserializeValue(s,r){let n;switch(r){case Object:try{n=JSON.parse(s)}catch(a){n=s}break;case Array:try{n=JSON.parse(s)}catch(a){n=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${s}`)}break;case Date:n=isNaN(s)?String(s):Number(s),n=new Date(n);break;default:n=super._deserializeValue(s,r);break}return n}_definePropertyAccessor(s,r){qn(this,s),super._definePropertyAccessor(s,r)}_hasAccessor(s){return this.__dataHasAccessor&&this.__dataHasAccessor[s]}_isPropertyPending(s){return!!(this.__dataPending&&s in this.__dataPending)}}return e});/**
2017
2017
  @license
2018
2018
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2019
2019
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -2021,7 +2021,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
2021
2021
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2022
2022
  Code distributed by Google as part of the polymer project is also
2023
2023
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2024
- */const Gn={"dom-if":!0,"dom-repeat":!0};let vo=!1,yo=!1;function Jn(){if(!vo){vo=!0;const o=document.createElement("textarea");o.placeholder="a",yo=o.placeholder===o.textContent}return yo}function Xn(o){Jn()&&o.localName==="textarea"&&o.placeholder&&o.placeholder===o.textContent&&(o.textContent=null)}const Zn=(()=>{const o=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(t,e,i)=>{const s=e.getAttribute(i);if(o&&i.startsWith("on-")){t.setAttribute(i,o.createScript(s,i));return}t.setAttribute(i,s)}})();function Qn(o){let t=o.getAttribute("is");if(t&&Gn[t]){let e=o;for(e.removeAttribute("is"),o=e.ownerDocument.createElement(t),e.parentNode.replaceChild(o,e),o.appendChild(e);e.attributes.length;){const{name:i}=e.attributes[0];Zn(o,e,i),e.removeAttribute(i)}}return o}function Ms(o,t){let e=t.parentInfo&&Ms(o,t.parentInfo);if(e){for(let i=e.firstChild,s=0;i;i=i.nextSibling)if(t.parentIndex===s++)return i}else return o}function ea(o,t,e,i){i.id&&(t[i.id]=e)}function ta(o,t,e){if(e.events&&e.events.length)for(let i=0,s=e.events,r;i<s.length&&(r=s[i]);i++)o._addMethodEventListenerToNode(t,r.name,r.value,o)}function ia(o,t,e,i){e.templateInfo&&(t._templateInfo=e.templateInfo,t._parentTemplateInfo=i)}function oa(o,t,e){return o=o._methodHost||o,function(s){o[e]?o[e](s,s.detail):console.warn("listener method `"+e+"` not defined")}}const sa=Q(o=>{class t extends o{static _parseTemplate(i,s){if(!i._templateInfo){let r=i._templateInfo={};r.nodeInfoList=[],r.nestedTemplate=!!s,r.stripWhiteSpace=s&&s.stripWhiteSpace||i.hasAttribute&&i.hasAttribute("strip-whitespace"),this._parseTemplateContent(i,r,{parent:null})}return i._templateInfo}static _parseTemplateContent(i,s,r){return this._parseTemplateNode(i.content,s,r)}static _parseTemplateNode(i,s,r){let n=!1,a=i;return a.localName=="template"&&!a.hasAttribute("preserve-content")?n=this._parseTemplateNestedTemplate(a,s,r)||n:a.localName==="slot"&&(s.hasInsertionPoint=!0),Xn(a),a.firstChild&&this._parseTemplateChildNodes(a,s,r),a.hasAttributes&&a.hasAttributes()&&(n=this._parseTemplateNodeAttributes(a,s,r)||n),n||r.noted}static _parseTemplateChildNodes(i,s,r){if(!(i.localName==="script"||i.localName==="style"))for(let n=i.firstChild,a=0,l;n;n=l){if(n.localName=="template"&&(n=Qn(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,i.removeChild(d),d=l;if(s.stripWhiteSpace&&!n.textContent.trim()){i.removeChild(n);continue}}let u={parentIndex:a,parentInfo:r};this._parseTemplateNode(n,s,u)&&(u.infoIndex=s.nodeInfoList.push(u)-1),n.parentNode&&a++}}static _parseTemplateNestedTemplate(i,s,r){let n=i,a=this._parseTemplate(n,s);return(a.content=n.content.ownerDocument.createDocumentFragment()).appendChild(n.content),r.templateInfo=a,!0}static _parseTemplateNodeAttributes(i,s,r){let n=!1,a=Array.from(i.attributes);for(let l=a.length-1,u;u=a[l];l--)n=this._parseTemplateNodeAttribute(i,s,r,u.name,u.value)||n;return n}static _parseTemplateNodeAttribute(i,s,r,n,a){return n.slice(0,3)==="on-"?(i.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(i){let s=i._templateInfo;return s&&s.content||i.content}_stampTemplate(i,s){i&&!i.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(i),s=s||this.constructor._parseTemplate(i);let r=s.nodeInfoList,n=s.content||i.content,a=document.importNode(n,!0);a.__noInsertionPoint=!s.hasInsertionPoint;let l=a.nodeList=new Array(r.length);a.$={};for(let u=0,d=r.length,h;u<d&&(h=r[u]);u++){let p=l[u]=Ms(a,h);ea(this,a.$,p,h),ia(this,p,h,s),ta(this,p,h)}return a=a,a}_addMethodEventListenerToNode(i,s,r,n){n=n||i;let a=oa(n,s,r);return this._addEventListenerToNode(i,s,a),a}_addEventListenerToNode(i,s,r){i.addEventListener(s,r)}_removeEventListenerFromNode(i,s,r){i.removeEventListener(s,r)}}return t});/**
2024
+ */const Gn={"dom-if":!0,"dom-repeat":!0};let vo=!1,yo=!1;function Jn(){if(!vo){vo=!0;const o=document.createElement("textarea");o.placeholder="a",yo=o.placeholder===o.textContent}return yo}function Xn(o){Jn()&&o.localName==="textarea"&&o.placeholder&&o.placeholder===o.textContent&&(o.textContent=null)}const Zn=(()=>{const o=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(t,e,i)=>{const s=e.getAttribute(i);if(o&&i.startsWith("on-")){t.setAttribute(i,o.createScript(s,i));return}t.setAttribute(i,s)}})();function Qn(o){let t=o.getAttribute("is");if(t&&Gn[t]){let e=o;for(e.removeAttribute("is"),o=e.ownerDocument.createElement(t),e.parentNode.replaceChild(o,e),o.appendChild(e);e.attributes.length;){const{name:i}=e.attributes[0];Zn(o,e,i),e.removeAttribute(i)}}return o}function Ms(o,t){let e=t.parentInfo&&Ms(o,t.parentInfo);if(e){for(let i=e.firstChild,s=0;i;i=i.nextSibling)if(t.parentIndex===s++)return i}else return o}function ea(o,t,e,i){i.id&&(t[i.id]=e)}function ta(o,t,e){if(e.events&&e.events.length)for(let i=0,s=e.events,r;i<s.length&&(r=s[i]);i++)o._addMethodEventListenerToNode(t,r.name,r.value,o)}function ia(o,t,e,i){e.templateInfo&&(t._templateInfo=e.templateInfo,t._parentTemplateInfo=i)}function oa(o,t,e){return o=o._methodHost||o,function(s){o[e]?o[e](s,s.detail):console.warn("listener method `"+e+"` not defined")}}const sa=ee(o=>{class t extends o{static _parseTemplate(i,s){if(!i._templateInfo){let r=i._templateInfo={};r.nodeInfoList=[],r.nestedTemplate=!!s,r.stripWhiteSpace=s&&s.stripWhiteSpace||i.hasAttribute&&i.hasAttribute("strip-whitespace"),this._parseTemplateContent(i,r,{parent:null})}return i._templateInfo}static _parseTemplateContent(i,s,r){return this._parseTemplateNode(i.content,s,r)}static _parseTemplateNode(i,s,r){let n=!1,a=i;return a.localName=="template"&&!a.hasAttribute("preserve-content")?n=this._parseTemplateNestedTemplate(a,s,r)||n:a.localName==="slot"&&(s.hasInsertionPoint=!0),Xn(a),a.firstChild&&this._parseTemplateChildNodes(a,s,r),a.hasAttributes&&a.hasAttributes()&&(n=this._parseTemplateNodeAttributes(a,s,r)||n),n||r.noted}static _parseTemplateChildNodes(i,s,r){if(!(i.localName==="script"||i.localName==="style"))for(let n=i.firstChild,a=0,l;n;n=l){if(n.localName=="template"&&(n=Qn(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,i.removeChild(d),d=l;if(s.stripWhiteSpace&&!n.textContent.trim()){i.removeChild(n);continue}}let u={parentIndex:a,parentInfo:r};this._parseTemplateNode(n,s,u)&&(u.infoIndex=s.nodeInfoList.push(u)-1),n.parentNode&&a++}}static _parseTemplateNestedTemplate(i,s,r){let n=i,a=this._parseTemplate(n,s);return(a.content=n.content.ownerDocument.createDocumentFragment()).appendChild(n.content),r.templateInfo=a,!0}static _parseTemplateNodeAttributes(i,s,r){let n=!1,a=Array.from(i.attributes);for(let l=a.length-1,u;u=a[l];l--)n=this._parseTemplateNodeAttribute(i,s,r,u.name,u.value)||n;return n}static _parseTemplateNodeAttribute(i,s,r,n,a){return n.slice(0,3)==="on-"?(i.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(i){let s=i._templateInfo;return s&&s.content||i.content}_stampTemplate(i,s){i&&!i.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(i),s=s||this.constructor._parseTemplate(i);let r=s.nodeInfoList,n=s.content||i.content,a=document.importNode(n,!0);a.__noInsertionPoint=!s.hasInsertionPoint;let l=a.nodeList=new Array(r.length);a.$={};for(let u=0,d=r.length,h;u<d&&(h=r[u]);u++){let p=l[u]=Ms(a,h);ea(this,a.$,p,h),ia(this,p,h,s),ta(this,p,h)}return a=a,a}_addMethodEventListenerToNode(i,s,r,n){n=n||i;let a=oa(n,s,r);return this._addEventListenerToNode(i,s,a),a}_addEventListenerToNode(i,s,r){i.addEventListener(s,r)}_removeEventListenerFromNode(i,s,r){i.removeEventListener(s,r)}}return t});/**
2025
2025
  * @fileoverview
2026
2026
  * @suppress {checkPrototypalTypes}
2027
2027
  * @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -2031,7 +2031,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2031
2031
  * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
2032
2032
  * Google as part of the polymer project is also subject to an additional IP
2033
2033
  * rights grant found at http://polymer.github.io/PATENTS.txt
2034
- */let ut=0;const dt=[],$={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},Os="__computeInfo",ra=/[A-Z]/;function Yt(o,t,e){let i=o[t];if(!i)i=o[t]={};else if(!o.hasOwnProperty(t)&&(i=o[t]=Object.create(o[t]),e))for(let s in i){let r=i[s],n=i[s]=Array(r.length);for(let a=0;a<r.length;a++)n[a]=r[a]}return i}function et(o,t,e,i,s,r){if(t){let n=!1;const a=ut++;for(let l in e){let u=s?Ie(l):l,d=t[u];if(d)for(let h=0,p=d.length,f;h<p&&(f=d[h]);h++)(!f.info||f.info.lastRun!==a)&&(!s||Ii(l,f.trigger))&&(f.info&&(f.info.lastRun=a),f.fn(o,l,e,i,f.info,s,r),n=!0)}return n}return!1}function na(o,t,e,i,s,r,n,a){let l=!1,u=n?Ie(i):i,d=t[u];if(d)for(let h=0,p=d.length,f;h<p&&(f=d[h]);h++)(!f.info||f.info.lastRun!==e)&&(!n||Ii(i,f.trigger))&&(f.info&&(f.info.lastRun=e),f.fn(o,i,s,r,f.info,n,a),l=!0);return l}function Ii(o,t){if(t){let e=t.name;return e==o||!!(t.structured&&Es(e,o))||!!(t.wildcard&&lt(e,o))}else return!0}function bo(o,t,e,i,s){let r=typeof s.method=="string"?o[s.method]:s.method,n=s.property;r?r.call(o,o.__data[n],i[n]):s.dynamicFn||console.warn("observer method `"+s.method+"` not defined")}function aa(o,t,e,i,s){let r=o[$.NOTIFY],n,a=ut++;for(let u in t)t[u]&&(r&&na(o,r,a,u,e,i,s)||s&&la(o,u,e))&&(n=!0);let l;n&&(l=o.__dataHost)&&l._invalidateProperties&&l._invalidateProperties()}function la(o,t,e){let i=Ie(t);if(i!==t){let s=It(i)+"-changed";return Is(o,s,e[t],t),!0}return!1}function Is(o,t,e,i){let s={value:e,queueProperty:!0};i&&(s.path=i),se(o).dispatchEvent(new CustomEvent(t,{detail:s}))}function ca(o,t,e,i,s,r){let a=(r?Ie(t):t)!=t?t:null,l=a?ue(o,a):o.__data[t];a&&l===void 0&&(l=e[t]),Is(o,s.eventName,l,a)}function ua(o,t,e,i,s){let r,n=o.detail,a=n&&n.path;a?(i=ct(e,i,a),r=n&&n.value):r=o.currentTarget[e],r=s?!r:r,(!t[$.READ_ONLY]||!t[$.READ_ONLY][i])&&t._setPendingPropertyOrPath(i,r,!0,!!a)&&(!n||!n.queueProperty)&&t._invalidateProperties()}function da(o,t,e,i,s){let r=o.__data[t];Ct&&(r=Ct(r,s.attrName,"attribute",o)),o._propertyToAttribute(t,s.attrName,r)}function ha(o,t,e,i){let s=o[$.COMPUTE];if(s)if(kn){ut++;const r=fa(o),n=[];for(let l in t)xo(l,s,n,r,i);let a;for(;a=n.shift();)Fs(o,"",t,e,a)&&xo(a.methodInfo,s,n,r,i);Object.assign(e,o.__dataOld),Object.assign(t,o.__dataPending),o.__dataPending=null}else{let r=t;for(;et(o,s,r,e,i);)Object.assign(e,o.__dataOld),Object.assign(t,o.__dataPending),r=o.__dataPending,o.__dataPending=null}}const pa=(o,t,e)=>{let i=0,s=t.length-1,r=-1;for(;i<=s;){const n=i+s>>1,a=e.get(t[n].methodInfo)-e.get(o.methodInfo);if(a<0)i=n+1;else if(a>0)s=n-1;else{r=n;break}}r<0&&(r=s+1),t.splice(r,0,o)},xo=(o,t,e,i,s)=>{const r=s?Ie(o):o,n=t[r];if(n)for(let a=0;a<n.length;a++){const l=n[a];l.info.lastRun!==ut&&(!s||Ii(o,l.trigger))&&(l.info.lastRun=ut,pa(l.info,e,i))}};function fa(o){let t=o.constructor.__orderedComputedDeps;if(!t){t=new Map;const e=o[$.COMPUTE];let{counts:i,ready:s,total:r}=ma(o),n;for(;n=s.shift();){t.set(n,t.size);const a=e[n];a&&a.forEach(l=>{const u=l.info.methodInfo;--r,--i[u]===0&&s.push(u)})}r!==0&&console.warn(`Computed graph for ${o.localName} incomplete; circular?`),o.constructor.__orderedComputedDeps=t}return t}function ma(o){const t=o[Os],e={},i=o[$.COMPUTE],s=[];let r=0;for(let n in t){const a=t[n];r+=e[n]=a.args.filter(l=>!l.literal).length+(a.dynamicFn?1:0)}for(let n in i)t[n]||s.push(n);return{counts:e,ready:s,total:r}}function Fs(o,t,e,i,s){let r=li(o,t,e,i,s);if(r===dt)return!1;let n=s.methodInfo;return o.__dataHasAccessor&&o.__dataHasAccessor[n]?o._setPendingProperty(n,r,!0):(o[n]=r,!1)}function _a(o,t,e){let i=o.__dataLinkedPaths;if(i){let s;for(let r in i){let n=i[r];lt(r,t)?(s=ct(r,n,t),o._setPendingPropertyOrPath(s,e,!0,!0)):lt(n,t)&&(s=ct(n,r,t),o._setPendingPropertyOrPath(s,e,!0,!0))}}}function jt(o,t,e,i,s,r,n){e.bindings=e.bindings||[];let a={kind:i,target:s,parts:r,literal:n,isCompound:r.length!==1};if(e.bindings.push(a),xa(a)){let{event:u,negate:d}=a.parts[0];a.listenerEvent=u||It(s)+"-changed",a.listenerNegate=d}let l=t.nodeInfoList.length;for(let u=0;u<a.parts.length;u++){let d=a.parts[u];d.compoundIndex=u,ga(o,t,a,d,l)}}function ga(o,t,e,i,s){if(!i.literal)if(e.kind==="attribute"&&e.target[0]==="-")console.warn("Cannot set attribute "+e.target+' because "-" is not a valid attribute starting character');else{let r=i.dependencies,n={index:s,binding:e,part:i,evaluator:o};for(let a=0;a<r.length;a++){let l=r[a];typeof l=="string"&&(l=zs(l),l.wildcard=!0),o._addTemplatePropertyEffect(t,l.rootProperty,{fn:va,info:n,trigger:l})}}}function va(o,t,e,i,s,r,n){let a=n[s.index],l=s.binding,u=s.part;if(r&&u.source&&t.length>u.source.length&&l.kind=="property"&&!l.isCompound&&a.__isPropertyEffectsClient&&a.__dataHasAccessor&&a.__dataHasAccessor[l.target]){let d=e[t];t=ct(u.source,l.target,t),a._setPendingPropertyOrPath(t,d,!1,!0)&&o._enqueueClient(a)}else{let d=s.evaluator._evaluateBinding(o,u,t,e,i,r);d!==dt&&ya(o,a,l,u,d)}}function ya(o,t,e,i,s){if(s=ba(t,s,e,i),Ct&&(s=Ct(s,e.target,e.kind,t)),e.kind=="attribute")o._valueToNodeAttribute(t,s,e.target);else{let r=e.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[r]?(!t[$.READ_ONLY]||!t[$.READ_ONLY][r])&&t._setPendingProperty(r,s)&&o._enqueueClient(t):o._setUnmanagedPropertyToNode(t,r,s)}}function ba(o,t,e,i){if(e.isCompound){let s=o.__dataCompoundStorage[e.target];s[i.compoundIndex]=t,t=s.join("")}return e.kind!=="attribute"&&(e.target==="textContent"||e.target==="value"&&(o.localName==="input"||o.localName==="textarea"))&&(t=t==null?"":t),t}function xa(o){return!!o.target&&o.kind!="attribute"&&o.kind!="text"&&!o.isCompound&&o.parts[0].mode==="{"}function wa(o,t){let{nodeList:e,nodeInfoList:i}=t;if(i.length)for(let s=0;s<i.length;s++){let r=i[s],n=e[s],a=r.bindings;if(a)for(let l=0;l<a.length;l++){let u=a[l];Ea(n,u),Sa(n,o,u)}n.__dataHost=o}}function Ea(o,t){if(t.isCompound){let e=o.__dataCompoundStorage||(o.__dataCompoundStorage={}),i=t.parts,s=new Array(i.length);for(let n=0;n<i.length;n++)s[n]=i[n].literal;let r=t.target;e[r]=s,t.literal&&t.kind=="property"&&(r==="className"&&(o=se(o)),o[r]=t.literal)}}function Sa(o,t,e){if(e.listenerEvent){let i=e.parts[0];o.addEventListener(e.listenerEvent,function(s){ua(s,t,e.target,i.source,i.negate)})}}function wo(o,t,e,i,s,r){r=t.static||r&&(typeof r!="object"||r[t.methodName]);let n={methodName:t.methodName,args:t.args,methodInfo:s,dynamicFn:r};for(let a=0,l;a<t.args.length&&(l=t.args[a]);a++)l.literal||o._addPropertyEffect(l.rootProperty,e,{fn:i,info:n,trigger:l});return r&&o._addPropertyEffect(t.methodName,e,{fn:i,info:n}),n}function li(o,t,e,i,s){let r=o._methodHost||o,n=r[s.methodName];if(n){let a=o._marshalArgs(s.args,t,e);return a===dt?dt:n.apply(r,a)}else s.dynamicFn||console.warn("method `"+s.methodName+"` not defined")}const Aa=[],Ns="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Ca="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",Da="(?:'(?:[^'\\\\]|\\\\.)*')",ka='(?:"(?:[^"\\\\]|\\\\.)*")',Pa="(?:"+Da+"|"+ka+")",Eo="(?:("+Ns+"|"+Ca+"|"+Pa+")\\s*)",Ta="(?:"+Eo+"(?:,\\s*"+Eo+")*)",Ma="(?:\\(\\s*(?:"+Ta+"?)\\)\\s*)",Oa="("+Ns+"\\s*"+Ma+"?)",Ia="(\\[\\[|{{)\\s*",Fa="(?:]]|}})",Na="(?:(!)\\s*)?",za=Ia+Na+Oa+Fa,So=new RegExp(za,"g");function Ao(o){let t="";for(let e=0;e<o.length;e++){let i=o[e].literal;t+=i||""}return t}function Ut(o){let t=o.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let i={methodName:t[1],static:!0,args:Aa};if(t[2].trim()){let s=t[2].replace(/\\,/g,"&comma;").split(",");return La(s,i)}else return i}return null}function La(o,t){return t.args=o.map(function(e){let i=zs(e);return i.literal||(t.static=!1),i},this),t}function zs(o){let t=o.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),e={name:t,value:"",literal:!1},i=t[0];switch(i==="-"&&(i=t[1]),i>="0"&&i<="9"&&(i="#"),i){case"'":case'"':e.value=t.slice(1,-1),e.literal=!0;break;case"#":e.value=Number(t),e.literal=!0;break}return e.literal||(e.rootProperty=Ie(t),e.structured=ni(t),e.structured&&(e.wildcard=t.slice(-2)==".*",e.wildcard&&(e.name=t.slice(0,-2)))),e}function Co(o,t,e){let i=ue(o,e);return i===void 0&&(i=t[e]),i}function Ls(o,t,e,i){const s={indexSplices:i};ri&&!o._overrideLegacyUndefined&&(t.splices=s),o.notifyPath(e+".splices",s),o.notifyPath(e+".length",t.length),ri&&!o._overrideLegacyUndefined&&(s.indexSplices=[])}function Ge(o,t,e,i,s,r){Ls(o,t,e,[{index:i,addedCount:s,removed:r,object:t,type:"splice"}])}function $a(o){return o[0].toUpperCase()+o.substring(1)}const Fi=Q(o=>{const t=sa(Kn(o));class e extends t{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return $}_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(Je.length){let s=Je[Je.length-1];s._enqueueClient(this),this.__dataHost=s}}_initializeProtoProperties(s){this.__data=Object.create(s),this.__dataPending=Object.create(s),this.__dataOld={}}_initializeInstanceProperties(s){let r=this[$.READ_ONLY];for(let n in s)(!r||!r[n])&&(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=s[n])}_addPropertyEffect(s,r,n){this._createPropertyAccessor(s,r==$.READ_ONLY);let a=Yt(this,r,!0)[s];a||(a=this[r][s]=[]),a.push(n)}_removePropertyEffect(s,r,n){let a=Yt(this,r,!0)[s],l=a.indexOf(n);l>=0&&a.splice(l,1)}_hasPropertyEffect(s,r){let n=this[r];return!!(n&&n[s])}_hasReadOnlyEffect(s){return this._hasPropertyEffect(s,$.READ_ONLY)}_hasNotifyEffect(s){return this._hasPropertyEffect(s,$.NOTIFY)}_hasReflectEffect(s){return this._hasPropertyEffect(s,$.REFLECT)}_hasComputedEffect(s){return this._hasPropertyEffect(s,$.COMPUTE)}_setPendingPropertyOrPath(s,r,n,a){if(a||Ie(Array.isArray(s)?s[0]:s)!==s){if(!a){let l=ue(this,s);if(s=go(this,s,r),!s||!super._shouldPropertyChange(s,r,l))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(s,r,n))return _a(this,s,r),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[s])return this._setPendingProperty(s,r,n);this[s]=r}return!1}_setUnmanagedPropertyToNode(s,r,n){(n!==s[r]||typeof n=="object")&&(r==="className"&&(s=se(s)),s[r]=n)}_setPendingProperty(s,r,n){let a=this.__dataHasPaths&&ni(s),l=a?this.__dataTemp:this.__data;return this._shouldPropertyChange(s,r,l[s])?(this.__dataPending||(this.__dataPending={},this.__dataOld={}),s in this.__dataOld||(this.__dataOld[s]=this.__data[s]),a?this.__dataTemp[s]=r:this.__data[s]=r,this.__dataPending[s]=r,(a||this[$.NOTIFY]&&this[$.NOTIFY][s])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[s]=n),!0):!1}_setProperty(s,r){this._setPendingProperty(s,r,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(s){this.__dataPendingClients=this.__dataPendingClients||[],s!==this&&this.__dataPendingClients.push(s)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let s=this.__dataPendingClients;if(s){this.__dataPendingClients=null;for(let r=0;r<s.length;r++){let n=s[r];n.__dataEnabled?n.__dataPending&&n._flushProperties():n._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(s,r){for(let n in s)(r||!this[$.READ_ONLY]||!this[$.READ_ONLY][n])&&this._setPendingPropertyOrPath(n,s[n],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(s,r,n){let a=this.__dataHasPaths;this.__dataHasPaths=!1;let l;ha(this,r,n,a),l=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(r,n,a),this._flushClients(),et(this,this[$.REFLECT],r,n,a),et(this,this[$.OBSERVE],r,n,a),l&&aa(this,l,r,n,a),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(s,r,n){this[$.PROPAGATE]&&et(this,this[$.PROPAGATE],s,r,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,s,r,n)}_runEffectsForTemplate(s,r,n,a){const l=(u,d)=>{et(this,s.propertyEffects,u,n,d,s.nodeList);for(let h=s.firstChild;h;h=h.nextSibling)this._runEffectsForTemplate(h,u,n,d)};s.runEffects?s.runEffects(l,r,a):l(r,a)}linkPaths(s,r){s=Qe(s),r=Qe(r),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[s]=r}unlinkPaths(s){s=Qe(s),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[s]}notifySplices(s,r){let n={path:""},a=ue(this,s,n);Ls(this,a,n.path,r)}get(s,r){return ue(r||this,s)}set(s,r,n){n?go(n,s,r):(!this[$.READ_ONLY]||!this[$.READ_ONLY][s])&&this._setPendingPropertyOrPath(s,r,!0)&&this._invalidateProperties()}push(s,...r){let n={path:""},a=ue(this,s,n),l=a.length,u=a.push(...r);return r.length&&Ge(this,a,n.path,l,r.length,[]),u}pop(s){let r={path:""},n=ue(this,s,r),a=!!n.length,l=n.pop();return a&&Ge(this,n,r.path,n.length,0,[l]),l}splice(s,r,n,...a){let l={path:""},u=ue(this,s,l);r<0?r=u.length-Math.floor(-r):r&&(r=Math.floor(r));let d;return arguments.length===2?d=u.splice(r):d=u.splice(r,n,...a),(a.length||d.length)&&Ge(this,u,l.path,r,a.length,d),d}shift(s){let r={path:""},n=ue(this,s,r),a=!!n.length,l=n.shift();return a&&Ge(this,n,r.path,0,0,[l]),l}unshift(s,...r){let n={path:""},a=ue(this,s,n),l=a.unshift(...r);return r.length&&Ge(this,a,n.path,0,r.length,[]),l}notifyPath(s,r){let n;if(arguments.length==1){let a={path:""};r=ue(this,s,a),n=a.path}else Array.isArray(s)?n=Qe(s):n=s;this._setPendingPropertyOrPath(n,r,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(s,r){this._addPropertyEffect(s,$.READ_ONLY),r&&(this["_set"+$a(s)]=function(n){this._setProperty(s,n)})}_createPropertyObserver(s,r,n){let a={property:s,method:r,dynamicFn:!!n};this._addPropertyEffect(s,$.OBSERVE,{fn:bo,info:a,trigger:{name:s}}),n&&this._addPropertyEffect(r,$.OBSERVE,{fn:bo,info:a,trigger:{name:r}})}_createMethodObserver(s,r){let n=Ut(s);if(!n)throw new Error("Malformed observer expression '"+s+"'");wo(this,n,$.OBSERVE,li,null,r)}_createNotifyingProperty(s){this._addPropertyEffect(s,$.NOTIFY,{fn:ca,info:{eventName:It(s)+"-changed",property:s}})}_createReflectedProperty(s){let r=this.constructor.attributeNameForProperty(s);r[0]==="-"?console.warn("Property "+s+" cannot be reflected to attribute "+r+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(s,$.REFLECT,{fn:da,info:{attrName:r}})}_createComputedProperty(s,r,n){let a=Ut(r);if(!a)throw new Error("Malformed computed expression '"+r+"'");const l=wo(this,a,$.COMPUTE,Fs,s,n);Yt(this,Os)[s]=l}_marshalArgs(s,r,n){const a=this.__data,l=[];for(let u=0,d=s.length;u<d;u++){let{name:h,structured:p,wildcard:f,value:y,literal:m}=s[u];if(!m)if(f){const b=lt(h,r),D=Co(a,n,b?r:h);y={path:b?r:h,value:D,base:b?ue(a,h):D}}else y=p?Co(a,n,h):a[h];if(ri&&!this._overrideLegacyUndefined&&y===void 0&&s.length>1)return dt;l[u]=y}return l}static addPropertyEffect(s,r,n){this.prototype._addPropertyEffect(s,r,n)}static createPropertyObserver(s,r,n){this.prototype._createPropertyObserver(s,r,n)}static createMethodObserver(s,r){this.prototype._createMethodObserver(s,r)}static createNotifyingProperty(s){this.prototype._createNotifyingProperty(s)}static createReadOnlyProperty(s,r){this.prototype._createReadOnlyProperty(s,r)}static createReflectedProperty(s){this.prototype._createReflectedProperty(s)}static createComputedProperty(s,r,n){this.prototype._createComputedProperty(s,r,n)}static bindTemplate(s){return this.prototype._bindTemplate(s)}_bindTemplate(s,r){let n=this.constructor._parseTemplate(s),a=this.__preBoundTemplateInfo==n;if(!a)for(let l in n.propertyEffects)this._createPropertyAccessor(l);if(r)if(n=Object.create(n),n.wasPreBound=a,!this.__templateInfo)this.__templateInfo=n;else{const l=s._parentTemplateInfo||this.__templateInfo,u=l.lastChild;n.parent=l,l.lastChild=n,n.previousSibling=u,u?u.nextSibling=n:l.firstChild=n}else this.__preBoundTemplateInfo=n;return n}static _addTemplatePropertyEffect(s,r,n){let a=s.hostProps=s.hostProps||{};a[r]=!0;let l=s.propertyEffects=s.propertyEffects||{};(l[r]=l[r]||[]).push(n)}_stampTemplate(s,r){r=r||this._bindTemplate(s,!0),Je.push(this);let n=super._stampTemplate(s,r);if(Je.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,wa(this,r),this.__dataClientsReady&&(this._runEffectsForTemplate(r,this.__data,null,!1),this._flushClients()),n}_removeBoundDom(s){const r=s.templateInfo,{previousSibling:n,nextSibling:a,parent:l}=r;n?n.nextSibling=a:l&&(l.firstChild=a),a?a.previousSibling=n:l&&(l.lastChild=n),r.nextSibling=r.previousSibling=null;let u=r.childNodes;for(let d=0;d<u.length;d++){let h=u[d];se(se(h).parentNode).removeChild(h)}}static _parseTemplateNode(s,r,n){let a=t._parseTemplateNode.call(this,s,r,n);if(s.nodeType===Node.TEXT_NODE){let l=this._parseBindings(s.textContent,r);l&&(s.textContent=Ao(l)||" ",jt(this,r,n,"text","textContent",l),a=!0)}return a}static _parseTemplateNodeAttribute(s,r,n,a,l){let u=this._parseBindings(l,r);if(u){let d=a,h="property";ra.test(a)?h="attribute":a[a.length-1]=="$"&&(a=a.slice(0,-1),h="attribute");let p=Ao(u);return p&&h=="attribute"&&(a=="class"&&s.hasAttribute("class")&&(p+=" "+s.getAttribute(a)),s.setAttribute(a,p)),h=="attribute"&&d=="disable-upgrade$"&&s.setAttribute(a,""),s.localName==="input"&&d==="value"&&s.setAttribute(d,""),s.removeAttribute(d),h==="property"&&(a=As(a)),jt(this,r,n,h,a,u,p),!0}else return t._parseTemplateNodeAttribute.call(this,s,r,n,a,l)}static _parseTemplateNestedTemplate(s,r,n){let a=t._parseTemplateNestedTemplate.call(this,s,r,n);const l=s.parentNode,u=n.templateInfo,d=l.localName==="dom-if",h=l.localName==="dom-repeat";uo&&(d||h)&&(l.removeChild(s),n=n.parentInfo,n.templateInfo=u,n.noted=!0,a=!1);let p=u.hostProps;if(Pn&&d)p&&(r.hostProps=Object.assign(r.hostProps||{},p),uo||(n.parentInfo.noted=!0));else{let f="{";for(let y in p){let m=[{mode:f,source:y,dependencies:[y],hostProp:!0}];jt(this,r,n,"property","_host_"+y,m)}}return a}static _parseBindings(s,r){let n=[],a=0,l;for(;(l=So.exec(s))!==null;){l.index>a&&n.push({literal:s.slice(a,l.index)});let u=l[1][0],d=!!l[2],h=l[3].trim(),p=!1,f="",y=-1;u=="{"&&(y=h.indexOf("::"))>0&&(f=h.substring(y+2),h=h.substring(0,y),p=!0);let m=Ut(h),b=[];if(m){let{args:D,methodName:C}=m;for(let O=0;O<D.length;O++){let N=D[O];N.literal||b.push(N)}let I=r.dynamicFns;(I&&I[C]||m.static)&&(b.push(C),m.dynamicFn=!0)}else b.push(h);n.push({source:h,mode:u,negate:d,customEvent:p,signature:m,dependencies:b,event:f}),a=So.lastIndex}if(a&&a<s.length){let u=s.substring(a);u&&n.push({literal:u})}return n.length?n:null}static _evaluateBinding(s,r,n,a,l,u){let d;return r.signature?d=li(s,n,a,l,r.signature):n!=r.source?d=ue(s,r.source):u&&ni(n)?d=ue(s,n):d=s.__data[n],r.negate&&(d=!d),d}}return e}),Je=[];/**
2034
+ */let ut=0;const dt=[],$={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},Os="__computeInfo",ra=/[A-Z]/;function Yt(o,t,e){let i=o[t];if(!i)i=o[t]={};else if(!o.hasOwnProperty(t)&&(i=o[t]=Object.create(o[t]),e))for(let s in i){let r=i[s],n=i[s]=Array(r.length);for(let a=0;a<r.length;a++)n[a]=r[a]}return i}function et(o,t,e,i,s,r){if(t){let n=!1;const a=ut++;for(let l in e){let u=s?Ie(l):l,d=t[u];if(d)for(let h=0,p=d.length,f;h<p&&(f=d[h]);h++)(!f.info||f.info.lastRun!==a)&&(!s||Ii(l,f.trigger))&&(f.info&&(f.info.lastRun=a),f.fn(o,l,e,i,f.info,s,r),n=!0)}return n}return!1}function na(o,t,e,i,s,r,n,a){let l=!1,u=n?Ie(i):i,d=t[u];if(d)for(let h=0,p=d.length,f;h<p&&(f=d[h]);h++)(!f.info||f.info.lastRun!==e)&&(!n||Ii(i,f.trigger))&&(f.info&&(f.info.lastRun=e),f.fn(o,i,s,r,f.info,n,a),l=!0);return l}function Ii(o,t){if(t){let e=t.name;return e==o||!!(t.structured&&Es(e,o))||!!(t.wildcard&&lt(e,o))}else return!0}function bo(o,t,e,i,s){let r=typeof s.method=="string"?o[s.method]:s.method,n=s.property;r?r.call(o,o.__data[n],i[n]):s.dynamicFn||console.warn("observer method `"+s.method+"` not defined")}function aa(o,t,e,i,s){let r=o[$.NOTIFY],n,a=ut++;for(let u in t)t[u]&&(r&&na(o,r,a,u,e,i,s)||s&&la(o,u,e))&&(n=!0);let l;n&&(l=o.__dataHost)&&l._invalidateProperties&&l._invalidateProperties()}function la(o,t,e){let i=Ie(t);if(i!==t){let s=It(i)+"-changed";return Is(o,s,e[t],t),!0}return!1}function Is(o,t,e,i){let s={value:e,queueProperty:!0};i&&(s.path=i),se(o).dispatchEvent(new CustomEvent(t,{detail:s}))}function ca(o,t,e,i,s,r){let a=(r?Ie(t):t)!=t?t:null,l=a?ue(o,a):o.__data[t];a&&l===void 0&&(l=e[t]),Is(o,s.eventName,l,a)}function ua(o,t,e,i,s){let r,n=o.detail,a=n&&n.path;a?(i=ct(e,i,a),r=n&&n.value):r=o.currentTarget[e],r=s?!r:r,(!t[$.READ_ONLY]||!t[$.READ_ONLY][i])&&t._setPendingPropertyOrPath(i,r,!0,!!a)&&(!n||!n.queueProperty)&&t._invalidateProperties()}function da(o,t,e,i,s){let r=o.__data[t];Ct&&(r=Ct(r,s.attrName,"attribute",o)),o._propertyToAttribute(t,s.attrName,r)}function ha(o,t,e,i){let s=o[$.COMPUTE];if(s)if(kn){ut++;const r=fa(o),n=[];for(let l in t)xo(l,s,n,r,i);let a;for(;a=n.shift();)Fs(o,"",t,e,a)&&xo(a.methodInfo,s,n,r,i);Object.assign(e,o.__dataOld),Object.assign(t,o.__dataPending),o.__dataPending=null}else{let r=t;for(;et(o,s,r,e,i);)Object.assign(e,o.__dataOld),Object.assign(t,o.__dataPending),r=o.__dataPending,o.__dataPending=null}}const pa=(o,t,e)=>{let i=0,s=t.length-1,r=-1;for(;i<=s;){const n=i+s>>1,a=e.get(t[n].methodInfo)-e.get(o.methodInfo);if(a<0)i=n+1;else if(a>0)s=n-1;else{r=n;break}}r<0&&(r=s+1),t.splice(r,0,o)},xo=(o,t,e,i,s)=>{const r=s?Ie(o):o,n=t[r];if(n)for(let a=0;a<n.length;a++){const l=n[a];l.info.lastRun!==ut&&(!s||Ii(o,l.trigger))&&(l.info.lastRun=ut,pa(l.info,e,i))}};function fa(o){let t=o.constructor.__orderedComputedDeps;if(!t){t=new Map;const e=o[$.COMPUTE];let{counts:i,ready:s,total:r}=ma(o),n;for(;n=s.shift();){t.set(n,t.size);const a=e[n];a&&a.forEach(l=>{const u=l.info.methodInfo;--r,--i[u]===0&&s.push(u)})}r!==0&&console.warn(`Computed graph for ${o.localName} incomplete; circular?`),o.constructor.__orderedComputedDeps=t}return t}function ma(o){const t=o[Os],e={},i=o[$.COMPUTE],s=[];let r=0;for(let n in t){const a=t[n];r+=e[n]=a.args.filter(l=>!l.literal).length+(a.dynamicFn?1:0)}for(let n in i)t[n]||s.push(n);return{counts:e,ready:s,total:r}}function Fs(o,t,e,i,s){let r=li(o,t,e,i,s);if(r===dt)return!1;let n=s.methodInfo;return o.__dataHasAccessor&&o.__dataHasAccessor[n]?o._setPendingProperty(n,r,!0):(o[n]=r,!1)}function _a(o,t,e){let i=o.__dataLinkedPaths;if(i){let s;for(let r in i){let n=i[r];lt(r,t)?(s=ct(r,n,t),o._setPendingPropertyOrPath(s,e,!0,!0)):lt(n,t)&&(s=ct(n,r,t),o._setPendingPropertyOrPath(s,e,!0,!0))}}}function jt(o,t,e,i,s,r,n){e.bindings=e.bindings||[];let a={kind:i,target:s,parts:r,literal:n,isCompound:r.length!==1};if(e.bindings.push(a),xa(a)){let{event:u,negate:d}=a.parts[0];a.listenerEvent=u||It(s)+"-changed",a.listenerNegate=d}let l=t.nodeInfoList.length;for(let u=0;u<a.parts.length;u++){let d=a.parts[u];d.compoundIndex=u,ga(o,t,a,d,l)}}function ga(o,t,e,i,s){if(!i.literal)if(e.kind==="attribute"&&e.target[0]==="-")console.warn("Cannot set attribute "+e.target+' because "-" is not a valid attribute starting character');else{let r=i.dependencies,n={index:s,binding:e,part:i,evaluator:o};for(let a=0;a<r.length;a++){let l=r[a];typeof l=="string"&&(l=zs(l),l.wildcard=!0),o._addTemplatePropertyEffect(t,l.rootProperty,{fn:va,info:n,trigger:l})}}}function va(o,t,e,i,s,r,n){let a=n[s.index],l=s.binding,u=s.part;if(r&&u.source&&t.length>u.source.length&&l.kind=="property"&&!l.isCompound&&a.__isPropertyEffectsClient&&a.__dataHasAccessor&&a.__dataHasAccessor[l.target]){let d=e[t];t=ct(u.source,l.target,t),a._setPendingPropertyOrPath(t,d,!1,!0)&&o._enqueueClient(a)}else{let d=s.evaluator._evaluateBinding(o,u,t,e,i,r);d!==dt&&ya(o,a,l,u,d)}}function ya(o,t,e,i,s){if(s=ba(t,s,e,i),Ct&&(s=Ct(s,e.target,e.kind,t)),e.kind=="attribute")o._valueToNodeAttribute(t,s,e.target);else{let r=e.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[r]?(!t[$.READ_ONLY]||!t[$.READ_ONLY][r])&&t._setPendingProperty(r,s)&&o._enqueueClient(t):o._setUnmanagedPropertyToNode(t,r,s)}}function ba(o,t,e,i){if(e.isCompound){let s=o.__dataCompoundStorage[e.target];s[i.compoundIndex]=t,t=s.join("")}return e.kind!=="attribute"&&(e.target==="textContent"||e.target==="value"&&(o.localName==="input"||o.localName==="textarea"))&&(t=t==null?"":t),t}function xa(o){return!!o.target&&o.kind!="attribute"&&o.kind!="text"&&!o.isCompound&&o.parts[0].mode==="{"}function wa(o,t){let{nodeList:e,nodeInfoList:i}=t;if(i.length)for(let s=0;s<i.length;s++){let r=i[s],n=e[s],a=r.bindings;if(a)for(let l=0;l<a.length;l++){let u=a[l];Ea(n,u),Sa(n,o,u)}n.__dataHost=o}}function Ea(o,t){if(t.isCompound){let e=o.__dataCompoundStorage||(o.__dataCompoundStorage={}),i=t.parts,s=new Array(i.length);for(let n=0;n<i.length;n++)s[n]=i[n].literal;let r=t.target;e[r]=s,t.literal&&t.kind=="property"&&(r==="className"&&(o=se(o)),o[r]=t.literal)}}function Sa(o,t,e){if(e.listenerEvent){let i=e.parts[0];o.addEventListener(e.listenerEvent,function(s){ua(s,t,e.target,i.source,i.negate)})}}function wo(o,t,e,i,s,r){r=t.static||r&&(typeof r!="object"||r[t.methodName]);let n={methodName:t.methodName,args:t.args,methodInfo:s,dynamicFn:r};for(let a=0,l;a<t.args.length&&(l=t.args[a]);a++)l.literal||o._addPropertyEffect(l.rootProperty,e,{fn:i,info:n,trigger:l});return r&&o._addPropertyEffect(t.methodName,e,{fn:i,info:n}),n}function li(o,t,e,i,s){let r=o._methodHost||o,n=r[s.methodName];if(n){let a=o._marshalArgs(s.args,t,e);return a===dt?dt:n.apply(r,a)}else s.dynamicFn||console.warn("method `"+s.methodName+"` not defined")}const Aa=[],Ns="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Ca="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",Da="(?:'(?:[^'\\\\]|\\\\.)*')",ka='(?:"(?:[^"\\\\]|\\\\.)*")',Pa="(?:"+Da+"|"+ka+")",Eo="(?:("+Ns+"|"+Ca+"|"+Pa+")\\s*)",Ta="(?:"+Eo+"(?:,\\s*"+Eo+")*)",Ma="(?:\\(\\s*(?:"+Ta+"?)\\)\\s*)",Oa="("+Ns+"\\s*"+Ma+"?)",Ia="(\\[\\[|{{)\\s*",Fa="(?:]]|}})",Na="(?:(!)\\s*)?",za=Ia+Na+Oa+Fa,So=new RegExp(za,"g");function Ao(o){let t="";for(let e=0;e<o.length;e++){let i=o[e].literal;t+=i||""}return t}function Ut(o){let t=o.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let i={methodName:t[1],static:!0,args:Aa};if(t[2].trim()){let s=t[2].replace(/\\,/g,"&comma;").split(",");return La(s,i)}else return i}return null}function La(o,t){return t.args=o.map(function(e){let i=zs(e);return i.literal||(t.static=!1),i},this),t}function zs(o){let t=o.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),e={name:t,value:"",literal:!1},i=t[0];switch(i==="-"&&(i=t[1]),i>="0"&&i<="9"&&(i="#"),i){case"'":case'"':e.value=t.slice(1,-1),e.literal=!0;break;case"#":e.value=Number(t),e.literal=!0;break}return e.literal||(e.rootProperty=Ie(t),e.structured=ni(t),e.structured&&(e.wildcard=t.slice(-2)==".*",e.wildcard&&(e.name=t.slice(0,-2)))),e}function Co(o,t,e){let i=ue(o,e);return i===void 0&&(i=t[e]),i}function Ls(o,t,e,i){const s={indexSplices:i};ri&&!o._overrideLegacyUndefined&&(t.splices=s),o.notifyPath(e+".splices",s),o.notifyPath(e+".length",t.length),ri&&!o._overrideLegacyUndefined&&(s.indexSplices=[])}function Ge(o,t,e,i,s,r){Ls(o,t,e,[{index:i,addedCount:s,removed:r,object:t,type:"splice"}])}function $a(o){return o[0].toUpperCase()+o.substring(1)}const Fi=ee(o=>{const t=sa(Kn(o));class e extends t{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return $}_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(Je.length){let s=Je[Je.length-1];s._enqueueClient(this),this.__dataHost=s}}_initializeProtoProperties(s){this.__data=Object.create(s),this.__dataPending=Object.create(s),this.__dataOld={}}_initializeInstanceProperties(s){let r=this[$.READ_ONLY];for(let n in s)(!r||!r[n])&&(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=s[n])}_addPropertyEffect(s,r,n){this._createPropertyAccessor(s,r==$.READ_ONLY);let a=Yt(this,r,!0)[s];a||(a=this[r][s]=[]),a.push(n)}_removePropertyEffect(s,r,n){let a=Yt(this,r,!0)[s],l=a.indexOf(n);l>=0&&a.splice(l,1)}_hasPropertyEffect(s,r){let n=this[r];return!!(n&&n[s])}_hasReadOnlyEffect(s){return this._hasPropertyEffect(s,$.READ_ONLY)}_hasNotifyEffect(s){return this._hasPropertyEffect(s,$.NOTIFY)}_hasReflectEffect(s){return this._hasPropertyEffect(s,$.REFLECT)}_hasComputedEffect(s){return this._hasPropertyEffect(s,$.COMPUTE)}_setPendingPropertyOrPath(s,r,n,a){if(a||Ie(Array.isArray(s)?s[0]:s)!==s){if(!a){let l=ue(this,s);if(s=go(this,s,r),!s||!super._shouldPropertyChange(s,r,l))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(s,r,n))return _a(this,s,r),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[s])return this._setPendingProperty(s,r,n);this[s]=r}return!1}_setUnmanagedPropertyToNode(s,r,n){(n!==s[r]||typeof n=="object")&&(r==="className"&&(s=se(s)),s[r]=n)}_setPendingProperty(s,r,n){let a=this.__dataHasPaths&&ni(s),l=a?this.__dataTemp:this.__data;return this._shouldPropertyChange(s,r,l[s])?(this.__dataPending||(this.__dataPending={},this.__dataOld={}),s in this.__dataOld||(this.__dataOld[s]=this.__data[s]),a?this.__dataTemp[s]=r:this.__data[s]=r,this.__dataPending[s]=r,(a||this[$.NOTIFY]&&this[$.NOTIFY][s])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[s]=n),!0):!1}_setProperty(s,r){this._setPendingProperty(s,r,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(s){this.__dataPendingClients=this.__dataPendingClients||[],s!==this&&this.__dataPendingClients.push(s)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let s=this.__dataPendingClients;if(s){this.__dataPendingClients=null;for(let r=0;r<s.length;r++){let n=s[r];n.__dataEnabled?n.__dataPending&&n._flushProperties():n._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(s,r){for(let n in s)(r||!this[$.READ_ONLY]||!this[$.READ_ONLY][n])&&this._setPendingPropertyOrPath(n,s[n],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(s,r,n){let a=this.__dataHasPaths;this.__dataHasPaths=!1;let l;ha(this,r,n,a),l=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(r,n,a),this._flushClients(),et(this,this[$.REFLECT],r,n,a),et(this,this[$.OBSERVE],r,n,a),l&&aa(this,l,r,n,a),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(s,r,n){this[$.PROPAGATE]&&et(this,this[$.PROPAGATE],s,r,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,s,r,n)}_runEffectsForTemplate(s,r,n,a){const l=(u,d)=>{et(this,s.propertyEffects,u,n,d,s.nodeList);for(let h=s.firstChild;h;h=h.nextSibling)this._runEffectsForTemplate(h,u,n,d)};s.runEffects?s.runEffects(l,r,a):l(r,a)}linkPaths(s,r){s=Qe(s),r=Qe(r),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[s]=r}unlinkPaths(s){s=Qe(s),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[s]}notifySplices(s,r){let n={path:""},a=ue(this,s,n);Ls(this,a,n.path,r)}get(s,r){return ue(r||this,s)}set(s,r,n){n?go(n,s,r):(!this[$.READ_ONLY]||!this[$.READ_ONLY][s])&&this._setPendingPropertyOrPath(s,r,!0)&&this._invalidateProperties()}push(s,...r){let n={path:""},a=ue(this,s,n),l=a.length,u=a.push(...r);return r.length&&Ge(this,a,n.path,l,r.length,[]),u}pop(s){let r={path:""},n=ue(this,s,r),a=!!n.length,l=n.pop();return a&&Ge(this,n,r.path,n.length,0,[l]),l}splice(s,r,n,...a){let l={path:""},u=ue(this,s,l);r<0?r=u.length-Math.floor(-r):r&&(r=Math.floor(r));let d;return arguments.length===2?d=u.splice(r):d=u.splice(r,n,...a),(a.length||d.length)&&Ge(this,u,l.path,r,a.length,d),d}shift(s){let r={path:""},n=ue(this,s,r),a=!!n.length,l=n.shift();return a&&Ge(this,n,r.path,0,0,[l]),l}unshift(s,...r){let n={path:""},a=ue(this,s,n),l=a.unshift(...r);return r.length&&Ge(this,a,n.path,0,r.length,[]),l}notifyPath(s,r){let n;if(arguments.length==1){let a={path:""};r=ue(this,s,a),n=a.path}else Array.isArray(s)?n=Qe(s):n=s;this._setPendingPropertyOrPath(n,r,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(s,r){this._addPropertyEffect(s,$.READ_ONLY),r&&(this["_set"+$a(s)]=function(n){this._setProperty(s,n)})}_createPropertyObserver(s,r,n){let a={property:s,method:r,dynamicFn:!!n};this._addPropertyEffect(s,$.OBSERVE,{fn:bo,info:a,trigger:{name:s}}),n&&this._addPropertyEffect(r,$.OBSERVE,{fn:bo,info:a,trigger:{name:r}})}_createMethodObserver(s,r){let n=Ut(s);if(!n)throw new Error("Malformed observer expression '"+s+"'");wo(this,n,$.OBSERVE,li,null,r)}_createNotifyingProperty(s){this._addPropertyEffect(s,$.NOTIFY,{fn:ca,info:{eventName:It(s)+"-changed",property:s}})}_createReflectedProperty(s){let r=this.constructor.attributeNameForProperty(s);r[0]==="-"?console.warn("Property "+s+" cannot be reflected to attribute "+r+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(s,$.REFLECT,{fn:da,info:{attrName:r}})}_createComputedProperty(s,r,n){let a=Ut(r);if(!a)throw new Error("Malformed computed expression '"+r+"'");const l=wo(this,a,$.COMPUTE,Fs,s,n);Yt(this,Os)[s]=l}_marshalArgs(s,r,n){const a=this.__data,l=[];for(let u=0,d=s.length;u<d;u++){let{name:h,structured:p,wildcard:f,value:y,literal:m}=s[u];if(!m)if(f){const b=lt(h,r),D=Co(a,n,b?r:h);y={path:b?r:h,value:D,base:b?ue(a,h):D}}else y=p?Co(a,n,h):a[h];if(ri&&!this._overrideLegacyUndefined&&y===void 0&&s.length>1)return dt;l[u]=y}return l}static addPropertyEffect(s,r,n){this.prototype._addPropertyEffect(s,r,n)}static createPropertyObserver(s,r,n){this.prototype._createPropertyObserver(s,r,n)}static createMethodObserver(s,r){this.prototype._createMethodObserver(s,r)}static createNotifyingProperty(s){this.prototype._createNotifyingProperty(s)}static createReadOnlyProperty(s,r){this.prototype._createReadOnlyProperty(s,r)}static createReflectedProperty(s){this.prototype._createReflectedProperty(s)}static createComputedProperty(s,r,n){this.prototype._createComputedProperty(s,r,n)}static bindTemplate(s){return this.prototype._bindTemplate(s)}_bindTemplate(s,r){let n=this.constructor._parseTemplate(s),a=this.__preBoundTemplateInfo==n;if(!a)for(let l in n.propertyEffects)this._createPropertyAccessor(l);if(r)if(n=Object.create(n),n.wasPreBound=a,!this.__templateInfo)this.__templateInfo=n;else{const l=s._parentTemplateInfo||this.__templateInfo,u=l.lastChild;n.parent=l,l.lastChild=n,n.previousSibling=u,u?u.nextSibling=n:l.firstChild=n}else this.__preBoundTemplateInfo=n;return n}static _addTemplatePropertyEffect(s,r,n){let a=s.hostProps=s.hostProps||{};a[r]=!0;let l=s.propertyEffects=s.propertyEffects||{};(l[r]=l[r]||[]).push(n)}_stampTemplate(s,r){r=r||this._bindTemplate(s,!0),Je.push(this);let n=super._stampTemplate(s,r);if(Je.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,wa(this,r),this.__dataClientsReady&&(this._runEffectsForTemplate(r,this.__data,null,!1),this._flushClients()),n}_removeBoundDom(s){const r=s.templateInfo,{previousSibling:n,nextSibling:a,parent:l}=r;n?n.nextSibling=a:l&&(l.firstChild=a),a?a.previousSibling=n:l&&(l.lastChild=n),r.nextSibling=r.previousSibling=null;let u=r.childNodes;for(let d=0;d<u.length;d++){let h=u[d];se(se(h).parentNode).removeChild(h)}}static _parseTemplateNode(s,r,n){let a=t._parseTemplateNode.call(this,s,r,n);if(s.nodeType===Node.TEXT_NODE){let l=this._parseBindings(s.textContent,r);l&&(s.textContent=Ao(l)||" ",jt(this,r,n,"text","textContent",l),a=!0)}return a}static _parseTemplateNodeAttribute(s,r,n,a,l){let u=this._parseBindings(l,r);if(u){let d=a,h="property";ra.test(a)?h="attribute":a[a.length-1]=="$"&&(a=a.slice(0,-1),h="attribute");let p=Ao(u);return p&&h=="attribute"&&(a=="class"&&s.hasAttribute("class")&&(p+=" "+s.getAttribute(a)),s.setAttribute(a,p)),h=="attribute"&&d=="disable-upgrade$"&&s.setAttribute(a,""),s.localName==="input"&&d==="value"&&s.setAttribute(d,""),s.removeAttribute(d),h==="property"&&(a=As(a)),jt(this,r,n,h,a,u,p),!0}else return t._parseTemplateNodeAttribute.call(this,s,r,n,a,l)}static _parseTemplateNestedTemplate(s,r,n){let a=t._parseTemplateNestedTemplate.call(this,s,r,n);const l=s.parentNode,u=n.templateInfo,d=l.localName==="dom-if",h=l.localName==="dom-repeat";uo&&(d||h)&&(l.removeChild(s),n=n.parentInfo,n.templateInfo=u,n.noted=!0,a=!1);let p=u.hostProps;if(Pn&&d)p&&(r.hostProps=Object.assign(r.hostProps||{},p),uo||(n.parentInfo.noted=!0));else{let f="{";for(let y in p){let m=[{mode:f,source:y,dependencies:[y],hostProp:!0}];jt(this,r,n,"property","_host_"+y,m)}}return a}static _parseBindings(s,r){let n=[],a=0,l;for(;(l=So.exec(s))!==null;){l.index>a&&n.push({literal:s.slice(a,l.index)});let u=l[1][0],d=!!l[2],h=l[3].trim(),p=!1,f="",y=-1;u=="{"&&(y=h.indexOf("::"))>0&&(f=h.substring(y+2),h=h.substring(0,y),p=!0);let m=Ut(h),b=[];if(m){let{args:D,methodName:C}=m;for(let O=0;O<D.length;O++){let N=D[O];N.literal||b.push(N)}let I=r.dynamicFns;(I&&I[C]||m.static)&&(b.push(C),m.dynamicFn=!0)}else b.push(h);n.push({source:h,mode:u,negate:d,customEvent:p,signature:m,dependencies:b,event:f}),a=So.lastIndex}if(a&&a<s.length){let u=s.substring(a);u&&n.push({literal:u})}return n.length?n:null}static _evaluateBinding(s,r,n,a,l,u){let d;return r.signature?d=li(s,n,a,l,r.signature):n!=r.source?d=ue(s,r.source):u&&ni(n)?d=ue(s,n):d=s.__data[n],r.negate&&(d=!d),d}}return e}),Je=[];/**
2035
2035
  @license
2036
2036
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2037
2037
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -2047,7 +2047,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
2047
2047
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2048
2048
  Code distributed by Google as part of the polymer project is also
2049
2049
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2050
- */function Ra(o){const t={};for(let e in o){const i=o[e];t[e]=typeof i=="function"?{type:i}:i}return t}const Ha=Q(o=>{const t=Ps(o);function e(r){const n=Object.getPrototypeOf(r);return n.prototype instanceof s?n:null}function i(r){if(!r.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",r))){let n=null;if(r.hasOwnProperty(JSCompiler_renameProperty("properties",r))){const a=r.properties;a&&(n=Ra(a))}r.__ownProperties=n}return r.__ownProperties}class s 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=i(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,i(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 s});/**
2050
+ */function Ra(o){const t={};for(let e in o){const i=o[e];t[e]=typeof i=="function"?{type:i}:i}return t}const Ha=ee(o=>{const t=Ps(o);function e(r){const n=Object.getPrototypeOf(r);return n.prototype instanceof s?n:null}function i(r){if(!r.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",r))){let n=null;if(r.hasOwnProperty(JSCompiler_renameProperty("properties",r))){const a=r.properties;a&&(n=Ra(a))}r.__ownProperties=n}return r.__ownProperties}class s 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=i(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,i(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 s});/**
2051
2051
  * @fileoverview
2052
2052
  * @suppress {checkPrototypalTypes}
2053
2053
  * @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -2057,7 +2057,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2057
2057
  * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
2058
2058
  * Google as part of the polymer project is also subject to an additional IP
2059
2059
  * rights grant found at http://polymer.github.io/PATENTS.txt
2060
- */const Ba="3.5.2",Do=window.ShadyCSS&&window.ShadyCSS.cssBuild,Ya=Q(o=>{const t=Ha(Fi(o));function e(l){if(!l.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",l))){l.__propertyDefaults=null;let u=l._properties;for(let d in u){let h=u[d];"value"in h&&(l.__propertyDefaults=l.__propertyDefaults||{},l.__propertyDefaults[d]=h)}}return l.__propertyDefaults}function i(l){return l.hasOwnProperty(JSCompiler_renameProperty("__ownObservers",l))||(l.__ownObservers=l.hasOwnProperty(JSCompiler_renameProperty("observers",l))?l.observers:null),l.__ownObservers}function s(l,u,d,h){d.computed&&(d.readOnly=!0),d.computed&&(l._hasReadOnlyEffect(u)?console.warn(`Cannot redefine computed property '${u}'.`):l._createComputedProperty(u,d.computed,h)),d.readOnly&&!l._hasReadOnlyEffect(u)?l._createReadOnlyProperty(u,!d.computed):d.readOnly===!1&&l._hasReadOnlyEffect(u)&&console.warn(`Cannot make readOnly property '${u}' non-readOnly.`),d.reflectToAttribute&&!l._hasReflectEffect(u)?l._createReflectedProperty(u):d.reflectToAttribute===!1&&l._hasReflectEffect(u)&&console.warn(`Cannot make reflected property '${u}' non-reflected.`),d.notify&&!l._hasNotifyEffect(u)?l._createNotifyingProperty(u):d.notify===!1&&l._hasNotifyEffect(u)&&console.warn(`Cannot make notify property '${u}' non-notify.`),d.observer&&l._createPropertyObserver(u,d.observer,h[d.observer]),l._addPropertyToAttributeMap(u)}function r(l,u,d,h){if(!Do){const p=u.content.querySelectorAll("style"),f=xs(u),y=Ln(d),m=u.content.firstElementChild;for(let D=0;D<y.length;D++){let C=y[D];C.textContent=l._processStyleText(C.textContent,h),u.content.insertBefore(C,m)}let b=0;for(let D=0;D<f.length;D++){let C=f[D],I=p[b];I!==C?(C=C.cloneNode(!0),I.parentNode.insertBefore(C,I)):b++,C.textContent=l._processStyleText(C.textContent,h)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(u,d),Tn&&Do&&Sn){const p=u.content.querySelectorAll("style");if(p){let f="";Array.from(p).forEach(y=>{f+=y.textContent,y.parentNode.removeChild(y)}),l._styleSheet=new CSSStyleSheet,l._styleSheet.replaceSync(f)}}}function n(l){let u=null;if(l&&(!Dt||Cn)&&(u=at.import(l,"template"),Dt&&!u))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);return u}class a extends t{static get polymerElementVersion(){return Ba}static _finalizeClass(){t._finalizeClass.call(this);const u=i(this);u&&this.createObservers(u,this._properties),this._prepareTemplate()}static _prepareTemplate(){let u=this.template;u&&(typeof u=="string"?(console.error("template getter must return HTMLTemplateElement"),u=null):gs||(u=u.cloneNode(!0))),this.prototype._template=u}static createProperties(u){for(let d in u)s(this.prototype,d,u[d],u)}static createObservers(u,d){const h=this.prototype;for(let p=0;p<u.length;p++)h._createMethodObserver(u[p],d)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let u=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;typeof u=="function"&&(u=u()),this._template=u!==void 0?u:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&n(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(u){this._template=u}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const u=this.importMeta;if(u)this._importPath=Mi(u.url);else{const d=at.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=An,this.importPath=this.constructor.importPath;let u=e(this.constructor);if(u)for(let d in u){let h=u[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(u){return!this.hasOwnProperty(u)}static _processStyleText(u,d){return Ti(u,d)}static _finalizeTemplate(u){const d=this.prototype._template;if(d&&!d.__polymerFinalized){d.__polymerFinalized=!0;const h=this.importPath,p=h?ot(h):"";r(this,d,u,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(u){const d=se(this);if(d.attachShadow)return u?(d.shadowRoot||(d.attachShadow({mode:"open",shadyUpgradeFragment:u}),d.shadowRoot.appendChild(u),this.constructor._styleSheet&&(d.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),Dn&&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(u){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,u)}resolveUrl(u,d){return!d&&this.importPath&&(d=ot(this.importPath)),ot(u,d)}static _parseTemplateContent(u,d,h){return d.dynamicFns=d.dynamicFns||this._properties,t._parseTemplateContent.call(this,u,d,h)}static _addTemplatePropertyEffect(u,d,h){return vs&&!(d in this._properties)&&!(h.info.part.signature&&h.info.part.signature.static)&&!h.info.part.hostProp&&!u.nestedTemplate&&console.warn(`Property '${d}' used in template but not declared in 'properties'; attribute will not be observed.`),t._addTemplatePropertyEffect.call(this,u,d,h)}}return a});/**
2060
+ */const Ba="3.5.2",Do=window.ShadyCSS&&window.ShadyCSS.cssBuild,Ya=ee(o=>{const t=Ha(Fi(o));function e(l){if(!l.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",l))){l.__propertyDefaults=null;let u=l._properties;for(let d in u){let h=u[d];"value"in h&&(l.__propertyDefaults=l.__propertyDefaults||{},l.__propertyDefaults[d]=h)}}return l.__propertyDefaults}function i(l){return l.hasOwnProperty(JSCompiler_renameProperty("__ownObservers",l))||(l.__ownObservers=l.hasOwnProperty(JSCompiler_renameProperty("observers",l))?l.observers:null),l.__ownObservers}function s(l,u,d,h){d.computed&&(d.readOnly=!0),d.computed&&(l._hasReadOnlyEffect(u)?console.warn(`Cannot redefine computed property '${u}'.`):l._createComputedProperty(u,d.computed,h)),d.readOnly&&!l._hasReadOnlyEffect(u)?l._createReadOnlyProperty(u,!d.computed):d.readOnly===!1&&l._hasReadOnlyEffect(u)&&console.warn(`Cannot make readOnly property '${u}' non-readOnly.`),d.reflectToAttribute&&!l._hasReflectEffect(u)?l._createReflectedProperty(u):d.reflectToAttribute===!1&&l._hasReflectEffect(u)&&console.warn(`Cannot make reflected property '${u}' non-reflected.`),d.notify&&!l._hasNotifyEffect(u)?l._createNotifyingProperty(u):d.notify===!1&&l._hasNotifyEffect(u)&&console.warn(`Cannot make notify property '${u}' non-notify.`),d.observer&&l._createPropertyObserver(u,d.observer,h[d.observer]),l._addPropertyToAttributeMap(u)}function r(l,u,d,h){if(!Do){const p=u.content.querySelectorAll("style"),f=xs(u),y=Ln(d),m=u.content.firstElementChild;for(let D=0;D<y.length;D++){let C=y[D];C.textContent=l._processStyleText(C.textContent,h),u.content.insertBefore(C,m)}let b=0;for(let D=0;D<f.length;D++){let C=f[D],I=p[b];I!==C?(C=C.cloneNode(!0),I.parentNode.insertBefore(C,I)):b++,C.textContent=l._processStyleText(C.textContent,h)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(u,d),Tn&&Do&&Sn){const p=u.content.querySelectorAll("style");if(p){let f="";Array.from(p).forEach(y=>{f+=y.textContent,y.parentNode.removeChild(y)}),l._styleSheet=new CSSStyleSheet,l._styleSheet.replaceSync(f)}}}function n(l){let u=null;if(l&&(!Dt||Cn)&&(u=at.import(l,"template"),Dt&&!u))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);return u}class a extends t{static get polymerElementVersion(){return Ba}static _finalizeClass(){t._finalizeClass.call(this);const u=i(this);u&&this.createObservers(u,this._properties),this._prepareTemplate()}static _prepareTemplate(){let u=this.template;u&&(typeof u=="string"?(console.error("template getter must return HTMLTemplateElement"),u=null):gs||(u=u.cloneNode(!0))),this.prototype._template=u}static createProperties(u){for(let d in u)s(this.prototype,d,u[d],u)}static createObservers(u,d){const h=this.prototype;for(let p=0;p<u.length;p++)h._createMethodObserver(u[p],d)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let u=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;typeof u=="function"&&(u=u()),this._template=u!==void 0?u:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&n(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(u){this._template=u}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const u=this.importMeta;if(u)this._importPath=Mi(u.url);else{const d=at.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=An,this.importPath=this.constructor.importPath;let u=e(this.constructor);if(u)for(let d in u){let h=u[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(u){return!this.hasOwnProperty(u)}static _processStyleText(u,d){return Ti(u,d)}static _finalizeTemplate(u){const d=this.prototype._template;if(d&&!d.__polymerFinalized){d.__polymerFinalized=!0;const h=this.importPath,p=h?ot(h):"";r(this,d,u,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(u){const d=se(this);if(d.attachShadow)return u?(d.shadowRoot||(d.attachShadow({mode:"open",shadyUpgradeFragment:u}),d.shadowRoot.appendChild(u),this.constructor._styleSheet&&(d.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),Dn&&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(u){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,u)}resolveUrl(u,d){return!d&&this.importPath&&(d=ot(this.importPath)),ot(u,d)}static _parseTemplateContent(u,d,h){return d.dynamicFns=d.dynamicFns||this._properties,t._parseTemplateContent.call(this,u,d,h)}static _addTemplatePropertyEffect(u,d,h){return vs&&!(d in this._properties)&&!(h.info.part.signature&&h.info.part.signature.static)&&!h.info.part.hostProp&&!u.nestedTemplate&&console.warn(`Property '${d}' used in template but not declared in 'properties'; attribute will not be observed.`),t._addTemplatePropertyEffect.call(this,u,d,h)}}return a});/**
2061
2061
  @license
2062
2062
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2063
2063
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -2257,7 +2257,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2257
2257
  * @license
2258
2258
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2259
2259
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2260
- */const We=Q(o=>typeof o.prototype.addController=="function"?o:class extends o{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)}});/**
2260
+ */const We=ee(o=>typeof o.prototype.addController=="function"?o:class extends o{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)}});/**
2261
2261
  * @license
2262
2262
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
2263
2263
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -2918,11 +2918,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2918
2918
  * @license
2919
2919
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2920
2920
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2921
- */const rr=Q(o=>class extends o{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()}});/**
2921
+ */const rr=ee(o=>class extends o{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()}});/**
2922
2922
  * @license
2923
2923
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2924
2924
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2925
- */const Lt=Q(o=>class extends o{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){}});/**
2925
+ */const Lt=ee(o=>class extends o{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){}});/**
2926
2926
  * @license
2927
2927
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2928
2928
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -2930,7 +2930,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2930
2930
  * @license
2931
2931
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2932
2932
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2933
- */const ji=Q(o=>class extends o{get _keyboardActive(){return zi()}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}});/**
2933
+ */const ji=ee(o=>class extends o{get _keyboardActive(){return zi()}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}});/**
2934
2934
  * @license
2935
2935
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2936
2936
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -3095,7 +3095,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
3095
3095
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
3096
3096
  Code distributed by Google as part of the polymer project is also
3097
3097
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
3098
- */function Wi(o,t,e,i,s){let r;s&&(r=typeof e=="object"&&e!==null,r&&(i=o.__dataTemp[t]));let n=i!==e&&(i===i||e===e);return r&&n&&(o.__dataTemp[t]=e),n}const qi=Q(o=>{class t extends o{_shouldPropertyChange(i,s,r){return Wi(this,i,s,r,!0)}}return t}),yc=Q(o=>{class t extends o{static get properties(){return{mutableData:Boolean}}_shouldPropertyChange(i,s,r){return Wi(this,i,s,r,this.mutableData)}}return t});qi._mutablePropertyChange=Wi;/**
3098
+ */function Wi(o,t,e,i,s){let r;s&&(r=typeof e=="object"&&e!==null,r&&(i=o.__dataTemp[t]));let n=i!==e&&(i===i||e===e);return r&&n&&(o.__dataTemp[t]=e),n}const qi=ee(o=>{class t extends o{_shouldPropertyChange(i,s,r){return Wi(this,i,s,r,!0)}}return t}),yc=ee(o=>{class t extends o{static get properties(){return{mutableData:Boolean}}_shouldPropertyChange(i,s,r){return Wi(this,i,s,r,this.mutableData)}}return t});qi._mutablePropertyChange=Wi;/**
3099
3099
  @license
3100
3100
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
3101
3101
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -3329,15 +3329,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3329
3329
  * @license
3330
3330
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3331
3331
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3332
- */const mr=Q(o=>class extends ji(nr(o)){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,i){e?(e.disabled=this.disabled,this._addFocusListeners(e),this.__forwardTabIndex(this.tabindex)):i&&this._removeFocusListeners(i)}_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,i){super._disabledChanged(e,i),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)}});/**
3332
+ */const mr=ee(o=>class extends ji(nr(o)){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,i){e?(e.disabled=this.disabled,this._addFocusListeners(e),this.__forwardTabIndex(this.tabindex)):i&&this._removeFocusListeners(i)}_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,i){super._disabledChanged(e,i),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)}});/**
3333
3333
  * @license
3334
3334
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3335
3335
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3336
- */const Qt=new WeakMap;function Bc(o){return Qt.has(o)||Qt.set(o,new Set),Qt.get(o)}function Yc(o,t){const e=document.createElement("style");e.textContent=o,t===document?document.head.appendChild(e):t.insertBefore(e,t.firstChild)}const jc=Q(o=>class extends o{get slotStyles(){return{}}connectedCallback(){super.connectedCallback(),this.__applySlotStyles()}__applySlotStyles(){const e=this.getRootNode(),i=Bc(e);this.slotStyles.forEach(s=>{i.has(s)||(Yc(s,e),i.add(s))})}});/**
3336
+ */const Qt=new WeakMap;function Bc(o){return Qt.has(o)||Qt.set(o,new Set),Qt.get(o)}function Yc(o,t){const e=document.createElement("style");e.textContent=o,t===document?document.head.appendChild(e):t.insertBefore(e,t.firstChild)}const jc=ee(o=>class extends o{get slotStyles(){return{}}connectedCallback(){super.connectedCallback(),this.__applySlotStyles()}__applySlotStyles(){const e=this.getRootNode(),i=Bc(e);this.slotStyles.forEach(s=>{i.has(s)||(Yc(s,e),i.add(s))})}});/**
3337
3337
  * @license
3338
3338
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3339
3339
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3340
- */const _r=Q(o=>class extends o{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,i){e?this._addInputListeners(e):i&&this._removeInputListeners(i)}_hasInputValueChanged(e,i){(e||i)&&this.dispatchEvent(new CustomEvent("has-input-value-changed"))}__onInput(e){this._setHasInputValue(e),this._onInput(e)}_onInput(e){const i=e.composedPath()[0];this.__userInput=e.isTrusted,this.value=i.value,this.__userInput=!1}_onChange(e){}_toggleHasValue(e){this.toggleAttribute("has-value",e)}_valueChanged(e,i){this._toggleHasValue(this._hasValue),!(e===""&&i===void 0)&&(this.__userInput||this._forwardInputValue(e))}_setHasInputValue(e){const i=e.composedPath()[0];this._hasInputValue=i.value.length>0}});/**
3340
+ */const _r=ee(o=>class extends o{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,i){e?this._addInputListeners(e):i&&this._removeInputListeners(i)}_hasInputValueChanged(e,i){(e||i)&&this.dispatchEvent(new CustomEvent("has-input-value-changed"))}__onInput(e){this._setHasInputValue(e),this._onInput(e)}_onInput(e){const i=e.composedPath()[0];this.__userInput=e.isTrusted,this.value=i.value,this.__userInput=!1}_onChange(e){}_toggleHasValue(e){this.toggleAttribute("has-value",e)}_valueChanged(e,i){this._toggleHasValue(this._hasValue),!(e===""&&i===void 0)&&(this.__userInput||this._forwardInputValue(e))}_setHasInputValue(e){const i=e.composedPath()[0];this._hasInputValue=i.value.length>0}});/**
3341
3341
  * @license
3342
3342
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3343
3343
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -3373,11 +3373,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3373
3373
  * @license
3374
3374
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3375
3375
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3376
- */const Zc=Q(o=>class extends We(o){static get properties(){return{label:{type:String,observer:"_labelChanged"}}}constructor(){super(),this._labelController=new Xc(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)}});/**
3376
+ */const Zc=ee(o=>class extends We(o){static get properties(){return{label:{type:String,observer:"_labelChanged"}}}constructor(){super(),this._labelController=new Xc(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)}});/**
3377
3377
  * @license
3378
3378
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3379
3379
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3380
- */const yr=Q(o=>class extends o{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}});/**
3380
+ */const yr=ee(o=>class extends o{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}});/**
3381
3381
  * @license
3382
3382
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3383
3383
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -3385,11 +3385,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3385
3385
  * @license
3386
3386
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3387
3387
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3388
- */const eu=Q(o=>class extends o{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((i,s)=>{this._delegateAttribute(i,e[s])})}_delegatePropsChanged(...e){this.constructor.delegateProps.forEach((i,s)=>{this._delegateProperty(i,e[s])})}_delegateAttribute(e,i){this.stateTarget&&(e==="invalid"&&this._delegateAttribute("aria-invalid",i?"true":!1),typeof i=="boolean"?this.stateTarget.toggleAttribute(e,i):i?this.stateTarget.setAttribute(e,i):this.stateTarget.removeAttribute(e))}_delegateProperty(e,i){this.stateTarget&&(this.stateTarget[e]=i)}});/**
3388
+ */const eu=ee(o=>class extends o{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((i,s)=>{this._delegateAttribute(i,e[s])})}_delegatePropsChanged(...e){this.constructor.delegateProps.forEach((i,s)=>{this._delegateProperty(i,e[s])})}_delegateAttribute(e,i){this.stateTarget&&(e==="invalid"&&this._delegateAttribute("aria-invalid",i?"true":!1),typeof i=="boolean"?this.stateTarget.toggleAttribute(e,i):i?this.stateTarget.setAttribute(e,i):this.stateTarget.removeAttribute(e))}_delegateProperty(e,i){this.stateTarget&&(this.stateTarget[e]=i)}});/**
3389
3389
  * @license
3390
3390
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3391
3391
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3392
- */const br=Q(o=>class extends eu(yr(_r(o))){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(i=>this.__isValidConstraint(i))}_createConstraintsObserver(){this._createMethodObserver(`_constraintsChanged(stateTarget, ${this.constructor.constraints.join(", ")})`)}_constraintsChanged(e,...i){if(!e)return;const s=this._hasValidConstraints(i),r=this.__previousHasConstraints&&!s;(this._hasValue||this.invalid)&&s?this.validate():r&&this._setInvalid(!1),this.__previousHasConstraints=s}_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}});/**
3392
+ */const br=ee(o=>class extends eu(yr(_r(o))){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(i=>this.__isValidConstraint(i))}_createConstraintsObserver(){this._createMethodObserver(`_constraintsChanged(stateTarget, ${this.constructor.constraints.join(", ")})`)}_constraintsChanged(e,...i){if(!e)return;const s=this._hasValidConstraints(i),r=this.__previousHasConstraints&&!s;(this._hasValue||this.invalid)&&s?this.validate():r&&this._setInvalid(!1),this.__previousHasConstraints=s}_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}});/**
3393
3393
  * @license
3394
3394
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3395
3395
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -3552,4 +3552,4 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3552
3552
  ></vaadin-date-picker-overlay>
3553
3553
 
3554
3554
  <slot name="tooltip"></slot>
3555
- `}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new iu(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e},{uniqueIdPrefix:"search-input"})),this.addController(new ou(this.inputElement,this._labelController)),this._tooltipController=new er(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}}me(hu);if(typeof window!="undefined"){let o=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=o(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountModal-hE4QiaWT.cjs")).then(({default:t})=>{!customElements.get("player-account-modal")&&customElements.define("player-account-modal",t.element)})}if(typeof window!="undefined"){let o=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=o(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGeneralConfirmationModal-CTkrsADp.cjs")).then(t=>t.PlayerAccountGeneralConfirmationModal_ce).then(({default:t})=>{!customElements.get("player-account-general-confirmation-modal")&&customElements.define("player-account-general-confirmation-modal",t.element)})}function pu(o){c.append_styles(o,"svelte-st6cko",'a{cursor:pointer;text-decoration:underline;font-weight:600}.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}.SelfExclusionContainer{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));container-type:inline-size}.SelfExclusionContainer .SelfExclusionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:10px;max-width:100%;min-height:500px;opacity:1;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SelfExclusionContainer .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)}.SelfExclusionNotification{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionNotification.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionNotification .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px;min-height:180px}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}}.SelfExclusionConfigWrapper{width:50%;height:100%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.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, 10px) var(--emw--border-radius-medium, 10px)}.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:600px;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:var(--emw--color-primary, #23B04E);border-radius:var(--emw--border-radius-medium, 10px);padding:30px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF)}.SelfExclusionActionButtons .SelfExclusionSave:hover{color:white;background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave:active{background:var(--emw--color-primary);opacity:0.6}.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}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function Bo(o,t,e){const i=o.slice();return i[56]=t[e],i}function fu(o){let t,e,i,s,r=o[20]("titleSelfExclusion")+"",n,a,l,u,d=o[20]("selfExclusionText",{values:{operatorname:o[1],baseurl:o[3],lang:o[0]}})+"",h,p,f=o[20]("selfExclusionEmailText")+"",y,m,b,D,C,I,O,N,U,V=o[20](`${o[13]}`)+"",W,Y,T,k,H,ee,E,v,_,x,g,A,S,M=o[20]("save")+"",L,B,j,J,le,re,X=o[22]&&_u(o),K=c.ensure_array_like(o[9]),F=[];for(let P=0;P<K.length;P+=1)F[P]=Yo(Bo(o,K,P));let R=o[16]&&jo(o);function ce(P,q){return P[15]?yu:P[17]?gu:vu}let ne=ce(o),ae=ne(o),de=o[23]&&bu(o);return{c(){t=c.element("div"),e=c.element("form"),X&&X.c(),i=c.space(),s=c.element("h2"),n=c.text(r),a=c.space(),l=c.element("div"),u=c.element("p"),h=c.space(),p=c.element("p"),y=c.text(f),m=c.space(),b=c.element("a"),D=c.text(o[2]),I=c.space(),O=c.element("div"),N=c.element("div"),U=c.element("p"),W=c.text(V),Y=c.space(),T=c.svg_element("svg"),k=c.svg_element("g"),H=c.svg_element("path"),ee=c.space(),E=c.element("div");for(let P=0;P<F.length;P+=1)F[P].c();v=c.space(),R&&R.c(),_=c.space(),x=c.element("div"),ae.c(),g=c.space(),A=c.element("div"),S=c.element("button"),L=c.text(M),J=c.space(),de&&de.c(),c.attr(s,"class","PlayerSelfExclusionTitle "+(o[22]?"PlayerSelfExclusionTitleNone":"")),c.attr(u,"class","SelfExclusionDescriptionText"),c.attr(b,"href",C="mailto:"+o[2]),c.attr(p,"class","SelfExclusionDescriptionText"),c.attr(l,"class","SelfExclusionDescription "+(o[22]?"SelfExclusionDescriptionMobile":"")),c.attr(H,"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"),c.attr(H,"stroke-linecap","round"),c.attr(T,"xmlns","http://www.w3.org/2000/svg"),c.attr(T,"xmlns:xlink","http://www.w3.org/1999/xlink"),c.attr(T,"version","1.1"),c.attr(T,"viewBox","0 0 100 100"),c.attr(T,"xml:space","preserve"),c.attr(T,"class","SelfExclusionConfigIcon"),c.toggle_class(T,"active",o[18]),c.attr(N,"class","SelfExclusionConfigLabel"),c.attr(E,"class","SelfExclusionDropDown"),c.toggle_class(E,"active",o[18]),c.attr(O,"class","SelfExclusionConfigWrapper "+(o[22]?"SelfExclusionConfigWrapperMobile":"")),c.toggle_class(O,"active",o[18]),c.attr(x,"class","SelfExclusionDescription "+(o[22]?"SelfExclusionDescriptionMobile":"")),c.attr(S,"class",B="SelfExclusionSave "+(o[17]?"active":"")),S.disabled=j=!o[17],c.attr(A,"class","SelfExclusionActionButtons "+(o[22]?"SelfExclusionActionButtonsMobile":"")),c.attr(e,"class","SelfExclusionWrapper "+(o[22]?"SelfExclusionWrapperMobile":"")),c.attr(t,"class","SelfExclusionContainer")},m(P,q){c.insert(P,t,q),c.append(t,e),X&&X.m(e,null),c.append(e,i),c.append(e,s),c.append(s,n),c.append(e,a),c.append(e,l),c.append(l,u),u.innerHTML=d,c.append(l,h),c.append(l,p),c.append(p,y),c.append(p,m),c.append(p,b),c.append(b,D),c.append(e,I),c.append(e,O),c.append(O,N),c.append(N,U),c.append(U,W),c.append(N,Y),c.append(N,T),c.append(T,k),c.append(k,H),c.append(O,ee),c.append(O,E);for(let Z=0;Z<F.length;Z+=1)F[Z]&&F[Z].m(E,null);c.append(e,v),R&&R.m(e,null),c.append(e,_),c.append(e,x),ae.m(x,null),c.append(e,g),c.append(e,A),c.append(A,S),c.append(S,L),c.append(t,J),de&&de.m(t,null),le||(re=[c.listen(N,"click",o[37]),c.listen(S,"click",o[40])],le=!0)},p(P,q){if(P[22]&&X.p(P,q),q[0]&1048576&&r!==(r=P[20]("titleSelfExclusion")+"")&&c.set_data(n,r),q[0]&1048587&&d!==(d=P[20]("selfExclusionText",{values:{operatorname:P[1],baseurl:P[3],lang:P[0]}})+"")&&(u.innerHTML=d),q[0]&1048576&&f!==(f=P[20]("selfExclusionEmailText")+"")&&c.set_data(y,f),q[0]&4&&c.set_data(D,P[2]),q[0]&4&&C!==(C="mailto:"+P[2])&&c.attr(b,"href",C),q[0]&1056768&&V!==(V=P[20](`${P[13]}`)+"")&&c.set_data(W,V),q[0]&262144&&c.toggle_class(T,"active",P[18]),q[0]&34603520){K=c.ensure_array_like(P[9]);let Z;for(Z=0;Z<K.length;Z+=1){const ft=Bo(P,K,Z);F[Z]?F[Z].p(ft,q):(F[Z]=Yo(ft),F[Z].c(),F[Z].m(E,null))}for(;Z<F.length;Z+=1)F[Z].d(1);F.length=K.length}q[0]&262144&&c.toggle_class(E,"active",P[18]),q[0]&262144&&c.toggle_class(O,"active",P[18]),P[16]?R?R.p(P,q):(R=jo(P),R.c(),R.m(e,_)):R&&(R.d(1),R=null),ne===(ne=ce(P))&&ae?ae.p(P,q):(ae.d(1),ae=ne(P),ae&&(ae.c(),ae.m(x,null))),q[0]&1048576&&M!==(M=P[20]("save")+"")&&c.set_data(L,M),q[0]&131072&&B!==(B="SelfExclusionSave "+(P[17]?"active":""))&&c.attr(S,"class",B),q[0]&131072&&j!==(j=!P[17])&&(S.disabled=j),P[23]&&de.p(P,q)},d(P){P&&c.detach(t),X&&X.d(),c.destroy_each(F,P),R&&R.d(),ae.d(),de&&de.d(),le=!1,c.run_all(re)}}}function mu(o){let t,e,i,s,r,n,a,l,u,d,h,p,f,y,m,b,D,C,I,O,N;function U(Y,T){return Y[22]?wu:xu}let W=U(o)(o);return{c(){t=c.element("div"),e=c.element("div"),W.c(),i=c.space(),s=c.element("div"),r=c.element("ui-skeleton"),n=c.space(),a=c.element("div"),l=c.space(),u=c.element("ui-skeleton"),d=c.space(),h=c.element("div"),p=c.space(),f=c.element("div"),y=c.element("ui-skeleton"),m=c.space(),b=c.element("div"),D=c.space(),C=c.element("ui-skeleton"),I=c.space(),O=c.element("div"),N=c.element("ui-skeleton"),c.set_custom_element_data(r,"structure","text"),c.set_custom_element_data(r,"height",o[22]?"15px":"20px"),c.set_custom_element_data(r,"rows","6"),c.set_custom_element_data(r,"width","100%"),c.set_style(a,"height",o[22]?"10px":"20px"),c.set_custom_element_data(u,"structure","text"),c.set_custom_element_data(u,"height",o[22]?"15px":"20px"),c.set_custom_element_data(u,"width","30%"),c.set_style(h,"height","10px"),c.attr(s,"class","SelfExclusionDescription"),c.set_custom_element_data(y,"structure","rectangle"),c.set_custom_element_data(y,"width",o[22]?"100%":"50%"),c.set_custom_element_data(y,"height",o[22]?"30px":"44px"),c.set_style(b,"height",o[22]?"15px":"20px"),c.set_custom_element_data(C,"structure","text"),c.set_custom_element_data(C,"height",o[22]?"15px":"20px"),c.set_custom_element_data(C,"width","30%"),c.attr(f,"class","SelfExclusionConfig"),c.set_custom_element_data(N,"structure","rectangle"),c.set_custom_element_data(N,"width","100%"),c.set_custom_element_data(N,"height",o[22]?"35px":"50px"),c.attr(O,"class","SelfExclusionActionButtons "+(o[22]?"SelfExclusionActionButtonsMobile":"")),c.attr(e,"class","SelfExclusionWrapper "+(o[22]?"SelfExclusionWrapperMobile":"")),c.attr(t,"class","SelfExclusionContainer")},m(Y,T){c.insert(Y,t,T),c.append(t,e),W.m(e,null),c.append(e,i),c.append(e,s),c.append(s,r),c.append(s,n),c.append(s,a),c.append(s,l),c.append(s,u),c.append(s,d),c.append(s,h),c.append(e,p),c.append(e,f),c.append(f,y),c.append(f,m),c.append(f,b),c.append(f,D),c.append(f,C),c.append(e,I),c.append(e,O),c.append(O,N)},p:c.noop,d(Y){Y&&c.detach(t),W.d()}}}function _u(o){let t,e,i,s,r,n,a,l,u,d,h=o[20]("titleSelfExclusion")+"",p,f,y;return{c(){t=c.element("div"),e=c.svg_element("svg"),i=c.svg_element("defs"),s=c.svg_element("style"),r=c.text(".aaa{fill:var(--emw--color-primary, #22B04E);}"),n=c.svg_element("g"),a=c.svg_element("g"),l=c.svg_element("path"),u=c.space(),d=c.element("h2"),p=c.text(h),c.attr(l,"class","aaa"),c.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"),c.attr(l,"transform","translate(15 15) rotate(180)"),c.attr(a,"transform","translate(20 158)"),c.attr(n,"transform","translate(-20 -158)"),c.attr(e,"xmlns","http://www.w3.org/2000/svg"),c.attr(e,"width","15"),c.attr(e,"height","15"),c.attr(e,"viewBox","0 0 15 15"),c.attr(d,"class","PlayerSelfExclusionTitleMobile"),c.attr(t,"class","MenuReturnButton")},m(m,b){c.insert(m,t,b),c.append(t,e),c.append(e,i),c.append(i,s),c.append(s,r),c.append(e,n),c.append(n,a),c.append(a,l),c.append(t,u),c.append(t,d),c.append(d,p),f||(y=c.listen(t,"click",o[36]),f=!0)},p(m,b){b[0]&1048576&&h!==(h=m[20]("titleSelfExclusion")+"")&&c.set_data(p,h)},d(m){m&&c.detach(t),f=!1,y()}}}function Yo(o){let t,e=o[20](`${o[56].key}`)+"",i,s,r;function n(){return o[38](o[56])}return{c(){t=c.element("div"),i=c.text(e)},m(a,l){c.insert(a,t,l),c.append(t,i),s||(r=c.listen(t,"click",n),s=!0)},p(a,l){o=a,l[0]&1049088&&e!==(e=o[20](`${o[56].key}`)+"")&&c.set_data(i,e)},d(a){a&&c.detach(t),s=!1,r()}}}function jo(o){let t,e,i=o[20]("duration")+"",s,r,n,a=o[20]("dateInstructions")+"",l,u,d,h,p,f,y;return{c(){t=c.element("div"),e=c.element("label"),s=c.text(i),r=c.space(),n=c.element("span"),l=c.text(a),u=c.space(),d=c.element("strong"),h=c.text(o[21]),p=c.element("strong"),f=c.space(),y=c.element("vaadin-date-picker"),c.attr(e,"for","SelfExclusionDate"),c.attr(n,"class","SelfExclusionDateInstructions"),c.set_custom_element_data(y,"min",o[10]),c.set_custom_element_data(y,"max",o[11]),c.set_custom_element_data(y,"value",o[12]),c.attr(t,"class","SelfExclusionDateWrapper "+(o[22]?"SelfExclusionDateWrapperMobile":""))},m(m,b){c.insert(m,t,b),c.append(t,e),c.append(e,s),c.append(t,r),c.append(t,n),c.append(n,l),c.append(n,u),c.append(n,d),c.append(d,h),c.append(d,p),c.append(t,f),c.append(t,y),o[39](y)},p(m,b){b[0]&1048576&&i!==(i=m[20]("duration")+"")&&c.set_data(s,i),b[0]&1048576&&a!==(a=m[20]("dateInstructions")+"")&&c.set_data(l,a),b[0]&1024&&c.set_custom_element_data(y,"min",m[10]),b[0]&2048&&c.set_custom_element_data(y,"max",m[11]),b[0]&4096&&c.set_custom_element_data(y,"value",m[12])},d(m){m&&c.detach(t),o[39](null)}}}function gu(o){let t,e,i=o[20]("temporarySelfExclusion",{values:{date:ge(o[12]).format(o[21])}})+"",s;return{c(){t=c.element("p"),e=c.element("strong"),s=c.text(i),c.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){c.insert(r,t,n),c.append(t,e),c.append(e,s)},p(r,n){n[0]&1052672&&i!==(i=r[20]("temporarySelfExclusion",{values:{date:ge(r[12]).format(r[21])}})+"")&&c.set_data(s,i)},d(r){r&&c.detach(t)}}}function vu(o){let t,e,i=o[20]("noPeriodSelected")+"",s;return{c(){t=c.element("p"),e=c.element("strong"),s=c.text(i),c.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){c.insert(r,t,n),c.append(t,e),c.append(e,s)},p(r,n){n[0]&1048576&&i!==(i=r[20]("noPeriodSelected")+"")&&c.set_data(s,i)},d(r){r&&c.detach(t)}}}function yu(o){let t,e,i=o[20]("permanentSelfExclusion")+"",s;return{c(){t=c.element("p"),e=c.element("strong"),s=c.text(i),c.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){c.insert(r,t,n),c.append(t,e),c.append(e,s)},p(r,n){n[0]&1048576&&i!==(i=r[20]("permanentSelfExclusion")+"")&&c.set_data(s,i)},d(r){r&&c.detach(t)}}}function bu(o){let t,e,i;return{c(){t=c.element("player-account-modal"),e=c.element("player-account-general-confirmation-modal"),c.set_custom_element_data(e,"modaltitle",i=o[20]("confirmationModalTitle")),c.set_custom_element_data(e,"modaltext",o[14]),c.set_custom_element_data(e,"hascancelbutton",!1),c.set_custom_element_data(e,"modalconfirmevent",{type:"setSelfExclusion"}),c.set_custom_element_data(e,"mbsource",o[6]),c.set_custom_element_data(e,"lang",o[0]),c.set_custom_element_data(t,"clientstyling",o[4]),c.set_custom_element_data(t,"clientstylingurl",o[5]),c.set_custom_element_data(t,"mbsource",o[6]),c.set_custom_element_data(t,"showmodaleventname","ShowSelfExclusionConfirmationModal")},m(s,r){c.insert(s,t,r),c.append(t,e)},p(s,r){r[0]&1048576&&i!==(i=s[20]("confirmationModalTitle"))&&c.set_custom_element_data(e,"modaltitle",i),r[0]&16384&&c.set_custom_element_data(e,"modaltext",s[14]),r[0]&64&&c.set_custom_element_data(e,"mbsource",s[6]),r[0]&1&&c.set_custom_element_data(e,"lang",s[0]),r[0]&16&&c.set_custom_element_data(t,"clientstyling",s[4]),r[0]&32&&c.set_custom_element_data(t,"clientstylingurl",s[5]),r[0]&64&&c.set_custom_element_data(t,"mbsource",s[6])},d(s){s&&c.detach(t)}}}function xu(o){let t;return{c(){t=c.element("ui-skeleton"),c.set_custom_element_data(t,"structure","title"),c.set_custom_element_data(t,"width","100px"),c.set_custom_element_data(t,"margin-top","20px"),c.set_custom_element_data(t,"margin-bottom","20px")},m(e,i){c.insert(e,t,i)},d(e){e&&c.detach(t)}}}function wu(o){let t;return{c(){t=c.element("div"),t.innerHTML='<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>',c.attr(t,"class","MenuReturnButton")},m(e,i){c.insert(e,t,i)},d(e){e&&c.detach(t)}}}function Eu(o){let t;function e(r,n){return r[19]?mu:fu}let i=e(o),s=i(o);return{c(){t=c.element("div"),s.c()},m(r,n){c.insert(r,t,n),s.m(t,null),o[41](t)},p(r,n){i===(i=e(r))&&s?s.p(r,n):(s.d(1),s=i(r),s&&(s.c(),s.m(t,null)))},i:c.noop,o:c.noop,d(r){r&&c.detach(t),s.d(),o[41](null)}}}function Su(o,t,e){let i;c.component_subscribe(o,c.$format,w=>e(20,i=w)),ge.extend(Mr);let{endpoint:s="",session:r="",userid:n="",lang:a="en",gmversion:l="",operator:u="Everymatrix",supportemail:d="",baseurl:h="",clientstyling:p="",clientstylingurl:f="",mbsource:y,translationurl:m="",hasconfirmationmodal:b="false",dateformat:D="DD/MM/YYYY",sendnotificationemail:C="false"}=t,I,O,N=[],U={},V=D.toUpperCase(),W=window.navigator.userAgent,Y,T,k="",H="",ee="selectAPeriod",E="",v="",_=c.getDevice(W)!=="PC",x=!1,g=!1,A=!1,S=!1,M=b==="true",L=!0;const B=()=>{fetch(m).then(ie=>ie.json()).then(ie=>{Object.keys(ie).forEach(oe=>{Zi(oe,ie[oe])})}).catch(ie=>{console.log(ie)})};Object.keys(Qi).forEach(w=>{Zi(w,Qi[w])});const j=()=>{let w=new URL(`${s}/v1/player/selfExclusionSettings`);fetch(w,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(oe=>le(oe)).then(oe=>{e(9,N=oe.periods)}).catch(oe=>{console.log(oe),window.postMessage({type:"WidgetNotification",data:{type:"error",message:oe.message}},window.location.href)}).finally(()=>{e(19,L=!1)})},J=w=>{w.data.type==="setSelfExclusion"&&R()},le=w=>qe(this,null,function*(){var ie;if(!w.ok){U=yield w.json(),v=(ie=U.thirdPartyResponse)==null?void 0:ie.errorCode;const oe=i(v||"generalError");throw new Error(oe)}return w.json()}),re=()=>{e(18,S=!S)},X=w=>{switch(H=w.text,e(13,ee=w.key),e(17,A=!0),e(18,S=!1),e(15,x=!1),e(16,g=!1),H){case"Until":e(16,g=!0),e(10,Y=ge().add(6,"months").format("YYYY-MM-DD")),e(11,T=ge().add(5,"years").format("YYYY-MM-DD")),e(12,k=Y);break;case"Permanent":e(15,x=!x);break;default:const[ie,oe]=H.split(" "),Ae=oe.includes("Day")?"days":oe.includes("Month")?"months":oe.includes("Year")?"years":null;if(!Ae)return;e(12,k=ge().add(Number(ie),Ae).format("YYYY-MM-DD"));break}M&&K()},K=()=>{if(!M||!H||!k){e(14,E="");return}e(14,E=g?i("confirmationModalTextUntilSelfExclusion",{values:{date:ge(k).format(V)}}):i("confirmationModalTextPeriodSelfExclusion",{values:{period:i(H)}}))},F=w=>{w.preventDefault(),M?(K(),window.postMessage({type:"ShowSelfExclusionConfirmationModal"},window.location.href)):R()},R=()=>{e(19,L=!0);const w=new URL(`${s}/v2/player/${n}/limits${l==="gm16"?"/session":""}`),oe={method:"PUT",headers:{"X-SessionID":r,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({selfExclusion:{period:ee,expiryDate:k,selfExclusionReason:"UserRequest",sendNotificationEmail:C==="true"}})};fetch(w.href,oe).then(Ae=>le(Ae)).then(Ae=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:i("selfExclusionSuccess")}},window.location.href),window.postMessage({type:"LogoutSuccessfull"},window.location.href)}).catch(Ae=>{console.error(i("errorSelfExclusionCall"),Ae),window.postMessage({type:"WidgetNotification",data:{type:"error",message:i("errorSelfExclusionCall")}},window.location.href)}).finally(()=>{e(19,L=!1)})},ce=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:_},window.location.href)},ne=w=>{e(12,k=w.target.value)},ae=()=>{O.addEventListener("change",ne,!1),e(8,O.i18n=_t(mt({},O.i18n),{formatDate:w=>ge(new Date(w.year,w.month,w.day)).format(V),parseDate:w=>{const ie=ge(w,V);return{year:ie.year(),month:ie.month(),day:ie.date()}}}),O)};c.onMount(()=>(window.addEventListener("message",J,!1),()=>{O.removeEventListener("change",ne),window.removeEventListener("message",J)}));const de=()=>{Or(a)},P=()=>ce(),q=()=>re(),Z=w=>X(w);function ft(w){c.binding_callbacks[w?"unshift":"push"](()=>{O=w,e(8,O)})}const wr=w=>F(w);function Er(w){c.binding_callbacks[w?"unshift":"push"](()=>{I=w,e(7,I)})}return o.$$set=w=>{"endpoint"in w&&e(28,s=w.endpoint),"session"in w&&e(29,r=w.session),"userid"in w&&e(30,n=w.userid),"lang"in w&&e(0,a=w.lang),"gmversion"in w&&e(31,l=w.gmversion),"operator"in w&&e(1,u=w.operator),"supportemail"in w&&e(2,d=w.supportemail),"baseurl"in w&&e(3,h=w.baseurl),"clientstyling"in w&&e(4,p=w.clientstyling),"clientstylingurl"in w&&e(5,f=w.clientstylingurl),"mbsource"in w&&e(6,y=w.mbsource),"translationurl"in w&&e(32,m=w.translationurl),"hasconfirmationmodal"in w&&e(33,b=w.hasconfirmationmodal),"dateformat"in w&&e(34,D=w.dateformat),"sendnotificationemail"in w&&e(35,C=w.sendnotificationemail)},o.$$.update=()=>{o.$$.dirty[0]&1&&a&&de(),o.$$.dirty[0]&1879048192|o.$$.dirty[1]&1&&s&&r&&n&&l&&j(),o.$$.dirty[0]&256&&O&&ae(),o.$$.dirty[0]&144&&p&&I&&c.setClientStyling(I,p),o.$$.dirty[0]&160&&f&&I&&c.setClientStylingURL(I,f),o.$$.dirty[0]&192&&y&&I&&c.setStreamStyling(I,`${y}.Style`),o.$$.dirty[1]&2&&m&&B()},M&&K(),[a,u,d,h,p,f,y,I,O,N,Y,T,k,ee,E,x,g,A,S,L,i,V,_,M,re,X,F,ce,s,r,n,l,m,b,D,C,P,q,Z,ft,wr,Er]}class xr extends c.SvelteComponent{constructor(t){super(),c.init(this,t,Su,Eu,c.safe_not_equal,{endpoint:28,session:29,userid:30,lang:0,gmversion:31,operator:1,supportemail:2,baseurl:3,clientstyling:4,clientstylingurl:5,mbsource:6,translationurl:32,hasconfirmationmodal:33,dateformat:34,sendnotificationemail:35},pu,[-1,-1])}get endpoint(){return this.$$.ctx[28]}set endpoint(t){this.$$set({endpoint:t}),c.flush()}get session(){return this.$$.ctx[29]}set session(t){this.$$set({session:t}),c.flush()}get userid(){return this.$$.ctx[30]}set userid(t){this.$$set({userid:t}),c.flush()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),c.flush()}get gmversion(){return this.$$.ctx[31]}set gmversion(t){this.$$set({gmversion:t}),c.flush()}get operator(){return this.$$.ctx[1]}set operator(t){this.$$set({operator:t}),c.flush()}get supportemail(){return this.$$.ctx[2]}set supportemail(t){this.$$set({supportemail:t}),c.flush()}get baseurl(){return this.$$.ctx[3]}set baseurl(t){this.$$set({baseurl:t}),c.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),c.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),c.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),c.flush()}get translationurl(){return this.$$.ctx[32]}set translationurl(t){this.$$set({translationurl:t}),c.flush()}get hasconfirmationmodal(){return this.$$.ctx[33]}set hasconfirmationmodal(t){this.$$set({hasconfirmationmodal:t}),c.flush()}get dateformat(){return this.$$.ctx[34]}set dateformat(t){this.$$set({dateformat:t}),c.flush()}get sendnotificationemail(){return this.$$.ctx[35]}set sendnotificationemail(t){this.$$set({sendnotificationemail:t}),c.flush()}}c.create_custom_element(xr,{endpoint:{},session:{},userid:{},lang:{},gmversion:{},operator:{},supportemail:{},baseurl:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},hasconfirmationmodal:{},dateformat:{},sendnotificationemail:{}},[],[],!0);exports.default=xr;
3555
+ `}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new iu(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e},{uniqueIdPrefix:"search-input"})),this.addController(new ou(this.inputElement,this._labelController)),this._tooltipController=new er(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}}me(hu);if(typeof window!="undefined"){let o=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=o(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountModal-hE4QiaWT.cjs")).then(({default:t})=>{!customElements.get("player-account-modal")&&customElements.define("player-account-modal",t.element)})}if(typeof window!="undefined"){let o=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=o(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGeneralConfirmationModal-CTkrsADp.cjs")).then(t=>t.PlayerAccountGeneralConfirmationModal_ce).then(({default:t})=>{!customElements.get("player-account-general-confirmation-modal")&&customElements.define("player-account-general-confirmation-modal",t.element)})}function pu(o){c.append_styles(o,"svelte-st6cko",'a{cursor:pointer;text-decoration:underline;font-weight:600}.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}.SelfExclusionContainer{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));container-type:inline-size}.SelfExclusionContainer .SelfExclusionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:10px;max-width:100%;min-height:500px;opacity:1;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SelfExclusionContainer .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)}.SelfExclusionNotification{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionNotification.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionNotification .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px;min-height:180px}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}}.SelfExclusionConfigWrapper{width:50%;height:100%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.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, 10px) var(--emw--border-radius-medium, 10px)}.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:600px;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:var(--emw--color-primary, #23B04E);border-radius:var(--emw--border-radius-medium, 10px);padding:30px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF)}.SelfExclusionActionButtons .SelfExclusionSave:hover{color:white;background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave:active{background:var(--emw--color-primary);opacity:0.6}.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}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function Bo(o,t,e){const i=o.slice();return i[56]=t[e],i}function fu(o){let t,e,i,s,r=o[21]("titleSelfExclusion")+"",n,a,l,u,d=o[21]("selfExclusionText",{values:{operatorname:o[2],baseurl:o[4],lang:o[1]}})+"",h,p,f=o[21]("selfExclusionEmailText")+"",y,m,b,D,C,I,O,N,U,V=o[21](`${o[14]}`)+"",W,Y,T,k,H,Z,E,v,_,x,g,A,S,M=o[21]("save")+"",L,B,j,J,le,re,X=o[23]&&_u(o),K=c.ensure_array_like(o[10]),F=[];for(let P=0;P<K.length;P+=1)F[P]=Yo(Bo(o,K,P));let R=o[17]&&jo(o);function ce(P,q){return P[16]?yu:P[18]?gu:vu}let ne=ce(o),ae=ne(o),de=o[24]&&bu(o);return{c(){t=c.element("div"),e=c.element("form"),X&&X.c(),i=c.space(),s=c.element("h2"),n=c.text(r),a=c.space(),l=c.element("div"),u=c.element("p"),h=c.space(),p=c.element("p"),y=c.text(f),m=c.space(),b=c.element("a"),D=c.text(o[3]),I=c.space(),O=c.element("div"),N=c.element("div"),U=c.element("p"),W=c.text(V),Y=c.space(),T=c.svg_element("svg"),k=c.svg_element("g"),H=c.svg_element("path"),Z=c.space(),E=c.element("div");for(let P=0;P<F.length;P+=1)F[P].c();v=c.space(),R&&R.c(),_=c.space(),x=c.element("div"),ae.c(),g=c.space(),A=c.element("div"),S=c.element("button"),L=c.text(M),J=c.space(),de&&de.c(),c.attr(s,"class","PlayerSelfExclusionTitle "+(o[23]?"PlayerSelfExclusionTitleNone":"")),c.attr(u,"class","SelfExclusionDescriptionText"),c.attr(b,"href",C="mailto:"+o[3]),c.attr(p,"class","SelfExclusionDescriptionText"),c.attr(l,"class","SelfExclusionDescription "+(o[23]?"SelfExclusionDescriptionMobile":"")),c.attr(H,"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"),c.attr(H,"stroke-linecap","round"),c.attr(T,"xmlns","http://www.w3.org/2000/svg"),c.attr(T,"xmlns:xlink","http://www.w3.org/1999/xlink"),c.attr(T,"version","1.1"),c.attr(T,"viewBox","0 0 100 100"),c.attr(T,"xml:space","preserve"),c.attr(T,"class","SelfExclusionConfigIcon"),c.toggle_class(T,"active",o[19]),c.attr(N,"class","SelfExclusionConfigLabel"),c.attr(E,"class","SelfExclusionDropDown"),c.toggle_class(E,"active",o[19]),c.attr(O,"class","SelfExclusionConfigWrapper "+(o[23]?"SelfExclusionConfigWrapperMobile":"")),c.toggle_class(O,"active",o[19]),c.attr(x,"class","SelfExclusionDescription "+(o[23]?"SelfExclusionDescriptionMobile":"")),c.attr(S,"class",B="SelfExclusionSave "+(o[18]?"active":"")),S.disabled=j=!o[18],c.attr(A,"class","SelfExclusionActionButtons "+(o[23]?"SelfExclusionActionButtonsMobile":"")),c.attr(e,"class","SelfExclusionWrapper "+(o[23]?"SelfExclusionWrapperMobile":"")),c.attr(t,"class","SelfExclusionContainer")},m(P,q){c.insert(P,t,q),c.append(t,e),X&&X.m(e,null),c.append(e,i),c.append(e,s),c.append(s,n),c.append(e,a),c.append(e,l),c.append(l,u),u.innerHTML=d,c.append(l,h),c.append(l,p),c.append(p,y),c.append(p,m),c.append(p,b),c.append(b,D),c.append(e,I),c.append(e,O),c.append(O,N),c.append(N,U),c.append(U,W),c.append(N,Y),c.append(N,T),c.append(T,k),c.append(k,H),c.append(O,Z),c.append(O,E);for(let Q=0;Q<F.length;Q+=1)F[Q]&&F[Q].m(E,null);c.append(e,v),R&&R.m(e,null),c.append(e,_),c.append(e,x),ae.m(x,null),c.append(e,g),c.append(e,A),c.append(A,S),c.append(S,L),c.append(t,J),de&&de.m(t,null),le||(re=[c.listen(N,"click",o[37]),c.listen(S,"click",o[40])],le=!0)},p(P,q){if(P[23]&&X.p(P,q),q[0]&2097152&&r!==(r=P[21]("titleSelfExclusion")+"")&&c.set_data(n,r),q[0]&2097174&&d!==(d=P[21]("selfExclusionText",{values:{operatorname:P[2],baseurl:P[4],lang:P[1]}})+"")&&(u.innerHTML=d),q[0]&2097152&&f!==(f=P[21]("selfExclusionEmailText")+"")&&c.set_data(y,f),q[0]&8&&c.set_data(D,P[3]),q[0]&8&&C!==(C="mailto:"+P[3])&&c.attr(b,"href",C),q[0]&2113536&&V!==(V=P[21](`${P[14]}`)+"")&&c.set_data(W,V),q[0]&524288&&c.toggle_class(T,"active",P[19]),q[0]&69207040){K=c.ensure_array_like(P[10]);let Q;for(Q=0;Q<K.length;Q+=1){const ft=Bo(P,K,Q);F[Q]?F[Q].p(ft,q):(F[Q]=Yo(ft),F[Q].c(),F[Q].m(E,null))}for(;Q<F.length;Q+=1)F[Q].d(1);F.length=K.length}q[0]&524288&&c.toggle_class(E,"active",P[19]),q[0]&524288&&c.toggle_class(O,"active",P[19]),P[17]?R?R.p(P,q):(R=jo(P),R.c(),R.m(e,_)):R&&(R.d(1),R=null),ne===(ne=ce(P))&&ae?ae.p(P,q):(ae.d(1),ae=ne(P),ae&&(ae.c(),ae.m(x,null))),q[0]&2097152&&M!==(M=P[21]("save")+"")&&c.set_data(L,M),q[0]&262144&&B!==(B="SelfExclusionSave "+(P[18]?"active":""))&&c.attr(S,"class",B),q[0]&262144&&j!==(j=!P[18])&&(S.disabled=j),P[24]&&de.p(P,q)},d(P){P&&c.detach(t),X&&X.d(),c.destroy_each(F,P),R&&R.d(),ae.d(),de&&de.d(),le=!1,c.run_all(re)}}}function mu(o){let t,e,i,s,r,n,a,l,u,d,h,p,f,y,m,b,D,C,I,O,N;function U(Y,T){return Y[23]?wu:xu}let W=U(o)(o);return{c(){t=c.element("div"),e=c.element("div"),W.c(),i=c.space(),s=c.element("div"),r=c.element("ui-skeleton"),n=c.space(),a=c.element("div"),l=c.space(),u=c.element("ui-skeleton"),d=c.space(),h=c.element("div"),p=c.space(),f=c.element("div"),y=c.element("ui-skeleton"),m=c.space(),b=c.element("div"),D=c.space(),C=c.element("ui-skeleton"),I=c.space(),O=c.element("div"),N=c.element("ui-skeleton"),c.set_custom_element_data(r,"structure","text"),c.set_custom_element_data(r,"height",o[23]?"15px":"20px"),c.set_custom_element_data(r,"rows","6"),c.set_custom_element_data(r,"width","100%"),c.set_style(a,"height",o[23]?"10px":"20px"),c.set_custom_element_data(u,"structure","text"),c.set_custom_element_data(u,"height",o[23]?"15px":"20px"),c.set_custom_element_data(u,"width","30%"),c.set_style(h,"height","10px"),c.attr(s,"class","SelfExclusionDescription"),c.set_custom_element_data(y,"structure","rectangle"),c.set_custom_element_data(y,"width",o[23]?"100%":"50%"),c.set_custom_element_data(y,"height",o[23]?"30px":"44px"),c.set_style(b,"height",o[23]?"15px":"20px"),c.set_custom_element_data(C,"structure","text"),c.set_custom_element_data(C,"height",o[23]?"15px":"20px"),c.set_custom_element_data(C,"width","30%"),c.attr(f,"class","SelfExclusionConfig"),c.set_custom_element_data(N,"structure","rectangle"),c.set_custom_element_data(N,"width","100%"),c.set_custom_element_data(N,"height",o[23]?"35px":"50px"),c.attr(O,"class","SelfExclusionActionButtons "+(o[23]?"SelfExclusionActionButtonsMobile":"")),c.attr(e,"class","SelfExclusionWrapper "+(o[23]?"SelfExclusionWrapperMobile":"")),c.attr(t,"class","SelfExclusionContainer")},m(Y,T){c.insert(Y,t,T),c.append(t,e),W.m(e,null),c.append(e,i),c.append(e,s),c.append(s,r),c.append(s,n),c.append(s,a),c.append(s,l),c.append(s,u),c.append(s,d),c.append(s,h),c.append(e,p),c.append(e,f),c.append(f,y),c.append(f,m),c.append(f,b),c.append(f,D),c.append(f,C),c.append(e,I),c.append(e,O),c.append(O,N)},p:c.noop,d(Y){Y&&c.detach(t),W.d()}}}function _u(o){let t,e,i,s,r,n,a,l,u,d,h=o[21]("titleSelfExclusion")+"",p,f,y;return{c(){t=c.element("div"),e=c.svg_element("svg"),i=c.svg_element("defs"),s=c.svg_element("style"),r=c.text(".aaa{fill:var(--emw--color-primary, #22B04E);}"),n=c.svg_element("g"),a=c.svg_element("g"),l=c.svg_element("path"),u=c.space(),d=c.element("h2"),p=c.text(h),c.attr(l,"class","aaa"),c.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"),c.attr(l,"transform","translate(15 15) rotate(180)"),c.attr(a,"transform","translate(20 158)"),c.attr(n,"transform","translate(-20 -158)"),c.attr(e,"xmlns","http://www.w3.org/2000/svg"),c.attr(e,"width","15"),c.attr(e,"height","15"),c.attr(e,"viewBox","0 0 15 15"),c.attr(d,"class","PlayerSelfExclusionTitleMobile"),c.attr(t,"class","MenuReturnButton")},m(m,b){c.insert(m,t,b),c.append(t,e),c.append(e,i),c.append(i,s),c.append(s,r),c.append(e,n),c.append(n,a),c.append(a,l),c.append(t,u),c.append(t,d),c.append(d,p),f||(y=c.listen(t,"click",o[36]),f=!0)},p(m,b){b[0]&2097152&&h!==(h=m[21]("titleSelfExclusion")+"")&&c.set_data(p,h)},d(m){m&&c.detach(t),f=!1,y()}}}function Yo(o){let t,e=o[21](`${o[56].key}`)+"",i,s,r;function n(){return o[38](o[56])}return{c(){t=c.element("div"),i=c.text(e)},m(a,l){c.insert(a,t,l),c.append(t,i),s||(r=c.listen(t,"click",n),s=!0)},p(a,l){o=a,l[0]&2098176&&e!==(e=o[21](`${o[56].key}`)+"")&&c.set_data(i,e)},d(a){a&&c.detach(t),s=!1,r()}}}function jo(o){let t,e,i=o[21]("duration")+"",s,r,n,a=o[21]("dateInstructions")+"",l,u,d,h,p,f,y;return{c(){t=c.element("div"),e=c.element("label"),s=c.text(i),r=c.space(),n=c.element("span"),l=c.text(a),u=c.space(),d=c.element("strong"),h=c.text(o[22]),p=c.element("strong"),f=c.space(),y=c.element("vaadin-date-picker"),c.attr(e,"for","SelfExclusionDate"),c.attr(n,"class","SelfExclusionDateInstructions"),c.set_custom_element_data(y,"min",o[11]),c.set_custom_element_data(y,"max",o[12]),c.set_custom_element_data(y,"value",o[13]),c.attr(t,"class","SelfExclusionDateWrapper "+(o[23]?"SelfExclusionDateWrapperMobile":""))},m(m,b){c.insert(m,t,b),c.append(t,e),c.append(e,s),c.append(t,r),c.append(t,n),c.append(n,l),c.append(n,u),c.append(n,d),c.append(d,h),c.append(d,p),c.append(t,f),c.append(t,y),o[39](y)},p(m,b){b[0]&2097152&&i!==(i=m[21]("duration")+"")&&c.set_data(s,i),b[0]&2097152&&a!==(a=m[21]("dateInstructions")+"")&&c.set_data(l,a),b[0]&2048&&c.set_custom_element_data(y,"min",m[11]),b[0]&4096&&c.set_custom_element_data(y,"max",m[12]),b[0]&8192&&c.set_custom_element_data(y,"value",m[13])},d(m){m&&c.detach(t),o[39](null)}}}function gu(o){let t,e,i=o[21]("temporarySelfExclusion",{values:{date:ge(o[13]).format(o[22])}})+"",s;return{c(){t=c.element("p"),e=c.element("strong"),s=c.text(i),c.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){c.insert(r,t,n),c.append(t,e),c.append(e,s)},p(r,n){n[0]&2105344&&i!==(i=r[21]("temporarySelfExclusion",{values:{date:ge(r[13]).format(r[22])}})+"")&&c.set_data(s,i)},d(r){r&&c.detach(t)}}}function vu(o){let t,e,i=o[21]("noPeriodSelected")+"",s;return{c(){t=c.element("p"),e=c.element("strong"),s=c.text(i),c.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){c.insert(r,t,n),c.append(t,e),c.append(e,s)},p(r,n){n[0]&2097152&&i!==(i=r[21]("noPeriodSelected")+"")&&c.set_data(s,i)},d(r){r&&c.detach(t)}}}function yu(o){let t,e,i=o[21]("permanentSelfExclusion")+"",s;return{c(){t=c.element("p"),e=c.element("strong"),s=c.text(i),c.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){c.insert(r,t,n),c.append(t,e),c.append(e,s)},p(r,n){n[0]&2097152&&i!==(i=r[21]("permanentSelfExclusion")+"")&&c.set_data(s,i)},d(r){r&&c.detach(t)}}}function bu(o){let t,e,i,s;return{c(){t=c.element("player-account-modal"),e=c.element("player-account-general-confirmation-modal"),c.set_custom_element_data(e,"modaltitle",i=o[21]("confirmationModalTitle")),c.set_custom_element_data(e,"modaltext",o[15]),c.set_custom_element_data(e,"hascancelbutton",!1),c.set_custom_element_data(e,"modalconfirmevent",s={type:"setSelfExclusion",userid:o[0],selectedPeriodKey:o[14]}),c.set_custom_element_data(e,"mbsource",o[7]),c.set_custom_element_data(e,"lang",o[1]),c.set_custom_element_data(t,"clientstyling",o[5]),c.set_custom_element_data(t,"clientstylingurl",o[6]),c.set_custom_element_data(t,"mbsource",o[7]),c.set_custom_element_data(t,"showmodaleventname","ShowSelfExclusionConfirmationModal")},m(r,n){c.insert(r,t,n),c.append(t,e)},p(r,n){n[0]&2097152&&i!==(i=r[21]("confirmationModalTitle"))&&c.set_custom_element_data(e,"modaltitle",i),n[0]&32768&&c.set_custom_element_data(e,"modaltext",r[15]),n[0]&16385&&s!==(s={type:"setSelfExclusion",userid:r[0],selectedPeriodKey:r[14]})&&c.set_custom_element_data(e,"modalconfirmevent",s),n[0]&128&&c.set_custom_element_data(e,"mbsource",r[7]),n[0]&2&&c.set_custom_element_data(e,"lang",r[1]),n[0]&32&&c.set_custom_element_data(t,"clientstyling",r[5]),n[0]&64&&c.set_custom_element_data(t,"clientstylingurl",r[6]),n[0]&128&&c.set_custom_element_data(t,"mbsource",r[7])},d(r){r&&c.detach(t)}}}function xu(o){let t;return{c(){t=c.element("ui-skeleton"),c.set_custom_element_data(t,"structure","title"),c.set_custom_element_data(t,"width","100px"),c.set_custom_element_data(t,"margin-top","20px"),c.set_custom_element_data(t,"margin-bottom","20px")},m(e,i){c.insert(e,t,i)},d(e){e&&c.detach(t)}}}function wu(o){let t;return{c(){t=c.element("div"),t.innerHTML='<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>',c.attr(t,"class","MenuReturnButton")},m(e,i){c.insert(e,t,i)},d(e){e&&c.detach(t)}}}function Eu(o){let t;function e(r,n){return r[20]?mu:fu}let i=e(o),s=i(o);return{c(){t=c.element("div"),s.c()},m(r,n){c.insert(r,t,n),s.m(t,null),o[41](t)},p(r,n){i===(i=e(r))&&s?s.p(r,n):(s.d(1),s=i(r),s&&(s.c(),s.m(t,null)))},i:c.noop,o:c.noop,d(r){r&&c.detach(t),s.d(),o[41](null)}}}function Su(o,t,e){let i;c.component_subscribe(o,c.$format,w=>e(21,i=w)),ge.extend(Mr);let{endpoint:s="",session:r="",userid:n="",lang:a="en",gmversion:l="",operator:u="Everymatrix",supportemail:d="",baseurl:h="",clientstyling:p="",clientstylingurl:f="",mbsource:y,translationurl:m="",hasconfirmationmodal:b="false",dateformat:D="DD/MM/YYYY",sendnotificationemail:C="false"}=t,I,O,N=[],U={},V=D.toUpperCase(),W=window.navigator.userAgent,Y,T,k="",H="",Z="selectAPeriod",E="",v="",_=c.getDevice(W)!=="PC",x=!1,g=!1,A=!1,S=!1,M=b==="true",L=!0;const B=()=>{fetch(m).then(ie=>ie.json()).then(ie=>{Object.keys(ie).forEach(oe=>{Zi(oe,ie[oe])})}).catch(ie=>{console.log(ie)})};Object.keys(Qi).forEach(w=>{Zi(w,Qi[w])});const j=()=>{let w=new URL(`${s}/v1/player/selfExclusionSettings`);fetch(w,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(oe=>le(oe)).then(oe=>{e(10,N=oe.periods)}).catch(oe=>{console.log(oe),window.postMessage({type:"WidgetNotification",data:{type:"error",message:oe.message}},window.location.href)}).finally(()=>{e(20,L=!1)})},J=w=>{w.data.type==="setSelfExclusion"&&(e(0,n=w.data.userid),e(14,Z=w.data.selectedPeriodKey),R())},le=w=>qe(this,null,function*(){var ie;if(!w.ok){U=yield w.json(),v=(ie=U.thirdPartyResponse)==null?void 0:ie.errorCode;const oe=i(v||"generalError");throw new Error(oe)}return w.json()}),re=()=>{e(19,S=!S)},X=w=>{switch(H=w.text,e(14,Z=w.key),e(18,A=!0),e(19,S=!1),e(16,x=!1),e(17,g=!1),H){case"Until":e(17,g=!0),e(11,Y=ge().add(6,"months").format("YYYY-MM-DD")),e(12,T=ge().add(5,"years").format("YYYY-MM-DD")),e(13,k=Y);break;case"Permanent":e(16,x=!x);break;default:const[ie,oe]=H.split(" "),Ae=oe.includes("Day")?"days":oe.includes("Month")?"months":oe.includes("Year")?"years":null;if(!Ae)return;e(13,k=ge().add(Number(ie),Ae).format("YYYY-MM-DD"));break}M&&K()},K=()=>{if(!M||!H||!k){e(15,E="");return}e(15,E=g?i("confirmationModalTextUntilSelfExclusion",{values:{date:ge(k).format(V)}}):i("confirmationModalTextPeriodSelfExclusion",{values:{period:i(H)}}))},F=w=>{w.preventDefault(),M?(K(),window.postMessage({type:"ShowSelfExclusionConfirmationModal"},window.location.href)):R()},R=()=>{e(20,L=!0);const w=new URL(`${s}/v2/player/${n}/limits${l==="gm16"?"/session":""}`),oe={method:"PUT",headers:{"X-SessionID":r,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({selfExclusion:{period:Z,expiryDate:k,selfExclusionReason:"UserRequest",sendNotificationEmail:C==="true"}})};fetch(w.href,oe).then(Ae=>le(Ae)).then(Ae=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:i("selfExclusionSuccess")}},window.location.href),window.postMessage({type:"LogoutSuccessfull"},window.location.href)}).catch(Ae=>{console.error(i("errorSelfExclusionCall"),Ae),window.postMessage({type:"WidgetNotification",data:{type:"error",message:i("errorSelfExclusionCall")}},window.location.href)}).finally(()=>{e(20,L=!1)})},ce=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:_},window.location.href)},ne=w=>{e(13,k=w.target.value)},ae=()=>{O.addEventListener("change",ne,!1),e(9,O.i18n=_t(mt({},O.i18n),{formatDate:w=>ge(new Date(w.year,w.month,w.day)).format(V),parseDate:w=>{const ie=ge(w,V);return{year:ie.year(),month:ie.month(),day:ie.date()}}}),O)};c.onMount(()=>(window.addEventListener("message",J,!1),()=>{O.removeEventListener("change",ne),window.removeEventListener("message",J)}));const de=()=>{Or(a)},P=()=>ce(),q=()=>re(),Q=w=>X(w);function ft(w){c.binding_callbacks[w?"unshift":"push"](()=>{O=w,e(9,O)})}const wr=w=>F(w);function Er(w){c.binding_callbacks[w?"unshift":"push"](()=>{I=w,e(8,I)})}return o.$$set=w=>{"endpoint"in w&&e(29,s=w.endpoint),"session"in w&&e(30,r=w.session),"userid"in w&&e(0,n=w.userid),"lang"in w&&e(1,a=w.lang),"gmversion"in w&&e(31,l=w.gmversion),"operator"in w&&e(2,u=w.operator),"supportemail"in w&&e(3,d=w.supportemail),"baseurl"in w&&e(4,h=w.baseurl),"clientstyling"in w&&e(5,p=w.clientstyling),"clientstylingurl"in w&&e(6,f=w.clientstylingurl),"mbsource"in w&&e(7,y=w.mbsource),"translationurl"in w&&e(32,m=w.translationurl),"hasconfirmationmodal"in w&&e(33,b=w.hasconfirmationmodal),"dateformat"in w&&e(34,D=w.dateformat),"sendnotificationemail"in w&&e(35,C=w.sendnotificationemail)},o.$$.update=()=>{o.$$.dirty[0]&2&&a&&de(),o.$$.dirty[0]&1610612737|o.$$.dirty[1]&1&&s&&r&&n&&l&&j(),o.$$.dirty[0]&512&&O&&ae(),o.$$.dirty[0]&288&&p&&I&&c.setClientStyling(I,p),o.$$.dirty[0]&320&&f&&I&&c.setClientStylingURL(I,f),o.$$.dirty[0]&384&&y&&I&&c.setStreamStyling(I,`${y}.Style`),o.$$.dirty[1]&2&&m&&B()},M&&K(),[n,a,u,d,h,p,f,y,I,O,N,Y,T,k,Z,E,x,g,A,S,L,i,V,_,M,re,X,F,ce,s,r,l,m,b,D,C,P,q,Q,ft,wr,Er]}class xr extends c.SvelteComponent{constructor(t){super(),c.init(this,t,Su,Eu,c.safe_not_equal,{endpoint:29,session:30,userid:0,lang:1,gmversion:31,operator:2,supportemail:3,baseurl:4,clientstyling:5,clientstylingurl:6,mbsource:7,translationurl:32,hasconfirmationmodal:33,dateformat:34,sendnotificationemail:35},pu,[-1,-1])}get endpoint(){return this.$$.ctx[29]}set endpoint(t){this.$$set({endpoint:t}),c.flush()}get session(){return this.$$.ctx[30]}set session(t){this.$$set({session:t}),c.flush()}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),c.flush()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),c.flush()}get gmversion(){return this.$$.ctx[31]}set gmversion(t){this.$$set({gmversion:t}),c.flush()}get operator(){return this.$$.ctx[2]}set operator(t){this.$$set({operator:t}),c.flush()}get supportemail(){return this.$$.ctx[3]}set supportemail(t){this.$$set({supportemail:t}),c.flush()}get baseurl(){return this.$$.ctx[4]}set baseurl(t){this.$$set({baseurl:t}),c.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),c.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),c.flush()}get mbsource(){return this.$$.ctx[7]}set mbsource(t){this.$$set({mbsource:t}),c.flush()}get translationurl(){return this.$$.ctx[32]}set translationurl(t){this.$$set({translationurl:t}),c.flush()}get hasconfirmationmodal(){return this.$$.ctx[33]}set hasconfirmationmodal(t){this.$$set({hasconfirmationmodal:t}),c.flush()}get dateformat(){return this.$$.ctx[34]}set dateformat(t){this.$$set({dateformat:t}),c.flush()}get sendnotificationemail(){return this.$$.ctx[35]}set sendnotificationemail(t){this.$$set({sendnotificationemail:t}),c.flush()}}c.create_custom_element(xr,{endpoint:{},session:{},userid:{},lang:{},gmversion:{},operator:{},supportemail:{},baseurl:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},hasconfirmationmodal:{},dateformat:{},sendnotificationemail:{}},[],[],!0);exports.default=xr;