@everymatrix/player-account-self-exclusion-nd 1.94.113 → 1.94.115

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 (25) hide show
  1. package/components/{PlayerAccountGeneralConfirmationModal-BTkYS_3A.cjs → PlayerAccountGeneralConfirmationModal-CcXPiMwN.cjs} +1 -1
  2. package/components/{PlayerAccountGeneralConfirmationModal-CNdFJKPT.js → PlayerAccountGeneralConfirmationModal-_rKvSZCr.js} +1 -1
  3. package/components/{PlayerAccountGeneralConfirmationModal-C9HTKtKa.js → PlayerAccountGeneralConfirmationModal-ohsdUi1v.js} +1 -1
  4. package/components/{PlayerAccountModal-BPmVP7p0.js → PlayerAccountModal-BBGyw_YU.js} +1 -1
  5. package/components/{PlayerAccountModal-OYKQFh7w.cjs → PlayerAccountModal-CoeAvFX8.cjs} +1 -1
  6. package/components/{PlayerAccountModal-BDEg-QuR.js → PlayerAccountModal-UEPnXyqB.js} +1 -1
  7. package/components/{PlayerAccountSelfExclusionNd-BB9UkxkQ.js → PlayerAccountSelfExclusionNd-ByFKzxQk.js} +3 -3
  8. package/components/{PlayerAccountSelfExclusionNd-BaOFH2ZF.cjs → PlayerAccountSelfExclusionNd-DeQXDpcW.cjs} +2 -2
  9. package/components/{PlayerAccountSelfExclusionNd-D-xng2F1.js → PlayerAccountSelfExclusionNd-DjSyq_c2.js} +3 -3
  10. package/es2015/player-account-self-exclusion-nd.cjs +1 -1
  11. package/es2015/player-account-self-exclusion-nd.js +1 -1
  12. package/esnext/player-account-self-exclusion-nd.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/index-b2193545-9K-aI7zC.cjs +1 -0
  15. package/stencil/index-b2193545-DsMHU6jb.js +519 -0
  16. package/stencil/index-b2193545-R7ZoV-kY.js +503 -0
  17. package/stencil/{ui-skeleton-aZT0Suei.cjs → ui-skeleton-BreIU6e5.cjs} +1 -1
  18. package/stencil/{ui-skeleton-B9VBo72p.js → ui-skeleton-W50o8tfg.js} +2 -2
  19. package/stencil/{ui-skeleton-ed169f8f-8UVsv6jT.js → ui-skeleton-ed169f8f-CVY4B-CP.js} +1 -1
  20. package/stencil/{ui-skeleton-ed169f8f-CQoA7I2l.cjs → ui-skeleton-ed169f8f-CpiCXJrP.cjs} +1 -1
  21. package/stencil/{ui-skeleton-ed169f8f-BQ-1TtKf.js → ui-skeleton-ed169f8f-D3TjbVKy.js} +1 -1
  22. package/stencil/{ui-skeleton-C7JH5ymf.js → ui-skeleton-xXZA3rYO.js} +2 -2
  23. package/stencil/index-b2193545-BK1eKuNv.js +0 -493
  24. package/stencil/index-b2193545-BzLH-hhx.js +0 -509
  25. package/stencil/index-b2193545-CIfou2cI.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountSelfExclusionNd-BaOFH2ZF.cjs");function A(o,t){e.addMessages(o,t)}function W(o){e.$locale.set(o)}const z={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function q(o){e.append_styles(o,"svelte-8g0wf4",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}')}const H=o=>({}),B=o=>({});function R(o){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"stroke-width","2"),e.attr(n,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(a,i){e.insert(a,t,i),e.append(t,n)},p:e.noop,d(a){a&&e.detach(t)}}}function S(o){let t,n,a;return{c(){t=e.element("div"),n=e.element("h2"),a=e.text(o[1]),e.attr(t,"class","GeneralConfirmationTitle")},m(i,f){e.insert(i,t,f),e.append(t,n),e.append(n,a)},p(i,f){f&2&&e.set_data(a,i[1])},d(i){i&&e.detach(t)}}}function j(o){let t,n=o[4]("cancel")+"",a,i,f;return{c(){t=e.element("button"),a=e.text(n),e.attr(t,"class","GeneralCancelButton")},m(d,C){e.insert(d,t,C),e.append(t,a),i||(f=e.listen(t,"click",o[18]),i=!0)},p(d,C){C&16&&n!==(n=d[4]("cancel")+"")&&e.set_data(a,n)},d(d){d&&e.detach(t),i=!1,f()}}}function U(o){let t,n,a,i,f,d,C,g,x,h,v=o[4]("confirm")+"",_,u,y,k;const w=o[17].close,c=e.create_slot(w,o,o[16],B),p=c||R();let s=o[1]&&S(o),m=o[2]&&j(o);return{c(){t=e.element("div"),n=e.element("div"),a=e.element("span"),p&&p.c(),i=e.space(),s&&s.c(),f=e.space(),d=e.element("div"),C=e.space(),g=e.element("div"),m&&m.c(),x=e.space(),h=e.element("button"),_=e.text(v),e.attr(a,"class","ModalCloseBtn"),e.attr(a,"role","button"),e.attr(d,"class","GeneralConfirmationContent"),e.attr(h,"class","GeneralConfirmButton"),e.attr(g,"class","GeneralConfirmationControlArea "+(o[5]?"GeneralConfirmationControlAreaMobile":"")),e.attr(n,"class","GeneralConfirmationContainer "+(o[5]?"GeneralConfirmationContainerMobile":"")),e.attr(t,"class","GeneralConfirmationWrapper "+(o[5]?"GeneralConfirmationMobileWrapper":""))},m(l,b){e.insert(l,t,b),e.append(t,n),e.append(n,a),p&&p.m(a,null),e.append(n,i),s&&s.m(n,null),e.append(n,f),e.append(n,d),d.innerHTML=o[0],e.append(n,C),e.append(n,g),m&&m.m(g,null),e.append(g,x),e.append(g,h),e.append(h,_),o[20](t),u=!0,y||(k=[e.listen(a,"click",o[6]),e.listen(h,"click",o[19])],y=!0)},p(l,[b]){c&&c.p&&(!u||b&65536)&&e.update_slot_base(c,w,l,l[16],u?e.get_slot_changes(w,l[16],b,H):e.get_all_dirty_from_scope(l[16]),B),l[1]?s?s.p(l,b):(s=S(l),s.c(),s.m(n,f)):s&&(s.d(1),s=null),(!u||b&1)&&(d.innerHTML=l[0]),l[2]?m?m.p(l,b):(m=j(l),m.c(),m.m(g,x)):m&&(m.d(1),m=null),(!u||b&16)&&v!==(v=l[4]("confirm")+"")&&e.set_data(_,v)},i(l){u||(e.transition_in(p,l),u=!0)},o(l){e.transition_out(p,l),u=!1},d(l){l&&e.detach(t),p&&p.d(l),s&&s.d(),m&&m.d(),o[20](null),y=!1,e.run_all(k)}}}function D(o,t,n){let a;e.component_subscribe(o,e.$format,r=>n(4,a=r));let{$$slots:i={},$$scope:f}=t,{modaltext:d="Are you sure that you want to perform this action?"}=t,{modaltitle:C=""}=t,{hascancelbutton:g=!1}=t,{modalconfirmevent:x=""}=t,{modalcancelevent:h=""}=t,{modalconfirmdata:v={}}=t,{lang:_="en"}=t,{clientstyling:u=""}=t,{clientstylingurl:y=""}=t,{translationurl:k=""}=t,{mbsource:w}=t,c,p,s=window.navigator.userAgent,m=e.getDevice(s)!=="PC";const l=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},b=r=>{r==="confirm"&&x&&c.dispatchEvent(new CustomEvent(x,{detail:v,bubbles:!0,composed:!0})),r==="cancel"&&h&&c.dispatchEvent(new CustomEvent(h,{bubbles:!0,composed:!0})),l()},L=()=>{fetch(k).then(G=>G.json()).then(G=>{Object.keys(G).forEach(M=>{A(M,G[M])})}).catch(G=>{console.log(G)})};Object.keys(z).forEach(r=>{A(r,z[r])});const T=()=>{W(_)};e.onMount(()=>()=>{});const O=()=>b("cancel"),P=()=>b("confirm");function N(r){e.binding_callbacks[r?"unshift":"push"](()=>{c=r,n(3,c)})}return o.$$set=r=>{"modaltext"in r&&n(0,d=r.modaltext),"modaltitle"in r&&n(1,C=r.modaltitle),"hascancelbutton"in r&&n(2,g=r.hascancelbutton),"modalconfirmevent"in r&&n(8,x=r.modalconfirmevent),"modalcancelevent"in r&&n(9,h=r.modalcancelevent),"modalconfirmdata"in r&&n(10,v=r.modalconfirmdata),"lang"in r&&n(11,_=r.lang),"clientstyling"in r&&n(12,u=r.clientstyling),"clientstylingurl"in r&&n(13,y=r.clientstylingurl),"translationurl"in r&&n(14,k=r.translationurl),"mbsource"in r&&n(15,w=r.mbsource),"$$scope"in r&&n(16,f=r.$$scope)},o.$$.update=()=>{o.$$.dirty&2049&&d&&_&&T(),o.$$.dirty&4104&&u&&c&&e.setClientStyling(c,u),o.$$.dirty&8200&&y&&c&&e.setClientStylingURL(c,y),o.$$.dirty&32776&&w&&c&&e.setStreamStyling(c,`${w}.Style`,p),o.$$.dirty&16384&&k&&L()},[d,C,g,c,a,m,l,b,x,h,v,_,u,y,k,w,f,i,O,P,N]}class E extends e.SvelteComponent{constructor(t){super(),e.init(this,t,D,U,e.safe_not_equal,{modaltext:0,modaltitle:1,hascancelbutton:2,modalconfirmevent:8,modalcancelevent:9,modalconfirmdata:10,lang:11,clientstyling:12,clientstylingurl:13,translationurl:14,mbsource:15},q)}get modaltext(){return this.$$.ctx[0]}set modaltext(t){this.$$set({modaltext:t}),e.flush()}get modaltitle(){return this.$$.ctx[1]}set modaltitle(t){this.$$set({modaltitle:t}),e.flush()}get hascancelbutton(){return this.$$.ctx[2]}set hascancelbutton(t){this.$$set({hascancelbutton:t}),e.flush()}get modalconfirmevent(){return this.$$.ctx[8]}set modalconfirmevent(t){this.$$set({modalconfirmevent:t}),e.flush()}get modalcancelevent(){return this.$$.ctx[9]}set modalcancelevent(t){this.$$set({modalcancelevent:t}),e.flush()}get modalconfirmdata(){return this.$$.ctx[10]}set modalconfirmdata(t){this.$$set({modalconfirmdata:t}),e.flush()}get lang(){return this.$$.ctx[11]}set lang(t){this.$$set({lang: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()}}e.create_custom_element(E,{modaltext:{},modaltitle:{},hascancelbutton:{type:"Boolean"},modalconfirmevent:{},modalcancelevent:{},modalconfirmdata:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["close"],[],!0);exports.default=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountSelfExclusionNd-DeQXDpcW.cjs");function A(o,t){e.addMessages(o,t)}function W(o){e.$locale.set(o)}const z={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function q(o){e.append_styles(o,"svelte-8g0wf4",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}')}const H=o=>({}),B=o=>({});function R(o){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"stroke-width","2"),e.attr(n,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(a,i){e.insert(a,t,i),e.append(t,n)},p:e.noop,d(a){a&&e.detach(t)}}}function S(o){let t,n,a;return{c(){t=e.element("div"),n=e.element("h2"),a=e.text(o[1]),e.attr(t,"class","GeneralConfirmationTitle")},m(i,f){e.insert(i,t,f),e.append(t,n),e.append(n,a)},p(i,f){f&2&&e.set_data(a,i[1])},d(i){i&&e.detach(t)}}}function j(o){let t,n=o[4]("cancel")+"",a,i,f;return{c(){t=e.element("button"),a=e.text(n),e.attr(t,"class","GeneralCancelButton")},m(d,C){e.insert(d,t,C),e.append(t,a),i||(f=e.listen(t,"click",o[18]),i=!0)},p(d,C){C&16&&n!==(n=d[4]("cancel")+"")&&e.set_data(a,n)},d(d){d&&e.detach(t),i=!1,f()}}}function U(o){let t,n,a,i,f,d,C,g,x,h,v=o[4]("confirm")+"",_,u,y,k;const w=o[17].close,c=e.create_slot(w,o,o[16],B),p=c||R();let s=o[1]&&S(o),m=o[2]&&j(o);return{c(){t=e.element("div"),n=e.element("div"),a=e.element("span"),p&&p.c(),i=e.space(),s&&s.c(),f=e.space(),d=e.element("div"),C=e.space(),g=e.element("div"),m&&m.c(),x=e.space(),h=e.element("button"),_=e.text(v),e.attr(a,"class","ModalCloseBtn"),e.attr(a,"role","button"),e.attr(d,"class","GeneralConfirmationContent"),e.attr(h,"class","GeneralConfirmButton"),e.attr(g,"class","GeneralConfirmationControlArea "+(o[5]?"GeneralConfirmationControlAreaMobile":"")),e.attr(n,"class","GeneralConfirmationContainer "+(o[5]?"GeneralConfirmationContainerMobile":"")),e.attr(t,"class","GeneralConfirmationWrapper "+(o[5]?"GeneralConfirmationMobileWrapper":""))},m(l,b){e.insert(l,t,b),e.append(t,n),e.append(n,a),p&&p.m(a,null),e.append(n,i),s&&s.m(n,null),e.append(n,f),e.append(n,d),d.innerHTML=o[0],e.append(n,C),e.append(n,g),m&&m.m(g,null),e.append(g,x),e.append(g,h),e.append(h,_),o[20](t),u=!0,y||(k=[e.listen(a,"click",o[6]),e.listen(h,"click",o[19])],y=!0)},p(l,[b]){c&&c.p&&(!u||b&65536)&&e.update_slot_base(c,w,l,l[16],u?e.get_slot_changes(w,l[16],b,H):e.get_all_dirty_from_scope(l[16]),B),l[1]?s?s.p(l,b):(s=S(l),s.c(),s.m(n,f)):s&&(s.d(1),s=null),(!u||b&1)&&(d.innerHTML=l[0]),l[2]?m?m.p(l,b):(m=j(l),m.c(),m.m(g,x)):m&&(m.d(1),m=null),(!u||b&16)&&v!==(v=l[4]("confirm")+"")&&e.set_data(_,v)},i(l){u||(e.transition_in(p,l),u=!0)},o(l){e.transition_out(p,l),u=!1},d(l){l&&e.detach(t),p&&p.d(l),s&&s.d(),m&&m.d(),o[20](null),y=!1,e.run_all(k)}}}function D(o,t,n){let a;e.component_subscribe(o,e.$format,r=>n(4,a=r));let{$$slots:i={},$$scope:f}=t,{modaltext:d="Are you sure that you want to perform this action?"}=t,{modaltitle:C=""}=t,{hascancelbutton:g=!1}=t,{modalconfirmevent:x=""}=t,{modalcancelevent:h=""}=t,{modalconfirmdata:v={}}=t,{lang:_="en"}=t,{clientstyling:u=""}=t,{clientstylingurl:y=""}=t,{translationurl:k=""}=t,{mbsource:w}=t,c,p,s=window.navigator.userAgent,m=e.getDevice(s)!=="PC";const l=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},b=r=>{r==="confirm"&&x&&c.dispatchEvent(new CustomEvent(x,{detail:v,bubbles:!0,composed:!0})),r==="cancel"&&h&&c.dispatchEvent(new CustomEvent(h,{bubbles:!0,composed:!0})),l()},L=()=>{fetch(k).then(G=>G.json()).then(G=>{Object.keys(G).forEach(M=>{A(M,G[M])})}).catch(G=>{console.log(G)})};Object.keys(z).forEach(r=>{A(r,z[r])});const T=()=>{W(_)};e.onMount(()=>()=>{});const O=()=>b("cancel"),P=()=>b("confirm");function N(r){e.binding_callbacks[r?"unshift":"push"](()=>{c=r,n(3,c)})}return o.$$set=r=>{"modaltext"in r&&n(0,d=r.modaltext),"modaltitle"in r&&n(1,C=r.modaltitle),"hascancelbutton"in r&&n(2,g=r.hascancelbutton),"modalconfirmevent"in r&&n(8,x=r.modalconfirmevent),"modalcancelevent"in r&&n(9,h=r.modalcancelevent),"modalconfirmdata"in r&&n(10,v=r.modalconfirmdata),"lang"in r&&n(11,_=r.lang),"clientstyling"in r&&n(12,u=r.clientstyling),"clientstylingurl"in r&&n(13,y=r.clientstylingurl),"translationurl"in r&&n(14,k=r.translationurl),"mbsource"in r&&n(15,w=r.mbsource),"$$scope"in r&&n(16,f=r.$$scope)},o.$$.update=()=>{o.$$.dirty&2049&&d&&_&&T(),o.$$.dirty&4104&&u&&c&&e.setClientStyling(c,u),o.$$.dirty&8200&&y&&c&&e.setClientStylingURL(c,y),o.$$.dirty&32776&&w&&c&&e.setStreamStyling(c,`${w}.Style`,p),o.$$.dirty&16384&&k&&L()},[d,C,g,c,a,m,l,b,x,h,v,_,u,y,k,w,f,i,O,P,N]}class E extends e.SvelteComponent{constructor(t){super(),e.init(this,t,D,U,e.safe_not_equal,{modaltext:0,modaltitle:1,hascancelbutton:2,modalconfirmevent:8,modalcancelevent:9,modalconfirmdata:10,lang:11,clientstyling:12,clientstylingurl:13,translationurl:14,mbsource:15},q)}get modaltext(){return this.$$.ctx[0]}set modaltext(t){this.$$set({modaltext:t}),e.flush()}get modaltitle(){return this.$$.ctx[1]}set modaltitle(t){this.$$set({modaltitle:t}),e.flush()}get hascancelbutton(){return this.$$.ctx[2]}set hascancelbutton(t){this.$$set({hascancelbutton:t}),e.flush()}get modalconfirmevent(){return this.$$.ctx[8]}set modalconfirmevent(t){this.$$set({modalconfirmevent:t}),e.flush()}get modalcancelevent(){return this.$$.ctx[9]}set modalcancelevent(t){this.$$set({modalcancelevent:t}),e.flush()}get modalconfirmdata(){return this.$$.ctx[10]}set modalconfirmdata(t){this.$$set({modalconfirmdata:t}),e.flush()}get lang(){return this.$$.ctx[11]}set lang(t){this.$$set({lang: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()}}e.create_custom_element(E,{modaltext:{},modaltitle:{},hascancelbutton:{type:"Boolean"},modalconfirmevent:{},modalcancelevent:{},modalconfirmdata:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["close"],[],!0);exports.default=E;
@@ -1,4 +1,4 @@
1
- import { B as K, $ as Q, S as V, a as X, s as Y, f as h, b as Z, l as $, d as S, C as ee, t as te, e as ne, u as oe, p as ae, q as re, D as E, j as L, r as d, E as j, v as _, F as B, G as T, w as i, H as ie, I as le, o as se, x as ce, J as me, K as W, y as fe, z as de, A as ue, c as be, L as ge } from "./PlayerAccountSelfExclusionNd-BB9UkxkQ.js";
1
+ import { B as K, $ as Q, S as V, a as X, s as Y, f as h, b as Z, l as $, d as S, C as ee, t as te, e as ne, u as oe, p as ae, q as re, D as E, j as L, r as d, E as j, v as _, F as B, G as T, w as i, H as ie, I as le, o as se, x as ce, J as me, K as W, y as fe, z as de, A as ue, c as be, L as ge } from "./PlayerAccountSelfExclusionNd-ByFKzxQk.js";
2
2
  function H(n, e) {
3
3
  K(n, e);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { B as K, $ as Q, S as V, a as X, s as Y, f as h, b as Z, j as $, d as S, C as ee, t as te, c as ne, u as oe, m as ae, n as re, D as E, g as L, p as d, E as j, q as _, F as B, G as T, r as i, H as ie, I as le, o as se, v as ce, J as me, K as W, x as fe, y as de, z as ue, A as be, L as ge } from "./PlayerAccountSelfExclusionNd-D-xng2F1.js";
1
+ import { B as K, $ as Q, S as V, a as X, s as Y, f as h, b as Z, j as $, d as S, C as ee, t as te, c as ne, u as oe, m as ae, n as re, D as E, g as L, p as d, E as j, q as _, F as B, G as T, r as i, H as ie, I as le, o as se, v as ce, J as me, K as W, x as fe, y as de, z as ue, A as be, L as ge } from "./PlayerAccountSelfExclusionNd-DjSyq_c2.js";
2
2
  function H(n, e) {
3
3
  K(n, e);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { i as q, S as A, a as W, s as B, f, b as H, d as L, t as w, c as m, e as N, g as z, h as P, o as R, j as U, k as S, l as p, u as F, m as G, n as I, p as v, q as _, r as y, v as k, w as J, x as K, y as O, z as Q, A as T } from "./PlayerAccountSelfExclusionNd-D-xng2F1.js";
1
+ import { i as q, S as A, a as W, s as B, f, b as H, d as L, t as w, c as m, e as N, g as z, h as P, o as R, j as U, k as S, l as p, u as F, m as G, n as I, p as v, q as _, r as y, v as k, w as J, x as K, y as O, z as Q, A as T } from "./PlayerAccountSelfExclusionNd-DjSyq_c2.js";
2
2
  function M(e, { delay: t = 0, duration: n = 400, easing: i = q } = {}) {
3
3
  const s = +getComputedStyle(e).opacity;
4
4
  return {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountSelfExclusionNd-BaOFH2ZF.cjs");function g(n,{delay:e=0,duration:i=400,easing:l=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:i,easing:l,css:r=>`opacity: ${r*s}`}}function M(n){t.append_styles(n,"svelte-126fglp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}")}function y(n){let e,i,l,s,r;const f=n[9].default,a=t.create_slot(f,n,n[8],null);return{c(){e=t.element("div"),i=t.element("div"),l=t.element("div"),a&&a.c(),t.attr(l,"class","ModalContainer"),t.attr(i,"class","ModalWindow"),t.attr(i,"id","Modal")},m(u,c){t.insert(u,e,c),t.append(e,i),t.append(i,l),a&&a.m(l,null),n[10](i),n[11](e),r=!0},p(u,c){n=u,a&&a.p&&(!r||c&256)&&t.update_slot_base(a,f,n,n[8],r?t.get_slot_changes(f,n[8],c,null):t.get_all_dirty_from_scope(n[8]),null)},i(u){r||(t.transition_in(a,u),u&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(u){t.transition_out(a,u),u&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(u){u&&t.detach(e),a&&a.d(u),n[10](null),u&&s&&s.end(),n[11](null)}}}function k(n){let e,i,l=n[0]&&y(n);return{c(){l&&l.c(),e=t.empty()},m(s,r){l&&l.m(s,r),t.insert(s,e,r),i=!0},p(s,[r]){s[0]?l?(l.p(s,r),r&1&&t.transition_in(l,1)):(l=y(s),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(s){i||(t.transition_in(l),i=!0)},o(s){t.transition_out(l),i=!1},d(s){s&&t.detach(e),l&&l.d(s)}}}function C(n,e,i){let{$$slots:l={},$$scope:s}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:a=""}=e,{clientstylingurl:u=""}=e,{mbsource:c}=e,{showmodaleventname:m="ShowLimitsConfirmationModal"}=e,d,w,_;const h=o=>{switch(o.data.type){case"ModalClosed":i(0,r=!1);break;case m:i(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href);break}};t.onMount(()=>(window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)}));function S(o){t.binding_callbacks[o?"unshift":"push"](()=>{_=o,i(3,_)})}function v(o){t.binding_callbacks[o?"unshift":"push"](()=>{d=o,i(2,d)})}return n.$$set=o=>{"show"in o&&i(0,r=o.show),"duration"in o&&i(1,f=o.duration),"clientstyling"in o&&i(4,a=o.clientstyling),"clientstylingurl"in o&&i(5,u=o.clientstylingurl),"mbsource"in o&&i(6,c=o.mbsource),"showmodaleventname"in o&&i(7,m=o.showmodaleventname),"$$scope"in o&&i(8,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&20&&a&&d&&t.setClientStyling(d,a),n.$$.dirty&36&&u&&d&&t.setClientStylingURL(d,u),n.$$.dirty&68&&c&&d&&t.setStreamStyling(d,`${c}.Style`,w)},[r,f,d,_,a,u,c,m,s,l,S,v]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,C,k,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5,mbsource:6,showmodaleventname:7},M)}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),t.flush()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get showmodaleventname(){return this.$$.ctx[7]}set showmodaleventname(e){this.$$set({showmodaleventname:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{},mbsource:{},showmodaleventname:{}},["default"],[],!0);exports.default=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountSelfExclusionNd-DeQXDpcW.cjs");function g(n,{delay:e=0,duration:i=400,easing:l=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:i,easing:l,css:r=>`opacity: ${r*s}`}}function M(n){t.append_styles(n,"svelte-126fglp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}")}function y(n){let e,i,l,s,r;const f=n[9].default,a=t.create_slot(f,n,n[8],null);return{c(){e=t.element("div"),i=t.element("div"),l=t.element("div"),a&&a.c(),t.attr(l,"class","ModalContainer"),t.attr(i,"class","ModalWindow"),t.attr(i,"id","Modal")},m(u,c){t.insert(u,e,c),t.append(e,i),t.append(i,l),a&&a.m(l,null),n[10](i),n[11](e),r=!0},p(u,c){n=u,a&&a.p&&(!r||c&256)&&t.update_slot_base(a,f,n,n[8],r?t.get_slot_changes(f,n[8],c,null):t.get_all_dirty_from_scope(n[8]),null)},i(u){r||(t.transition_in(a,u),u&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(u){t.transition_out(a,u),u&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(u){u&&t.detach(e),a&&a.d(u),n[10](null),u&&s&&s.end(),n[11](null)}}}function k(n){let e,i,l=n[0]&&y(n);return{c(){l&&l.c(),e=t.empty()},m(s,r){l&&l.m(s,r),t.insert(s,e,r),i=!0},p(s,[r]){s[0]?l?(l.p(s,r),r&1&&t.transition_in(l,1)):(l=y(s),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(s){i||(t.transition_in(l),i=!0)},o(s){t.transition_out(l),i=!1},d(s){s&&t.detach(e),l&&l.d(s)}}}function C(n,e,i){let{$$slots:l={},$$scope:s}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:a=""}=e,{clientstylingurl:u=""}=e,{mbsource:c}=e,{showmodaleventname:m="ShowLimitsConfirmationModal"}=e,d,w,_;const h=o=>{switch(o.data.type){case"ModalClosed":i(0,r=!1);break;case m:i(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href);break}};t.onMount(()=>(window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)}));function S(o){t.binding_callbacks[o?"unshift":"push"](()=>{_=o,i(3,_)})}function v(o){t.binding_callbacks[o?"unshift":"push"](()=>{d=o,i(2,d)})}return n.$$set=o=>{"show"in o&&i(0,r=o.show),"duration"in o&&i(1,f=o.duration),"clientstyling"in o&&i(4,a=o.clientstyling),"clientstylingurl"in o&&i(5,u=o.clientstylingurl),"mbsource"in o&&i(6,c=o.mbsource),"showmodaleventname"in o&&i(7,m=o.showmodaleventname),"$$scope"in o&&i(8,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&20&&a&&d&&t.setClientStyling(d,a),n.$$.dirty&36&&u&&d&&t.setClientStylingURL(d,u),n.$$.dirty&68&&c&&d&&t.setStreamStyling(d,`${c}.Style`,w)},[r,f,d,_,a,u,c,m,s,l,S,v]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,C,k,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5,mbsource:6,showmodaleventname:7},M)}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),t.flush()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get showmodaleventname(){return this.$$.ctx[7]}set showmodaleventname(e){this.$$set({showmodaleventname:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{},mbsource:{},showmodaleventname:{}},["default"],[],!0);exports.default=b;
@@ -1,4 +1,4 @@
1
- import { i as q, S as A, a as W, f, s as B, c as H, b as N, d as L, t as w, e as m, g as P, h as R, j as z, k as U, o as p, l as F, m as S, n as G, u as I, p as J, q as K, r as v, v as _, w as y, x as k, y as O, z as Q, A as T } from "./PlayerAccountSelfExclusionNd-BB9UkxkQ.js";
1
+ import { i as q, S as A, a as W, f, s as B, c as H, b as N, d as L, t as w, e as m, g as P, h as R, j as z, k as U, o as p, l as F, m as S, n as G, u as I, p as J, q as K, r as v, v as _, w as y, x as k, y as O, z as Q, A as T } from "./PlayerAccountSelfExclusionNd-ByFKzxQk.js";
2
2
  function M(e, { delay: t = 0, duration: n = 400, easing: i = q } = {}) {
3
3
  const s = +getComputedStyle(e).opacity;
4
4
  return {
@@ -1,4 +1,4 @@
1
- import "../stencil/ui-skeleton-B9VBo72p.js";
1
+ import "../stencil/ui-skeleton-W50o8tfg.js";
2
2
  function Se() {
3
3
  }
4
4
  const dl = (e) => e;
@@ -20679,7 +20679,7 @@ if (typeof window < "u") {
20679
20679
  }
20680
20680
  };
20681
20681
  };
20682
- customElements.define = e(customElements.define), import("./PlayerAccountModal-BDEg-QuR.js").then(({ default: i }) => {
20682
+ customElements.define = e(customElements.define), import("./PlayerAccountModal-UEPnXyqB.js").then(({ default: i }) => {
20683
20683
  !customElements.get("player-account-modal") && customElements.define("player-account-modal", i.element);
20684
20684
  });
20685
20685
  }
@@ -20695,7 +20695,7 @@ if (typeof window < "u") {
20695
20695
  }
20696
20696
  };
20697
20697
  };
20698
- customElements.define = e(customElements.define), import("./PlayerAccountGeneralConfirmationModal-CNdFJKPT.js").then(
20698
+ customElements.define = e(customElements.define), import("./PlayerAccountGeneralConfirmationModal-_rKvSZCr.js").then(
20699
20699
  ({ default: i }) => {
20700
20700
  !customElements.get("player-account-general-confirmation-modal") && customElements.define(
20701
20701
  "player-account-general-confirmation-modal",
@@ -1,4 +1,4 @@
1
- "use strict";var Ul=Object.defineProperty,jl=Object.defineProperties;var Vl=Object.getOwnPropertyDescriptors;var Yo=Object.getOwnPropertySymbols;var Yl=Object.prototype.hasOwnProperty,Gl=Object.prototype.propertyIsEnumerable;var Qi=(t,i,e)=>i in t?Ul(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e,Nt=(t,i)=>{for(var e in i||(i={}))Yl.call(i,e)&&Qi(t,e,i[e]);if(Yo)for(var e of Yo(i))Gl.call(i,e)&&Qi(t,e,i[e]);return t},Lt=(t,i)=>jl(t,Vl(i));var Te=(t,i,e)=>(Qi(t,typeof i!="symbol"?i+"":i,e),e);var at=(t,i,e)=>new Promise((r,o)=>{var n=l=>{try{a(e.next(l))}catch(u){o(u)}},s=l=>{try{a(e.throw(l))}catch(u){o(u)}},a=l=>l.done?r(l.value):Promise.resolve(l.value).then(n,s);a((e=e.apply(t,i)).next())});require("../stencil/ui-skeleton-aZT0Suei.cjs");function xe(){}const ms=t=>t;function Wl(t,i){for(const e in i)t[e]=i[e];return t}function _s(t){return t()}function Go(){return Object.create(null)}function Ue(t){t.forEach(_s)}function Ri(t){return typeof t=="function"}function po(t,i){return t!=t?i==i:t!==i||t&&typeof t=="object"||typeof t=="function"}function ql(t){return Object.keys(t).length===0}function gs(t,...i){if(t==null){for(const r of i)r(void 0);return xe}const e=t.subscribe(...i);return e.unsubscribe?()=>e.unsubscribe():e}function bs(t,i,e){t.$$.on_destroy.push(gs(i,e))}function Xl(t,i,e,r){if(t){const o=ys(t,i,e,r);return t[0](o)}}function ys(t,i,e,r){return t[1]&&r?Wl(e.ctx.slice(),t[1](r(i))):e.ctx}function Kl(t,i,e,r){if(t[2]&&r){const o=t[2](r(e));if(i.dirty===void 0)return o;if(typeof o=="object"){const n=[],s=Math.max(i.dirty.length,o.length);for(let a=0;a<s;a+=1)n[a]=i.dirty[a]|o[a];return n}return i.dirty|o}return i.dirty}function Jl(t,i,e,r,o,n){if(o){const s=ys(i,e,r,n);t.p(s,o)}}function Zl(t){if(t.ctx.length>32){const i=[],e=t.ctx.length/32;for(let r=0;r<e;r++)i[r]=-1;return i}return-1}const vs=typeof window!="undefined";let Ql=vs?()=>window.performance.now():()=>Date.now(),mo=vs?t=>requestAnimationFrame(t):xe;const mt=new Set;function xs(t){mt.forEach(i=>{i.c(t)||(mt.delete(i),i.f())}),mt.size!==0&&mo(xs)}function eu(t){let i;return mt.size===0&&mo(xs),{promise:new Promise(e=>{mt.add(i={c:t,f:e})}),abort(){mt.delete(i)}}}function y(t,i){t.appendChild(i)}function Es(t,i,e){const r=_o(t);if(!r.getElementById(i)){const o=k("style");o.id=i,o.textContent=e,ws(r,o)}}function _o(t){if(!t)return document;const i=t.getRootNode?t.getRootNode():t.ownerDocument;return i&&i.host?i:t.ownerDocument}function tu(t){const i=k("style");return i.textContent="/* empty */",ws(_o(t),i),i.sheet}function ws(t,i){return y(t.head||t,i),i.sheet}function be(t,i,e){t.insertBefore(i,e||null)}function fe(t){t.parentNode&&t.parentNode.removeChild(t)}function iu(t,i){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(i)}function k(t){return document.createElement(t)}function Oe(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function _e(t){return document.createTextNode(t)}function ee(){return _e(" ")}function Ss(){return _e("")}function Xt(t,i,e,r){return t.addEventListener(i,e,r),()=>t.removeEventListener(i,e,r)}function O(t,i,e){e==null?t.removeAttribute(i):t.getAttribute(i)!==e&&t.setAttribute(i,e)}function L(t,i,e){const r=i.toLowerCase();r in t?t[r]=typeof t[r]=="boolean"&&e===""?!0:e:i in t?t[i]=typeof t[i]=="boolean"&&e===""?!0:e:O(t,i,e)}function ru(t){return Array.from(t.childNodes)}function Ce(t,i){i=""+i,t.data!==i&&(t.data=i)}function er(t,i,e,r){e==null?t.style.removeProperty(i):t.style.setProperty(i,e,"")}function lt(t,i,e){t.classList.toggle(i,!!e)}function ou(t,i,{bubbles:e=!1,cancelable:r=!1}={}){return new CustomEvent(t,{detail:i,bubbles:e,cancelable:r})}function nu(t){const i={};return t.childNodes.forEach(e=>{i[e.slot||"default"]=!0}),i}const Ti=new Map;let Pi=0;function su(t){let i=5381,e=t.length;for(;e--;)i=(i<<5)-i^t.charCodeAt(e);return i>>>0}function au(t,i){const e={stylesheet:tu(i),rules:{}};return Ti.set(t,e),e}function Wo(t,i,e,r,o,n,s,a=0){const l=16.666/r;let u=`{
1
+ "use strict";var Ul=Object.defineProperty,jl=Object.defineProperties;var Vl=Object.getOwnPropertyDescriptors;var Yo=Object.getOwnPropertySymbols;var Yl=Object.prototype.hasOwnProperty,Gl=Object.prototype.propertyIsEnumerable;var Qi=(t,i,e)=>i in t?Ul(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e,Nt=(t,i)=>{for(var e in i||(i={}))Yl.call(i,e)&&Qi(t,e,i[e]);if(Yo)for(var e of Yo(i))Gl.call(i,e)&&Qi(t,e,i[e]);return t},Lt=(t,i)=>jl(t,Vl(i));var Te=(t,i,e)=>(Qi(t,typeof i!="symbol"?i+"":i,e),e);var at=(t,i,e)=>new Promise((r,o)=>{var n=l=>{try{a(e.next(l))}catch(u){o(u)}},s=l=>{try{a(e.throw(l))}catch(u){o(u)}},a=l=>l.done?r(l.value):Promise.resolve(l.value).then(n,s);a((e=e.apply(t,i)).next())});require("../stencil/ui-skeleton-BreIU6e5.cjs");function xe(){}const ms=t=>t;function Wl(t,i){for(const e in i)t[e]=i[e];return t}function _s(t){return t()}function Go(){return Object.create(null)}function Ue(t){t.forEach(_s)}function Ri(t){return typeof t=="function"}function po(t,i){return t!=t?i==i:t!==i||t&&typeof t=="object"||typeof t=="function"}function ql(t){return Object.keys(t).length===0}function gs(t,...i){if(t==null){for(const r of i)r(void 0);return xe}const e=t.subscribe(...i);return e.unsubscribe?()=>e.unsubscribe():e}function bs(t,i,e){t.$$.on_destroy.push(gs(i,e))}function Xl(t,i,e,r){if(t){const o=ys(t,i,e,r);return t[0](o)}}function ys(t,i,e,r){return t[1]&&r?Wl(e.ctx.slice(),t[1](r(i))):e.ctx}function Kl(t,i,e,r){if(t[2]&&r){const o=t[2](r(e));if(i.dirty===void 0)return o;if(typeof o=="object"){const n=[],s=Math.max(i.dirty.length,o.length);for(let a=0;a<s;a+=1)n[a]=i.dirty[a]|o[a];return n}return i.dirty|o}return i.dirty}function Jl(t,i,e,r,o,n){if(o){const s=ys(i,e,r,n);t.p(s,o)}}function Zl(t){if(t.ctx.length>32){const i=[],e=t.ctx.length/32;for(let r=0;r<e;r++)i[r]=-1;return i}return-1}const vs=typeof window!="undefined";let Ql=vs?()=>window.performance.now():()=>Date.now(),mo=vs?t=>requestAnimationFrame(t):xe;const mt=new Set;function xs(t){mt.forEach(i=>{i.c(t)||(mt.delete(i),i.f())}),mt.size!==0&&mo(xs)}function eu(t){let i;return mt.size===0&&mo(xs),{promise:new Promise(e=>{mt.add(i={c:t,f:e})}),abort(){mt.delete(i)}}}function y(t,i){t.appendChild(i)}function Es(t,i,e){const r=_o(t);if(!r.getElementById(i)){const o=k("style");o.id=i,o.textContent=e,ws(r,o)}}function _o(t){if(!t)return document;const i=t.getRootNode?t.getRootNode():t.ownerDocument;return i&&i.host?i:t.ownerDocument}function tu(t){const i=k("style");return i.textContent="/* empty */",ws(_o(t),i),i.sheet}function ws(t,i){return y(t.head||t,i),i.sheet}function be(t,i,e){t.insertBefore(i,e||null)}function fe(t){t.parentNode&&t.parentNode.removeChild(t)}function iu(t,i){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(i)}function k(t){return document.createElement(t)}function Oe(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function _e(t){return document.createTextNode(t)}function ee(){return _e(" ")}function Ss(){return _e("")}function Xt(t,i,e,r){return t.addEventListener(i,e,r),()=>t.removeEventListener(i,e,r)}function O(t,i,e){e==null?t.removeAttribute(i):t.getAttribute(i)!==e&&t.setAttribute(i,e)}function L(t,i,e){const r=i.toLowerCase();r in t?t[r]=typeof t[r]=="boolean"&&e===""?!0:e:i in t?t[i]=typeof t[i]=="boolean"&&e===""?!0:e:O(t,i,e)}function ru(t){return Array.from(t.childNodes)}function Ce(t,i){i=""+i,t.data!==i&&(t.data=i)}function er(t,i,e,r){e==null?t.style.removeProperty(i):t.style.setProperty(i,e,"")}function lt(t,i,e){t.classList.toggle(i,!!e)}function ou(t,i,{bubbles:e=!1,cancelable:r=!1}={}){return new CustomEvent(t,{detail:i,bubbles:e,cancelable:r})}function nu(t){const i={};return t.childNodes.forEach(e=>{i[e.slot||"default"]=!0}),i}const Ti=new Map;let Pi=0;function su(t){let i=5381,e=t.length;for(;e--;)i=(i<<5)-i^t.charCodeAt(e);return i>>>0}function au(t,i){const e={stylesheet:tu(i),rules:{}};return Ti.set(t,e),e}function Wo(t,i,e,r,o,n,s,a=0){const l=16.666/r;let u=`{
2
2
  `;for(let _=0;_<=1;_+=l){const A=i+(e-i)*n(_);u+=_*100+`%{${s(A,1-A)}}
3
3
  `}const c=u+`100% {${s(e,1-e)}}
4
4
  }`,h=`__svelte_${su(c)}_${a}`,d=_o(t),{stylesheet:p,rules:m}=Ti.get(d)||au(d,t);m[h]||(m[h]=!0,p.insertRule(`@keyframes ${h} ${c}`,p.cssRules.length));const f=t.style.animation||"";return t.style.animation=`${f?`${f}, `:""}${h} ${r}ms linear ${o}ms 1 both`,Pi+=1,h}function lu(t,i){const e=(t.style.animation||"").split(", "),r=e.filter(i?n=>n.indexOf(i)<0:n=>n.indexOf("__svelte")===-1),o=e.length-r.length;o&&(t.style.animation=r.join(", "),Pi-=o,Pi||uu())}function uu(){mo(()=>{Pi||(Ti.forEach(t=>{const{ownerNode:i}=t.stylesheet;i&&fe(i)}),Ti.clear())})}let Kt;function Yt(t){Kt=t}function cu(){if(!Kt)throw new Error("Function called outside component initialization");return Kt}function As(t){cu().$$.on_mount.push(t)}const dt=[],_t=[];let gt=[];const qo=[],hu=Promise.resolve();let Pr=!1;function du(){Pr||(Pr=!0,hu.then(he))}function Jt(t){gt.push(t)}const tr=new Set;let ut=0;function he(){if(ut!==0)return;const t=Kt;do{try{for(;ut<dt.length;){const i=dt[ut];ut++,Yt(i),fu(i.$$)}}catch(i){throw dt.length=0,ut=0,i}for(Yt(null),dt.length=0,ut=0;_t.length;)_t.pop()();for(let i=0;i<gt.length;i+=1){const e=gt[i];tr.has(e)||(tr.add(e),e())}gt.length=0}while(dt.length);for(;qo.length;)qo.pop()();Pr=!1,tr.clear(),Yt(t)}function fu(t){if(t.fragment!==null){t.update(),Ue(t.before_update);const i=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,i),t.after_update.forEach(Jt)}}function pu(t){const i=[],e=[];gt.forEach(r=>t.indexOf(r)===-1?i.push(r):e.push(r)),e.forEach(r=>r()),gt=i}let Ft;function mu(){return Ft||(Ft=Promise.resolve(),Ft.then(()=>{Ft=null})),Ft}function ir(t,i,e){t.dispatchEvent(ou(`${i?"intro":"outro"}${e}`))}const vi=new Set;let Be;function _u(){Be={r:0,c:[],p:Be}}function gu(){Be.r||Ue(Be.c),Be=Be.p}function Cs(t,i){t&&t.i&&(vi.delete(t),t.i(i))}function bu(t,i,e,r){if(t&&t.o){if(vi.has(t))return;vi.add(t),Be.c.push(()=>{vi.delete(t),r&&(e&&t.d(1),r())}),t.o(i)}else r&&r()}const yu={duration:0};function vu(t,i,e,r){let n=i(t,e,{direction:"both"}),s=r?0:1,a=null,l=null,u=null,c;function h(){u&&lu(t,u)}function d(m,f){const _=m.b-s;return f*=Math.abs(_),{a:s,b:m.b,d:_,duration:f,start:m.start,end:m.start+f,group:m.group}}function p(m){const{delay:f=0,duration:_=300,easing:A=ms,tick:E=xe,css:D}=n||yu,F={start:Ql()+f,b:m};m||(F.group=Be,Be.r+=1),"inert"in t&&(m?c!==void 0&&(t.inert=c):(c=t.inert,t.inert=!0)),a||l?l=F:(D&&(h(),u=Wo(t,s,m,_,f,A,D)),m&&E(0,1),a=d(F,_),Jt(()=>ir(t,m,"start")),eu(P=>{if(l&&P>l.start&&(a=d(l,_),l=null,ir(t,a.b,"start"),D&&(h(),u=Wo(t,s,a.b,a.duration,0,A,n.css))),a){if(P>=a.end)E(s=a.b,1-s),ir(t,a.b,"end"),l||(a.b?h():--a.group.r||Ue(a.group.c)),a=null;else if(P>=a.start){const R=P-a.start;s=a.a+a.d*A(R/a.duration),E(s,1-s)}}return!!(a||l)}))}return{run(m){Ri(n)?mu().then(()=>{n=n({direction:m?"in":"out"}),p(m)}):p(m)},end(){h(),a=l=null}}}function Xo(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function xu(t,i,e){const{fragment:r,after_update:o}=t.$$;r&&r.m(i,e),Jt(()=>{const n=t.$$.on_mount.map(_s).filter(Ri);t.$$.on_destroy?t.$$.on_destroy.push(...n):Ue(n),t.$$.on_mount=[]}),o.forEach(Jt)}function Eu(t,i){const e=t.$$;e.fragment!==null&&(pu(e.after_update),Ue(e.on_destroy),e.fragment&&e.fragment.d(i),e.on_destroy=e.fragment=null,e.ctx=[])}function wu(t,i){t.$$.dirty[0]===-1&&(dt.push(t),du(),t.$$.dirty.fill(0)),t.$$.dirty[i/31|0]|=1<<i%31}function Ts(t,i,e,r,o,n,s=null,a=[-1]){const l=Kt;Yt(t);const u=t.$$={fragment:null,ctx:[],props:n,update:xe,not_equal:o,bound:Go(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(i.context||(l?l.$$.context:[])),callbacks:Go(),dirty:a,skip_bound:!1,root:i.target||l.$$.root};s&&s(u.root);let c=!1;if(u.ctx=e?e(t,i.props||{},(h,d,...p)=>{const m=p.length?p[0]:d;return u.ctx&&o(u.ctx[h],u.ctx[h]=m)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](m),c&&wu(t,h)),d}):[],u.update(),c=!0,Ue(u.before_update),u.fragment=r?r(u.ctx):!1,i.target){if(i.hydrate){const h=ru(i.target);u.fragment&&u.fragment.l(h),h.forEach(fe)}else u.fragment&&u.fragment.c();i.intro&&Cs(t.$$.fragment),xu(t,i.target,i.anchor),he()}Yt(l)}let Ps;typeof HTMLElement=="function"&&(Ps=class extends HTMLElement{constructor(i,e,r){super();Te(this,"$$ctor");Te(this,"$$s");Te(this,"$$c");Te(this,"$$cn",!1);Te(this,"$$d",{});Te(this,"$$r",!1);Te(this,"$$p_d",{});Te(this,"$$l",{});Te(this,"$$l_u",new Map);this.$$ctor=i,this.$$s=e,r&&this.attachShadow({mode:"open"})}addEventListener(i,e,r){if(this.$$l[i]=this.$$l[i]||[],this.$$l[i].push(e),this.$$c){const o=this.$$c.$on(i,e);this.$$l_u.set(e,o)}super.addEventListener(i,e,r)}removeEventListener(i,e,r){if(super.removeEventListener(i,e,r),this.$$c){const o=this.$$l_u.get(e);o&&(o(),this.$$l_u.delete(e))}}connectedCallback(){return at(this,null,function*(){if(this.$$cn=!0,!this.$$c){let i=function(n){return()=>{let s;return{c:function(){s=k("slot"),n!=="default"&&O(s,"name",n)},m:function(u,c){be(u,s,c)},d:function(u){u&&fe(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const e={},r=nu(this);for(const n of this.$$s)n in r&&(e[n]=[i(n)]);for(const n of this.attributes){const s=this.$$g_p(n.name);s in this.$$d||(this.$$d[s]=xi(s,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Lt(Nt({},this.$$d),{$$slots:e,$$scope:{ctx:[]}})});const o=()=>{this.$$r=!0;for(const n in this.$$p_d)if(this.$$d[n]=this.$$c.$$.ctx[this.$$c.$$.props[n]],this.$$p_d[n].reflect){const s=xi(n,this.$$d[n],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,s)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const n in this.$$l)for(const s of this.$$l[n]){const a=this.$$c.$on(n,s);this.$$l_u.set(s,a)}this.$$l={}}})}attributeChangedCallback(i,e,r){var o;this.$$r||(i=this.$$g_p(i),this.$$d[i]=xi(i,r,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$set({[i]:this.$$d[i]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(i){return Object.keys(this.$$p_d).find(e=>this.$$p_d[e].attribute===i||!this.$$p_d[e].attribute&&e.toLowerCase()===i)||i}});function xi(t,i,e,r){var n;const o=(n=e[t])==null?void 0:n.type;if(i=o==="Boolean"&&typeof i!="boolean"?i!=null:i,!r||!e[t])return i;if(r==="toAttribute")switch(o){case"Object":case"Array":return i==null?null:JSON.stringify(i);case"Boolean":return i?"":null;case"Number":return i==null?null:i;default:return i}else switch(o){case"Object":case"Array":return i&&JSON.parse(i);case"Boolean":return i;case"Number":return i!=null?+i:i;default:return i}}function Ds(t,i,e,r,o,n){let s=class extends Ps{constructor(){super(t,e,o),this.$$p_d=i}static get observedAttributes(){return Object.keys(i).map(a=>(i[a].attribute||a).toLowerCase())}};return Object.keys(i).forEach(a=>{Object.defineProperty(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){var u;l=xi(a,l,i),this.$$d[a]=l,(u=this.$$c)==null||u.$set({[a]:l})}})}),r.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){var l;return(l=this.$$c)==null?void 0:l[a]}})}),t.element=s,s}class Ms{constructor(){Te(this,"$$");Te(this,"$$set")}$destroy(){Eu(this,1),this.$destroy=xe}$on(i,e){if(!Ri(e))return xe;const r=this.$$.callbacks[i]||(this.$$.callbacks[i]=[]);return r.push(e),()=>{const o=r.indexOf(e);o!==-1&&r.splice(o,1)}}$set(i){this.$$set&&!ql(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}}const Su="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Su);/*! *****************************************************************************
@@ -3572,4 +3572,4 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3572
3572
  ></vaadin-date-picker-overlay>
3573
3573
 
3574
3574
  <slot name="tooltip"></slot>
3575
- `}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new e_(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e},{uniqueIdPrefix:"search-input"})),this.addController(new t_(this.inputElement,this._labelController)),this._tooltipController=new _l(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow(e=>!e.opened),this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown",e=>e.preventDefault()),this.$.overlay.addEventListener("vaadin-overlay-close",this._onVaadinOverlayClose.bind(this))}_onVaadinOverlayClose(i){i.detail.sourceEvent&&i.detail.sourceEvent.composedPath().includes(this)&&i.preventDefault()}_toggle(i){i.stopPropagation(),this.$.overlay.opened?this.close():this.open()}_openedChanged(i){super._openedChanged(i),this.$.overlay.positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this.$.overlay.noVerticalOverlap=!0}}Ne(c_);if(typeof window!="undefined"){let t=function(i){return function(...e){try{return i.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountModal-OYKQFh7w.cjs")).then(({default:i})=>{!customElements.get("player-account-modal")&&customElements.define("player-account-modal",i.element)})}if(typeof window!="undefined"){let t=function(i){return function(...e){try{return i.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGeneralConfirmationModal-BTkYS_3A.cjs")).then(({default:i})=>{!customElements.get("player-account-general-confirmation-modal")&&customElements.define("player-account-general-confirmation-modal",i.element)})}function h_(t){Es(t,"svelte-gvegix",'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionContainer{border-radius:var(--emw--border-radius-medium, 10px);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));container-type:inline-size}.SelfExclusionContainer .SelfExclusionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:var(--emw--border-radius-medium, 10px);max-width:100%;min-height:500px;opacity:1;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SelfExclusionContainer .SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionNotification{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionNotification.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionNotification .SelfExclusionDescriptionText p{font-size:16px}.SelfExclusionNotification .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px;min-height:180px}.SelfExclusionDescription p{font-size:16px}.SelfExclusionDescription a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}}.SelfExclusionConfigWrapper{width:50%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586B);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transition:all 0.5s ease-in-out;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:600px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--color-primary, #23B04E);border-radius:var(--emw--border-radius-medium, 10px);padding:20px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF);cursor:pointer;border:none}.SelfExclusionActionButtons .SelfExclusionSave:hover{filter:brightness(0.9)}.SelfExclusionActionButtons .SelfExclusionSave:disabled{opacity:0.5;cursor:default}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function ss(t,i,e){const r=t.slice();return r[58]=i[e],r}function d_(t){let i,e,r,o,n=t[23]("titleSelfExclusion")+"",s,a,l,u,c=t[23]("selfExclusionText",{values:{operatorname:t[3],baseurl:t[5],lang:t[2]}})+"",h,d,p=t[23]("selfExclusionEmailText")+"",m,f,_,A,E,D,F,P,R,J=t[23](`${t[16]}`)+"",Z,te,I,N,W,se,S,v,g,w,b,C,T,H=t[23]("save")+"",z,Y,G,ne,Ee,pe,ye,ie=t[25]&&p_(t),q=Xo(t[12]),U=[];for(let M=0;M<q.length;M+=1)U[M]=as(ss(t,q,M));let X=t[19]&&ls(t);function we(M,K){return M[18]?g_:M[20]?m_:__}let Pe=we(t),me=Pe(t),Me=t[26]&&b_(t);return{c(){i=k("div"),e=k("form"),ie&&ie.c(),r=ee(),o=k("h2"),s=_e(n),a=ee(),l=k("div"),u=k("p"),h=ee(),d=k("p"),m=_e(p),f=ee(),_=k("a"),A=_e(t[4]),D=ee(),F=k("div"),P=k("div"),R=k("p"),Z=_e(J),te=ee(),I=Oe("svg"),N=Oe("g"),W=Oe("path"),se=ee(),S=k("div");for(let M=0;M<U.length;M+=1)U[M].c();v=ee(),X&&X.c(),g=ee(),w=k("div"),me.c(),b=ee(),C=k("div"),T=k("button"),z=_e(H),ne=ee(),Me&&Me.c(),Ee=Ss(),O(o,"class","PlayerSelfExclusionTitle "+(t[25]?"PlayerSelfExclusionTitleNone":"")),O(u,"class","SelfExclusionDescriptionText"),O(_,"href",E="mailto:"+t[4]),O(d,"class","SelfExclusionDescriptionText"),O(l,"class","SelfExclusionDescription "+(t[25]?"SelfExclusionDescriptionMobile":"")),O(W,"d","M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"),O(W,"stroke-linecap","round"),O(I,"xmlns","http://www.w3.org/2000/svg"),O(I,"xmlns:xlink","http://www.w3.org/1999/xlink"),O(I,"version","1.1"),O(I,"viewBox","0 0 100 100"),O(I,"xml:space","preserve"),O(I,"class","SelfExclusionConfigIcon"),lt(I,"active",t[21]),O(P,"class","SelfExclusionConfigLabel"),O(S,"class","SelfExclusionDropDown"),lt(S,"active",t[21]),O(F,"class","SelfExclusionConfigWrapper "+(t[25]?"SelfExclusionConfigWrapperMobile":"")),lt(F,"active",t[21]),O(w,"class","SelfExclusionNotification "+(t[25]?"SelfExclusionDescriptionMobile":"")),O(T,"class",Y="SelfExclusionSave "+(t[20]?"active":"")),T.disabled=G=!t[20],O(C,"class","SelfExclusionActionButtons "+(t[25]?"SelfExclusionActionButtonsMobile":"")),O(e,"class","SelfExclusionWrapper "+(t[25]?"SelfExclusionWrapperMobile":"")),O(i,"class","SelfExclusionContainer")},m(M,K){be(M,i,K),y(i,e),ie&&ie.m(e,null),y(e,r),y(e,o),y(o,s),y(e,a),y(e,l),y(l,u),u.innerHTML=c,y(l,h),y(l,d),y(d,m),y(d,f),y(d,_),y(_,A),y(e,D),y(e,F),y(F,P),y(P,R),y(R,Z),y(P,te),y(P,I),y(I,N),y(N,W),y(F,se),y(F,S);for(let ae=0;ae<U.length;ae+=1)U[ae]&&U[ae].m(S,null);y(e,v),X&&X.m(e,null),y(e,g),y(e,w),me.m(w,null),y(e,b),y(e,C),y(C,T),y(T,z),be(M,ne,K),Me&&Me.m(M,K),be(M,Ee,K),pe||(ye=[Xt(P,"click",t[38]),Xt(T,"click",t[41])],pe=!0)},p(M,K){if(M[25]&&ie.p(M,K),K[0]&8388608&&n!==(n=M[23]("titleSelfExclusion")+"")&&Ce(s,n),K[0]&8388652&&c!==(c=M[23]("selfExclusionText",{values:{operatorname:M[3],baseurl:M[5],lang:M[2]}})+"")&&(u.innerHTML=c),K[0]&8388608&&p!==(p=M[23]("selfExclusionEmailText")+"")&&Ce(m,p),K[0]&16&&Ce(A,M[4]),K[0]&16&&E!==(E="mailto:"+M[4])&&O(_,"href",E),K[0]&8454144&&J!==(J=M[23](`${M[16]}`)+"")&&Ce(Z,J),K[0]&2097152&&lt(I,"active",M[21]),K[0]&276828160){q=Xo(M[12]);let ae;for(ae=0;ae<q.length;ae+=1){const di=ss(M,q,ae);U[ae]?U[ae].p(di,K):(U[ae]=as(di),U[ae].c(),U[ae].m(S,null))}for(;ae<U.length;ae+=1)U[ae].d(1);U.length=q.length}K[0]&2097152&&lt(S,"active",M[21]),K[0]&2097152&&lt(F,"active",M[21]),M[19]?X?X.p(M,K):(X=ls(M),X.c(),X.m(e,g)):X&&(X.d(1),X=null),Pe===(Pe=we(M))&&me?me.p(M,K):(me.d(1),me=Pe(M),me&&(me.c(),me.m(w,null))),K[0]&8388608&&H!==(H=M[23]("save")+"")&&Ce(z,H),K[0]&1048576&&Y!==(Y="SelfExclusionSave "+(M[20]?"active":""))&&O(T,"class",Y),K[0]&1048576&&G!==(G=!M[20])&&(T.disabled=G),M[26]&&Me.p(M,K)},d(M){M&&(fe(i),fe(ne),fe(Ee)),ie&&ie.d(),iu(U,M),X&&X.d(),me.d(),Me&&Me.d(M),pe=!1,Ue(ye)}}}function f_(t){let i,e,r,o,n,s,a,l,u,c,h,d,p,m,f,_,A,E,D,F,P;function R(te,I){return te[25]?v_:y_}let Z=R(t)(t);return{c(){i=k("div"),e=k("div"),Z.c(),r=ee(),o=k("div"),n=k("ui-skeleton"),s=ee(),a=k("div"),l=ee(),u=k("ui-skeleton"),c=ee(),h=k("div"),d=ee(),p=k("div"),m=k("ui-skeleton"),f=ee(),_=k("div"),A=ee(),E=k("ui-skeleton"),D=ee(),F=k("div"),P=k("ui-skeleton"),L(n,"structure","text"),L(n,"height",t[25]?"15px":"20px"),L(n,"rows",t[25]?"12":"5"),L(n,"width",t[25]?"100%":"60%"),er(a,"height",t[25]?"10px":"20px"),L(u,"structure","text"),L(u,"height",t[25]?"15px":"20px"),L(u,"width","30%"),er(h,"height","10px"),O(o,"class","SelfExclusionDescription"),L(m,"structure","rectangle"),L(m,"width",t[25]?"100%":"50%"),L(m,"height",t[25]?"30px":"44px"),er(_,"height",t[25]?"15px":"20px"),L(E,"structure","text"),L(E,"height",t[25]?"15px":"20px"),L(E,"width","30%"),O(p,"class","SelfExclusionConfig"),L(P,"structure","rectangle"),L(P,"width","100%"),L(P,"height",t[25]?"35px":"50px"),O(F,"class","SelfExclusionActionButtons "+(t[25]?"SelfExclusionActionButtonsMobile":"")),O(e,"class","SelfExclusionWrapper "+(t[25]?"SelfExclusionWrapperMobile":"")),O(i,"class","SelfExclusionContainer")},m(te,I){be(te,i,I),y(i,e),Z.m(e,null),y(e,r),y(e,o),y(o,n),y(o,s),y(o,a),y(o,l),y(o,u),y(o,c),y(o,h),y(e,d),y(e,p),y(p,m),y(p,f),y(p,_),y(p,A),y(p,E),y(e,D),y(e,F),y(F,P)},p:xe,d(te){te&&fe(i),Z.d()}}}function p_(t){let i,e,r,o,n,s,a,l,u,c,h=t[23]("titleSelfExclusion")+"",d,p,m;return{c(){i=k("div"),e=Oe("svg"),r=Oe("defs"),o=Oe("style"),n=_e(".aaa{fill:var(--emw--color-primary, #22B04E);}"),s=Oe("g"),a=Oe("g"),l=Oe("path"),u=ee(),c=k("h2"),d=_e(h),O(l,"class","aaa"),O(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),O(l,"transform","translate(15 15) rotate(180)"),O(a,"transform","translate(20 158)"),O(s,"transform","translate(-20 -158)"),O(e,"xmlns","http://www.w3.org/2000/svg"),O(e,"width","15"),O(e,"height","15"),O(e,"viewBox","0 0 15 15"),O(c,"class","PlayerSelfExclusionTitleMobile"),O(i,"class","MenuReturnButton")},m(f,_){be(f,i,_),y(i,e),y(e,r),y(r,o),y(o,n),y(e,s),y(s,a),y(a,l),y(i,u),y(i,c),y(c,d),p||(m=Xt(i,"click",t[37]),p=!0)},p(f,_){_[0]&8388608&&h!==(h=f[23]("titleSelfExclusion")+"")&&Ce(d,h)},d(f){f&&fe(i),p=!1,m()}}}function as(t){let i,e=t[23](`${t[58].key}`)+"",r,o,n;function s(){return t[39](t[58])}return{c(){i=k("div"),r=_e(e)},m(a,l){be(a,i,l),y(i,r),o||(n=Xt(i,"click",s),o=!0)},p(a,l){t=a,l[0]&8392704&&e!==(e=t[23](`${t[58].key}`)+"")&&Ce(r,e)},d(a){a&&fe(i),o=!1,n()}}}function ls(t){let i,e,r=t[23]("duration")+"",o,n,s,a=t[23]("dateInstructions")+"",l,u,c,h,d,p,m;return{c(){i=k("div"),e=k("label"),o=_e(r),n=ee(),s=k("span"),l=_e(a),u=ee(),c=k("strong"),h=_e(t[24]),d=k("strong"),p=ee(),m=k("vaadin-date-picker"),O(e,"for","SelfExclusionDate"),O(s,"class","SelfExclusionDateInstructions"),L(m,"min",t[13]),L(m,"max",t[14]),L(m,"value",t[15]),L(m,"class","VaadinDatePicker"),O(i,"class","SelfExclusionDateWrapper "+(t[25]?"SelfExclusionDateWrapperMobile":""))},m(f,_){be(f,i,_),y(i,e),y(e,o),y(i,n),y(i,s),y(s,l),y(s,u),y(s,c),y(c,h),y(c,d),y(i,p),y(i,m),t[40](m)},p(f,_){_[0]&8388608&&r!==(r=f[23]("duration")+"")&&Ce(o,r),_[0]&8388608&&a!==(a=f[23]("dateInstructions")+"")&&Ce(l,a),_[0]&8192&&L(m,"min",f[13]),_[0]&16384&&L(m,"max",f[14]),_[0]&32768&&L(m,"value",f[15])},d(f){f&&fe(i),t[40](null)}}}function m_(t){let i,e,r=t[23]("temporarySelfExclusion",{values:{date:He(t[15]).format(t[24])}})+"",o;return{c(){i=k("p"),e=k("strong"),o=_e(r),O(i,"class","SelfExclusionDescriptionText")},m(n,s){be(n,i,s),y(i,e),y(e,o)},p(n,s){s[0]&8421376&&r!==(r=n[23]("temporarySelfExclusion",{values:{date:He(n[15]).format(n[24])}})+"")&&Ce(o,r)},d(n){n&&fe(i)}}}function __(t){let i,e,r=t[23]("noPeriodSelected")+"",o;return{c(){i=k("p"),e=k("strong"),o=_e(r),O(i,"class","SelfExclusionDescriptionText")},m(n,s){be(n,i,s),y(i,e),y(e,o)},p(n,s){s[0]&8388608&&r!==(r=n[23]("noPeriodSelected")+"")&&Ce(o,r)},d(n){n&&fe(i)}}}function g_(t){let i,e,r=t[23]("permanentSelfExclusion")+"",o;return{c(){i=k("p"),e=k("strong"),o=_e(r),O(i,"class","SelfExclusionDescriptionText")},m(n,s){be(n,i,s),y(i,e),y(e,o)},p(n,s){s[0]&8388608&&r!==(r=n[23]("permanentSelfExclusion")+"")&&Ce(o,r)},d(n){n&&fe(i)}}}function b_(t){let i,e,r,o;return{c(){i=k("player-account-modal"),e=k("player-account-general-confirmation-modal"),L(e,"modaltitle",r=t[23]("confirmationModalTitle")),L(e,"modaltext",t[17]),L(e,"hascancelbutton",!1),L(e,"modalconfirmevent","setSelfExclusion"),L(e,"modalconfirmdata",o={userid:t[1],selectedPeriodKey:t[16],session:t[0]}),L(e,"mbsource",t[8]),L(e,"lang",t[2]),L(i,"clientstyling",t[6]),L(i,"clientstylingurl",t[7]),L(i,"mbsource",t[8]),L(i,"showmodaleventname","ShowSelfExclusionConfirmationModal")},m(n,s){be(n,i,s),y(i,e),t[42](e)},p(n,s){s[0]&8388608&&r!==(r=n[23]("confirmationModalTitle"))&&L(e,"modaltitle",r),s[0]&131072&&L(e,"modaltext",n[17]),s[0]&65539&&o!==(o={userid:n[1],selectedPeriodKey:n[16],session:n[0]})&&L(e,"modalconfirmdata",o),s[0]&256&&L(e,"mbsource",n[8]),s[0]&4&&L(e,"lang",n[2]),s[0]&64&&L(i,"clientstyling",n[6]),s[0]&128&&L(i,"clientstylingurl",n[7]),s[0]&256&&L(i,"mbsource",n[8])},d(n){n&&fe(i),t[42](null)}}}function y_(t){let i;return{c(){i=k("ui-skeleton"),L(i,"structure","title"),L(i,"width","100px"),L(i,"margin-top","20px"),L(i,"margin-bottom","20px")},m(e,r){be(e,i,r)},d(e){e&&fe(i)}}}function v_(t){let i;return{c(){i=k("div"),i.innerHTML='<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>',O(i,"class","MenuReturnButton")},m(e,r){be(e,i,r)},d(e){e&&fe(i)}}}function x_(t){let i;function e(n,s){return n[22]?f_:d_}let r=e(t),o=r(t);return{c(){i=k("div"),o.c()},m(n,s){be(n,i,s),o.m(i,null),t[43](i)},p(n,s){r===(r=e(n))&&o?o.p(n,s):(o.d(1),o=r(n),o&&(o.c(),o.m(i,null)))},i:xe,o:xe,d(n){n&&fe(i),o.d(),t[43](null)}}}function E_(t,i,e){let r;bs(t,aa,x=>e(23,r=x)),He.extend(Th);let{endpoint:o="",session:n="",userid:s="",lang:a="en",gmversion:l="",operator:u="Everymatrix",supportemail:c="",baseurl:h="",clientstyling:d="",clientstylingurl:p="",mbsource:m,translationurl:f="",hasconfirmationmodal:_="false",dateformat:A="DD/MM/YYYY",sendnotificationemail:E="false"}=i,D,F,P,R=A.toUpperCase(),J=[],Z={},te=window.navigator.userAgent,I,N,W="",se="",S="selectAPeriod",v="",g="",w=la(te)!=="PC",b=!1,C=!1,T=!1,H=!1,z=_==="true",Y=!0,G;const ne=()=>{fetch(f).then(le=>le.json()).then(le=>{Object.keys(le).forEach(ue=>{gn(ue,le[ue])})}).catch(le=>{console.log(le)})};Object.keys(bn).forEach(x=>{gn(x,bn[x])});const Ee=()=>{let x=new URL(`${o}/v1/player/selfExclusionSettings`);fetch(x,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(ue=>ye(ue)).then(ue=>{e(12,J=ue.periods)}).catch(ue=>{console.log(ue),window.postMessage({type:"WidgetNotification",data:{type:"error",message:ue.message}},window.location.href)}).finally(()=>{e(22,Y=!1)})},pe=x=>{const{userid:le,selectedPeriodKey:ue,session:Le}=x.detail;e(1,s=le),e(16,S=ue),e(0,n=Le),we()},ye=x=>at(this,null,function*(){var le;if(!x.ok){Z=yield x.json(),g=(le=Z.thirdPartyResponse)==null?void 0:le.errorCode;const ue=r(g||"generalError");throw new Error(ue)}return x.json()}),ie=()=>{e(21,H=!H)},q=x=>{switch(se=x.text,e(16,S=x.key),e(20,T=!0),e(21,H=!1),e(18,b=!1),e(19,C=!1),se){case"Until":e(19,C=!0),e(13,I=He().add(6,"M").format("YYYY-MM-DD")),e(14,N=He().add(5,"y").format("YYYY-MM-DD")),e(15,W=I);break;case"Permanent":e(18,b=!b);break;default:const[le,ue]=se.split(" "),Le=ue.includes("Day")?"days":ue.includes("Month")?"months":ue.includes("Year")?"years":null;if(!Le)return;e(15,W=He().add(Number(le),Le).format("YYYY-MM-DD"));break}z&&U()},U=()=>{if(!z||!se||!W){e(17,v="");return}e(17,v=C?r("confirmationModalTextUntilSelfExclusion",{values:{date:He(W).format(R)}}):r("confirmationModalTextPeriodSelfExclusion",{values:{period:r(S)}}))},X=x=>{x.preventDefault(),z?(U(),window.postMessage({type:"ShowSelfExclusionConfirmationModal"},window.location.href)):we()},we=()=>{e(22,Y=!0);const x=new URL(`${o}/v2/player/${s}/limits${l==="gm16"?"/session":""}`),ue={method:"PUT",headers:{"X-SessionID":n,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({selfExclusion:{period:S,expiryDate:W,selfExclusionReason:"UserRequest",sendNotificationEmail:E==="true"}})};fetch(x.href,ue).then(Le=>ye(Le)).then(Le=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:r("selfExclusionSuccess")}},window.location.href),window.postMessage({type:"LogoutSuccessfull"},window.location.href)}).catch(Le=>{console.error(r("errorSelfExclusionCall"),Le),window.postMessage({type:"WidgetNotification",data:{type:"error",message:r("errorSelfExclusionCall")}},window.location.href)}).finally(()=>{e(22,Y=!1)})},Pe=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:w},window.location.href)},me=x=>{e(15,W=x.target.value)},Me=()=>{P.addEventListener("change",me,!1),e(10,P.i18n=Lt(Nt({},P.i18n),{formatDate:x=>He(new Date(x.year,x.month,x.day)).format(R),parseDate:x=>{const le=He(x,R);return{year:le.year(),month:le.month(),day:le.date()}}}),P)};As(()=>()=>{P.removeEventListener("change",me),G.removeEventListener("setSelfExclusion",pe)});const M=()=>{Ph(a)},K=()=>Pe(),ae=()=>ie(),di=x=>q(x);function $l(x){_t[x?"unshift":"push"](()=>{P=x,e(10,P)})}const Bl=x=>X(x);function Rl(x){_t[x?"unshift":"push"](()=>{G=x,e(11,G)})}function zl(x){_t[x?"unshift":"push"](()=>{D=x,e(9,D)})}return t.$$set=x=>{"endpoint"in x&&e(31,o=x.endpoint),"session"in x&&e(0,n=x.session),"userid"in x&&e(1,s=x.userid),"lang"in x&&e(2,a=x.lang),"gmversion"in x&&e(32,l=x.gmversion),"operator"in x&&e(3,u=x.operator),"supportemail"in x&&e(4,c=x.supportemail),"baseurl"in x&&e(5,h=x.baseurl),"clientstyling"in x&&e(6,d=x.clientstyling),"clientstylingurl"in x&&e(7,p=x.clientstylingurl),"mbsource"in x&&e(8,m=x.mbsource),"translationurl"in x&&e(33,f=x.translationurl),"hasconfirmationmodal"in x&&e(34,_=x.hasconfirmationmodal),"dateformat"in x&&e(35,A=x.dateformat),"sendnotificationemail"in x&&e(36,E=x.sendnotificationemail)},t.$$.update=()=>{t.$$.dirty[0]&4&&a&&M(),t.$$.dirty[0]&3|t.$$.dirty[1]&3&&o&&n&&s&&l&&Ee(),t.$$.dirty[0]&1024&&P&&Me(),t.$$.dirty[0]&576&&d&&D&&ha(D,d),t.$$.dirty[0]&640&&p&&D&&da(D,p),t.$$.dirty[0]&768&&m&&D&&fa(D,`${m}.Style`,F),t.$$.dirty[1]&4&&f&&ne(),t.$$.dirty[0]&2048&&G&&G.addEventListener("setSelfExclusion",pe)},z&&U(),[n,s,a,u,c,h,d,p,m,D,P,G,J,I,N,W,S,v,b,C,T,H,Y,r,R,w,z,ie,q,X,Pe,o,l,f,_,A,E,K,ae,di,$l,Bl,Rl,zl]}class Hl extends Ms{constructor(i){super(),Ts(this,i,E_,x_,po,{endpoint:31,session:0,userid:1,lang:2,gmversion:32,operator:3,supportemail:4,baseurl:5,clientstyling:6,clientstylingurl:7,mbsource:8,translationurl:33,hasconfirmationmodal:34,dateformat:35,sendnotificationemail:36},h_,[-1,-1])}get endpoint(){return this.$$.ctx[31]}set endpoint(i){this.$$set({endpoint:i}),he()}get session(){return this.$$.ctx[0]}set session(i){this.$$set({session:i}),he()}get userid(){return this.$$.ctx[1]}set userid(i){this.$$set({userid:i}),he()}get lang(){return this.$$.ctx[2]}set lang(i){this.$$set({lang:i}),he()}get gmversion(){return this.$$.ctx[32]}set gmversion(i){this.$$set({gmversion:i}),he()}get operator(){return this.$$.ctx[3]}set operator(i){this.$$set({operator:i}),he()}get supportemail(){return this.$$.ctx[4]}set supportemail(i){this.$$set({supportemail:i}),he()}get baseurl(){return this.$$.ctx[5]}set baseurl(i){this.$$set({baseurl:i}),he()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(i){this.$$set({clientstyling:i}),he()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),he()}get mbsource(){return this.$$.ctx[8]}set mbsource(i){this.$$set({mbsource:i}),he()}get translationurl(){return this.$$.ctx[33]}set translationurl(i){this.$$set({translationurl:i}),he()}get hasconfirmationmodal(){return this.$$.ctx[34]}set hasconfirmationmodal(i){this.$$set({hasconfirmationmodal:i}),he()}get dateformat(){return this.$$.ctx[35]}set dateformat(i){this.$$set({dateformat:i}),he()}get sendnotificationemail(){return this.$$.ctx[36]}set sendnotificationemail(i){this.$$set({sendnotificationemail:i}),he()}}Ds(Hl,{endpoint:{},session:{},userid:{},lang:{},gmversion:{},operator:{},supportemail:{},baseurl:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},hasconfirmationmodal:{},dateformat:{},sendnotificationemail:{}},[],[],!0);const w_=Object.freeze(Object.defineProperty({__proto__:null,default:Hl},Symbol.toStringTag,{value:"Module"}));exports.$format=aa;exports.$locale=rt;exports.PlayerAccountSelfExclusionNd_ce=w_;exports.SvelteComponent=Ms;exports.addMessages=yo;exports.add_render_callback=Jt;exports.append=y;exports.append_styles=Es;exports.attr=O;exports.binding_callbacks=_t;exports.check_outros=gu;exports.component_subscribe=bs;exports.create_bidirectional_transition=vu;exports.create_custom_element=Ds;exports.create_slot=Xl;exports.detach=fe;exports.element=k;exports.empty=Ss;exports.flush=he;exports.getDevice=la;exports.get_all_dirty_from_scope=Zl;exports.get_slot_changes=Kl;exports.group_outros=_u;exports.identity=ms;exports.init=Ts;exports.insert=be;exports.listen=Xt;exports.noop=xe;exports.onMount=As;exports.run_all=Ue;exports.safe_not_equal=po;exports.setClientStyling=ha;exports.setClientStylingURL=da;exports.setStreamStyling=fa;exports.set_data=Ce;exports.space=ee;exports.svg_element=Oe;exports.text=_e;exports.transition_in=Cs;exports.transition_out=bu;exports.update_slot_base=Jl;
3575
+ `}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new e_(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e},{uniqueIdPrefix:"search-input"})),this.addController(new t_(this.inputElement,this._labelController)),this._tooltipController=new _l(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow(e=>!e.opened),this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown",e=>e.preventDefault()),this.$.overlay.addEventListener("vaadin-overlay-close",this._onVaadinOverlayClose.bind(this))}_onVaadinOverlayClose(i){i.detail.sourceEvent&&i.detail.sourceEvent.composedPath().includes(this)&&i.preventDefault()}_toggle(i){i.stopPropagation(),this.$.overlay.opened?this.close():this.open()}_openedChanged(i){super._openedChanged(i),this.$.overlay.positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this.$.overlay.noVerticalOverlap=!0}}Ne(c_);if(typeof window!="undefined"){let t=function(i){return function(...e){try{return i.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountModal-CoeAvFX8.cjs")).then(({default:i})=>{!customElements.get("player-account-modal")&&customElements.define("player-account-modal",i.element)})}if(typeof window!="undefined"){let t=function(i){return function(...e){try{return i.apply(this,e)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGeneralConfirmationModal-CcXPiMwN.cjs")).then(({default:i})=>{!customElements.get("player-account-general-confirmation-modal")&&customElements.define("player-account-general-confirmation-modal",i.element)})}function h_(t){Es(t,"svelte-gvegix",'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionContainer{border-radius:var(--emw--border-radius-medium, 10px);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));container-type:inline-size}.SelfExclusionContainer .SelfExclusionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:var(--emw--border-radius-medium, 10px);max-width:100%;min-height:500px;opacity:1;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SelfExclusionContainer .SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionNotification{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionNotification.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionNotification .SelfExclusionDescriptionText p{font-size:16px}.SelfExclusionNotification .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px;min-height:180px}.SelfExclusionDescription p{font-size:16px}.SelfExclusionDescription a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}}.SelfExclusionConfigWrapper{width:50%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586B);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transition:all 0.5s ease-in-out;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:600px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--color-primary, #23B04E);border-radius:var(--emw--border-radius-medium, 10px);padding:20px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF);cursor:pointer;border:none}.SelfExclusionActionButtons .SelfExclusionSave:hover{filter:brightness(0.9)}.SelfExclusionActionButtons .SelfExclusionSave:disabled{opacity:0.5;cursor:default}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function ss(t,i,e){const r=t.slice();return r[58]=i[e],r}function d_(t){let i,e,r,o,n=t[23]("titleSelfExclusion")+"",s,a,l,u,c=t[23]("selfExclusionText",{values:{operatorname:t[3],baseurl:t[5],lang:t[2]}})+"",h,d,p=t[23]("selfExclusionEmailText")+"",m,f,_,A,E,D,F,P,R,J=t[23](`${t[16]}`)+"",Z,te,I,N,W,se,S,v,g,w,b,C,T,H=t[23]("save")+"",z,Y,G,ne,Ee,pe,ye,ie=t[25]&&p_(t),q=Xo(t[12]),U=[];for(let M=0;M<q.length;M+=1)U[M]=as(ss(t,q,M));let X=t[19]&&ls(t);function we(M,K){return M[18]?g_:M[20]?m_:__}let Pe=we(t),me=Pe(t),Me=t[26]&&b_(t);return{c(){i=k("div"),e=k("form"),ie&&ie.c(),r=ee(),o=k("h2"),s=_e(n),a=ee(),l=k("div"),u=k("p"),h=ee(),d=k("p"),m=_e(p),f=ee(),_=k("a"),A=_e(t[4]),D=ee(),F=k("div"),P=k("div"),R=k("p"),Z=_e(J),te=ee(),I=Oe("svg"),N=Oe("g"),W=Oe("path"),se=ee(),S=k("div");for(let M=0;M<U.length;M+=1)U[M].c();v=ee(),X&&X.c(),g=ee(),w=k("div"),me.c(),b=ee(),C=k("div"),T=k("button"),z=_e(H),ne=ee(),Me&&Me.c(),Ee=Ss(),O(o,"class","PlayerSelfExclusionTitle "+(t[25]?"PlayerSelfExclusionTitleNone":"")),O(u,"class","SelfExclusionDescriptionText"),O(_,"href",E="mailto:"+t[4]),O(d,"class","SelfExclusionDescriptionText"),O(l,"class","SelfExclusionDescription "+(t[25]?"SelfExclusionDescriptionMobile":"")),O(W,"d","M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"),O(W,"stroke-linecap","round"),O(I,"xmlns","http://www.w3.org/2000/svg"),O(I,"xmlns:xlink","http://www.w3.org/1999/xlink"),O(I,"version","1.1"),O(I,"viewBox","0 0 100 100"),O(I,"xml:space","preserve"),O(I,"class","SelfExclusionConfigIcon"),lt(I,"active",t[21]),O(P,"class","SelfExclusionConfigLabel"),O(S,"class","SelfExclusionDropDown"),lt(S,"active",t[21]),O(F,"class","SelfExclusionConfigWrapper "+(t[25]?"SelfExclusionConfigWrapperMobile":"")),lt(F,"active",t[21]),O(w,"class","SelfExclusionNotification "+(t[25]?"SelfExclusionDescriptionMobile":"")),O(T,"class",Y="SelfExclusionSave "+(t[20]?"active":"")),T.disabled=G=!t[20],O(C,"class","SelfExclusionActionButtons "+(t[25]?"SelfExclusionActionButtonsMobile":"")),O(e,"class","SelfExclusionWrapper "+(t[25]?"SelfExclusionWrapperMobile":"")),O(i,"class","SelfExclusionContainer")},m(M,K){be(M,i,K),y(i,e),ie&&ie.m(e,null),y(e,r),y(e,o),y(o,s),y(e,a),y(e,l),y(l,u),u.innerHTML=c,y(l,h),y(l,d),y(d,m),y(d,f),y(d,_),y(_,A),y(e,D),y(e,F),y(F,P),y(P,R),y(R,Z),y(P,te),y(P,I),y(I,N),y(N,W),y(F,se),y(F,S);for(let ae=0;ae<U.length;ae+=1)U[ae]&&U[ae].m(S,null);y(e,v),X&&X.m(e,null),y(e,g),y(e,w),me.m(w,null),y(e,b),y(e,C),y(C,T),y(T,z),be(M,ne,K),Me&&Me.m(M,K),be(M,Ee,K),pe||(ye=[Xt(P,"click",t[38]),Xt(T,"click",t[41])],pe=!0)},p(M,K){if(M[25]&&ie.p(M,K),K[0]&8388608&&n!==(n=M[23]("titleSelfExclusion")+"")&&Ce(s,n),K[0]&8388652&&c!==(c=M[23]("selfExclusionText",{values:{operatorname:M[3],baseurl:M[5],lang:M[2]}})+"")&&(u.innerHTML=c),K[0]&8388608&&p!==(p=M[23]("selfExclusionEmailText")+"")&&Ce(m,p),K[0]&16&&Ce(A,M[4]),K[0]&16&&E!==(E="mailto:"+M[4])&&O(_,"href",E),K[0]&8454144&&J!==(J=M[23](`${M[16]}`)+"")&&Ce(Z,J),K[0]&2097152&&lt(I,"active",M[21]),K[0]&276828160){q=Xo(M[12]);let ae;for(ae=0;ae<q.length;ae+=1){const di=ss(M,q,ae);U[ae]?U[ae].p(di,K):(U[ae]=as(di),U[ae].c(),U[ae].m(S,null))}for(;ae<U.length;ae+=1)U[ae].d(1);U.length=q.length}K[0]&2097152&&lt(S,"active",M[21]),K[0]&2097152&&lt(F,"active",M[21]),M[19]?X?X.p(M,K):(X=ls(M),X.c(),X.m(e,g)):X&&(X.d(1),X=null),Pe===(Pe=we(M))&&me?me.p(M,K):(me.d(1),me=Pe(M),me&&(me.c(),me.m(w,null))),K[0]&8388608&&H!==(H=M[23]("save")+"")&&Ce(z,H),K[0]&1048576&&Y!==(Y="SelfExclusionSave "+(M[20]?"active":""))&&O(T,"class",Y),K[0]&1048576&&G!==(G=!M[20])&&(T.disabled=G),M[26]&&Me.p(M,K)},d(M){M&&(fe(i),fe(ne),fe(Ee)),ie&&ie.d(),iu(U,M),X&&X.d(),me.d(),Me&&Me.d(M),pe=!1,Ue(ye)}}}function f_(t){let i,e,r,o,n,s,a,l,u,c,h,d,p,m,f,_,A,E,D,F,P;function R(te,I){return te[25]?v_:y_}let Z=R(t)(t);return{c(){i=k("div"),e=k("div"),Z.c(),r=ee(),o=k("div"),n=k("ui-skeleton"),s=ee(),a=k("div"),l=ee(),u=k("ui-skeleton"),c=ee(),h=k("div"),d=ee(),p=k("div"),m=k("ui-skeleton"),f=ee(),_=k("div"),A=ee(),E=k("ui-skeleton"),D=ee(),F=k("div"),P=k("ui-skeleton"),L(n,"structure","text"),L(n,"height",t[25]?"15px":"20px"),L(n,"rows",t[25]?"12":"5"),L(n,"width",t[25]?"100%":"60%"),er(a,"height",t[25]?"10px":"20px"),L(u,"structure","text"),L(u,"height",t[25]?"15px":"20px"),L(u,"width","30%"),er(h,"height","10px"),O(o,"class","SelfExclusionDescription"),L(m,"structure","rectangle"),L(m,"width",t[25]?"100%":"50%"),L(m,"height",t[25]?"30px":"44px"),er(_,"height",t[25]?"15px":"20px"),L(E,"structure","text"),L(E,"height",t[25]?"15px":"20px"),L(E,"width","30%"),O(p,"class","SelfExclusionConfig"),L(P,"structure","rectangle"),L(P,"width","100%"),L(P,"height",t[25]?"35px":"50px"),O(F,"class","SelfExclusionActionButtons "+(t[25]?"SelfExclusionActionButtonsMobile":"")),O(e,"class","SelfExclusionWrapper "+(t[25]?"SelfExclusionWrapperMobile":"")),O(i,"class","SelfExclusionContainer")},m(te,I){be(te,i,I),y(i,e),Z.m(e,null),y(e,r),y(e,o),y(o,n),y(o,s),y(o,a),y(o,l),y(o,u),y(o,c),y(o,h),y(e,d),y(e,p),y(p,m),y(p,f),y(p,_),y(p,A),y(p,E),y(e,D),y(e,F),y(F,P)},p:xe,d(te){te&&fe(i),Z.d()}}}function p_(t){let i,e,r,o,n,s,a,l,u,c,h=t[23]("titleSelfExclusion")+"",d,p,m;return{c(){i=k("div"),e=Oe("svg"),r=Oe("defs"),o=Oe("style"),n=_e(".aaa{fill:var(--emw--color-primary, #22B04E);}"),s=Oe("g"),a=Oe("g"),l=Oe("path"),u=ee(),c=k("h2"),d=_e(h),O(l,"class","aaa"),O(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),O(l,"transform","translate(15 15) rotate(180)"),O(a,"transform","translate(20 158)"),O(s,"transform","translate(-20 -158)"),O(e,"xmlns","http://www.w3.org/2000/svg"),O(e,"width","15"),O(e,"height","15"),O(e,"viewBox","0 0 15 15"),O(c,"class","PlayerSelfExclusionTitleMobile"),O(i,"class","MenuReturnButton")},m(f,_){be(f,i,_),y(i,e),y(e,r),y(r,o),y(o,n),y(e,s),y(s,a),y(a,l),y(i,u),y(i,c),y(c,d),p||(m=Xt(i,"click",t[37]),p=!0)},p(f,_){_[0]&8388608&&h!==(h=f[23]("titleSelfExclusion")+"")&&Ce(d,h)},d(f){f&&fe(i),p=!1,m()}}}function as(t){let i,e=t[23](`${t[58].key}`)+"",r,o,n;function s(){return t[39](t[58])}return{c(){i=k("div"),r=_e(e)},m(a,l){be(a,i,l),y(i,r),o||(n=Xt(i,"click",s),o=!0)},p(a,l){t=a,l[0]&8392704&&e!==(e=t[23](`${t[58].key}`)+"")&&Ce(r,e)},d(a){a&&fe(i),o=!1,n()}}}function ls(t){let i,e,r=t[23]("duration")+"",o,n,s,a=t[23]("dateInstructions")+"",l,u,c,h,d,p,m;return{c(){i=k("div"),e=k("label"),o=_e(r),n=ee(),s=k("span"),l=_e(a),u=ee(),c=k("strong"),h=_e(t[24]),d=k("strong"),p=ee(),m=k("vaadin-date-picker"),O(e,"for","SelfExclusionDate"),O(s,"class","SelfExclusionDateInstructions"),L(m,"min",t[13]),L(m,"max",t[14]),L(m,"value",t[15]),L(m,"class","VaadinDatePicker"),O(i,"class","SelfExclusionDateWrapper "+(t[25]?"SelfExclusionDateWrapperMobile":""))},m(f,_){be(f,i,_),y(i,e),y(e,o),y(i,n),y(i,s),y(s,l),y(s,u),y(s,c),y(c,h),y(c,d),y(i,p),y(i,m),t[40](m)},p(f,_){_[0]&8388608&&r!==(r=f[23]("duration")+"")&&Ce(o,r),_[0]&8388608&&a!==(a=f[23]("dateInstructions")+"")&&Ce(l,a),_[0]&8192&&L(m,"min",f[13]),_[0]&16384&&L(m,"max",f[14]),_[0]&32768&&L(m,"value",f[15])},d(f){f&&fe(i),t[40](null)}}}function m_(t){let i,e,r=t[23]("temporarySelfExclusion",{values:{date:He(t[15]).format(t[24])}})+"",o;return{c(){i=k("p"),e=k("strong"),o=_e(r),O(i,"class","SelfExclusionDescriptionText")},m(n,s){be(n,i,s),y(i,e),y(e,o)},p(n,s){s[0]&8421376&&r!==(r=n[23]("temporarySelfExclusion",{values:{date:He(n[15]).format(n[24])}})+"")&&Ce(o,r)},d(n){n&&fe(i)}}}function __(t){let i,e,r=t[23]("noPeriodSelected")+"",o;return{c(){i=k("p"),e=k("strong"),o=_e(r),O(i,"class","SelfExclusionDescriptionText")},m(n,s){be(n,i,s),y(i,e),y(e,o)},p(n,s){s[0]&8388608&&r!==(r=n[23]("noPeriodSelected")+"")&&Ce(o,r)},d(n){n&&fe(i)}}}function g_(t){let i,e,r=t[23]("permanentSelfExclusion")+"",o;return{c(){i=k("p"),e=k("strong"),o=_e(r),O(i,"class","SelfExclusionDescriptionText")},m(n,s){be(n,i,s),y(i,e),y(e,o)},p(n,s){s[0]&8388608&&r!==(r=n[23]("permanentSelfExclusion")+"")&&Ce(o,r)},d(n){n&&fe(i)}}}function b_(t){let i,e,r,o;return{c(){i=k("player-account-modal"),e=k("player-account-general-confirmation-modal"),L(e,"modaltitle",r=t[23]("confirmationModalTitle")),L(e,"modaltext",t[17]),L(e,"hascancelbutton",!1),L(e,"modalconfirmevent","setSelfExclusion"),L(e,"modalconfirmdata",o={userid:t[1],selectedPeriodKey:t[16],session:t[0]}),L(e,"mbsource",t[8]),L(e,"lang",t[2]),L(i,"clientstyling",t[6]),L(i,"clientstylingurl",t[7]),L(i,"mbsource",t[8]),L(i,"showmodaleventname","ShowSelfExclusionConfirmationModal")},m(n,s){be(n,i,s),y(i,e),t[42](e)},p(n,s){s[0]&8388608&&r!==(r=n[23]("confirmationModalTitle"))&&L(e,"modaltitle",r),s[0]&131072&&L(e,"modaltext",n[17]),s[0]&65539&&o!==(o={userid:n[1],selectedPeriodKey:n[16],session:n[0]})&&L(e,"modalconfirmdata",o),s[0]&256&&L(e,"mbsource",n[8]),s[0]&4&&L(e,"lang",n[2]),s[0]&64&&L(i,"clientstyling",n[6]),s[0]&128&&L(i,"clientstylingurl",n[7]),s[0]&256&&L(i,"mbsource",n[8])},d(n){n&&fe(i),t[42](null)}}}function y_(t){let i;return{c(){i=k("ui-skeleton"),L(i,"structure","title"),L(i,"width","100px"),L(i,"margin-top","20px"),L(i,"margin-bottom","20px")},m(e,r){be(e,i,r)},d(e){e&&fe(i)}}}function v_(t){let i;return{c(){i=k("div"),i.innerHTML='<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>',O(i,"class","MenuReturnButton")},m(e,r){be(e,i,r)},d(e){e&&fe(i)}}}function x_(t){let i;function e(n,s){return n[22]?f_:d_}let r=e(t),o=r(t);return{c(){i=k("div"),o.c()},m(n,s){be(n,i,s),o.m(i,null),t[43](i)},p(n,s){r===(r=e(n))&&o?o.p(n,s):(o.d(1),o=r(n),o&&(o.c(),o.m(i,null)))},i:xe,o:xe,d(n){n&&fe(i),o.d(),t[43](null)}}}function E_(t,i,e){let r;bs(t,aa,x=>e(23,r=x)),He.extend(Th);let{endpoint:o="",session:n="",userid:s="",lang:a="en",gmversion:l="",operator:u="Everymatrix",supportemail:c="",baseurl:h="",clientstyling:d="",clientstylingurl:p="",mbsource:m,translationurl:f="",hasconfirmationmodal:_="false",dateformat:A="DD/MM/YYYY",sendnotificationemail:E="false"}=i,D,F,P,R=A.toUpperCase(),J=[],Z={},te=window.navigator.userAgent,I,N,W="",se="",S="selectAPeriod",v="",g="",w=la(te)!=="PC",b=!1,C=!1,T=!1,H=!1,z=_==="true",Y=!0,G;const ne=()=>{fetch(f).then(le=>le.json()).then(le=>{Object.keys(le).forEach(ue=>{gn(ue,le[ue])})}).catch(le=>{console.log(le)})};Object.keys(bn).forEach(x=>{gn(x,bn[x])});const Ee=()=>{let x=new URL(`${o}/v1/player/selfExclusionSettings`);fetch(x,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(ue=>ye(ue)).then(ue=>{e(12,J=ue.periods)}).catch(ue=>{console.log(ue),window.postMessage({type:"WidgetNotification",data:{type:"error",message:ue.message}},window.location.href)}).finally(()=>{e(22,Y=!1)})},pe=x=>{const{userid:le,selectedPeriodKey:ue,session:Le}=x.detail;e(1,s=le),e(16,S=ue),e(0,n=Le),we()},ye=x=>at(this,null,function*(){var le;if(!x.ok){Z=yield x.json(),g=(le=Z.thirdPartyResponse)==null?void 0:le.errorCode;const ue=r(g||"generalError");throw new Error(ue)}return x.json()}),ie=()=>{e(21,H=!H)},q=x=>{switch(se=x.text,e(16,S=x.key),e(20,T=!0),e(21,H=!1),e(18,b=!1),e(19,C=!1),se){case"Until":e(19,C=!0),e(13,I=He().add(6,"M").format("YYYY-MM-DD")),e(14,N=He().add(5,"y").format("YYYY-MM-DD")),e(15,W=I);break;case"Permanent":e(18,b=!b);break;default:const[le,ue]=se.split(" "),Le=ue.includes("Day")?"days":ue.includes("Month")?"months":ue.includes("Year")?"years":null;if(!Le)return;e(15,W=He().add(Number(le),Le).format("YYYY-MM-DD"));break}z&&U()},U=()=>{if(!z||!se||!W){e(17,v="");return}e(17,v=C?r("confirmationModalTextUntilSelfExclusion",{values:{date:He(W).format(R)}}):r("confirmationModalTextPeriodSelfExclusion",{values:{period:r(S)}}))},X=x=>{x.preventDefault(),z?(U(),window.postMessage({type:"ShowSelfExclusionConfirmationModal"},window.location.href)):we()},we=()=>{e(22,Y=!0);const x=new URL(`${o}/v2/player/${s}/limits${l==="gm16"?"/session":""}`),ue={method:"PUT",headers:{"X-SessionID":n,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({selfExclusion:{period:S,expiryDate:W,selfExclusionReason:"UserRequest",sendNotificationEmail:E==="true"}})};fetch(x.href,ue).then(Le=>ye(Le)).then(Le=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:r("selfExclusionSuccess")}},window.location.href),window.postMessage({type:"LogoutSuccessfull"},window.location.href)}).catch(Le=>{console.error(r("errorSelfExclusionCall"),Le),window.postMessage({type:"WidgetNotification",data:{type:"error",message:r("errorSelfExclusionCall")}},window.location.href)}).finally(()=>{e(22,Y=!1)})},Pe=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:w},window.location.href)},me=x=>{e(15,W=x.target.value)},Me=()=>{P.addEventListener("change",me,!1),e(10,P.i18n=Lt(Nt({},P.i18n),{formatDate:x=>He(new Date(x.year,x.month,x.day)).format(R),parseDate:x=>{const le=He(x,R);return{year:le.year(),month:le.month(),day:le.date()}}}),P)};As(()=>()=>{P.removeEventListener("change",me),G.removeEventListener("setSelfExclusion",pe)});const M=()=>{Ph(a)},K=()=>Pe(),ae=()=>ie(),di=x=>q(x);function $l(x){_t[x?"unshift":"push"](()=>{P=x,e(10,P)})}const Bl=x=>X(x);function Rl(x){_t[x?"unshift":"push"](()=>{G=x,e(11,G)})}function zl(x){_t[x?"unshift":"push"](()=>{D=x,e(9,D)})}return t.$$set=x=>{"endpoint"in x&&e(31,o=x.endpoint),"session"in x&&e(0,n=x.session),"userid"in x&&e(1,s=x.userid),"lang"in x&&e(2,a=x.lang),"gmversion"in x&&e(32,l=x.gmversion),"operator"in x&&e(3,u=x.operator),"supportemail"in x&&e(4,c=x.supportemail),"baseurl"in x&&e(5,h=x.baseurl),"clientstyling"in x&&e(6,d=x.clientstyling),"clientstylingurl"in x&&e(7,p=x.clientstylingurl),"mbsource"in x&&e(8,m=x.mbsource),"translationurl"in x&&e(33,f=x.translationurl),"hasconfirmationmodal"in x&&e(34,_=x.hasconfirmationmodal),"dateformat"in x&&e(35,A=x.dateformat),"sendnotificationemail"in x&&e(36,E=x.sendnotificationemail)},t.$$.update=()=>{t.$$.dirty[0]&4&&a&&M(),t.$$.dirty[0]&3|t.$$.dirty[1]&3&&o&&n&&s&&l&&Ee(),t.$$.dirty[0]&1024&&P&&Me(),t.$$.dirty[0]&576&&d&&D&&ha(D,d),t.$$.dirty[0]&640&&p&&D&&da(D,p),t.$$.dirty[0]&768&&m&&D&&fa(D,`${m}.Style`,F),t.$$.dirty[1]&4&&f&&ne(),t.$$.dirty[0]&2048&&G&&G.addEventListener("setSelfExclusion",pe)},z&&U(),[n,s,a,u,c,h,d,p,m,D,P,G,J,I,N,W,S,v,b,C,T,H,Y,r,R,w,z,ie,q,X,Pe,o,l,f,_,A,E,K,ae,di,$l,Bl,Rl,zl]}class Hl extends Ms{constructor(i){super(),Ts(this,i,E_,x_,po,{endpoint:31,session:0,userid:1,lang:2,gmversion:32,operator:3,supportemail:4,baseurl:5,clientstyling:6,clientstylingurl:7,mbsource:8,translationurl:33,hasconfirmationmodal:34,dateformat:35,sendnotificationemail:36},h_,[-1,-1])}get endpoint(){return this.$$.ctx[31]}set endpoint(i){this.$$set({endpoint:i}),he()}get session(){return this.$$.ctx[0]}set session(i){this.$$set({session:i}),he()}get userid(){return this.$$.ctx[1]}set userid(i){this.$$set({userid:i}),he()}get lang(){return this.$$.ctx[2]}set lang(i){this.$$set({lang:i}),he()}get gmversion(){return this.$$.ctx[32]}set gmversion(i){this.$$set({gmversion:i}),he()}get operator(){return this.$$.ctx[3]}set operator(i){this.$$set({operator:i}),he()}get supportemail(){return this.$$.ctx[4]}set supportemail(i){this.$$set({supportemail:i}),he()}get baseurl(){return this.$$.ctx[5]}set baseurl(i){this.$$set({baseurl:i}),he()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(i){this.$$set({clientstyling:i}),he()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),he()}get mbsource(){return this.$$.ctx[8]}set mbsource(i){this.$$set({mbsource:i}),he()}get translationurl(){return this.$$.ctx[33]}set translationurl(i){this.$$set({translationurl:i}),he()}get hasconfirmationmodal(){return this.$$.ctx[34]}set hasconfirmationmodal(i){this.$$set({hasconfirmationmodal:i}),he()}get dateformat(){return this.$$.ctx[35]}set dateformat(i){this.$$set({dateformat:i}),he()}get sendnotificationemail(){return this.$$.ctx[36]}set sendnotificationemail(i){this.$$set({sendnotificationemail:i}),he()}}Ds(Hl,{endpoint:{},session:{},userid:{},lang:{},gmversion:{},operator:{},supportemail:{},baseurl:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},hasconfirmationmodal:{},dateformat:{},sendnotificationemail:{}},[],[],!0);const w_=Object.freeze(Object.defineProperty({__proto__:null,default:Hl},Symbol.toStringTag,{value:"Module"}));exports.$format=aa;exports.$locale=rt;exports.PlayerAccountSelfExclusionNd_ce=w_;exports.SvelteComponent=Ms;exports.addMessages=yo;exports.add_render_callback=Jt;exports.append=y;exports.append_styles=Es;exports.attr=O;exports.binding_callbacks=_t;exports.check_outros=gu;exports.component_subscribe=bs;exports.create_bidirectional_transition=vu;exports.create_custom_element=Ds;exports.create_slot=Xl;exports.detach=fe;exports.element=k;exports.empty=Ss;exports.flush=he;exports.getDevice=la;exports.get_all_dirty_from_scope=Zl;exports.get_slot_changes=Kl;exports.group_outros=_u;exports.identity=ms;exports.init=Ts;exports.insert=be;exports.listen=Xt;exports.noop=xe;exports.onMount=As;exports.run_all=Ue;exports.safe_not_equal=po;exports.setClientStyling=ha;exports.setClientStylingURL=da;exports.setStreamStyling=fa;exports.set_data=Ce;exports.space=ee;exports.svg_element=Oe;exports.text=_e;exports.transition_in=Cs;exports.transition_out=bu;exports.update_slot_base=Jl;
@@ -27,7 +27,7 @@ var st = (t, i, e) => new Promise((r, o) => {
27
27
  }, a = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(n, s);
28
28
  a((e = e.apply(t, i)).next());
29
29
  });
30
- import "../stencil/ui-skeleton-C7JH5ymf.js";
30
+ import "../stencil/ui-skeleton-xXZA3rYO.js";
31
31
  function Se() {
32
32
  }
33
33
  const Il = (t) => t;
@@ -20766,7 +20766,7 @@ if (typeof window != "undefined") {
20766
20766
  }
20767
20767
  };
20768
20768
  };
20769
- customElements.define = t(customElements.define), import("./PlayerAccountModal-BPmVP7p0.js").then(({ default: i }) => {
20769
+ customElements.define = t(customElements.define), import("./PlayerAccountModal-BBGyw_YU.js").then(({ default: i }) => {
20770
20770
  !customElements.get("player-account-modal") && customElements.define("player-account-modal", i.element);
20771
20771
  });
20772
20772
  }
@@ -20782,7 +20782,7 @@ if (typeof window != "undefined") {
20782
20782
  }
20783
20783
  };
20784
20784
  };
20785
- customElements.define = t(customElements.define), import("./PlayerAccountGeneralConfirmationModal-C9HTKtKa.js").then(
20785
+ customElements.define = t(customElements.define), import("./PlayerAccountGeneralConfirmationModal-ohsdUi1v.js").then(
20786
20786
  ({ default: i }) => {
20787
20787
  !customElements.get("player-account-general-confirmation-modal") && customElements.define(
20788
20788
  "player-account-general-confirmation-modal",
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountSelfExclusionNd-BaOFH2ZF.cjs")).then(e=>e.PlayerAccountSelfExclusionNd_ce).then(({default:e})=>{!customElements.get("player-account-self-exclusion-nd")&&customElements.define("player-account-self-exclusion-nd",e.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountSelfExclusionNd-DeQXDpcW.cjs")).then(e=>e.PlayerAccountSelfExclusionNd_ce).then(({default:e})=>{!customElements.get("player-account-self-exclusion-nd")&&customElements.define("player-account-self-exclusion-nd",e.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/PlayerAccountSelfExclusionNd-D-xng2F1.js").then((e) => e.P).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/PlayerAccountSelfExclusionNd-DjSyq_c2.js").then((e) => e.P).then(({ default: e }) => {
14
14
  !customElements.get("player-account-self-exclusion-nd") && customElements.define("player-account-self-exclusion-nd", e.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { P as s } from "../components/PlayerAccountSelfExclusionNd-BB9UkxkQ.js";
1
+ import { P as s } from "../components/PlayerAccountSelfExclusionNd-ByFKzxQk.js";
2
2
  function c(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-self-exclusion-nd",
3
- "version": "1.94.113",
3
+ "version": "1.94.115",
4
4
  "type": "module",
5
5
  "main": "es2015/player-account-self-exclusion-nd.cjs",
6
6
  "module": "esnext/player-account-self-exclusion-nd.js",
@@ -0,0 +1 @@
1
+ "use strict";var P=(e,t,s)=>new Promise((r,n)=>{var a=i=>{try{o(s.next(i))}catch($){n($)}},l=i=>{try{o(s.throw(i))}catch($){n($)}},o=i=>i.done?r(i.value):Promise.resolve(i.value).then(a,l);o((s=s.apply(e,t)).next())});const ue="ui-skeleton",fe={hydratedSelectorName:"hydrated"};var de=Object.defineProperty,me=(e,t)=>{for(var s in t)de(e,s,{get:t[s],enumerable:!0})},U=new WeakMap,b=e=>U.get(e),ve=(e,t)=>U.set(t.$lazyInstance$=e,t),ge=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(r=>s.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],U.set(e,s)},E=(e,t)=>(0,console.error)(e,t),O=new Map,he=(e,t,s)=>{const r=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const a=O.get(n);if(a)return a[r];{const l=o=>(O.set(n,o),o[r]);switch(n){case"ui-skeleton":return Promise.resolve().then(()=>require("./ui-skeleton-BreIU6e5.cjs")).then(l,E)}}return import(`./${n}.entry.js`).then(l=>(O.set(n,l),l[r]),E)},L=new Map,pe="{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={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,r)=>e.addEventListener(t,s,r),rel:(e,t,s,r)=>e.removeEventListener(t,s,r),ce:(e,t)=>new CustomEvent(e,t)},K=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),A=!1,C=[],Q=[],Se=(e,t)=>s=>{e.push(s),A||(A=!0,g.$flags$&4?z(I):g.raf(I))},D=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){E(s)}e.length=0},I=()=>{D(C),D(Q),(A=C.length>0)&&g.raf(I)},z=e=>K().then(e),be=Se(Q),F={},X=e=>(e=typeof e,e==="object"||e==="function");function Z(e){var t,s,r;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}var ke={};me(ke,{err:()=>R,map:()=>Ee,ok:()=>H,unwrap:()=>we,unwrapErr:()=>Pe});var H=e=>({isOk:!0,isErr:!1,value:e}),R=e=>({isOk:!1,isErr:!0,value:e});function Ee(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(r=>H(r)):H(s)}if(e.isErr){const s=e.value;return R(s)}throw"should never get here"}var we=e=>{if(e.isOk)return e.value;throw e.value},Pe=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},xe=(e,t)=>()=>{},V=(e,t,...s)=>{let r=null,n=null,a=!1,l=!1;const o=[],i=c=>{for(let u=0;u<c.length;u++)r=c[u],Array.isArray(r)?i(r):r!=null&&typeof r!="boolean"&&((a=typeof e!="function"&&!X(r))&&(r=String(r)),a&&l?o[o.length-1].$text$+=r:o.push(a?N(null,r):r),l=a)};if(i(s),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(u=>c[u]).join(" "))}}const $=N(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=n,$},N=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s},ee={},Te=e=>e&&e.$tag$===ee,Le=(e,t)=>e!=null&&!X(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,_e=(e,t,s)=>{const r=g.ce(t,s);return e.dispatchEvent(r),r},M=new WeakMap,je=(e,t,s)=>{let r=L.get(e);ye&&s?(r=r||new CSSStyleSheet,typeof r=="string"?r=t:r.replaceSync(t)):r=t,L.set(e,r)},Oe=(e,t,s)=>{var r;const n=te(t),a=L.get(n);if(e=e.nodeType===11?e:y,a)if(typeof a=="string"){e=e.head||e;let l=M.get(e),o;if(l||M.set(e,l=new Set),!l.has(n)){{o=y.createElement("style"),o.innerHTML=a;const i=(r=g.$nonce$)!=null?r:Z(y);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=J),l&&l.add(n)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return n},Ae=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,r=S("attachStyles",t.$tagName$);Oe(s.getRootNode(),t),r()},te=(e,t)=>"sc-"+e.$tagName$,W=(e,t,s,r,n,a)=>{if(s!==r&&(t.toLowerCase(),t==="class")){const l=e.classList,o=Y(s),i=Y(r);l.remove(...o.filter($=>$&&!i.includes($))),l.add(...i.filter($=>$&&!o.includes($)))}},Ie=/\s/,Y=e=>e?e.split(Ie):[],ne=(e,t,s)=>{const r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||F,a=t.$attrs$||F;for(const l of G(Object.keys(n)))l in a||W(r,l,n[l],void 0);for(const l of G(Object.keys(a)))W(r,l,n[l],a[l])};function G(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var se,_=(e,t,s,r)=>{const n=t.$children$[s];let a=0,l,o;if(n.$text$!==null)l=n.$elm$=y.createTextNode(n.$text$);else if(l=n.$elm$=y.createElement(n.$tag$),ne(null,n),n.$children$)for(a=0;a<n.$children$.length;++a)o=_(e,n,a),o&&l.appendChild(o);return l["s-hn"]=se,l},re=(e,t,s,r,n,a)=>{let l=e,o;for(;n<=a;++n)r[n]&&(o=_(null,s,n),o&&(r[n].$elm$=o,T(l,o,t)))},le=(e,t,s)=>{for(let r=t;r<=s;++r){const n=e[r];if(n){const a=n.$elm$;a&&a.remove()}}},He=(e,t,s,r,n=!1)=>{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;for(;a<=$&&l<=f;)if(c==null)c=t[++a];else if(u==null)u=t[--$];else if(d==null)d=r[++l];else if(m==null)m=r[--f];else if(x(c,d,n))k(c,d,n),c=t[++a],d=r[++l];else if(x(u,m,n))k(u,m,n),u=t[--$],m=r[--f];else if(x(c,m,n))k(c,m,n),T(e,c.$elm$,u.$elm$.nextSibling),c=t[++a],m=r[--f];else if(x(u,d,n))k(u,d,n),T(e,u.$elm$,c.$elm$),u=t[--$],d=r[++l];else{for(o=-1,i=a;i<=$;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){o=i;break}o>=0?(h=t[o],h.$tag$!==d.$tag$?v=_(t&&t[l],s,o):(k(h,d,n),t[o]=void 0,v=h.$elm$),d=r[++l]):(v=_(t&&t[l],s,l),d=r[++l]),v&&T(c.$elm$.parentNode,v,c.$elm$)}a>$?re(e,r[f+1]==null?null:r[f+1].$elm$,s,r,l,f):l>f&&le(t,a,$)},x=(e,t,s=!1)=>e.$tag$===t.$tag$?s?!0:e.$key$===t.$key$:!1,k=(e,t,s=!1)=>{const r=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,l=t.$text$;l===null?(ne(e,t),n!==null&&a!==null?He(r,n,t,a,s):a!==null?(e.$text$!==null&&(r.textContent=""),re(r,null,t,a,0,a.length-1)):n!==null&&le(n,0,n.length-1)):e.$text$!==l&&(r.data=l)},T=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),Ne=(e,t,s=!1)=>{const r=e.$hostElement$,n=e.$vnode$||N(null,null),a=Te(t)?t:V(null,null,t);if(se=r.tagName,s&&a.$attrs$)for(const l of Object.keys(a.$attrs$))r.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(a.$attrs$[l]=r[l]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=n.$elm$=r,k(n,a,s)},ae=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},q=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ae(e,e.$ancestorComponent$),be(()=>Ue(e,t))},Ue=(e,t)=>{const s=e.$hostElement$,r=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`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`);let a;return r(),Be(a,()=>qe(e,n,t))},Be=(e,t)=>ze(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),ze=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",qe=(e,t,s)=>P(exports,null,function*(){var r;const n=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];s&&Ae(e);const o=S("render",e.$cmpMeta$.$tagName$);Ce(e,t,n,s),l&&(l.map(i=>i()),n["s-rc"]=void 0),o(),a();{const i=(r=n["s-p"])!=null?r:[],$=()=>De(e);i.length===0?$():(Promise.all(i).then($),e.$flags$|=4,i.length=0)}}),Ce=(e,t,s,r)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ne(e,t,r)}catch(n){E(n,e.$hostElement$)}return null},De=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,r=S("postUpdate",t),n=e.$ancestorComponent$;e.$flags$&64?r():(e.$flags$|=64,oe(s),r(),e.$onReadyResolve$(s),n||ie()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&z(()=>q(e,!1)),e.$flags$&=-517},ie=e=>{oe(y.documentElement),z(()=>_e(B,"appload",{detail:{namespace:ue}}))},oe=e=>{var t;return e.classList.add((t=fe.hydratedSelectorName)!=null?t:"hydrated")},Fe=(e,t)=>b(e).$instanceValues$.get(t),Me=(e,t,s,r)=>{const n=b(e);if(!n)throw new Error(`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).`);const a=n.$hostElement$,l=n.$instanceValues$.get(t),o=n.$flags$,i=n.$lazyInstance$;s=Le(s,r.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(s),c=s!==l&&!$;if((!(o&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,s),i)){if(r.$watchers$&&o&128){const u=r.$watchers$[t];u&&u.map(f=>{try{i[f](s,l,t)}catch(d){E(d,a)}})}(o&18)===2&&q(n,!1)}},$e=(e,t,s)=>{var r,n;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((r=t.$members$)!=null?r:{});if(l.map(([o,[i]])=>{(i&31||s&2&&i&32)&&Object.defineProperty(a,o,{get(){return Fe(this,o)},set($){Me(this,o,$,t)},configurable:!0,enumerable:!0})}),s&1){const o=new Map;a.attributeChangedCallback=function(i,$,c){g.jmp(()=>{var u;const f=o.get(i);if(this.hasOwnProperty(f))c=this[f],delete this[f];else{if(a.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==c)return;if(f==null){const d=b(this),m=d==null?void 0:d.$flags$;if(m&&!(m&8)&&m&128&&c!==$){const v=d.$lazyInstance$,h=(u=t.$watchers$)==null?void 0:u[i];h==null||h.forEach(p=>{v[p]!=null&&v[p].call(v,c,$,i)})}return}}this[f]=c===null&&typeof this[f]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([i,$])=>$[0]&15).map(([i,$])=>{const c=$[1]||i;return o.set(c,i),c})]))}}return e},We=(e,t,s,r)=>P(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const i=he(s);if(i&&"then"in i){const c=xe();n=yield i,c()}else n=i;if(!n)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(s.$watchers$=n.watchers,$e(n,s,2),n.isProxied=!0);const $=S("createInstance",s.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){E(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{n=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(n&&n.style){let i;typeof n.style=="string"&&(i=n.style);const $=te(s);if(!L.has($)){const c=S("registerStyles",s.$tagName$);je($,i,!!(s.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>q(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),Ye=e=>{},Ge=e=>{if(!(g.$flags$&1)){const t=b(e),s=t.$cmpMeta$,r=S("connectedCallback",s.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ye());else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ae(t,t.$ancestorComponent$=n);break}}s.$members$&&Object.entries(s.$members$).map(([n,[a]])=>{if(a&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),We(e,t,s)}r()}},Je=e=>{},Ke=e=>P(exports,null,function*(){if(!(g.$flags$&1)){const t=b(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Je())}}),Qe=(e,t={})=>{var s;const r=S(),n=[],a=t.exclude||[],l=B.customElements,o=y.head,i=o.querySelector("meta[charset]"),$=y.createElement("style"),c=[];let u,f=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let d=!1;if(e.map(m=>{m[1].map(v=>{var h;const p={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};p.$flags$&4&&(d=!0),p.$members$=v[2],p.$watchers$=(h=v[4])!=null?h:{};const w=p.$tagName$,ce=class extends HTMLElement{constructor(j){super(j),this.hasRegisteredEventListeners=!1,j=this,ge(j,p)}connectedCallback(){b(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),u&&(clearTimeout(u),u=null),f?c.push(this):g.jmp(()=>Ge(this))}disconnectedCallback(){g.jmp(()=>Ke(this))}componentOnReady(){return b(this).$onReadyPromise$}};p.$lazyBundleId$=m[0],!a.includes(w)&&!l.get(w)&&(n.push(w),l.define(w,$e(ce,p,1)))})}),n.length>0&&(d&&($.textContent+=J),$.textContent+=n.sort()+pe,$.innerHTML.length)){$.setAttribute("data-styles","");const m=(s=g.$nonce$)!=null?s:Z(y);m!=null&&$.setAttribute("nonce",m),o.insertBefore($,i?i.nextSibling:o.firstChild)}f=!1,c.length?c.map(m=>m.connectedCallback()):g.jmp(()=>u=setTimeout(ie,30)),r()};exports.Host=ee;exports.bootstrapLazy=Qe;exports.h=V;exports.promiseResolve=K;exports.registerInstance=ve;