@everymatrix/casino-engagement-suite-tournament 0.0.0 → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/casino-engagement-suite-tournament/casino-engagement-suite-tournament.esm.js +1 -1
- package/dist/casino-engagement-suite-tournament/index.esm.js +1 -1
- package/dist/casino-engagement-suite-tournament/p-0f4e94ab.entry.js +1 -0
- package/dist/casino-engagement-suite-tournament/p-1bf11325.js +2 -0
- package/dist/casino-engagement-suite-tournament/p-5df3ac81.js +1 -0
- package/dist/cjs/casino-engagement-suite-progress-bar_3.cjs.entry.js +148 -0
- package/dist/cjs/{casino-engagement-suite-tournament-d16da103.js → casino-engagement-suite-tournament-1b738bb2.js} +5 -7
- package/dist/cjs/casino-engagement-suite-tournament.cjs.js +2 -2
- package/dist/cjs/{index-192fed5a.js → index-16d5d7c3.js} +307 -11
- package/dist/cjs/index.cjs.js +2 -4
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +14 -1
- package/dist/collection/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.js +2 -2
- package/dist/esm/casino-engagement-suite-progress-bar_3.entry.js +142 -0
- package/dist/esm/{casino-engagement-suite-tournament-af4ed1fe.js → casino-engagement-suite-tournament-d8471680.js} +5 -7
- package/dist/esm/casino-engagement-suite-tournament.js +3 -3
- package/dist/esm/{index-c8be0c5b.js → index-3962add4.js} +307 -12
- package/dist/esm/index.js +2 -4
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.d.ts +2 -2
- package/package.json +1 -1
- package/dist/casino-engagement-suite-tournament/p-5e83c304.entry.js +0 -1
- package/dist/casino-engagement-suite-tournament/p-9996e3fd.js +0 -1
- package/dist/casino-engagement-suite-tournament/p-d5ef82db.js +0 -2
- package/dist/cjs/casino-engagement-suite-tournament.cjs.entry.js +0 -12
- package/dist/esm/casino-engagement-suite-tournament.entry.js +0 -4
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),r=new Map,i=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="http://www.w3.org/1999/xlink",a="undefined"!=typeof window?window:{},f=a.document||{head:{}},h={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},d=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),m=!1,y=[],v=[],w=(e,t)=>n=>{e.push(n),m||(m=!0,t&&4&h.l?g(b):h.raf(b))},$=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},b=()=>{$(y),$(v),(m=y.length>0)&&h.raf(b)},g=e=>d().then(e),S=w(v,!0),k={},j=e=>"object"==(e=typeof e)||"function"===e;function E(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>C,map:()=>x,ok:()=>O,unwrap:()=>P,unwrapErr:()=>A});var O=e=>({isOk:!0,isErr:!1,value:e}),C=e=>({isOk:!1,isErr:!0,value:e});function x(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>O(e))):O(n)}if(e.isErr)return C(e.value);throw"should never get here"}var M,P=e=>{if(e.isOk)return e.value;throw e.value},A=e=>{if(e.isErr)return e.value;throw e.value},H=(e,t,...n)=>{let l=null,o=null,s=!1,r=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!j(l))&&(l+=""),s&&r?i[i.length-1].i+=l:i.push(s?R(null,l):l),r=s)};if(c(n),t){t.key&&(o=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,i,F);const u=R(e,null);return u.u=t,i.length>0&&(u.h=i),u.p=o,u},R=(e,t)=>({l:0,m:e,i:t,v:null,h:null,u:null,p:null}),T={},F={forEach:(e,t)=>e.map(N).forEach(t),map:(e,t)=>e.map(N).map(t).map(U)},N=e=>({vattrs:e.u,vchildren:e.h,vkey:e.p,vname:e.$,vtag:e.m,vtext:e.i}),U=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),H(e.vtag,t,...e.vchildren||[])}const t=R(e.vtag,e.vtext);return t.u=e.vattrs,t.h=e.vchildren,t.p=e.vkey,t.$=e.vname,t},D=(e,t,l)=>{const o=(e=>n(e).$hostElement$)(e);return{emit:e=>L(o,t,{bubbles:!!(4&l),composed:!!(2&l),cancelable:!!(1&l),detail:e})}},L=(e,t,n)=>{const l=h.ce(t,n);return e.dispatchEvent(l),l},W=new WeakMap,q=e=>"sc-"+e.S,G=(e,t,n,l,s,r)=>{if(n!==l){let i=o(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=_(n),s=_(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const o=j(l);if((i||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(u,t):e.removeAttribute(t)):(!i||4&r||s)&&!o&&(l=!0===l?"":l,a?e.setAttributeNS(u,t,l):e.setAttribute(t,l))}else if(t="-"===t[2]?t.slice(3):o(a,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(z);t=t.replace(B,""),n&&h.rel(e,t,n,o),l&&h.ael(e,t,l,o)}}},V=/\s/,_=e=>e?e.split(V):[],z="Capture",B=RegExp(z+"$"),I=(e,t,n)=>{const l=11===t.v.nodeType&&t.v.host?t.v.host:t.v,o=e&&e.u||k,s=t.u||k;for(const e of J(Object.keys(o)))e in s||G(l,e,o[e],void 0,n,t.l);for(const e of J(Object.keys(s)))G(l,e,o[e],s[e],n,t.l)};function J(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var K=!1,Q=(e,t,n)=>{const l=t.h[n];let o,s,r=0;if(null!==l.i)o=l.v=f.createTextNode(l.i);else if(o=l.v=f.createElement(l.m),I(null,l,K),o.getRootNode().querySelector("body"),l.h)for(r=0;r<l.h.length;++r)s=Q(e,l,r),s&&o.appendChild(s);return o["s-hn"]=M,o},X=(e,t,n,l,o,s)=>{let r,i=e;for(i.shadowRoot&&i.tagName===M&&(i=i.shadowRoot);o<=s;++o)l[o]&&(r=Q(null,n,o),r&&(l[o].v=r,ne(i,r,t)))},Y=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.v;te(t),e&&e.remove()}}},Z=(e,t,n=!1)=>e.m===t.m&&(!!n||e.p===t.p),ee=(e,t,n=!1)=>{const l=t.v=e.v,o=e.h,s=t.h,r=t.i;null===r?(I(e,t,K),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=t.length-1,h=t[0],d=t[f],p=l.length-1,m=l[0],y=l[p];for(;i<=f&&c<=p;)if(null==h)h=t[++i];else if(null==d)d=t[--f];else if(null==m)m=l[++c];else if(null==y)y=l[--p];else if(Z(h,m,o))ee(h,m,o),h=t[++i],m=l[++c];else if(Z(d,y,o))ee(d,y,o),d=t[--f],y=l[--p];else if(Z(h,y,o))ee(h,y,o),ne(e,h.v,d.v.nextSibling),h=t[++i],y=l[--p];else if(Z(d,m,o))ee(d,m,o),ne(e,d.v,h.v),d=t[--f],m=l[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(r=t[u],r.m!==m.m?s=Q(t&&t[c],n,u):(ee(r,m,o),t[u]=void 0,s=r.v),m=l[++c]):(s=Q(t&&t[c],n,c),m=l[++c]),s&&ne(h.v.parentNode,s,h.v)}i>f?X(e,null==l[p+1]?null:l[p+1].v,n,l,c,p):c>p&&Y(t,i,f)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),X(l,null,t,s,0,s.length-1)):!n&&null!==o&&Y(o,0,o.length-1)):e.i!==r&&(l.data=r)},te=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(te)},ne=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),le=(e,t)=>{t&&!e.k&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.k=t)))},oe=(e,t)=>{if(e.l|=16,!(4&e.l))return le(e,e.j),S((()=>se(e,t)));e.l|=512},se=(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`);return t&&(e.l|=256,e.O&&(e.O.map((([e,t])=>he(n,e,t))),e.O=void 0)),re(void 0,(()=>ce(e,n,t)))},re=(e,t)=>ie(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),ie=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ce=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.C,n=e.$hostElement$,l=t.l,o=((e,t)=>{var n;const l=q(t),o=i.get(l);if(e=11===e.nodeType?e:f,o)if("string"==typeof o){let s,r=W.get(e=e.head||e);if(r||W.set(e,r=new Set),!r.has(l)){{s=f.createElement("style"),s.innerHTML=o;const l=null!=(n=h.M)?n:E(f);null!=l&&s.setAttribute("nonce",l),(!(1&t.l)||1&t.l&&"HEAD"!==e.nodeName)&&e.insertBefore(s,e.querySelector("link"))}4&t.l&&(s.innerHTML+=c),r&&r.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&2&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);ue(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>ae(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},ue=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.C,s=e.P||R(null,null),r=(e=>e&&e.m===T)(t)?t:H(null,null,t);if(M=l.tagName,o.A&&(r.u=r.u||{},o.A.map((([e,t])=>r.u[t]=l[e]))),n&&r.u)for(const e of Object.keys(r.u))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.u[e]=l[e]);r.m=null,r.l|=4,e.P=r,r.v=s.v=l.shadowRoot||l,ee(s,r,n)})(e,t,l)}catch(t){s(t,e.$hostElement$)}return null},ae=e=>{const t=e.$hostElement$,n=e.j;64&e.l||(e.l|=64,de(t),e.H(t),n||fe()),e.k&&(e.k(),e.k=void 0),512&e.l&&g((()=>oe(e,!1))),e.l&=-517},fe=()=>{de(f.documentElement),g((()=>L(a,"appload",{detail:{namespace:"casino-engagement-suite-tournament"}})))},he=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},de=e=>e.classList.add("hydrated"),pe=(e,t,l)=>{var o,s;const r=e.prototype;if(t.R){const i=Object.entries(null!=(o=t.R)?o:{});if(i.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(r,e,{get(){return((e,t)=>n(this).T.get(t))(0,e)},set(l){((e,t,l,o)=>{const s=n(e);if(!s)throw Error(`Couldn't find host element for "${o.S}" 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 r=s.T.get(t),i=s.l,c=s.t;l=((e,t)=>null==e||j(e)?e:1&t?e+"":e)(l,o.R[t][0]),8&i&&void 0!==r||l===r||Number.isNaN(r)&&Number.isNaN(l)||(s.T.set(t,l),c&&2==(18&i)&&oe(s,!1))})(this,e,l,t)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;r.attributeChangedCallback=function(e,o,s){h.jmp((()=>{var i;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),r=null==l?void 0:l.l;if(r&&!(8&r)&&128&r&&s!==o){const n=l.t,r=null==(i=t.F)?void 0:i[e];null==r||r.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.F)?s:{}),...i.filter((([e,t])=>15&t[0])).map((([e,n])=>{var o;const s=n[1]||e;return l.set(s,e),512&n[0]&&(null==(o=t.A)||o.push([e,s])),s}))]))}}return e},me=e=>{he(e,"connectedCallback")},ye=e=>{he(e,"disconnectedCallback")},ve=(e,l={})=>{var o;const u=[],d=l.exclude||[],m=a.customElements,y=f.head,v=y.querySelector("meta[charset]"),w=f.createElement("style"),$=[];let b,g=!0;Object.assign(h,l),h.o=new URL(l.resourcesUrl||"./",f.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((l=>{const o={l:l[0],S:l[1],R:l[2],N:l[3]};4&o.l&&(S=!0),o.R=l[2],o.N=l[3],o.A=[];const c=o.S,a=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,C:n,T:new Map};l.U=new Promise((e=>l.H=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,o),1&o.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.S}! 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,$e(this,e,o.N)),b&&(clearTimeout(b),b=null),g?$.push(this):h.jmp((()=>(e=>{if(!(1&h.l)){const t=n(e),l=t.C,o=()=>{};if(1&t.l)$e(e,t,l.N),(null==t?void 0:t.t)?me(t.t):(null==t?void 0:t.U)&&t.U.then((()=>me(t.t)));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){le(t,t.j=n);break}}l.R&&Object.entries(l.R).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.D){const e=(e=>{const t=e.S.replace(/-/g,"_"),n=e.D;if(!n)return;const l=r.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(r.set(n,e),e[t])),s)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.S}#${t.L}" was not found`);l.isProxied||(pe(l,n,2),l.isProxied=!0);const o=()=>{};t.l|=8;try{new l(t)}catch(e){s(e)}t.l&=-9,o(),me(t.t)}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=q(n);if(!i.has(t)){const l=()=>{};((e,t,n)=>{let l=i.get(e);p&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,i.set(e,l)})(t,e,!!(1&n.l)),l()}}}const o=t.j,c=()=>oe(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(e,t,l)}o()}})(this)))}disconnectedCallback(){h.jmp((()=>(async()=>{if(!(1&h.l)){const e=n(this);e.W&&(e.W.map((e=>e())),e.W=void 0),(null==e?void 0:e.t)?ye(e.t):(null==e?void 0:e.U)&&e.U.then((()=>ye(e.t)))}})()))}componentOnReady(){return n(this).U}};o.D=e[0],d.includes(c)||m.get(c)||(u.push(c),m.define(c,pe(a,o,1)))}))})),u.length>0&&(S&&(w.textContent+=c),w.textContent+=u.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",w.innerHTML.length)){w.setAttribute("data-styles","");const e=null!=(o=h.M)?o:E(f);null!=e&&w.setAttribute("nonce",e),y.insertBefore(w,v?v.nextSibling:y.firstChild)}g=!1,$.length?$.map((e=>e.connectedCallback())):h.jmp((()=>b=setTimeout(fe,30)))},we=(e,t)=>t,$e=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=ge(e,n),r=be(t,o),i=Se(n);h.ael(s,l,r,i),(t.W=t.W||[]).push((()=>h.rel(s,l,r,i)))}))},be=(e,t)=>n=>{var l;try{256&e.l?null==(l=e.t)||l[t](n):(e.O=e.O||[]).push([t,n])}catch(e){s(e)}},ge=(e,t)=>8&t?a:e,Se=e=>({passive:!!(1&e),capture:!!(2&e)}),ke=e=>h.M=e;export{we as F,T as H,ve as b,D as c,H as h,d as p,l as r,ke as s}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const casinoEngagementSuiteTournament = require('./casino-engagement-suite-tournament-d16da103.js');
|
|
6
|
-
require('./index-192fed5a.js');
|
|
7
|
-
require('@everymatrix/general-styling-wrapper');
|
|
8
|
-
require('@everymatrix/casino-engagement-suite-progress-bar');
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
exports.casino_engagement_suite_tournament = casinoEngagementSuiteTournament.CasinoEngagementSuiteTournament;
|