@everymatrix/player-account-timeout 1.69.2 → 1.70.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountTimeout-ByrqMlMf.cjs → PlayerAccountTimeout-BmH4wHjL.cjs} +2 -2
- package/components/{PlayerAccountTimeout-Cr7Uf53d.js → PlayerAccountTimeout-BrF26tKy.js} +2 -2
- package/components/{PlayerAccountTimeout-D_ztbNN0.js → PlayerAccountTimeout-HU2jO74I.js} +2 -2
- package/es2015/player-account-timeout.cjs +1 -1
- package/es2015/player-account-timeout.js +1 -1
- package/esnext/player-account-timeout.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-b2193545-fV0AjNrh.js → index-b2193545-BeKKnKhR.js} +1 -1
- package/stencil/{index-b2193545-0nBa8-YE.js → index-b2193545-HC0t7mHa.js} +1 -1
- package/stencil/{index-b2193545-CYERCBaJ.cjs → index-b2193545-YW9b062G.cjs} +1 -1
- package/stencil/ui-skeleton-BL4789dS.cjs +1 -0
- package/stencil/ui-skeleton-Ca5rz3Hv.js +29 -0
- package/stencil/{ui-skeleton-161699c3-BPPr6sEf.js → ui-skeleton-ae35c6f2-BDBUiN3S.js} +12 -29
- package/stencil/{ui-skeleton-161699c3-DjmPsRvg.js → ui-skeleton-ae35c6f2-Cn0ZM_hs.js} +12 -29
- package/stencil/ui-skeleton-ae35c6f2-xLf3HyeB.cjs +55 -0
- package/stencil/ui-skeleton-hI4GeaLk.js +11 -0
- package/stencil/ui-skeleton-161699c3-KSM-Cr8Z.cjs +0 -73
- package/stencil/ui-skeleton-D9ekrDIX.cjs +0 -1
- package/stencil/ui-skeleton-mS4_ikDc.js +0 -11
- package/stencil/ui-skeleton-rSrQAgGU.js +0 -29
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var ur=Object.defineProperty,hr=Object.defineProperties;var pr=Object.getOwnPropertyDescriptors;var Ri=Object.getOwnPropertySymbols;var fr=Object.prototype.hasOwnProperty,mr=Object.prototype.propertyIsEnumerable;var Hi=(o,t,e)=>t in o?ur(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,Et=(o,t)=>{for(var e in t||(t={}))fr.call(t,e)&&Hi(o,e,t[e]);if(Ri)for(var e of Ri(t))mr.call(t,e)&&Hi(o,e,t[e]);return o},Dt=(o,t)=>hr(o,pr(t));var st=(o,t,e)=>new Promise((i,s)=>{var r=l=>{try{a(e.next(l))}catch(d){s(d)}},n=l=>{try{a(e.throw(l))}catch(d){s(d)}},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-BAzIqzPO.cjs");require("../stencil/ui-skeleton-
|
|
1
|
+
"use strict";var ur=Object.defineProperty,hr=Object.defineProperties;var pr=Object.getOwnPropertyDescriptors;var Ri=Object.getOwnPropertySymbols;var fr=Object.prototype.hasOwnProperty,mr=Object.prototype.propertyIsEnumerable;var Hi=(o,t,e)=>t in o?ur(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,Et=(o,t)=>{for(var e in t||(t={}))fr.call(t,e)&&Hi(o,e,t[e]);if(Ri)for(var e of Ri(t))mr.call(t,e)&&Hi(o,e,t[e]);return o},Dt=(o,t)=>hr(o,pr(t));var st=(o,t,e)=>new Promise((i,s)=>{var r=l=>{try{a(e.next(l))}catch(d){s(d)}},n=l=>{try{a(e.throw(l))}catch(d){s(d)}},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-BAzIqzPO.cjs");require("../stencil/ui-skeleton-BL4789dS.cjs");/**
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -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 Rd(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e},{uniqueIdPrefix:"search-input"})),this.addController(new Hd(this.inputElement,this._labelController)),this._tooltipController=new Vs(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}}ie(Gd);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-BAzIqzPO.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)})}var dr={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",d="day",u="week",h="month",p="quarter",f="year",v="date",T="Invalid Date",E=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,A=/\[([^\]]+)]|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,D={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(b){var g=["th","st","nd","rd"],y=b%100;return"["+b+(g[(y-20)%10]||g[y]||g[0])+"]"}},I=function(b,g,y){var m=String(b);return!m||m.length>=g?b:""+Array(g+1-m.length).join(y)+b},N={s:I,z:function(b){var g=-b.utcOffset(),y=Math.abs(g),m=Math.floor(y/60),_=y%60;return(g<=0?"+":"-")+I(m,2,"0")+":"+I(_,2,"0")},m:function b(g,y){if(g.date()<y.date())return-b(y,g);var m=12*(y.year()-g.year())+(y.month()-g.month()),_=g.clone().add(m,h),x=y-_<0,C=g.clone().add(m+(x?-1:1),h);return+(-(m+(y-_)/(x?_-C:C-_))||0)},a:function(b){return b<0?Math.ceil(b)||0:Math.floor(b)},p:function(b){return{M:h,y:f,w:u,d,D:v,h:l,m:a,s:n,ms:r,Q:p}[b]||String(b||"").toLowerCase().replace(/s$/,"")},u:function(b){return b===void 0}},M="en",U={};U[M]=D;var Q="$isDayjsObject",q=function(b){return b instanceof j||!(!b||!b[Q])},X=function b(g,y,m){var _;if(!g)return M;if(typeof g=="string"){var x=g.toLowerCase();U[x]&&(_=x),y&&(U[x]=y,_=x);var C=g.split("-");if(!_&&C.length>1)return b(C[0])}else{var O=g.name;U[O]=g,_=O}return!m&&_&&(M=_),_||!m&&M},F=function(b,g){if(q(b))return b.clone();var y=typeof g=="object"?g:{};return y.date=b,y.args=arguments,new j(y)},k=N;k.l=X,k.i=q,k.w=function(b,g){return F(b,{locale:g.$L,utc:g.$u,x:g.$x,$offset:g.$offset})};var j=function(){function b(y){this.$L=X(y.locale,null,!0),this.parse(y),this.$x=this.$x||y.x||{},this[Q]=!0}var g=b.prototype;return g.parse=function(y){this.$d=function(m){var _=m.date,x=m.utc;if(_===null)return new Date(NaN);if(k.u(_))return new Date;if(_ instanceof Date)return new Date(_);if(typeof _=="string"&&!/Z$/i.test(_)){var C=_.match(E);if(C){var O=C[2]-1||0,z=(C[7]||"0").substring(0,3);return x?new Date(Date.UTC(C[1],O,C[3]||1,C[4]||0,C[5]||0,C[6]||0,z)):new Date(C[1],O,C[3]||1,C[4]||0,C[5]||0,C[6]||0,z)}}return new Date(_)}(y),this.init()},g.init=function(){var y=this.$d;this.$y=y.getFullYear(),this.$M=y.getMonth(),this.$D=y.getDate(),this.$W=y.getDay(),this.$H=y.getHours(),this.$m=y.getMinutes(),this.$s=y.getSeconds(),this.$ms=y.getMilliseconds()},g.$utils=function(){return k},g.isValid=function(){return this.$d.toString()!==T},g.isSame=function(y,m){var _=F(y);return this.startOf(m)<=_&&_<=this.endOf(m)},g.isAfter=function(y,m){return F(y)<this.startOf(m)},g.isBefore=function(y,m){return this.endOf(m)<F(y)},g.$g=function(y,m,_){return k.u(y)?this[m]:this.set(_,y)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(y,m){var _=this,x=!!k.u(m)||m,C=k.p(y),O=function(pe,Y){var ae=k.w(_.$u?Date.UTC(_.$y,Y,pe):new Date(_.$y,Y,pe),_);return x?ae:ae.endOf(d)},z=function(pe,Y){return k.w(_.toDate()[pe].apply(_.toDate("s"),(x?[0,0,0,0]:[23,59,59,999]).slice(Y)),_)},$=this.$W,w=this.$M,R=this.$D,K="set"+(this.$u?"UTC":"");switch(C){case f:return x?O(1,0):O(31,11);case h:return x?O(1,w):O(0,w+1);case u:var ee=this.$locale().weekStart||0,oe=($<ee?$+7:$)-ee;return O(x?R-oe:R+(6-oe),w);case d:case v:return z(K+"Hours",0);case l:return z(K+"Minutes",1);case a:return z(K+"Seconds",2);case n:return z(K+"Milliseconds",3);default:return this.clone()}},g.endOf=function(y){return this.startOf(y,!1)},g.$set=function(y,m){var _,x=k.p(y),C="set"+(this.$u?"UTC":""),O=(_={},_[d]=C+"Date",_[v]=C+"Date",_[h]=C+"Month",_[f]=C+"FullYear",_[l]=C+"Hours",_[a]=C+"Minutes",_[n]=C+"Seconds",_[r]=C+"Milliseconds",_)[x],z=x===d?this.$D+(m-this.$W):m;if(x===h||x===f){var $=this.clone().set(v,1);$.$d[O](z),$.init(),this.$d=$.set(v,Math.min(this.$D,$.daysInMonth())).$d}else O&&this.$d[O](z);return this.init(),this},g.set=function(y,m){return this.clone().$set(y,m)},g.get=function(y){return this[k.p(y)]()},g.add=function(y,m){var _,x=this;y=Number(y);var C=k.p(m),O=function(w){var R=F(x);return k.w(R.date(R.date()+Math.round(w*y)),x)};if(C===h)return this.set(h,this.$M+y);if(C===f)return this.set(f,this.$y+y);if(C===d)return O(1);if(C===u)return O(7);var z=(_={},_[a]=i,_[l]=s,_[n]=e,_)[C]||1,$=this.$d.getTime()+y*z;return k.w($,this)},g.subtract=function(y,m){return this.add(-1*y,m)},g.format=function(y){var m=this,_=this.$locale();if(!this.isValid())return _.invalidDate||T;var x=y||"YYYY-MM-DDTHH:mm:ssZ",C=k.z(this),O=this.$H,z=this.$m,$=this.$M,w=_.weekdays,R=_.months,K=_.meridiem,ee=function(Y,ae,ze,ot){return Y&&(Y[ae]||Y(m,x))||ze[ae].slice(0,ot)},oe=function(Y){return k.s(O%12||12,Y,"0")},pe=K||function(Y,ae,ze){var ot=Y<12?"AM":"PM";return ze?ot.toLowerCase():ot};return x.replace(A,function(Y,ae){return ae||function(ze){switch(ze){case"YY":return String(m.$y).slice(-2);case"YYYY":return k.s(m.$y,4,"0");case"M":return $+1;case"MM":return k.s($+1,2,"0");case"MMM":return ee(_.monthsShort,$,R,3);case"MMMM":return ee(R,$);case"D":return m.$D;case"DD":return k.s(m.$D,2,"0");case"d":return String(m.$W);case"dd":return ee(_.weekdaysMin,m.$W,w,2);case"ddd":return ee(_.weekdaysShort,m.$W,w,3);case"dddd":return w[m.$W];case"H":return String(O);case"HH":return k.s(O,2,"0");case"h":return oe(1);case"hh":return oe(2);case"a":return pe(O,z,!0);case"A":return pe(O,z,!1);case"m":return String(z);case"mm":return k.s(z,2,"0");case"s":return String(m.$s);case"ss":return k.s(m.$s,2,"0");case"SSS":return k.s(m.$ms,3,"0");case"Z":return C}return null}(Y)||C.replace(":","")})},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(y,m,_){var x,C=this,O=k.p(m),z=F(y),$=(z.utcOffset()-this.utcOffset())*i,w=this-z,R=function(){return k.m(C,z)};switch(O){case f:x=R()/12;break;case h:x=R();break;case p:x=R()/3;break;case u:x=(w-$)/6048e5;break;case d:x=(w-$)/864e5;break;case l:x=w/s;break;case a:x=w/i;break;case n:x=w/e;break;default:x=w}return _?x:k.a(x)},g.daysInMonth=function(){return this.endOf(h).$D},g.$locale=function(){return U[this.$L]},g.locale=function(y,m){if(!y)return this.$L;var _=this.clone(),x=X(y,m,!0);return x&&(_.$L=x),_},g.clone=function(){return k.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},b}(),J=j.prototype;return F.prototype=J,[["$ms",r],["$s",n],["$m",a],["$H",l],["$W",d],["$M",h],["$y",f],["$D",v]].forEach(function(b){J[b[1]]=function(g){return this.$g(g,b[0],b[1])}}),F.extend=function(b,g){return b.$i||(b(g,j,F),b.$i=!0),F},F.locale=X,F.isDayjs=q,F.unix=function(b){return F(1e3*b)},F.en=U[M],F.Ls=U,F.p={},F})})(dr);var Jd=dr.exports;const ko=c.getDefaultExportFromCjs(Jd);function So(o,t){c.addMessages(o,t)}function Xd(o){c.$locale.set(o)}const Po={en:{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",timeoutTextSecondary:'Please note that the “Time-out facility” does not in any case replace “Self-exclusion”. If you think you are experiencing a gambling addiction problem, please enter the link under "Responsible Gaming" and use the "Self-exclusion service" or contact us as soon as possible.',save:"Save",CoolOffFor24Hours:"24 hours",CoolOffFor72Hours:"72 hours",CoolOffFor7Days:"7 days",CoolOffFor30Days:"30 days",CoolOffFor6Weeks:"6 weeks",CoolOffFor2Months:"2 months",CoolOffFor3Months:"3 months",CoolOffUntilSelectedDate:"Until",dateInstructions:"In order to manually input date use the following format:",duration:"Duration:",confirmationModalTitle:"Confirmation",confirmationModalTextPeriod:"Are you sure you want to cool-off for {period}?",confirmationModalTextUntil:"Are you sure you want to cool-off until {date}?"},"en-us":{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",timeoutTextSecondary:'Please note that the “Time-out facility” does not in any case replace “Self-exclusion”. If you think you are experiencing a gambling addiction problem, please enter the link under "Responsible Gaming" and use the "Self-exclusion service" or contact us as soon as possible.',save:"Save",CoolOffFor24Hours:"24 hours",CoolOffFor72Hours:"72 hours",CoolOffFor7Days:"7 days",CoolOffFor30Days:"30 days",CoolOffFor6Weeks:"6 weeks",CoolOffFor2Months:"2 months",CoolOffFor3Months:"3 months",CoolOffUntilSelectedDate:"Until",dateInstructions:"In order to manually input date use the following format:",duration:"Duration:",confirmationModalTitle:"Confirmation",confirmationModalTextPeriod:"Are you sure you want to cool-off for {period}?",confirmationModalTextUntil:"Are you sure you want to cool-off until {date}?"},"zh-hk":{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} 為您提供一種從遊戲中休息的簡單方法。 您可以請求自動封鎖您的帳戶 24 小時。 在臨時限制期間,您將無法訪問您的帳戶。",timeoutTextSecondary:"請注意,“超時設施”在任何情況下都不能取代“自我排除”。 如果您認為自己有賭博成癮問題,請進入“負責任博彩”下的鏈接並使用“自我排除服務”或盡快與我們聯繫。",save:"節省",CoolOffFor24Hours:"24小時",CoolOffFor72Hours:"72小時",CoolOffFor7Days:"7天",CoolOffFor30Days:"30天",CoolOffFor6Weeks:"6週",CoolOffFor2Months:"2個月",CoolOffFor3Months:"3個月",CoolOffUntilSelectedDate:"直到",dateInstructions:"如需手動輸入日期,請使用以下格式:",duration:"持續時間:",confirmationModalTitle:"確認",confirmationModalTextPeriod:"您確定要冷靜 {period} 嗎?",confirmationModalTextUntil:"您確定要冷靜直到 {date} 嗎?"},fr:{titleTimeout:"Délai d'attente",timeoutTextFirst:"{operatorname} vous offre un moyen facile de faire une pause dans les jeux.vous pouvez demander le blocage automatique de votre compte pendant 24 heures . Pendant le blocage temporaire ,vous ne pourrez pas accéder à votre compte.",timeoutTextSecondary:`Veuillez noter que l'"installation du temps mort" ne remplace en aucun cas "l'auto exclusion". Si vous pensez avoir un problème de dépendance au jeu,veuillez cliquer sur le lien "jeux responsable" et utiliser le "service d'auto exclusion" ou nous contacter dès que possible.`,save:"Savez",CoolOffFor24Hours:"24 heures",CoolOffFor72Hours:"72 heures",CoolOffFor7Days:"7 jours",CoolOffFor30Days:"30 jours",CoolOffFor6Weeks:"6 semaines",CoolOffFor2Months:"2 mois",CoolOffFor3Months:"3 mois",CoolOffUntilSelectedDate:"Jusqu'à",dateInstructions:"Pour saisir une date manuellement, utilisez le format suivant :",duration:"Durée :",confirmationModalTitle:"Confirmation",confirmationModalTextPeriod:"Êtes-vous sûr de vouloir vous refroidir pendant {period} ?",confirmationModalTextUntil:"Êtes-vous sûr de vouloir vous refroidir jusqu'au {date} ?"},ro:{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} îți asigură o cale ușoară de a lua o pauză de la jocuri. Poți solicita o blocare automată a contului tău pentru 24 de ore. În timpul restricției temporare, nu vei putea accesa contul.",timeoutTextSecondary:"Te rugăm să reții că „Facilitatea de time-out” nu înlocuiește în niciun caz „Auto-excluderea”. Dacă crezi că te confrunți cu o problemă de dependență de jocuri de noroc, te rugăm să accesezi secțiunea de „Joc responsabil” și să utilizezi „Serviciul de auto-excludere” sau să ne contactezi cât mai curând posibil.",save:"Salvează",CoolOffFor24Hours:"24 ore",CoolOffFor72Hours:"72 ore",CoolOffFor7Days:"7 zile",CoolOffFor30Days:"30 zile",CoolOffFor6Weeks:"6 săptămâni",CoolOffFor2Months:"2 luni",CoolOffFor3Months:"3 luni",CoolOffUntilSelectedDate:"Până la",dateInstructions:"Pentru a introduce manual o dată, utilizați următorul format:",duration:"Durată:",confirmationModalTitle:"Confirmare",confirmationModalTextPeriod:"Ești sigur că vrei să te răcorești pentru {period}?",confirmationModalTextUntil:"Ești sigur că vrei să te răcorești până la {date}?"},es:{titleTimeout:"Descanso",timeoutTextFirst:"{operatorname} le brinda una manera fácil de tomarse un descanso de los juegos. Puedes solicitar un bloqueo automático de tu cuenta durante 24 horas. Durante la contención temporal, no será posible ingresar a su cuenta.",timeoutTextSecondary:'Tenga en cuenta que la función de tiempo de espera no sustituye en ningún caso la autoexclusión. Si cree que tiene un problema de adicción al juego, por favor ingrese al enlace de "Juego Responsable" y use el "Servicio de autoexclusión" o ponte en contacto con nosotros a la brevedad posible.',save:"Guardar",CoolOffFor24Hours:"24 horas",CoolOffFor72Hours:"72 horas",CoolOffFor7Days:"7 días",CoolOffFor30Days:"30 días",CoolOffFor6Weeks:"6 semanas",CoolOffFor2Months:"2 meses",CoolOffFor3Months:"3 meses",CoolOffUntilSelectedDate:"Hasta",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",duration:"Duración:",confirmationModalTitle:"Confirmación",confirmationModalTextPeriod:"¿Estás seguro de que quieres enfriarte por {period}?",confirmationModalTextUntil:"¿Estás seguro de que quieres enfriarte hasta {date}?"},pt:{titleTimeout:"Tempo esgotado",timeoutTextFirst:"{operatorname} oferece uma maneira fácil de fazer uma pausa nos jogos. Você pode solicitar o bloqueio automático de sua conta por 24 horas. Durante a restrição temporária, você não poderá acessar sua conta.",timeoutTextSecondary:'Observe que a “Facilidade de tempo limite” não substitui em nenhum caso a “Autoexclusão”. Se você acha que está enfrentando um problema de vício em jogos de azar, entre no link em "Jogo Responsável" e use o "Serviço de autoexclusão" ou entre em contato conosco o mais rápido possível.',save:"Guardar",CoolOffFor24Hours:"24 horas",CoolOffFor72Hours:"72 horas",CoolOffFor7Days:"7 dias",CoolOffFor30Days:"30 dias",CoolOffFor6Weeks:"6 semanas",CoolOffFor2Months:"2 meses",CoolOffFor3Months:"3 meses",CoolOffUntilSelectedDate:"Até",dateInstructions:"Para introduzir manualmente a data, utilize o seguinte formato:",duration:"Duração:",confirmationModalTitle:"Confirmação",confirmationModalTextPeriod:"Tem a certeza de que deseja se refrescar por {period}?",confirmationModalTextUntil:"Tem a certeza de que deseja se refrescar até {date}?"},hr:{titleTimeout:"Samoisključenje",timeoutTextFirst:'Svjesni smo da kockanje može dovesti do ovisnosti i u našem nastojanju da spriječimo te probleme Samoisključenje stupa na snagu od trenutka kada je postavljeno za razdoblje koje odaberete. Odaberite vremenski okvir ispod, a zatim kliknite "Potvrdi".',timeoutTextSecondary:"Tijekom samoisključivanja nećete moći pristupiti svom računu. U slučaju trajnog samoisključenja E-mail: {supportemail}",save:"Spremi",CoolOffFor24Hours:"24 sata",CoolOffFor72Hours:"72 sata",CoolOffFor7Days:"7 dana",CoolOffFor30Days:"30 dana",CoolOffFor6Weeks:"6 tjedana",CoolOffFor2Months:"2 mjeseca",CoolOffFor3Months:"3 mjeseca",CoolOffUntilSelectedDate:"Do",dateInstructions:"Za ručni unos datuma koristite sljedeći format:",duration:"Trajanje:",confirmationModalTitle:"Potvrda",confirmationModalTextPeriod:"Jeste li sigurni da se želite rashladiti na {period}?",confirmationModalTextUntil:"Jeste li sigurni da se želite rashladiti do {date}?"},"pt-br":{titleTimeout:"Tempo fora",timeoutTextFirst:"{operatorname} oferece uma maneira fácil de pausar o jogo. Você pode solicitar o bloqueio automático da conta por 24 horas. Durante a restrição temporária,no tendrá acceso a su cuenta",timeoutTextSecondary:"Observe que o tempo limite não substitui a autoexclusão. Se você acha que tem um problema de dependência de jogo, por favor acesse o link em “Jogo Responsável” e utilize o “Serviço de Autoexclusão” ou entre em contate-nos inmediatamente",save:"Manter",CoolOffFor24Hours:"24 horas",CoolOffFor72Hours:"72 horas",CoolOffFor7Days:"7 dias",CoolOffFor30Days:"30 dias",CoolOffFor6Weeks:"6 semanas",CoolOffFor2Months:"2 meses",CoolOffFor3Months:"3 meses",CoolOffUntilSelectedDate:"Até",dateInstructions:"Para inserir manualmente a data, use o seguinte formato:",duration:"Duração:",confirmationModalTitle:"Confirmação",confirmationModalTextPeriod:"Tem certeza de que deseja se refrescar por {period}?",confirmationModalTextUntil:"Tem certeza de que deseja se refrescar até {date}?"},"es-mx":{titleTimeout:"Tiempo Fuera",timeoutTextFirst:"{operatorname} le ofrece una forma fácil de tomar pausa del juego. Puede solicitar bloqueo automático de la cuenta por 24 hrs. Durante la restriccion temporal,no tendrá acceso a su cuenta",timeoutTextSecondary:'Por favor tenga en cuenta que el tiemo-fuera no reemplaza la auto-exclusión. Si usted cree que tiene un problema de adicción al juego," por favor acceda a la liga bajo ""Juego Responsable"" y utilice el ""servicio de Auto-exclusión"" o contáctenos en cuanto antes. "',save:"Guardar",CoolOffFor24Hours:"24 horas",CoolOffFor72Hours:"72 horas",CoolOffFor7Days:"7 días",CoolOffFor30Days:"30 días",CoolOffFor6Weeks:"6 semanas",CoolOffFor2Months:"2 meses",CoolOffFor3Months:"3 meses",CoolOffUntilSelectedDate:"Hasta",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",duration:"Duración:",confirmationModalTitle:"Confirmación",confirmationModalTextPeriod:"¿Está seguro de que desea refrescarse por {period}?",confirmationModalTextUntil:"¿Está seguro de que desea refrescarse hasta {date}?"},tr:{titleTimeout:"Zaman aşımı",timeoutTextFirst:"{operatorname} size oyunlara ara vermeniz için kolay bir yol sağlar. Hesabınızın 24 saat süreyle otomatik olarak engellenmesini talep edebilirsiniz. Geçici kısıtlama sırasında Hesabınıza erişemeyeceksiniz.",timeoutTextSecondary:"Lütfen 'Mola olanağının' hiçbir durumda 'Kendini ihraç etmenin' yerine geçmediğini unutmayın. Kumar bağımlılığı sorunu yaşadığınızı düşünüyorsanız lütfen Sorumlu Oyun altındaki bağlantıya girin ve 'Kendini men etme hizmetini' kullanın veya en kısa sürede bizimle iletişime geçin.",save:"Kaydetmek",CoolOffFor24Hours:"24 saat",CoolOffFor72Hours:"72 saat",CoolOffFor7Days:"7 gün",CoolOffFor30Days:"30 gün",CoolOffFor6Weeks:"6 hafta",CoolOffFor2Months:"2 ay",CoolOffFor3Months:"3 ay",CoolOffUntilSelectedDate:"Kadar",dateInstructions:"Tarihi manuel olarak girmek için şu formatı kullanın:",duration:"Süre:",confirmationModalTitle:"Onay",confirmationModalTextPeriod:"{period} için kendinizi soğutmak istediğinizden emin misiniz?",confirmationModalTextUntil:"{date} tarihine kadar kendinizi soğutmak istediğinizden emin misiniz?"}};function Zd(o){c.append_styles(o,"svelte-u6jylo",`.TimeoutWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TimeoutTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:18px}.TimeoutSelectWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);border-radius:5px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.TimeoutDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.TimeoutDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.TimeoutDateWrapper .TimeoutDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}`)}function Oo(o,t,e){const i=o.slice();return i[38]=t[e].value,i}function Qd(o){let t,e,i,s=o[16]("titleTimeout")+"",r,n,a,l,d=o[16]("timeoutTextFirst",{values:{operatorname:o[0]}})+"",u,h,p,f=o[16]("timeoutTextSecondary",{values:{supportemail:o[5]}})+"",v,T,E,A,D,I,N,M,U=o[16]("save")+"",Q,q,X,F,k,j=o[17]&&tc(o),J=c.ensure_array_like(o[8]),b=[];for(let m=0;m<J.length;m+=1)b[m]=Mo(Oo(o,J,m));let g=o[10]&&Io(o),y=o[18]&&ic(o);return{c(){t=c.element("form"),j&&j.c(),e=c.space(),i=c.element("h2"),r=c.text(s),n=c.space(),a=c.element("div"),l=c.element("p"),u=c.text(d),h=c.space(),p=c.element("p"),v=c.text(f),T=c.space(),E=c.element("div"),A=c.element("select");for(let m=0;m<b.length;m+=1)b[m].c();D=c.space(),g&&g.c(),I=c.space(),N=c.element("div"),M=c.element("button"),Q=c.text(U),q=c.space(),y&&y.c(),X=c.empty(),c.attr(i,"class","TimeoutTitle "+(o[17]?"TimeoutTitleNone":"")),c.attr(a,"class","TimeoutDescription "+(o[17]?"TimeoutDescriptionMobile":"")),c.attr(A,"class","TimeoutSelect "+(o[17]?"TimeoutSelectMobile":"")),o[9]===void 0&&c.add_render_callback(()=>o[26].call(A)),c.attr(E,"class","TimeoutSelectWrapper"),c.attr(M,"class","TimeoutSave"),c.attr(N,"class","TimeoutActionButtons "+(o[17]?"TimeoutActionButtonsMobile":"")),c.attr(t,"class","TimeoutWrapper "+(o[17]?"TimeoutWrapperMobile":""))},m(m,_){c.insert(m,t,_),j&&j.m(t,null),c.append(t,e),c.append(t,i),c.append(i,r),c.append(t,n),c.append(t,a),c.append(a,l),c.append(l,u),c.append(a,h),c.append(a,p),c.append(p,v),c.append(t,T),c.append(t,E),c.append(E,A);for(let x=0;x<b.length;x+=1)b[x]&&b[x].m(A,null);c.select_option(A,o[9],!0),c.append(t,D),g&&g.m(t,null),c.append(t,I),c.append(t,N),c.append(N,M),c.append(M,Q),c.insert(m,q,_),y&&y.m(m,_),c.insert(m,X,_),F||(k=[c.listen(A,"change",o[26]),c.listen(A,"change",o[21]),c.listen(M,"click",o[28])],F=!0)},p(m,_){if(m[17]&&j.p(m,_),_[0]&65536&&s!==(s=m[16]("titleTimeout")+"")&&c.set_data(r,s),_[0]&65537&&d!==(d=m[16]("timeoutTextFirst",{values:{operatorname:m[0]}})+"")&&c.set_data(u,d),_[0]&65568&&f!==(f=m[16]("timeoutTextSecondary",{values:{supportemail:m[5]}})+"")&&c.set_data(v,f),_[0]&65792){J=c.ensure_array_like(m[8]);let x;for(x=0;x<J.length;x+=1){const C=Oo(m,J,x);b[x]?b[x].p(C,_):(b[x]=Mo(C),b[x].c(),b[x].m(A,null))}for(;x<b.length;x+=1)b[x].d(1);b.length=J.length}_[0]&768&&c.select_option(A,m[9]),m[10]?g?g.p(m,_):(g=Io(m),g.c(),g.m(t,I)):g&&(g.d(1),g=null),_[0]&65536&&U!==(U=m[16]("save")+"")&&c.set_data(Q,U),m[18]&&y.p(m,_)},d(m){m&&(c.detach(t),c.detach(q),c.detach(X)),j&&j.d(),c.destroy_each(b,m),g&&g.d(),y&&y.d(m),F=!1,c.run_all(k)}}}function ec(o){let t,e,i,s,r,n,a,l,d,u,h,p,f,v,T,E;function A(N,M){return N[17]?sc:oc}let I=A(o)(o);return{c(){t=c.element("div"),I.c(),e=c.space(),i=c.element("div"),s=c.element("ui-skeleton"),r=c.space(),n=c.element("div"),a=c.space(),l=c.element("ui-skeleton"),d=c.space(),u=c.element("div"),h=c.space(),p=c.element("div"),f=c.element("ui-skeleton"),v=c.space(),T=c.element("div"),E=c.element("ui-skeleton"),c.set_custom_element_data(s,"structure","text"),c.set_custom_element_data(s,"height",o[17]?"15px":"20px"),c.set_custom_element_data(s,"rows","3"),c.set_custom_element_data(s,"width","100%"),c.set_style(n,"height",o[17]?"10px":"30px"),c.set_custom_element_data(l,"structure","text"),c.set_custom_element_data(l,"height",o[17]?"15px":"20px"),c.set_custom_element_data(l,"rows","3"),c.set_custom_element_data(l,"width","100%"),c.set_style(u,"height",o[17]?"10px":"30px"),c.attr(i,"class","TimeoutDescription"),c.set_custom_element_data(f,"structure","rectangle"),c.set_custom_element_data(f,"width",o[17]?"100%":"50%"),c.set_custom_element_data(f,"height",o[17]?"30px":"44px"),c.set_custom_element_data(f,"margin-bottom","16px"),c.attr(p,"class","TimeoutSelectWrapper"),c.set_custom_element_data(E,"structure","rectangle"),c.set_custom_element_data(E,"width","100%"),c.set_custom_element_data(E,"height",o[17]?"35px":"50px"),c.attr(T,"class","TimeoutActionButtons "+(o[17]?"TimeoutActionButtonsMobile":"")),c.attr(t,"class","TimeoutWrapper "+(o[17]?"TimeoutWrapperMobile":""))},m(N,M){c.insert(N,t,M),I.m(t,null),c.append(t,e),c.append(t,i),c.append(i,s),c.append(i,r),c.append(i,n),c.append(i,a),c.append(i,l),c.append(i,d),c.append(i,u),c.append(t,h),c.append(t,p),c.append(p,f),c.append(t,v),c.append(t,T),c.append(T,E)},p:c.noop,d(N){N&&c.detach(t),I.d()}}}function tc(o){let t,e,i,s,r,n,a,l,d,u,h=o[16]("titleTimeout")+"",p,f,v;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--pam-color-primary, var(--emw--color-primary, #22B04E));}"),n=c.svg_element("g"),a=c.svg_element("g"),l=c.svg_element("path"),d=c.space(),u=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(u,"class","TimeoutTitleMobile"),c.attr(u,"part","TimeoutTitleMobile"),c.attr(t,"class","MenuReturnButton"),c.attr(t,"part","MenuReturnButton")},m(T,E){c.insert(T,t,E),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,d),c.append(t,u),c.append(u,p),f||(v=c.listen(t,"click",o[25]),f=!0)},p(T,E){E[0]&65536&&h!==(h=T[16]("titleTimeout")+"")&&c.set_data(p,h)},d(T){T&&c.detach(t),f=!1,v()}}}function Mo(o){let t,e=o[16](o[38])+"",i,s;return{c(){t=c.element("option"),i=c.text(e),t.__value=s=o[38],c.set_input_value(t,t.__value)},m(r,n){c.insert(r,t,n),c.append(t,i)},p(r,n){n[0]&65792&&e!==(e=r[16](r[38])+"")&&c.set_data(i,e),n[0]&256&&s!==(s=r[38])&&(t.__value=s,c.set_input_value(t,t.__value))},d(r){r&&c.detach(t)}}}function Io(o){let t,e,i=o[16]("duration")+"",s,r,n,a=o[16]("dateInstructions")+"",l,d,u,h,p;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),d=c.space(),u=c.element("strong"),u.innerHTML="MM/DD/YYYY<strong></strong>",h=c.space(),p=c.element("vaadin-date-picker"),c.attr(e,"for","TimeoutDate"),c.attr(n,"class","TimeoutDateInstructions"),c.set_custom_element_data(p,"min",o[12]),c.set_custom_element_data(p,"max",o[13]),c.set_custom_element_data(p,"value",o[12]),c.attr(t,"class","TimeoutDateWrapper "+(o[17]?"TimeoutDateWrapperMobile":""))},m(f,v){c.insert(f,t,v),c.append(t,e),c.append(e,s),c.append(t,r),c.append(t,n),c.append(n,l),c.append(n,d),c.append(n,u),c.append(t,h),c.append(t,p),o[27](p)},p(f,v){v[0]&65536&&i!==(i=f[16]("duration")+"")&&c.set_data(s,i),v[0]&65536&&a!==(a=f[16]("dateInstructions")+"")&&c.set_data(l,a),v[0]&4096&&c.set_custom_element_data(p,"min",f[12]),v[0]&8192&&c.set_custom_element_data(p,"max",f[13]),v[0]&4096&&c.set_custom_element_data(p,"value",f[12])},d(f){f&&c.detach(t),o[27](null)}}}function ic(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[16]("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",s={type:"SetPlayerAccountTimeout",timeoutSelected:o[9],timeoutExpiryDate:o[11]}),c.set_custom_element_data(e,"mbsource",o[4]),c.set_custom_element_data(e,"lang",o[1]),c.set_custom_element_data(t,"clientstyling",o[2]),c.set_custom_element_data(t,"clientstylingurl",o[3]),c.set_custom_element_data(t,"mbsource",o[4]),c.set_custom_element_data(t,"showmodaleventname","ShowTimeoutConfirmationModal")},m(r,n){c.insert(r,t,n),c.append(t,e)},p(r,n){n[0]&65536&&i!==(i=r[16]("confirmationModalTitle"))&&c.set_custom_element_data(e,"modalTitle",i),n[0]&16384&&c.set_custom_element_data(e,"modalText",r[14]),n[0]&2816&&s!==(s={type:"SetPlayerAccountTimeout",timeoutSelected:r[9],timeoutExpiryDate:r[11]})&&c.set_custom_element_data(e,"modalconfirmevent",s),n[0]&16&&c.set_custom_element_data(e,"mbsource",r[4]),n[0]&2&&c.set_custom_element_data(e,"lang",r[1]),n[0]&4&&c.set_custom_element_data(t,"clientstyling",r[2]),n[0]&8&&c.set_custom_element_data(t,"clientstylingurl",r[3]),n[0]&16&&c.set_custom_element_data(t,"mbsource",r[4])},d(r){r&&c.detach(t)}}}function oc(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 sc(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 rc(o){let t;function e(r,n){return r[15]?ec:Qd}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[29](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[29](null)}}}function nc(o,t,e){let i;c.component_subscribe(o,c.$format,w=>e(16,i=w));let{operator:s="Everymatrix"}=t,{lang:r="en"}=t,{clientstyling:n=""}=t,{clientstylingurl:a=""}=t,{mbsource:l}=t,{translationurl:d=""}=t,{supportemail:u=""}=t,{endpoint:h=""}=t,{hasconfirmationmodal:p="false"}=t,f,v,T=window.navigator.userAgent,E=c.getDevice(T)!=="PC",A=[{value:"CoolOffFor24Hours",dateSelector:!1},{value:"CoolOffFor7Days",dateSelector:!1},{value:"CoolOffFor30Days",dateSelector:!1},{value:"CoolOffFor3Months",dateSelector:!1}],D=A[0].value,I=!1,N="",M,U,Q="",q=p==="true",X=!0;const F=()=>{fetch(d).then(w=>w.json()).then(w=>{Object.keys(w).forEach(R=>{So(R,w[R])})}).catch(w=>{console.log(w)})};Object.keys(Po).forEach(w=>{So(w,Po[w])});const k=()=>{const w=new URL("/v1/player/coolOffSettings",h),R={method:"GET"};fetch(w.href,R).then(K=>{if(!K.ok)throw new Error("There was an error while fetching the configuration");return K.json()}).then(K=>{const{periods:ee}=K;ee&&e(8,A=ee.map(oe=>({value:oe.key,text:oe.text,dateSelector:oe.dateSelector})))}).catch(K=>{console.log(K)}).finally(()=>{e(15,X=!1),e(9,D=A[0].value)})},j=()=>{if(!q){e(14,Q="");return}e(14,Q=I?i("confirmationModalTextUntil",{values:{date:N}}):i("confirmationModalTextPeriod",{values:{period:i(D)}}))},J=w=>{w.preventDefault(),q?window.postMessage({type:"ShowTimeoutConfirmationModal"},window.location.href):window.postMessage({type:"SetPlayerAccountTimeout",timeoutSelected:D,timeoutExpiryDate:N},window.location.href)},b=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:E},window.location.href)},g=()=>{Xd(r),k()},y=()=>{const w=A.find(R=>R.value===D);e(10,I=!1),w.dateSelector&&(e(10,I=!0),e(12,M=ko().format("YYYY-MM-DD")),e(13,U=ko().add(6,"months").format("YYYY-MM-DD")),e(11,N=M)),q&&j()},m=w=>{e(11,N=w.target.value)},_=()=>{v.addEventListener("change",m,!1)};c.onMount(()=>()=>{v.removeEventListener("change",m)});const x=()=>b();function C(){D=c.select_value(this),e(9,D),e(8,A)}function O(w){c.binding_callbacks[w?"unshift":"push"](()=>{v=w,e(7,v)})}const z=w=>J(w);function $(w){c.binding_callbacks[w?"unshift":"push"](()=>{f=w,e(6,f)})}return o.$$set=w=>{"operator"in w&&e(0,s=w.operator),"lang"in w&&e(1,r=w.lang),"clientstyling"in w&&e(2,n=w.clientstyling),"clientstylingurl"in w&&e(3,a=w.clientstylingurl),"mbsource"in w&&e(4,l=w.mbsource),"translationurl"in w&&e(22,d=w.translationurl),"supportemail"in w&&e(5,u=w.supportemail),"endpoint"in w&&e(23,h=w.endpoint),"hasconfirmationmodal"in w&&e(24,p=w.hasconfirmationmodal)},o.$$.update=()=>{o.$$.dirty[0]&128&&v&&_(),o.$$.dirty[0]&2&&r&&g(),o.$$.dirty[0]&68&&n&&f&&c.setClientStyling(f,n),o.$$.dirty[0]&72&&a&&f&&c.setClientStylingURL(f,a),o.$$.dirty[0]&80&&l&&f&&c.setStreamStyling(f,`${l}.Style`),o.$$.dirty[0]&4194304&&d&&F()},q&&j(),[s,r,n,a,l,u,f,v,A,D,I,N,M,U,Q,X,i,E,q,J,b,y,d,h,p,x,C,O,z,$]}class cr extends c.SvelteComponent{constructor(t){super(),c.init(this,t,nc,rc,c.safe_not_equal,{operator:0,lang:1,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:22,supportemail:5,endpoint:23,hasconfirmationmodal:24},Zd,[-1,-1])}get operator(){return this.$$.ctx[0]}set operator(t){this.$$set({operator:t}),c.flush()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),c.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),c.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),c.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),c.flush()}get translationurl(){return this.$$.ctx[22]}set translationurl(t){this.$$set({translationurl:t}),c.flush()}get supportemail(){return this.$$.ctx[5]}set supportemail(t){this.$$set({supportemail:t}),c.flush()}get endpoint(){return this.$$.ctx[23]}set endpoint(t){this.$$set({endpoint:t}),c.flush()}get hasconfirmationmodal(){return this.$$.ctx[24]}set hasconfirmationmodal(t){this.$$set({hasconfirmationmodal:t}),c.flush()}}c.create_custom_element(cr,{operator:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},supportemail:{},endpoint:{},hasconfirmationmodal:{}},[],[],!0);exports.default=cr;
|
|
3555
|
+
`}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new Rd(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e},{uniqueIdPrefix:"search-input"})),this.addController(new Hd(this.inputElement,this._labelController)),this._tooltipController=new Vs(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}}ie(Gd);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-BAzIqzPO.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)})}var dr={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",d="day",u="week",h="month",p="quarter",f="year",v="date",T="Invalid Date",E=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,A=/\[([^\]]+)]|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,D={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(b){var g=["th","st","nd","rd"],y=b%100;return"["+b+(g[(y-20)%10]||g[y]||g[0])+"]"}},I=function(b,g,y){var m=String(b);return!m||m.length>=g?b:""+Array(g+1-m.length).join(y)+b},N={s:I,z:function(b){var g=-b.utcOffset(),y=Math.abs(g),m=Math.floor(y/60),_=y%60;return(g<=0?"+":"-")+I(m,2,"0")+":"+I(_,2,"0")},m:function b(g,y){if(g.date()<y.date())return-b(y,g);var m=12*(y.year()-g.year())+(y.month()-g.month()),_=g.clone().add(m,h),x=y-_<0,C=g.clone().add(m+(x?-1:1),h);return+(-(m+(y-_)/(x?_-C:C-_))||0)},a:function(b){return b<0?Math.ceil(b)||0:Math.floor(b)},p:function(b){return{M:h,y:f,w:u,d,D:v,h:l,m:a,s:n,ms:r,Q:p}[b]||String(b||"").toLowerCase().replace(/s$/,"")},u:function(b){return b===void 0}},M="en",U={};U[M]=D;var Q="$isDayjsObject",q=function(b){return b instanceof j||!(!b||!b[Q])},X=function b(g,y,m){var _;if(!g)return M;if(typeof g=="string"){var x=g.toLowerCase();U[x]&&(_=x),y&&(U[x]=y,_=x);var C=g.split("-");if(!_&&C.length>1)return b(C[0])}else{var O=g.name;U[O]=g,_=O}return!m&&_&&(M=_),_||!m&&M},F=function(b,g){if(q(b))return b.clone();var y=typeof g=="object"?g:{};return y.date=b,y.args=arguments,new j(y)},k=N;k.l=X,k.i=q,k.w=function(b,g){return F(b,{locale:g.$L,utc:g.$u,x:g.$x,$offset:g.$offset})};var j=function(){function b(y){this.$L=X(y.locale,null,!0),this.parse(y),this.$x=this.$x||y.x||{},this[Q]=!0}var g=b.prototype;return g.parse=function(y){this.$d=function(m){var _=m.date,x=m.utc;if(_===null)return new Date(NaN);if(k.u(_))return new Date;if(_ instanceof Date)return new Date(_);if(typeof _=="string"&&!/Z$/i.test(_)){var C=_.match(E);if(C){var O=C[2]-1||0,z=(C[7]||"0").substring(0,3);return x?new Date(Date.UTC(C[1],O,C[3]||1,C[4]||0,C[5]||0,C[6]||0,z)):new Date(C[1],O,C[3]||1,C[4]||0,C[5]||0,C[6]||0,z)}}return new Date(_)}(y),this.init()},g.init=function(){var y=this.$d;this.$y=y.getFullYear(),this.$M=y.getMonth(),this.$D=y.getDate(),this.$W=y.getDay(),this.$H=y.getHours(),this.$m=y.getMinutes(),this.$s=y.getSeconds(),this.$ms=y.getMilliseconds()},g.$utils=function(){return k},g.isValid=function(){return this.$d.toString()!==T},g.isSame=function(y,m){var _=F(y);return this.startOf(m)<=_&&_<=this.endOf(m)},g.isAfter=function(y,m){return F(y)<this.startOf(m)},g.isBefore=function(y,m){return this.endOf(m)<F(y)},g.$g=function(y,m,_){return k.u(y)?this[m]:this.set(_,y)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(y,m){var _=this,x=!!k.u(m)||m,C=k.p(y),O=function(pe,Y){var ae=k.w(_.$u?Date.UTC(_.$y,Y,pe):new Date(_.$y,Y,pe),_);return x?ae:ae.endOf(d)},z=function(pe,Y){return k.w(_.toDate()[pe].apply(_.toDate("s"),(x?[0,0,0,0]:[23,59,59,999]).slice(Y)),_)},$=this.$W,w=this.$M,R=this.$D,K="set"+(this.$u?"UTC":"");switch(C){case f:return x?O(1,0):O(31,11);case h:return x?O(1,w):O(0,w+1);case u:var ee=this.$locale().weekStart||0,oe=($<ee?$+7:$)-ee;return O(x?R-oe:R+(6-oe),w);case d:case v:return z(K+"Hours",0);case l:return z(K+"Minutes",1);case a:return z(K+"Seconds",2);case n:return z(K+"Milliseconds",3);default:return this.clone()}},g.endOf=function(y){return this.startOf(y,!1)},g.$set=function(y,m){var _,x=k.p(y),C="set"+(this.$u?"UTC":""),O=(_={},_[d]=C+"Date",_[v]=C+"Date",_[h]=C+"Month",_[f]=C+"FullYear",_[l]=C+"Hours",_[a]=C+"Minutes",_[n]=C+"Seconds",_[r]=C+"Milliseconds",_)[x],z=x===d?this.$D+(m-this.$W):m;if(x===h||x===f){var $=this.clone().set(v,1);$.$d[O](z),$.init(),this.$d=$.set(v,Math.min(this.$D,$.daysInMonth())).$d}else O&&this.$d[O](z);return this.init(),this},g.set=function(y,m){return this.clone().$set(y,m)},g.get=function(y){return this[k.p(y)]()},g.add=function(y,m){var _,x=this;y=Number(y);var C=k.p(m),O=function(w){var R=F(x);return k.w(R.date(R.date()+Math.round(w*y)),x)};if(C===h)return this.set(h,this.$M+y);if(C===f)return this.set(f,this.$y+y);if(C===d)return O(1);if(C===u)return O(7);var z=(_={},_[a]=i,_[l]=s,_[n]=e,_)[C]||1,$=this.$d.getTime()+y*z;return k.w($,this)},g.subtract=function(y,m){return this.add(-1*y,m)},g.format=function(y){var m=this,_=this.$locale();if(!this.isValid())return _.invalidDate||T;var x=y||"YYYY-MM-DDTHH:mm:ssZ",C=k.z(this),O=this.$H,z=this.$m,$=this.$M,w=_.weekdays,R=_.months,K=_.meridiem,ee=function(Y,ae,ze,ot){return Y&&(Y[ae]||Y(m,x))||ze[ae].slice(0,ot)},oe=function(Y){return k.s(O%12||12,Y,"0")},pe=K||function(Y,ae,ze){var ot=Y<12?"AM":"PM";return ze?ot.toLowerCase():ot};return x.replace(A,function(Y,ae){return ae||function(ze){switch(ze){case"YY":return String(m.$y).slice(-2);case"YYYY":return k.s(m.$y,4,"0");case"M":return $+1;case"MM":return k.s($+1,2,"0");case"MMM":return ee(_.monthsShort,$,R,3);case"MMMM":return ee(R,$);case"D":return m.$D;case"DD":return k.s(m.$D,2,"0");case"d":return String(m.$W);case"dd":return ee(_.weekdaysMin,m.$W,w,2);case"ddd":return ee(_.weekdaysShort,m.$W,w,3);case"dddd":return w[m.$W];case"H":return String(O);case"HH":return k.s(O,2,"0");case"h":return oe(1);case"hh":return oe(2);case"a":return pe(O,z,!0);case"A":return pe(O,z,!1);case"m":return String(z);case"mm":return k.s(z,2,"0");case"s":return String(m.$s);case"ss":return k.s(m.$s,2,"0");case"SSS":return k.s(m.$ms,3,"0");case"Z":return C}return null}(Y)||C.replace(":","")})},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(y,m,_){var x,C=this,O=k.p(m),z=F(y),$=(z.utcOffset()-this.utcOffset())*i,w=this-z,R=function(){return k.m(C,z)};switch(O){case f:x=R()/12;break;case h:x=R();break;case p:x=R()/3;break;case u:x=(w-$)/6048e5;break;case d:x=(w-$)/864e5;break;case l:x=w/s;break;case a:x=w/i;break;case n:x=w/e;break;default:x=w}return _?x:k.a(x)},g.daysInMonth=function(){return this.endOf(h).$D},g.$locale=function(){return U[this.$L]},g.locale=function(y,m){if(!y)return this.$L;var _=this.clone(),x=X(y,m,!0);return x&&(_.$L=x),_},g.clone=function(){return k.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},b}(),J=j.prototype;return F.prototype=J,[["$ms",r],["$s",n],["$m",a],["$H",l],["$W",d],["$M",h],["$y",f],["$D",v]].forEach(function(b){J[b[1]]=function(g){return this.$g(g,b[0],b[1])}}),F.extend=function(b,g){return b.$i||(b(g,j,F),b.$i=!0),F},F.locale=X,F.isDayjs=q,F.unix=function(b){return F(1e3*b)},F.en=U[M],F.Ls=U,F.p={},F})})(dr);var Jd=dr.exports;const ko=c.getDefaultExportFromCjs(Jd);function So(o,t){c.addMessages(o,t)}function Xd(o){c.$locale.set(o)}const Po={en:{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",timeoutTextSecondary:'Please note that the “Time-out facility” does not in any case replace “Self-exclusion”. If you think you are experiencing a gambling addiction problem, please enter the link under "Responsible Gaming" and use the "Self-exclusion service" or contact us as soon as possible.',save:"Save",CoolOffFor24Hours:"24 hours",CoolOffFor72Hours:"72 hours",CoolOffFor7Days:"7 days",CoolOffFor30Days:"30 days",CoolOffFor6Weeks:"6 weeks",CoolOffFor2Months:"2 months",CoolOffFor3Months:"3 months",CoolOffUntilSelectedDate:"Until",dateInstructions:"In order to manually input date use the following format:",duration:"Duration:",confirmationModalTitle:"Confirmation",confirmationModalTextPeriod:"Are you sure you want to cool-off for {period}?",confirmationModalTextUntil:"Are you sure you want to cool-off until {date}?"},"en-us":{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",timeoutTextSecondary:'Please note that the “Time-out facility” does not in any case replace “Self-exclusion”. If you think you are experiencing a gambling addiction problem, please enter the link under "Responsible Gaming" and use the "Self-exclusion service" or contact us as soon as possible.',save:"Save",CoolOffFor24Hours:"24 hours",CoolOffFor72Hours:"72 hours",CoolOffFor7Days:"7 days",CoolOffFor30Days:"30 days",CoolOffFor6Weeks:"6 weeks",CoolOffFor2Months:"2 months",CoolOffFor3Months:"3 months",CoolOffUntilSelectedDate:"Until",dateInstructions:"In order to manually input date use the following format:",duration:"Duration:",confirmationModalTitle:"Confirmation",confirmationModalTextPeriod:"Are you sure you want to cool-off for {period}?",confirmationModalTextUntil:"Are you sure you want to cool-off until {date}?"},"zh-hk":{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} 為您提供一種從遊戲中休息的簡單方法。 您可以請求自動封鎖您的帳戶 24 小時。 在臨時限制期間,您將無法訪問您的帳戶。",timeoutTextSecondary:"請注意,“超時設施”在任何情況下都不能取代“自我排除”。 如果您認為自己有賭博成癮問題,請進入“負責任博彩”下的鏈接並使用“自我排除服務”或盡快與我們聯繫。",save:"節省",CoolOffFor24Hours:"24小時",CoolOffFor72Hours:"72小時",CoolOffFor7Days:"7天",CoolOffFor30Days:"30天",CoolOffFor6Weeks:"6週",CoolOffFor2Months:"2個月",CoolOffFor3Months:"3個月",CoolOffUntilSelectedDate:"直到",dateInstructions:"如需手動輸入日期,請使用以下格式:",duration:"持續時間:",confirmationModalTitle:"確認",confirmationModalTextPeriod:"您確定要冷靜 {period} 嗎?",confirmationModalTextUntil:"您確定要冷靜直到 {date} 嗎?"},fr:{titleTimeout:"Délai d'attente",timeoutTextFirst:"{operatorname} vous offre un moyen facile de faire une pause dans les jeux.vous pouvez demander le blocage automatique de votre compte pendant 24 heures . Pendant le blocage temporaire ,vous ne pourrez pas accéder à votre compte.",timeoutTextSecondary:`Veuillez noter que l'"installation du temps mort" ne remplace en aucun cas "l'auto exclusion". Si vous pensez avoir un problème de dépendance au jeu,veuillez cliquer sur le lien "jeux responsable" et utiliser le "service d'auto exclusion" ou nous contacter dès que possible.`,save:"Savez",CoolOffFor24Hours:"24 heures",CoolOffFor72Hours:"72 heures",CoolOffFor7Days:"7 jours",CoolOffFor30Days:"30 jours",CoolOffFor6Weeks:"6 semaines",CoolOffFor2Months:"2 mois",CoolOffFor3Months:"3 mois",CoolOffUntilSelectedDate:"Jusqu'à",dateInstructions:"Pour saisir une date manuellement, utilisez le format suivant :",duration:"Durée :",confirmationModalTitle:"Confirmation",confirmationModalTextPeriod:"Êtes-vous sûr de vouloir vous refroidir pendant {period} ?",confirmationModalTextUntil:"Êtes-vous sûr de vouloir vous refroidir jusqu'au {date} ?"},ro:{titleTimeout:"Timeout",timeoutTextFirst:"{operatorname} îți asigură o cale ușoară de a lua o pauză de la jocuri. Poți solicita o blocare automată a contului tău pentru 24 de ore. În timpul restricției temporare, nu vei putea accesa contul.",timeoutTextSecondary:"Te rugăm să reții că „Facilitatea de time-out” nu înlocuiește în niciun caz „Auto-excluderea”. Dacă crezi că te confrunți cu o problemă de dependență de jocuri de noroc, te rugăm să accesezi secțiunea de „Joc responsabil” și să utilizezi „Serviciul de auto-excludere” sau să ne contactezi cât mai curând posibil.",save:"Salvează",CoolOffFor24Hours:"24 ore",CoolOffFor72Hours:"72 ore",CoolOffFor7Days:"7 zile",CoolOffFor30Days:"30 zile",CoolOffFor6Weeks:"6 săptămâni",CoolOffFor2Months:"2 luni",CoolOffFor3Months:"3 luni",CoolOffUntilSelectedDate:"Până la",dateInstructions:"Pentru a introduce manual o dată, utilizați următorul format:",duration:"Durată:",confirmationModalTitle:"Confirmare",confirmationModalTextPeriod:"Ești sigur că vrei să te răcorești pentru {period}?",confirmationModalTextUntil:"Ești sigur că vrei să te răcorești până la {date}?"},es:{titleTimeout:"Descanso",timeoutTextFirst:"{operatorname} le brinda una manera fácil de tomarse un descanso de los juegos. Puedes solicitar un bloqueo automático de tu cuenta durante 24 horas. Durante la contención temporal, no será posible ingresar a su cuenta.",timeoutTextSecondary:'Tenga en cuenta que la función de tiempo de espera no sustituye en ningún caso la autoexclusión. Si cree que tiene un problema de adicción al juego, por favor ingrese al enlace de "Juego Responsable" y use el "Servicio de autoexclusión" o ponte en contacto con nosotros a la brevedad posible.',save:"Guardar",CoolOffFor24Hours:"24 horas",CoolOffFor72Hours:"72 horas",CoolOffFor7Days:"7 días",CoolOffFor30Days:"30 días",CoolOffFor6Weeks:"6 semanas",CoolOffFor2Months:"2 meses",CoolOffFor3Months:"3 meses",CoolOffUntilSelectedDate:"Hasta",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",duration:"Duración:",confirmationModalTitle:"Confirmación",confirmationModalTextPeriod:"¿Estás seguro de que quieres enfriarte por {period}?",confirmationModalTextUntil:"¿Estás seguro de que quieres enfriarte hasta {date}?"},pt:{titleTimeout:"Tempo esgotado",timeoutTextFirst:"{operatorname} oferece uma maneira fácil de fazer uma pausa nos jogos. Você pode solicitar o bloqueio automático de sua conta por 24 horas. Durante a restrição temporária, você não poderá acessar sua conta.",timeoutTextSecondary:'Observe que a “Facilidade de tempo limite” não substitui em nenhum caso a “Autoexclusão”. Se você acha que está enfrentando um problema de vício em jogos de azar, entre no link em "Jogo Responsável" e use o "Serviço de autoexclusão" ou entre em contato conosco o mais rápido possível.',save:"Guardar",CoolOffFor24Hours:"24 horas",CoolOffFor72Hours:"72 horas",CoolOffFor7Days:"7 dias",CoolOffFor30Days:"30 dias",CoolOffFor6Weeks:"6 semanas",CoolOffFor2Months:"2 meses",CoolOffFor3Months:"3 meses",CoolOffUntilSelectedDate:"Até",dateInstructions:"Para introduzir manualmente a data, utilize o seguinte formato:",duration:"Duração:",confirmationModalTitle:"Confirmação",confirmationModalTextPeriod:"Tem a certeza de que deseja se refrescar por {period}?",confirmationModalTextUntil:"Tem a certeza de que deseja se refrescar até {date}?"},hr:{titleTimeout:"Samoisključenje",timeoutTextFirst:'Svjesni smo da kockanje može dovesti do ovisnosti i u našem nastojanju da spriječimo te probleme Samoisključenje stupa na snagu od trenutka kada je postavljeno za razdoblje koje odaberete. Odaberite vremenski okvir ispod, a zatim kliknite "Potvrdi".',timeoutTextSecondary:"Tijekom samoisključivanja nećete moći pristupiti svom računu. U slučaju trajnog samoisključenja E-mail: {supportemail}",save:"Spremi",CoolOffFor24Hours:"24 sata",CoolOffFor72Hours:"72 sata",CoolOffFor7Days:"7 dana",CoolOffFor30Days:"30 dana",CoolOffFor6Weeks:"6 tjedana",CoolOffFor2Months:"2 mjeseca",CoolOffFor3Months:"3 mjeseca",CoolOffUntilSelectedDate:"Do",dateInstructions:"Za ručni unos datuma koristite sljedeći format:",duration:"Trajanje:",confirmationModalTitle:"Potvrda",confirmationModalTextPeriod:"Jeste li sigurni da se želite rashladiti na {period}?",confirmationModalTextUntil:"Jeste li sigurni da se želite rashladiti do {date}?"},"pt-br":{titleTimeout:"Tempo fora",timeoutTextFirst:"{operatorname} oferece uma maneira fácil de pausar o jogo. Você pode solicitar o bloqueio automático da conta por 24 horas. Durante a restrição temporária,no tendrá acceso a su cuenta",timeoutTextSecondary:"Observe que o tempo limite não substitui a autoexclusão. Se você acha que tem um problema de dependência de jogo, por favor acesse o link em “Jogo Responsável” e utilize o “Serviço de Autoexclusão” ou entre em contate-nos inmediatamente",save:"Manter",CoolOffFor24Hours:"24 horas",CoolOffFor72Hours:"72 horas",CoolOffFor7Days:"7 dias",CoolOffFor30Days:"30 dias",CoolOffFor6Weeks:"6 semanas",CoolOffFor2Months:"2 meses",CoolOffFor3Months:"3 meses",CoolOffUntilSelectedDate:"Até",dateInstructions:"Para inserir manualmente a data, use o seguinte formato:",duration:"Duração:",confirmationModalTitle:"Confirmação",confirmationModalTextPeriod:"Tem certeza de que deseja se refrescar por {period}?",confirmationModalTextUntil:"Tem certeza de que deseja se refrescar até {date}?"},"es-mx":{titleTimeout:"Tiempo Fuera",timeoutTextFirst:"{operatorname} le ofrece una forma fácil de tomar pausa del juego. Puede solicitar bloqueo automático de la cuenta por 24 hrs. Durante la restriccion temporal,no tendrá acceso a su cuenta",timeoutTextSecondary:'Por favor tenga en cuenta que el tiemo-fuera no reemplaza la auto-exclusión. Si usted cree que tiene un problema de adicción al juego," por favor acceda a la liga bajo ""Juego Responsable"" y utilice el ""servicio de Auto-exclusión"" o contáctenos en cuanto antes. "',save:"Guardar",CoolOffFor24Hours:"24 horas",CoolOffFor72Hours:"72 horas",CoolOffFor7Days:"7 días",CoolOffFor30Days:"30 días",CoolOffFor6Weeks:"6 semanas",CoolOffFor2Months:"2 meses",CoolOffFor3Months:"3 meses",CoolOffUntilSelectedDate:"Hasta",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",duration:"Duración:",confirmationModalTitle:"Confirmación",confirmationModalTextPeriod:"¿Está seguro de que desea refrescarse por {period}?",confirmationModalTextUntil:"¿Está seguro de que desea refrescarse hasta {date}?"},tr:{titleTimeout:"Zaman aşımı",timeoutTextFirst:"{operatorname} size oyunlara ara vermeniz için kolay bir yol sağlar. Hesabınızın 24 saat süreyle otomatik olarak engellenmesini talep edebilirsiniz. Geçici kısıtlama sırasında Hesabınıza erişemeyeceksiniz.",timeoutTextSecondary:"Lütfen 'Mola olanağının' hiçbir durumda 'Kendini ihraç etmenin' yerine geçmediğini unutmayın. Kumar bağımlılığı sorunu yaşadığınızı düşünüyorsanız lütfen Sorumlu Oyun altındaki bağlantıya girin ve 'Kendini men etme hizmetini' kullanın veya en kısa sürede bizimle iletişime geçin.",save:"Kaydetmek",CoolOffFor24Hours:"24 saat",CoolOffFor72Hours:"72 saat",CoolOffFor7Days:"7 gün",CoolOffFor30Days:"30 gün",CoolOffFor6Weeks:"6 hafta",CoolOffFor2Months:"2 ay",CoolOffFor3Months:"3 ay",CoolOffUntilSelectedDate:"Kadar",dateInstructions:"Tarihi manuel olarak girmek için şu formatı kullanın:",duration:"Süre:",confirmationModalTitle:"Onay",confirmationModalTextPeriod:"{period} için kendinizi soğutmak istediğinizden emin misiniz?",confirmationModalTextUntil:"{date} tarihine kadar kendinizi soğutmak istediğinizden emin misiniz?"}};function Zd(o){c.append_styles(o,"svelte-u6jylo",`.TimeoutWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TimeoutTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:18px}.TimeoutSelectWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);border-radius:5px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.TimeoutDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.TimeoutDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.TimeoutDateWrapper .TimeoutDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}`)}function Oo(o,t,e){const i=o.slice();return i[38]=t[e].value,i}function Qd(o){let t,e,i,s=o[16]("titleTimeout")+"",r,n,a,l,d=o[16]("timeoutTextFirst",{values:{operatorname:o[0]}})+"",u,h,p,f=o[16]("timeoutTextSecondary",{values:{supportemail:o[5]}})+"",v,T,E,A,D,I,N,M,U=o[16]("save")+"",Q,q,X,F,k,j=o[17]&&tc(o),J=c.ensure_array_like(o[8]),b=[];for(let m=0;m<J.length;m+=1)b[m]=Mo(Oo(o,J,m));let g=o[10]&&Io(o),y=o[18]&&ic(o);return{c(){t=c.element("form"),j&&j.c(),e=c.space(),i=c.element("h2"),r=c.text(s),n=c.space(),a=c.element("div"),l=c.element("p"),u=c.text(d),h=c.space(),p=c.element("p"),v=c.text(f),T=c.space(),E=c.element("div"),A=c.element("select");for(let m=0;m<b.length;m+=1)b[m].c();D=c.space(),g&&g.c(),I=c.space(),N=c.element("div"),M=c.element("button"),Q=c.text(U),q=c.space(),y&&y.c(),X=c.empty(),c.attr(i,"class","TimeoutTitle "+(o[17]?"TimeoutTitleNone":"")),c.attr(a,"class","TimeoutDescription "+(o[17]?"TimeoutDescriptionMobile":"")),c.attr(A,"class","TimeoutSelect "+(o[17]?"TimeoutSelectMobile":"")),o[9]===void 0&&c.add_render_callback(()=>o[26].call(A)),c.attr(E,"class","TimeoutSelectWrapper"),c.attr(M,"class","TimeoutSave"),c.attr(N,"class","TimeoutActionButtons "+(o[17]?"TimeoutActionButtonsMobile":"")),c.attr(t,"class","TimeoutWrapper "+(o[17]?"TimeoutWrapperMobile":""))},m(m,_){c.insert(m,t,_),j&&j.m(t,null),c.append(t,e),c.append(t,i),c.append(i,r),c.append(t,n),c.append(t,a),c.append(a,l),c.append(l,u),c.append(a,h),c.append(a,p),c.append(p,v),c.append(t,T),c.append(t,E),c.append(E,A);for(let x=0;x<b.length;x+=1)b[x]&&b[x].m(A,null);c.select_option(A,o[9],!0),c.append(t,D),g&&g.m(t,null),c.append(t,I),c.append(t,N),c.append(N,M),c.append(M,Q),c.insert(m,q,_),y&&y.m(m,_),c.insert(m,X,_),F||(k=[c.listen(A,"change",o[26]),c.listen(A,"change",o[21]),c.listen(M,"click",o[28])],F=!0)},p(m,_){if(m[17]&&j.p(m,_),_[0]&65536&&s!==(s=m[16]("titleTimeout")+"")&&c.set_data(r,s),_[0]&65537&&d!==(d=m[16]("timeoutTextFirst",{values:{operatorname:m[0]}})+"")&&c.set_data(u,d),_[0]&65568&&f!==(f=m[16]("timeoutTextSecondary",{values:{supportemail:m[5]}})+"")&&c.set_data(v,f),_[0]&65792){J=c.ensure_array_like(m[8]);let x;for(x=0;x<J.length;x+=1){const C=Oo(m,J,x);b[x]?b[x].p(C,_):(b[x]=Mo(C),b[x].c(),b[x].m(A,null))}for(;x<b.length;x+=1)b[x].d(1);b.length=J.length}_[0]&768&&c.select_option(A,m[9]),m[10]?g?g.p(m,_):(g=Io(m),g.c(),g.m(t,I)):g&&(g.d(1),g=null),_[0]&65536&&U!==(U=m[16]("save")+"")&&c.set_data(Q,U),m[18]&&y.p(m,_)},d(m){m&&(c.detach(t),c.detach(q),c.detach(X)),j&&j.d(),c.destroy_each(b,m),g&&g.d(),y&&y.d(m),F=!1,c.run_all(k)}}}function ec(o){let t,e,i,s,r,n,a,l,d,u,h,p,f,v,T,E;function A(N,M){return N[17]?sc:oc}let I=A(o)(o);return{c(){t=c.element("div"),I.c(),e=c.space(),i=c.element("div"),s=c.element("ui-skeleton"),r=c.space(),n=c.element("div"),a=c.space(),l=c.element("ui-skeleton"),d=c.space(),u=c.element("div"),h=c.space(),p=c.element("div"),f=c.element("ui-skeleton"),v=c.space(),T=c.element("div"),E=c.element("ui-skeleton"),c.set_custom_element_data(s,"structure","text"),c.set_custom_element_data(s,"height",o[17]?"15px":"20px"),c.set_custom_element_data(s,"rows","3"),c.set_custom_element_data(s,"width","100%"),c.set_style(n,"height",o[17]?"10px":"30px"),c.set_custom_element_data(l,"structure","text"),c.set_custom_element_data(l,"height",o[17]?"15px":"20px"),c.set_custom_element_data(l,"rows","3"),c.set_custom_element_data(l,"width","100%"),c.set_style(u,"height",o[17]?"10px":"30px"),c.attr(i,"class","TimeoutDescription"),c.set_custom_element_data(f,"structure","rectangle"),c.set_custom_element_data(f,"width",o[17]?"100%":"50%"),c.set_custom_element_data(f,"height",o[17]?"30px":"44px"),c.set_custom_element_data(f,"margin-bottom","16px"),c.attr(p,"class","TimeoutSelectWrapper"),c.set_custom_element_data(E,"structure","rectangle"),c.set_custom_element_data(E,"width","100%"),c.set_custom_element_data(E,"height",o[17]?"35px":"50px"),c.attr(T,"class","TimeoutActionButtons "+(o[17]?"TimeoutActionButtonsMobile":"")),c.attr(t,"class","TimeoutWrapper "+(o[17]?"TimeoutWrapperMobile":""))},m(N,M){c.insert(N,t,M),I.m(t,null),c.append(t,e),c.append(t,i),c.append(i,s),c.append(i,r),c.append(i,n),c.append(i,a),c.append(i,l),c.append(i,d),c.append(i,u),c.append(t,h),c.append(t,p),c.append(p,f),c.append(t,v),c.append(t,T),c.append(T,E)},p:c.noop,d(N){N&&c.detach(t),I.d()}}}function tc(o){let t,e,i,s,r,n,a,l,d,u,h=o[16]("titleTimeout")+"",p,f,v;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--pam-color-primary, var(--emw--color-primary, #22B04E));}"),n=c.svg_element("g"),a=c.svg_element("g"),l=c.svg_element("path"),d=c.space(),u=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(u,"class","TimeoutTitleMobile"),c.attr(u,"part","TimeoutTitleMobile"),c.attr(t,"class","MenuReturnButton"),c.attr(t,"part","MenuReturnButton")},m(T,E){c.insert(T,t,E),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,d),c.append(t,u),c.append(u,p),f||(v=c.listen(t,"click",o[25]),f=!0)},p(T,E){E[0]&65536&&h!==(h=T[16]("titleTimeout")+"")&&c.set_data(p,h)},d(T){T&&c.detach(t),f=!1,v()}}}function Mo(o){let t,e=o[16](o[38])+"",i,s;return{c(){t=c.element("option"),i=c.text(e),t.__value=s=o[38],c.set_input_value(t,t.__value)},m(r,n){c.insert(r,t,n),c.append(t,i)},p(r,n){n[0]&65792&&e!==(e=r[16](r[38])+"")&&c.set_data(i,e),n[0]&256&&s!==(s=r[38])&&(t.__value=s,c.set_input_value(t,t.__value))},d(r){r&&c.detach(t)}}}function Io(o){let t,e,i=o[16]("duration")+"",s,r,n,a=o[16]("dateInstructions")+"",l,d,u,h,p;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),d=c.space(),u=c.element("strong"),u.innerHTML="MM/DD/YYYY<strong></strong>",h=c.space(),p=c.element("vaadin-date-picker"),c.attr(e,"for","TimeoutDate"),c.attr(n,"class","TimeoutDateInstructions"),c.set_custom_element_data(p,"min",o[12]),c.set_custom_element_data(p,"max",o[13]),c.set_custom_element_data(p,"value",o[12]),c.attr(t,"class","TimeoutDateWrapper "+(o[17]?"TimeoutDateWrapperMobile":""))},m(f,v){c.insert(f,t,v),c.append(t,e),c.append(e,s),c.append(t,r),c.append(t,n),c.append(n,l),c.append(n,d),c.append(n,u),c.append(t,h),c.append(t,p),o[27](p)},p(f,v){v[0]&65536&&i!==(i=f[16]("duration")+"")&&c.set_data(s,i),v[0]&65536&&a!==(a=f[16]("dateInstructions")+"")&&c.set_data(l,a),v[0]&4096&&c.set_custom_element_data(p,"min",f[12]),v[0]&8192&&c.set_custom_element_data(p,"max",f[13]),v[0]&4096&&c.set_custom_element_data(p,"value",f[12])},d(f){f&&c.detach(t),o[27](null)}}}function ic(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[16]("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",s={type:"SetPlayerAccountTimeout",timeoutSelected:o[9],timeoutExpiryDate:o[11]}),c.set_custom_element_data(e,"mbsource",o[4]),c.set_custom_element_data(e,"lang",o[1]),c.set_custom_element_data(t,"clientstyling",o[2]),c.set_custom_element_data(t,"clientstylingurl",o[3]),c.set_custom_element_data(t,"mbsource",o[4]),c.set_custom_element_data(t,"showmodaleventname","ShowTimeoutConfirmationModal")},m(r,n){c.insert(r,t,n),c.append(t,e)},p(r,n){n[0]&65536&&i!==(i=r[16]("confirmationModalTitle"))&&c.set_custom_element_data(e,"modalTitle",i),n[0]&16384&&c.set_custom_element_data(e,"modalText",r[14]),n[0]&2816&&s!==(s={type:"SetPlayerAccountTimeout",timeoutSelected:r[9],timeoutExpiryDate:r[11]})&&c.set_custom_element_data(e,"modalconfirmevent",s),n[0]&16&&c.set_custom_element_data(e,"mbsource",r[4]),n[0]&2&&c.set_custom_element_data(e,"lang",r[1]),n[0]&4&&c.set_custom_element_data(t,"clientstyling",r[2]),n[0]&8&&c.set_custom_element_data(t,"clientstylingurl",r[3]),n[0]&16&&c.set_custom_element_data(t,"mbsource",r[4])},d(r){r&&c.detach(t)}}}function oc(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 sc(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 rc(o){let t;function e(r,n){return r[15]?ec:Qd}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[29](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[29](null)}}}function nc(o,t,e){let i;c.component_subscribe(o,c.$format,w=>e(16,i=w));let{operator:s="Everymatrix"}=t,{lang:r="en"}=t,{clientstyling:n=""}=t,{clientstylingurl:a=""}=t,{mbsource:l}=t,{translationurl:d=""}=t,{supportemail:u=""}=t,{endpoint:h=""}=t,{hasconfirmationmodal:p="false"}=t,f,v,T=window.navigator.userAgent,E=c.getDevice(T)!=="PC",A=[{value:"CoolOffFor24Hours",dateSelector:!1},{value:"CoolOffFor7Days",dateSelector:!1},{value:"CoolOffFor30Days",dateSelector:!1},{value:"CoolOffFor3Months",dateSelector:!1}],D=A[0].value,I=!1,N="",M,U,Q="",q=p==="true",X=!0;const F=()=>{fetch(d).then(w=>w.json()).then(w=>{Object.keys(w).forEach(R=>{So(R,w[R])})}).catch(w=>{console.log(w)})};Object.keys(Po).forEach(w=>{So(w,Po[w])});const k=()=>{const w=new URL("/v1/player/coolOffSettings",h),R={method:"GET"};fetch(w.href,R).then(K=>{if(!K.ok)throw new Error("There was an error while fetching the configuration");return K.json()}).then(K=>{const{periods:ee}=K;ee&&e(8,A=ee.map(oe=>({value:oe.key,text:oe.text,dateSelector:oe.dateSelector})))}).catch(K=>{console.log(K)}).finally(()=>{e(15,X=!1),e(9,D=A[0].value)})},j=()=>{if(!q){e(14,Q="");return}e(14,Q=I?i("confirmationModalTextUntilTimeout",{values:{date:N}}):i("confirmationModalTextPeriodTimeout",{values:{period:i(D)}}))},J=w=>{w.preventDefault(),q?window.postMessage({type:"ShowTimeoutConfirmationModal"},window.location.href):window.postMessage({type:"SetPlayerAccountTimeout",timeoutSelected:D,timeoutExpiryDate:N},window.location.href)},b=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:E},window.location.href)},g=()=>{Xd(r),k()},y=()=>{const w=A.find(R=>R.value===D);e(10,I=!1),w.dateSelector&&(e(10,I=!0),e(12,M=ko().format("YYYY-MM-DD")),e(13,U=ko().add(6,"months").format("YYYY-MM-DD")),e(11,N=M)),q&&j()},m=w=>{e(11,N=w.target.value)},_=()=>{v.addEventListener("change",m,!1)};c.onMount(()=>()=>{v.removeEventListener("change",m)});const x=()=>b();function C(){D=c.select_value(this),e(9,D),e(8,A)}function O(w){c.binding_callbacks[w?"unshift":"push"](()=>{v=w,e(7,v)})}const z=w=>J(w);function $(w){c.binding_callbacks[w?"unshift":"push"](()=>{f=w,e(6,f)})}return o.$$set=w=>{"operator"in w&&e(0,s=w.operator),"lang"in w&&e(1,r=w.lang),"clientstyling"in w&&e(2,n=w.clientstyling),"clientstylingurl"in w&&e(3,a=w.clientstylingurl),"mbsource"in w&&e(4,l=w.mbsource),"translationurl"in w&&e(22,d=w.translationurl),"supportemail"in w&&e(5,u=w.supportemail),"endpoint"in w&&e(23,h=w.endpoint),"hasconfirmationmodal"in w&&e(24,p=w.hasconfirmationmodal)},o.$$.update=()=>{o.$$.dirty[0]&128&&v&&_(),o.$$.dirty[0]&2&&r&&g(),o.$$.dirty[0]&68&&n&&f&&c.setClientStyling(f,n),o.$$.dirty[0]&72&&a&&f&&c.setClientStylingURL(f,a),o.$$.dirty[0]&80&&l&&f&&c.setStreamStyling(f,`${l}.Style`),o.$$.dirty[0]&4194304&&d&&F()},q&&j(),[s,r,n,a,l,u,f,v,A,D,I,N,M,U,Q,X,i,E,q,J,b,y,d,h,p,x,C,O,z,$]}class cr extends c.SvelteComponent{constructor(t){super(),c.init(this,t,nc,rc,c.safe_not_equal,{operator:0,lang:1,clientstyling:2,clientstylingurl:3,mbsource:4,translationurl:22,supportemail:5,endpoint:23,hasconfirmationmodal:24},Zd,[-1,-1])}get operator(){return this.$$.ctx[0]}set operator(t){this.$$set({operator:t}),c.flush()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),c.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),c.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),c.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),c.flush()}get translationurl(){return this.$$.ctx[22]}set translationurl(t){this.$$set({translationurl:t}),c.flush()}get supportemail(){return this.$$.ctx[5]}set supportemail(t){this.$$set({supportemail:t}),c.flush()}get endpoint(){return this.$$.ctx[23]}set endpoint(t){this.$$set({endpoint:t}),c.flush()}get hasconfirmationmodal(){return this.$$.ctx[24]}set hasconfirmationmodal(t){this.$$set({hasconfirmationmodal:t}),c.flush()}}c.create_custom_element(cr,{operator:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},supportemail:{},endpoint:{},hasconfirmationmodal:{}},[],[],!0);exports.default=cr;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as pr, g as fr, a as mr, $ as _r, b as gr, S as yr, i as vr, s as br, f as ce, d as wr, n as Gt, e as oe, h as se, j as M, k as xr, l as Cr, o as Ar, m as Tr, p as Yi, q as x, r as Y, t as A, u as Wi, v as N, w as qi, x as Er, y as Dr, z as ge, A as Ki, B as _t, C as pe, D as kr, E as Sr, F as Oe, G as Gi, H as Pr, I as Or, J as Mr, K as Ir } from "./PlayerAccountGeneralConfirmationModal-D1513x8q.js";
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
2
|
+
import "../stencil/ui-skeleton-hI4GeaLk.js";
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
5
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -16424,7 +16424,7 @@ function Dc(o, t, e) {
|
|
|
16424
16424
|
e(14, re = "");
|
|
16425
16425
|
return;
|
|
16426
16426
|
}
|
|
16427
|
-
e(14, re = z ? i("
|
|
16427
|
+
e(14, re = z ? i("confirmationModalTextUntilTimeout", { values: { date: L } }) : i("confirmationModalTextPeriodTimeout", { values: { period: i(k) } }));
|
|
16428
16428
|
}, ee = (b) => {
|
|
16429
16429
|
b.preventDefault(), X ? window.postMessage({ type: "ShowTimeoutConfirmationModal" }, window.location.href) : window.postMessage(
|
|
16430
16430
|
{
|
|
@@ -27,7 +27,7 @@ var ft = (o, t, e) => new Promise((i, s) => {
|
|
|
27
27
|
a((e = e.apply(o, t)).next());
|
|
28
28
|
});
|
|
29
29
|
import { c as Mr, g as Ir, a as Nr, $ as Fr, S as zr, i as Lr, f as ce, s as $r, b as Rr, d as Hr, n as oi, e as oe, h as se, j as M, k as Br, l as Vr, o as Ur, m as jr, p as Qi, q as x, r as Y, t as A, u as eo, v as N, w as to, x as Yr, y as Wr, z as ge, A as io, B as bt, C as pe, D as qr, E as Kr, F as Ie, G as oo, H as Gr, I as Jr, J as Xr, K as Zr } from "./PlayerAccountGeneralConfirmationModal-DdwHxQsA.js";
|
|
30
|
-
import "../stencil/ui-skeleton-
|
|
30
|
+
import "../stencil/ui-skeleton-Ca5rz3Hv.js";
|
|
31
31
|
/**
|
|
32
32
|
* @license
|
|
33
33
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -16502,7 +16502,7 @@ function Uc(o, t, e) {
|
|
|
16502
16502
|
e(14, re = "");
|
|
16503
16503
|
return;
|
|
16504
16504
|
}
|
|
16505
|
-
e(14, re = z ? i("
|
|
16505
|
+
e(14, re = z ? i("confirmationModalTextUntilTimeout", { values: { date: L } }) : i("confirmationModalTextPeriodTimeout", { values: { period: i(k) } }));
|
|
16506
16506
|
}, ee = (b) => {
|
|
16507
16507
|
b.preventDefault(), X ? window.postMessage({ type: "ShowTimeoutConfirmationModal" }, window.location.href) : window.postMessage(
|
|
16508
16508
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountTimeout-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountTimeout-BmH4wHjL.cjs")).then(({default:t})=>{!customElements.get("player-account-timeout")&&customElements.define("player-account-timeout",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerAccountTimeout-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerAccountTimeout-HU2jO74I.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-account-timeout") && customElements.define("player-account-timeout", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var P=(e,t,s)=>new Promise((r,n)=>{var a=i=>{try{o(s.next(i))}catch($){n($)}},l=i=>{try{o(s.throw(i))}catch($){n($)}},o=i=>i.done?r(i.value):Promise.resolve(i.value).then(a,l);o((s=s.apply(e,t)).next())});const ue="ui-skeleton",fe={hydratedSelectorName:"hydrated"};var de=Object.defineProperty,me=(e,t)=>{for(var s in t)de(e,s,{get:t[s],enumerable:!0})},U=new WeakMap,b=e=>U.get(e),ve=(e,t)=>U.set(t.$lazyInstance$=e,t),ge=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(r=>s.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],U.set(e,s)},E=(e,t)=>(0,console.error)(e,t),O=new Map,he=(e,t,s)=>{const r=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const a=O.get(n);if(a)return a[r];{const l=o=>(O.set(n,o),o[r]);switch(n){case"ui-skeleton":return Promise.resolve().then(()=>require("./ui-skeleton-D9ekrDIX.cjs")).then(l,E)}}return import(`./${n}.entry.js`).then(l=>(O.set(n,l),l[r]),E)},L=new Map,pe="{visibility:hidden}.hydrated{visibility:inherit}",J="slot-fb{display:contents}slot-fb[hidden]{display:none}",B=typeof window!="undefined"?window:{},y=B.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,r)=>e.addEventListener(t,s,r),rel:(e,t,s,r)=>e.removeEventListener(t,s,r),ce:(e,t)=>new CustomEvent(e,t)},K=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),A=!1,C=[],Q=[],Se=(e,t)=>s=>{e.push(s),A||(A=!0,g.$flags$&4?z(I):g.raf(I))},D=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){E(s)}e.length=0},I=()=>{D(C),D(Q),(A=C.length>0)&&g.raf(I)},z=e=>K().then(e),be=Se(Q),F={},X=e=>(e=typeof e,e==="object"||e==="function");function Z(e){var t,s,r;return(r=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?r:void 0}var ke={};me(ke,{err:()=>R,map:()=>Ee,ok:()=>H,unwrap:()=>we,unwrapErr:()=>Pe});var H=e=>({isOk:!0,isErr:!1,value:e}),R=e=>({isOk:!1,isErr:!0,value:e});function Ee(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(r=>H(r)):H(s)}if(e.isErr){const s=e.value;return R(s)}throw"should never get here"}var we=e=>{if(e.isOk)return e.value;throw e.value},Pe=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},xe=(e,t)=>()=>{},V=(e,t,...s)=>{let r=null,n=null,a=!1,l=!1;const o=[],i=c=>{for(let u=0;u<c.length;u++)r=c[u],Array.isArray(r)?i(r):r!=null&&typeof r!="boolean"&&((a=typeof e!="function"&&!X(r))&&(r=String(r)),a&&l?o[o.length-1].$text$+=r:o.push(a?N(null,r):r),l=a)};if(i(s),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(u=>c[u]).join(" "))}}const $=N(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=n,$},N=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s},ee={},Te=e=>e&&e.$tag$===ee,Le=(e,t)=>e!=null&&!X(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,_e=(e,t,s)=>{const r=g.ce(t,s);return e.dispatchEvent(r),r},M=new WeakMap,je=(e,t,s)=>{let r=L.get(e);ye&&s?(r=r||new CSSStyleSheet,typeof r=="string"?r=t:r.replaceSync(t)):r=t,L.set(e,r)},Oe=(e,t,s)=>{var r;const n=te(t),a=L.get(n);if(e=e.nodeType===11?e:y,a)if(typeof a=="string"){e=e.head||e;let l=M.get(e),o;if(l||M.set(e,l=new Set),!l.has(n)){{o=y.createElement("style"),o.innerHTML=a;const i=(r=g.$nonce$)!=null?r:Z(y);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=J),l&&l.add(n)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return n},Ae=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,r=S("attachStyles",t.$tagName$);Oe(s.getRootNode(),t),r()},te=(e,t)=>"sc-"+e.$tagName$,W=(e,t,s,r,n,a)=>{if(s!==r&&(t.toLowerCase(),t==="class")){const l=e.classList,o=Y(s),i=Y(r);l.remove(...o.filter($=>$&&!i.includes($))),l.add(...i.filter($=>$&&!o.includes($)))}},Ie=/\s/,Y=e=>e?e.split(Ie):[],ne=(e,t,s)=>{const r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||F,a=t.$attrs$||F;for(const l of G(Object.keys(n)))l in a||W(r,l,n[l],void 0);for(const l of G(Object.keys(a)))W(r,l,n[l],a[l])};function G(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var se,_=(e,t,s,r)=>{const n=t.$children$[s];let a=0,l,o;if(n.$text$!==null)l=n.$elm$=y.createTextNode(n.$text$);else if(l=n.$elm$=y.createElement(n.$tag$),ne(null,n),n.$children$)for(a=0;a<n.$children$.length;++a)o=_(e,n,a),o&&l.appendChild(o);return l["s-hn"]=se,l},re=(e,t,s,r,n,a)=>{let l=e,o;for(;n<=a;++n)r[n]&&(o=_(null,s,n),o&&(r[n].$elm$=o,T(l,o,t)))},le=(e,t,s)=>{for(let r=t;r<=s;++r){const n=e[r];if(n){const a=n.$elm$;a&&a.remove()}}},He=(e,t,s,r,n=!1)=>{let a=0,l=0,o=0,i=0,$=t.length-1,c=t[0],u=t[$],f=r.length-1,d=r[0],m=r[f],v,h;for(;a<=$&&l<=f;)if(c==null)c=t[++a];else if(u==null)u=t[--$];else if(d==null)d=r[++l];else if(m==null)m=r[--f];else if(x(c,d,n))k(c,d,n),c=t[++a],d=r[++l];else if(x(u,m,n))k(u,m,n),u=t[--$],m=r[--f];else if(x(c,m,n))k(c,m,n),T(e,c.$elm$,u.$elm$.nextSibling),c=t[++a],m=r[--f];else if(x(u,d,n))k(u,d,n),T(e,u.$elm$,c.$elm$),u=t[--$],d=r[++l];else{for(o=-1,i=a;i<=$;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){o=i;break}o>=0?(h=t[o],h.$tag$!==d.$tag$?v=_(t&&t[l],s,o):(k(h,d,n),t[o]=void 0,v=h.$elm$),d=r[++l]):(v=_(t&&t[l],s,l),d=r[++l]),v&&T(c.$elm$.parentNode,v,c.$elm$)}a>$?re(e,r[f+1]==null?null:r[f+1].$elm$,s,r,l,f):l>f&&le(t,a,$)},x=(e,t,s=!1)=>e.$tag$===t.$tag$?s?!0:e.$key$===t.$key$:!1,k=(e,t,s=!1)=>{const r=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,l=t.$text$;l===null?(ne(e,t),n!==null&&a!==null?He(r,n,t,a,s):a!==null?(e.$text$!==null&&(r.textContent=""),re(r,null,t,a,0,a.length-1)):n!==null&&le(n,0,n.length-1)):e.$text$!==l&&(r.data=l)},T=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),Ne=(e,t,s=!1)=>{const r=e.$hostElement$,n=e.$vnode$||N(null,null),a=Te(t)?t:V(null,null,t);if(se=r.tagName,s&&a.$attrs$)for(const l of Object.keys(a.$attrs$))r.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(a.$attrs$[l]=r[l]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=n.$elm$=r,k(n,a,s)},ae=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},q=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ae(e,e.$ancestorComponent$),be(()=>Ue(e,t))},Ue=(e,t)=>{const s=e.$hostElement$,r=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return r(),Be(a,()=>qe(e,n,t))},Be=(e,t)=>ze(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),ze=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",qe=(e,t,s)=>P(exports,null,function*(){var r;const n=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];s&&Ae(e);const o=S("render",e.$cmpMeta$.$tagName$);Ce(e,t,n,s),l&&(l.map(i=>i()),n["s-rc"]=void 0),o(),a();{const i=(r=n["s-p"])!=null?r:[],$=()=>De(e);i.length===0?$():(Promise.all(i).then($),e.$flags$|=4,i.length=0)}}),Ce=(e,t,s,r)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ne(e,t,r)}catch(n){E(n,e.$hostElement$)}return null},De=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,r=S("postUpdate",t),n=e.$ancestorComponent$;e.$flags$&64?r():(e.$flags$|=64,oe(s),r(),e.$onReadyResolve$(s),n||ie()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&z(()=>q(e,!1)),e.$flags$&=-517},ie=e=>{oe(y.documentElement),z(()=>_e(B,"appload",{detail:{namespace:ue}}))},oe=e=>{var t;return e.classList.add((t=fe.hydratedSelectorName)!=null?t:"hydrated")},Fe=(e,t)=>b(e).$instanceValues$.get(t),Me=(e,t,s,r)=>{const n=b(e);if(!n)throw new Error(`Couldn't find host element for "${r.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const a=n.$hostElement$,l=n.$instanceValues$.get(t),o=n.$flags$,i=n.$lazyInstance$;s=Le(s,r.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(s),c=s!==l&&!$;if((!(o&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,s),i)){if(r.$watchers$&&o&128){const u=r.$watchers$[t];u&&u.map(f=>{try{i[f](s,l,t)}catch(d){E(d,a)}})}(o&18)===2&&q(n,!1)}},$e=(e,t,s)=>{var r,n;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((r=t.$members$)!=null?r:{});if(l.map(([o,[i]])=>{(i&31||s&2&&i&32)&&Object.defineProperty(a,o,{get(){return Fe(this,o)},set($){Me(this,o,$,t)},configurable:!0,enumerable:!0})}),s&1){const o=new Map;a.attributeChangedCallback=function(i,$,c){g.jmp(()=>{var u;const f=o.get(i);if(this.hasOwnProperty(f))c=this[f],delete this[f];else{if(a.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==c)return;if(f==null){const d=b(this),m=d==null?void 0:d.$flags$;if(m&&!(m&8)&&m&128&&c!==$){const v=d.$lazyInstance$,h=(u=t.$watchers$)==null?void 0:u[i];h==null||h.forEach(p=>{v[p]!=null&&v[p].call(v,c,$,i)})}return}}this[f]=c===null&&typeof this[f]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([i,$])=>$[0]&15).map(([i,$])=>{const c=$[1]||i;return o.set(c,i),c})]))}}return e},We=(e,t,s,r)=>P(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const i=he(s);if(i&&"then"in i){const c=xe();n=yield i,c()}else n=i;if(!n)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(s.$watchers$=n.watchers,$e(n,s,2),n.isProxied=!0);const $=S("createInstance",s.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){E(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{n=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(n&&n.style){let i;typeof n.style=="string"&&(i=n.style);const $=te(s);if(!L.has($)){const c=S("registerStyles",s.$tagName$);je($,i,!!(s.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>q(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),Ye=e=>{},Ge=e=>{if(!(g.$flags$&1)){const t=b(e),s=t.$cmpMeta$,r=S("connectedCallback",s.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ye());else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ae(t,t.$ancestorComponent$=n);break}}s.$members$&&Object.entries(s.$members$).map(([n,[a]])=>{if(a&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),We(e,t,s)}r()}},Je=e=>{},Ke=e=>P(exports,null,function*(){if(!(g.$flags$&1)){const t=b(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Je())}}),Qe=(e,t={})=>{var s;const r=S(),n=[],a=t.exclude||[],l=B.customElements,o=y.head,i=o.querySelector("meta[charset]"),$=y.createElement("style"),c=[];let u,f=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let d=!1;if(e.map(m=>{m[1].map(v=>{var h;const p={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};p.$flags$&4&&(d=!0),p.$members$=v[2],p.$watchers$=(h=v[4])!=null?h:{};const w=p.$tagName$,ce=class extends HTMLElement{constructor(j){super(j),this.hasRegisteredEventListeners=!1,j=this,ge(j,p)}connectedCallback(){b(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),u&&(clearTimeout(u),u=null),f?c.push(this):g.jmp(()=>Ge(this))}disconnectedCallback(){g.jmp(()=>Ke(this))}componentOnReady(){return b(this).$onReadyPromise$}};p.$lazyBundleId$=m[0],!a.includes(w)&&!l.get(w)&&(n.push(w),l.define(w,$e(ce,p,1)))})}),n.length>0&&(d&&($.textContent+=J),$.textContent+=n.sort()+pe,$.innerHTML.length)){$.setAttribute("data-styles","");const m=(s=g.$nonce$)!=null?s:Z(y);m!=null&&$.setAttribute("nonce",m),o.insertBefore($,i?i.nextSibling:o.firstChild)}f=!1,c.length?c.map(m=>m.connectedCallback()):g.jmp(()=>u=setTimeout(ie,30)),r()};exports.Host=ee;exports.bootstrapLazy=Qe;exports.h=V;exports.promiseResolve=K;exports.registerInstance=ve;
|
|
1
|
+
"use strict";var P=(e,t,s)=>new Promise((r,n)=>{var a=i=>{try{o(s.next(i))}catch($){n($)}},l=i=>{try{o(s.throw(i))}catch($){n($)}},o=i=>i.done?r(i.value):Promise.resolve(i.value).then(a,l);o((s=s.apply(e,t)).next())});const ue="ui-skeleton",fe={hydratedSelectorName:"hydrated"};var de=Object.defineProperty,me=(e,t)=>{for(var s in t)de(e,s,{get:t[s],enumerable:!0})},U=new WeakMap,b=e=>U.get(e),ve=(e,t)=>U.set(t.$lazyInstance$=e,t),ge=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(r=>s.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],U.set(e,s)},E=(e,t)=>(0,console.error)(e,t),O=new Map,he=(e,t,s)=>{const r=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const a=O.get(n);if(a)return a[r];{const l=o=>(O.set(n,o),o[r]);switch(n){case"ui-skeleton":return Promise.resolve().then(()=>require("./ui-skeleton-BL4789dS.cjs")).then(l,E)}}return import(`./${n}.entry.js`).then(l=>(O.set(n,l),l[r]),E)},L=new Map,pe="{visibility:hidden}.hydrated{visibility:inherit}",J="slot-fb{display:contents}slot-fb[hidden]{display:none}",B=typeof window!="undefined"?window:{},y=B.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,r)=>e.addEventListener(t,s,r),rel:(e,t,s,r)=>e.removeEventListener(t,s,r),ce:(e,t)=>new CustomEvent(e,t)},K=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),A=!1,C=[],Q=[],Se=(e,t)=>s=>{e.push(s),A||(A=!0,g.$flags$&4?z(I):g.raf(I))},D=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){E(s)}e.length=0},I=()=>{D(C),D(Q),(A=C.length>0)&&g.raf(I)},z=e=>K().then(e),be=Se(Q),F={},X=e=>(e=typeof e,e==="object"||e==="function");function Z(e){var t,s,r;return(r=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?r:void 0}var ke={};me(ke,{err:()=>R,map:()=>Ee,ok:()=>H,unwrap:()=>we,unwrapErr:()=>Pe});var H=e=>({isOk:!0,isErr:!1,value:e}),R=e=>({isOk:!1,isErr:!0,value:e});function Ee(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(r=>H(r)):H(s)}if(e.isErr){const s=e.value;return R(s)}throw"should never get here"}var we=e=>{if(e.isOk)return e.value;throw e.value},Pe=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},xe=(e,t)=>()=>{},V=(e,t,...s)=>{let r=null,n=null,a=!1,l=!1;const o=[],i=c=>{for(let u=0;u<c.length;u++)r=c[u],Array.isArray(r)?i(r):r!=null&&typeof r!="boolean"&&((a=typeof e!="function"&&!X(r))&&(r=String(r)),a&&l?o[o.length-1].$text$+=r:o.push(a?N(null,r):r),l=a)};if(i(s),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(u=>c[u]).join(" "))}}const $=N(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=n,$},N=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s},ee={},Te=e=>e&&e.$tag$===ee,Le=(e,t)=>e!=null&&!X(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,_e=(e,t,s)=>{const r=g.ce(t,s);return e.dispatchEvent(r),r},M=new WeakMap,je=(e,t,s)=>{let r=L.get(e);ye&&s?(r=r||new CSSStyleSheet,typeof r=="string"?r=t:r.replaceSync(t)):r=t,L.set(e,r)},Oe=(e,t,s)=>{var r;const n=te(t),a=L.get(n);if(e=e.nodeType===11?e:y,a)if(typeof a=="string"){e=e.head||e;let l=M.get(e),o;if(l||M.set(e,l=new Set),!l.has(n)){{o=y.createElement("style"),o.innerHTML=a;const i=(r=g.$nonce$)!=null?r:Z(y);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=J),l&&l.add(n)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return n},Ae=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,r=S("attachStyles",t.$tagName$);Oe(s.getRootNode(),t),r()},te=(e,t)=>"sc-"+e.$tagName$,W=(e,t,s,r,n,a)=>{if(s!==r&&(t.toLowerCase(),t==="class")){const l=e.classList,o=Y(s),i=Y(r);l.remove(...o.filter($=>$&&!i.includes($))),l.add(...i.filter($=>$&&!o.includes($)))}},Ie=/\s/,Y=e=>e?e.split(Ie):[],ne=(e,t,s)=>{const r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||F,a=t.$attrs$||F;for(const l of G(Object.keys(n)))l in a||W(r,l,n[l],void 0);for(const l of G(Object.keys(a)))W(r,l,n[l],a[l])};function G(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var se,_=(e,t,s,r)=>{const n=t.$children$[s];let a=0,l,o;if(n.$text$!==null)l=n.$elm$=y.createTextNode(n.$text$);else if(l=n.$elm$=y.createElement(n.$tag$),ne(null,n),n.$children$)for(a=0;a<n.$children$.length;++a)o=_(e,n,a),o&&l.appendChild(o);return l["s-hn"]=se,l},re=(e,t,s,r,n,a)=>{let l=e,o;for(;n<=a;++n)r[n]&&(o=_(null,s,n),o&&(r[n].$elm$=o,T(l,o,t)))},le=(e,t,s)=>{for(let r=t;r<=s;++r){const n=e[r];if(n){const a=n.$elm$;a&&a.remove()}}},He=(e,t,s,r,n=!1)=>{let a=0,l=0,o=0,i=0,$=t.length-1,c=t[0],u=t[$],f=r.length-1,d=r[0],m=r[f],v,h;for(;a<=$&&l<=f;)if(c==null)c=t[++a];else if(u==null)u=t[--$];else if(d==null)d=r[++l];else if(m==null)m=r[--f];else if(x(c,d,n))k(c,d,n),c=t[++a],d=r[++l];else if(x(u,m,n))k(u,m,n),u=t[--$],m=r[--f];else if(x(c,m,n))k(c,m,n),T(e,c.$elm$,u.$elm$.nextSibling),c=t[++a],m=r[--f];else if(x(u,d,n))k(u,d,n),T(e,u.$elm$,c.$elm$),u=t[--$],d=r[++l];else{for(o=-1,i=a;i<=$;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){o=i;break}o>=0?(h=t[o],h.$tag$!==d.$tag$?v=_(t&&t[l],s,o):(k(h,d,n),t[o]=void 0,v=h.$elm$),d=r[++l]):(v=_(t&&t[l],s,l),d=r[++l]),v&&T(c.$elm$.parentNode,v,c.$elm$)}a>$?re(e,r[f+1]==null?null:r[f+1].$elm$,s,r,l,f):l>f&&le(t,a,$)},x=(e,t,s=!1)=>e.$tag$===t.$tag$?s?!0:e.$key$===t.$key$:!1,k=(e,t,s=!1)=>{const r=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,l=t.$text$;l===null?(ne(e,t),n!==null&&a!==null?He(r,n,t,a,s):a!==null?(e.$text$!==null&&(r.textContent=""),re(r,null,t,a,0,a.length-1)):n!==null&&le(n,0,n.length-1)):e.$text$!==l&&(r.data=l)},T=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),Ne=(e,t,s=!1)=>{const r=e.$hostElement$,n=e.$vnode$||N(null,null),a=Te(t)?t:V(null,null,t);if(se=r.tagName,s&&a.$attrs$)for(const l of Object.keys(a.$attrs$))r.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(a.$attrs$[l]=r[l]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=n.$elm$=r,k(n,a,s)},ae=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},q=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ae(e,e.$ancestorComponent$),be(()=>Ue(e,t))},Ue=(e,t)=>{const s=e.$hostElement$,r=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return r(),Be(a,()=>qe(e,n,t))},Be=(e,t)=>ze(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),ze=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",qe=(e,t,s)=>P(exports,null,function*(){var r;const n=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];s&&Ae(e);const o=S("render",e.$cmpMeta$.$tagName$);Ce(e,t,n,s),l&&(l.map(i=>i()),n["s-rc"]=void 0),o(),a();{const i=(r=n["s-p"])!=null?r:[],$=()=>De(e);i.length===0?$():(Promise.all(i).then($),e.$flags$|=4,i.length=0)}}),Ce=(e,t,s,r)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ne(e,t,r)}catch(n){E(n,e.$hostElement$)}return null},De=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,r=S("postUpdate",t),n=e.$ancestorComponent$;e.$flags$&64?r():(e.$flags$|=64,oe(s),r(),e.$onReadyResolve$(s),n||ie()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&z(()=>q(e,!1)),e.$flags$&=-517},ie=e=>{oe(y.documentElement),z(()=>_e(B,"appload",{detail:{namespace:ue}}))},oe=e=>{var t;return e.classList.add((t=fe.hydratedSelectorName)!=null?t:"hydrated")},Fe=(e,t)=>b(e).$instanceValues$.get(t),Me=(e,t,s,r)=>{const n=b(e);if(!n)throw new Error(`Couldn't find host element for "${r.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const a=n.$hostElement$,l=n.$instanceValues$.get(t),o=n.$flags$,i=n.$lazyInstance$;s=Le(s,r.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(s),c=s!==l&&!$;if((!(o&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,s),i)){if(r.$watchers$&&o&128){const u=r.$watchers$[t];u&&u.map(f=>{try{i[f](s,l,t)}catch(d){E(d,a)}})}(o&18)===2&&q(n,!1)}},$e=(e,t,s)=>{var r,n;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((r=t.$members$)!=null?r:{});if(l.map(([o,[i]])=>{(i&31||s&2&&i&32)&&Object.defineProperty(a,o,{get(){return Fe(this,o)},set($){Me(this,o,$,t)},configurable:!0,enumerable:!0})}),s&1){const o=new Map;a.attributeChangedCallback=function(i,$,c){g.jmp(()=>{var u;const f=o.get(i);if(this.hasOwnProperty(f))c=this[f],delete this[f];else{if(a.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==c)return;if(f==null){const d=b(this),m=d==null?void 0:d.$flags$;if(m&&!(m&8)&&m&128&&c!==$){const v=d.$lazyInstance$,h=(u=t.$watchers$)==null?void 0:u[i];h==null||h.forEach(p=>{v[p]!=null&&v[p].call(v,c,$,i)})}return}}this[f]=c===null&&typeof this[f]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([i,$])=>$[0]&15).map(([i,$])=>{const c=$[1]||i;return o.set(c,i),c})]))}}return e},We=(e,t,s,r)=>P(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const i=he(s);if(i&&"then"in i){const c=xe();n=yield i,c()}else n=i;if(!n)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(s.$watchers$=n.watchers,$e(n,s,2),n.isProxied=!0);const $=S("createInstance",s.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){E(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{n=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(n&&n.style){let i;typeof n.style=="string"&&(i=n.style);const $=te(s);if(!L.has($)){const c=S("registerStyles",s.$tagName$);je($,i,!!(s.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>q(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),Ye=e=>{},Ge=e=>{if(!(g.$flags$&1)){const t=b(e),s=t.$cmpMeta$,r=S("connectedCallback",s.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ye());else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ae(t,t.$ancestorComponent$=n);break}}s.$members$&&Object.entries(s.$members$).map(([n,[a]])=>{if(a&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),We(e,t,s)}r()}},Je=e=>{},Ke=e=>P(exports,null,function*(){if(!(g.$flags$&1)){const t=b(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Je())}}),Qe=(e,t={})=>{var s;const r=S(),n=[],a=t.exclude||[],l=B.customElements,o=y.head,i=o.querySelector("meta[charset]"),$=y.createElement("style"),c=[];let u,f=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let d=!1;if(e.map(m=>{m[1].map(v=>{var h;const p={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};p.$flags$&4&&(d=!0),p.$members$=v[2],p.$watchers$=(h=v[4])!=null?h:{};const w=p.$tagName$,ce=class extends HTMLElement{constructor(j){super(j),this.hasRegisteredEventListeners=!1,j=this,ge(j,p)}connectedCallback(){b(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),u&&(clearTimeout(u),u=null),f?c.push(this):g.jmp(()=>Ge(this))}disconnectedCallback(){g.jmp(()=>Ke(this))}componentOnReady(){return b(this).$onReadyPromise$}};p.$lazyBundleId$=m[0],!a.includes(w)&&!l.get(w)&&(n.push(w),l.define(w,$e(ce,p,1)))})}),n.length>0&&(d&&($.textContent+=J),$.textContent+=n.sort()+pe,$.innerHTML.length)){$.setAttribute("data-styles","");const m=(s=g.$nonce$)!=null?s:Z(y);m!=null&&$.setAttribute("nonce",m),o.insertBefore($,i?i.nextSibling:o.firstChild)}f=!1,c.length?c.map(m=>m.connectedCallback()):g.jmp(()=>u=setTimeout(ie,30)),r()};exports.Host=ee;exports.bootstrapLazy=Qe;exports.h=V;exports.promiseResolve=K;exports.registerInstance=ve;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var u=(t,r,n)=>new Promise((l,s)=>{var m=e=>{try{i(n.next(e))}catch(o){s(o)}},d=e=>{try{i(n.throw(e))}catch(o){s(o)}},i=e=>e.done?l(e.value):Promise.resolve(e.value).then(m,d);i((n=n.apply(t,r)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-b2193545-YW9b062G.cjs"),p=require("./app-globals-0f993ce5-sCt45RkC.cjs"),g=require("./ui-skeleton-ae35c6f2-xLf3HyeB.cjs");var a=typeof document!="undefined"?document.currentScript:null,f=()=>{const t=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-skeleton-BL4789dS.cjs",document.baseURI).href,r={};return t!==""&&(r.resourcesUrl=new URL(".",t).href),c.promiseResolve(r)};f().then(t=>u(exports,null,function*(){return yield p.globalScripts(),c.bootstrapLazy([["ui-skeleton",[[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],t)}));exports.ui_skeleton=g.UiSkeleton;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
var n = (t, e, o) => new Promise((m, s) => {
|
|
2
|
+
var u = (r) => {
|
|
3
|
+
try {
|
|
4
|
+
a(o.next(r));
|
|
5
|
+
} catch (i) {
|
|
6
|
+
s(i);
|
|
7
|
+
}
|
|
8
|
+
}, g = (r) => {
|
|
9
|
+
try {
|
|
10
|
+
a(o.throw(r));
|
|
11
|
+
} catch (i) {
|
|
12
|
+
s(i);
|
|
13
|
+
}
|
|
14
|
+
}, a = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(u, g);
|
|
15
|
+
a((o = o.apply(t, e)).next());
|
|
16
|
+
});
|
|
17
|
+
import { b as p, p as l } from "./index-b2193545-BeKKnKhR.js";
|
|
18
|
+
import { g as h } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
19
|
+
import { U as k } from "./ui-skeleton-ae35c6f2-BDBUiN3S.js";
|
|
20
|
+
var c = () => {
|
|
21
|
+
const t = import.meta.url, e = {};
|
|
22
|
+
return t !== "" && (e.resourcesUrl = new URL(".", t).href), l(e);
|
|
23
|
+
};
|
|
24
|
+
c().then((t) => n(void 0, null, function* () {
|
|
25
|
+
return yield h(), p([["ui-skeleton", [[0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [8, "border-radius"], marginBottom: [8, "margin-bottom"], marginTop: [8, "margin-top"], marginLeft: [8, "margin-left"], marginRight: [8, "margin-right"], animation: [4], rows: [2], size: [1] }, null, { structure: ["handleStructureChange"] }]]]], t);
|
|
26
|
+
}));
|
|
27
|
+
export {
|
|
28
|
+
k as ui_skeleton
|
|
29
|
+
};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { r
|
|
2
|
-
const
|
|
1
|
+
import { r, h as t, H as n } from "./index-b2193545-BeKKnKhR.js";
|
|
2
|
+
const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", a = s, l = class {
|
|
3
3
|
constructor(e) {
|
|
4
|
-
|
|
4
|
+
r(this, e), this.stylingValue = {
|
|
5
5
|
width: this.handleStylingProps(this.width),
|
|
6
6
|
height: this.handleStylingProps(this.height),
|
|
7
7
|
borderRadius: this.handleStylingProps(this.borderRadius),
|
|
8
8
|
marginBottom: this.handleStylingProps(this.marginBottom),
|
|
9
9
|
marginTop: this.handleStylingProps(this.marginTop),
|
|
10
10
|
marginLeft: this.handleStylingProps(this.marginLeft),
|
|
11
|
-
marginRight: this.handleStylingProps(this.marginRight)
|
|
12
|
-
|
|
11
|
+
marginRight: this.handleStylingProps(this.marginRight),
|
|
12
|
+
size: this.handleStylingProps(this.size)
|
|
13
|
+
}, this.structure = void 0, this.width = "unset", this.height = "unset", this.borderRadius = "unset", this.marginBottom = "unset", this.marginTop = "unset", this.marginLeft = "unset", this.marginRight = "unset", this.animation = !0, this.rows = 0, this.size = "100%";
|
|
13
14
|
}
|
|
14
|
-
handleStructureChange(e,
|
|
15
|
-
|
|
15
|
+
handleStructureChange(e, i) {
|
|
16
|
+
i !== e && this.handleStructure(e);
|
|
16
17
|
}
|
|
17
18
|
handleStylingProps(e) {
|
|
18
19
|
switch (typeof e) {
|
|
@@ -54,7 +55,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
54
55
|
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
|
|
55
56
|
}
|
|
56
57
|
renderText() {
|
|
57
|
-
return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e,
|
|
58
|
+
return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => t("div", { key: i, class: "Text " + (this.animation ? "Skeleton" : "") })));
|
|
58
59
|
}
|
|
59
60
|
renderRectangle() {
|
|
60
61
|
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
|
|
@@ -75,9 +76,6 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
75
76
|
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
76
77
|
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
77
78
|
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
78
|
-
--emw-skeleton-logo-background: ${this.color};
|
|
79
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
80
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
81
79
|
}
|
|
82
80
|
`;
|
|
83
81
|
break;
|
|
@@ -91,9 +89,6 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
91
89
|
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
92
90
|
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
93
91
|
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
94
|
-
--emw-skeleton-image-background: ${this.color};
|
|
95
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
96
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
97
92
|
}
|
|
98
93
|
`;
|
|
99
94
|
break;
|
|
@@ -107,9 +102,6 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
107
102
|
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
108
103
|
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
109
104
|
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
110
|
-
--emw-skeleton-title-background: ${this.color};
|
|
111
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
112
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
113
105
|
}
|
|
114
106
|
`;
|
|
115
107
|
break;
|
|
@@ -123,9 +115,6 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
123
115
|
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
124
116
|
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
125
117
|
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
126
|
-
--emw-skeleton-text-background: ${this.color};
|
|
127
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
128
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
129
118
|
}
|
|
130
119
|
`;
|
|
131
120
|
break;
|
|
@@ -139,26 +128,20 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
139
128
|
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
140
129
|
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
141
130
|
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
142
|
-
--emw-skeleton-rectangle-background: ${this.color};
|
|
143
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
144
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
145
131
|
}
|
|
146
132
|
`;
|
|
147
133
|
break;
|
|
148
134
|
case "circle":
|
|
149
135
|
e = `
|
|
150
136
|
:host {
|
|
151
|
-
--emw-skeleton-circle-size: ${this.size};
|
|
152
|
-
--emw-skeleton-circle-background: ${this.color};
|
|
153
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
154
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
137
|
+
--emw-skeleton-circle-size: ${this.stylingValue.size};
|
|
155
138
|
}
|
|
156
139
|
`;
|
|
157
140
|
break;
|
|
158
141
|
default:
|
|
159
142
|
e = "";
|
|
160
143
|
}
|
|
161
|
-
return t(
|
|
144
|
+
return t(n, { key: "e6b885bfd985ce7663d990756fe9101e25eb97f0" }, t("style", { key: "06ae24c7bb74f4dacfc12ae58085333f9dc89da5" }, e), this.handleStructure(this.structure));
|
|
162
145
|
}
|
|
163
146
|
static get watchers() {
|
|
164
147
|
return {
|
|
@@ -166,7 +149,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
166
149
|
};
|
|
167
150
|
}
|
|
168
151
|
};
|
|
169
|
-
l.style =
|
|
152
|
+
l.style = a;
|
|
170
153
|
export {
|
|
171
154
|
l as U
|
|
172
155
|
};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { r
|
|
2
|
-
const
|
|
1
|
+
import { r, h as t, H as n } from "./index-b2193545-HC0t7mHa.js";
|
|
2
|
+
const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", a = s, l = class {
|
|
3
3
|
constructor(e) {
|
|
4
|
-
|
|
4
|
+
r(this, e), this.stylingValue = {
|
|
5
5
|
width: this.handleStylingProps(this.width),
|
|
6
6
|
height: this.handleStylingProps(this.height),
|
|
7
7
|
borderRadius: this.handleStylingProps(this.borderRadius),
|
|
8
8
|
marginBottom: this.handleStylingProps(this.marginBottom),
|
|
9
9
|
marginTop: this.handleStylingProps(this.marginTop),
|
|
10
10
|
marginLeft: this.handleStylingProps(this.marginLeft),
|
|
11
|
-
marginRight: this.handleStylingProps(this.marginRight)
|
|
12
|
-
|
|
11
|
+
marginRight: this.handleStylingProps(this.marginRight),
|
|
12
|
+
size: this.handleStylingProps(this.size)
|
|
13
|
+
}, this.structure = void 0, this.width = "unset", this.height = "unset", this.borderRadius = "unset", this.marginBottom = "unset", this.marginTop = "unset", this.marginLeft = "unset", this.marginRight = "unset", this.animation = !0, this.rows = 0, this.size = "100%";
|
|
13
14
|
}
|
|
14
|
-
handleStructureChange(e,
|
|
15
|
-
|
|
15
|
+
handleStructureChange(e, i) {
|
|
16
|
+
i !== e && this.handleStructure(e);
|
|
16
17
|
}
|
|
17
18
|
handleStylingProps(e) {
|
|
18
19
|
switch (typeof e) {
|
|
@@ -54,7 +55,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
54
55
|
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
|
|
55
56
|
}
|
|
56
57
|
renderText() {
|
|
57
|
-
return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e,
|
|
58
|
+
return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => t("div", { key: i, class: "Text " + (this.animation ? "Skeleton" : "") })));
|
|
58
59
|
}
|
|
59
60
|
renderRectangle() {
|
|
60
61
|
return t("div", { class: "SkeletonContainer" }, t("div", { class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
|
|
@@ -75,9 +76,6 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
75
76
|
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
76
77
|
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
77
78
|
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
78
|
-
--emw-skeleton-logo-background: ${this.color};
|
|
79
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
80
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
81
79
|
}
|
|
82
80
|
`;
|
|
83
81
|
break;
|
|
@@ -91,9 +89,6 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
91
89
|
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
92
90
|
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
93
91
|
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
94
|
-
--emw-skeleton-image-background: ${this.color};
|
|
95
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
96
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
97
92
|
}
|
|
98
93
|
`;
|
|
99
94
|
break;
|
|
@@ -107,9 +102,6 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
107
102
|
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
108
103
|
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
109
104
|
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
110
|
-
--emw-skeleton-title-background: ${this.color};
|
|
111
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
112
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
113
105
|
}
|
|
114
106
|
`;
|
|
115
107
|
break;
|
|
@@ -123,9 +115,6 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
123
115
|
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
124
116
|
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
125
117
|
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
126
|
-
--emw-skeleton-text-background: ${this.color};
|
|
127
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
128
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
129
118
|
}
|
|
130
119
|
`;
|
|
131
120
|
break;
|
|
@@ -139,26 +128,20 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
139
128
|
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
140
129
|
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
141
130
|
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
142
|
-
--emw-skeleton-rectangle-background: ${this.color};
|
|
143
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
144
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
145
131
|
}
|
|
146
132
|
`;
|
|
147
133
|
break;
|
|
148
134
|
case "circle":
|
|
149
135
|
e = `
|
|
150
136
|
:host {
|
|
151
|
-
--emw-skeleton-circle-size: ${this.size};
|
|
152
|
-
--emw-skeleton-circle-background: ${this.color};
|
|
153
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
154
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
137
|
+
--emw-skeleton-circle-size: ${this.stylingValue.size};
|
|
155
138
|
}
|
|
156
139
|
`;
|
|
157
140
|
break;
|
|
158
141
|
default:
|
|
159
142
|
e = "";
|
|
160
143
|
}
|
|
161
|
-
return t(
|
|
144
|
+
return t(n, { key: "e6b885bfd985ce7663d990756fe9101e25eb97f0" }, t("style", { key: "06ae24c7bb74f4dacfc12ae58085333f9dc89da5" }, e), this.handleStructure(this.structure));
|
|
162
145
|
}
|
|
163
146
|
static get watchers() {
|
|
164
147
|
return {
|
|
@@ -166,7 +149,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
166
149
|
};
|
|
167
150
|
}
|
|
168
151
|
};
|
|
169
|
-
l.style =
|
|
152
|
+
l.style = a;
|
|
170
153
|
export {
|
|
171
154
|
l as U
|
|
172
155
|
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";const t=require("./index-b2193545-YW9b062G.cjs"),r=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",s=r,n=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
2
|
+
:host {
|
|
3
|
+
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
4
|
+
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
5
|
+
--emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
|
|
6
|
+
--emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
|
|
7
|
+
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
8
|
+
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
9
|
+
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
10
|
+
}
|
|
11
|
+
`;break;case"image":e=`
|
|
12
|
+
:host {
|
|
13
|
+
--emw-skeleton-image-width: ${this.stylingValue.width};
|
|
14
|
+
--emw-skeleton-image-height: ${this.stylingValue.height};
|
|
15
|
+
--emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
|
|
16
|
+
--emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
|
|
17
|
+
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
18
|
+
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
19
|
+
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
20
|
+
}
|
|
21
|
+
`;break;case"title":e=`
|
|
22
|
+
:host {
|
|
23
|
+
--emw-skeleton-title-width: ${this.stylingValue.width};
|
|
24
|
+
--emw-skeleton-title-height: ${this.stylingValue.height};
|
|
25
|
+
--emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
|
|
26
|
+
--emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
|
|
27
|
+
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
28
|
+
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
29
|
+
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
30
|
+
}
|
|
31
|
+
`;break;case"text":e=`
|
|
32
|
+
:host {
|
|
33
|
+
--emw-skeleton-text-width: ${this.stylingValue.width};
|
|
34
|
+
--emw-skeleton-text-height: ${this.stylingValue.height};
|
|
35
|
+
--emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
|
|
36
|
+
--emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
|
|
37
|
+
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
38
|
+
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
39
|
+
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
40
|
+
}
|
|
41
|
+
`;break;case"rectangle":e=`
|
|
42
|
+
:host {
|
|
43
|
+
--emw-skeleton-rectangle-width: ${this.stylingValue.width};
|
|
44
|
+
--emw-skeleton-rectangle-height: ${this.stylingValue.height};
|
|
45
|
+
--emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
|
|
46
|
+
--emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
|
|
47
|
+
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
48
|
+
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
49
|
+
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
50
|
+
}
|
|
51
|
+
`;break;case"circle":e=`
|
|
52
|
+
:host {
|
|
53
|
+
--emw-skeleton-circle-size: ${this.stylingValue.size};
|
|
54
|
+
}
|
|
55
|
+
`;break;default:e=""}return t.h(t.Host,{key:"e6b885bfd985ce7663d990756fe9101e25eb97f0"},t.h("style",{key:"06ae24c7bb74f4dacfc12ae58085333f9dc89da5"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};n.style=s;exports.UiSkeleton=n;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { b as e, p as o } from "./index-b2193545-HC0t7mHa.js";
|
|
2
|
+
import { g as a } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
3
|
+
import { U as g } from "./ui-skeleton-ae35c6f2-Cn0ZM_hs.js";
|
|
4
|
+
var i = () => {
|
|
5
|
+
const r = import.meta.url, t = {};
|
|
6
|
+
return r !== "" && (t.resourcesUrl = new URL(".", r).href), o(t);
|
|
7
|
+
};
|
|
8
|
+
i().then(async (r) => (await a(), e([["ui-skeleton", [[0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [8, "border-radius"], marginBottom: [8, "margin-bottom"], marginTop: [8, "margin-top"], marginLeft: [8, "margin-left"], marginRight: [8, "margin-right"], animation: [4], rows: [2], size: [1] }, null, { structure: ["handleStructureChange"] }]]]], r)));
|
|
9
|
+
export {
|
|
10
|
+
g as ui_skeleton
|
|
11
|
+
};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("./index-b2193545-CYERCBaJ.cjs"),o=":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}",n=o,i=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%",this.color="#c2c2c2",this.primaryColor="#c2c2c2",this.secondaryColor="#ffffff"}handleStructureChange(e,r){r!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,r)=>t.h("div",{key:r,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
2
|
-
:host {
|
|
3
|
-
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
4
|
-
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
5
|
-
--emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
|
|
6
|
-
--emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
|
|
7
|
-
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
8
|
-
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
9
|
-
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
10
|
-
--emw-skeleton-logo-background: ${this.color};
|
|
11
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
12
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
13
|
-
}
|
|
14
|
-
`;break;case"image":e=`
|
|
15
|
-
:host {
|
|
16
|
-
--emw-skeleton-image-width: ${this.stylingValue.width};
|
|
17
|
-
--emw-skeleton-image-height: ${this.stylingValue.height};
|
|
18
|
-
--emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
|
|
19
|
-
--emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
|
|
20
|
-
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
21
|
-
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
22
|
-
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
23
|
-
--emw-skeleton-image-background: ${this.color};
|
|
24
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
25
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
26
|
-
}
|
|
27
|
-
`;break;case"title":e=`
|
|
28
|
-
:host {
|
|
29
|
-
--emw-skeleton-title-width: ${this.stylingValue.width};
|
|
30
|
-
--emw-skeleton-title-height: ${this.stylingValue.height};
|
|
31
|
-
--emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
|
|
32
|
-
--emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
|
|
33
|
-
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
34
|
-
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
35
|
-
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
36
|
-
--emw-skeleton-title-background: ${this.color};
|
|
37
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
38
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
39
|
-
}
|
|
40
|
-
`;break;case"text":e=`
|
|
41
|
-
:host {
|
|
42
|
-
--emw-skeleton-text-width: ${this.stylingValue.width};
|
|
43
|
-
--emw-skeleton-text-height: ${this.stylingValue.height};
|
|
44
|
-
--emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
|
|
45
|
-
--emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
|
|
46
|
-
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
47
|
-
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
48
|
-
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
49
|
-
--emw-skeleton-text-background: ${this.color};
|
|
50
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
51
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
52
|
-
}
|
|
53
|
-
`;break;case"rectangle":e=`
|
|
54
|
-
:host {
|
|
55
|
-
--emw-skeleton-rectangle-width: ${this.stylingValue.width};
|
|
56
|
-
--emw-skeleton-rectangle-height: ${this.stylingValue.height};
|
|
57
|
-
--emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
|
|
58
|
-
--emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
|
|
59
|
-
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
60
|
-
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
61
|
-
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
62
|
-
--emw-skeleton-rectangle-background: ${this.color};
|
|
63
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
64
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
65
|
-
}
|
|
66
|
-
`;break;case"circle":e=`
|
|
67
|
-
:host {
|
|
68
|
-
--emw-skeleton-circle-size: ${this.size};
|
|
69
|
-
--emw-skeleton-circle-background: ${this.color};
|
|
70
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
71
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
72
|
-
}
|
|
73
|
-
`;break;default:e=""}return t.h(t.Host,{key:"5c185b76c438d20d4ad88bc48d94ff5628410bb7"},t.h("style",{key:"de95e60a5955d5b2af83710423fe40329c187f7e"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};i.style=n;exports.UiSkeleton=i;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var c=(r,t,o)=>new Promise((l,s)=>{var m=e=>{try{n(o.next(e))}catch(i){s(i)}},d=e=>{try{n(o.throw(e))}catch(i){s(i)}},n=e=>e.done?l(e.value):Promise.resolve(e.value).then(m,d);n((o=o.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-b2193545-CYERCBaJ.cjs"),p=require("./app-globals-0f993ce5-sCt45RkC.cjs"),g=require("./ui-skeleton-161699c3-KSM-Cr8Z.cjs");var a=typeof document!="undefined"?document.currentScript:null,f=()=>{const r=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-skeleton-D9ekrDIX.cjs",document.baseURI).href,t={};return r!==""&&(t.resourcesUrl=new URL(".",r).href),u.promiseResolve(t)};f().then(r=>c(exports,null,function*(){return yield p.globalScripts(),u.bootstrapLazy([["ui-skeleton",[[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1],color:[1],primaryColor:[1,"primary-color"],secondaryColor:[1,"secondary-color"]},null,{structure:["handleStructureChange"]}]]]],r)}));exports.ui_skeleton=g.UiSkeleton;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { b as t, p as e } from "./index-b2193545-0nBa8-YE.js";
|
|
2
|
-
import { g as a } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
3
|
-
import { U as u } from "./ui-skeleton-161699c3-DjmPsRvg.js";
|
|
4
|
-
var i = () => {
|
|
5
|
-
const r = import.meta.url, o = {};
|
|
6
|
-
return r !== "" && (o.resourcesUrl = new URL(".", r).href), e(o);
|
|
7
|
-
};
|
|
8
|
-
i().then(async (r) => (await a(), t([["ui-skeleton", [[0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [8, "border-radius"], marginBottom: [8, "margin-bottom"], marginTop: [8, "margin-top"], marginLeft: [8, "margin-left"], marginRight: [8, "margin-right"], animation: [4], rows: [2], size: [1], color: [1], primaryColor: [1, "primary-color"], secondaryColor: [1, "secondary-color"] }, null, { structure: ["handleStructureChange"] }]]]], r)));
|
|
9
|
-
export {
|
|
10
|
-
u as ui_skeleton
|
|
11
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
var n = (o, t, e) => new Promise((m, s) => {
|
|
2
|
-
var l = (r) => {
|
|
3
|
-
try {
|
|
4
|
-
a(e.next(r));
|
|
5
|
-
} catch (i) {
|
|
6
|
-
s(i);
|
|
7
|
-
}
|
|
8
|
-
}, u = (r) => {
|
|
9
|
-
try {
|
|
10
|
-
a(e.throw(r));
|
|
11
|
-
} catch (i) {
|
|
12
|
-
s(i);
|
|
13
|
-
}
|
|
14
|
-
}, a = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(l, u);
|
|
15
|
-
a((e = e.apply(o, t)).next());
|
|
16
|
-
});
|
|
17
|
-
import { b as p, p as c } from "./index-b2193545-fV0AjNrh.js";
|
|
18
|
-
import { g } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
19
|
-
import { U as R } from "./ui-skeleton-161699c3-BPPr6sEf.js";
|
|
20
|
-
var h = () => {
|
|
21
|
-
const o = import.meta.url, t = {};
|
|
22
|
-
return o !== "" && (t.resourcesUrl = new URL(".", o).href), c(t);
|
|
23
|
-
};
|
|
24
|
-
h().then((o) => n(void 0, null, function* () {
|
|
25
|
-
return yield g(), p([["ui-skeleton", [[0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [8, "border-radius"], marginBottom: [8, "margin-bottom"], marginTop: [8, "margin-top"], marginLeft: [8, "margin-left"], marginRight: [8, "margin-right"], animation: [4], rows: [2], size: [1], color: [1], primaryColor: [1, "primary-color"], secondaryColor: [1, "secondary-color"] }, null, { structure: ["handleStructureChange"] }]]]], o);
|
|
26
|
-
}));
|
|
27
|
-
export {
|
|
28
|
-
R as ui_skeleton
|
|
29
|
-
};
|