@everymatrix/casino-tournament-desc 1.54.11 → 1.55.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.
Files changed (24) hide show
  1. package/dist/casino-tournament-desc/casino-tournament-desc.esm.js +1 -1
  2. package/dist/casino-tournament-desc/p-d3d46e38.entry.js +1 -0
  3. package/dist/casino-tournament-desc/p-e55bdc7b.js +2 -0
  4. package/dist/cjs/casino-tournament-desc.cjs.entry.js +4 -10
  5. package/dist/cjs/casino-tournament-desc.cjs.js +2 -2
  6. package/dist/cjs/{index-58c4c03b.js → index-481aea9b.js} +70 -173
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/collection/collection-manifest.json +1 -1
  9. package/dist/collection/components/casino-tournament-desc/casino-tournament-desc.js +3 -19
  10. package/dist/esm/casino-tournament-desc.entry.js +4 -10
  11. package/dist/esm/casino-tournament-desc.js +3 -3
  12. package/dist/esm/{index-169a4179.js → index-c561c827.js} +70 -173
  13. package/dist/esm/loader.js +2 -2
  14. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-tournament-desc/.stencil/packages/stencil/casino-tournament-desc/stencil.config.d.ts +2 -0
  15. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-tournament-desc/.stencil/packages/stencil/casino-tournament-desc/stencil.config.dev.d.ts +2 -0
  16. package/package.json +1 -1
  17. package/dist/casino-tournament-desc/p-26564c10.entry.js +0 -1
  18. package/dist/casino-tournament-desc/p-61a8944b.js +0 -2
  19. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/casino-tournament-desc/.stencil/packages/stencil/casino-tournament-desc/stencil.config.d.ts +0 -2
  20. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/casino-tournament-desc/.stencil/packages/stencil/casino-tournament-desc/stencil.config.dev.d.ts +0 -2
  21. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-tournament-desc/.stencil/tools/plugins/index.d.ts +0 -0
  22. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-tournament-desc/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  23. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-tournament-desc/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  24. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-tournament-desc/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -1 +1 @@
1
- import{p as e,b as t}from"./p-61a8944b.js";export{s as setNonce}from"./p-61a8944b.js";import{g as n}from"./p-e1255160.js";(()=>{const t=import.meta.url,n={};return""!==t&&(n.resourcesUrl=new URL(".",t).href),e(n)})().then((async e=>(await n(),t([["p-26564c10",[[1,"casino-tournament-desc",{desc:[1],descTitle:[1,"desc-title"],useEvent:[4,"use-event"],clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],limitStylingAppends:[32],stylingContainer:[32],collapsed:[32],tournamentDescriptions:[32]},[[8,"getTournamentDescriptionCompleted","descCompletedHandler"]]]]]],e))));
1
+ import{p as e,b as t}from"./p-e55bdc7b.js";export{s as setNonce}from"./p-e55bdc7b.js";import{g as n}from"./p-e1255160.js";(()=>{const t=import.meta.url,n={};return""!==t&&(n.resourcesUrl=new URL(".",t).href),e(n)})().then((async e=>(await n(),t([["p-d3d46e38",[[1,"casino-tournament-desc",{desc:[1],descTitle:[1,"desc-title"],useEvent:[4,"use-event"],clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],limitStylingAppends:[32],stylingContainer:[32],collapsed:[32],tournamentDescriptions:[32]},[[8,"getTournamentDescriptionCompleted","descCompletedHandler"]]]]]],e))));
@@ -0,0 +1 @@
1
+ import{r as t,h as s,g as i}from"./p-e55bdc7b.js";const e=class{constructor(s){t(this,s),this.desc=void 0,this.descTitle=void 0,this.useEvent=!0,this.clientStyling="",this.clientStylingUrl="",this.limitStylingAppends=!1,this.stylingContainer=void 0,this.collapsed=[],this.tournamentDescriptions=[]}descCompletedHandler(t){t.detail&&this.useEvent&&(this.tournamentDescriptions=t.detail)}collapseText(t){this.collapsed[t]=!this.collapsed[t],this.collapsed=[...this.collapsed]}componentWillLoad(){0==this.useEvent&&this.desc&&this.descTitle&&this.tournamentDescriptions.push({title:this.descTitle,text:this.desc})}componentDidRender(){!this.limitStylingAppends&&this.host&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.limitStylingAppends=!0)}setClientStyling(){const t=new CSSStyleSheet;t.replace(this.clientStyling),this.host.shadowRoot.adoptedStyleSheets=[...this.host.shadowRoot.adoptedStyleSheets,t]}setClientStylingURL(){let t=new URL(this.clientStylingUrl);fetch(t.href).then((t=>t.text())).then((t=>{const s=new CSSStyleSheet;s.replace(t),this.host.shadowRoot.adoptedStyleSheets=[...this.host.shadowRoot.adoptedStyleSheets,s]}))}render(){return s("div",{key:"58eb843db2f73c1549d703040cb13b4a0ce6ed5c",class:"TournamentDescription"},this.tournamentDescriptions&&this.tournamentDescriptions.map(((t,i)=>s("div",{class:"DetailsCard"},t.title&&s("div",{class:"DetailsTitle"},s("p",{class:"Title"},t.title),s("div",{class:"CollapseButtonDetails",onClick:()=>this.collapseText(i)},s("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"#ffffff","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},s("path",this.collapsed[i]?{d:"M18 15l-6-6-6 6"}:{d:"M6 9l6 6 6-6"})))),t.text&&!this.collapsed[i]&&s("div",{class:"DetailsContent sc",innerHTML:t.text})))))}get host(){return i(this)}};e.style=":host{display:block}.DetailsCard{color:var(--emw--color-white, #FFFFFF);width:100%;margin:0 0 25px 0}.DetailsTitle{padding:0 8px;height:36px;display:flex;align-items:center;justify-content:space-between;background:var(--emw--tournament-color-bg, #153a5c)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.CollapseButtonDetails svg{width:24px;height:24px}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:10px}.sc::-webkit-scrollbar-thumb{background-color:var(--emw--color-white, #FFFFFF);border-radius:10px}";export{e as casino_tournament_desc}
@@ -0,0 +1,2 @@
1
+ var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),o=(e,n)=>t.set(n.t=e,n),l=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),d=!1,m=[],y=[],w=(e,t)=>n=>{e.push(n),d||(d=!0,t&&4&f.o?b($):f.raf($))},v=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},$=()=>{v(m),v(y),(d=m.length>0)&&f.raf($)},b=e=>h().then(e),g=w(y,!0),S={},j=e=>"object"==(e=typeof e)||"function"===e;function O(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>E,map:()=>C,ok:()=>k,unwrap:()=>x,unwrapErr:()=>P});var k=e=>({isOk:!0,isErr:!1,value:e}),E=e=>({isOk:!1,isErr:!0,value:e});function C(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>k(e))):k(n)}if(e.isErr)return E(e.value);throw"should never get here"}var M,x=e=>{if(e.isOk)return e.value;throw e.value},P=e=>{if(e.isErr)return e.value;throw e.value},A=(e,t,...n)=>{let o=null,l=null,s=!1,i=!1;const r=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof e&&!j(o))&&(o+=""),s&&i?r[r.length-1].i+=o:r.push(s?R(null,o):o),i=s)};if(c(n),t){t.key&&(l=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=R(e,null);return u.u=t,r.length>0&&(u.h=r),u.p=l,u},R=(e,t)=>({o:0,m:e,i:t,v:null,h:null,u:null,p:null}),D={},H=e=>n(e).$hostElement$,T=new WeakMap,L=e=>"sc-"+e.$,N=(e,t,n,o,s,i)=>{if(n!==o){let r=l(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,l=W(n),s=W(o);t.remove(...l.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!l.includes(e))))}else if("key"===t);else if(r||"o"!==t[0]||"n"!==t[1]){const l=j(o);if((r||l&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]=o;else{const l=null==o?"":o;"list"===t?r=!1:null!=n&&e[t]==l||("function"==typeof e.__lookupSetter__(t)?e[t]=l:e.setAttribute(t,l))}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&i||s)&&!l&&e.setAttribute(t,o=!0===o?"":o)}else if(t="-"===t[2]?t.slice(3):l(u,c)?c.slice(2):c[2]+t.slice(3),n||o){const l=t.endsWith(F);t=t.replace(q,""),n&&f.rel(e,t,n,l),o&&f.ael(e,t,o,l)}}},U=/\s/,W=e=>e?e.split(U):[],F="Capture",q=RegExp(F+"$"),G=(e,t,n)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,l=e&&e.u||S,s=t.u||S;for(const e of V(Object.keys(l)))e in s||N(o,e,l[e],void 0,n,t.o);for(const e of V(Object.keys(s)))N(o,e,l[e],s[e],n,t.o)};function V(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var _=!1,z=(e,t,n)=>{const o=t.h[n];let l,s,i=0;if(null!==o.i)l=o.v=a.createTextNode(o.i);else{if(_||(_="svg"===o.m),l=o.v=a.createElementNS(_?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.m),_&&"foreignObject"===o.m&&(_=!1),G(null,o,_),l.getRootNode().querySelector("body"),o.h)for(i=0;i<o.h.length;++i)s=z(e,o,i),s&&l.appendChild(s);"svg"===o.m?_=!1:"foreignObject"===l.tagName&&(_=!0)}return l["s-hn"]=M,l},B=(e,t,n,o,l,s)=>{let i,r=e;for(r.shadowRoot&&r.tagName===M&&(r=r.shadowRoot);l<=s;++l)o[l]&&(i=z(null,n,l),i&&(o[l].v=i,Q(r,i,t)))},I=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.v;e&&e.remove()}}},J=(e,t,n=!1)=>e.m===t.m&&(!!n||e.p===t.p),K=(e,t,n=!1)=>{const o=t.v=e.v,l=e.h,s=t.h,i=t.m,r=t.i;null===r?(G(e,t,_="svg"===i||"foreignObject"!==i&&_),null!==l&&null!==s?((e,t,n,o,l=!1)=>{let s,i,r=0,c=0,u=0,a=0,f=t.length-1,h=t[0],p=t[f],d=o.length-1,m=o[0],y=o[d];for(;r<=f&&c<=d;)if(null==h)h=t[++r];else if(null==p)p=t[--f];else if(null==m)m=o[++c];else if(null==y)y=o[--d];else if(J(h,m,l))K(h,m,l),h=t[++r],m=o[++c];else if(J(p,y,l))K(p,y,l),p=t[--f],y=o[--d];else if(J(h,y,l))K(h,y,l),Q(e,h.v,p.v.nextSibling),h=t[++r],y=o[--d];else if(J(p,m,l))K(p,m,l),Q(e,p.v,h.v),p=t[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(i=t[u],i.m!==m.m?s=z(t&&t[c],n,u):(K(i,m,l),t[u]=void 0,s=i.v),m=o[++c]):(s=z(t&&t[c],n,c),m=o[++c]),s&&Q(h.v.parentNode,s,h.v)}r>f?B(e,null==o[d+1]?null:o[d+1].v,n,o,c,d):c>d&&I(t,r,f)})(o,l,t,s,n):null!==s?(null!==e.i&&(o.textContent=""),B(o,null,t,s,0,s.length-1)):!n&&null!==l&&I(l,0,l.length-1),_&&"svg"===i&&(_=!1)):e.i!==r&&(o.data=r)},Q=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),X=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},Y=(e,t)=>{if(e.o|=16,!(4&e.o))return X(e,e.j),g((()=>Z(e,t)));e.o|=512},Z=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.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 o;return t&&(e.o|=256,e.O&&(e.O.map((([e,t])=>ie(n,e,t))),e.O=void 0),o=ie(n,"componentWillLoad")),ee(o,(()=>ne(e,n,t)))},ee=(e,t)=>te(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),te=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ne=async(e,t,n)=>{var o;const l=e.$hostElement$,s=l["s-rc"];n&&(e=>{const t=e.k,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=L(t),l=r.get(o);if(e=11===e.nodeType?e:a,l)if("string"==typeof l){let s,i=T.get(e=e.head||e);if(i||T.set(e,i=new Set),!i.has(o)){{s=a.createElement("style"),s.innerHTML=l;const o=null!=(n=f.C)?n:O(a);if(null!=o&&s.setAttribute("nonce",o),!(1&t.o))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,n)}else if("host"in e)if(p){const t=new CSSStyleSheet;t.replaceSync(l),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(s)}else e.append(s);1&t.o&&"HEAD"!==e.nodeName&&e.insertBefore(s,null)}4&t.o&&(s.innerHTML+=c),i&&i.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&2&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);oe(e,t,l,n),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>le(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},oe=(e,t,n,o)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{const o=e.$hostElement$,l=e.k,s=e.M||R(null,null),i=(e=>e&&e.m===D)(t)?t:A(null,null,t);if(M=o.tagName,n&&i.u)for(const e of Object.keys(i.u))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(i.u[e]=o[e]);i.m=null,i.o|=4,e.M=i,i.v=s.v=o.shadowRoot||o,K(s,i,n)})(e,t,o)}catch(t){s(t,e.$hostElement$)}return null},le=e=>{const t=e.$hostElement$,n=e.j;ie(e.t,"componentDidRender"),64&e.o||(e.o|=64,re(t),e.P(t),n||se()),e.S&&(e.S(),e.S=void 0),512&e.o&&b((()=>Y(e,!1))),e.o&=-517},se=()=>{re(a.documentElement),b((()=>(e=>{const t=f.ce("appload",{detail:{namespace:"casino-tournament-desc"}});return e.dispatchEvent(t),t})(u)))},ie=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},re=e=>e.classList.add("hydrated"),ce=(e,t,o)=>{var l,s;const i=e.prototype;if(t.A){const r=Object.entries(null!=(l=t.A)?l:{});if(r.map((([e,[l]])=>{(31&l||2&o&&32&l)&&Object.defineProperty(i,e,{get(){return((e,t)=>n(this).R.get(t))(0,e)},set(o){((e,t,o,l)=>{const s=n(e);if(!s)throw Error(`Couldn't find host element for "${l.$}" 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 i=s.R.get(t),r=s.o,c=s.t;o=((e,t)=>null==e||j(e)?e:4&t?"false"!==e&&(""===e||!!e):1&t?e+"":e)(o,l.A[t][0]),8&r&&void 0!==i||o===i||Number.isNaN(i)&&Number.isNaN(o)||(s.R.set(t,o),c&&2==(18&r)&&Y(s,!1))})(this,e,o,t)},configurable:!0,enumerable:!0})})),1&o){const o=new Map;i.attributeChangedCallback=function(e,l,s){f.jmp((()=>{var r;const c=o.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=n(this),i=null==o?void 0:o.o;if(i&&!(8&i)&&128&i&&s!==l){const n=o.t,i=null==(r=t.D)?void 0:r[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.D)?s:{}),...r.filter((([e,t])=>15&t[0])).map((([e,t])=>{const n=t[1]||e;return o.set(n,e),n}))]))}}return e},ue=(e,o={})=>{var l;const h=[],d=o.exclude||[],m=u.customElements,y=a.head,w=y.querySelector("meta[charset]"),v=a.createElement("style"),$=[];let b,g=!0;Object.assign(f,o),f.l=new URL(o.resourcesUrl||"./",a.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((o=>{const l={o:o[0],$:o[1],A:o[2],H:o[3]};4&l.o&&(S=!0),l.A=o[2],l.H=o[3];const c=l.$,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const o={o:0,$hostElement$:e,k:n,R:new Map};o.T=new Promise((e=>o.P=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,o)})(e=this,l),1&l.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${l.$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){const e=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,ae(this,e,l.H)),b&&(clearTimeout(b),b=null),g?$.push(this):f.jmp((()=>(e=>{if(!(1&f.o)){const t=n(e),o=t.k,l=()=>{};if(1&t.o)ae(e,t,o.H),(null==t?void 0:t.t)||(null==t?void 0:t.T)&&t.T.then((()=>{}));else{t.o|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){X(t,t.j=n);break}}o.A&&Object.entries(o.A).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.o)){if(t.o|=32,n.L){const e=(e=>{const t=e.$.replace(/-/g,"_"),n=e.L;if(!n)return;const o=i.get(n);return o?o[t]:import(`./${n}.entry.js`).then((e=>(i.set(n,e),e[t])),s)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};o=await e,t()}else o=e;if(!o)throw Error(`Constructor for "${n.$}#${t.N}" was not found`);o.isProxied||(ce(o,n,2),o.isProxied=!0);const l=()=>{};t.o|=8;try{new o(t)}catch(e){s(e)}t.o&=-9,l()}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=L(n);if(!r.has(t)){const o=()=>{};((e,t,n)=>{let o=r.get(e);p&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,r.set(e,o)})(t,e,!!(1&n.o)),o()}}}const l=t.j,c=()=>Y(t,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(e,t,o)}l()}})(this)))}disconnectedCallback(){f.jmp((()=>(async()=>{if(!(1&f.o)){const e=n(this);e.U&&(e.U.map((e=>e())),e.U=void 0),(null==e?void 0:e.t)||(null==e?void 0:e.T)&&e.T.then((()=>{}))}})()))}componentOnReady(){return n(this).T}};l.L=e[0],d.includes(c)||m.get(c)||(h.push(c),m.define(c,ce(u,l,1)))}))})),h.length>0&&(S&&(v.textContent+=c),v.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const e=null!=(l=f.C)?l:O(a);null!=e&&v.setAttribute("nonce",e),y.insertBefore(v,w?w.nextSibling:y.firstChild)}g=!1,$.length?$.map((e=>e.connectedCallback())):f.jmp((()=>b=setTimeout(se,30)))},ae=(e,t,n)=>{n&&n.map((([n,o,l])=>{const s=he(e,n),i=fe(t,l),r=pe(n);f.ael(s,o,i,r),(t.U=t.U||[]).push((()=>f.rel(s,o,i,r)))}))},fe=(e,t)=>n=>{var o;try{256&e.o?null==(o=e.t)||o[t](n):(e.O=e.O||[]).push([t,n])}catch(e){s(e)}},he=(e,t)=>8&t?u:e,pe=e=>({passive:!!(1&e),capture:!!(2&e)}),de=e=>f.C=e;export{ue as b,H as g,A as h,h as p,o as r,de as s}
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-58c4c03b.js');
5
+ const index = require('./index-481aea9b.js');
6
6
 
7
7
  const casinoTournamentDescCss = ":host{display:block}.DetailsCard{color:var(--emw--color-white, #FFFFFF);width:100%;margin:0 0 25px 0}.DetailsTitle{padding:0 8px;height:36px;display:flex;align-items:center;justify-content:space-between;background:var(--emw--tournament-color-bg, #153a5c)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.CollapseButtonDetails svg{width:24px;height:24px}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:10px}.sc::-webkit-scrollbar-thumb{background-color:var(--emw--color-white, #FFFFFF);border-radius:10px}";
8
8
  const CasinoTournamentDescStyle0 = casinoTournamentDescCss;
@@ -10,19 +10,13 @@ const CasinoTournamentDescStyle0 = casinoTournamentDescCss;
10
10
  const CasinoTournamentDesc = class {
11
11
  constructor(hostRef) {
12
12
  index.registerInstance(this, hostRef);
13
- /**
14
- * Use event to get data
15
- */
13
+ this.desc = undefined;
14
+ this.descTitle = undefined;
16
15
  this.useEvent = true;
17
- /**
18
- * Client custom styling via inline styles
19
- */
20
16
  this.clientStyling = '';
21
- /**
22
- * Client custom styling via url
23
- */
24
17
  this.clientStylingUrl = '';
25
18
  this.limitStylingAppends = false;
19
+ this.stylingContainer = undefined;
26
20
  this.collapsed = [];
27
21
  this.tournamentDescriptions = [];
28
22
  }
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-58c4c03b.js');
5
+ const index = require('./index-481aea9b.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  var patchBrowser = () => {
12
12
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('casino-tournament-desc.cjs.js', document.baseURI).href));
@@ -21,27 +21,19 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'casino-tournament-desc';
24
- const BUILD = /* casino-tournament-desc */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: false, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: false };
24
+ const BUILD = /* casino-tournament-desc */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: false, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: false };
25
25
 
26
26
  /*
27
- Stencil Client Platform v4.26.0 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
28
28
  */
29
29
  var __defProp = Object.defineProperty;
30
30
  var __export = (target, all) => {
31
31
  for (var name in all)
32
32
  __defProp(target, name, { get: all[name], enumerable: true });
33
33
  };
34
-
35
- // src/utils/constants.ts
36
- var SVG_NS = "http://www.w3.org/2000/svg";
37
- var HTML_NS = "http://www.w3.org/1999/xhtml";
38
-
39
- // src/client/client-host-ref.ts
40
34
  var hostRefs = /* @__PURE__ */ new WeakMap();
41
35
  var getHostRef = (ref) => hostRefs.get(ref);
42
- var registerInstance = (lazyInstance, hostRef) => {
43
- hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
44
- };
36
+ var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
45
37
  var registerHost = (hostElement, cmpMeta) => {
46
38
  const hostRef = {
47
39
  $flags$: 0,
@@ -54,8 +46,7 @@ var registerHost = (hostElement, cmpMeta) => {
54
46
  hostElement["s-p"] = [];
55
47
  hostElement["s-rc"] = [];
56
48
  }
57
- const ref = hostRefs.set(hostElement, hostRef);
58
- return ref;
49
+ return hostRefs.set(hostElement, hostRef);
59
50
  };
60
51
  var isMemberInElement = (elm, memberName) => memberName in elm;
61
52
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -92,22 +83,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
92
83
  /* webpackExclude: /\.system\.entry\.js$/ */
93
84
  /* webpackMode: "lazy" */
94
85
  `./${bundleId}.entry.js${""}`
95
- )); }).then(
96
- (importedModule) => {
97
- {
98
- cmpModules.set(bundleId, importedModule);
99
- }
100
- return importedModule[exportName];
101
- },
102
- (e) => {
103
- consoleError(e, hostRef.$hostElement$);
86
+ )); }).then((importedModule) => {
87
+ {
88
+ cmpModules.set(bundleId, importedModule);
104
89
  }
105
- );
90
+ return importedModule[exportName];
91
+ }, consoleError);
106
92
  };
107
93
 
108
94
  // src/client/client-style.ts
109
95
  var styles = /* @__PURE__ */ new Map();
110
- var HYDRATED_STYLE_ID = "sty-id";
111
96
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
112
97
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
113
98
  var win = typeof window !== "undefined" ? window : {};
@@ -181,6 +166,14 @@ var flush = () => {
181
166
  };
182
167
  var nextTick = (cb) => promiseResolve().then(cb);
183
168
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
169
+
170
+ // src/utils/constants.ts
171
+ var EMPTY_OBJ = {};
172
+ var SVG_NS = "http://www.w3.org/2000/svg";
173
+ var HTML_NS = "http://www.w3.org/1999/xhtml";
174
+
175
+ // src/utils/helpers.ts
176
+ var isDef = (v) => v != null;
184
177
  var isComplexType = (o) => {
185
178
  o = typeof o;
186
179
  return o === "object" || o === "function";
@@ -366,7 +359,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
366
359
  }
367
360
  if (!appliedStyles.has(scopeId2)) {
368
361
  {
369
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
362
+ styleElm = doc.createElement("style");
370
363
  styleElm.innerHTML = style;
371
364
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
372
365
  if (nonce != null) {
@@ -376,10 +369,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
376
369
  if (styleContainerNode.nodeName === "HEAD") {
377
370
  const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
378
371
  const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
379
- styleContainerNode.insertBefore(
380
- styleElm,
381
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
382
- );
372
+ styleContainerNode.insertBefore(styleElm, referenceNode2);
383
373
  } else if ("host" in styleContainerNode) {
384
374
  if (supportsConstructableStylesheets) {
385
375
  const stylesheet = new CSSStyleSheet();
@@ -397,7 +387,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
397
387
  styleContainerNode.append(styleElm);
398
388
  }
399
389
  }
400
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
390
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
401
391
  styleContainerNode.insertBefore(styleElm, null);
402
392
  }
403
393
  }
@@ -422,25 +412,23 @@ var attachStyles = (hostRef) => {
422
412
  const scopeId2 = addStyle(
423
413
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
424
414
  cmpMeta);
425
- if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
415
+ if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
426
416
  elm["s-sc"] = scopeId2;
427
417
  elm.classList.add(scopeId2 + "-h");
428
418
  }
429
419
  endAttachStyles();
430
420
  };
431
421
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
432
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
422
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
433
423
  if (oldValue !== newValue) {
434
424
  let isProp = isMemberInElement(elm, memberName);
435
425
  let ln = memberName.toLowerCase();
436
426
  if (memberName === "class") {
437
427
  const classList = elm.classList;
438
428
  const oldClasses = parseClassList(oldValue);
439
- let newClasses = parseClassList(newValue);
440
- {
441
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
442
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
443
- }
429
+ const newClasses = parseClassList(newValue);
430
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
431
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
444
432
  } else if (memberName === "key") ; else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
445
433
  if (memberName[2] === "-") {
446
434
  memberName = memberName.slice(3);
@@ -474,7 +462,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
474
462
  elm.setAttribute(memberName, n);
475
463
  }
476
464
  }
477
- } else if (elm[memberName] !== newValue) {
465
+ } else {
478
466
  elm[memberName] = newValue;
479
467
  }
480
468
  } catch (e) {
@@ -496,44 +484,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
496
484
  }
497
485
  };
498
486
  var parseClassListRegex = /\s/;
499
- var parseClassList = (value) => {
500
- if (typeof value === "object" && value && "baseVal" in value) {
501
- value = value.baseVal;
502
- }
503
- if (!value || typeof value !== "string") {
504
- return [];
505
- }
506
- return value.split(parseClassListRegex);
507
- };
487
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
508
488
  var CAPTURE_EVENT_SUFFIX = "Capture";
509
489
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
510
490
 
511
491
  // src/runtime/vdom/update-element.ts
512
- var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
492
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
513
493
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
514
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
515
- const newVnodeAttrs = newVnode.$attrs$ || {};
494
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
495
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
516
496
  {
517
497
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
518
498
  if (!(memberName in newVnodeAttrs)) {
519
- setAccessor(
520
- elm,
521
- memberName,
522
- oldVnodeAttrs[memberName],
523
- void 0,
524
- isSvgMode2,
525
- newVnode.$flags$);
499
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
526
500
  }
527
501
  }
528
502
  }
529
503
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
530
- setAccessor(
531
- elm,
532
- memberName,
533
- oldVnodeAttrs[memberName],
534
- newVnodeAttrs[memberName],
535
- isSvgMode2,
536
- newVnode.$flags$);
504
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
537
505
  }
538
506
  };
539
507
  function sortedAttrNames(attrNames) {
@@ -545,10 +513,13 @@ function sortedAttrNames(attrNames) {
545
513
  attrNames
546
514
  );
547
515
  }
516
+
517
+ // src/runtime/vdom/vdom-render.ts
518
+ var scopeId;
548
519
  var hostTagName;
549
520
  var useNativeShadowDom = false;
550
521
  var isSvgMode = false;
551
- var createElm = (oldParentVNode, newParentVNode, childIndex) => {
522
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
552
523
  const newVNode2 = newParentVNode.$children$[childIndex];
553
524
  let i2 = 0;
554
525
  let elm;
@@ -569,6 +540,11 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
569
540
  {
570
541
  updateElement(null, newVNode2, isSvgMode);
571
542
  }
543
+ const rootNode = elm.getRootNode();
544
+ const isElementWithinShadowRoot = !rootNode.querySelector("body");
545
+ if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
546
+ elm.classList.add(elm["s-si"] = scopeId);
547
+ }
572
548
  if (newVNode2.$children$) {
573
549
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
574
550
  childNode = createElm(oldParentVNode, newVNode2, i2);
@@ -704,9 +680,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
704
680
  if (!isInitialRender) {
705
681
  return leftVNode.$key$ === rightVNode.$key$;
706
682
  }
707
- if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
708
- leftVNode.$key$ = rightVNode.$key$;
709
- }
710
683
  return true;
711
684
  }
712
685
  return false;
@@ -747,9 +720,8 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
747
720
  }
748
721
  };
749
722
  var insertBefore = (parent, newNode, reference) => {
750
- {
751
- return parent == null ? void 0 : parent.insertBefore(newNode, reference);
752
- }
723
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
724
+ return inserted;
753
725
  };
754
726
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
755
727
  const hostElm = hostRef.$hostElement$;
@@ -768,21 +740,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
768
740
  rootVnode.$flags$ |= 4 /* isHost */;
769
741
  hostRef.$vnode$ = rootVnode;
770
742
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
771
- useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
743
+ {
744
+ scopeId = hostElm["s-sc"];
745
+ }
746
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
772
747
  patch(oldVNode, rootVnode, isInitialLoad);
773
748
  };
774
749
 
775
750
  // src/runtime/update-component.ts
776
751
  var attachToAncestor = (hostRef, ancestorComponent) => {
777
752
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
778
- const index = ancestorComponent["s-p"].push(
779
- new Promise(
780
- (r) => hostRef.$onRenderResolve$ = () => {
781
- ancestorComponent["s-p"].splice(index - 1, 1);
782
- r();
783
- }
784
- )
785
- );
753
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
786
754
  }
787
755
  };
788
756
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -811,12 +779,12 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
811
779
  {
812
780
  hostRef.$flags$ |= 256 /* isListenReady */;
813
781
  if (hostRef.$queuedListeners$) {
814
- hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
782
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
815
783
  hostRef.$queuedListeners$ = void 0;
816
784
  }
817
785
  }
818
786
  {
819
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
787
+ maybePromise = safeCall(instance, "componentWillLoad");
820
788
  }
821
789
  }
822
790
  endSchedule();
@@ -885,7 +853,7 @@ var postUpdateComponent = (hostRef) => {
885
853
  const instance = hostRef.$lazyInstance$ ;
886
854
  const ancestorComponent = hostRef.$ancestorComponent$;
887
855
  {
888
- safeCall(instance, "componentDidRender", void 0, elm);
856
+ safeCall(instance, "componentDidRender");
889
857
  }
890
858
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
891
859
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
@@ -914,14 +882,17 @@ var postUpdateComponent = (hostRef) => {
914
882
  }
915
883
  };
916
884
  var appDidLoad = (who) => {
885
+ {
886
+ addHydratedFlag(doc.documentElement);
887
+ }
917
888
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
918
889
  };
919
- var safeCall = (instance, method, arg, elm) => {
890
+ var safeCall = (instance, method, arg) => {
920
891
  if (instance && instance[method]) {
921
892
  try {
922
893
  return instance[method](arg);
923
894
  } catch (e) {
924
- consoleError(e, elm);
895
+ consoleError(e);
925
896
  }
926
897
  }
927
898
  return void 0;
@@ -964,68 +935,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
964
935
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
965
936
  members.map(([memberName, [memberFlags]]) => {
966
937
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
967
- const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
968
- if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
969
- if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
970
- if (flags & 1 /* isElementConstructor */ || !origGetter) {
971
- Object.defineProperty(prototype, memberName, {
972
- get() {
973
- {
974
- if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
975
- return getValue(this, memberName);
976
- }
977
- const ref = getHostRef(this);
978
- const instance = ref ? ref.$lazyInstance$ : prototype;
979
- if (!instance) return;
980
- return instance[memberName];
981
- }
982
- },
983
- configurable: true,
984
- enumerable: true
985
- });
986
- }
987
938
  Object.defineProperty(prototype, memberName, {
939
+ get() {
940
+ return getValue(this, memberName);
941
+ },
988
942
  set(newValue) {
989
- const ref = getHostRef(this);
990
- if (origSetter) {
991
- const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
992
- if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
993
- newValue = ref.$instanceValues$.get(memberName);
994
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
995
- ref.$instanceValues$.set(memberName, currentValue);
996
- }
997
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
998
- newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
999
- setValue(this, memberName, newValue, cmpMeta);
1000
- return;
1001
- }
1002
- {
1003
- if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
1004
- setValue(this, memberName, newValue, cmpMeta);
1005
- if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
1006
- ref.$onReadyPromise$.then(() => {
1007
- if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
1008
- ref.$lazyInstance$[memberName] = newValue;
1009
- }
1010
- });
1011
- }
1012
- return;
1013
- }
1014
- const setterSetVal = () => {
1015
- const currentValue = ref.$lazyInstance$[memberName];
1016
- if (!ref.$instanceValues$.get(memberName) && currentValue) {
1017
- ref.$instanceValues$.set(memberName, currentValue);
1018
- }
1019
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
1020
- setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1021
- };
1022
- if (ref.$lazyInstance$) {
1023
- setterSetVal();
1024
- } else {
1025
- ref.$onReadyPromise$.then(() => setterSetVal());
1026
- }
1027
- }
1028
- }
943
+ setValue(this, memberName, newValue, cmpMeta);
944
+ },
945
+ configurable: true,
946
+ enumerable: true
1029
947
  });
1030
948
  }
1031
949
  });
@@ -1035,7 +953,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1035
953
  plt.jmp(() => {
1036
954
  var _a2;
1037
955
  const propName = attrNameToPropName.get(attrName);
1038
- if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
956
+ if (this.hasOwnProperty(propName)) {
1039
957
  newValue = this[propName];
1040
958
  delete this[propName];
1041
959
  } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
@@ -1055,11 +973,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1055
973
  }
1056
974
  return;
1057
975
  }
1058
- const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1059
- newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1060
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1061
- this[propName] = newValue;
1062
- }
976
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1063
977
  });
1064
978
  };
1065
979
  Cstr.observedAttributes = Array.from(
@@ -1084,7 +998,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1084
998
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1085
999
  const bundleId = cmpMeta.$lazyBundleId$;
1086
1000
  if (bundleId) {
1087
- const CstrImport = loadModule(cmpMeta, hostRef);
1001
+ const CstrImport = loadModule(cmpMeta);
1088
1002
  if (CstrImport && "then" in CstrImport) {
1089
1003
  const endLoad = uniqueTime();
1090
1004
  Cstr = await CstrImport;
@@ -1106,7 +1020,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1106
1020
  try {
1107
1021
  new Cstr(hostRef);
1108
1022
  } catch (e) {
1109
- consoleError(e, elm);
1023
+ consoleError(e);
1110
1024
  }
1111
1025
  {
1112
1026
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1138,7 +1052,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1138
1052
  schedule();
1139
1053
  }
1140
1054
  };
1141
- var fireConnectedCallback = (instance, elm) => {
1055
+ var fireConnectedCallback = (instance) => {
1142
1056
  };
1143
1057
 
1144
1058
  // src/runtime/connected-callback.ts
@@ -1179,7 +1093,7 @@ var connectedCallback = (elm) => {
1179
1093
  endConnected();
1180
1094
  }
1181
1095
  };
1182
- var disconnectInstance = (instance, elm) => {
1096
+ var disconnectInstance = (instance) => {
1183
1097
  };
1184
1098
  var disconnectedCallback = async (elm) => {
1185
1099
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
@@ -1194,12 +1108,6 @@ var disconnectedCallback = async (elm) => {
1194
1108
  hostRef.$onReadyPromise$.then(() => disconnectInstance());
1195
1109
  }
1196
1110
  }
1197
- if (rootAppliedStyles.has(elm)) {
1198
- rootAppliedStyles.delete(elm);
1199
- }
1200
- if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1201
- rootAppliedStyles.delete(elm.shadowRoot);
1202
- }
1203
1111
  };
1204
1112
 
1205
1113
  // src/runtime/bootstrap-lazy.ts
@@ -1277,17 +1185,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1277
1185
  }
1278
1186
  disconnectedCallback() {
1279
1187
  plt.jmp(() => disconnectedCallback(this));
1280
- plt.raf(() => {
1281
- var _a3;
1282
- const hostRef = getHostRef(this);
1283
- const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1284
- if (i2 > -1) {
1285
- deferredConnectedCallbacks.splice(i2, 1);
1286
- }
1287
- if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1288
- delete hostRef.$vnode$.$elm$;
1289
- }
1290
- });
1291
1188
  }
1292
1189
  componentOnReady() {
1293
1190
  return getHostRef(this).$onReadyPromise$;
@@ -1351,7 +1248,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
1351
1248
  }
1352
1249
  }
1353
1250
  } catch (e) {
1354
- consoleError(e, hostRef.$hostElement$);
1251
+ consoleError(e);
1355
1252
  }
1356
1253
  };
1357
1254
  var getHostListenerTarget = (elm, flags) => {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-58c4c03b.js');
5
+ const index = require('./index-481aea9b.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -4,7 +4,7 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.26.0",
7
+ "version": "4.22.3",
8
8
  "typescriptVersion": "5.5.4"
9
9
  },
10
10
  "collections": [],