@everymatrix/player-account-gaming-limits-wrapper-2 1.62.0 → 1.62.2

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 (26) hide show
  1. package/components/{PlayerAccountGamingLimitsHistory2-B3PpGrMk.js → PlayerAccountGamingLimitsHistory2-8bGpC9o7.js} +1008 -987
  2. package/components/PlayerAccountGamingLimitsHistory2-C2jbwMwB.cjs +18 -0
  3. package/components/{PlayerAccountGamingLimitsHistory2-DIXg5IuM.js → PlayerAccountGamingLimitsHistory2-n-i_x4ut.js} +838 -817
  4. package/components/{PlayerAccountGamingLimitsPage2Gm16-DVv21MfU.cjs → PlayerAccountGamingLimitsPage2Gm16-025WCz6K.cjs} +1 -1
  5. package/components/{PlayerAccountGamingLimitsPage2Gm16-Cj0kdw5F.js → PlayerAccountGamingLimitsPage2Gm16-BQrzcteX.js} +8 -8
  6. package/components/{PlayerAccountGamingLimitsPage2Gm16-DWlQgJbO.js → PlayerAccountGamingLimitsPage2Gm16-BrSZPNT7.js} +9 -9
  7. package/components/{PlayerAccountGamingLimitsWrapper2-D9NKwkCk.js → PlayerAccountGamingLimitsWrapper2-B5pkGOJF.js} +19 -19
  8. package/components/{PlayerAccountGamingLimitsWrapper2-Bj8-cNI0.js → PlayerAccountGamingLimitsWrapper2-BXJcheho.js} +32 -32
  9. package/components/{PlayerAccountGamingLimitsWrapper2-BOIQXEfT.cjs → PlayerAccountGamingLimitsWrapper2-DxJanE64.cjs} +1 -1
  10. package/es2015/player-account-gaming-limits-wrapper-2.cjs +1 -1
  11. package/es2015/player-account-gaming-limits-wrapper-2.js +1 -1
  12. package/esnext/player-account-gaming-limits-wrapper-2.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/index-b2193545-BcYyCldH.js +519 -0
  15. package/stencil/index-b2193545-CPztmidm.js +503 -0
  16. package/stencil/index-b2193545-D1Z0k4-D.cjs +1 -0
  17. package/stencil/{ui-skeleton-6d1c12ae-DKB12dOW.cjs → ui-skeleton-1cb75d00-CUSs6C3A.cjs} +2 -2
  18. package/stencil/{ui-skeleton-6d1c12ae-C5e2VP5y.js → ui-skeleton-1cb75d00-CXHx_pAM.js} +4 -4
  19. package/stencil/{ui-skeleton-6d1c12ae-DLWiyoXw.js → ui-skeleton-1cb75d00-z2mX3TRi.js} +4 -4
  20. package/stencil/{ui-skeleton-_WkW-KOf.js → ui-skeleton-4ifa-7wH.js} +2 -2
  21. package/stencil/{ui-skeleton-B5-YtBjf.js → ui-skeleton-Bk5dn5mu.js} +2 -2
  22. package/stencil/{ui-skeleton-Bhrn0PZm.cjs → ui-skeleton-CCXvjIzA.cjs} +1 -1
  23. package/components/PlayerAccountGamingLimitsHistory2-DOCZA8tu.cjs +0 -18
  24. package/stencil/index-b2193545-BdZPWlnP.js +0 -503
  25. package/stencil/index-b2193545-Y5GTD6hC.js +0 -519
  26. package/stencil/index-b2193545-fy9dEEzw.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountGamingLimitsHistory2-DOCZA8tu.cjs");function se({withLocale:i,translations:t}){e.$locale.subscribe(n=>{n==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function le(i,t){e.addMessages(i,t)}const H={en:{title:"Limits"},"zh-hk":{title:"Limits"},fr:{title:"Limits"},ro:{title:"Limits"},es:{title:"Limits"},pt:{title:"Limits"},hr:{title:"Ograničenja"},"pt-br":{title:"Limites"},"es-mx":{title:"Límites"},tr:{title:"Sınırlar"},"en-us":{title:"Limits"}};if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsPage2Gm16-DVv21MfU.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-page-2-gm16")&&customElements.define("player-account-gaming-limits-page-2-gm16",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsHistory2-DOCZA8tu.cjs")).then(t=>t.PlayerAccountGamingLimitsHistory2_ce).then(({default:t})=>{!customElements.get("player-account-gaming-limits-history-2")&&customElements.define("player-account-gaming-limits-history-2",t.element)})}function oe(i){e.append_styles(i,"svelte-r6lh3z",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px 50px 30px 50px}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.LimitsWrapper{display:flex;flex-direction:column}.TabsContainer{height:50px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-300, #58586B);justify-content:center;background:var(--emw--color-white, #FFFFFF);box-shadow:0 0.15rem 0.2rem 0 rgba(0, 0, 0, 0.12)}.LimitsTab{font-size:1.3rem;line-height:1.4rem;margin-bottom:3px;display:flex;justify-content:center;align-items:center;padding:0 1rem;box-sizing:content-box}.hidden{display:none}h2{margin:20px 0px}.PlayerAccountGamingLmitsWrapper2{margin-bottom:20px}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C))}.GamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));font-weight:400}.GamingLimitsTitleMobile{font-size:16px}.GamingLimitsTitleNone{display:none}.selected{border-bottom:0.2rem solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));margin:0}')}function I(i,t,n){const s=i.slice();return s[46]=t[n],s[48]=n,s}const ae=i=>({}),q=i=>({});function U(i,t,n){const s=i.slice();return s[49]=t[n],s[48]=n,s}function re(i){let t,n,s,l,m,c,d,a,g,f,r=i[24]("title")+"",u,_,p;return{c(){t=e.element("div"),n=e.svg_element("svg"),s=e.svg_element("defs"),l=e.svg_element("style"),m=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));}"),c=e.svg_element("g"),d=e.svg_element("g"),a=e.svg_element("path"),g=e.space(),f=e.element("h2"),u=e.text(r),e.attr(a,"class","aaa"),e.attr(a,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(a,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(c,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(f,"class","GamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(k,b){e.insert(k,t,b),e.append(t,n),e.append(n,s),e.append(s,l),e.append(l,m),e.append(n,c),e.append(c,d),e.append(d,a),e.append(t,g),e.append(t,f),e.append(f,u),_||(p=e.listen(t,"click",i[35]),_=!0)},p(k,b){b[0]&16777216&&r!==(r=k[24]("title")+"")&&e.set_data(u,r)},d(k){k&&e.detach(t),_=!1,p()}}}function me(i){let t,n,s,l,m,c=i[25].length>1&&ue(i),d=e.ensure_array_like(i[25]),a=[];for(let r=0;r<d.length;r+=1)a[r]=Z(I(i,d,r));const g=r=>e.transition_out(a[r],1,1,()=>{a[r]=null});let f=i[6]==="true"&&J(i);return{c(){c&&c.c(),t=e.space(),n=e.element("div");for(let r=0;r<a.length;r+=1)a[r].c();s=e.space(),f&&f.c(),l=e.empty(),e.attr(n,"class","PlayerAccountGamingLmitsWrapper2")},m(r,u){c&&c.m(r,u),e.insert(r,t,u),e.insert(r,n,u);for(let _=0;_<a.length;_+=1)a[_]&&a[_].m(n,null);i[38](n),e.insert(r,s,u),f&&f.m(r,u),e.insert(r,l,u),m=!0},p(r,u){if(r[25].length>1&&c.p(r,u),u[0]&14745023|u[1]&4){d=e.ensure_array_like(r[25]);let _;for(_=0;_<d.length;_+=1){const p=I(r,d,_);a[_]?(a[_].p(p,u),e.transition_in(a[_],1)):(a[_]=Z(p),a[_].c(),e.transition_in(a[_],1),a[_].m(n,null))}for(e.group_outros(),_=d.length;_<a.length;_+=1)g(_);e.check_outros()}r[6]==="true"?f?f.p(r,u):(f=J(r),f.c(),f.m(l.parentNode,l)):f&&(f.d(1),f=null)},i(r){if(!m){for(let u=0;u<d.length;u+=1)e.transition_in(a[u]);m=!0}},o(r){a=a.filter(Boolean);for(let u=0;u<a.length;u+=1)e.transition_out(a[u]);m=!1},d(r){r&&(e.detach(t),e.detach(n),e.detach(s),e.detach(l)),c&&c.d(r),e.destroy_each(a,r),i[38](null),f&&f.d(r)}}}function ce(i){return{c:e.noop,m:e.noop,p:e.noop,i:e.noop,o:e.noop,d:e.noop}}function ue(i){let t,n=e.ensure_array_like(i[25]),s=[];for(let l=0;l<n.length;l+=1)s[l]=V(U(i,n,l));return{c(){t=e.element("div");for(let l=0;l<s.length;l+=1)s[l].c();e.attr(t,"class","TabsContainer")},m(l,m){e.insert(l,t,m);for(let c=0;c<s.length;c+=1)s[c]&&s[c].m(t,null);i[37](t)},p(l,m){if(m[0]&168296448){n=e.ensure_array_like(l[25]);let c;for(c=0;c<n.length;c+=1){const d=U(l,n,c);s[c]?s[c].p(d,m):(s[c]=V(d),s[c].c(),s[c].m(t,null))}for(;c<s.length;c+=1)s[c].d(1);s.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(s,l),i[37](null)}}}function V(i){var d;let t,n=((d=i[19][i[48]])!=null?d:i[49])+"",s,l,m;function c(){return i[36](i[48])}return{c(){t=e.element("div"),s=e.text(n),e.attr(t,"class","LimitsTab")},m(a,g){e.insert(a,t,g),e.append(t,s),l||(m=e.listen(t,"click",c),l=!0)},p(a,g){var f;i=a,g[0]&524288&&n!==(n=((f=i[19][i[48]])!=null?f:i[49])+"")&&e.set_data(s,n)},d(a){a&&e.detach(t),l=!1,m()}}}function _e(i){let t,n,s;return{c(){t=e.element("player-account-gaming-limits-page-2-gm16"),e.set_custom_element_data(t,"class","hidden selected"),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"currency",i[4]),e.set_custom_element_data(t,"amountsconfig",n=i[21][i[48]]),e.set_custom_element_data(t,"periodsconfig",s=i[22][i[48]]),e.set_custom_element_data(t,"limittabindex",i[48]+1),e.set_custom_element_data(t,"userid",i[1]),e.set_custom_element_data(t,"deletelimit",i[8]),e.set_custom_element_data(t,"enablecompliancetext",i[7]),e.set_custom_element_data(t,"session",i[2]),e.set_custom_element_data(t,"endpoint",i[3]),e.set_custom_element_data(t,"apiversion",i[5]),e.set_custom_element_data(t,"clientstyling",i[12]),e.set_custom_element_data(t,"clientstylingurl",i[13]),e.set_custom_element_data(t,"mbsource",i[15]),e.set_custom_element_data(t,"translationurl",i[14]),e.set_custom_element_data(t,"customcurrencysymbols",i[10]),e.set_custom_element_data(t,"limitformat",i[11])},m(l,m){e.insert(l,t,m)},p(l,m){m[0]&1&&e.set_custom_element_data(t,"lang",l[0]),m[0]&16&&e.set_custom_element_data(t,"currency",l[4]),m[0]&2097152&&n!==(n=l[21][l[48]])&&e.set_custom_element_data(t,"amountsconfig",n),m[0]&4194304&&s!==(s=l[22][l[48]])&&e.set_custom_element_data(t,"periodsconfig",s),m[0]&2&&e.set_custom_element_data(t,"userid",l[1]),m[0]&256&&e.set_custom_element_data(t,"deletelimit",l[8]),m[0]&128&&e.set_custom_element_data(t,"enablecompliancetext",l[7]),m[0]&4&&e.set_custom_element_data(t,"session",l[2]),m[0]&8&&e.set_custom_element_data(t,"endpoint",l[3]),m[0]&32&&e.set_custom_element_data(t,"apiversion",l[5]),m[0]&4096&&e.set_custom_element_data(t,"clientstyling",l[12]),m[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",l[13]),m[0]&32768&&e.set_custom_element_data(t,"mbsource",l[15]),m[0]&16384&&e.set_custom_element_data(t,"translationurl",l[14]),m[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",l[10]),m[0]&2048&&e.set_custom_element_data(t,"limitformat",l[11])},i:e.noop,o:e.noop,d(l){l&&e.detach(t)}}}function fe(i){let t;const n=i[34].customTabContent,s=e.create_slot(n,i,i[33],q);return{c(){s&&s.c()},m(l,m){s&&s.m(l,m),t=!0},p(l,m){s&&s.p&&(!t||m[1]&4)&&e.update_slot_base(s,n,l,l[33],t?e.get_slot_changes(n,l[33],m,ae):e.get_all_dirty_from_scope(l[33]),q)},i(l){t||(e.transition_in(s,l),t=!0)},o(l){e.transition_out(s,l),t=!1},d(l){s&&s.d(l)}}}function Z(i){let t,n,s,l;const m=[fe,_e],c=[];function d(a,g){return a[23]===a[48]?0:1}return t=d(i),n=c[t]=m[t](i),{c(){n.c(),s=e.empty()},m(a,g){c[t].m(a,g),e.insert(a,s,g),l=!0},p(a,g){let f=t;t=d(a),t===f?c[t].p(a,g):(e.group_outros(),e.transition_out(c[f],1,1,()=>{c[f]=null}),e.check_outros(),n=c[t],n?n.p(a,g):(n=c[t]=m[t](a),n.c()),e.transition_in(n,1),n.m(s.parentNode,s))},i(a){l||(e.transition_in(n),l=!0)},o(a){e.transition_out(n),l=!1},d(a){a&&e.detach(s),c[t].d(a)}}}function J(i){let t;return{c(){t=e.element("player-account-gaming-limits-history-2"),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"userid",i[1]),e.set_custom_element_data(t,"session",i[2]),e.set_custom_element_data(t,"endpoint",i[3]),e.set_custom_element_data(t,"apiversion",i[5]),e.set_custom_element_data(t,"numberofentries",i[9]),e.set_custom_element_data(t,"clientstyling",i[12]),e.set_custom_element_data(t,"clientstylingurl",i[13]),e.set_custom_element_data(t,"mbsource",i[15]),e.set_custom_element_data(t,"translationurl",i[14]),e.set_custom_element_data(t,"customcurrencysymbols",i[10]),e.set_custom_element_data(t,"limitformat",i[11])},m(n,s){e.insert(n,t,s)},p(n,s){s[0]&1&&e.set_custom_element_data(t,"lang",n[0]),s[0]&2&&e.set_custom_element_data(t,"userid",n[1]),s[0]&4&&e.set_custom_element_data(t,"session",n[2]),s[0]&8&&e.set_custom_element_data(t,"endpoint",n[3]),s[0]&32&&e.set_custom_element_data(t,"apiversion",n[5]),s[0]&512&&e.set_custom_element_data(t,"numberofentries",n[9]),s[0]&4096&&e.set_custom_element_data(t,"clientstyling",n[12]),s[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",n[13]),s[0]&32768&&e.set_custom_element_data(t,"mbsource",n[15]),s[0]&16384&&e.set_custom_element_data(t,"translationurl",n[14]),s[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",n[10]),s[0]&2048&&e.set_custom_element_data(t,"limitformat",n[11])},d(n){n&&e.detach(t)}}}function de(i){let t,n,s,l,m,c,d,a=i[24]("title")+"",g,f,r,u,_,p=i[26]&&re(i);const k=[ce,me],b=[];function C(h,w){return h[16]?0:1}return r=C(i),u=b[r]=k[r](i),{c(){t=e.element("meta"),n=e.space(),s=e.element("div"),l=e.element("div"),m=e.element("div"),p&&p.c(),c=e.space(),d=e.element("h2"),g=e.text(a),f=e.space(),u.c(),e.attr(t,"name","viewport"),e.attr(t,"content","width=device-width, initial-scale=1"),e.attr(d,"class","GamingLimitsTitle "+(i[26]?"GamingLimitsTitleNone":"")),e.attr(m,"class","TitleSection"),e.attr(l,"class","GamingLimitsWrapper "+(i[26]?"GamingLimitsWrapperMobile":""))},m(h,w){e.append(document.head,t),e.insert(h,n,w),e.insert(h,s,w),e.append(s,l),e.append(l,m),p&&p.m(m,null),e.append(m,c),e.append(m,d),e.append(d,g),e.append(l,f),b[r].m(l,null),i[39](s),_=!0},p(h,w){h[26]&&p.p(h,w),(!_||w[0]&16777216)&&a!==(a=h[24]("title")+"")&&e.set_data(g,a);let M=r;r=C(h),r===M?b[r].p(h,w):(e.group_outros(),e.transition_out(b[M],1,1,()=>{b[M]=null}),e.check_outros(),u=b[r],u?u.p(h,w):(u=b[r]=k[r](h),u.c()),e.transition_in(u,1),u.m(l,null))},i(h){_||(e.transition_in(u),_=!0)},o(h){e.transition_out(u),_=!1},d(h){h&&(e.detach(n),e.detach(s)),e.detach(t),p&&p.d(),b[r].d(),i[39](null)}}}function ge(i,t,n){let s;e.component_subscribe(i,e.$format,o=>n(24,s=o));let{$$slots:l={},$$scope:m}=t,{lang:c=""}=t,{userid:d=""}=t,{session:a=""}=t,{endpoint:g=""}=t,{currency:f=""}=t,{apiversion:r=""}=t,{tablabels:u=""}=t,{historyenabled:_="true"}=t,{enablecompliancetext:p="false"}=t,{deletelimit:k=""}=t,{limitsamount:b=""}=t,{limitsperiods:C=""}=t,{numberofentries:h=""}=t,{customcurrencysymbols:w=""}=t,{limitformat:M=""}=t,{clientstyling:E=""}=t,{clientstylingurl:G=""}=t,{translationurl:z=""}=t,{mbsource:S}=t,{customcontentontab:A=""}=t;se({withLocale:"en",translations:{}});let D=!0,L,W=[],B,T,v,P,N,Q=window.navigator.userAgent,R=e.getDevice(Q)!=="PC",F;Object.keys(H).forEach(o=>{le(o,H[o])});const X=(o,y)=>{if(n(21,P=o.replace(/\s/g,"").split("|")),n(22,N=y.replace(/\s/g,"").split("|")),P.length===0)throw new Error("Please provide a full limits configuration.");if(P.length!==N.length)throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.")},Y=()=>{X(b,C),b.split("|").forEach(y=>{W.includes(y)||W.push(y)}),n(19,B=u.split(",").map(y=>y.trim())),n(16,D=!1)},x=()=>{n(23,F=A?Number(A):-1)},j=o=>{if(T.children.length>0)for(let y=0;y<T.children.length;y++)o===y?(T.children[y].classList.remove("hidden"),v==null||v.children[y].classList.add("selected")):(T.children[y].classList.add("hidden"),v==null||v.children[y].classList.remove("selected"))},O=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:R},window.location.href)};e.onMount(()=>()=>{n(18,T=null),n(20,v=null)});const $=()=>O(),ee=o=>j(o);function te(o){e.binding_callbacks[o?"unshift":"push"](()=>{v=o,n(20,v)})}function ne(o){e.binding_callbacks[o?"unshift":"push"](()=>{T=o,n(18,T)})}function ie(o){e.binding_callbacks[o?"unshift":"push"](()=>{L=o,n(17,L)})}return i.$$set=o=>{"lang"in o&&n(0,c=o.lang),"userid"in o&&n(1,d=o.userid),"session"in o&&n(2,a=o.session),"endpoint"in o&&n(3,g=o.endpoint),"currency"in o&&n(4,f=o.currency),"apiversion"in o&&n(5,r=o.apiversion),"tablabels"in o&&n(29,u=o.tablabels),"historyenabled"in o&&n(6,_=o.historyenabled),"enablecompliancetext"in o&&n(7,p=o.enablecompliancetext),"deletelimit"in o&&n(8,k=o.deletelimit),"limitsamount"in o&&n(30,b=o.limitsamount),"limitsperiods"in o&&n(31,C=o.limitsperiods),"numberofentries"in o&&n(9,h=o.numberofentries),"customcurrencysymbols"in o&&n(10,w=o.customcurrencysymbols),"limitformat"in o&&n(11,M=o.limitformat),"clientstyling"in o&&n(12,E=o.clientstyling),"clientstylingurl"in o&&n(13,G=o.clientstylingurl),"translationurl"in o&&n(14,z=o.translationurl),"mbsource"in o&&n(15,S=o.mbsource),"customcontentontab"in o&&n(32,A=o.customcontentontab),"$$scope"in o&&n(33,m=o.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&536870959&&d&&a&&g&&u&&c&&r&&Y(),i.$$.dirty[1]&2&&A&&x(),i.$$.dirty[0]&327680&&T&&!D&&j(0),i.$$.dirty[0]&135168&&E&&L&&e.setClientStyling(L,E),i.$$.dirty[0]&139264&&G&&L&&e.setClientStylingURL(L,G),i.$$.dirty[0]&163840&&S&&L&&e.setStreamStyling(L,`${S}.Style`)},[c,d,a,g,f,r,_,p,k,h,w,M,E,G,z,S,D,L,T,B,v,P,N,F,s,W,R,j,O,u,b,C,A,m,l,$,ee,te,ne,ie]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ge,de,e.safe_not_equal,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,tablabels:29,historyenabled:6,enablecompliancetext:7,deletelimit:8,limitsamount:30,limitsperiods:31,numberofentries:9,customcurrencysymbols:10,limitformat:11,clientstyling:12,clientstylingurl:13,translationurl:14,mbsource:15,customcontentontab:32},oe,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[2]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency:t}),e.flush()}get apiversion(){return this.$$.ctx[5]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get tablabels(){return this.$$.ctx[29]}set tablabels(t){this.$$set({tablabels:t}),e.flush()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(t){this.$$set({historyenabled:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[7]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[8]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get limitsamount(){return this.$$.ctx[30]}set limitsamount(t){this.$$set({limitsamount:t}),e.flush()}get limitsperiods(){return this.$$.ctx[31]}set limitsperiods(t){this.$$set({limitsperiods:t}),e.flush()}get numberofentries(){return this.$$.ctx[9]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[10]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[11]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[15]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get customcontentontab(){return this.$$.ctx[32]}set customcontentontab(t){this.$$set({customcontentontab:t}),e.flush()}}e.create_custom_element(K,{lang:{},userid:{},session:{},endpoint:{},currency:{},apiversion:{},tablabels:{},historyenabled:{},enablecompliancetext:{},deletelimit:{},limitsamount:{},limitsperiods:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{},customcontentontab:{}},["customTabContent"],[],!0);exports.default=K;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountGamingLimitsHistory2-C2jbwMwB.cjs");function se({withLocale:i,translations:t}){e.$locale.subscribe(n=>{n==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function le(i,t){e.addMessages(i,t)}const H={en:{title:"Limits"},"zh-hk":{title:"Limits"},fr:{title:"Limits"},ro:{title:"Limits"},es:{title:"Limits"},pt:{title:"Limits"},hr:{title:"Ograničenja"},"pt-br":{title:"Limites"},"es-mx":{title:"Límites"},tr:{title:"Sınırlar"},"en-us":{title:"Limits"}};if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsPage2Gm16-025WCz6K.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-page-2-gm16")&&customElements.define("player-account-gaming-limits-page-2-gm16",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsHistory2-C2jbwMwB.cjs")).then(t=>t.PlayerAccountGamingLimitsHistory2_ce).then(({default:t})=>{!customElements.get("player-account-gaming-limits-history-2")&&customElements.define("player-account-gaming-limits-history-2",t.element)})}function oe(i){e.append_styles(i,"svelte-r6lh3z",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px 50px 30px 50px}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.LimitsWrapper{display:flex;flex-direction:column}.TabsContainer{height:50px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-300, #58586B);justify-content:center;background:var(--emw--color-white, #FFFFFF);box-shadow:0 0.15rem 0.2rem 0 rgba(0, 0, 0, 0.12)}.LimitsTab{font-size:1.3rem;line-height:1.4rem;margin-bottom:3px;display:flex;justify-content:center;align-items:center;padding:0 1rem;box-sizing:content-box}.hidden{display:none}h2{margin:20px 0px}.PlayerAccountGamingLmitsWrapper2{margin-bottom:20px}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C))}.GamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));font-weight:400}.GamingLimitsTitleMobile{font-size:16px}.GamingLimitsTitleNone{display:none}.selected{border-bottom:0.2rem solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));margin:0}')}function I(i,t,n){const s=i.slice();return s[46]=t[n],s[48]=n,s}const ae=i=>({}),q=i=>({});function U(i,t,n){const s=i.slice();return s[49]=t[n],s[48]=n,s}function re(i){let t,n,s,l,m,c,d,a,g,f,r=i[24]("title")+"",u,_,p;return{c(){t=e.element("div"),n=e.svg_element("svg"),s=e.svg_element("defs"),l=e.svg_element("style"),m=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));}"),c=e.svg_element("g"),d=e.svg_element("g"),a=e.svg_element("path"),g=e.space(),f=e.element("h2"),u=e.text(r),e.attr(a,"class","aaa"),e.attr(a,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(a,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(c,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(f,"class","GamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(k,b){e.insert(k,t,b),e.append(t,n),e.append(n,s),e.append(s,l),e.append(l,m),e.append(n,c),e.append(c,d),e.append(d,a),e.append(t,g),e.append(t,f),e.append(f,u),_||(p=e.listen(t,"click",i[35]),_=!0)},p(k,b){b[0]&16777216&&r!==(r=k[24]("title")+"")&&e.set_data(u,r)},d(k){k&&e.detach(t),_=!1,p()}}}function me(i){let t,n,s,l,m,c=i[25].length>1&&ue(i),d=e.ensure_array_like(i[25]),a=[];for(let r=0;r<d.length;r+=1)a[r]=Z(I(i,d,r));const g=r=>e.transition_out(a[r],1,1,()=>{a[r]=null});let f=i[6]==="true"&&J(i);return{c(){c&&c.c(),t=e.space(),n=e.element("div");for(let r=0;r<a.length;r+=1)a[r].c();s=e.space(),f&&f.c(),l=e.empty(),e.attr(n,"class","PlayerAccountGamingLmitsWrapper2")},m(r,u){c&&c.m(r,u),e.insert(r,t,u),e.insert(r,n,u);for(let _=0;_<a.length;_+=1)a[_]&&a[_].m(n,null);i[38](n),e.insert(r,s,u),f&&f.m(r,u),e.insert(r,l,u),m=!0},p(r,u){if(r[25].length>1&&c.p(r,u),u[0]&14745023|u[1]&4){d=e.ensure_array_like(r[25]);let _;for(_=0;_<d.length;_+=1){const p=I(r,d,_);a[_]?(a[_].p(p,u),e.transition_in(a[_],1)):(a[_]=Z(p),a[_].c(),e.transition_in(a[_],1),a[_].m(n,null))}for(e.group_outros(),_=d.length;_<a.length;_+=1)g(_);e.check_outros()}r[6]==="true"?f?f.p(r,u):(f=J(r),f.c(),f.m(l.parentNode,l)):f&&(f.d(1),f=null)},i(r){if(!m){for(let u=0;u<d.length;u+=1)e.transition_in(a[u]);m=!0}},o(r){a=a.filter(Boolean);for(let u=0;u<a.length;u+=1)e.transition_out(a[u]);m=!1},d(r){r&&(e.detach(t),e.detach(n),e.detach(s),e.detach(l)),c&&c.d(r),e.destroy_each(a,r),i[38](null),f&&f.d(r)}}}function ce(i){return{c:e.noop,m:e.noop,p:e.noop,i:e.noop,o:e.noop,d:e.noop}}function ue(i){let t,n=e.ensure_array_like(i[25]),s=[];for(let l=0;l<n.length;l+=1)s[l]=V(U(i,n,l));return{c(){t=e.element("div");for(let l=0;l<s.length;l+=1)s[l].c();e.attr(t,"class","TabsContainer")},m(l,m){e.insert(l,t,m);for(let c=0;c<s.length;c+=1)s[c]&&s[c].m(t,null);i[37](t)},p(l,m){if(m[0]&168296448){n=e.ensure_array_like(l[25]);let c;for(c=0;c<n.length;c+=1){const d=U(l,n,c);s[c]?s[c].p(d,m):(s[c]=V(d),s[c].c(),s[c].m(t,null))}for(;c<s.length;c+=1)s[c].d(1);s.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(s,l),i[37](null)}}}function V(i){var d;let t,n=((d=i[19][i[48]])!=null?d:i[49])+"",s,l,m;function c(){return i[36](i[48])}return{c(){t=e.element("div"),s=e.text(n),e.attr(t,"class","LimitsTab")},m(a,g){e.insert(a,t,g),e.append(t,s),l||(m=e.listen(t,"click",c),l=!0)},p(a,g){var f;i=a,g[0]&524288&&n!==(n=((f=i[19][i[48]])!=null?f:i[49])+"")&&e.set_data(s,n)},d(a){a&&e.detach(t),l=!1,m()}}}function _e(i){let t,n,s;return{c(){t=e.element("player-account-gaming-limits-page-2-gm16"),e.set_custom_element_data(t,"class","hidden selected"),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"currency",i[4]),e.set_custom_element_data(t,"amountsconfig",n=i[21][i[48]]),e.set_custom_element_data(t,"periodsconfig",s=i[22][i[48]]),e.set_custom_element_data(t,"limittabindex",i[48]+1),e.set_custom_element_data(t,"userid",i[1]),e.set_custom_element_data(t,"deletelimit",i[8]),e.set_custom_element_data(t,"enablecompliancetext",i[7]),e.set_custom_element_data(t,"session",i[2]),e.set_custom_element_data(t,"endpoint",i[3]),e.set_custom_element_data(t,"apiversion",i[5]),e.set_custom_element_data(t,"clientstyling",i[12]),e.set_custom_element_data(t,"clientstylingurl",i[13]),e.set_custom_element_data(t,"mbsource",i[15]),e.set_custom_element_data(t,"translationurl",i[14]),e.set_custom_element_data(t,"customcurrencysymbols",i[10]),e.set_custom_element_data(t,"limitformat",i[11])},m(l,m){e.insert(l,t,m)},p(l,m){m[0]&1&&e.set_custom_element_data(t,"lang",l[0]),m[0]&16&&e.set_custom_element_data(t,"currency",l[4]),m[0]&2097152&&n!==(n=l[21][l[48]])&&e.set_custom_element_data(t,"amountsconfig",n),m[0]&4194304&&s!==(s=l[22][l[48]])&&e.set_custom_element_data(t,"periodsconfig",s),m[0]&2&&e.set_custom_element_data(t,"userid",l[1]),m[0]&256&&e.set_custom_element_data(t,"deletelimit",l[8]),m[0]&128&&e.set_custom_element_data(t,"enablecompliancetext",l[7]),m[0]&4&&e.set_custom_element_data(t,"session",l[2]),m[0]&8&&e.set_custom_element_data(t,"endpoint",l[3]),m[0]&32&&e.set_custom_element_data(t,"apiversion",l[5]),m[0]&4096&&e.set_custom_element_data(t,"clientstyling",l[12]),m[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",l[13]),m[0]&32768&&e.set_custom_element_data(t,"mbsource",l[15]),m[0]&16384&&e.set_custom_element_data(t,"translationurl",l[14]),m[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",l[10]),m[0]&2048&&e.set_custom_element_data(t,"limitformat",l[11])},i:e.noop,o:e.noop,d(l){l&&e.detach(t)}}}function fe(i){let t;const n=i[34].customTabContent,s=e.create_slot(n,i,i[33],q);return{c(){s&&s.c()},m(l,m){s&&s.m(l,m),t=!0},p(l,m){s&&s.p&&(!t||m[1]&4)&&e.update_slot_base(s,n,l,l[33],t?e.get_slot_changes(n,l[33],m,ae):e.get_all_dirty_from_scope(l[33]),q)},i(l){t||(e.transition_in(s,l),t=!0)},o(l){e.transition_out(s,l),t=!1},d(l){s&&s.d(l)}}}function Z(i){let t,n,s,l;const m=[fe,_e],c=[];function d(a,g){return a[23]===a[48]?0:1}return t=d(i),n=c[t]=m[t](i),{c(){n.c(),s=e.empty()},m(a,g){c[t].m(a,g),e.insert(a,s,g),l=!0},p(a,g){let f=t;t=d(a),t===f?c[t].p(a,g):(e.group_outros(),e.transition_out(c[f],1,1,()=>{c[f]=null}),e.check_outros(),n=c[t],n?n.p(a,g):(n=c[t]=m[t](a),n.c()),e.transition_in(n,1),n.m(s.parentNode,s))},i(a){l||(e.transition_in(n),l=!0)},o(a){e.transition_out(n),l=!1},d(a){a&&e.detach(s),c[t].d(a)}}}function J(i){let t;return{c(){t=e.element("player-account-gaming-limits-history-2"),e.set_custom_element_data(t,"lang",i[0]),e.set_custom_element_data(t,"userid",i[1]),e.set_custom_element_data(t,"session",i[2]),e.set_custom_element_data(t,"endpoint",i[3]),e.set_custom_element_data(t,"apiversion",i[5]),e.set_custom_element_data(t,"numberofentries",i[9]),e.set_custom_element_data(t,"clientstyling",i[12]),e.set_custom_element_data(t,"clientstylingurl",i[13]),e.set_custom_element_data(t,"mbsource",i[15]),e.set_custom_element_data(t,"translationurl",i[14]),e.set_custom_element_data(t,"customcurrencysymbols",i[10]),e.set_custom_element_data(t,"limitformat",i[11])},m(n,s){e.insert(n,t,s)},p(n,s){s[0]&1&&e.set_custom_element_data(t,"lang",n[0]),s[0]&2&&e.set_custom_element_data(t,"userid",n[1]),s[0]&4&&e.set_custom_element_data(t,"session",n[2]),s[0]&8&&e.set_custom_element_data(t,"endpoint",n[3]),s[0]&32&&e.set_custom_element_data(t,"apiversion",n[5]),s[0]&512&&e.set_custom_element_data(t,"numberofentries",n[9]),s[0]&4096&&e.set_custom_element_data(t,"clientstyling",n[12]),s[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",n[13]),s[0]&32768&&e.set_custom_element_data(t,"mbsource",n[15]),s[0]&16384&&e.set_custom_element_data(t,"translationurl",n[14]),s[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",n[10]),s[0]&2048&&e.set_custom_element_data(t,"limitformat",n[11])},d(n){n&&e.detach(t)}}}function de(i){let t,n,s,l,m,c,d,a=i[24]("title")+"",g,f,r,u,_,p=i[26]&&re(i);const k=[ce,me],b=[];function C(h,w){return h[16]?0:1}return r=C(i),u=b[r]=k[r](i),{c(){t=e.element("meta"),n=e.space(),s=e.element("div"),l=e.element("div"),m=e.element("div"),p&&p.c(),c=e.space(),d=e.element("h2"),g=e.text(a),f=e.space(),u.c(),e.attr(t,"name","viewport"),e.attr(t,"content","width=device-width, initial-scale=1"),e.attr(d,"class","GamingLimitsTitle "+(i[26]?"GamingLimitsTitleNone":"")),e.attr(m,"class","TitleSection"),e.attr(l,"class","GamingLimitsWrapper "+(i[26]?"GamingLimitsWrapperMobile":""))},m(h,w){e.append(document.head,t),e.insert(h,n,w),e.insert(h,s,w),e.append(s,l),e.append(l,m),p&&p.m(m,null),e.append(m,c),e.append(m,d),e.append(d,g),e.append(l,f),b[r].m(l,null),i[39](s),_=!0},p(h,w){h[26]&&p.p(h,w),(!_||w[0]&16777216)&&a!==(a=h[24]("title")+"")&&e.set_data(g,a);let M=r;r=C(h),r===M?b[r].p(h,w):(e.group_outros(),e.transition_out(b[M],1,1,()=>{b[M]=null}),e.check_outros(),u=b[r],u?u.p(h,w):(u=b[r]=k[r](h),u.c()),e.transition_in(u,1),u.m(l,null))},i(h){_||(e.transition_in(u),_=!0)},o(h){e.transition_out(u),_=!1},d(h){h&&(e.detach(n),e.detach(s)),e.detach(t),p&&p.d(),b[r].d(),i[39](null)}}}function ge(i,t,n){let s;e.component_subscribe(i,e.$format,o=>n(24,s=o));let{$$slots:l={},$$scope:m}=t,{lang:c=""}=t,{userid:d=""}=t,{session:a=""}=t,{endpoint:g=""}=t,{currency:f=""}=t,{apiversion:r=""}=t,{tablabels:u=""}=t,{historyenabled:_="true"}=t,{enablecompliancetext:p="false"}=t,{deletelimit:k=""}=t,{limitsamount:b=""}=t,{limitsperiods:C=""}=t,{numberofentries:h=""}=t,{customcurrencysymbols:w=""}=t,{limitformat:M=""}=t,{clientstyling:E=""}=t,{clientstylingurl:G=""}=t,{translationurl:z=""}=t,{mbsource:S}=t,{customcontentontab:A=""}=t;se({withLocale:"en",translations:{}});let D=!0,L,W=[],B,T,v,P,N,Q=window.navigator.userAgent,R=e.getDevice(Q)!=="PC",F;Object.keys(H).forEach(o=>{le(o,H[o])});const X=(o,y)=>{if(n(21,P=o.replace(/\s/g,"").split("|")),n(22,N=y.replace(/\s/g,"").split("|")),P.length===0)throw new Error("Please provide a full limits configuration.");if(P.length!==N.length)throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.")},Y=()=>{X(b,C),b.split("|").forEach(y=>{W.includes(y)||W.push(y)}),n(19,B=u.split(",").map(y=>y.trim())),n(16,D=!1)},x=()=>{n(23,F=A?Number(A):-1)},j=o=>{if(T.children.length>0)for(let y=0;y<T.children.length;y++)o===y?(T.children[y].classList.remove("hidden"),v==null||v.children[y].classList.add("selected")):(T.children[y].classList.add("hidden"),v==null||v.children[y].classList.remove("selected"))},O=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:R},window.location.href)};e.onMount(()=>()=>{n(18,T=null),n(20,v=null)});const $=()=>O(),ee=o=>j(o);function te(o){e.binding_callbacks[o?"unshift":"push"](()=>{v=o,n(20,v)})}function ne(o){e.binding_callbacks[o?"unshift":"push"](()=>{T=o,n(18,T)})}function ie(o){e.binding_callbacks[o?"unshift":"push"](()=>{L=o,n(17,L)})}return i.$$set=o=>{"lang"in o&&n(0,c=o.lang),"userid"in o&&n(1,d=o.userid),"session"in o&&n(2,a=o.session),"endpoint"in o&&n(3,g=o.endpoint),"currency"in o&&n(4,f=o.currency),"apiversion"in o&&n(5,r=o.apiversion),"tablabels"in o&&n(29,u=o.tablabels),"historyenabled"in o&&n(6,_=o.historyenabled),"enablecompliancetext"in o&&n(7,p=o.enablecompliancetext),"deletelimit"in o&&n(8,k=o.deletelimit),"limitsamount"in o&&n(30,b=o.limitsamount),"limitsperiods"in o&&n(31,C=o.limitsperiods),"numberofentries"in o&&n(9,h=o.numberofentries),"customcurrencysymbols"in o&&n(10,w=o.customcurrencysymbols),"limitformat"in o&&n(11,M=o.limitformat),"clientstyling"in o&&n(12,E=o.clientstyling),"clientstylingurl"in o&&n(13,G=o.clientstylingurl),"translationurl"in o&&n(14,z=o.translationurl),"mbsource"in o&&n(15,S=o.mbsource),"customcontentontab"in o&&n(32,A=o.customcontentontab),"$$scope"in o&&n(33,m=o.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&536870959&&d&&a&&g&&u&&c&&r&&Y(),i.$$.dirty[1]&2&&A&&x(),i.$$.dirty[0]&327680&&T&&!D&&j(0),i.$$.dirty[0]&135168&&E&&L&&e.setClientStyling(L,E),i.$$.dirty[0]&139264&&G&&L&&e.setClientStylingURL(L,G),i.$$.dirty[0]&163840&&S&&L&&e.setStreamStyling(L,`${S}.Style`)},[c,d,a,g,f,r,_,p,k,h,w,M,E,G,z,S,D,L,T,B,v,P,N,F,s,W,R,j,O,u,b,C,A,m,l,$,ee,te,ne,ie]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ge,de,e.safe_not_equal,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,tablabels:29,historyenabled:6,enablecompliancetext:7,deletelimit:8,limitsamount:30,limitsperiods:31,numberofentries:9,customcurrencysymbols:10,limitformat:11,clientstyling:12,clientstylingurl:13,translationurl:14,mbsource:15,customcontentontab:32},oe,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[2]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency:t}),e.flush()}get apiversion(){return this.$$.ctx[5]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get tablabels(){return this.$$.ctx[29]}set tablabels(t){this.$$set({tablabels:t}),e.flush()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(t){this.$$set({historyenabled:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[7]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[8]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get limitsamount(){return this.$$.ctx[30]}set limitsamount(t){this.$$set({limitsamount:t}),e.flush()}get limitsperiods(){return this.$$.ctx[31]}set limitsperiods(t){this.$$set({limitsperiods:t}),e.flush()}get numberofentries(){return this.$$.ctx[9]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[10]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[11]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[15]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get customcontentontab(){return this.$$.ctx[32]}set customcontentontab(t){this.$$set({customcontentontab:t}),e.flush()}}e.create_custom_element(K,{lang:{},userid:{},session:{},endpoint:{},currency:{},apiversion:{},tablabels:{},historyenabled:{},enablecompliancetext:{},deletelimit:{},limitsamount:{},limitsperiods:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{},customcontentontab:{}},["customTabContent"],[],!0);exports.default=K;
@@ -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/PlayerAccountGamingLimitsWrapper2-BOIQXEfT.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-wrapper-2")&&customElements.define("player-account-gaming-limits-wrapper-2",t.element)})}
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/PlayerAccountGamingLimitsWrapper2-DxJanE64.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-wrapper-2")&&customElements.define("player-account-gaming-limits-wrapper-2",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/PlayerAccountGamingLimitsWrapper2-Bj8-cNI0.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/PlayerAccountGamingLimitsWrapper2-BXJcheho.js").then(({ default: t }) => {
14
14
  !customElements.get("player-account-gaming-limits-wrapper-2") && customElements.define(
15
15
  "player-account-gaming-limits-wrapper-2",
16
16
  t.element
@@ -1,4 +1,4 @@
1
- import { P as s } from "../components/PlayerAccountGamingLimitsWrapper2-D9NKwkCk.js";
1
+ import { P as s } from "../components/PlayerAccountGamingLimitsWrapper2-B5pkGOJF.js";
2
2
  function a(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-account-gaming-limits-wrapper-2",
3
- "version": "1.62.0",
3
+ "version": "1.62.2",
4
4
  "type": "module",
5
5
  "main": "es2015/player-account-gaming-limits-wrapper-2.cjs",
6
6
  "module": "esnext/player-account-gaming-limits-wrapper-2.js",
@@ -0,0 +1,519 @@
1
+ var x = (e, t, s) => new Promise((r, n) => {
2
+ var a = (i) => {
3
+ try {
4
+ o(s.next(i));
5
+ } catch ($) {
6
+ n($);
7
+ }
8
+ }, l = (i) => {
9
+ try {
10
+ o(s.throw(i));
11
+ } catch ($) {
12
+ n($);
13
+ }
14
+ }, o = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(a, l);
15
+ o((s = s.apply(e, t)).next());
16
+ });
17
+ const oe = "ui-skeleton", $e = (
18
+ /* ui-skeleton */
19
+ { hydratedSelectorName: "hydrated" }
20
+ );
21
+ var ce = Object.defineProperty, ue = (e, t) => {
22
+ for (var s in t)
23
+ ce(e, s, { get: t[s], enumerable: !0 });
24
+ }, U = /* @__PURE__ */ new WeakMap(), b = (e) => U.get(e), Qe = (e, t) => U.set(t.$lazyInstance$ = e, t), fe = (e, t) => {
25
+ const s = {
26
+ $flags$: 0,
27
+ $hostElement$: e,
28
+ $cmpMeta$: t,
29
+ $instanceValues$: /* @__PURE__ */ new Map()
30
+ };
31
+ return s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], U.set(e, s);
32
+ }, E = (e, t) => (0, console.error)(e, t), O = /* @__PURE__ */ new Map(), de = (e, t, s) => {
33
+ const r = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
34
+ if (!n)
35
+ return;
36
+ const a = O.get(n);
37
+ if (a)
38
+ return a[r];
39
+ {
40
+ const l = (o) => (O.set(n, o), o[r]);
41
+ switch (n) {
42
+ case "ui-skeleton":
43
+ return import(
44
+ /* webpackMode: "lazy" */
45
+ "./ui-skeleton-Bk5dn5mu.js"
46
+ ).then(l, E);
47
+ }
48
+ }
49
+ return import(
50
+ /* @vite-ignore */
51
+ /* webpackInclude: /\.entry\.js$/ */
52
+ /* webpackExclude: /\.system\.entry\.js$/ */
53
+ /* webpackMode: "lazy" */
54
+ `./${n}.entry.js`
55
+ ).then((l) => (O.set(n, l), l[r]), E);
56
+ }, _ = /* @__PURE__ */ new Map(), me = "{visibility:hidden}.hydrated{visibility:inherit}", J = "slot-fb{display:contents}slot-fb[hidden]{display:none}", B = typeof window != "undefined" ? window : {}, y = B.document || { head: {} }, g = {
57
+ $flags$: 0,
58
+ $resourcesUrl$: "",
59
+ jmp: (e) => e(),
60
+ raf: (e) => requestAnimationFrame(e),
61
+ ael: (e, t, s, r) => e.addEventListener(t, s, r),
62
+ rel: (e, t, s, r) => e.removeEventListener(t, s, r),
63
+ ce: (e, t) => new CustomEvent(e, t)
64
+ }, ve = (e) => Promise.resolve(e), ge = /* @__PURE__ */ (() => {
65
+ try {
66
+ return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
67
+ } catch (e) {
68
+ }
69
+ return !1;
70
+ })(), A = !1, C = [], K = [], he = (e, t) => (s) => {
71
+ e.push(s), A || (A = !0, g.$flags$ & 4 ? z(H) : g.raf(H));
72
+ }, D = (e) => {
73
+ for (let t = 0; t < e.length; t++)
74
+ try {
75
+ e[t](performance.now());
76
+ } catch (s) {
77
+ E(s);
78
+ }
79
+ e.length = 0;
80
+ }, H = () => {
81
+ D(C), D(K), (A = C.length > 0) && g.raf(H);
82
+ }, z = (e) => ve().then(e), pe = /* @__PURE__ */ he(K), F = {}, Q = (e) => (e = typeof e, e === "object" || e === "function");
83
+ function X(e) {
84
+ var t, s, r;
85
+ return (r = (s = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : s.getAttribute("content")) != null ? r : void 0;
86
+ }
87
+ var ye = {};
88
+ ue(ye, {
89
+ err: () => Z,
90
+ map: () => Se,
91
+ ok: () => I,
92
+ unwrap: () => be,
93
+ unwrapErr: () => ke
94
+ });
95
+ var I = (e) => ({
96
+ isOk: !0,
97
+ isErr: !1,
98
+ value: e
99
+ }), Z = (e) => ({
100
+ isOk: !1,
101
+ isErr: !0,
102
+ value: e
103
+ });
104
+ function Se(e, t) {
105
+ if (e.isOk) {
106
+ const s = t(e.value);
107
+ return s instanceof Promise ? s.then((r) => I(r)) : I(s);
108
+ }
109
+ if (e.isErr) {
110
+ const s = e.value;
111
+ return Z(s);
112
+ }
113
+ throw "should never get here";
114
+ }
115
+ var be = (e) => {
116
+ if (e.isOk)
117
+ return e.value;
118
+ throw e.value;
119
+ }, ke = (e) => {
120
+ if (e.isErr)
121
+ return e.value;
122
+ throw e.value;
123
+ }, S = (e, t = "") => () => {
124
+ }, Ee = (e, t) => () => {
125
+ }, we = (e, t, ...s) => {
126
+ let r = null, n = null, a = !1, l = !1;
127
+ const o = [], i = (c) => {
128
+ for (let u = 0; u < c.length; u++)
129
+ r = c[u], Array.isArray(r) ? i(r) : r != null && typeof r != "boolean" && ((a = typeof e != "function" && !Q(r)) && (r = String(r)), a && l ? o[o.length - 1].$text$ += r : o.push(a ? N(null, r) : r), l = a);
130
+ };
131
+ if (i(s), t) {
132
+ t.key && (n = t.key);
133
+ {
134
+ const c = t.className || t.class;
135
+ c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((u) => c[u]).join(" "));
136
+ }
137
+ }
138
+ const $ = N(e, null);
139
+ return $.$attrs$ = t, o.length > 0 && ($.$children$ = o), $.$key$ = n, $;
140
+ }, N = (e, t) => {
141
+ const s = {
142
+ $flags$: 0,
143
+ $tag$: e,
144
+ $text$: t,
145
+ $elm$: null,
146
+ $children$: null
147
+ };
148
+ return s.$attrs$ = null, s.$key$ = null, s;
149
+ }, xe = {}, Pe = (e) => e && e.$tag$ === xe, Te = (e, t) => e != null && !Q(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, _e = (e, t, s) => {
150
+ const r = g.ce(t, s);
151
+ return e.dispatchEvent(r), r;
152
+ }, M = /* @__PURE__ */ new WeakMap(), je = (e, t, s) => {
153
+ let r = _.get(e);
154
+ ge && s ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = t : r.replaceSync(t)) : r = t, _.set(e, r);
155
+ }, Le = (e, t, s) => {
156
+ var r;
157
+ const n = R(t), a = _.get(n);
158
+ if (e = e.nodeType === 11 ? e : y, a)
159
+ if (typeof a == "string") {
160
+ e = e.head || e;
161
+ let l = M.get(e), o;
162
+ if (l || M.set(e, l = /* @__PURE__ */ new Set()), !l.has(n)) {
163
+ {
164
+ o = y.createElement("style"), o.innerHTML = a;
165
+ const i = (r = g.$nonce$) != null ? r : X(y);
166
+ i != null && o.setAttribute("nonce", i), e.insertBefore(o, e.querySelector("link"));
167
+ }
168
+ t.$flags$ & 4 && (o.innerHTML += J), l && l.add(n);
169
+ }
170
+ } else
171
+ e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
172
+ return n;
173
+ }, Oe = (e) => {
174
+ const t = e.$cmpMeta$, s = e.$hostElement$, r = S("attachStyles", t.$tagName$);
175
+ Le(
176
+ s.getRootNode(),
177
+ t
178
+ ), r();
179
+ }, R = (e, t) => "sc-" + e.$tagName$, W = (e, t, s, r, n, a) => {
180
+ if (s !== r && (t.toLowerCase(), t === "class")) {
181
+ const l = e.classList, o = Y(s), i = Y(r);
182
+ l.remove(...o.filter(($) => $ && !i.includes($))), l.add(...i.filter(($) => $ && !o.includes($)));
183
+ }
184
+ }, Ae = /\s/, Y = (e) => e ? e.split(Ae) : [], V = (e, t, s) => {
185
+ const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || F, a = t.$attrs$ || F;
186
+ for (const l of G(Object.keys(n)))
187
+ l in a || W(r, l, n[l], void 0);
188
+ for (const l of G(Object.keys(a)))
189
+ W(r, l, n[l], a[l]);
190
+ };
191
+ function G(e) {
192
+ return e.includes("ref") ? (
193
+ // we need to sort these to ensure that `'ref'` is the last attr
194
+ [...e.filter((t) => t !== "ref"), "ref"]
195
+ ) : (
196
+ // no need to sort, return the original array
197
+ e
198
+ );
199
+ }
200
+ var ee, j = (e, t, s, r) => {
201
+ const n = t.$children$[s];
202
+ let a = 0, l, o;
203
+ if (n.$text$ !== null)
204
+ l = n.$elm$ = y.createTextNode(n.$text$);
205
+ else if (l = n.$elm$ = y.createElement(
206
+ n.$tag$
207
+ ), V(null, n), n.$children$)
208
+ for (a = 0; a < n.$children$.length; ++a)
209
+ o = j(e, n, a), o && l.appendChild(o);
210
+ return l["s-hn"] = ee, l;
211
+ }, te = (e, t, s, r, n, a) => {
212
+ let l = e, o;
213
+ for (; n <= a; ++n)
214
+ r[n] && (o = j(null, s, n), o && (r[n].$elm$ = o, T(l, o, t)));
215
+ }, ne = (e, t, s) => {
216
+ for (let r = t; r <= s; ++r) {
217
+ const n = e[r];
218
+ if (n) {
219
+ const a = n.$elm$;
220
+ a && a.remove();
221
+ }
222
+ }
223
+ }, He = (e, t, s, r, n = !1) => {
224
+ let a = 0, l = 0, o = 0, i = 0, $ = t.length - 1, c = t[0], u = t[$], f = r.length - 1, d = r[0], m = r[f], v, h;
225
+ for (; a <= $ && l <= f; )
226
+ if (c == null)
227
+ c = t[++a];
228
+ else if (u == null)
229
+ u = t[--$];
230
+ else if (d == null)
231
+ d = r[++l];
232
+ else if (m == null)
233
+ m = r[--f];
234
+ else if (P(c, d, n))
235
+ k(c, d, n), c = t[++a], d = r[++l];
236
+ else if (P(u, m, n))
237
+ k(u, m, n), u = t[--$], m = r[--f];
238
+ else if (P(c, m, n))
239
+ k(c, m, n), T(e, c.$elm$, u.$elm$.nextSibling), c = t[++a], m = r[--f];
240
+ else if (P(u, d, n))
241
+ k(u, d, n), T(e, u.$elm$, c.$elm$), u = t[--$], d = r[++l];
242
+ else {
243
+ for (o = -1, i = a; i <= $; ++i)
244
+ if (t[i] && t[i].$key$ !== null && t[i].$key$ === d.$key$) {
245
+ o = i;
246
+ break;
247
+ }
248
+ o >= 0 ? (h = t[o], h.$tag$ !== d.$tag$ ? v = j(t && t[l], s, o) : (k(h, d, n), t[o] = void 0, v = h.$elm$), d = r[++l]) : (v = j(t && t[l], s, l), d = r[++l]), v && T(c.$elm$.parentNode, v, c.$elm$);
249
+ }
250
+ a > $ ? te(
251
+ e,
252
+ r[f + 1] == null ? null : r[f + 1].$elm$,
253
+ s,
254
+ r,
255
+ l,
256
+ f
257
+ ) : l > f && ne(t, a, $);
258
+ }, P = (e, t, s = !1) => e.$tag$ === t.$tag$ ? s ? !0 : e.$key$ === t.$key$ : !1, k = (e, t, s = !1) => {
259
+ const r = t.$elm$ = e.$elm$, n = e.$children$, a = t.$children$, l = t.$text$;
260
+ l === null ? (V(e, t), n !== null && a !== null ? He(r, n, t, a, s) : a !== null ? (e.$text$ !== null && (r.textContent = ""), te(r, null, t, a, 0, a.length - 1)) : n !== null && ne(n, 0, n.length - 1)) : e.$text$ !== l && (r.data = l);
261
+ }, T = (e, t, s) => e == null ? void 0 : e.insertBefore(t, s), Ie = (e, t, s = !1) => {
262
+ const r = e.$hostElement$, n = e.$vnode$ || N(null, null), a = Pe(t) ? t : we(null, null, t);
263
+ if (ee = r.tagName, s && a.$attrs$)
264
+ for (const l of Object.keys(a.$attrs$))
265
+ r.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = r[l]);
266
+ a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = n.$elm$ = r, k(n, a, s);
267
+ }, se = (e, t) => {
268
+ t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((s) => e.$onRenderResolve$ = s));
269
+ }, q = (e, t) => {
270
+ if (e.$flags$ |= 16, e.$flags$ & 4) {
271
+ e.$flags$ |= 512;
272
+ return;
273
+ }
274
+ return se(e, e.$ancestorComponent$), pe(() => Ne(e, t));
275
+ }, Ne = (e, t) => {
276
+ const s = e.$hostElement$, r = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
277
+ if (!n)
278
+ throw new Error(
279
+ `Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
280
+ );
281
+ let a;
282
+ return r(), Ue(a, () => ze(e, n, t));
283
+ }, Ue = (e, t) => Be(e) ? e.then(t).catch((s) => {
284
+ console.error(s), t();
285
+ }) : t(), Be = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", ze = (e, t, s) => x(void 0, null, function* () {
286
+ var r;
287
+ const n = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = n["s-rc"];
288
+ s && Oe(e);
289
+ const o = S("render", e.$cmpMeta$.$tagName$);
290
+ qe(e, t, n, s), l && (l.map((i) => i()), n["s-rc"] = void 0), o(), a();
291
+ {
292
+ const i = (r = n["s-p"]) != null ? r : [], $ = () => Ce(e);
293
+ i.length === 0 ? $() : (Promise.all(i).then($), e.$flags$ |= 4, i.length = 0);
294
+ }
295
+ }), qe = (e, t, s, r) => {
296
+ try {
297
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ie(e, t, r);
298
+ } catch (n) {
299
+ E(n, e.$hostElement$);
300
+ }
301
+ return null;
302
+ }, Ce = (e) => {
303
+ const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, r = S("postUpdate", t), n = e.$ancestorComponent$;
304
+ e.$flags$ & 64 ? r() : (e.$flags$ |= 64, le(s), r(), e.$onReadyResolve$(s), n || re()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && z(() => q(e, !1)), e.$flags$ &= -517;
305
+ }, re = (e) => {
306
+ le(y.documentElement), z(() => _e(B, "appload", { detail: { namespace: oe } }));
307
+ }, le = (e) => {
308
+ var t;
309
+ return e.classList.add((t = $e.hydratedSelectorName) != null ? t : "hydrated");
310
+ }, De = (e, t) => b(e).$instanceValues$.get(t), Fe = (e, t, s, r) => {
311
+ const n = b(e);
312
+ if (!n)
313
+ throw new Error(
314
+ `Couldn't find host element for "${r.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
315
+ );
316
+ const a = n.$hostElement$, l = n.$instanceValues$.get(t), o = n.$flags$, i = n.$lazyInstance$;
317
+ s = Te(s, r.$members$[t][0]);
318
+ const $ = Number.isNaN(l) && Number.isNaN(s), c = s !== l && !$;
319
+ if ((!(o & 8) || l === void 0) && c && (n.$instanceValues$.set(t, s), i)) {
320
+ if (r.$watchers$ && o & 128) {
321
+ const u = r.$watchers$[t];
322
+ u && u.map((f) => {
323
+ try {
324
+ i[f](s, l, t);
325
+ } catch (d) {
326
+ E(d, a);
327
+ }
328
+ });
329
+ }
330
+ (o & 18) === 2 && q(n, !1);
331
+ }
332
+ }, ae = (e, t, s) => {
333
+ var r, n;
334
+ const a = e.prototype;
335
+ if (t.$members$ || t.$watchers$ || e.watchers) {
336
+ e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
337
+ const l = Object.entries((r = t.$members$) != null ? r : {});
338
+ if (l.map(([o, [i]]) => {
339
+ (i & 31 || s & 2 && i & 32) && Object.defineProperty(a, o, {
340
+ get() {
341
+ return De(this, o);
342
+ },
343
+ set($) {
344
+ Fe(this, o, $, t);
345
+ },
346
+ configurable: !0,
347
+ enumerable: !0
348
+ });
349
+ }), s & 1) {
350
+ const o = /* @__PURE__ */ new Map();
351
+ a.attributeChangedCallback = function(i, $, c) {
352
+ g.jmp(() => {
353
+ var u;
354
+ const f = o.get(i);
355
+ if (this.hasOwnProperty(f))
356
+ c = this[f], delete this[f];
357
+ else {
358
+ if (a.hasOwnProperty(f) && typeof this[f] == "number" && this[f] == c)
359
+ return;
360
+ if (f == null) {
361
+ const d = b(this), m = d == null ? void 0 : d.$flags$;
362
+ if (m && !(m & 8) && m & 128 && c !== $) {
363
+ const v = d.$lazyInstance$, h = (u = t.$watchers$) == null ? void 0 : u[i];
364
+ h == null || h.forEach((p) => {
365
+ v[p] != null && v[p].call(v, c, $, i);
366
+ });
367
+ }
368
+ return;
369
+ }
370
+ }
371
+ this[f] = c === null && typeof this[f] == "boolean" ? !1 : c;
372
+ });
373
+ }, e.observedAttributes = Array.from(
374
+ /* @__PURE__ */ new Set([
375
+ ...Object.keys((n = t.$watchers$) != null ? n : {}),
376
+ ...l.filter(
377
+ ([i, $]) => $[0] & 15
378
+ /* HasAttribute */
379
+ ).map(([i, $]) => {
380
+ const c = $[1] || i;
381
+ return o.set(c, i), c;
382
+ })
383
+ ])
384
+ );
385
+ }
386
+ }
387
+ return e;
388
+ }, Me = (e, t, s, r) => x(void 0, null, function* () {
389
+ let n;
390
+ if (!(t.$flags$ & 32)) {
391
+ if (t.$flags$ |= 32, s.$lazyBundleId$) {
392
+ const i = de(s);
393
+ if (i && "then" in i) {
394
+ const c = Ee();
395
+ n = yield i, c();
396
+ } else
397
+ n = i;
398
+ if (!n)
399
+ throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
400
+ n.isProxied || (s.$watchers$ = n.watchers, ae(
401
+ n,
402
+ s,
403
+ 2
404
+ /* proxyState */
405
+ ), n.isProxied = !0);
406
+ const $ = S("createInstance", s.$tagName$);
407
+ t.$flags$ |= 8;
408
+ try {
409
+ new n(t);
410
+ } catch (c) {
411
+ E(c);
412
+ }
413
+ t.$flags$ &= -9, t.$flags$ |= 128, $();
414
+ } else {
415
+ n = e.constructor;
416
+ const i = e.localName;
417
+ customElements.whenDefined(i).then(
418
+ () => t.$flags$ |= 128
419
+ /* isWatchReady */
420
+ );
421
+ }
422
+ if (n && n.style) {
423
+ let i;
424
+ typeof n.style == "string" && (i = n.style);
425
+ const $ = R(s);
426
+ if (!_.has($)) {
427
+ const c = S("registerStyles", s.$tagName$);
428
+ je($, i, !!(s.$flags$ & 1)), c();
429
+ }
430
+ }
431
+ }
432
+ const a = t.$ancestorComponent$, l = () => q(t, !0);
433
+ a && a["s-rc"] ? a["s-rc"].push(l) : l();
434
+ }), We = (e) => {
435
+ }, Ye = (e) => {
436
+ if (!(g.$flags$ & 1)) {
437
+ const t = b(e), s = t.$cmpMeta$, r = S("connectedCallback", s.$tagName$);
438
+ if (t.$flags$ & 1)
439
+ t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => We());
440
+ else {
441
+ t.$flags$ |= 1;
442
+ {
443
+ let n = e;
444
+ for (; n = n.parentNode || n.host; )
445
+ if (n["s-p"]) {
446
+ se(t, t.$ancestorComponent$ = n);
447
+ break;
448
+ }
449
+ }
450
+ s.$members$ && Object.entries(s.$members$).map(([n, [a]]) => {
451
+ if (a & 31 && e.hasOwnProperty(n)) {
452
+ const l = e[n];
453
+ delete e[n], e[n] = l;
454
+ }
455
+ }), Me(e, t, s);
456
+ }
457
+ r();
458
+ }
459
+ }, Ge = (e) => {
460
+ }, Je = (e) => x(void 0, null, function* () {
461
+ if (!(g.$flags$ & 1)) {
462
+ const t = b(e);
463
+ t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ge());
464
+ }
465
+ }), Xe = (e, t = {}) => {
466
+ var s;
467
+ const r = S(), n = [], a = t.exclude || [], l = B.customElements, o = y.head, i = /* @__PURE__ */ o.querySelector("meta[charset]"), $ = /* @__PURE__ */ y.createElement("style"), c = [];
468
+ let u, f = !0;
469
+ Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
470
+ let d = !1;
471
+ if (e.map((m) => {
472
+ m[1].map((v) => {
473
+ var h;
474
+ const p = {
475
+ $flags$: v[0],
476
+ $tagName$: v[1],
477
+ $members$: v[2],
478
+ $listeners$: v[3]
479
+ };
480
+ p.$flags$ & 4 && (d = !0), p.$members$ = v[2], p.$watchers$ = (h = v[4]) != null ? h : {};
481
+ const w = p.$tagName$, ie = class extends HTMLElement {
482
+ // StencilLazyHost
483
+ constructor(L) {
484
+ super(L), this.hasRegisteredEventListeners = !1, L = this, fe(L, p);
485
+ }
486
+ connectedCallback() {
487
+ b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), u && (clearTimeout(u), u = null), f ? c.push(this) : g.jmp(() => Ye(this));
488
+ }
489
+ disconnectedCallback() {
490
+ g.jmp(() => Je(this));
491
+ }
492
+ componentOnReady() {
493
+ return b(this).$onReadyPromise$;
494
+ }
495
+ };
496
+ p.$lazyBundleId$ = m[0], !a.includes(w) && !l.get(w) && (n.push(w), l.define(
497
+ w,
498
+ ae(
499
+ ie,
500
+ p,
501
+ 1
502
+ /* isElementConstructor */
503
+ )
504
+ ));
505
+ });
506
+ }), n.length > 0 && (d && ($.textContent += J), $.textContent += n.sort() + me, $.innerHTML.length)) {
507
+ $.setAttribute("data-styles", "");
508
+ const m = (s = g.$nonce$) != null ? s : X(y);
509
+ m != null && $.setAttribute("nonce", m), o.insertBefore($, i ? i.nextSibling : o.firstChild);
510
+ }
511
+ f = !1, c.length ? c.map((m) => m.connectedCallback()) : g.jmp(() => u = setTimeout(re, 30)), r();
512
+ };
513
+ export {
514
+ xe as H,
515
+ Xe as b,
516
+ we as h,
517
+ ve as p,
518
+ Qe as r
519
+ };