@everymatrix/casino-tournaments-page-controller 1.77.13 → 1.77.14
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/{CasinoTournamentsPageController-Colb3AIV.js → CasinoTournamentsPageController-BupvThyE.js} +2 -2
- package/components/{CasinoTournamentsPageController-B0R5L6eq.cjs → CasinoTournamentsPageController-C9dXL8aq.cjs} +1 -1
- package/components/{CasinoTournamentsPageController-BF96cPcc.js → CasinoTournamentsPageController-D87wHVAn.js} +2 -2
- package/components/{CasinoTournamentsThumbnail-CFcSaZH5.cjs → CasinoTournamentsThumbnail-BWeSr5Pm.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-Bk1I97L2.js → CasinoTournamentsThumbnail-Cx6G4iW9.js} +1 -1
- package/components/{CasinoTournamentsThumbnail-Nh2PQzBI.js → CasinoTournamentsThumbnail-DQ32ROP1.js} +1 -1
- package/components/{CasinoTournamentsThumbnailController-BHpWy_HP.js → CasinoTournamentsThumbnailController-BJORxhsT.js} +1 -1
- package/components/{CasinoTournamentsThumbnailController-CdAQG5pP.cjs → CasinoTournamentsThumbnailController-C6kMp_uB.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-DnVCPRRL.js → CasinoTournamentsThumbnailController-aZ94k3Xc.js} +1 -1
- package/components/{CasinoTournamentsThumbnailGames-BwSXmQ8k.cjs → CasinoTournamentsThumbnailGames-BcJ5YMme.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGames-BV6cJlCI.js → CasinoTournamentsThumbnailGames-CMEl_dOL.js} +1 -1
- package/components/{CasinoTournamentsThumbnailGames-DmM0W_R3.js → CasinoTournamentsThumbnailGames-D87QSrRp.js} +1 -1
- package/es2015/casino-tournaments-page-controller.cjs +1 -1
- package/es2015/casino-tournaments-page-controller.js +1 -1
- package/esnext/casino-tournaments-page-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-256b7d4e-DrOXnq3q.js → index-97d17652--F7PvMq9.js} +101 -102
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/{index-256b7d4e-B27ydHcs.js → index-97d17652-CCFHkzJw.js} +104 -105
- package/stencil/ui-image-Bk8cIvcH.cjs +1 -0
- package/stencil/ui-image-CXqPvnQ2.js +7 -0
- package/stencil/ui-image-DgbODkuX.js +25 -0
- package/stencil/ui-image-b7b48fe5-ByRuJtdE.js +39 -0
- package/stencil/ui-image-b7b48fe5-D6iig_uN.js +39 -0
- package/stencil/ui-image-b7b48fe5-DG83WzAo.cjs +1 -0
- package/stencil/{ui-image_2-D4c_LX5r.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-C-3C7pxb.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-hEBXfomA.js → ui-image_2-qO3reSlr.js} +2 -2
- package/stencil/index-256b7d4e-yFNBIexD.cjs +0 -1
- package/stencil/ui-image-CtMIw0bP.cjs +0 -1
- package/stencil/ui-image-DPajcLJ9.js +0 -7
- package/stencil/ui-image-TlQfec4K.js +0 -25
- package/stencil/ui-image-ae115205-Bmmit6PH.js +0 -81
- package/stencil/ui-image-ae115205-C9w0DS-q.js +0 -81
- package/stencil/ui-image-ae115205-CcwMMc09.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsDetails-C0vnKkIF.cjs");require("../stencil/ui-image-CtMIw0bP.cjs");function V({withLocale:n,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function O(n,t){e.addMessages(n,t)}function Y(n){e.$locale.set(n)}const R={en:{loading:"Loading, please wait ...",playNow:"Play Now",casino:"CASINO",sports:"SPORTSBOOK",contribution:"Contribution",noGamesAvailable:"No games have been configured yet!",noMoreGames:"No more games"}};function $(n){e.append_styles(n,"svelte-xv9pd7","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .LoadingGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames .LoadingGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.TournamentsPaginationControlsArea{clear:both;margin-top:30px;display:flex;justify-content:center;width:100%}.TournamentsPaginationControls{background:var(--emw--color-green, transparent);width:60%;height:35px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px;cursor:pointer;width:190px}.TournamentsPaginationControls.Disabled{color:var(--emw--color-gray-100, #B5B5B5);border-color:var(--emw--color-gray-100, #B5B5B5);opacity:50%;cursor:default}.TournamentsPaginationControlsArea{justify-content:center;gap:30px}.TournamentsPaginationControlsArea .TournamentsPaginationControls{align-items:center}.TournamentsPaginationControlsArea .TournamentsPaginationControlsText{font-size:var(--emw--size-standard, 16px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}.MobileClass .GamesWrapper .GameList.items{max-height:calc(100vh - 350px);overflow-y:auto}")}function I(n,t,a){const s=n.slice();return s[32]=t[a],s}function U(n,t,a){const s=n.slice();return s[32]=t[a],s[36]=a,s}function q(n){let t,a;return{c(){t=e.element("div"),a=e.element("casino-tournaments-tab"),e.set_custom_element_data(a,"part","TournamentGames"),e.set_custom_element_data(a,"tabs","casino,sports"),e.set_custom_element_data(a,"tab","casino"),e.set_custom_element_data(a,"tid",A),e.set_custom_element_data(a,"clientstyling",n[0]),e.set_custom_element_data(a,"clientstylingurl",n[1]),e.set_custom_element_data(a,"mbsource",n[2]),e.attr(t,"class","GamesTabNav")},m(s,l){e.insert(s,t,l),e.append(t,a)},p(s,l){l[0]&1&&e.set_custom_element_data(a,"clientstyling",s[0]),l[0]&2&&e.set_custom_element_data(a,"clientstylingurl",s[1]),l[0]&4&&e.set_custom_element_data(a,"mbsource",s[2])},d(s){s&&e.detach(t)}}}function ee(n){let t,a=n[13]("noGamesAvailable")+"",s;return{c(){t=e.element("div"),s=e.text(a),e.attr(t,"class","NoGames")},m(l,o){e.insert(l,t,o),e.append(t,s)},p(l,o){o[0]&8192&&a!==(a=l[13]("noGamesAvailable")+"")&&e.set_data(s,a)},d(l){l&&e.detach(t)}}}function te(n){let t,a=n[13]("noMoreGames")+"",s;return{c(){t=e.element("div"),s=e.text(a),e.attr(t,"class","NoGames")},m(l,o){e.insert(l,t,o),e.append(t,s)},p(l,o){o[0]&8192&&a!==(a=l[13]("noMoreGames")+"")&&e.set_data(s,a)},d(l){l&&e.detach(t)}}}function ae(n){let t,a=n[13]("loading")+"",s;return{c(){t=e.element("div"),s=e.text(a),e.attr(t,"class","LoadingGames")},m(l,o){e.insert(l,t,o),e.append(t,s)},p(l,o){o[0]&8192&&a!==(a=l[13]("loading")+"")&&e.set_data(s,a)},d(l){l&&e.detach(t)}}}function ne(n){let t,a=e.ensure_array_like(n[8]),s=[];for(let l=0;l<a.length;l+=1)s[l]=Z(U(n,a,l));return{c(){for(let l=0;l<s.length;l+=1)s[l].c();t=e.empty()},m(l,o){for(let i=0;i<s.length;i+=1)s[i]&&s[i].m(l,o);e.insert(l,t,o)},p(l,o){if(o[0]&41216){a=e.ensure_array_like(l[8]);let i;for(i=0;i<a.length;i+=1){const u=U(l,a,i);s[i]?s[i].p(u,o):(s[i]=Z(u),s[i].c(),s[i].m(t.parentNode,t))}for(;i<s.length;i+=1)s[i].d(1);s.length=a.length}},d(l){l&&e.detach(t),e.destroy_each(s,l)}}}function Z(n){let t,a,s=n[13]("playNow")+"",l,o,i,u,f,y,G,_,c;return{c(){t=e.element("div"),a=e.element("span"),l=e.text(s),o=e.space(),i=e.element("ui-image"),G=e.space(),e.attr(a,"class","PlayNowButton"),e.src_url_equal(i.src,u=n[32].thumbnail)||e.set_custom_element_data(i,"src",u),e.set_custom_element_data(i,"width","132px"),e.set_custom_element_data(i,"height","100px"),e.set_custom_element_data(i,"alt",f=n[32].name),e.set_custom_element_data(i,"title",y=n[32].name),e.attr(t,"class","item"),e.attr(t,"id","g_"+n[36]),e.attr(t,"role","button"),e.attr(t,"tabindex","0")},m(b,g){e.insert(b,t,g),e.append(t,a),e.append(a,l),e.append(t,o),e.append(t,i),e.append(t,G),_||(c=e.listen(t,"click",function(){e.is_function(n[15](n[32]))&&n[15](n[32]).apply(this,arguments)}),_=!0)},p(b,g){n=b,g[0]&8192&&s!==(s=n[13]("playNow")+"")&&e.set_data(l,s),g[0]&256&&!e.src_url_equal(i.src,u=n[32].thumbnail)&&e.set_custom_element_data(i,"src",u),g[0]&256&&f!==(f=n[32].name)&&e.set_custom_element_data(i,"alt",f),g[0]&256&&y!==(y=n[32].name)&&e.set_custom_element_data(i,"title",y)},d(b){b&&e.detach(t),_=!1,c()}}}function se(n){let t,a,s,l,o,i,u,f=n[13]("previous")+"",y,G,_,c,b,g,h=n[13]("next")+"",w,k,p,P,L,m,T,v,E;return{c(){t=e.element("div"),a=e.element("button"),s=e.svg_element("svg"),l=e.svg_element("path"),i=e.space(),u=e.element("span"),y=e.text(f),c=e.space(),b=e.element("button"),g=e.element("span"),w=e.text(h),k=e.space(),p=e.svg_element("svg"),P=e.svg_element("path"),e.attr(l,"fill",o=n[10]?"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))":"var(--emw--color-gray-100, #E6E6E6)"),e.attr(l,"class","a"),e.attr(l,"d","M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"),e.attr(l,"transform","translate(19.246 -6.188) rotate(90)"),e.attr(s,"xmlns","http://www.w3.org/2000/svg"),e.attr(s,"width","8"),e.attr(s,"height","13.992"),e.attr(s,"viewBox","0 0 8 13.992"),e.attr(u,"class","TournamentsPaginationControlsText"),e.attr(a,"class",G="TournamentsButton TournamentsPaginationControls "+(n[10]?"":"Disabled")),a.disabled=_=!n[10],e.attr(g,"class","TournamentsPaginationControlsText"),e.attr(P,"fill",L=n[11]?"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))":"var(--emw--color-gray-100, #E6E6E6)"),e.attr(P,"class","a"),e.attr(P,"d","M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"),e.attr(P,"transform","translate(-11.246 20.179) rotate(-90)"),e.attr(p,"xmlns","http://www.w3.org/2000/svg"),e.attr(p,"width","8"),e.attr(p,"height","13.992"),e.attr(p,"viewBox","0 0 8 13.992"),e.attr(b,"class",m="TournamentsButton TournamentsPaginationControls "+(n[11]?"":"Disabled")),b.disabled=T=!n[11],e.attr(t,"class","TournamentsPaginationControlsArea")},m(d,C){e.insert(d,t,C),e.append(t,a),e.append(a,s),e.append(s,l),e.append(a,i),e.append(a,u),e.append(u,y),e.append(t,c),e.append(t,b),e.append(b,g),e.append(g,w),e.append(b,k),e.append(b,p),e.append(p,P),v||(E=[e.listen(a,"click",n[16].bind(this,-1)),e.listen(b,"click",n[16].bind(this,1))],v=!0)},p(d,C){C[0]&1024&&o!==(o=d[10]?"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))":"var(--emw--color-gray-100, #E6E6E6)")&&e.attr(l,"fill",o),C[0]&8192&&f!==(f=d[13]("previous")+"")&&e.set_data(y,f),C[0]&1024&&G!==(G="TournamentsButton TournamentsPaginationControls "+(d[10]?"":"Disabled"))&&e.attr(a,"class",G),C[0]&1024&&_!==(_=!d[10])&&(a.disabled=_),C[0]&8192&&h!==(h=d[13]("next")+"")&&e.set_data(w,h),C[0]&2048&&L!==(L=d[11]?"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))":"var(--emw--color-gray-100, #E6E6E6)")&&e.attr(P,"fill",L),C[0]&2048&&m!==(m="TournamentsButton TournamentsPaginationControls "+(d[11]?"":"Disabled"))&&e.attr(b,"class",m),C[0]&2048&&T!==(T=!d[11])&&(b.disabled=T)},d(d){d&&e.detach(t),v=!1,e.run_all(E)}}}function H(n){let t,a=n[32].rule+"",s,l,o=n[13]("contribution")+"",i;return{c(){t=e.element("li"),s=e.text(a),l=e.space(),i=e.text(o),e.attr(t,"part","li"),e.attr(t,"class","Market")},m(u,f){e.insert(u,t,f),e.append(t,s),e.append(t,l),e.append(t,i)},p(u,f){f[0]&128&&a!==(a=u[32].rule+"")&&e.set_data(s,a),f[0]&8192&&o!==(o=u[13]("contribution")+"")&&e.set_data(i,o)},d(u){u&&e.detach(t)}}}function le(n){var P,L;let t,a,s,l,o,i,u,f,y,G,_,c=n[3]&&((P=n[3].wallet)==null?void 0:P.sports)&&((L=n[3].wallet)==null?void 0:L.casino)&&q(n);function b(m,T){var v;return(v=m[8])!=null&&v.length?ne:m[12]?ae:m[9]?te:ee}let g=b(n),h=g(n),w=!n[14]&&se(n),k=e.ensure_array_like(n[7]),p=[];for(let m=0;m<k.length;m+=1)p[m]=H(I(n,k,m));return{c(){t=e.element("div"),c&&c.c(),a=e.space(),s=e.element("div"),l=e.element("div"),o=e.element("div"),h.c(),i=e.space(),w&&w.c(),f=e.space(),y=e.element("div"),G=e.element("ul");for(let m=0;m<p.length;m+=1)p[m].c();e.attr(o,"class","GameList items"),e.attr(l,"class",u="TabContent GamesContent "+(n[6]!="casino"?"hidden":"")),e.attr(G,"class","SportsPage"),e.attr(y,"class",_="TabContent GamesContent "+(n[6]!="sports"?"hidden":"")),e.attr(s,"class","GamesWrapper"),e.attr(t,"class",n[14]?"MobileClass":"")},m(m,T){e.insert(m,t,T),c&&c.m(t,null),e.append(t,a),e.append(t,s),e.append(s,l),e.append(l,o),h.m(o,null),n[19](o),e.append(l,i),w&&w.m(l,null),e.append(s,f),e.append(s,y),e.append(y,G);for(let v=0;v<p.length;v+=1)p[v]&&p[v].m(G,null);n[20](t)},p(m,T){var v,E;if(m[3]&&((v=m[3].wallet)!=null&&v.sports)&&((E=m[3].wallet)!=null&&E.casino)?c?c.p(m,T):(c=q(m),c.c(),c.m(t,a)):c&&(c.d(1),c=null),g===(g=b(m))&&h?h.p(m,T):(h.d(1),h=g(m),h&&(h.c(),h.m(o,null))),m[14]||w.p(m,T),T[0]&64&&u!==(u="TabContent GamesContent "+(m[6]!="casino"?"hidden":""))&&e.attr(l,"class",u),T[0]&8320){k=e.ensure_array_like(m[7]);let d;for(d=0;d<k.length;d+=1){const C=I(m,k,d);p[d]?p[d].p(C,T):(p[d]=H(C),p[d].c(),p[d].m(G,null))}for(;d<p.length;d+=1)p[d].d(1);p.length=k.length}T[0]&64&&_!==(_="TabContent GamesContent "+(m[6]!="sports"?"hidden":""))&&e.attr(y,"class",_)},i:e.noop,o:e.noop,d(m){m&&e.detach(t),c&&c.d(),h.d(),n[19](null),w&&w.d(),e.destroy_each(p,m),n[20](null)}}}let A="gameTab";function re(n,t,a){let s;e.component_subscribe(n,e.$format,r=>a(13,s=r));let{clientstyling:l=""}=t,{clientstylingurl:o=""}=t,{mbsource:i}=t,{translationurl:u}=t,{lang:f="en"}=t,y="casino",G=[],_=[],c,b=window.navigator.userAgent,g,h,w,k=e.isMobile(b),p=!1;V({withLocale:"en",translations:{}});const P=()=>{fetch(u).then(r=>r.json()).then(r=>{Object.keys(r).forEach(N=>{O(N,r[N])})}).catch(r=>{console.log(r)})};Object.keys(R).forEach(r=>{O(r,R[r])});const L=()=>{Y(f),setTimeout(()=>{m()},10)},m=()=>{window.postMessage({type:"TournamentsTabsLocalize",tabTitleTranslations:{casino:s("casino"),sports:s("sports")}},window.location.href)},T=r=>{window.postMessage({type:"TournamentGameAction",gameId:r.id,name:r.name,launchUrl:r.launchUrl},window.location.href)};let v=!1,E=!1,d=!1;const C=r=>{!v&&r===-1||!E&&r===1||(a(12,d=!0),a(8,_=[]),window.postMessage({type:"TournamentsLoadMoreGames",id:c.id,isNext:r>0},window.location.href))},W=()=>{var N,B,j,x,D;a(8,_=((N=c.games)==null?void 0:N.items)||[]),a(9,p=!1),a(10,v=!1),a(11,E=((B=c.games)==null?void 0:B.total)>((j=c.games)==null?void 0:j.items.length)),F();const r=(D=(x=c.metadata)==null?void 0:x.sports)==null?void 0:D.rules;if(r){a(6,y=c.wallet.casino?"casino":"sports");try{const S=JSON.parse(r);a(7,G=S[f]||S["*"])}catch(S){console.error("Error parsing tournament rules",S)}}},z=r=>{var B;if(!r.data||!r.data.type)return;const N=r.data.tid||"";switch(r.data.type){case"TournamentsTabSwitch":N===A&&a(6,y=r.data.tab);break;case"TournamentsTabListenerLoaded":m();break;case"TournamentsGamesUpdate":a(3,c=r.data.details),W();break;case"TournamentsLoadedMoreGames":k?(B=r.data.games)!=null&&B.items.length&&(a(8,_=[..._,...r.data.games.items]),F()):(a(12,d=!1),a(8,_=[...r.data.games.items]),a(11,E=r.data.hasNextPage),a(10,v=r.data.hasPreviousPage),a(9,p=!_.length));break;default:console.warn(`Unhandled message type: ${r.data.type}`);break}};let M;const K=r=>{M=r==null?void 0:r.lastElementChild,!(!k||w||!r||!M)&&(w=new IntersectionObserver(N=>{N.forEach(B=>{B.isIntersecting&&(w.unobserve(M),window.postMessage({type:"TournamentsLoadMoreGames",id:c.id,isNext:!0},window.location.href))})}))},F=()=>{!k||!M||!w||!_.length||(w.unobserve(M),M=h.lastElementChild,w.observe(M))};e.onDestroy(()=>k&&w&&w.disconnect()),e.onMount(()=>(window.postMessage({type:"TournamentsGamesListenerLoaded",gamesTabTid:A},window.location.href),window.addEventListener("message",z,!1),()=>{window.removeEventListener("message",z)}));function X(r){e.binding_callbacks[r?"unshift":"push"](()=>{h=r,a(5,h)})}function Q(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,a(4,g)})}return n.$$set=r=>{"clientstyling"in r&&a(0,l=r.clientstyling),"clientstylingurl"in r&&a(1,o=r.clientstylingurl),"mbsource"in r&&a(2,i=r.mbsource),"translationurl"in r&&a(17,u=r.translationurl),"lang"in r&&a(18,f=r.lang)},n.$$.update=()=>{n.$$.dirty[0]&8&&c&&W(),n.$$.dirty[0]&262144&&f&&L(),n.$$.dirty[0]&131072&&u&&P(),n.$$.dirty[0]&17&&l&&g&&e.setClientStyling(g,l),n.$$.dirty[0]&18&&o&&g&&e.setClientStylingURL(g,o),n.$$.dirty[0]&20&&i&&g&&e.setStreamStyling(g,`${i}.Style`),n.$$.dirty[0]&32&&h&&K(h)},[l,o,i,c,g,h,y,G,_,p,v,E,d,s,k,T,C,u,f,X,Q]}class J extends e.SvelteComponent{constructor(t){super(),e.init(this,t,re,le,e.safe_not_equal,{clientstyling:0,clientstylingurl:1,mbsource:2,translationurl:17,lang:18},$,[-1,-1])}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[2]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}}e.create_custom_element(J,{clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},lang:{}},[],[],!0);exports.default=J;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsDetails-C0vnKkIF.cjs");require("../stencil/ui-image-Bk8cIvcH.cjs");function V({withLocale:n,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function O(n,t){e.addMessages(n,t)}function Y(n){e.$locale.set(n)}const R={en:{loading:"Loading, please wait ...",playNow:"Play Now",casino:"CASINO",sports:"SPORTSBOOK",contribution:"Contribution",noGamesAvailable:"No games have been configured yet!",noMoreGames:"No more games"}};function $(n){e.append_styles(n,"svelte-xv9pd7","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .LoadingGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames .LoadingGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.TournamentsPaginationControlsArea{clear:both;margin-top:30px;display:flex;justify-content:center;width:100%}.TournamentsPaginationControls{background:var(--emw--color-green, transparent);width:60%;height:35px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px;cursor:pointer;width:190px}.TournamentsPaginationControls.Disabled{color:var(--emw--color-gray-100, #B5B5B5);border-color:var(--emw--color-gray-100, #B5B5B5);opacity:50%;cursor:default}.TournamentsPaginationControlsArea{justify-content:center;gap:30px}.TournamentsPaginationControlsArea .TournamentsPaginationControls{align-items:center}.TournamentsPaginationControlsArea .TournamentsPaginationControlsText{font-size:var(--emw--size-standard, 16px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}.MobileClass .GamesWrapper .GameList.items{max-height:calc(100vh - 350px);overflow-y:auto}")}function I(n,t,a){const s=n.slice();return s[32]=t[a],s}function U(n,t,a){const s=n.slice();return s[32]=t[a],s[36]=a,s}function q(n){let t,a;return{c(){t=e.element("div"),a=e.element("casino-tournaments-tab"),e.set_custom_element_data(a,"part","TournamentGames"),e.set_custom_element_data(a,"tabs","casino,sports"),e.set_custom_element_data(a,"tab","casino"),e.set_custom_element_data(a,"tid",A),e.set_custom_element_data(a,"clientstyling",n[0]),e.set_custom_element_data(a,"clientstylingurl",n[1]),e.set_custom_element_data(a,"mbsource",n[2]),e.attr(t,"class","GamesTabNav")},m(s,l){e.insert(s,t,l),e.append(t,a)},p(s,l){l[0]&1&&e.set_custom_element_data(a,"clientstyling",s[0]),l[0]&2&&e.set_custom_element_data(a,"clientstylingurl",s[1]),l[0]&4&&e.set_custom_element_data(a,"mbsource",s[2])},d(s){s&&e.detach(t)}}}function ee(n){let t,a=n[13]("noGamesAvailable")+"",s;return{c(){t=e.element("div"),s=e.text(a),e.attr(t,"class","NoGames")},m(l,o){e.insert(l,t,o),e.append(t,s)},p(l,o){o[0]&8192&&a!==(a=l[13]("noGamesAvailable")+"")&&e.set_data(s,a)},d(l){l&&e.detach(t)}}}function te(n){let t,a=n[13]("noMoreGames")+"",s;return{c(){t=e.element("div"),s=e.text(a),e.attr(t,"class","NoGames")},m(l,o){e.insert(l,t,o),e.append(t,s)},p(l,o){o[0]&8192&&a!==(a=l[13]("noMoreGames")+"")&&e.set_data(s,a)},d(l){l&&e.detach(t)}}}function ae(n){let t,a=n[13]("loading")+"",s;return{c(){t=e.element("div"),s=e.text(a),e.attr(t,"class","LoadingGames")},m(l,o){e.insert(l,t,o),e.append(t,s)},p(l,o){o[0]&8192&&a!==(a=l[13]("loading")+"")&&e.set_data(s,a)},d(l){l&&e.detach(t)}}}function ne(n){let t,a=e.ensure_array_like(n[8]),s=[];for(let l=0;l<a.length;l+=1)s[l]=Z(U(n,a,l));return{c(){for(let l=0;l<s.length;l+=1)s[l].c();t=e.empty()},m(l,o){for(let i=0;i<s.length;i+=1)s[i]&&s[i].m(l,o);e.insert(l,t,o)},p(l,o){if(o[0]&41216){a=e.ensure_array_like(l[8]);let i;for(i=0;i<a.length;i+=1){const u=U(l,a,i);s[i]?s[i].p(u,o):(s[i]=Z(u),s[i].c(),s[i].m(t.parentNode,t))}for(;i<s.length;i+=1)s[i].d(1);s.length=a.length}},d(l){l&&e.detach(t),e.destroy_each(s,l)}}}function Z(n){let t,a,s=n[13]("playNow")+"",l,o,i,u,f,y,G,_,c;return{c(){t=e.element("div"),a=e.element("span"),l=e.text(s),o=e.space(),i=e.element("ui-image"),G=e.space(),e.attr(a,"class","PlayNowButton"),e.src_url_equal(i.src,u=n[32].thumbnail)||e.set_custom_element_data(i,"src",u),e.set_custom_element_data(i,"width","132px"),e.set_custom_element_data(i,"height","100px"),e.set_custom_element_data(i,"alt",f=n[32].name),e.set_custom_element_data(i,"title",y=n[32].name),e.attr(t,"class","item"),e.attr(t,"id","g_"+n[36]),e.attr(t,"role","button"),e.attr(t,"tabindex","0")},m(b,g){e.insert(b,t,g),e.append(t,a),e.append(a,l),e.append(t,o),e.append(t,i),e.append(t,G),_||(c=e.listen(t,"click",function(){e.is_function(n[15](n[32]))&&n[15](n[32]).apply(this,arguments)}),_=!0)},p(b,g){n=b,g[0]&8192&&s!==(s=n[13]("playNow")+"")&&e.set_data(l,s),g[0]&256&&!e.src_url_equal(i.src,u=n[32].thumbnail)&&e.set_custom_element_data(i,"src",u),g[0]&256&&f!==(f=n[32].name)&&e.set_custom_element_data(i,"alt",f),g[0]&256&&y!==(y=n[32].name)&&e.set_custom_element_data(i,"title",y)},d(b){b&&e.detach(t),_=!1,c()}}}function se(n){let t,a,s,l,o,i,u,f=n[13]("previous")+"",y,G,_,c,b,g,h=n[13]("next")+"",w,k,p,P,L,m,T,v,E;return{c(){t=e.element("div"),a=e.element("button"),s=e.svg_element("svg"),l=e.svg_element("path"),i=e.space(),u=e.element("span"),y=e.text(f),c=e.space(),b=e.element("button"),g=e.element("span"),w=e.text(h),k=e.space(),p=e.svg_element("svg"),P=e.svg_element("path"),e.attr(l,"fill",o=n[10]?"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))":"var(--emw--color-gray-100, #E6E6E6)"),e.attr(l,"class","a"),e.attr(l,"d","M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"),e.attr(l,"transform","translate(19.246 -6.188) rotate(90)"),e.attr(s,"xmlns","http://www.w3.org/2000/svg"),e.attr(s,"width","8"),e.attr(s,"height","13.992"),e.attr(s,"viewBox","0 0 8 13.992"),e.attr(u,"class","TournamentsPaginationControlsText"),e.attr(a,"class",G="TournamentsButton TournamentsPaginationControls "+(n[10]?"":"Disabled")),a.disabled=_=!n[10],e.attr(g,"class","TournamentsPaginationControlsText"),e.attr(P,"fill",L=n[11]?"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))":"var(--emw--color-gray-100, #E6E6E6)"),e.attr(P,"class","a"),e.attr(P,"d","M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"),e.attr(P,"transform","translate(-11.246 20.179) rotate(-90)"),e.attr(p,"xmlns","http://www.w3.org/2000/svg"),e.attr(p,"width","8"),e.attr(p,"height","13.992"),e.attr(p,"viewBox","0 0 8 13.992"),e.attr(b,"class",m="TournamentsButton TournamentsPaginationControls "+(n[11]?"":"Disabled")),b.disabled=T=!n[11],e.attr(t,"class","TournamentsPaginationControlsArea")},m(d,C){e.insert(d,t,C),e.append(t,a),e.append(a,s),e.append(s,l),e.append(a,i),e.append(a,u),e.append(u,y),e.append(t,c),e.append(t,b),e.append(b,g),e.append(g,w),e.append(b,k),e.append(b,p),e.append(p,P),v||(E=[e.listen(a,"click",n[16].bind(this,-1)),e.listen(b,"click",n[16].bind(this,1))],v=!0)},p(d,C){C[0]&1024&&o!==(o=d[10]?"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))":"var(--emw--color-gray-100, #E6E6E6)")&&e.attr(l,"fill",o),C[0]&8192&&f!==(f=d[13]("previous")+"")&&e.set_data(y,f),C[0]&1024&&G!==(G="TournamentsButton TournamentsPaginationControls "+(d[10]?"":"Disabled"))&&e.attr(a,"class",G),C[0]&1024&&_!==(_=!d[10])&&(a.disabled=_),C[0]&8192&&h!==(h=d[13]("next")+"")&&e.set_data(w,h),C[0]&2048&&L!==(L=d[11]?"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))":"var(--emw--color-gray-100, #E6E6E6)")&&e.attr(P,"fill",L),C[0]&2048&&m!==(m="TournamentsButton TournamentsPaginationControls "+(d[11]?"":"Disabled"))&&e.attr(b,"class",m),C[0]&2048&&T!==(T=!d[11])&&(b.disabled=T)},d(d){d&&e.detach(t),v=!1,e.run_all(E)}}}function H(n){let t,a=n[32].rule+"",s,l,o=n[13]("contribution")+"",i;return{c(){t=e.element("li"),s=e.text(a),l=e.space(),i=e.text(o),e.attr(t,"part","li"),e.attr(t,"class","Market")},m(u,f){e.insert(u,t,f),e.append(t,s),e.append(t,l),e.append(t,i)},p(u,f){f[0]&128&&a!==(a=u[32].rule+"")&&e.set_data(s,a),f[0]&8192&&o!==(o=u[13]("contribution")+"")&&e.set_data(i,o)},d(u){u&&e.detach(t)}}}function le(n){var P,L;let t,a,s,l,o,i,u,f,y,G,_,c=n[3]&&((P=n[3].wallet)==null?void 0:P.sports)&&((L=n[3].wallet)==null?void 0:L.casino)&&q(n);function b(m,T){var v;return(v=m[8])!=null&&v.length?ne:m[12]?ae:m[9]?te:ee}let g=b(n),h=g(n),w=!n[14]&&se(n),k=e.ensure_array_like(n[7]),p=[];for(let m=0;m<k.length;m+=1)p[m]=H(I(n,k,m));return{c(){t=e.element("div"),c&&c.c(),a=e.space(),s=e.element("div"),l=e.element("div"),o=e.element("div"),h.c(),i=e.space(),w&&w.c(),f=e.space(),y=e.element("div"),G=e.element("ul");for(let m=0;m<p.length;m+=1)p[m].c();e.attr(o,"class","GameList items"),e.attr(l,"class",u="TabContent GamesContent "+(n[6]!="casino"?"hidden":"")),e.attr(G,"class","SportsPage"),e.attr(y,"class",_="TabContent GamesContent "+(n[6]!="sports"?"hidden":"")),e.attr(s,"class","GamesWrapper"),e.attr(t,"class",n[14]?"MobileClass":"")},m(m,T){e.insert(m,t,T),c&&c.m(t,null),e.append(t,a),e.append(t,s),e.append(s,l),e.append(l,o),h.m(o,null),n[19](o),e.append(l,i),w&&w.m(l,null),e.append(s,f),e.append(s,y),e.append(y,G);for(let v=0;v<p.length;v+=1)p[v]&&p[v].m(G,null);n[20](t)},p(m,T){var v,E;if(m[3]&&((v=m[3].wallet)!=null&&v.sports)&&((E=m[3].wallet)!=null&&E.casino)?c?c.p(m,T):(c=q(m),c.c(),c.m(t,a)):c&&(c.d(1),c=null),g===(g=b(m))&&h?h.p(m,T):(h.d(1),h=g(m),h&&(h.c(),h.m(o,null))),m[14]||w.p(m,T),T[0]&64&&u!==(u="TabContent GamesContent "+(m[6]!="casino"?"hidden":""))&&e.attr(l,"class",u),T[0]&8320){k=e.ensure_array_like(m[7]);let d;for(d=0;d<k.length;d+=1){const C=I(m,k,d);p[d]?p[d].p(C,T):(p[d]=H(C),p[d].c(),p[d].m(G,null))}for(;d<p.length;d+=1)p[d].d(1);p.length=k.length}T[0]&64&&_!==(_="TabContent GamesContent "+(m[6]!="sports"?"hidden":""))&&e.attr(y,"class",_)},i:e.noop,o:e.noop,d(m){m&&e.detach(t),c&&c.d(),h.d(),n[19](null),w&&w.d(),e.destroy_each(p,m),n[20](null)}}}let A="gameTab";function re(n,t,a){let s;e.component_subscribe(n,e.$format,r=>a(13,s=r));let{clientstyling:l=""}=t,{clientstylingurl:o=""}=t,{mbsource:i}=t,{translationurl:u}=t,{lang:f="en"}=t,y="casino",G=[],_=[],c,b=window.navigator.userAgent,g,h,w,k=e.isMobile(b),p=!1;V({withLocale:"en",translations:{}});const P=()=>{fetch(u).then(r=>r.json()).then(r=>{Object.keys(r).forEach(N=>{O(N,r[N])})}).catch(r=>{console.log(r)})};Object.keys(R).forEach(r=>{O(r,R[r])});const L=()=>{Y(f),setTimeout(()=>{m()},10)},m=()=>{window.postMessage({type:"TournamentsTabsLocalize",tabTitleTranslations:{casino:s("casino"),sports:s("sports")}},window.location.href)},T=r=>{window.postMessage({type:"TournamentGameAction",gameId:r.id,name:r.name,launchUrl:r.launchUrl},window.location.href)};let v=!1,E=!1,d=!1;const C=r=>{!v&&r===-1||!E&&r===1||(a(12,d=!0),a(8,_=[]),window.postMessage({type:"TournamentsLoadMoreGames",id:c.id,isNext:r>0},window.location.href))},W=()=>{var N,B,j,x,D;a(8,_=((N=c.games)==null?void 0:N.items)||[]),a(9,p=!1),a(10,v=!1),a(11,E=((B=c.games)==null?void 0:B.total)>((j=c.games)==null?void 0:j.items.length)),F();const r=(D=(x=c.metadata)==null?void 0:x.sports)==null?void 0:D.rules;if(r){a(6,y=c.wallet.casino?"casino":"sports");try{const S=JSON.parse(r);a(7,G=S[f]||S["*"])}catch(S){console.error("Error parsing tournament rules",S)}}},z=r=>{var B;if(!r.data||!r.data.type)return;const N=r.data.tid||"";switch(r.data.type){case"TournamentsTabSwitch":N===A&&a(6,y=r.data.tab);break;case"TournamentsTabListenerLoaded":m();break;case"TournamentsGamesUpdate":a(3,c=r.data.details),W();break;case"TournamentsLoadedMoreGames":k?(B=r.data.games)!=null&&B.items.length&&(a(8,_=[..._,...r.data.games.items]),F()):(a(12,d=!1),a(8,_=[...r.data.games.items]),a(11,E=r.data.hasNextPage),a(10,v=r.data.hasPreviousPage),a(9,p=!_.length));break;default:console.warn(`Unhandled message type: ${r.data.type}`);break}};let M;const K=r=>{M=r==null?void 0:r.lastElementChild,!(!k||w||!r||!M)&&(w=new IntersectionObserver(N=>{N.forEach(B=>{B.isIntersecting&&(w.unobserve(M),window.postMessage({type:"TournamentsLoadMoreGames",id:c.id,isNext:!0},window.location.href))})}))},F=()=>{!k||!M||!w||!_.length||(w.unobserve(M),M=h.lastElementChild,w.observe(M))};e.onDestroy(()=>k&&w&&w.disconnect()),e.onMount(()=>(window.postMessage({type:"TournamentsGamesListenerLoaded",gamesTabTid:A},window.location.href),window.addEventListener("message",z,!1),()=>{window.removeEventListener("message",z)}));function X(r){e.binding_callbacks[r?"unshift":"push"](()=>{h=r,a(5,h)})}function Q(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,a(4,g)})}return n.$$set=r=>{"clientstyling"in r&&a(0,l=r.clientstyling),"clientstylingurl"in r&&a(1,o=r.clientstylingurl),"mbsource"in r&&a(2,i=r.mbsource),"translationurl"in r&&a(17,u=r.translationurl),"lang"in r&&a(18,f=r.lang)},n.$$.update=()=>{n.$$.dirty[0]&8&&c&&W(),n.$$.dirty[0]&262144&&f&&L(),n.$$.dirty[0]&131072&&u&&P(),n.$$.dirty[0]&17&&l&&g&&e.setClientStyling(g,l),n.$$.dirty[0]&18&&o&&g&&e.setClientStylingURL(g,o),n.$$.dirty[0]&20&&i&&g&&e.setStreamStyling(g,`${i}.Style`),n.$$.dirty[0]&32&&h&&K(h)},[l,o,i,c,g,h,y,G,_,p,v,E,d,s,k,T,C,u,f,X,Q]}class J extends e.SvelteComponent{constructor(t){super(),e.init(this,t,re,le,e.safe_not_equal,{clientstyling:0,clientstylingurl:1,mbsource:2,translationurl:17,lang:18},$,[-1,-1])}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[2]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}}e.create_custom_element(J,{clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},lang:{}},[],[],!0);exports.default=J;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $ as x, a as fe, b as de, S as pe, i as he, s as be, f as O, e as _e, x as q, n as $, g as z, y as ue, k as o, l as F, m as c, q as y, p as A, v as we, u as ve, L as ye, w as Te, j as C, I as Ge, h as W, o as H, r as U, t as j, B as ee, z as Ce, C as te, J as ke, F as Pe, G as Ee, H as Le, d as Ne, E as Be } from "./CasinoTournamentsDetails-CCZyFUZY.js";
|
|
2
|
-
import "../stencil/ui-image-
|
|
2
|
+
import "../stencil/ui-image-DgbODkuX.js";
|
|
3
3
|
function Me({ withLocale: a, translations: e }) {
|
|
4
4
|
x.subscribe((t) => {
|
|
5
5
|
t == null && (fe.set(e), x.set(a));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $ as U, a as ue, b as me, S as ce, i as ge, s as fe, f as D, e as de, x as R, n as K, g as S, y as se, k as o, l as A, m, q as y, p as M, v as pe, u as he, L as be, w as _e, j as G, I as we, h as F, o as q, r as I, t as W, B as X, z as ve, C as Q, J as ye, F as Te, G as Ge, H as Ce, d as ke, E as Pe } from "./CasinoTournamentsDetails-BhehF_iH.js";
|
|
2
|
-
import "../stencil/ui-image-
|
|
2
|
+
import "../stencil/ui-image-CXqPvnQ2.js";
|
|
3
3
|
function Ee({ withLocale: a, translations: e }) {
|
|
4
4
|
U.subscribe((t) => {
|
|
5
5
|
t == null && (ue.set(e), U.set(a));
|
|
@@ -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/CasinoTournamentsPageController-
|
|
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/CasinoTournamentsPageController-C9dXL8aq.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-page-controller")&&customElements.define("casino-tournaments-page-controller",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoTournamentsPageController-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoTournamentsPageController-D87wHVAn.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-tournaments-page-controller") && customElements.define("casino-tournaments-page-controller", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
const
|
|
1
|
+
const fe = "ui-image", ue = (
|
|
2
2
|
/* ui-image */
|
|
3
3
|
{ hydratedSelectorName: "hydrated" }
|
|
4
4
|
);
|
|
5
|
-
var
|
|
5
|
+
var de = Object.defineProperty, ve = (e, t) => {
|
|
6
6
|
for (var n in t)
|
|
7
|
-
|
|
8
|
-
},
|
|
7
|
+
de(e, n, { get: t[n], enumerable: !0 });
|
|
8
|
+
}, B = /* @__PURE__ */ new WeakMap(), E = (e) => B.get(e), Ve = (e, t) => B.set(t.$lazyInstance$ = e, t), ge = (e, t) => {
|
|
9
9
|
const n = {
|
|
10
10
|
$flags$: 0,
|
|
11
11
|
$hostElement$: e,
|
|
12
12
|
$cmpMeta$: t,
|
|
13
13
|
$instanceValues$: /* @__PURE__ */ new Map()
|
|
14
14
|
};
|
|
15
|
-
return n.$onReadyPromise$ = new Promise((s) => n.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [],
|
|
16
|
-
}, F = (e, t) => t in e, k = (e, t) => (0, console.error)(e, t), O = /* @__PURE__ */ new Map(),
|
|
15
|
+
return n.$onReadyPromise$ = new Promise((s) => n.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], B.set(e, n);
|
|
16
|
+
}, F = (e, t) => t in e, k = (e, t) => (0, console.error)(e, t), O = /* @__PURE__ */ new Map(), pe = (e, t, n) => {
|
|
17
17
|
const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
|
|
18
18
|
if (!r)
|
|
19
19
|
return;
|
|
@@ -26,7 +26,7 @@ var ge = Object.defineProperty, pe = (e, t) => {
|
|
|
26
26
|
case "ui-image_2":
|
|
27
27
|
return import(
|
|
28
28
|
/* webpackMode: "lazy" */
|
|
29
|
-
"./ui-image_2-
|
|
29
|
+
"./ui-image_2-Bm97-wkj.js"
|
|
30
30
|
).then(l, k);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -37,7 +37,7 @@ var ge = Object.defineProperty, pe = (e, t) => {
|
|
|
37
37
|
/* webpackMode: "lazy" */
|
|
38
38
|
`./${r}.entry.js`
|
|
39
39
|
).then((l) => (O.set(r, l), l[s]), k);
|
|
40
|
-
}, _ = /* @__PURE__ */ new Map(),
|
|
40
|
+
}, _ = /* @__PURE__ */ new Map(), he = "{visibility:hidden}.hydrated{visibility:inherit}", K = "slot-fb{display:contents}slot-fb[hidden]{display:none}", L = typeof window < "u" ? window : {}, m = L.document || { head: {} }, p = {
|
|
41
41
|
$flags$: 0,
|
|
42
42
|
$resourcesUrl$: "",
|
|
43
43
|
jmp: (e) => e(),
|
|
@@ -45,14 +45,14 @@ var ge = Object.defineProperty, pe = (e, t) => {
|
|
|
45
45
|
ael: (e, t, n, s) => e.addEventListener(t, n, s),
|
|
46
46
|
rel: (e, t, n, s) => e.removeEventListener(t, n, s),
|
|
47
47
|
ce: (e, t) => new CustomEvent(e, t)
|
|
48
|
-
},
|
|
48
|
+
}, ye = (e) => Promise.resolve(e), me = /* @__PURE__ */ (() => {
|
|
49
49
|
try {
|
|
50
50
|
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
51
51
|
} catch {
|
|
52
52
|
}
|
|
53
53
|
return !1;
|
|
54
|
-
})(), w = !1, D = [],
|
|
55
|
-
e.push(n), w || (w = !0, p.$flags$ & 4 ?
|
|
54
|
+
})(), w = !1, D = [], Q = [], Se = (e, t) => (n) => {
|
|
55
|
+
e.push(n), w || (w = !0, p.$flags$ & 4 ? z(I) : p.raf(I));
|
|
56
56
|
}, W = (e) => {
|
|
57
57
|
for (let t = 0; t < e.length; t++)
|
|
58
58
|
try {
|
|
@@ -62,51 +62,51 @@ var ge = Object.defineProperty, pe = (e, t) => {
|
|
|
62
62
|
}
|
|
63
63
|
e.length = 0;
|
|
64
64
|
}, I = () => {
|
|
65
|
-
W(D), W(
|
|
66
|
-
},
|
|
67
|
-
function
|
|
65
|
+
W(D), W(Q), (w = D.length > 0) && p.raf(I);
|
|
66
|
+
}, z = (e) => ye().then(e), Ee = /* @__PURE__ */ Se(Q), M = {}, C = (e) => (e = typeof e, e === "object" || e === "function");
|
|
67
|
+
function Z(e) {
|
|
68
68
|
var t, n, s;
|
|
69
69
|
return (s = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? s : void 0;
|
|
70
70
|
}
|
|
71
|
-
var
|
|
72
|
-
|
|
73
|
-
err: () =>
|
|
74
|
-
map: () =>
|
|
71
|
+
var ke = {};
|
|
72
|
+
ve(ke, {
|
|
73
|
+
err: () => R,
|
|
74
|
+
map: () => be,
|
|
75
75
|
ok: () => U,
|
|
76
|
-
unwrap: () =>
|
|
77
|
-
unwrapErr: () =>
|
|
76
|
+
unwrap: () => xe,
|
|
77
|
+
unwrapErr: () => Pe
|
|
78
78
|
});
|
|
79
79
|
var U = (e) => ({
|
|
80
80
|
isOk: !0,
|
|
81
81
|
isErr: !1,
|
|
82
82
|
value: e
|
|
83
|
-
}),
|
|
83
|
+
}), R = (e) => ({
|
|
84
84
|
isOk: !1,
|
|
85
85
|
isErr: !0,
|
|
86
86
|
value: e
|
|
87
87
|
});
|
|
88
|
-
function
|
|
88
|
+
function be(e, t) {
|
|
89
89
|
if (e.isOk) {
|
|
90
90
|
const n = t(e.value);
|
|
91
91
|
return n instanceof Promise ? n.then((s) => U(s)) : U(n);
|
|
92
92
|
}
|
|
93
93
|
if (e.isErr) {
|
|
94
94
|
const n = e.value;
|
|
95
|
-
return
|
|
95
|
+
return R(n);
|
|
96
96
|
}
|
|
97
97
|
throw "should never get here";
|
|
98
98
|
}
|
|
99
|
-
var
|
|
99
|
+
var xe = (e) => {
|
|
100
100
|
if (e.isOk)
|
|
101
101
|
return e.value;
|
|
102
102
|
throw e.value;
|
|
103
|
-
},
|
|
103
|
+
}, Pe = (e) => {
|
|
104
104
|
if (e.isErr)
|
|
105
105
|
return e.value;
|
|
106
106
|
throw e.value;
|
|
107
107
|
}, S = (e, t = "") => () => {
|
|
108
|
-
},
|
|
109
|
-
},
|
|
108
|
+
}, Te = (e, t) => () => {
|
|
109
|
+
}, _e = (e, t, ...n) => {
|
|
110
110
|
let s = null, r = null, a = !1, l = !1;
|
|
111
111
|
const $ = [], i = (c) => {
|
|
112
112
|
for (let f = 0; f < c.length; f++)
|
|
@@ -130,15 +130,15 @@ var Te = (e) => {
|
|
|
130
130
|
$children$: null
|
|
131
131
|
};
|
|
132
132
|
return n.$attrs$ = null, n.$key$ = null, n;
|
|
133
|
-
},
|
|
133
|
+
}, Ae = {}, Le = (e) => e && e.$tag$ === Ae, je = (e, t) => e != null && !C(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, et = (e) => E(e).$hostElement$, Oe = (e, t, n) => {
|
|
134
134
|
const s = p.ce(t, n);
|
|
135
135
|
return e.dispatchEvent(s), s;
|
|
136
|
-
}, G = /* @__PURE__ */ new WeakMap(),
|
|
136
|
+
}, G = /* @__PURE__ */ new WeakMap(), we = (e, t, n) => {
|
|
137
137
|
let s = _.get(e);
|
|
138
|
-
|
|
139
|
-
},
|
|
138
|
+
me && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, _.set(e, s);
|
|
139
|
+
}, Ie = (e, t, n) => {
|
|
140
140
|
var s;
|
|
141
|
-
const r =
|
|
141
|
+
const r = N(t), a = _.get(r);
|
|
142
142
|
if (e = e.nodeType === 11 ? e : m, a)
|
|
143
143
|
if (typeof a == "string") {
|
|
144
144
|
e = e.head || e;
|
|
@@ -146,21 +146,21 @@ var Te = (e) => {
|
|
|
146
146
|
if (l || G.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
|
|
147
147
|
{
|
|
148
148
|
$ = m.createElement("style"), $.innerHTML = a;
|
|
149
|
-
const i = (s = p.$nonce$) != null ? s :
|
|
149
|
+
const i = (s = p.$nonce$) != null ? s : Z(m);
|
|
150
150
|
i != null && $.setAttribute("nonce", i), e.insertBefore($, e.querySelector("link"));
|
|
151
151
|
}
|
|
152
|
-
t.$flags$ & 4 && ($.innerHTML +=
|
|
152
|
+
t.$flags$ & 4 && ($.innerHTML += K), l && l.add(r);
|
|
153
153
|
}
|
|
154
154
|
} else
|
|
155
155
|
e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
|
|
156
156
|
return r;
|
|
157
|
-
},
|
|
157
|
+
}, Ue = (e) => {
|
|
158
158
|
const t = e.$cmpMeta$, n = e.$hostElement$, s = S("attachStyles", t.$tagName$);
|
|
159
|
-
|
|
159
|
+
Ie(
|
|
160
160
|
n.getRootNode(),
|
|
161
161
|
t
|
|
162
162
|
), s();
|
|
163
|
-
},
|
|
163
|
+
}, N = (e, t) => "sc-" + e.$tagName$, X = (e, t, n, s, r, a) => {
|
|
164
164
|
if (n !== s) {
|
|
165
165
|
let l = F(e, t), $ = t.toLowerCase();
|
|
166
166
|
if (t === "class") {
|
|
@@ -176,8 +176,8 @@ var Te = (e) => {
|
|
|
176
176
|
s && s(e);
|
|
177
177
|
else if (!l && t[0] === "o" && t[1] === "n") {
|
|
178
178
|
if (t[2] === "-" ? t = t.slice(3) : F(L, $) ? t = $.slice(2) : t = $[2] + t.slice(3), n || s) {
|
|
179
|
-
const i = t.endsWith(
|
|
180
|
-
t = t.replace(
|
|
179
|
+
const i = t.endsWith(V);
|
|
180
|
+
t = t.replace(Be, ""), n && p.rel(e, t, n, i), s && p.ael(e, t, s, i);
|
|
181
181
|
}
|
|
182
182
|
} else {
|
|
183
183
|
const i = C(s);
|
|
@@ -194,7 +194,7 @@ var Te = (e) => {
|
|
|
194
194
|
s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || a & 4 || r) && !i && (s = s === !0 ? "" : s, e.setAttribute(t, s));
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
},
|
|
197
|
+
}, He = /\s/, Y = (e) => e ? e.split(He) : [], V = "Capture", Be = new RegExp(V + "$"), ee = (e, t, n) => {
|
|
198
198
|
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || M, a = t.$attrs$ || M;
|
|
199
199
|
for (const l of J(Object.keys(r)))
|
|
200
200
|
l in a || X(s, l, r[l], void 0, n, t.$flags$);
|
|
@@ -210,30 +210,30 @@ function J(e) {
|
|
|
210
210
|
e
|
|
211
211
|
);
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var te, se = !1, A = (e, t, n, s) => {
|
|
214
214
|
const r = t.$children$[n];
|
|
215
215
|
let a = 0, l, $;
|
|
216
216
|
if (r.$text$ !== null)
|
|
217
217
|
l = r.$elm$ = m.createTextNode(r.$text$);
|
|
218
218
|
else if (l = r.$elm$ = m.createElement(
|
|
219
219
|
r.$tag$
|
|
220
|
-
),
|
|
220
|
+
), ee(null, r, se), r.$children$)
|
|
221
221
|
for (a = 0; a < r.$children$.length; ++a)
|
|
222
222
|
$ = A(e, r, a), $ && l.appendChild($);
|
|
223
|
-
return l["s-hn"] =
|
|
224
|
-
},
|
|
223
|
+
return l["s-hn"] = te, l;
|
|
224
|
+
}, ne = (e, t, n, s, r, a) => {
|
|
225
225
|
let l = e, $;
|
|
226
226
|
for (; r <= a; ++r)
|
|
227
227
|
s[r] && ($ = A(null, n, r), $ && (s[r].$elm$ = $, T(l, $, t)));
|
|
228
|
-
},
|
|
228
|
+
}, re = (e, t, n) => {
|
|
229
229
|
for (let s = t; s <= n; ++s) {
|
|
230
230
|
const r = e[s];
|
|
231
231
|
if (r) {
|
|
232
232
|
const a = r.$elm$;
|
|
233
|
-
|
|
233
|
+
le(r), a && a.remove();
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
|
-
},
|
|
236
|
+
}, ze = (e, t, n, s, r = !1) => {
|
|
237
237
|
let a = 0, l = 0, $ = 0, i = 0, o = t.length - 1, c = t[0], f = t[o], u = s.length - 1, d = s[0], v = s[u], g, h;
|
|
238
238
|
for (; a <= o && l <= u; )
|
|
239
239
|
if (c == null)
|
|
@@ -260,83 +260,83 @@ var se, ne = !1, A = (e, t, n, s) => {
|
|
|
260
260
|
}
|
|
261
261
|
$ >= 0 ? (h = t[$], h.$tag$ !== d.$tag$ ? g = A(t && t[l], n, $) : (b(h, d, r), t[$] = void 0, g = h.$elm$), d = s[++l]) : (g = A(t && t[l], n, l), d = s[++l]), g && T(c.$elm$.parentNode, g, c.$elm$);
|
|
262
262
|
}
|
|
263
|
-
a > o ?
|
|
263
|
+
a > o ? ne(
|
|
264
264
|
e,
|
|
265
265
|
s[u + 1] == null ? null : s[u + 1].$elm$,
|
|
266
266
|
n,
|
|
267
267
|
s,
|
|
268
268
|
l,
|
|
269
269
|
u
|
|
270
|
-
) : l > u &&
|
|
270
|
+
) : l > u && re(t, a, o);
|
|
271
271
|
}, P = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, b = (e, t, n = !1) => {
|
|
272
272
|
const s = t.$elm$ = e.$elm$, r = e.$children$, a = t.$children$, l = t.$text$;
|
|
273
|
-
l === null ? (
|
|
274
|
-
},
|
|
275
|
-
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(
|
|
276
|
-
}, T = (e, t, n) => e?.insertBefore(t, n),
|
|
277
|
-
const s = e.$hostElement$, r = e.$vnode$ || H(null, null), a =
|
|
278
|
-
if (
|
|
273
|
+
l === null ? (ee(e, t, se), r !== null && a !== null ? ze(s, r, t, a, n) : a !== null ? (e.$text$ !== null && (s.textContent = ""), ne(s, null, t, a, 0, a.length - 1)) : r !== null && re(r, 0, r.length - 1)) : e.$text$ !== l && (s.data = l);
|
|
274
|
+
}, le = (e) => {
|
|
275
|
+
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(le);
|
|
276
|
+
}, T = (e, t, n) => e?.insertBefore(t, n), Ce = (e, t, n = !1) => {
|
|
277
|
+
const s = e.$hostElement$, r = e.$vnode$ || H(null, null), a = Le(t) ? t : _e(null, null, t);
|
|
278
|
+
if (te = s.tagName, n && a.$attrs$)
|
|
279
279
|
for (const l of Object.keys(a.$attrs$))
|
|
280
280
|
s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = s[l]);
|
|
281
281
|
a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = r.$elm$ = s, b(r, a, n);
|
|
282
|
-
},
|
|
282
|
+
}, ae = (e, t) => {
|
|
283
283
|
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
|
|
284
284
|
}, q = (e, t) => {
|
|
285
285
|
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
286
286
|
e.$flags$ |= 512;
|
|
287
287
|
return;
|
|
288
288
|
}
|
|
289
|
-
return
|
|
290
|
-
},
|
|
289
|
+
return ae(e, e.$ancestorComponent$), Ee(() => qe(e, t));
|
|
290
|
+
}, qe = (e, t) => {
|
|
291
291
|
const n = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
|
|
292
292
|
if (!r)
|
|
293
293
|
throw new Error(
|
|
294
294
|
`Can't render component <${n.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`
|
|
295
295
|
);
|
|
296
296
|
let a;
|
|
297
|
-
return s(),
|
|
298
|
-
},
|
|
297
|
+
return s(), Fe(a, () => We(e, r, t));
|
|
298
|
+
}, Fe = (e, t) => De(e) ? e.then(t).catch((n) => {
|
|
299
299
|
console.error(n), t();
|
|
300
|
-
}) : t(),
|
|
300
|
+
}) : t(), De = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", We = async (e, t, n) => {
|
|
301
301
|
var s;
|
|
302
302
|
const r = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
|
|
303
|
-
n &&
|
|
303
|
+
n && Ue(e);
|
|
304
304
|
const $ = S("render", e.$cmpMeta$.$tagName$);
|
|
305
|
-
|
|
305
|
+
Me(e, t, r, n), l && (l.map((i) => i()), r["s-rc"] = void 0), $(), a();
|
|
306
306
|
{
|
|
307
|
-
const i = (s = r["s-p"]) != null ? s : [], o = () =>
|
|
307
|
+
const i = (s = r["s-p"]) != null ? s : [], o = () => Ge(e);
|
|
308
308
|
i.length === 0 ? o() : (Promise.all(i).then(o), e.$flags$ |= 4, i.length = 0);
|
|
309
309
|
}
|
|
310
|
-
},
|
|
310
|
+
}, Me = (e, t, n, s) => {
|
|
311
311
|
try {
|
|
312
|
-
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2,
|
|
312
|
+
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ce(e, t, s);
|
|
313
313
|
} catch (r) {
|
|
314
314
|
k(r, e.$hostElement$);
|
|
315
315
|
}
|
|
316
316
|
return null;
|
|
317
|
-
},
|
|
317
|
+
}, Ge = (e) => {
|
|
318
318
|
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = S("postUpdate", t), r = e.$lazyInstance$, a = e.$ancestorComponent$;
|
|
319
|
-
e.$flags$ & 64 ? s() : (e.$flags$ |= 64,
|
|
320
|
-
},
|
|
321
|
-
|
|
322
|
-
},
|
|
319
|
+
e.$flags$ & 64 ? s() : (e.$flags$ |= 64, $e(n), Xe(r, "componentDidLoad"), s(), e.$onReadyResolve$(n), a || ie()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && z(() => q(e, !1)), e.$flags$ &= -517;
|
|
320
|
+
}, ie = (e) => {
|
|
321
|
+
$e(m.documentElement), z(() => Oe(L, "appload", { detail: { namespace: fe } }));
|
|
322
|
+
}, Xe = (e, t, n) => {
|
|
323
323
|
if (e && e[t])
|
|
324
324
|
try {
|
|
325
325
|
return e[t](n);
|
|
326
326
|
} catch (s) {
|
|
327
327
|
k(s);
|
|
328
328
|
}
|
|
329
|
-
},
|
|
329
|
+
}, $e = (e) => {
|
|
330
330
|
var t;
|
|
331
|
-
return e.classList.add((t =
|
|
332
|
-
},
|
|
331
|
+
return e.classList.add((t = ue.hydratedSelectorName) != null ? t : "hydrated");
|
|
332
|
+
}, Ye = (e, t) => E(e).$instanceValues$.get(t), Je = (e, t, n, s) => {
|
|
333
333
|
const r = E(e);
|
|
334
334
|
if (!r)
|
|
335
335
|
throw new Error(
|
|
336
336
|
`Couldn't find host element for "${s.$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).`
|
|
337
337
|
);
|
|
338
338
|
const a = r.$hostElement$, l = r.$instanceValues$.get(t), $ = r.$flags$, i = r.$lazyInstance$;
|
|
339
|
-
n =
|
|
339
|
+
n = je(n, s.$members$[t][0]);
|
|
340
340
|
const o = Number.isNaN(l) && Number.isNaN(n), c = n !== l && !o;
|
|
341
341
|
if ((!($ & 8) || l === void 0) && c && (r.$instanceValues$.set(t, n), i)) {
|
|
342
342
|
if (s.$watchers$ && $ & 128) {
|
|
@@ -351,7 +351,7 @@ var se, ne = !1, A = (e, t, n, s) => {
|
|
|
351
351
|
}
|
|
352
352
|
($ & 18) === 2 && q(r, !1);
|
|
353
353
|
}
|
|
354
|
-
},
|
|
354
|
+
}, oe = (e, t, n) => {
|
|
355
355
|
var s, r;
|
|
356
356
|
const a = e.prototype;
|
|
357
357
|
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
@@ -360,10 +360,10 @@ var se, ne = !1, A = (e, t, n, s) => {
|
|
|
360
360
|
if (l.map(([$, [i]]) => {
|
|
361
361
|
(i & 31 || n & 2 && i & 32) && Object.defineProperty(a, $, {
|
|
362
362
|
get() {
|
|
363
|
-
return
|
|
363
|
+
return Ye(this, $);
|
|
364
364
|
},
|
|
365
365
|
set(o) {
|
|
366
|
-
|
|
366
|
+
Je(this, $, o, t);
|
|
367
367
|
},
|
|
368
368
|
configurable: !0,
|
|
369
369
|
enumerable: !0
|
|
@@ -407,19 +407,19 @@ var se, ne = !1, A = (e, t, n, s) => {
|
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
409
|
return e;
|
|
410
|
-
},
|
|
410
|
+
}, Ke = async (e, t, n, s) => {
|
|
411
411
|
let r;
|
|
412
412
|
if (!(t.$flags$ & 32)) {
|
|
413
413
|
if (t.$flags$ |= 32, n.$lazyBundleId$) {
|
|
414
|
-
const i =
|
|
414
|
+
const i = pe(n);
|
|
415
415
|
if (i && "then" in i) {
|
|
416
|
-
const c =
|
|
416
|
+
const c = Te();
|
|
417
417
|
r = await i, c();
|
|
418
418
|
} else
|
|
419
419
|
r = i;
|
|
420
420
|
if (!r)
|
|
421
421
|
throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
|
|
422
|
-
r.isProxied || (n.$watchers$ = r.watchers,
|
|
422
|
+
r.isProxied || (n.$watchers$ = r.watchers, oe(
|
|
423
423
|
r,
|
|
424
424
|
n,
|
|
425
425
|
2
|
|
@@ -444,28 +444,28 @@ var se, ne = !1, A = (e, t, n, s) => {
|
|
|
444
444
|
if (r && r.style) {
|
|
445
445
|
let i;
|
|
446
446
|
typeof r.style == "string" && (i = r.style);
|
|
447
|
-
const o =
|
|
447
|
+
const o = N(n);
|
|
448
448
|
if (!_.has(o)) {
|
|
449
449
|
const c = S("registerStyles", n.$tagName$);
|
|
450
|
-
|
|
450
|
+
we(o, i, !!(n.$flags$ & 1)), c();
|
|
451
451
|
}
|
|
452
452
|
}
|
|
453
453
|
}
|
|
454
454
|
const a = t.$ancestorComponent$, l = () => q(t, !0);
|
|
455
455
|
a && a["s-rc"] ? a["s-rc"].push(l) : l();
|
|
456
|
+
}, Qe = (e) => {
|
|
456
457
|
}, Ze = (e) => {
|
|
457
|
-
}, Re = (e) => {
|
|
458
458
|
if (!(p.$flags$ & 1)) {
|
|
459
459
|
const t = E(e), n = t.$cmpMeta$, s = S("connectedCallback", n.$tagName$);
|
|
460
460
|
if (t.$flags$ & 1)
|
|
461
|
-
t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() =>
|
|
461
|
+
t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Qe());
|
|
462
462
|
else {
|
|
463
463
|
t.$flags$ |= 1;
|
|
464
464
|
{
|
|
465
465
|
let r = e;
|
|
466
466
|
for (; r = r.parentNode || r.host; )
|
|
467
467
|
if (r["s-p"]) {
|
|
468
|
-
|
|
468
|
+
ae(t, t.$ancestorComponent$ = r);
|
|
469
469
|
break;
|
|
470
470
|
}
|
|
471
471
|
}
|
|
@@ -474,16 +474,15 @@ var se, ne = !1, A = (e, t, n, s) => {
|
|
|
474
474
|
const l = e[r];
|
|
475
475
|
delete e[r], e[r] = l;
|
|
476
476
|
}
|
|
477
|
-
}),
|
|
477
|
+
}), Ke(e, t, n);
|
|
478
478
|
}
|
|
479
479
|
s();
|
|
480
480
|
}
|
|
481
|
-
},
|
|
482
|
-
oe(e, "disconnectedCallback");
|
|
481
|
+
}, Re = (e) => {
|
|
483
482
|
}, Ne = async (e) => {
|
|
484
483
|
if (!(p.$flags$ & 1)) {
|
|
485
484
|
const t = E(e);
|
|
486
|
-
t?.$lazyInstance$
|
|
485
|
+
t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Re());
|
|
487
486
|
}
|
|
488
487
|
}, tt = (e, t = {}) => {
|
|
489
488
|
var n;
|
|
@@ -501,13 +500,13 @@ var se, ne = !1, A = (e, t, n, s) => {
|
|
|
501
500
|
$listeners$: g[3]
|
|
502
501
|
};
|
|
503
502
|
y.$flags$ & 4 && (d = !0), y.$members$ = g[2], y.$watchers$ = (h = g[4]) != null ? h : {};
|
|
504
|
-
const x = y.$tagName$,
|
|
503
|
+
const x = y.$tagName$, ce = class extends HTMLElement {
|
|
505
504
|
// StencilLazyHost
|
|
506
505
|
constructor(j) {
|
|
507
|
-
super(j), this.hasRegisteredEventListeners = !1, j = this,
|
|
506
|
+
super(j), this.hasRegisteredEventListeners = !1, j = this, ge(j, y);
|
|
508
507
|
}
|
|
509
508
|
connectedCallback() {
|
|
510
|
-
E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? c.push(this) : p.jmp(() =>
|
|
509
|
+
E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? c.push(this) : p.jmp(() => Ze(this));
|
|
511
510
|
}
|
|
512
511
|
disconnectedCallback() {
|
|
513
512
|
p.jmp(() => Ne(this));
|
|
@@ -518,26 +517,26 @@ var se, ne = !1, A = (e, t, n, s) => {
|
|
|
518
517
|
};
|
|
519
518
|
y.$lazyBundleId$ = v[0], !a.includes(x) && !l.get(x) && (r.push(x), l.define(
|
|
520
519
|
x,
|
|
521
|
-
|
|
522
|
-
|
|
520
|
+
oe(
|
|
521
|
+
ce,
|
|
523
522
|
y,
|
|
524
523
|
1
|
|
525
524
|
/* isElementConstructor */
|
|
526
525
|
)
|
|
527
526
|
));
|
|
528
527
|
});
|
|
529
|
-
}), r.length > 0 && (d && (o.textContent +=
|
|
528
|
+
}), r.length > 0 && (d && (o.textContent += K), o.textContent += r.sort() + he, o.innerHTML.length)) {
|
|
530
529
|
o.setAttribute("data-styles", "");
|
|
531
|
-
const v = (n = p.$nonce$) != null ? n :
|
|
530
|
+
const v = (n = p.$nonce$) != null ? n : Z(m);
|
|
532
531
|
v != null && o.setAttribute("nonce", v), $.insertBefore(o, i ? i.nextSibling : $.firstChild);
|
|
533
532
|
}
|
|
534
|
-
u = !1, c.length ? c.map((v) => v.connectedCallback()) : p.jmp(() => f = setTimeout(
|
|
533
|
+
u = !1, c.length ? c.map((v) => v.connectedCallback()) : p.jmp(() => f = setTimeout(ie, 30)), s();
|
|
535
534
|
};
|
|
536
535
|
export {
|
|
537
|
-
|
|
536
|
+
Ae as H,
|
|
538
537
|
tt as b,
|
|
539
538
|
et as g,
|
|
540
|
-
|
|
541
|
-
|
|
539
|
+
_e as h,
|
|
540
|
+
ye as p,
|
|
542
541
|
Ve as r
|
|
543
542
|
};
|