@everymatrix/general-registration 1.99.56 → 1.99.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/dist/cjs/{GeneralAnimationLoading-DLWh0_Mr-87adb410.js → GeneralAnimationLoading-Dm0kXeN0-1a4caab6.js} +20 -20
  2. package/dist/cjs/{PlayerConsents-B1AMCVsz-fa53af28.js → PlayerConsents-Bk04lAcw-06b5367b.js} +23 -43
  3. package/dist/cjs/checkbox-group-input_15.cjs.entry.js +14 -4
  4. package/dist/cjs/index.cjs.js +11 -0
  5. package/dist/cjs/types-ef75801c.js +8 -0
  6. package/dist/collection/components/general-registration/general-registration.js +32 -2
  7. package/dist/collection/index.js +1 -0
  8. package/dist/collection/utils/types.js +6 -0
  9. package/dist/esm/{GeneralAnimationLoading-DLWh0_Mr-a00326b9.js → GeneralAnimationLoading-Dm0kXeN0-45b39692.js} +1 -1
  10. package/dist/esm/{PlayerConsents-B1AMCVsz-49d58473.js → PlayerConsents-Bk04lAcw-13fa42f5.js} +23 -43
  11. package/dist/esm/checkbox-group-input_15.entry.js +14 -4
  12. package/dist/esm/index.js +2 -0
  13. package/dist/esm/types-d6cd6856.js +8 -0
  14. package/dist/general-registration/{GeneralAnimationLoading-DLWh0_Mr-a00326b9.js → GeneralAnimationLoading-Dm0kXeN0-45b39692.js} +1 -1
  15. package/dist/general-registration/PlayerConsents-Bk04lAcw-13fa42f5.js +1 -0
  16. package/dist/general-registration/checkbox-group-input_15.entry.js +241 -241
  17. package/dist/general-registration/index.esm.js +1 -1
  18. package/dist/general-registration/types-d6cd6856.js +1 -0
  19. package/dist/types/components/general-registration/general-registration.d.ts +4 -0
  20. package/dist/types/components.d.ts +7 -0
  21. package/dist/types/index.d.ts +1 -0
  22. package/dist/types/utils/types.d.ts +5 -0
  23. package/package.json +1 -1
  24. package/dist/general-registration/PlayerConsents-B1AMCVsz-49d58473.js +0 -1
@@ -10,7 +10,7 @@ var Je = (e, t, r) => t in e ? rn(e, t, { enumerable: !0, configurable: !0, writ
10
10
  sn.call(t, r) && Je(e, r, t[r]);
11
11
  return e;
12
12
  }, Qe = (e, t) => nn(e, on(t));
13
- var U = (e, t, r) => (Je(e, typeof t != "symbol" ? t + "" : t, r), r);
13
+ var U = (e, t, r) => Je(e, typeof t != "symbol" ? t + "" : t, r);
14
14
  var re = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (c) => {
16
16
  try {
@@ -70,8 +70,7 @@ function un(e, t, r) {
70
70
  }
71
71
  }
72
72
  function hn(e) {
73
- if (!e)
74
- return document;
73
+ if (!e) return document;
75
74
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
76
75
  return t && /** @type {ShadowRoot} */
77
76
  t.host ? (
@@ -212,8 +211,7 @@ function Ce(e) {
212
211
  xe = e;
213
212
  }
214
213
  function gn() {
215
- if (!xe)
216
- throw new Error("Function called outside component initialization");
214
+ if (!xe) throw new Error("Function called outside component initialization");
217
215
  return xe;
218
216
  }
219
217
  function _n(e) {
@@ -244,8 +242,7 @@ function X() {
244
242
  } catch (t) {
245
243
  throw oe.length = 0, ne = 0, t;
246
244
  }
247
- for (Ce(null), oe.length = 0, ne = 0; Ue.length; )
248
- Ue.pop()();
245
+ for (Ce(null), oe.length = 0, ne = 0; Ue.length; ) Ue.pop()();
249
246
  for (let t = 0; t < se.length; t += 1) {
250
247
  const r = se[t];
251
248
  Ye.has(r) || (Ye.add(r), r());
@@ -574,8 +571,7 @@ function Nn(e, t) {
574
571
  }
575
572
  }
576
573
  function An(e, t) {
577
- if (!e || !t)
578
- return;
574
+ if (!e || !t) return;
579
575
  const r = new URL(t);
580
576
  fetch(r.href).then((n) => n.text()).then((n) => {
581
577
  const i = document.createElement("style");
@@ -585,8 +581,7 @@ function An(e, t) {
585
581
  });
586
582
  }
587
583
  function Hn(e, t, r, n = !1) {
588
- if (!window.emMessageBus)
589
- return;
584
+ if (!window.emMessageBus) return;
590
585
  if (!("adoptedStyleSheets" in Document.prototype) || !n)
591
586
  return r = Pn(e, t), r;
592
587
  window[ae] || (window[ae] = {}), r = Bn(e, t);
@@ -607,8 +602,7 @@ function Pn(e, t) {
607
602
  }
608
603
  function Bn(e, t) {
609
604
  return window.emMessageBus.subscribe(t, (r) => {
610
- if (!e)
611
- return;
605
+ if (!e) return;
612
606
  const n = e.getRootNode(), i = window[ae];
613
607
  let o = i[t] && i[t].sheet;
614
608
  o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
@@ -760,8 +754,7 @@ var ct = function(e, t) {
760
754
  return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
761
755
  r.__proto__ = n;
762
756
  } || function(r, n) {
763
- for (var i in n)
764
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
757
+ for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
765
758
  }, ct(e, t);
766
759
  };
767
760
  function Ve(e, t) {
@@ -777,25 +770,22 @@ var Z = function() {
777
770
  return Z = Object.assign || function(t) {
778
771
  for (var r, n = 1, i = arguments.length; n < i; n++) {
779
772
  r = arguments[n];
780
- for (var o in r)
781
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
773
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
782
774
  }
783
775
  return t;
784
776
  }, Z.apply(this, arguments);
785
777
  };
786
778
  function Qn(e, t) {
787
779
  var r = {};
788
- for (var n in e)
789
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
780
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
790
781
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
791
782
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
792
783
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
793
784
  return r;
794
785
  }
795
786
  function Ke(e, t, r) {
796
- if (r || arguments.length === 2)
797
- for (var n = 0, i = t.length, o; n < i; n++)
798
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
787
+ if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
788
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
799
789
  return e.concat(o || Array.prototype.slice.call(t));
800
790
  }
801
791
  function et(e, t) {
@@ -850,8 +840,7 @@ var ri = function() {
850
840
  return De = Object.assign || function(t) {
851
841
  for (var r, n = 1, i = arguments.length; n < i; n++) {
852
842
  r = arguments[n];
853
- for (var o in r)
854
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
843
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
855
844
  }
856
845
  return t;
857
846
  }, De.apply(this, arguments);
@@ -997,8 +986,7 @@ var B = function() {
997
986
  return B = Object.assign || function(t) {
998
987
  for (var r, n = 1, i = arguments.length; n < i; n++) {
999
988
  r = arguments[n];
1000
- for (var o in r)
1001
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
989
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1002
990
  }
1003
991
  return t;
1004
992
  }, B.apply(this, arguments);
@@ -2640,8 +2628,7 @@ function pi(e, t) {
2640
2628
  r += c;
2641
2629
  for (; a-- > 0; )
2642
2630
  r = l + r;
2643
- } else
2644
- i === "J" ? r += "H" : r += i;
2631
+ } else i === "J" ? r += "H" : r += i;
2645
2632
  }
2646
2633
  return r;
2647
2634
  }
@@ -3244,8 +3231,7 @@ function pt(e) {
3244
3231
  if (delete t.location, fr(t) || pr(t))
3245
3232
  for (var r in t.options)
3246
3233
  delete t.options[r].location, pt(t.options[r].value);
3247
- else
3248
- hr(t) && _r(t.style) || (dr(t) || mr(t)) && ut(t.style) ? delete t.style.location : gr(t) && pt(t.children);
3234
+ else hr(t) && _r(t.style) || (dr(t) || mr(t)) && ut(t.style) ? delete t.style.location : gr(t) && pt(t.children);
3249
3235
  });
3250
3236
  }
3251
3237
  function Oi(e, t) {
@@ -4456,7 +4442,7 @@ if (typeof window != "undefined") {
4456
4442
  }
4457
4443
  };
4458
4444
  };
4459
- customElements.define = e(customElements.define), import('./GeneralAnimationLoading-DLWh0_Mr-a00326b9.js').then(({ default: t }) => {
4445
+ customElements.define = e(customElements.define), import('./GeneralAnimationLoading-Dm0kXeN0-45b39692.js').then(({ default: t }) => {
4460
4446
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
4461
4447
  });
4462
4448
  }
@@ -5059,21 +5045,17 @@ function Ho(e) {
5059
5045
  if (
5060
5046
  /*isLoading*/
5061
5047
  a[10]
5062
- )
5063
- return Ao;
5048
+ ) return Ao;
5064
5049
  if (
5065
5050
  /*fatalError*/
5066
5051
  a[7]
5067
- )
5068
- return No;
5052
+ ) return No;
5069
5053
  if (
5070
5054
  /*session*/
5071
5055
  a[0]
5072
- )
5073
- return Mo;
5056
+ ) return Mo;
5074
5057
  if (!/*session*/
5075
- a[0])
5076
- return To;
5058
+ a[0]) return To;
5077
5059
  }
5078
5060
  let i = n(e), o = i && i(e);
5079
5061
  return {
@@ -5146,8 +5128,7 @@ function Po(e, t, r) {
5146
5128
  status: R.denied.value
5147
5129
  }), L.push(b)), b.description = w.description, b.orderNumber = w.orderNumber;
5148
5130
  }), y === "true") {
5149
- if (r(9, L = L.filter((w) => w.status === R.expired.value)), L.length !== 0)
5150
- return;
5131
+ if (r(9, L = L.filter((w) => w.status === R.expired.value)), L.length !== 0) return;
5151
5132
  Oe(n("wrongModalConfig"), !0);
5152
5133
  }
5153
5134
  Dr();
@@ -5315,8 +5296,7 @@ function Po(e, t, r) {
5315
5296
  if (!f && b.mustAccept) {
5316
5297
  const q = Array.from(Pe.children);
5317
5298
  for (const ke of q)
5318
- if (I = Array.from(ke.children).find((tn) => tn.getAttribute("id") === `checkBoxError__${b.tagCode}`), I)
5319
- break;
5299
+ if (I = Array.from(ke.children).find((tn) => tn.getAttribute("id") === `checkBoxError__${b.tagCode}`), I) break;
5320
5300
  }
5321
5301
  if (b.status === R.accepted[M] ? (b.status = R.denied[M], I && (I.innerHTML = n("requiredError"))) : (b.status = R.accepted[M], I && (I.innerHTML = "")), f) {
5322
5302
  r(13, D[b.tagCode] = !D[b.tagCode], D);
@@ -1,4 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement, H as Host, f as forceUpdate } from './index-66ea2aae.js';
2
+ import { R as RegistrationConfigStatus } from './types-d6cd6856.js';
2
3
 
3
4
  const DEFAULT_LANGUAGE$1 = 'en';
4
5
  const TRANSLATIONS$1 = {
@@ -6600,7 +6601,7 @@ function getStreamTranslations(domain, subscription, onChange, byLocale = false)
6600
6601
  return subscription;
6601
6602
  }
6602
6603
 
6603
- var qr=Object.defineProperty,Yr=Object.defineProperties;var Kr=Object.getOwnPropertyDescriptors;var lo=Object.getOwnPropertySymbols;var Gr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable;var Mt=(s,t,e)=>t in s?qr(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e,we=(s,t)=>{for(var e in t||(t={}))Gr.call(t,e)&&Mt(s,e,t[e]);if(lo)for(var e of lo(t))Xr.call(t,e)&&Mt(s,e,t[e]);return s},Nt=(s,t)=>Yr(s,Kr(t));var k=(s,t,e)=>(Mt(s,typeof t!="symbol"?t+"":t,e),e);var Ce=(s,t,e)=>new Promise((i,o)=>{var r=l=>{try{a(e.next(l));}catch(d){o(d);}},n=l=>{try{a(e.throw(l));}catch(d){o(d);}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(r,n);a((e=e.apply(s,t)).next());});/**
6604
+ var qr=Object.defineProperty,Yr=Object.defineProperties;var Kr=Object.getOwnPropertyDescriptors;var lo=Object.getOwnPropertySymbols;var Gr=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable;var Mt=(s,t,e)=>t in s?qr(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e,we=(s,t)=>{for(var e in t||(t={}))Gr.call(t,e)&&Mt(s,e,t[e]);if(lo)for(var e of lo(t))Xr.call(t,e)&&Mt(s,e,t[e]);return s},Nt=(s,t)=>Yr(s,Kr(t));var k=(s,t,e)=>Mt(s,typeof t!="symbol"?t+"":t,e);var Ce=(s,t,e)=>new Promise((i,o)=>{var r=l=>{try{a(e.next(l));}catch(d){o(d);}},n=l=>{try{a(e.throw(l));}catch(d){o(d);}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(r,n);a((e=e.apply(s,t)).next());});/**
6604
6605
  * @license
6605
6606
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
6606
6607
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -14782,7 +14783,7 @@ if (typeof window != "undefined") {
14782
14783
  }
14783
14784
  };
14784
14785
  };
14785
- customElements.define = n(customElements.define), import('./PlayerConsents-B1AMCVsz-49d58473.js').then((e) => e.P).then(({ default: e }) => {
14786
+ customElements.define = n(customElements.define), import('./PlayerConsents-Bk04lAcw-13fa42f5.js').then((e) => e.P).then(({ default: e }) => {
14786
14787
  !customElements.get("player-consents") && customElements.define("player-consents", e.element);
14787
14788
  });
14788
14789
  }
@@ -14795,6 +14796,7 @@ const GeneralRegistration = class {
14795
14796
  registerInstance(this, hostRef);
14796
14797
  this.registrationWidgetLoaded = createEvent(this, "registrationWidgetLoaded", 7);
14797
14798
  this.registrationStepUpdated = createEvent(this, "registrationStepUpdated", 7);
14799
+ this.registrationConfigStatus = createEvent(this, "registrationConfigStatus", 7);
14798
14800
  this.validationChange = createEvent(this, "validationChange", 7);
14799
14801
  this.isSelectingAddress = false;
14800
14802
  this.lastPostalCode = null;
@@ -15287,6 +15289,10 @@ const GeneralRegistration = class {
15287
15289
  });
15288
15290
  await this.captchaInstance.render(captchaContainerEl);
15289
15291
  }
15292
+ emitRegistrationConfigStatus(status) {
15293
+ this.registrationConfigStatus.emit(status);
15294
+ window.postMessage({ type: 'registrationConfigStatus', status }, window.location.href);
15295
+ }
15290
15296
  getRegisterConfig(registrationID) {
15291
15297
  const configPath = this.gmversion === 'gm2'
15292
15298
  ? '/api/pam/v2/legislation/register/config'
@@ -15304,6 +15310,7 @@ const GeneralRegistration = class {
15304
15310
  };
15305
15311
  return new Promise((resolve, reject) => {
15306
15312
  this.isLoading = true;
15313
+ this.emitRegistrationConfigStatus(RegistrationConfigStatus.Loading);
15307
15314
  fetch(url.href, options)
15308
15315
  .then((res) => {
15309
15316
  if (!res.ok) {
@@ -15319,11 +15326,14 @@ const GeneralRegistration = class {
15319
15326
  .then((config) => {
15320
15327
  this.isLoading = false;
15321
15328
  if (!config) {
15329
+ this.emitRegistrationConfigStatus(RegistrationConfigStatus.Error);
15322
15330
  return reject('Get register config is empty or has an error.');
15323
15331
  }
15332
+ this.emitRegistrationConfigStatus(RegistrationConfigStatus.Success);
15324
15333
  return resolve(config);
15325
15334
  }, (err) => {
15326
15335
  console.error('Get register config is empty or has an error: ', err);
15336
+ this.emitRegistrationConfigStatus(RegistrationConfigStatus.Error);
15327
15337
  return reject(err);
15328
15338
  }).finally(() => {
15329
15339
  this.isLoading = false;
@@ -15910,8 +15920,8 @@ const GeneralRegistration = class {
15910
15920
  const isLoading = this.isLoading && !this.registerErrors;
15911
15921
  const isError = !this.isLoading && this.registerErrors;
15912
15922
  const showForm = !(isLoading || isError);
15913
- return (h("div", { key: '53b15694dbc2a96e11d7f4063bcd6025c8e3c729', ref: (el) => (this.stylingContainer = el), class: `registration registration__${this.registrationStep}` }, isLoading && h("p", { key: 'd23e595780422a46e6b8b2f20d51444ba46e2c8d', class: `registration registration__loading-message` }, translate('loadingMessage', this.language)), isError && this.renderErrorMessage(this.errorMessage), showForm && this.renderForm(), showForm && !this.buttonInsideForm && this.renderButtons(), this.turnstileSiteKey &&
15914
- h("div", { key: '94a3b0a7a5f7afb770817364e4cc3fad3328a523', class: "captcha-wrapper" }, h("slot", { key: 'f4821bcc295105fdd15b72153822eed1989614b6', name: CAPTCHA_CONTAINER_SLOT }))));
15923
+ return (h("div", { key: '8bd2260523f0cc8c4cba59496dcc75e5a725cf27', ref: (el) => (this.stylingContainer = el), class: `registration registration__${this.registrationStep}` }, isLoading && h("p", { key: '5ab45acffbf827dd501fc069d3febb6b06876273', class: `registration registration__loading-message` }, translate('loadingMessage', this.language)), isError && this.renderErrorMessage(this.errorMessage), showForm && this.renderForm(), showForm && !this.buttonInsideForm && this.renderButtons(), this.turnstileSiteKey &&
15924
+ h("div", { key: '1a9506c7a4cecf2598ba22c2508277bdc2b55fc5', class: "captcha-wrapper" }, h("slot", { key: 'db4a6364ba72d9f51e672f247661bf5134c91d86', name: CAPTCHA_CONTAINER_SLOT }))));
15915
15925
  }
15916
15926
  get host() { return getElement(this); }
15917
15927
  static get watchers() { return {
package/dist/esm/index.js CHANGED
@@ -1,3 +1,5 @@
1
+ export { R as RegistrationConfigStatus } from './types-d6cd6856.js';
2
+
1
3
  function safeDecorator(fn) {
2
4
  // eslint-disable-next-line func-names
3
5
  return function (...args) {
@@ -0,0 +1,8 @@
1
+ var RegistrationConfigStatus;
2
+ (function (RegistrationConfigStatus) {
3
+ RegistrationConfigStatus["Loading"] = "Loading";
4
+ RegistrationConfigStatus["Success"] = "Success";
5
+ RegistrationConfigStatus["Error"] = "Error";
6
+ })(RegistrationConfigStatus || (RegistrationConfigStatus = {}));
7
+
8
+ export { RegistrationConfigStatus as R };
@@ -1 +1 @@
1
- import{S as i,i as s,s as l,f as t,k as e,a as n,e as a,b as r,n as d,d as c,o,g as p,h as u,j as f,c as m}from"./PlayerConsents-B1AMCVsz-49d58473.js";function g(i){n(i,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function h(i){let s;return{c(){s=a("div"),s.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(l,t){r(l,s,t),i[4](s)},p:d,i:d,o:d,d(l){l&&c(s),i[4](null)}}}function y(i,s,l){let t,{clientstyling:e=""}=s,{clientstylingurl:n=""}=s,{mbsource:a}=s;return o((()=>()=>{})),i.$$set=i=>{"clientstyling"in i&&l(1,e=i.clientstyling),"clientstylingurl"in i&&l(2,n=i.clientstylingurl),"mbsource"in i&&l(3,a=i.mbsource)},i.$$.update=()=>{3&i.$$.dirty&&e&&t&&p(t,e),5&i.$$.dirty&&n&&t&&u(t,n),9&i.$$.dirty&&a&&t&&f(t,`${a}.Style`,void 0)},[t,e,n,a,function(i){m[i?"unshift":"push"]((()=>{t=i,l(0,t)}))}]}class v extends i{constructor(i){super(),s(this,i,y,h,l,{clientstyling:1,clientstylingurl:2,mbsource:3},g)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(i){this.$$set({clientstyling:i}),t()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),t()}get mbsource(){return this.$$.ctx[3]}set mbsource(i){this.$$set({mbsource:i}),t()}}e(v,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);export{v as default}
1
+ import{S as i,i as s,s as l,f as t,k as e,a as n,e as a,b as r,n as d,d as c,o,g as p,h as u,j as f,c as m}from"./PlayerConsents-Bk04lAcw-13fa42f5.js";function g(i){n(i,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function h(i){let s;return{c(){s=a("div"),s.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(l,t){r(l,s,t),i[4](s)},p:d,i:d,o:d,d(l){l&&c(s),i[4](null)}}}function y(i,s,l){let t,{clientstyling:e=""}=s,{clientstylingurl:n=""}=s,{mbsource:a}=s;return o((()=>()=>{})),i.$$set=i=>{"clientstyling"in i&&l(1,e=i.clientstyling),"clientstylingurl"in i&&l(2,n=i.clientstylingurl),"mbsource"in i&&l(3,a=i.mbsource)},i.$$.update=()=>{3&i.$$.dirty&&e&&t&&p(t,e),5&i.$$.dirty&&n&&t&&u(t,n),9&i.$$.dirty&&a&&t&&f(t,`${a}.Style`,void 0)},[t,e,n,a,function(i){m[i?"unshift":"push"]((()=>{t=i,l(0,t)}))}]}class v extends i{constructor(i){super(),s(this,i,y,h,l,{clientstyling:1,clientstylingurl:2,mbsource:3},g)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(i){this.$$set({clientstyling:i}),t()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),t()}get mbsource(){return this.$$.ctx[3]}set mbsource(i){this.$$set({mbsource:i}),t()}}e(v,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);export{v as default}