@everymatrix/casino-most-played-section 1.60.0 → 1.60.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/components/{CasinoGameThumbnail-CjGUVsxf.js → CasinoGameThumbnail-Brp54Mkr.js} +1 -1
  2. package/components/{CasinoGameThumbnail-nAn0iQox.cjs → CasinoGameThumbnail-D1hFEtJA.cjs} +1 -1
  3. package/components/{CasinoGameThumbnail-ftaXUIU6.js → CasinoGameThumbnail-DdWkNS2C.js} +1 -1
  4. package/components/{CasinoGamesCategorySection-JdI1VKYy.cjs → CasinoGamesCategorySection-CHZiU-PO.cjs} +1 -1
  5. package/components/{CasinoGamesCategorySection-Bq_Rt5hY.js → CasinoGamesCategorySection-D1vQeCrE.js} +2 -2
  6. package/components/{CasinoGamesCategorySection-BqCNxAqN.js → CasinoGamesCategorySection-DyF270dL.js} +2 -2
  7. package/components/{CasinoMostPlayedSection-ZaHSeHfX.js → CasinoMostPlayedSection-Biz_quau.js} +1 -1
  8. package/components/{CasinoMostPlayedSection-C9CBMudx.js → CasinoMostPlayedSection-DqhZX69X.js} +1 -1
  9. package/components/{CasinoMostPlayedSection-DynYJDkW.cjs → CasinoMostPlayedSection-_lcsNiHC.cjs} +1 -1
  10. package/es2015/casino-most-played-section.cjs +1 -1
  11. package/es2015/casino-most-played-section.js +1 -1
  12. package/esnext/casino-most-played-section.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/index-b2193545-BLGDaRxR.js +519 -0
  15. package/stencil/index-b2193545-CgYO4hhs.cjs +1 -0
  16. package/stencil/index-b2193545-dQymAF3M.js +503 -0
  17. package/stencil/{ui-skeleton-C5gPr5Xv.js → ui-skeleton-BCx6m_uC.js} +4 -4
  18. package/stencil/ui-skeleton-BtNRiNfn.cjs +1 -0
  19. package/stencil/{ui-skeleton-M7HNQCk1.js → ui-skeleton-DypM319u.js} +8 -8
  20. package/stencil/ui-skeleton-ea659b95-Bo7WD0ao.js +152 -0
  21. package/stencil/ui-skeleton-ea659b95-Dc45mVmr.cjs +73 -0
  22. package/stencil/ui-skeleton-ea659b95-DyTVU8Ak.js +152 -0
  23. package/stencil/index-ae04a8b1-DPYODDdm.cjs +0 -1
  24. package/stencil/index-ae04a8b1-DRAR7dln.js +0 -532
  25. package/stencil/index-ae04a8b1-eSktas_K.js +0 -516
  26. package/stencil/ui-skeleton-C1buDKbo.cjs +0 -1
  27. package/stencil/ui-skeleton-a642cced-BFJMszWG.js +0 -122
  28. package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +0 -1
  29. package/stencil/ui-skeleton-a642cced-p8tGooXk.js +0 -122
@@ -0,0 +1,152 @@
1
+ import { r as o, h as t, H as i } from "./index-b2193545-dQymAF3M.js";
2
+ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 250px);height:var(--emw-skeleton-image-height, 200px);border-radius:var(--emw-skeleton-image-border-radius, 10px)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, a = class {
3
+ constructor(e) {
4
+ o(this, e), this.structure = void 0, this.width = void 0, this.height = void 0, this.borderRadius = void 0, this.marginBottom = void 0, this.marginTop = void 0, this.marginLeft = void 0, this.marginRight = void 0, this.animation = !0, this.rows = void 0, this.size = void 0, this.color = void 0, this.primaryColor = void 0, this.secondaryColor = void 0;
5
+ }
6
+ handleStructureChange(e, r) {
7
+ r !== e && this.handleStructure(e);
8
+ }
9
+ handleStructure(e) {
10
+ switch (e) {
11
+ case "logo":
12
+ return this.renderLogo();
13
+ case "image":
14
+ return this.renderImage();
15
+ case "title":
16
+ return this.renderTitle();
17
+ case "text":
18
+ return this.renderText();
19
+ case "rectangle":
20
+ return this.renderRectangle();
21
+ case "circle":
22
+ return this.renderCircle();
23
+ default:
24
+ return null;
25
+ }
26
+ }
27
+ renderLogo() {
28
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
29
+ }
30
+ renderImage() {
31
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "Image " + (this.animation ? "Skeleton" : "") }));
32
+ }
33
+ renderTitle() {
34
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
35
+ }
36
+ renderText() {
37
+ return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, r) => t("div", { key: r, class: "Text " + (this.animation ? "Skeleton" : "") })));
38
+ }
39
+ renderRectangle() {
40
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
41
+ }
42
+ renderCircle() {
43
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "Circle " + (this.animation ? "Skeleton" : "") }));
44
+ }
45
+ render() {
46
+ let e = "";
47
+ switch (this.structure) {
48
+ case "logo":
49
+ e = `
50
+ :host {
51
+ --emw-skeleton-logo-width: ${this.width};
52
+ --emw-skeleton-logo-height: ${this.height};
53
+ --emw-skeleton-logo-border-radius: ${this.borderRadius}px;
54
+ --emw-skeleton-logo-margin-bottom: ${this.marginBottom}px;
55
+ --emw-skeleton-logo-margin-top: ${this.marginTop}px;
56
+ --emw-skeleton-logo-margin-left: ${this.marginLeft}px;
57
+ --emw-skeleton-logo-margin-right: ${this.marginRight}px;
58
+ --emw-skeleton-logo-background: ${this.color};
59
+ --emw-skeleton-primary-color: ${this.primaryColor};
60
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
61
+ }
62
+ `;
63
+ break;
64
+ case "image":
65
+ e = `
66
+ :host {
67
+ --emw-skeleton-image-width: ${this.width};
68
+ --emw-skeleton-image-height: ${this.height};
69
+ --emw-skeleton-image-border-radius: ${this.borderRadius}px;
70
+ --emw-skeleton-image-margin-bottom: ${this.marginBottom}px;
71
+ --emw-skeleton-image-margin-top: ${this.marginTop}px;
72
+ --emw-skeleton-image-margin-left: ${this.marginLeft}px;
73
+ --emw-skeleton-image-margin-right: ${this.marginRight}px;
74
+ --emw-skeleton-image-background: ${this.color};
75
+ --emw-skeleton-primary-color: ${this.primaryColor};
76
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
77
+ }
78
+ `;
79
+ break;
80
+ case "title":
81
+ e = `
82
+ :host {
83
+ --emw-skeleton-title-width: ${this.width};
84
+ --emw-skeleton-title-height: ${this.height};
85
+ --emw-skeleton-title-border-radius: ${this.borderRadius}px;
86
+ --emw-skeleton-title-margin-bottom: ${this.marginBottom}px;
87
+ --emw-skeleton-title-margin-top: ${this.marginTop}px;
88
+ --emw-skeleton-title-margin-left: ${this.marginLeft}px;
89
+ --emw-skeleton-title-margin-right: ${this.marginRight}px;
90
+ --emw-skeleton-title-background: ${this.color};
91
+ --emw-skeleton-primary-color: ${this.primaryColor};
92
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
93
+ }
94
+ `;
95
+ break;
96
+ case "text":
97
+ e = `
98
+ :host {
99
+ --emw-skeleton-text-width: ${this.width};
100
+ --emw-skeleton-text-height: ${this.height};
101
+ --emw-skeleton-text-border-radius: ${this.borderRadius}px;
102
+ --emw-skeleton-text-margin-bottom: ${this.marginBottom}px;
103
+ --emw-skeleton-text-margin-top: ${this.marginTop}px;
104
+ --emw-skeleton-text-margin-left: ${this.marginLeft}px;
105
+ --emw-skeleton-text-margin-right: ${this.marginRight}px;
106
+ --emw-skeleton-text-background: ${this.color};
107
+ --emw-skeleton-primary-color: ${this.primaryColor};
108
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
109
+ }
110
+ `;
111
+ break;
112
+ case "rectangle":
113
+ e = `
114
+ :host {
115
+ --emw-skeleton-rectangle-width: ${this.width};
116
+ --emw-skeleton-rectangle-height: ${this.height};
117
+ --emw-skeleton-rectangle-border-radius: ${this.borderRadius}px;
118
+ --emw-skeleton-rectangle-margin-bottom: ${this.marginBottom}px;
119
+ --emw-skeleton-rectangle-margin-top: ${this.marginTop}px;
120
+ --emw-skeleton-rectangle-margin-left: ${this.marginLeft}px;
121
+ --emw-skeleton-rectangle-margin-right: ${this.marginRight}px;
122
+ --emw-skeleton-rectangle-background: ${this.color};
123
+ --emw-skeleton-primary-color: ${this.primaryColor};
124
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
125
+ }
126
+ `;
127
+ break;
128
+ case "circle":
129
+ e = `
130
+ :host {
131
+ --emw-skeleton-circle-size: ${this.size};
132
+ --emw-skeleton-circle-background: ${this.color};
133
+ --emw-skeleton-primary-color: ${this.primaryColor};
134
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
135
+ }
136
+ `;
137
+ break;
138
+ default:
139
+ e = "";
140
+ }
141
+ return t(i, { key: "58f7f9acd15f0f96b8b6f47f6bea81d49a3857c5" }, t("style", { key: "c72ac31d1c55fd5d18ec334629db45977a0f6124" }, e), this.handleStructure(this.structure));
142
+ }
143
+ static get watchers() {
144
+ return {
145
+ structure: ["handleStructureChange"]
146
+ };
147
+ }
148
+ };
149
+ a.style = s;
150
+ export {
151
+ a as U
152
+ };
@@ -0,0 +1,73 @@
1
+ "use strict";const t=require("./index-b2193545-CgYO4hhs.cjs"),i=":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 250px);height:var(--emw-skeleton-image-height, 200px);border-radius:var(--emw-skeleton-image-border-radius, 10px)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}",n=i,o=class{constructor(e){t.registerInstance(this,e),this.structure=void 0,this.width=void 0,this.height=void 0,this.borderRadius=void 0,this.marginBottom=void 0,this.marginTop=void 0,this.marginLeft=void 0,this.marginRight=void 0,this.animation=!0,this.rows=void 0,this.size=void 0,this.color=void 0,this.primaryColor=void 0,this.secondaryColor=void 0}handleStructureChange(e,r){r!==e&&this.handleStructure(e)}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Image "+(this.animation?"Skeleton":"")}))}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,r)=>t.h("div",{key:r,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
2
+ :host {
3
+ --emw-skeleton-logo-width: ${this.width};
4
+ --emw-skeleton-logo-height: ${this.height};
5
+ --emw-skeleton-logo-border-radius: ${this.borderRadius}px;
6
+ --emw-skeleton-logo-margin-bottom: ${this.marginBottom}px;
7
+ --emw-skeleton-logo-margin-top: ${this.marginTop}px;
8
+ --emw-skeleton-logo-margin-left: ${this.marginLeft}px;
9
+ --emw-skeleton-logo-margin-right: ${this.marginRight}px;
10
+ --emw-skeleton-logo-background: ${this.color};
11
+ --emw-skeleton-primary-color: ${this.primaryColor};
12
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
13
+ }
14
+ `;break;case"image":e=`
15
+ :host {
16
+ --emw-skeleton-image-width: ${this.width};
17
+ --emw-skeleton-image-height: ${this.height};
18
+ --emw-skeleton-image-border-radius: ${this.borderRadius}px;
19
+ --emw-skeleton-image-margin-bottom: ${this.marginBottom}px;
20
+ --emw-skeleton-image-margin-top: ${this.marginTop}px;
21
+ --emw-skeleton-image-margin-left: ${this.marginLeft}px;
22
+ --emw-skeleton-image-margin-right: ${this.marginRight}px;
23
+ --emw-skeleton-image-background: ${this.color};
24
+ --emw-skeleton-primary-color: ${this.primaryColor};
25
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
26
+ }
27
+ `;break;case"title":e=`
28
+ :host {
29
+ --emw-skeleton-title-width: ${this.width};
30
+ --emw-skeleton-title-height: ${this.height};
31
+ --emw-skeleton-title-border-radius: ${this.borderRadius}px;
32
+ --emw-skeleton-title-margin-bottom: ${this.marginBottom}px;
33
+ --emw-skeleton-title-margin-top: ${this.marginTop}px;
34
+ --emw-skeleton-title-margin-left: ${this.marginLeft}px;
35
+ --emw-skeleton-title-margin-right: ${this.marginRight}px;
36
+ --emw-skeleton-title-background: ${this.color};
37
+ --emw-skeleton-primary-color: ${this.primaryColor};
38
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
39
+ }
40
+ `;break;case"text":e=`
41
+ :host {
42
+ --emw-skeleton-text-width: ${this.width};
43
+ --emw-skeleton-text-height: ${this.height};
44
+ --emw-skeleton-text-border-radius: ${this.borderRadius}px;
45
+ --emw-skeleton-text-margin-bottom: ${this.marginBottom}px;
46
+ --emw-skeleton-text-margin-top: ${this.marginTop}px;
47
+ --emw-skeleton-text-margin-left: ${this.marginLeft}px;
48
+ --emw-skeleton-text-margin-right: ${this.marginRight}px;
49
+ --emw-skeleton-text-background: ${this.color};
50
+ --emw-skeleton-primary-color: ${this.primaryColor};
51
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
52
+ }
53
+ `;break;case"rectangle":e=`
54
+ :host {
55
+ --emw-skeleton-rectangle-width: ${this.width};
56
+ --emw-skeleton-rectangle-height: ${this.height};
57
+ --emw-skeleton-rectangle-border-radius: ${this.borderRadius}px;
58
+ --emw-skeleton-rectangle-margin-bottom: ${this.marginBottom}px;
59
+ --emw-skeleton-rectangle-margin-top: ${this.marginTop}px;
60
+ --emw-skeleton-rectangle-margin-left: ${this.marginLeft}px;
61
+ --emw-skeleton-rectangle-margin-right: ${this.marginRight}px;
62
+ --emw-skeleton-rectangle-background: ${this.color};
63
+ --emw-skeleton-primary-color: ${this.primaryColor};
64
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
65
+ }
66
+ `;break;case"circle":e=`
67
+ :host {
68
+ --emw-skeleton-circle-size: ${this.size};
69
+ --emw-skeleton-circle-background: ${this.color};
70
+ --emw-skeleton-primary-color: ${this.primaryColor};
71
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
72
+ }
73
+ `;break;default:e=""}return t.h(t.Host,{key:"58f7f9acd15f0f96b8b6f47f6bea81d49a3857c5"},t.h("style",{key:"c72ac31d1c55fd5d18ec334629db45977a0f6124"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};o.style=n;exports.UiSkeleton=o;
@@ -0,0 +1,152 @@
1
+ import { r as o, h as t, H as i } from "./index-b2193545-BLGDaRxR.js";
2
+ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 250px);height:var(--emw-skeleton-image-height, 200px);border-radius:var(--emw-skeleton-image-border-radius, 10px)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, a = class {
3
+ constructor(e) {
4
+ o(this, e), this.structure = void 0, this.width = void 0, this.height = void 0, this.borderRadius = void 0, this.marginBottom = void 0, this.marginTop = void 0, this.marginLeft = void 0, this.marginRight = void 0, this.animation = !0, this.rows = void 0, this.size = void 0, this.color = void 0, this.primaryColor = void 0, this.secondaryColor = void 0;
5
+ }
6
+ handleStructureChange(e, r) {
7
+ r !== e && this.handleStructure(e);
8
+ }
9
+ handleStructure(e) {
10
+ switch (e) {
11
+ case "logo":
12
+ return this.renderLogo();
13
+ case "image":
14
+ return this.renderImage();
15
+ case "title":
16
+ return this.renderTitle();
17
+ case "text":
18
+ return this.renderText();
19
+ case "rectangle":
20
+ return this.renderRectangle();
21
+ case "circle":
22
+ return this.renderCircle();
23
+ default:
24
+ return null;
25
+ }
26
+ }
27
+ renderLogo() {
28
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
29
+ }
30
+ renderImage() {
31
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "Image " + (this.animation ? "Skeleton" : "") }));
32
+ }
33
+ renderTitle() {
34
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
35
+ }
36
+ renderText() {
37
+ return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, r) => t("div", { key: r, class: "Text " + (this.animation ? "Skeleton" : "") })));
38
+ }
39
+ renderRectangle() {
40
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
41
+ }
42
+ renderCircle() {
43
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "Circle " + (this.animation ? "Skeleton" : "") }));
44
+ }
45
+ render() {
46
+ let e = "";
47
+ switch (this.structure) {
48
+ case "logo":
49
+ e = `
50
+ :host {
51
+ --emw-skeleton-logo-width: ${this.width};
52
+ --emw-skeleton-logo-height: ${this.height};
53
+ --emw-skeleton-logo-border-radius: ${this.borderRadius}px;
54
+ --emw-skeleton-logo-margin-bottom: ${this.marginBottom}px;
55
+ --emw-skeleton-logo-margin-top: ${this.marginTop}px;
56
+ --emw-skeleton-logo-margin-left: ${this.marginLeft}px;
57
+ --emw-skeleton-logo-margin-right: ${this.marginRight}px;
58
+ --emw-skeleton-logo-background: ${this.color};
59
+ --emw-skeleton-primary-color: ${this.primaryColor};
60
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
61
+ }
62
+ `;
63
+ break;
64
+ case "image":
65
+ e = `
66
+ :host {
67
+ --emw-skeleton-image-width: ${this.width};
68
+ --emw-skeleton-image-height: ${this.height};
69
+ --emw-skeleton-image-border-radius: ${this.borderRadius}px;
70
+ --emw-skeleton-image-margin-bottom: ${this.marginBottom}px;
71
+ --emw-skeleton-image-margin-top: ${this.marginTop}px;
72
+ --emw-skeleton-image-margin-left: ${this.marginLeft}px;
73
+ --emw-skeleton-image-margin-right: ${this.marginRight}px;
74
+ --emw-skeleton-image-background: ${this.color};
75
+ --emw-skeleton-primary-color: ${this.primaryColor};
76
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
77
+ }
78
+ `;
79
+ break;
80
+ case "title":
81
+ e = `
82
+ :host {
83
+ --emw-skeleton-title-width: ${this.width};
84
+ --emw-skeleton-title-height: ${this.height};
85
+ --emw-skeleton-title-border-radius: ${this.borderRadius}px;
86
+ --emw-skeleton-title-margin-bottom: ${this.marginBottom}px;
87
+ --emw-skeleton-title-margin-top: ${this.marginTop}px;
88
+ --emw-skeleton-title-margin-left: ${this.marginLeft}px;
89
+ --emw-skeleton-title-margin-right: ${this.marginRight}px;
90
+ --emw-skeleton-title-background: ${this.color};
91
+ --emw-skeleton-primary-color: ${this.primaryColor};
92
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
93
+ }
94
+ `;
95
+ break;
96
+ case "text":
97
+ e = `
98
+ :host {
99
+ --emw-skeleton-text-width: ${this.width};
100
+ --emw-skeleton-text-height: ${this.height};
101
+ --emw-skeleton-text-border-radius: ${this.borderRadius}px;
102
+ --emw-skeleton-text-margin-bottom: ${this.marginBottom}px;
103
+ --emw-skeleton-text-margin-top: ${this.marginTop}px;
104
+ --emw-skeleton-text-margin-left: ${this.marginLeft}px;
105
+ --emw-skeleton-text-margin-right: ${this.marginRight}px;
106
+ --emw-skeleton-text-background: ${this.color};
107
+ --emw-skeleton-primary-color: ${this.primaryColor};
108
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
109
+ }
110
+ `;
111
+ break;
112
+ case "rectangle":
113
+ e = `
114
+ :host {
115
+ --emw-skeleton-rectangle-width: ${this.width};
116
+ --emw-skeleton-rectangle-height: ${this.height};
117
+ --emw-skeleton-rectangle-border-radius: ${this.borderRadius}px;
118
+ --emw-skeleton-rectangle-margin-bottom: ${this.marginBottom}px;
119
+ --emw-skeleton-rectangle-margin-top: ${this.marginTop}px;
120
+ --emw-skeleton-rectangle-margin-left: ${this.marginLeft}px;
121
+ --emw-skeleton-rectangle-margin-right: ${this.marginRight}px;
122
+ --emw-skeleton-rectangle-background: ${this.color};
123
+ --emw-skeleton-primary-color: ${this.primaryColor};
124
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
125
+ }
126
+ `;
127
+ break;
128
+ case "circle":
129
+ e = `
130
+ :host {
131
+ --emw-skeleton-circle-size: ${this.size};
132
+ --emw-skeleton-circle-background: ${this.color};
133
+ --emw-skeleton-primary-color: ${this.primaryColor};
134
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
135
+ }
136
+ `;
137
+ break;
138
+ default:
139
+ e = "";
140
+ }
141
+ return t(i, { key: "58f7f9acd15f0f96b8b6f47f6bea81d49a3857c5" }, t("style", { key: "c72ac31d1c55fd5d18ec334629db45977a0f6124" }, e), this.handleStructure(this.structure));
142
+ }
143
+ static get watchers() {
144
+ return {
145
+ structure: ["handleStructureChange"]
146
+ };
147
+ }
148
+ };
149
+ a.style = s;
150
+ export {
151
+ a as U
152
+ };
@@ -1 +0,0 @@
1
- "use strict";var L=(e,t,n)=>new Promise((s,r)=>{var a=o=>{try{i(n.next(o))}catch(c){r(c)}},l=o=>{try{i(n.throw(o))}catch(c){r(c)}},i=o=>o.done?s(o.value):Promise.resolve(o.value).then(a,l);i((n=n.apply(e,t)).next())});const ue="ui-skeleton",I={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!1,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!1,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!1,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!1,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!1,propNumber:!0,propString:!0,reflect:!1,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!1,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!1,style:!0,svg:!1,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!1,vdomKey:!0,vdomListener:!1,vdomPropOrAttr:!1,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!1,vdomXlink:!1,watchCallback:!0};var me=Object.defineProperty,ve=(e,t)=>{for(var n in t)me(e,n,{get:t[n],enumerable:!0})},N=new WeakMap,b=e=>N.get(e),pe=(e,t)=>N.set(t.$lazyInstance$=e,t),he=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],N.set(e,n)},k=(e,t)=>(0,console.error)(e,t),_=new Map,ge=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const a=_.get(r);if(a)return a[s];{const l=i=>(_.set(r,i),i[s]);switch(r){case"ui-skeleton":return Promise.resolve().then(()=>require("./ui-skeleton-C1buDKbo.cjs")).then(l,k)}}return import(`./${r}.entry.js`).then(l=>(_.set(r,l),l[s]),k)},x=new Map,ye="{visibility:hidden}.hydrated{visibility:inherit}",G="slot-fb{display:contents}slot-fb[hidden]{display:none}",z=typeof window!="undefined"?window:{},y=z.document||{head:{}},p={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},Se=I.shadowDom,J=e=>Promise.resolve(e),be=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),j=!1,F=[],K=[],ke=(e,t)=>n=>{e.push(n),j||(j=!0,p.$flags$&4?B(C):p.raf(C))},q=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){k(n)}e.length=0},C=()=>{q(F),q(K),(j=F.length>0)&&p.raf(C)},B=e=>J().then(e),Ee=ke(K),W={},X=e=>(e=typeof e,e==="object"||e==="function");function Z(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var we={};ve(we,{err:()=>V,map:()=>Le,ok:()=>D,unwrap:()=>Te,unwrapErr:()=>Pe});var D=e=>({isOk:!0,isErr:!1,value:e}),V=e=>({isOk:!1,isErr:!0,value:e});function Le(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>D(s)):D(n)}if(e.isErr){const n=e.value;return V(n)}throw"should never get here"}var Te=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)=>()=>{},ee=(e,t,...n)=>{let s=null,r=null,a=!1,l=!1;const i=[],o=$=>{for(let f=0;f<$.length;f++)s=$[f],Array.isArray(s)?o(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!X(s))&&(s=String(s)),a&&l?i[i.length-1].$text$+=s:i.push(a?U(null,s):s),l=a)};if(o(n),t){t.key&&(r=t.key);{const $=t.className||t.class;$&&(t.class=typeof $!="object"?$:Object.keys($).filter(f=>$[f]).join(" "))}}const c=U(e,null);return c.$attrs$=t,i.length>0&&(c.$children$=i),c.$key$=r,c},U=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},Ae={},Oe=e=>e&&e.$tag$===Ae,_e=(e,t)=>e!=null&&!X(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,je=(e,t,n)=>{const s=p.ce(t,n);return e.dispatchEvent(s),s},M=new WeakMap,Ce=(e,t,n)=>{let s=x.get(e);be&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,x.set(e,s)},De=(e,t,n)=>{var s;const r=te(t),a=x.get(r);if(e=e.nodeType===11?e:y,a)if(typeof a=="string"){e=e.head||e;let l=M.get(e),i;if(l||M.set(e,l=new Set),!l.has(r)){{i=y.createElement("style"),i.innerHTML=a;const o=(s=p.$nonce$)!=null?s:Z(y);o!=null&&i.setAttribute("nonce",o),e.insertBefore(i,e.querySelector("link"))}t.$flags$&4&&(i.innerHTML+=G),l&&l.add(r)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return r},Ue=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=S("attachStyles",t.$tagName$);De(n.getRootNode(),t),s()},te=(e,t)=>"sc-"+e.$tagName$,Q=(e,t,n,s,r,a)=>{if(n!==s)if(t.toLowerCase(),t==="class"){const l=e.classList,i=R(n),o=R(s);l.remove(...i.filter(c=>c&&!o.includes(c))),l.add(...o.filter(c=>c&&!i.includes(c)))}else if(t==="style"){for(const l in n)(!s||s[l]==null)&&(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in s)(!n||s[l]!==n[l])&&(l.includes("-")?e.style.setProperty(l,s[l]):e.style[l]=s[l])}else t==="key"||t==="ref"&&s&&s(e)},Ie=/\s/,R=e=>e?e.split(Ie):[],se=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||W,a=t.$attrs$||W;for(const l of Y(Object.keys(r)))l in a||Q(s,l,r[l],void 0);for(const l of Y(Object.keys(a)))Q(s,l,r[l],a[l])};function Y(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var ne,re=!1,A=(e,t,n,s)=>{const r=t.$children$[n];let a=0,l,i;if(l=r.$elm$=y.createElement(!re&&I.slotRelocation&&r.$flags$&2?"slot-fb":r.$tag$),se(null,r),r.$children$)for(a=0;a<r.$children$.length;++a)i=A(e,r,a),i&&l.appendChild(i);return l["s-hn"]=ne,l},le=(e,t,n,s,r,a)=>{let l=e,i;for(;r<=a;++r)s[r]&&(i=A(null,n,r),i&&(s[r].$elm$=i,P(l,i,t)))},ae=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const a=r.$elm$;oe(r),a&&a.remove()}}},Ne=(e,t,n,s,r=!1)=>{let a=0,l=0,i=0,o=0,c=t.length-1,$=t[0],f=t[c],d=s.length-1,u=s[0],m=s[d],v,h;for(;a<=c&&l<=d;)if($==null)$=t[++a];else if(f==null)f=t[--c];else if(u==null)u=s[++l];else if(m==null)m=s[--d];else if(T($,u,r))E($,u,r),$=t[++a],u=s[++l];else if(T(f,m,r))E(f,m,r),f=t[--c],m=s[--d];else if(T($,m,r))E($,m,r),P(e,$.$elm$,f.$elm$.nextSibling),$=t[++a],m=s[--d];else if(T(f,u,r))E(f,u,r),P(e,f.$elm$,$.$elm$),f=t[--c],u=s[++l];else{for(i=-1,o=a;o<=c;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===u.$key$){i=o;break}i>=0?(h=t[i],h.$tag$!==u.$tag$?v=A(t&&t[l],n,i):(E(h,u,r),t[i]=void 0,v=h.$elm$),u=s[++l]):(v=A(t&&t[l],n,l),u=s[++l]),v&&P($.$elm$.parentNode,v,$.$elm$)}a>c?le(e,s[d+1]==null?null:s[d+1].$elm$,n,s,l,d):l>d&&ae(t,a,c)},T=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,E=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,a=t.$children$;se(e,t),r!==null&&a!==null?Ne(s,r,t,a,n):a!==null?le(s,null,t,a,0,a.length-1):r!==null&&ae(r,0,r.length-1)},oe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(oe)},P=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),ze=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$vnode$||U(null,null),a=Oe(t)?t:ee(null,null,t);if(ne=s.tagName,n&&a.$attrs$)for(const l of Object.keys(a.$attrs$))s.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(a.$attrs$[l]=s[l]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=r.$elm$=s,re=Se,E(r,a,n)},ie=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},H=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ie(e,e.$ancestorComponent$),Ee(()=>Be(e,t))},Be=(e,t)=>{const n=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return s(),He(a,()=>qe(e,r,t))},He=(e,t)=>Fe(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Fe=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",qe=(e,t,n)=>L(exports,null,function*(){var s;const r=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&Ue(e);const i=S("render",e.$cmpMeta$.$tagName$);We(e,t,r,n),l&&(l.map(o=>o()),r["s-rc"]=void 0),i(),a();{const o=(s=r["s-p"])!=null?s:[],c=()=>Me(e);o.length===0?c():(Promise.all(o).then(c),e.$flags$|=4,o.length=0)}}),We=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,ze(e,t,s)}catch(r){k(r,e.$hostElement$)}return null},Me=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=S("postUpdate",t),r=e.$lazyInstance$,a=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,$e(n),Qe(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),a||ce()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&B(()=>H(e,!1)),e.$flags$&=-517},ce=e=>{$e(y.documentElement),B(()=>je(z,"appload",{detail:{namespace:ue}}))},Qe=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){k(s)}},$e=e=>{var t;return e.classList.add((t=I.hydratedSelectorName)!=null?t:"hydrated")},Re=(e,t)=>b(e).$instanceValues$.get(t),Ye=(e,t,n,s)=>{const r=b(e);if(!r)throw new Error(`Couldn't find host element for "${s.$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=r.$hostElement$,l=r.$instanceValues$.get(t),i=r.$flags$,o=r.$lazyInstance$;n=_e(n,s.$members$[t][0]);const c=Number.isNaN(l)&&Number.isNaN(n),$=n!==l&&!c;if((!(i&8)||l===void 0)&&$&&(r.$instanceValues$.set(t,n),o)){if(s.$watchers$&&i&128){const f=s.$watchers$[t];f&&f.map(d=>{try{o[d](n,l,t)}catch(u){k(u,a)}})}(i&18)===2&&H(r,!1)}},fe=(e,t,n)=>{var s,r;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([i,[o]])=>{(o&31||n&2&&o&32)&&Object.defineProperty(a,i,{get(){return Re(this,i)},set(c){Ye(this,i,c,t)},configurable:!0,enumerable:!0})}),n&1){const i=new Map;a.attributeChangedCallback=function(o,c,$){p.jmp(()=>{var f;const d=i.get(o);if(this.hasOwnProperty(d))$=this[d],delete this[d];else{if(a.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==$)return;if(d==null){const u=b(this),m=u==null?void 0:u.$flags$;if(m&&!(m&8)&&m&128&&$!==c){const v=u.$lazyInstance$,h=(f=t.$watchers$)==null?void 0:f[o];h==null||h.forEach(g=>{v[g]!=null&&v[g].call(v,$,c,o)})}return}}this[d]=$===null&&typeof this[d]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([o,c])=>c[0]&15).map(([o,c])=>{const $=c[1]||o;return i.set($,o),$})]))}}return e},Ge=(e,t,n,s)=>L(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const o=ge(n);if(o&&"then"in o){const $=xe();r=yield o,$()}else r=o;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,fe(r,n,2),r.isProxied=!0);const c=S("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch($){k($)}t.$flags$&=-9,t.$flags$|=128,c()}else{r=e.constructor;const o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(r&&r.style){let o;typeof r.style=="string"&&(o=r.style);const c=te(n);if(!x.has(c)){const $=S("registerStyles",n.$tagName$);Ce(c,o,!!(n.$flags$&1)),$()}}}const a=t.$ancestorComponent$,l=()=>H(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),Je=e=>{},Ke=e=>{if(!(p.$flags$&1)){const t=b(e),n=t.$cmpMeta$,s=S("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Je());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ie(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[a]])=>{if(a&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),Ge(e,t,n)}s()}},Xe=e=>{},Ze=e=>L(exports,null,function*(){if(!(p.$flags$&1)){const t=b(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Xe())}}),Ve=(e,t={})=>{var n;const s=S(),r=[],a=t.exclude||[],l=z.customElements,i=y.head,o=i.querySelector("meta[charset]"),c=y.createElement("style"),$=[];let f,d=!0;Object.assign(p,t),p.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let u=!1;if(e.map(m=>{m[1].map(v=>{var h;const g={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};g.$flags$&4&&(u=!0),g.$members$=v[2],g.$watchers$=(h=v[4])!=null?h:{};const w=g.$tagName$,de=class extends HTMLElement{constructor(O){super(O),this.hasRegisteredEventListeners=!1,O=this,he(O,g)}connectedCallback(){b(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),d?$.push(this):p.jmp(()=>Ke(this))}disconnectedCallback(){p.jmp(()=>Ze(this))}componentOnReady(){return b(this).$onReadyPromise$}};g.$lazyBundleId$=m[0],!a.includes(w)&&!l.get(w)&&(r.push(w),l.define(w,fe(de,g,1)))})}),r.length>0&&(u&&(c.textContent+=G),c.textContent+=r.sort()+ye,c.innerHTML.length)){c.setAttribute("data-styles","");const m=(n=p.$nonce$)!=null?n:Z(y);m!=null&&c.setAttribute("nonce",m),i.insertBefore(c,o?o.nextSibling:i.firstChild)}d=!1,$.length?$.map(m=>m.connectedCallback()):p.jmp(()=>f=setTimeout(ce,30)),s()};exports.bootstrapLazy=Ve;exports.h=ee;exports.promiseResolve=J;exports.registerInstance=pe;