@everymatrix/casino-engagement-suite-container 1.52.6 → 1.53.10
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-container/casino-engagement-suite-container.esm.js +1 -1
- package/dist/casino-engagement-suite-container/p-9435955b.js +2 -0
- package/dist/casino-engagement-suite-container/p-ac6399e0.entry.js +1 -0
- package/dist/cjs/{casino-engagement-suite-bar_13.cjs.entry.js → casino-engagement-suite-bar_16.cjs.entry.js} +1905 -348
- package/dist/cjs/casino-engagement-suite-container.cjs.js +3 -3
- package/dist/cjs/{index-6bbfafcf.js → index-586101f4.js} +253 -148
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +19 -1
- package/dist/collection/components/casino-engagement-suite-container/casino-engagement-suite-container.js +153 -38
- package/dist/collection/utils/constants.js +2 -1
- package/dist/esm/{casino-engagement-suite-bar_13.entry.js → casino-engagement-suite-bar_16.entry.js} +1987 -433
- package/dist/esm/casino-engagement-suite-container.js +4 -4
- package/dist/esm/{index-73066d2f.js → index-a70e26c0.js} +253 -148
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/casino-engagement-suite-container/casino-engagement-suite-container.d.ts +18 -0
- package/dist/types/components.d.ts +16 -0
- package/dist/types/models/casino-engagement-suite-config.d.ts +81 -0
- package/dist/types/utils/constants.d.ts +1 -0
- package/package.json +4 -2
- package/dist/casino-engagement-suite-container/p-958c3942.entry.js +0 -1
- package/dist/casino-engagement-suite-container/p-c3f6426d.js +0 -2
- package/dist/casino-engagement-suite-container/p-fabbf1e1.js +0 -1
- package/dist/cjs/GeneralAnimationLoading-Dr8e6mQV-536acfbc.js +0 -512
- package/dist/esm/GeneralAnimationLoading-Dr8e6mQV-233a2974.js +0 -510
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as
|
|
1
|
+
import{p as e,b as l}from"./p-9435955b.js";export{s as setNonce}from"./p-9435955b.js";import{g as n}from"./p-e1255160.js";(()=>{const l=import.meta.url,n={};return""!==l&&(n.resourcesUrl=new URL(".",l).href),e(n)})().then((async e=>(await n(),l([["p-ac6399e0",[[1,"casino-engagement-suite-container",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],endpoint:[1],session:[1],orientation:[32],device:[32],showChallengesList:[32],showFreeSpinsList:[32],showLuckywheelList:[32],showLuckywheelDetails:[32],showJackpotsList:[32],showLuckyWheelsList:[32],showLuckyWheelsDetails:[32],showChallengeDetails:[32],showFreeSpinsDetails:[32],showJackpotDetails:[32],showLeaderboardWidget:[32],challengePercent:[32],remainingFreeSpins:[32],highlightChallenge:[32],limitStylingAppends:[32],activeWidget:[32],challenges:[32],inProgressChallenges:[32],jackpots:[32],freeSpins:[32],leaderboards:[32],gameSlug:[32],pausedChallengeIds:[32],isChallengeLabel:[32],isForfeitedSpinsLabel:[32],isForfeitedChallengeLabel:[32],isJoiningToChallenge:[32],selectedChallenge:[32],selectedJackpot:[32],selectedSpin:[32],selectedSpinId:[32],selectedChallengeId:[32],selectedJackpotId:[32],selectedLuckyWheelId:[32],selectedLuckyWheelIndex:[32],barHeight:[32],init:[64]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-challenges-details",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],challenge:[1040],inProgressChallenges:[1040],language:[1],gameSlug:[1,"game-slug"],device:[1],isJoiningToChallenge:[1028,"is-joining-to-challenge"],pausedChallengeIds:[1040],limitStylingAppends:[32],timer:[32],showDetails:[32],isExpiredChallenge:[32]},null,{challenge:["challengePropHandler"]}],[1,"casino-engagement-suite-challenges-list",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],device:[1],challenges:[1040],isJoiningToChallenge:[1028,"is-joining-to-challenge"],inProgressChallenges:[1040],pausedChallengeIds:[1040],tooltip:[32],timers:[32],limitStylingAppends:[32],activeTab:[32],historyLoading:[32],challengesHistory:[32],openedHistoryIds:[32]},[[8,"message","handleEvent"]],{challenges:["challengesPropHandler"]}],[1,"casino-engagement-suite-luckywheel-details",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],endpoint:[1],session:[1],luckywheels:[16],luckywheel:[16],giftimagesrc:[1],currentinfo:[1],contentdirection:[1],device:[1],translationUrl:[1,"translation-url"],selectedIndex:[2,"selected-index"],timers:[32],isLoading:[32]},[[8,"message","handleEvent"]],{luckywheels:["luckywheelsPropHandler"]}],[1,"casino-engagement-suite-modal-container",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],isJoiningToChallenge:[1028,"is-joining-to-challenge"],device:[1],limitStylingAppends:[32],openModals:[32],rewardMessage:[32],hasError:[32],confirmationData:[32],winAmount:[32]},[[16,"openModal","openModalHandler"],[16,"closeModal","closeModalHandler"]]],[1,"casino-engagement-suite-tournament",{language:[1],show:[4],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],device:[1],leaderboardsInit:[16],tab:[32],locale:[32],tournamentItem:[32],tournamentList:[32],leaderboards:[32],isActionJoinPending:[32],isDialogOpen:[32],isShowInfo:[32],page:[32],tournamentInDialog:[32],dialog:[32],time:[32],newIdList:[32]},[[8,"message","handleEvent"]],{newIdList:["checkNewIdList"],tournamentList:["syncBarState"],show:["showPropWatcher"]}],[1,"casino-engagement-suite-bar",{activeWidget:[1537,"active-widget"],challengePercent:[1,"challenge-percent"],highlightChallenge:[4,"highlight-challenge"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],orientation:[1],device:[1],isChallengeLabel:[4,"is-challenge-label"],isForfeitedChallengeLabel:[4,"is-forfeited-challenge-label"],isSpinForfeitedLabel:[1028,"is-spin-forfeited-label"],language:[1],jackpots:[16],remainingFreeSpins:[1,"remaining-free-spins"],remainingLuckywheels:[1,"remaining-luckywheels"],leaderboards:[16],limitStylingAppends:[32],activeJackpot:[32],leaderboardState:[32]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-free-spins-details",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],spin:[1040],inProgressChallenges:[16],language:[1],gameSlug:[1,"game-slug"],device:[1],orientation:[1],isJoiningToChallenge:[1028,"is-joining-to-challenge"],limitStylingAppends:[32],timer:[32],showDetails:[32],isExpiredChallenge:[32],activeTab:[32],visibleGames:[32],tooltip:[32]}],[1,"casino-engagement-suite-free-spins-list",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],device:[1],freeSpins:[1040],tooltip:[32],timers:[32],limitStylingAppends:[32],newSpinIds:[32]},null,{freeSpins:["spinsPropHandler"]}],[1,"casino-engagement-suite-jackpot-details",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],jackpot:[16],jackpotChangeStatusRequest:[1040],language:[1],gameSlug:[1,"game-slug"],device:[1],limitStylingAppends:[32],timer:[32],disabledStatus:[32],activeTab:[32],visibleGames:[32],enabled:[32],balance:[32],winBalance:[32],showDetails:[32],jackpotEndTime:[32],tooltip:[32],partialWins:[32]},[[8,"message","handleEvent"],[9,"resize","handleResize"]],{jackpot:["handleJackpotUpdate"]}],[1,"casino-engagement-suite-jackpots-list",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],device:[1],jackpots:[1040],jackpotChangeStatusRequest:[1040],tooltip:[32],timers:[32],limitStylingAppends:[32]},null,{jackpots:["jackpotsPropHandler"]}],[1,"casino-engagement-suite-luckywheel-list",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],language:[1],device:[1],luckywheels:[1040],endpoint:[1],session:[1],translationUrl:[1,"translation-url"],tooltip:[32],timers:[32],limitStylingAppends:[32],activeTab:[32],historyLoading:[32],luckywheelHistory:[32],openedHistoryIds:[32],historyLoaded:[32],isLoading:[32]},[[8,"message","handleEvent"]],{luckywheels:["luckywheelsPropHandler"]}],[1,"casino-engagement-suite-modal",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],isOpen:[4,"is-open"],isLoading:[1028,"is-loading"],header:[1],contentIcon:[1,"content-icon"],modalType:[1,"modal-type"],device:[1],showAnimation:[4,"show-animation"],limitStylingAppends:[32]}],[1,"general-slider",{slideNumber:[2,"slide-number"],slideShow:[2,"slide-show"],showArrow:[4,"show-arrow"],showButton:[4,"show-button"],autoSlide:[4,"auto-slide"],loopTime:[2,"loop-time"],autoItemHeight:[4,"auto-item-height"],clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],currentPage:[2,"current-page"],currentSlideNumber:[32],slidesCount:[32],limitStylingAppends:[32]}],[4,"general-styling-wrapper",{clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],translationUrl:[1,"translation-url"],targetTranslations:[16]}],[1,"casino-engagement-suite-progress-bar",{value:[2],disabled:[4],hidePercent:[4,"hide-percent"],indeterminate:[4],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],limitStylingAppends:[32]}]]]],e))));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var t=Object.defineProperty,e=new WeakMap,n=t=>e.get(t),o=(t,n)=>{e.set(n.t=t,n)},l=(t,e)=>e in t,s=(t,e)=>(0,console.error)(t,e),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},f=u.document||{head:{}},a={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},d=t=>Promise.resolve(t),h=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),p=!1,v=[],m=[],y=(t,e)=>n=>{t.push(n),p||(p=!0,e&&4&a.o?w(b):a.raf(b))},$=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){s(t)}t.length=0},b=()=>{$(v),$(m),(p=v.length>0)&&a.raf(b)},w=t=>d().then(t),S=y(m,!0),g=t=>"object"==(t=typeof t)||"function"===t;function j(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>k,map:()=>C,ok:()=>O,unwrap:()=>E,unwrapErr:()=>M});var O=t=>({isOk:!0,isErr:!1,value:t}),k=t=>({isOk:!1,isErr:!0,value:t});function C(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>O(t))):O(n)}if(t.isErr)return k(t.value);throw"should never get here"}var E=t=>{if(t.isOk)return t.value;throw t.value},M=t=>{if(t.isErr)return t.value;throw t.value},T=t=>{const e=t.__childNodes||t.childNodes;t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&P(e,t.tagName).forEach((t=>{var e;1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!(null==(e=L(t,t["s-sn"],!1))?void 0:e.length))}));for(const t of e)1===t.nodeType&&(t.__childNodes||t.childNodes).length&&T(t)};function P(t,e,n){let o,l=0,s=[];for(;l<t.length;l++){if(o=t[l],o["s-sr"]&&o["s-hn"]===e&&(void 0===n||o["s-sn"]===n)&&(s.push(o),void 0!==n))return s;s=[...s,...P(o.childNodes,e,n)]}return s}var R,x,L=(t,e,n=!0)=>{const o=[];for((n&&t["s-sr"]||!t["s-sr"])&&o.push(t);(t=t.nextSibling)&&t["s-sn"]===e;)o.push(t);return o},A=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,D=(t,e,...n)=>{let o=null,l=null,s=null,i=!1,r=!1;const c=[],u=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!g(o))&&(o+=""),i&&r?c[c.length-1].i+=o:c.push(i?F(null,o):o),r=i)};if(u(n),e){e.key&&(l=e.key),e.name&&(s=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const f=F(t,null);return f.u=e,c.length>0&&(f.h=c),f.p=l,f.v=s,f},F=(t,e)=>({o:0,m:t,i:e,$:null,h:null,u:null,p:null,v:null}),H={},N=(t,e)=>null==t||g(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t,U=t=>n(t).$hostElement$,B=(t,e,n)=>{const o=U(t);return{emit:t=>W(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},W=(t,e,n)=>{const o=a.ce(e,n);return t.dispatchEvent(o),o},V=new WeakMap,q=t=>"sc-"+t.S,G=(t,e,n,o,s,i)=>{if(n!==o){let r=l(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=z(n);let s=z(o);e.remove(...l.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!l.includes(t))))}else if("style"===e){for(const e in n)o&&null!=o[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if("key"===e);else if("ref"===e)o&&o(t);else if(r||"o"!==e[0]||"n"!==e[1]){const l=g(o);if((r||l&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const l=null==o?"":o;"list"===e?r=!1:null!=n&&t[e]==l||("function"==typeof t.__lookupSetter__(e)?t[e]=l:t.setAttribute(e,l))}}catch(t){}null==o||!1===o?!1===o&&""!==t.getAttribute(e)||t.removeAttribute(e):(!r||4&i||s)&&!l&&t.setAttribute(e,o=!0===o?"":o)}else if(e="-"===e[2]?e.slice(3):l(u,c)?c.slice(2):c[2]+e.slice(3),n||o){const l=e.endsWith(I);e=e.replace(J,""),n&&a.rel(t,e,n,l),o&&a.ael(t,e,o,l)}}},_=/\s/,z=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(_):[]),I="Capture",J=RegExp(I+"$"),K=(t,e,n)=>{const o=11===e.$.nodeType&&e.$.host?e.$.host:e.$,l=t&&t.u||{},s=e.u||{};for(const t of Q(Object.keys(l)))t in s||G(o,t,l[t],void 0,n,e.o);for(const t of Q(Object.keys(s)))G(o,t,l[t],s[t],n,e.o)};function Q(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var X=!1,Y=!1,Z=!1,tt=!1,et=(t,e,n)=>{var o;const l=e.h[n];let s,i,r,c=0;if(X||(Z=!0,"slot"===l.m&&(l.o|=l.h?2:1)),null!==l.i)s=l.$=f.createTextNode(l.i);else if(1&l.o)s=l.$=f.createTextNode("");else if(s=l.$=f.createElement(!X&&2&l.o?"slot-fb":l.m),K(null,l,tt),l.h)for(c=0;c<l.h.length;++c)i=et(t,l,c),i&&s.appendChild(i);return s["s-hn"]=x,3&l.o&&(s["s-sr"]=!0,s["s-cr"]=R,s["s-sn"]=l.v||"",s["s-rf"]=null==(o=l.u)?void 0:o.ref,r=t&&t.h&&t.h[n],r&&r.m===l.m&&t.$&&nt(t.$,!1)),s},nt=(t,e)=>{a.o|=1;const n=Array.from(t.__childNodes||t.childNodes);for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==x&&o["s-ol"]&&(at(it(o).parentNode,o,it(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Z=!0),e&&nt(o,e)}a.o&=-2},ot=(t,e,n,o,l,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===x&&(r=r.shadowRoot);l<=s;++l)o[l]&&(i=et(null,n,l),i&&(o[l].$=i,at(r,i,it(e))))},lt=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.$;ft(e),t&&(Y=!0,t["s-ol"]?t["s-ol"].remove():nt(t,!0),t.remove())}}},st=(t,e,n=!1)=>t.m===e.m&&("slot"===t.m?t.v===e.v:n?(n&&!t.p&&e.p&&(t.p=e.p),!0):t.p===e.p),it=t=>t&&t["s-ol"]||t,rt=(t,e,n=!1)=>{const o=e.$=t.$,l=t.h,s=e.h,i=e.i;let r;null===i?(("slot"!==e.m||X)&&K(t,e,tt),null!==l&&null!==s?((t,e,n,o,l=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=e.length-1,d=e[0],h=e[a],p=o.length-1,v=o[0],m=o[p];for(;r<=a&&c<=p;)if(null==d)d=e[++r];else if(null==h)h=e[--a];else if(null==v)v=o[++c];else if(null==m)m=o[--p];else if(st(d,v,l))rt(d,v,l),d=e[++r],v=o[++c];else if(st(h,m,l))rt(h,m,l),h=e[--a],m=o[--p];else if(st(d,m,l))"slot"!==d.m&&"slot"!==m.m||nt(d.$.parentNode,!1),rt(d,m,l),at(t,d.$,h.$.nextSibling),d=e[++r],m=o[--p];else if(st(h,v,l))"slot"!==d.m&&"slot"!==m.m||nt(h.$.parentNode,!1),rt(h,v,l),at(t,h.$,d.$),h=e[--a],v=o[++c];else{for(u=-1,f=r;f<=a;++f)if(e[f]&&null!==e[f].p&&e[f].p===v.p){u=f;break}u>=0?(i=e[u],i.m!==v.m?s=et(e&&e[c],n,u):(rt(i,v,l),e[u]=void 0,s=i.$),v=o[++c]):(s=et(e&&e[c],n,c),v=o[++c]),s&&at(it(d.$).parentNode,s,it(d.$))}r>a?ot(t,null==o[p+1]?null:o[p+1].$,n,o,c,p):c>p&<(e,r,a)})(o,l,e,s,n):null!==s?(null!==t.i&&(o.textContent=""),ot(o,null,e,s,0,s.length-1)):!n&&null!==l&<(l,0,l.length-1)):(r=o["s-cr"])?r.parentNode.textContent=i:t.i!==i&&(o.data=i)},ct=[],ut=t=>{let e,n,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const l=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==t["s-hn"])if(A(e,l)){let n=ct.find((t=>t.j===e));Y=!0,e["s-sn"]=e["s-sn"]||l,n?(n.j["s-sh"]=t["s-hn"],n.O=t):(e["s-sh"]=t["s-hn"],ct.push({O:t,j:e})),e["s-sr"]&&ct.map((t=>{A(t.j,e["s-sn"])&&(n=ct.find((t=>t.j===e)),n&&!t.O&&(t.O=n.O))}))}else ct.some((t=>t.j===e))||ct.push({j:e})}1===t.nodeType&&ut(t)}},ft=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map(ft)},at=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),dt=(t,e)=>{if(e&&!t.k&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.k=()=>{e["s-p"].splice(n-1,1),o()})))}},ht=(t,e)=>{if(t.o|=16,!(4&t.o))return dt(t,t.C),S((()=>pt(t,e)));t.o|=512},pt=(t,e)=>{const n=t.$hostElement$,o=t.t;if(!o)throw Error(`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`);let l;return e&&(t.o|=256,t.M&&(t.M.map((([t,e])=>St(o,t,e,n))),t.M=void 0),l=St(o,"componentWillLoad",void 0,n)),vt(l,(()=>yt(t,o,e)))},vt=(t,e)=>mt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),mt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,yt=async(t,e,n)=>{var o;const l=t.$hostElement$,s=l["s-rc"];n&&(t=>{const e=t.T,n=t.$hostElement$,o=e.o,l=((t,e)=>{var n;const o=q(e),l=r.get(o);if(t=11===t.nodeType?t:f,l)if("string"==typeof l){let s,i=V.get(t=t.head||t);if(i||V.set(t,i=new Set),!i.has(o)){{s=document.querySelector(`[sty-id="${o}"]`)||f.createElement("style"),s.innerHTML=l;const i=null!=(n=a.P)?n:j(f);if(null!=i&&s.setAttribute("nonce",i),!(1&e.o))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(h){const e=new CSSStyleSheet;e.replaceSync(l),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(s)}else t.append(s);1&e.o&&"HEAD"!==t.nodeName&&t.insertBefore(s,null)}4&e.o&&(s.innerHTML+=c),i&&i.add(o)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&2&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(t);$t(t,e,l,n),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>bt(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},$t=(t,e,n,o)=>{try{e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{var o,l,s,i;const r=t.$hostElement$,c=t.T,u=t.R||F(null,null),d=(t=>t&&t.m===H)(e)?e:D(null,null,e);if(x=r.tagName,c.L&&(d.u=d.u||{},c.L.map((([t,e])=>d.u[e]=r[t]))),n&&d.u)for(const t of Object.keys(d.u))r.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(d.u[t]=r[t]);if(d.m=null,d.o|=4,t.R=d,d.$=u.$=r.shadowRoot||r,X=!!(1&c.o),R=r["s-cr"],Y=!1,rt(u,d,n),a.o|=1,Z){ut(d.$);for(const t of ct){const e=t.j;if(!e["s-ol"]){const t=f.createTextNode("");t["s-nr"]=e,at(e.parentNode,e["s-ol"]=t,e)}}for(const t of ct){const e=t.j,r=t.O;if(r){const t=r.parentNode;let n=r.nextSibling;{let s=null==(o=e["s-ol"])?void 0:o.previousSibling;for(;s;){let o=null!=(l=s["s-nr"])?l:null;if(o&&o["s-sn"]===e["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===e||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}s=s.previousSibling}}(!n&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==n)&&e!==n&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),at(t,e,n),1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(s=e["s-ih"])&&s)),e&&"function"==typeof r["s-rf"]&&r["s-rf"](e)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(i=e.hidden)&&i),e.hidden=!0)}}Y&&T(d.$),a.o&=-2,ct.length=0,R=void 0})(t,e,o)}catch(e){s(e,t.$hostElement$)}return null},bt=t=>{const e=t.$hostElement$,n=t.t,o=t.C;St(n,"componentDidRender",void 0,e),64&t.o?St(n,"componentDidUpdate",void 0,e):(t.o|=64,gt(e),St(n,"componentDidLoad",void 0,e),t.A(e),o||wt()),t.D(e),t.k&&(t.k(),t.k=void 0),512&t.o&&w((()=>ht(t,!1))),t.o&=-517},wt=()=>{gt(f.documentElement),w((()=>W(u,"appload",{detail:{namespace:"casino-engagement-suite-container"}})))},St=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){s(t,o)}},gt=t=>t.classList.add("hydrated"),jt=(t,e,o,l)=>{const i=n(t);if(!i)throw Error(`Couldn't find host element for "${l.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=i.$hostElement$,c=i.F.get(e),u=i.o,f=i.t;if(o=N(o,l.H[e][0]),(!(8&u)||void 0===c)&&o!==c&&(!Number.isNaN(c)||!Number.isNaN(o))&&(i.F.set(e,o),f)){if(l.N&&128&u){const t=l.N[e];t&&t.map((t=>{try{f[t](o,c,e)}catch(t){s(t,r)}}))}2==(18&u)&&ht(i,!1)}},Ot=(t,e,o)=>{var l,s;const i=t.prototype;if(e.H||e.N||t.watchers){t.watchers&&!e.N&&(e.N=t.watchers);const r=Object.entries(null!=(l=e.H)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&o&&32&l){const{get:s,set:r}=Object.getOwnPropertyDescriptor(i,t)||{};s&&(e.H[t][0]|=2048),r&&(e.H[t][0]|=4096),(1&o||!s)&&Object.defineProperty(i,t,{get(){{if(!(2048&e.H[t][0]))return((t,e)=>n(this).F.get(e))(0,t);const o=n(this),l=o?o.t:i;if(!l)return;return l[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(s){const i=n(this);if(r){const n=32&l?this[t]:i.$hostElement$[t];return void 0===n&&i.F.get(t)?s=i.F.get(t):!i.F.get(t)&&n&&i.F.set(t,n),r.call(this,N(s,l)),void jt(this,t,s=32&l?this[t]:i.$hostElement$[t],e)}{if(!(1&o&&4096&e.H[t][0]))return jt(this,t,s,e),void(1&o&&!i.t&&i.U.then((()=>{4096&e.H[t][0]&&i.t[t]!==i.F.get(t)&&(i.t[t]=s)})));const n=()=>{const n=i.t[t];!i.F.get(t)&&n&&i.F.set(t,n),i.t[t]=N(s,l),jt(this,t,i.t[t],e)};i.t?n():i.U.then((()=>n()))}}})}else 1&o&&64&l&&Object.defineProperty(i,t,{value(...e){var o;const l=n(this);return null==(o=null==l?void 0:l.B)?void 0:o.then((()=>{var n;return null==(n=l.t)?void 0:n[t](...e)}))}})})),1&o){const o=new Map;i.attributeChangedCallback=function(t,l,s){a.jmp((()=>{var r;const c=o.get(t);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=e.N)?void 0:r[t];null==i||i.forEach((e=>{null!=n[e]&&n[e].call(n,s,l,t)}))}return}}const u=Object.getOwnPropertyDescriptor(i,c);(s=(null!==s||"boolean"!=typeof this[c])&&s)===this[c]||u.get&&!u.set||(this[c]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.N)?s:{}),...r.filter((([t,e])=>15&e[0])).map((([t,n])=>{var l;const s=n[1]||t;return o.set(s,t),512&n[0]&&(null==(l=e.L)||l.push([t,s])),s}))]))}}return t},kt=(t,e)=>{St(t,"connectedCallback",void 0,e)},Ct=(t,e)=>{St(t,"disconnectedCallback",void 0,e||t)},Et=(t,o={})=>{var l;const d=[],p=o.exclude||[],v=u.customElements,m=f.head,y=m.querySelector("meta[charset]"),$=f.createElement("style"),b=[];let w,S=!0;Object.assign(a,o),a.l=new URL(o.resourcesUrl||"./",f.baseURI).href;let g=!1;if(t.map((t=>{t[1].map((o=>{var l;const c={o:o[0],S:o[1],H:o[2],W:o[3]};4&c.o&&(g=!0),c.H=o[2],c.W=o[3],c.L=[],c.N=null!=(l=o[4])?l:{};const u=c.S,m=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,n)=>{const o={o:0,$hostElement$:t,T:n,F:new Map};o.B=new Promise((t=>o.D=t)),o.U=new Promise((t=>o.A=t)),t["s-p"]=[],t["s-rc"]=[],e.set(t,o)})(t=this,c),1&c.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.S}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open"})}connectedCallback(){const t=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Mt(this,t,c.W)),w&&(clearTimeout(w),w=null),S?b.push(this):a.jmp((()=>(t=>{if(!(1&a.o)){const e=n(t),o=e.T,l=()=>{};if(1&e.o)Mt(t,e,o.W),(null==e?void 0:e.t)?kt(e.t,t):(null==e?void 0:e.U)&&e.U.then((()=>kt(e.t,t)));else{e.o|=1,12&o.o&&(t=>{const e=t["s-cr"]=f.createComment("");e["s-cn"]=!0,at(t,e,t.firstChild)})(t);{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){dt(e,e.C=n);break}}o.H&&Object.entries(o.H).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.o)){e.o|=32;{const l=((t,e)=>{const n=t.S.replace(/-/g,"_"),o=t.V;if(!o)return;const l=i.get(o);return l?l[n]:import(`./${o}.entry.js`).then((t=>(i.set(o,t),t[n])),(t=>{s(t,e.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(l&&"then"in l){const t=()=>{};o=await l,t()}else o=l;if(!o)throw Error(`Constructor for "${n.S}#${e.q}" was not found`);o.isProxied||(n.N=o.watchers,Ot(o,n,2),o.isProxied=!0);const r=()=>{};e.o|=8;try{new o(e)}catch(e){s(e,t)}e.o&=-9,e.o|=128,r(),kt(e.t,t)}if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=q(n);if(!r.has(e)){const o=()=>{};((t,e,n)=>{let o=r.get(t);h&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,r.set(t,o)})(e,t,!!(1&n.o)),o()}}}const l=e.C,c=()=>ht(e,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(t,e,o)}l()}})(this)))}disconnectedCallback(){a.jmp((()=>(async t=>{if(!(1&a.o)){const e=n(t);e.G&&(e.G.map((t=>t())),e.G=void 0),(null==e?void 0:e.t)?Ct(e.t,t):(null==e?void 0:e.U)&&e.U.then((()=>Ct(e.t,t)))}V.has(t)&&V.delete(t),t.shadowRoot&&V.has(t.shadowRoot)&&V.delete(t.shadowRoot)})(this))),a.raf((()=>{var t;const e=n(this);(null==(t=null==e?void 0:e.R)?void 0:t.$)instanceof Node&&!e.R.$.isConnected&&delete e.R.$}))}componentOnReady(){return n(this).U}};c.V=t[0],p.includes(u)||v.get(u)||(d.push(u),v.define(u,Ot(m,c,1)))}))})),d.length>0&&(g&&($.textContent+=c),$.textContent+=d.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",$.innerHTML.length)){$.setAttribute("data-styles","");const t=null!=(l=a.P)?l:j(f);null!=t&&$.setAttribute("nonce",t),m.insertBefore($,y?y.nextSibling:m.firstChild)}S=!1,b.length?b.map((t=>t.connectedCallback())):a.jmp((()=>w=setTimeout(wt,30)))},Mt=(t,e,n)=>{n&&n.map((([n,o,l])=>{const s=Pt(t,n),i=Tt(e,l),r=Rt(n);a.ael(s,o,i,r),(e.G=e.G||[]).push((()=>a.rel(s,o,i,r)))}))},Tt=(t,e)=>n=>{var o;try{256&t.o?null==(o=t.t)||o[e](n):(t.M=t.M||[]).push([e,n])}catch(e){s(e,t.$hostElement$)}},Pt=(t,e)=>8&e?u:16&e?f.body:t,Rt=t=>({passive:!!(1&t),capture:!!(2&t)}),xt=t=>a.P=t;export{H,Et as b,B as c,U as g,D as h,d as p,o as r,xt as s}
|