skeleton-webcomponent-loader 2.1.4 → 3.0.0

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 (58) hide show
  1. package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
  2. package/dist/cjs/index-BKUCi6S8.js +1522 -0
  3. package/dist/cjs/loader.cjs.js +7 -29
  4. package/dist/cjs/nb-skeleton.cjs.entry.js +168 -114
  5. package/dist/cjs/skeleton-webcomponent.cjs.js +17 -15
  6. package/dist/collection/collection-manifest.json +4 -3
  7. package/dist/collection/components/skeleton/skeleton.js +460 -304
  8. package/dist/{custom-elements → components}/index.d.ts +13 -23
  9. package/dist/components/index.js +1 -0
  10. package/dist/components/nb-skeleton.d.ts +11 -0
  11. package/dist/components/nb-skeleton.js +1 -0
  12. package/dist/esm/app-globals-DQuL1Twl.js +3 -0
  13. package/dist/esm/index-D_NQrSVN.js +1515 -0
  14. package/dist/esm/loader.js +7 -27
  15. package/dist/esm/nb-skeleton.entry.js +168 -112
  16. package/dist/esm/skeleton-webcomponent.js +15 -15
  17. package/dist/esm-es5/app-globals-DQuL1Twl.js +1 -0
  18. package/dist/esm-es5/index-D_NQrSVN.js +2 -0
  19. package/dist/esm-es5/loader.js +1 -1
  20. package/dist/esm-es5/nb-skeleton.entry.js +1 -1
  21. package/dist/esm-es5/skeleton-webcomponent.js +1 -1
  22. package/dist/skeleton-webcomponent/p-0ab2f3bc.system.entry.js +1 -0
  23. package/dist/skeleton-webcomponent/p-BbPAtVJG.system.js +1 -0
  24. package/dist/skeleton-webcomponent/p-CEkATbjM.system.js +2 -0
  25. package/dist/skeleton-webcomponent/p-DQuL1Twl.js +1 -0
  26. package/dist/skeleton-webcomponent/p-D_NQrSVN.js +2 -0
  27. package/dist/skeleton-webcomponent/p-DikQ2aXB.system.js +1 -0
  28. package/dist/skeleton-webcomponent/p-e5fc5295.entry.js +1 -0
  29. package/dist/skeleton-webcomponent/skeleton-webcomponent.esm.js +1 -1
  30. package/dist/skeleton-webcomponent/skeleton-webcomponent.js +14 -19
  31. package/dist/types/components/skeleton/skeleton.d.ts +101 -67
  32. package/dist/types/components.d.ts +75 -2
  33. package/dist/types/stencil-public-runtime.d.ts +335 -40
  34. package/loader/cdn.js +1 -2
  35. package/loader/index.cjs.js +1 -2
  36. package/loader/index.d.ts +13 -1
  37. package/loader/index.es2017.js +1 -2
  38. package/loader/index.js +1 -2
  39. package/package.json +5 -5
  40. package/readme.md +0 -3
  41. package/CHANGELOG.md +0 -26
  42. package/dist/cjs/css-shim-b3e497ca.js +0 -6
  43. package/dist/cjs/index-b5d2dca0.js +0 -1156
  44. package/dist/custom-elements/index.js +0 -142
  45. package/dist/esm/css-shim-2f04a37a.js +0 -4
  46. package/dist/esm/index-63fd3905.js +0 -1128
  47. package/dist/esm/polyfills/css-shim.js +0 -1
  48. package/dist/esm-es5/css-shim-2f04a37a.js +0 -1
  49. package/dist/esm-es5/index-63fd3905.js +0 -1
  50. package/dist/skeleton-webcomponent/p-12077897.js +0 -1
  51. package/dist/skeleton-webcomponent/p-16aec442.system.js +0 -1
  52. package/dist/skeleton-webcomponent/p-63ed3b45.entry.js +0 -1
  53. package/dist/skeleton-webcomponent/p-7e96e5d4.js +0 -1
  54. package/dist/skeleton-webcomponent/p-8bef7229.system.js +0 -1
  55. package/dist/skeleton-webcomponent/p-dc1bf577.system.entry.js +0 -1
  56. package/dist/skeleton-webcomponent/p-f59432d4.system.js +0 -1
  57. package/loader/package.json +0 -10
  58. /package/dist/skeleton-webcomponent/{p-50ea2036.system.js → p-YWpyar7R.system.js} +0 -0
@@ -1,31 +1,11 @@
1
- import { C as CSS, p as plt, w as win, a as promiseResolve, b as bootstrapLazy } from './index-63fd3905.js';
1
+ import { b as bootstrapLazy } from './index-D_NQrSVN.js';
2
+ export { s as setNonce } from './index-D_NQrSVN.js';
3
+ import { g as globalScripts } from './app-globals-DQuL1Twl.js';
2
4
 
3
- /*
4
- Stencil Client Patch Esm v2.13.0 | MIT Licensed | https://stenciljs.com
5
- */
6
- const patchEsm = () => {
7
- // NOTE!! This fn cannot use async/await!
8
- // @ts-ignore
9
- if (!(CSS && CSS.supports && CSS.supports('color', 'var(--c)'))) {
10
- // @ts-ignore
11
- return import(/* webpackChunkName: "polyfills-css-shim" */ './css-shim-2f04a37a.js').then(() => {
12
- if ((plt.$cssShim$ = win.__cssshim)) {
13
- return plt.$cssShim$.i();
14
- }
15
- else {
16
- // for better minification
17
- return 0;
18
- }
19
- });
20
- }
21
- return promiseResolve();
22
- };
23
-
24
- const defineCustomElements = (win, options) => {
25
- if (typeof window === 'undefined') return Promise.resolve();
26
- return patchEsm().then(() => {
27
- return bootstrapLazy([["nb-skeleton",[[1,"nb-skeleton",{"count":[2],"variant":[1],"width":[1],"height":[1],"marginBottom":[1,"margin-bottom"],"animation":[1],"customStyles":[1,"custom-styles"],"showWarnings":[4,"show-warnings"]}]]]], options);
28
- });
5
+ const defineCustomElements = async (win, options) => {
6
+ if (typeof window === 'undefined') return undefined;
7
+ await globalScripts();
8
+ return bootstrapLazy([["nb-skeleton",[[1,"nb-skeleton",{"count":[2],"label":[1],"as":[1],"asChild":[4,"as-child"],"variant":[1],"width":[1],"height":[1],"marginBottom":[1,"margin-bottom"],"animation":[1],"customStyles":[1,"custom-styles"],"showWarnings":[4,"show-warnings"]}]]]], options);
29
9
  };
30
10
 
31
11
  export { defineCustomElements };
@@ -1,126 +1,182 @@
1
- import { r as registerInstance, h } from './index-63fd3905.js';
1
+ import { r as registerInstance, h, H as Host } from './index-D_NQrSVN.js';
2
2
 
3
3
  const ALLOWED_ANIMATIONS = ['progress', 'progress-dark', 'pulse', 'false'];
4
4
 
5
- const skeletonCss = ".skeleton{-webkit-box-sizing:border-box;box-sizing:border-box;outline:none;overflow:hidden;position:relative;background:var(--skeleton-background, #eff1f6) no-repeat;border-radius:var(--skeleton-border-radius, 4px);width:var(--skeleton-width, 100%);height:var(--skeleton-height, 20px);display:inline-block;margin-bottom:var(--skeleton-margin-bottom, 10px);will-change:transform}.skeleton:after,.skeleton:before{-webkit-box-sizing:border-box;box-sizing:border-box}.skeleton.circle{width:var(--skeleton-width, 40px);height:var(--skeleton-height, 40px);margin-bottom:var(--skeleton-margin-bottom, 5px);border-radius:var(--skeleton-border-radius, 50%)}.skeleton.rect{border-radius:var(--skeleton-border-radius, 0px)}.skeleton.progress,.skeleton.progress-dark{-webkit-animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;background-size:200px 100%}.skeleton.progress{background-image:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0)));background-image:linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0))}.skeleton.progress-dark{background-image:-webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(0, 0, 0, 0.2)), to(transparent));background-image:linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent)}.skeleton.pulse{-webkit-animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;-webkit-animation-delay:0.5s;animation-delay:0.5s}@media (prefers-reduced-motion: reduce){.skeleton.pulse,.skeleton.progress-dark,.skeleton.progress{-webkit-animation:none;animation:none}.skeleton.progress,.skeleton.progress-dark{background-image:none}}@-webkit-keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@-webkit-keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}";
5
+ const skeletonCss = () => `.skeleton{-webkit-box-sizing:border-box;box-sizing:border-box;outline:none;overflow:hidden;position:relative;background:var(--skeleton-background, #eff1f6) no-repeat;border-radius:var(--skeleton-border-radius, 4px);width:var(--skeleton-width, 100%);height:var(--skeleton-height, 20px);display:inline-block;margin-bottom:var(--skeleton-margin-bottom, 10px);will-change:transform}.skeleton:after,.skeleton:before{-webkit-box-sizing:border-box;box-sizing:border-box}.skeleton.circle{width:var(--skeleton-width, 40px);height:var(--skeleton-height, 40px);margin-bottom:var(--skeleton-margin-bottom, 5px);border-radius:var(--skeleton-border-radius, 50%)}.skeleton.rect{border-radius:var(--skeleton-border-radius, 0px)}.skeleton.progress,.skeleton.progress-dark{-webkit-animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;background-size:200px 100%}.skeleton.progress{background-image:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0)));background-image:linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0))}.skeleton.progress-dark{background-image:-webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(0, 0, 0, 0.2)), to(transparent));background-image:linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent)}.skeleton.pulse{-webkit-animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;-webkit-animation-delay:0.5s;animation-delay:0.5s}@media (prefers-reduced-motion: reduce){.skeleton.pulse,.skeleton.progress-dark,.skeleton.progress{-webkit-animation:none;animation:none}.skeleton.progress,.skeleton.progress-dark{background-image:none}}@-webkit-keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@-webkit-keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}`;
6
6
 
7
- let Skeleton = class {
8
- constructor(hostRef) {
9
- registerInstance(this, hostRef);
10
- /**
11
- * Number of rows of current skeleton type
12
- *
13
- * @memberof Skeleton
14
- */
15
- this.count = 1;
16
- /**
17
- * Variant of the skeleton - circle or row
18
- *
19
- * @type {('circle' | '')}
20
- * @memberof Skeleton
21
- */
22
- this.variant = 'text';
23
- /**
24
- * Width of the skeleton ex. 100px, 100%, auto etc.
25
- *
26
- *
27
- * @type {string}
28
- * @memberof Skeleton
29
- */
30
- this.width = null;
31
- /**
32
- * Height of the skeleton ex. 100px, 100%, auto etc.
33
- *
34
- * @type {string}
35
- * @memberof Skeleton
36
- */
37
- this.height = null;
38
- /**
39
- * MarginBottom of the skeleton ex. 10px, 0 etc.
40
- *
41
- * @type {string}
42
- * @memberof Skeleton
43
- */
44
- this.marginBottom = null;
45
- /**
46
- * Animation type
47
- *
48
- * @type {('progress' | 'progress-dark' | 'pulse' | 'false')}
49
- * @memberof Skeleton
50
- */
51
- this.animation = 'progress';
52
- /**
53
- * Custom css styles (background/margins/width/height etc.)
54
- *
55
- * @type {({[k: string]: string} | string)}
56
- * @memberof Skeleton
57
- */
58
- this.customStyles = {};
59
- /**
60
- * Whether to show warnings for the wrong animation type/custom styles
61
- *
62
- * @memberof Skeleton
63
- */
64
- this.showWarnings = true;
65
- this.items = [];
66
- }
67
- componentWillLoad() {
68
- this.init();
69
- }
70
- componentWillUpdate() {
71
- this.init();
72
- }
73
- init() {
74
- this.items.length = this.count;
75
- this.items.fill(1);
76
- if (!ALLOWED_ANIMATIONS.includes(this.animation)) {
77
- if (this.showWarnings) {
78
- console.warn(`\`Skeleton\` need to receive 'animation' as: ${ALLOWED_ANIMATIONS.join(', ')}. Forcing default to "progress".`);
79
- }
80
- this.animation = 'progress';
7
+ const Skeleton = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ /**
11
+ * Number of rows of current skeleton type
12
+ *
13
+ * @memberof Skeleton
14
+ */
15
+ this.count = 1;
16
+ /**
17
+ * Accessible text announced by screen readers while content is loading
18
+ *
19
+ * @type {string}
20
+ * @memberof Skeleton
21
+ */
22
+ this.label = 'Loading...';
23
+ /**
24
+ * Wrapper element tag that carries ARIA attributes (e.g. div, span, section)
25
+ *
26
+ * @type {string}
27
+ * @memberof Skeleton
28
+ */
29
+ this.as = 'div';
30
+ /**
31
+ * Render rows directly in the host element and apply ARIA attributes to host
32
+ *
33
+ * @type {boolean}
34
+ * @memberof Skeleton
35
+ */
36
+ this.asChild = false;
37
+ /**
38
+ * Variant of the skeleton - circle or row
39
+ *
40
+ * @type {('circle' | '')}
41
+ * @memberof Skeleton
42
+ */
43
+ this.variant = 'text';
44
+ /**
45
+ * Width of the skeleton ex. 100px, 100%, auto etc.
46
+ *
47
+ *
48
+ * @type {string}
49
+ * @memberof Skeleton
50
+ */
51
+ this.width = null;
52
+ /**
53
+ * Height of the skeleton ex. 100px, 100%, auto etc.
54
+ *
55
+ * @type {string}
56
+ * @memberof Skeleton
57
+ */
58
+ this.height = null;
59
+ /**
60
+ * MarginBottom of the skeleton ex. 10px, 0 etc.
61
+ *
62
+ * @type {string}
63
+ * @memberof Skeleton
64
+ */
65
+ this.marginBottom = null;
66
+ /**
67
+ * Animation type
68
+ *
69
+ * @type {('progress' | 'progress-dark' | 'pulse' | 'false')}
70
+ * @memberof Skeleton
71
+ */
72
+ this.animation = 'progress';
73
+ /**
74
+ * Custom css styles (background/margins/width/height etc.)
75
+ *
76
+ * @type {({[k: string]: string} | string)}
77
+ * @memberof Skeleton
78
+ */
79
+ this.customStyles = {};
80
+ /**
81
+ * Whether to show warnings for the wrong animation type/custom styles
82
+ *
83
+ * @memberof Skeleton
84
+ */
85
+ this.showWarnings = true;
86
+ this.items = [];
87
+ this.parsedCustomStyles = {};
81
88
  }
82
- if (this.customStyles && typeof this.customStyles === 'string') {
83
- try {
84
- this.customStyles = JSON.parse(this.customStyles);
85
- }
86
- catch (error) {
89
+ componentWillLoad() {
90
+ this.init();
91
+ }
92
+ componentWillUpdate() {
93
+ this.init();
94
+ }
95
+ init() {
96
+ this.items.length = this.count;
97
+ this.items.fill(1);
98
+ this.parsedCustomStyles = {};
99
+ if (!ALLOWED_ANIMATIONS.includes(this.animation)) {
100
+ if (this.showWarnings) {
101
+ console.warn(`\`Skeleton\` need to receive 'animation' as: ${ALLOWED_ANIMATIONS.join(', ')}. Forcing default to "progress".`);
102
+ }
103
+ this.animation = 'progress';
104
+ }
105
+ if (this.customStyles && typeof this.customStyles === 'string') {
106
+ try {
107
+ const parsed = JSON.parse(this.customStyles);
108
+ if (parsed && typeof parsed === 'object') {
109
+ this.parsedCustomStyles = parsed;
110
+ }
111
+ }
112
+ catch (error) {
113
+ if (this.showWarnings) {
114
+ console.warn(`can't parse styles`, this.customStyles);
115
+ }
116
+ }
117
+ }
118
+ else if (this.customStyles && typeof this.customStyles === 'object') {
119
+ this.parsedCustomStyles = this.customStyles;
120
+ }
121
+ }
122
+ get style() {
123
+ let dimenssionsStyles = {
124
+ width: null,
125
+ height: null,
126
+ marginBottom: null
127
+ };
128
+ if (this.width) {
129
+ dimenssionsStyles.width = this.width;
130
+ }
131
+ if (this.height) {
132
+ dimenssionsStyles.height = this.height;
133
+ }
134
+ if (this.marginBottom) {
135
+ dimenssionsStyles.marginBottom = this.marginBottom;
136
+ }
137
+ const styles = this.parsedCustomStyles;
138
+ return Object.assign(Object.assign({}, dimenssionsStyles), styles);
139
+ }
140
+ resolveWrapperTag() {
141
+ const tag = (this.as || '').trim().toLowerCase();
142
+ if (/^[a-z][a-z0-9-]*$/.test(tag)) {
143
+ return tag;
144
+ }
87
145
  if (this.showWarnings) {
88
- console.warn(`can't parse styles`, this.customStyles);
146
+ console.warn('`Skeleton` `as` prop must be a valid html tag name. Falling back to "div".');
89
147
  }
90
- }
148
+ return 'div';
91
149
  }
92
- }
93
- get style() {
94
- let dimenssionsStyles = {
95
- width: null,
96
- height: null,
97
- marginBottom: null
98
- };
99
- if (this.width) {
100
- dimenssionsStyles.width = this.width;
150
+ get ariaProps() {
151
+ return {
152
+ 'aria-busy': 'true',
153
+ 'aria-label': this.label,
154
+ 'aria-valuemin': '0',
155
+ 'aria-valuemax': '100',
156
+ 'aria-valuetext': this.label,
157
+ role: 'progressbar',
158
+ };
101
159
  }
102
- if (this.height) {
103
- dimenssionsStyles.height = this.height;
160
+ renderRows() {
161
+ return this.items.map((_, index) => {
162
+ return (h("span", { key: index, class: {
163
+ circle: this.variant === 'circle',
164
+ rect: this.variant === 'rect',
165
+ progress: this.animation === 'progress',
166
+ 'progress-dark': this.animation === 'progress-dark',
167
+ pulse: this.animation === 'pulse',
168
+ skeleton: true
169
+ }, "aria-hidden": "true", style: this.style }));
170
+ });
104
171
  }
105
- if (this.marginBottom) {
106
- dimenssionsStyles.marginBottom = this.marginBottom;
172
+ render() {
173
+ if (this.asChild) {
174
+ return h(Host, Object.assign({}, this.ariaProps), this.renderRows());
175
+ }
176
+ const WrapperTag = this.resolveWrapperTag();
177
+ return (h(Host, null, h(WrapperTag, Object.assign({}, this.ariaProps), this.renderRows())));
107
178
  }
108
- const styles = typeof this.customStyles === 'object' ? this.customStyles : {};
109
- return Object.assign(Object.assign({}, dimenssionsStyles), styles);
110
- }
111
- render() {
112
- return this.items.map((_, index) => {
113
- return (h("span", { key: index, class: {
114
- circle: this.variant === 'circle',
115
- rect: this.variant === 'rect',
116
- progress: this.animation === 'progress',
117
- 'progress-dark': this.animation === 'progress-dark',
118
- pulse: this.animation === 'pulse',
119
- skeleton: true
120
- }, "aria-busy": "true", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuetext": "Loading...", role: "progressbar", tabindex: "0", style: this.style }));
121
- });
122
- }
123
179
  };
124
- Skeleton.style = skeletonCss;
180
+ Skeleton.style = skeletonCss();
125
181
 
126
182
  export { Skeleton as nb_skeleton };
@@ -1,21 +1,21 @@
1
- import { p as plt, w as win, a as promiseResolve, b as bootstrapLazy } from './index-63fd3905.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-D_NQrSVN.js';
2
+ export { s as setNonce } from './index-D_NQrSVN.js';
3
+ import { g as globalScripts } from './app-globals-DQuL1Twl.js';
2
4
 
3
5
  /*
4
- Stencil Client Patch Browser v2.13.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.43.3 | MIT Licensed | https://stenciljs.com
5
7
  */
6
- const patchBrowser = () => {
7
- {
8
- // shim css vars
9
- plt.$cssShim$ = win.__cssshim;
10
- }
11
- const importMeta = import.meta.url;
12
- const opts = {};
13
- if (importMeta !== '') {
14
- opts.resourcesUrl = new URL('.', importMeta).href;
15
- }
16
- return promiseResolve(opts);
8
+
9
+ var patchBrowser = () => {
10
+ const importMeta = import.meta.url;
11
+ const opts = {};
12
+ if (importMeta !== "") {
13
+ opts.resourcesUrl = new URL(".", importMeta).href;
14
+ }
15
+ return promiseResolve(opts);
17
16
  };
18
17
 
19
- patchBrowser().then(options => {
20
- return bootstrapLazy([["nb-skeleton",[[1,"nb-skeleton",{"count":[2],"variant":[1],"width":[1],"height":[1],"marginBottom":[1,"margin-bottom"],"animation":[1],"customStyles":[1,"custom-styles"],"showWarnings":[4,"show-warnings"]}]]]], options);
18
+ patchBrowser().then(async (options) => {
19
+ await globalScripts();
20
+ return bootstrapLazy([["nb-skeleton",[[1,"nb-skeleton",{"count":[2],"label":[1],"as":[1],"asChild":[4,"as-child"],"variant":[1],"width":[1],"height":[1],"marginBottom":[1,"margin-bottom"],"animation":[1],"customStyles":[1,"custom-styles"],"showWarnings":[4,"show-warnings"]}]]]], options);
21
21
  });
@@ -0,0 +1 @@
1
+ var globalScripts=function(){};export{globalScripts as g};
@@ -0,0 +1,2 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function o(e){try{l(n.next(e))}catch(e){a(e)}}function u(e){try{l(n["throw"](e))}catch(e){a(e)}}function l(e){e.done?r(e.value):i(e.value).then(o,u)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=u(0),o["throw"]=u(1),o["return"]=u(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return l([e,t])}}function l(u){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(r=0)),r)try{if(n=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:r.label++;return{value:u[1],done:false};case 5:r.label++;i=u[1];u=[0];continue;case 7:u=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){r.label=u[1];break}if(u[0]===6&&r.label<a[1]){r.label=a[1];a=u;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(u);break}if(a[2])r.ops.pop();r.trys.pop();continue}u=t.call(e,r)}catch(e){u=[6,e];i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++){if(a||!(n in t)){if(!a)a=Array.prototype.slice.call(t,0,n);a[n]=t[n]}}return e.concat(a||Array.prototype.slice.call(t))};var NAMESPACE="skeleton-webcomponent";var BUILD={hotModuleReplacement:false,hydratedSelectorName:"hydrated",lazyLoad:true,prop:true,propChangeCallback:false,updatable:true};function getPropertyDescriptor(e,t,r){var n=typeof HTMLElement!=="undefined"?HTMLElement.prototype:null;while(e&&e!==n){var i=Object.getOwnPropertyDescriptor(e,t);if(i&&(!r||i.get))return i;e=Object.getPrototypeOf(e)}return void 0}var reWireGetterSetter=function(e,t){var r;var n=t.t;var i=Object.entries((r=n.i)!=null?r:{});i.map((function(r){var n=r[0],i=r[1][0];if(i&31||i&32){var a=e[n];var o=getPropertyDescriptor(Object.getPrototypeOf(e),n,true)||Object.getOwnPropertyDescriptor(e,n);if(o){Object.defineProperty(e,n,{get:function(){return o.get.call(this)},set:function(e){o.set.call(this,e)},configurable:true,enumerable:true})}if(t.o.has(n)){e[n]=t.o.get(n)}else if(a!==void 0){e[n]=a}}}))};var getHostRef=function(e){if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var registerInstance=function(e,t){if(!t)return;e.__stencil__getHostRef=function(){return t};t.u=e;if(t.t.l&512&&BUILD.prop){reWireGetterSetter(e,t)}};var registerHost=function(e,t){var r={l:0,$hostElement$:e,t:t,o:new Map,v:new Map};{r.p=new Promise((function(e){return r.h=e}));e["s-p"]=[];e["s-rc"]=[]}{r.m=[]}var n=r;e.__stencil__getHostRef=function(){return n};return n};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,r){var n=e.S.replace(/-/g,"_");var i=e.C;if(!i){return void 0}var a=cmpModules.get(i);if(a){return a[n]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import("./".concat(i,".entry.js").concat("")).then((function(e){{cmpModules.set(i,e)}return e[n]}),(function(e){consoleError(e,t.$hostElement$)}))};var styles=new Map;var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var XLINK_NS="http://www.w3.org/1999/xlink";var win=typeof window!=="undefined"?window:{};var plt={l:0,_:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{if(!win.document.adoptedStyleSheets){return false}new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var supportsMutableAdoptedStyleSheets=supportsConstructableStylesheets?function(){return!!win.document&&Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets,"length").writable}():false;var queuePending=false;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(r){e.push(r);if(!queuePending){queuePending=true;if(t&&plt.l&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);function createStyleSheetIfNeededAndSupported(e){return void 0}var globalStyleSheet;function createShadowRoot(e){var t;var r={mode:"open"};var n=this.attachShadow(r);if(globalStyleSheet===void 0)globalStyleSheet=(t=createStyleSheetIfNeededAndSupported())!=null?t:null;if(globalStyleSheet){if(supportsMutableAdoptedStyleSheets){n.adoptedStyleSheets.push(globalStyleSheet)}else{n.adoptedStyleSheets=__spreadArray(__spreadArray([],n.adoptedStyleSheets,true),[globalStyleSheet],false)}}}var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};function queryNonceMetaTagContent(e){var t,r,n;return(n=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?n:void 0}var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,r){var n=styles.get(e);if(supportsConstructableStylesheets&&r){n=n||new CSSStyleSheet;if(typeof n==="string"){n=t}else{n.replaceSync(t)}}else{n=t}styles.set(e,n)};var addStyle=function(e,t,r){var n,i,a;var o=getScopeId(t);var u=styles.get(o);if(!win.document){return o}e=e.nodeType===11?e:win.document;if(u){if(typeof u==="string"){e=e.head||e;var l=rootAppliedStyles.get(e);var f=void 0;if(!l){rootAppliedStyles.set(e,l=new Set)}if(!l.has(o)){f=win.document.createElement("style");f.textContent=u;var s=(n=plt.T)!=null?n:queryNonceMetaTagContent(win.document);if(s!=null){f.setAttribute("nonce",s)}if(!(t.l&1)){if(e.nodeName==="HEAD"){var c=e.querySelectorAll("link[rel=preconnect]");var v=c.length>0?c[c.length-1].nextSibling:e.querySelector("style");e.insertBefore(f,(v==null?void 0:v.parentNode)===e?v:null)}else if("host"in e){if(supportsConstructableStylesheets){var d=(i=e.defaultView)!=null?i:e.ownerDocument.defaultView;var p=new d.CSSStyleSheet;p.replaceSync(u);if(supportsMutableAdoptedStyleSheets){e.adoptedStyleSheets.unshift(p)}else{e.adoptedStyleSheets=__spreadArray([p],e.adoptedStyleSheets,true)}}else{var h=e.querySelector("style");if(h&&true){h.textContent=u+h.textContent}else{e.prepend(f)}}}else{e.append(f)}}if(t.l&1){e.insertBefore(f,null)}if(t.l&4){f.textContent+=SLOT_FB_CSS}if(l){l.add(o)}}}else{var l=rootAppliedStyles.get(e);if(!l){rootAppliedStyles.set(e,l=new Set)}if(!l.has(o)){var d=(a=e.defaultView)!=null?a:e.ownerDocument.defaultView;var p=void 0;if(u.constructor===d.CSSStyleSheet){p=u}else{p=new d.CSSStyleSheet;for(var m=0;m<u.cssRules.length;m++){p.insertRule(u.cssRules[m].cssText,m)}}if(supportsMutableAdoptedStyleSheets){e.adoptedStyleSheets.push(p)}else{e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[p],false)}l.add(o)}}}return o};var attachStyles=function(e){var t=e.t;var r=e.$hostElement$;var n=t.l;var i=createTime("attachStyles",t.S);var a=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=a;r.classList.add(a+"-h")}i()};var getScopeId=function(e,t){return"sc-"+e.S};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};var h=function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}if(typeof e==="string"){e=transformTag(e)}var i=null;var a=null;var o=false;var u=false;var l=[];var f=function(t){for(var r=0;r<t.length;r++){i=t[r];if(Array.isArray(i)){f(i)}else if(i!=null&&typeof i!=="boolean"){if(o=typeof e!=="function"&&!isComplexType(i)){i=String(i)}if(o&&u){l[l.length-1].A+=i}else{l.push(o?newVNode(null,i):i)}u=o}}};f(r);if(t){if(t.key){a=t.key}{var s=t.className||t.class;if(s){t.class=typeof s!=="object"?s:Object.keys(s).filter((function(e){return s[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,l,vdomFnUtils)}var c=newVNode(e,null);c.k=t;if(l.length>0){c.R=l}{c.N=a}return c};var newVNode=function(e,t){var r={l:0,V:e,A:t!=null?t:null,j:null,R:null};{r.k=null}{r.N=null}return r};var Host={};var isHost=function(e){return e&&e.V===Host};var vdomFnUtils={forEach:function(e,t){return e.map(convertToPublic).forEach(t)},map:function(e,t){return e.map(convertToPublic).map(t).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.k,vchildren:e.R,vkey:e.N,vname:e.M,vtag:e.V,vtext:e.A}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var t=__assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var r=newVNode(e.vtag,e.vtext);r.k=e.vattrs;r.R=e.vchildren;r.N=e.vkey;r.M=e.vname;return r};var parsePropertyValue=function(e,t,r){if(e!=null&&!isComplexType(e)){if(t&4){{return e==="false"?false:e===""||!!e}}if(t&2){return typeof e==="string"?parseFloat(e):typeof e==="number"?e:NaN}if(t&1){return String(e)}return e}return e};var emitEvent=function(e,t,r){var n=plt.ce(t,r);e.dispatchEvent(n);return n};var setAccessor=function(e,t,r,n,i,a,o){if(r===n){return}var u=isMemberInElement(e,t);var l=t.toLowerCase();if(t==="class"){var f=e.classList;var s=parseClassList(r);var c=parseClassList(n);{f.remove.apply(f,s.filter((function(e){return e&&!c.includes(e)})));f.add.apply(f,c.filter((function(e){return e&&!s.includes(e)})))}}else if(t==="style"){{for(var v in r){if(!n||n[v]==null){if(v.includes("-")){e.style.removeProperty(v)}else{e.style[v]=""}}}}for(var v in n){if(!r||n[v]!==r[v]){if(v.includes("-")){e.style.setProperty(v,n[v])}else{e.style[v]=n[v]}}}}else if(t==="key");else if(t==="ref"){if(n){queueRefAttachment(n,e)}}else if(!u&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,l)){t=l.slice(2)}else{t=l[2]+t.slice(3)}if(r||n){var d=t.endsWith(CAPTURE_EVENT_SUFFIX);t=t.replace(CAPTURE_EVENT_REGEX,"");if(r){plt.rel(e,t,r,d)}if(n){plt.ael(e,t,n,d)}}}else if(t[0]==="a"&&t.startsWith("attr:")){var p=t.slice(5);var h=void 0;{var m=getHostRef(e);if(m&&m.t&&m.t.i){var y=m.t.i[p];if(y&&y[1]){h=y[1]}}}if(!h){h=p.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}if(n==null||n===false){if(n!==false||e.getAttribute(h)===""){e.removeAttribute(h)}}else{e.setAttribute(h,n===true?"":n)}return}else if(t[0]==="p"&&t.startsWith("prop:")){var p=t.slice(5);try{e[p]=n}catch(e){}return}else{var S=isComplexType(n);if((u||S&&n!==null)&&!i){try{if(!e.tagName.includes("-")){var b=n==null?"":n;if(t==="list"){u=false}else if(r==null||e[t]!==b){if(typeof e.__lookupSetter__(t)==="function"){e[t]=b}else{e.setAttribute(t,b)}}}else if(e[t]!==n){e[t]=n}}catch(e){}}var g=false;{if(l!==(l=l.replace(/^xlink\:?/,""))){t=l;g=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(g){e.removeAttributeNS(XLINK_NS,t)}else{e.removeAttribute(t)}}}else if((!u||a&4||i)&&!S&&e.nodeType===1){n=n===true?"":n;if(g){e.setAttributeNS(XLINK_NS,t,n)}else{e.setAttribute(t,n)}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(parseClassListRegex)};var CAPTURE_EVENT_SUFFIX="Capture";var CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$");var updateElement=function(e,t,r,n){var i=t.j.nodeType===11&&t.j.host?t.j.host:t.j;var a=e&&e.k||{};var o=t.k||{};{for(var u=0,l=sortedAttrNames(Object.keys(a));u<l.length;u++){var f=l[u];if(!(f in o)){setAccessor(i,f,a[f],void 0,r,t.l)}}}for(var s=0,c=sortedAttrNames(Object.keys(o));s<c.length;s++){var f=c[s];setAccessor(i,f,a[f],o[f],r,t.l)}};function sortedAttrNames(e){return e.includes("ref")?__spreadArray(__spreadArray([],e.filter((function(e){return e!=="ref"})),true),["ref"],false):e}var hostTagName;var isSvgMode=false;var refCallbacksToRemove=[];var refCallbacksToAttach=[];var createElm=function(e,t,r){var n=t.R[r];var i=0;var a;var o;if(n.A!=null){a=n.j=win.document.createTextNode(n.A)}else{if(!win.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.")}a=n.j=win.document.createElement(n.V);{updateElement(null,n,isSvgMode)}if(n.R){var u=n.V==="template"?a.content:a;for(i=0;i<n.R.length;++i){o=createElm(e,n,i);if(o){u.appendChild(o)}}}}a["s-hn"]=hostTagName;return a};var addVnodes=function(e,t,r,n,i,a){var o=e;var u;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}if(r.V==="template"){o=o.content}for(;i<=a;++i){if(n[i]){u=createElm(null,r,i);if(u){n[i].j=u;insertBefore(o,u,t)}}}};var removeVnodes=function(e,t,r){for(var n=t;n<=r;++n){var i=e[n];if(i){var a=i.j;nullifyVNodeRefs(i);if(a){a.remove()}}}};var updateChildren=function(e,t,r,n,i){if(i===void 0){i=false}var a=0;var o=0;var u=0;var l=0;var f=t.length-1;var s=t[0];var c=t[f];var v=n.length-1;var d=n[0];var p=n[v];var h;var m;var y=r.V==="template"?e.content:e;while(a<=f&&o<=v){if(s==null){s=t[++a]}else if(c==null){c=t[--f]}else if(d==null){d=n[++o]}else if(p==null){p=n[--v]}else if(isSameVnode(s,d,i)){patch(s,d,i);s=t[++a];d=n[++o]}else if(isSameVnode(c,p,i)){patch(c,p,i);c=t[--f];p=n[--v]}else if(isSameVnode(s,p,i)){patch(s,p,i);insertBefore(y,s.j,c.j.nextSibling);s=t[++a];p=n[--v]}else if(isSameVnode(c,d,i)){patch(c,d,i);insertBefore(y,c.j,s.j);c=t[--f];d=n[++o]}else{u=-1;{for(l=a;l<=f;++l){if(t[l]&&t[l].N!==null&&t[l].N===d.N){u=l;break}}}if(u>=0){m=t[u];if(m.V!==d.V){h=createElm(t&&t[o],r,u)}else{patch(m,d,i);t[u]=void 0;h=m.j}d=n[++o]}else{h=createElm(t&&t[o],r,o);d=n[++o]}if(h){{insertBefore(s.j.parentNode,h,s.j)}}}}if(a>f){addVnodes(e,n[v+1]==null?null:n[v+1].j,r,n,o,v)}else if(o>v){removeVnodes(t,a,f)}};var isSameVnode=function(e,t,r){if(r===void 0){r=false}if(e.V===t.V){if(!r){return e.N===t.N}if(r&&!e.N&&t.N){e.N=t.N}return true}return false};var patch=function(e,t,r){if(r===void 0){r=false}var n=t.j=e.j;var i=e.R;var a=t.R;var o=t.A;if(o==null){{updateElement(e,t,isSvgMode)}if(i!==null&&a!==null){updateChildren(n,i,t,a,r)}else if(a!==null){if(e.A!==null){n.textContent=""}addVnodes(n,null,t,a,0,a.length-1)}else if(!r&&BUILD.updatable&&i!==null){removeVnodes(i,0,i.length-1)}else;}else if(e.A!==o){n.data=o}};var nullifyVNodeRefs=function(e){{if(e.k&&e.k.ref){refCallbacksToRemove.push((function(){return e.k.ref(null)}))}e.R&&e.R.map(nullifyVNodeRefs)}};var queueRefAttachment=function(e,t){{refCallbacksToAttach.push((function(){return e(t)}))}};var flushQueuedRefCallbacks=function(){{refCallbacksToRemove.forEach((function(e){return e()}));refCallbacksToRemove.length=0;refCallbacksToAttach.forEach((function(e){return e()}));refCallbacksToAttach.length=0}};var insertBefore=function(e,t,r,n){if(e.__insertBefore){return e.__insertBefore(t,r)}else{return e==null?void 0:e.insertBefore(t,r)}};var renderVdom=function(e,t,r){if(r===void 0){r=false}var n=e.$hostElement$;var i=e.$||newVNode(null,null);var a=isHost(t);var o=a?t:h(null,null,t);hostTagName=n.tagName;if(r&&o.k){for(var u=0,l=Object.keys(o.k);u<l.length;u++){var f=l[u];if(n.hasAttribute(f)&&!["key","ref","style","class"].includes(f)){o.k[f]=n[f]}}}o.V=null;o.l|=4;e.$=o;o.j=i.j=n.shadowRoot||n;patch(i,o,r);flushQueuedRefCallbacks()};var attachToAncestor=function(e,t){if(t&&!e.P&&t["s-p"]){var r=t["s-p"].push(new Promise((function(n){return e.P=function(){t["s-p"].splice(r-1,1);n()}})))}};var scheduleUpdate=function(e,t){{e.l|=16}if(e.l&4){e.l|=512;return}attachToAncestor(e,e.H);var r=function(){return dispatchHooks(e,t)};if(t){queueMicrotask((function(){r()}));return}return writeTask(r)};var dispatchHooks=function(e,t){var r=e.$hostElement$;var n=createTime("scheduleUpdate",e.t.S);var i=e.u;if(!i){throw new Error("Can't render component <".concat(r.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"))}var a;if(t){{if(e.m.length){e.m.forEach((function(e){return e(r)}))}}a=safeCall(i,"componentWillLoad",void 0,r)}else{a=safeCall(i,"componentWillUpdate",void 0,r)}a=enqueue(a,(function(){return safeCall(i,"componentWillRender",void 0,r)}));n();return enqueue(a,(function(){return updateComponent(e,i,t)}))};var enqueue=function(e,t){return isPromisey(e)?e.then(t).catch((function(e){console.error(e);t()})):t()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,i,a,o,u,l,f;return __generator(this,(function(s){i=e.$hostElement$;a=createTime("update",e.t.S);o=i["s-rc"];if(r){attachStyles(e)}u=createTime("render",e.t.S);{callRender(e,t,i,r)}if(o){o.map((function(e){return e()}));i["s-rc"]=void 0}u();a();{l=(n=i["s-p"])!=null?n:[];f=function(){return postUpdateComponent(e)};if(l.length===0){f()}else{Promise.all(l).then(f).catch(f);e.l|=4;l.length=0}}return[2]}))}))};var callRender=function(e,t,r,n){try{t=t.render();{e.l&=-17}{e.l|=2}{{{renderVdom(e,t,n)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.t.S;var r=e.$hostElement$;var n=createTime("postUpdate",t);var i=e.u;var a=e.H;safeCall(i,"componentDidRender",void 0,r);if(!(e.l&64)){e.l|=64;{addHydratedFlag(r)}safeCall(i,"componentDidLoad",void 0,r);n();{e.h(r);if(!a){appDidLoad()}}}else{safeCall(i,"componentDidUpdate",void 0,r);n()}{if(e.P){e.P();e.P=void 0}if(e.l&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.l&=-517}};var appDidLoad=function(e){nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,r,n){if(e&&e[t]){try{return e[t](r)}catch(e){consoleError(e,n)}}return void 0};var addHydratedFlag=function(e){var t;return e.classList.add((t=BUILD.hydratedSelectorName)!=null?t:"hydrated")};var getValue=function(e,t){return getHostRef(e).o.get(t)};var setValue=function(e,t,r,n){var i=getHostRef(e);if(!i){return}if(!i){throw new Error("Couldn't find host element for \"".concat(n.S,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).'))}var a=i.o.get(t);var o=i.l;var u=i.u;r=parsePropertyValue(r,n.i[t][0]);var l=Number.isNaN(a)&&Number.isNaN(r);var f=r!==a&&!l;if((!(o&8)||a===void 0)&&f){i.o.set(t,r);if(o&2){if(u.componentShouldUpdate){var s=u.componentShouldUpdate(r,a,t);if(s===false&&!(o&16)){return}}if(!(o&16)){scheduleUpdate(i,false)}}}};var proxyComponent=function(e,t,r){var n,i;var a=e.prototype;if(t.i||BUILD.propChangeCallback){var o=Object.entries((n=t.i)!=null?n:{});o.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){var o=getPropertyDescriptor(a,n)||{},u=o.get,l=o.set;if(u)t.i[n][0]|=2048;if(l)t.i[n][0]|=4096;if(r&1||!u){Object.defineProperty(a,n,{get:function(){{if((t.i[n][0]&2048)===0){return getValue(this,n)}var e=getHostRef(this);var r=e?e.u:a;if(!r)return;return r[n]}},configurable:true,enumerable:true})}Object.defineProperty(a,n,{set:function(e){var a=this;var o=getHostRef(this);if(!o){return}if(l){var u=i&32?this[n]:o.$hostElement$[n];if(typeof u==="undefined"&&o.o.get(n)){e=o.o.get(n)}l.apply(this,[parsePropertyValue(e,i)]);e=i&32?this[n]:o.$hostElement$[n];setValue(this,n,e,t);return}{if((r&1)===0||(t.i[n][0]&4096)===0){setValue(this,n,e,t);if(r&1&&!o.u){o.m.push((function(){if(t.i[n][0]&4096&&o.u[n]!==o.o.get(n)){o.u[n]=e}}))}return}var f=function(){var r=o.u[n];if(!o.o.get(n)&&r){o.o.set(n,r)}o.u[n]=parsePropertyValue(e,i);setValue(a,n,o.u[n],t)};if(o.u){f()}else{o.m.push((function(){f()}))}}}})}}));if(r&1){var u=new Map;a.attributeChangedCallback=function(e,r,n){var i=this;plt.jmp((function(){var l;var f=u.get(e);var s=getHostRef(i);if(i.hasOwnProperty(f)&&BUILD.lazyLoad){n=i[f];delete i[f]}if(a.hasOwnProperty(f)&&typeof i[f]==="number"&&i[f]==n){return}else if(f==null){var c=s==null?void 0:s.l;if(s&&c&&!(c&8)&&n!==r){var v=s.u;var d=(l=t.O)==null?void 0:l[e];d==null?void 0:d.forEach((function(t){var i=Object.entries(t)[0],a=i[0],o=i[1];if(v[a]!=null&&(c&128||o&1)){v[a].call(v,n,r,e)}}))}return}var p=o.find((function(e){var t=e[0];return t===f}));if(p&&p[1][0]&4){n=n===null||n==="false"?false:true}var h=Object.getOwnPropertyDescriptor(a,f);if(n!=i[f]&&(!h.get||!!h.set)){i[f]=n}}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((i=t.O)!=null?i:{}),true),o.filter((function(e){var t=e[0],r=e[1];return r[0]&31})).map((function(e){var t=e[0],r=e[1];var n=r[1]||t;u.set(n,t);return n})),true)))}}return e};var initializeComponent=function(e,t,r,n){return __awaiter(void 0,void 0,void 0,(function(){var n,i,a,o,u,l,f,s,c,v,d,p;return __generator(this,(function(h){switch(h.label){case 0:h.trys.push([0,7,,8]);if(!((t.l&32)===0))return[3,6];t.l|=32;i=r.C;if(!i)return[3,4];a=loadModule(r,t);if(!(a&&"then"in a))return[3,2];o=uniqueTime();return[4,a];case 1:n=h.sent();o();return[3,3];case 2:n=a;h.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(r.S,"#").concat(t.U,'" was not found'))}if(!n.isProxied){proxyComponent(n,r,2);n.isProxied=true}u=createTime("createInstance",r.S);{t.l|=8}try{new n(t)}catch(t){consoleError(t,e)}{t.l&=-9}u();{fireConnectedCallback(t.u,e)}return[3,5];case 4:n=e.constructor;l=e.localName;customElements.whenDefined(l).then((function(){return t.l|=128}));h.label=5;case 5:if(n&&n.style){f=void 0;if(typeof n.style==="string"){f=n.style}s=getScopeId(r);if(!styles.has(s)||BUILD.hotModuleReplacement){c=createTime("registerStyles",r.S);registerStyle(s,f,!!(r.l&1));c()}}h.label=6;case 6:v=t.H;d=function(){return scheduleUpdate(t,true)};if(v&&v["s-rc"]){v["s-rc"].push(d)}else{d()}return[3,8];case 7:p=h.sent();consoleError(p,e);if(t.P){t.P();t.P=void 0}if(t.h){t.h(e)}return[3,8];case 8:return[2]}}))}))};var fireConnectedCallback=function(e,t){{safeCall(e,"connectedCallback",void 0,t)}};var connectedCallback=function(e){if((plt.l&1)===0){var t=getHostRef(e);if(!t){return}var r=t.t;var n=createTime("connectedCallback",r.S);if(!(t.l&1)){t.l|=1;{var i=e;while(i=i.parentNode||i.host){if(i["s-p"]){attachToAncestor(t,t.H=i);break}}}if(r.i){Object.entries(r.i).map((function(t){var r=t[0],n=t[1][0];if(n&31&&Object.prototype.hasOwnProperty.call(e,r)){var i=e[r];delete e[r];e[r]=i}}))}{initializeComponent(e,t,r)}}else{if(t==null?void 0:t.u){fireConnectedCallback(t.u,e)}else if(t==null?void 0:t.p){t.p.then((function(){return fireConnectedCallback(t.u,e)}))}}n()}};var disconnectInstance=function(e,t){{safeCall(e,"disconnectedCallback",void 0,t||e)}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var t;return __generator(this,(function(r){if((plt.l&1)===0){t=getHostRef(e);if(t==null?void 0:t.u){disconnectInstance(t.u,e)}else if(t==null?void 0:t.p){t.p.then((function(){return disconnectInstance(t.u,e)}))}}if(rootAppliedStyles.has(e)){rootAppliedStyles.delete(e)}if(e.shadowRoot&&rootAppliedStyles.has(e.shadowRoot)){rootAppliedStyles.delete(e.shadowRoot)}return[2]}))}))};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var r;if(!win.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var n=createTime();var i=[];var a=t.exclude||[];var o=win.customElements;var u=win.document.head;var l=u.querySelector("meta[charset]");var f=win.document.createElement("style");var s=[];var c;var v=true;Object.assign(plt,t);plt._=new URL(t.resourcesUrl||"./",win.document.baseURI).href;e.map((function(e){e[1].map((function(t){var r={l:t[0],S:t[1],i:t[2],D:t[3]};{r.i=t[2]}var n=transformTag(r.S);var u=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;n.hasRegisteredEventListeners=false;t=n;registerHost(t,r);if(r.l&1){{if(!t.shadowRoot){createShadowRoot.call(t,r)}else{if(t.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(r.S,"! Mode is set to ").concat(t.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return n}t.prototype.connectedCallback=function(){var e=this;var t=getHostRef(this);if(!t){return}if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true}if(c){clearTimeout(c);c=null}if(v){s.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}));plt.raf((function(){var t;var r=getHostRef(e);if(!r){return}var n=s.findIndex((function(t){return t===e}));if(n>-1){s.splice(n,1)}if(((t=r==null?void 0:r.$)==null?void 0:t.j)instanceof Node&&!r.$.j.isConnected){delete r.$.j}}))};t.prototype.componentOnReady=function(){var e;return(e=getHostRef(this))==null?void 0:e.p};return t}(HTMLElement);r.C=e[0];if(!a.includes(n)&&!o.get(n)){i.push(n);o.define(n,proxyComponent(u,r,1))}}))}));if(i.length>0){{f.textContent+=i.sort()+HYDRATED_CSS}if(f.innerHTML.length){f.setAttribute("data-styles","");var d=(r=plt.T)!=null?r:queryNonceMetaTagContent(win.document);if(d!=null){f.setAttribute("nonce",d)}u.insertBefore(f,l?l.nextSibling:u.firstChild)}}v=false;if(s.length){s.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}n()};var setNonce=function(e){return plt.T=e};function transformTag(e){return e}export{Host as H,bootstrapLazy as b,h,promiseResolve as p,registerInstance as r,setNonce as s};
@@ -1 +1 @@
1
- import{C as CSS,p as plt,w as win,a as promiseResolve,b as bootstrapLazy}from"./index-63fd3905.js";var patchEsm=function(){if(!(CSS&&CSS.supports&&CSS.supports("color","var(--c)"))){return import("./css-shim-2f04a37a.js").then((function(){if(plt.$cssShim$=win.__cssshim){return plt.$cssShim$.i()}else{return 0}}))}return promiseResolve()};var defineCustomElements=function(s,t){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy([["nb-skeleton",[[1,"nb-skeleton",{count:[2],variant:[1],width:[1],height:[1],marginBottom:[1,"margin-bottom"],animation:[1],customStyles:[1,"custom-styles"],showWarnings:[4,"show-warnings"]}]]]],t)}))};export{defineCustomElements};
1
+ var __awaiter=this&&this.__awaiter||function(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r["throw"](t))}catch(t){o(t)}}function u(t){t.done?e(t.value):i(t.value).then(a,s)}u((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=s(0),a["throw"]=s(1),a["return"]=s(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(n){return u([t,n])}}function u(s){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(e=0)),e)try{if(r=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;i=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){e.label=s[1];break}if(s[0]===6&&e.label<o[1]){e.label=o[1];o=s;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(s);break}if(o[2])e.ops.pop();e.trys.pop();continue}s=n.call(t,e)}catch(t){s=[6,t];i=0}finally{r=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{b as bootstrapLazy}from"./index-D_NQrSVN.js";export{s as setNonce}from"./index-D_NQrSVN.js";import{g as globalScripts}from"./app-globals-DQuL1Twl.js";var defineCustomElements=function(t,n){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(typeof window==="undefined")return[2,undefined];return[4,globalScripts()];case 1:t.sent();return[2,bootstrapLazy([["nb-skeleton",[[1,"nb-skeleton",{count:[2],label:[1],as:[1],asChild:[4,"as-child"],variant:[1],width:[1],height:[1],marginBottom:[1,"margin-bottom"],animation:[1],customStyles:[1,"custom-styles"],showWarnings:[4,"show-warnings"]}]]]],n)]}}))}))};export{defineCustomElements};
@@ -1 +1 @@
1
- import{r as registerInstance,h}from"./index-63fd3905.js";var ALLOWED_ANIMATIONS=["progress","progress-dark","pulse","false"];var skeletonCss=".skeleton{-webkit-box-sizing:border-box;box-sizing:border-box;outline:none;overflow:hidden;position:relative;background:var(--skeleton-background, #eff1f6) no-repeat;border-radius:var(--skeleton-border-radius, 4px);width:var(--skeleton-width, 100%);height:var(--skeleton-height, 20px);display:inline-block;margin-bottom:var(--skeleton-margin-bottom, 10px);will-change:transform}.skeleton:after,.skeleton:before{-webkit-box-sizing:border-box;box-sizing:border-box}.skeleton.circle{width:var(--skeleton-width, 40px);height:var(--skeleton-height, 40px);margin-bottom:var(--skeleton-margin-bottom, 5px);border-radius:var(--skeleton-border-radius, 50%)}.skeleton.rect{border-radius:var(--skeleton-border-radius, 0px)}.skeleton.progress,.skeleton.progress-dark{-webkit-animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;background-size:200px 100%}.skeleton.progress{background-image:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0)));background-image:linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0))}.skeleton.progress-dark{background-image:-webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(0, 0, 0, 0.2)), to(transparent));background-image:linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent)}.skeleton.pulse{-webkit-animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;-webkit-animation-delay:0.5s;animation-delay:0.5s}@media (prefers-reduced-motion: reduce){.skeleton.pulse,.skeleton.progress-dark,.skeleton.progress{-webkit-animation:none;animation:none}.skeleton.progress,.skeleton.progress-dark{background-image:none}}@-webkit-keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@-webkit-keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}";var Skeleton=function(){function e(e){registerInstance(this,e);this.count=1;this.variant="text";this.width=null;this.height=null;this.marginBottom=null;this.animation="progress";this.customStyles={};this.showWarnings=true;this.items=[]}e.prototype.componentWillLoad=function(){this.init()};e.prototype.componentWillUpdate=function(){this.init()};e.prototype.init=function(){this.items.length=this.count;this.items.fill(1);if(!ALLOWED_ANIMATIONS.includes(this.animation)){if(this.showWarnings){console.warn("`Skeleton` need to receive 'animation' as: "+ALLOWED_ANIMATIONS.join(", ")+'. Forcing default to "progress".')}this.animation="progress"}if(this.customStyles&&typeof this.customStyles==="string"){try{this.customStyles=JSON.parse(this.customStyles)}catch(e){if(this.showWarnings){console.warn("can't parse styles",this.customStyles)}}}};Object.defineProperty(e.prototype,"style",{get:function(){var e={width:null,height:null,marginBottom:null};if(this.width){e.width=this.width}if(this.height){e.height=this.height}if(this.marginBottom){e.marginBottom=this.marginBottom}var t=typeof this.customStyles==="object"?this.customStyles:{};return Object.assign(Object.assign({},e),t)},enumerable:false,configurable:true});e.prototype.render=function(){var e=this;return this.items.map((function(t,i){return h("span",{key:i,class:{circle:e.variant==="circle",rect:e.variant==="rect",progress:e.animation==="progress","progress-dark":e.animation==="progress-dark",pulse:e.animation==="pulse",skeleton:true},"aria-busy":"true","aria-valuemin":"0","aria-valuemax":"100","aria-valuetext":"Loading...",role:"progressbar",tabindex:"0",style:e.style})}))};return e}();Skeleton.style=skeletonCss;export{Skeleton as nb_skeleton};
1
+ import{r as registerInstance,h,H as Host}from"./index-D_NQrSVN.js";var ALLOWED_ANIMATIONS=["progress","progress-dark","pulse","false"];var skeletonCss=function(){return".skeleton{-webkit-box-sizing:border-box;box-sizing:border-box;outline:none;overflow:hidden;position:relative;background:var(--skeleton-background, #eff1f6) no-repeat;border-radius:var(--skeleton-border-radius, 4px);width:var(--skeleton-width, 100%);height:var(--skeleton-height, 20px);display:inline-block;margin-bottom:var(--skeleton-margin-bottom, 10px);will-change:transform}.skeleton:after,.skeleton:before{-webkit-box-sizing:border-box;box-sizing:border-box}.skeleton.circle{width:var(--skeleton-width, 40px);height:var(--skeleton-height, 40px);margin-bottom:var(--skeleton-margin-bottom, 5px);border-radius:var(--skeleton-border-radius, 50%)}.skeleton.rect{border-radius:var(--skeleton-border-radius, 0px)}.skeleton.progress,.skeleton.progress-dark{-webkit-animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;background-size:200px 100%}.skeleton.progress{background-image:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0)));background-image:linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0))}.skeleton.progress-dark{background-image:-webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(0, 0, 0, 0.2)), to(transparent));background-image:linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent)}.skeleton.pulse{-webkit-animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;-webkit-animation-delay:0.5s;animation-delay:0.5s}@media (prefers-reduced-motion: reduce){.skeleton.pulse,.skeleton.progress-dark,.skeleton.progress{-webkit-animation:none;animation:none}.skeleton.progress,.skeleton.progress-dark{background-image:none}}@-webkit-keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@-webkit-keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}"};var Skeleton=function(){function e(e){registerInstance(this,e);this.count=1;this.label="Loading...";this.as="div";this.asChild=false;this.variant="text";this.width=null;this.height=null;this.marginBottom=null;this.animation="progress";this.customStyles={};this.showWarnings=true;this.items=[];this.parsedCustomStyles={}}e.prototype.componentWillLoad=function(){this.init()};e.prototype.componentWillUpdate=function(){this.init()};e.prototype.init=function(){this.items.length=this.count;this.items.fill(1);this.parsedCustomStyles={};if(!ALLOWED_ANIMATIONS.includes(this.animation)){if(this.showWarnings){console.warn("`Skeleton` need to receive 'animation' as: ".concat(ALLOWED_ANIMATIONS.join(", "),'. Forcing default to "progress".'))}this.animation="progress"}if(this.customStyles&&typeof this.customStyles==="string"){try{var e=JSON.parse(this.customStyles);if(e&&typeof e==="object"){this.parsedCustomStyles=e}}catch(e){if(this.showWarnings){console.warn("can't parse styles",this.customStyles)}}}else if(this.customStyles&&typeof this.customStyles==="object"){this.parsedCustomStyles=this.customStyles}};Object.defineProperty(e.prototype,"style",{get:function(){var e={width:null,height:null,marginBottom:null};if(this.width){e.width=this.width}if(this.height){e.height=this.height}if(this.marginBottom){e.marginBottom=this.marginBottom}var t=this.parsedCustomStyles;return Object.assign(Object.assign({},e),t)},enumerable:false,configurable:true});e.prototype.resolveWrapperTag=function(){var e=(this.as||"").trim().toLowerCase();if(/^[a-z][a-z0-9-]*$/.test(e)){return e}if(this.showWarnings){console.warn('`Skeleton` `as` prop must be a valid html tag name. Falling back to "div".')}return"div"};Object.defineProperty(e.prototype,"ariaProps",{get:function(){return{"aria-busy":"true","aria-label":this.label,"aria-valuemin":"0","aria-valuemax":"100","aria-valuetext":this.label,role:"progressbar"}},enumerable:false,configurable:true});e.prototype.renderRows=function(){var e=this;return this.items.map((function(t,r){return h("span",{key:r,class:{circle:e.variant==="circle",rect:e.variant==="rect",progress:e.animation==="progress","progress-dark":e.animation==="progress-dark",pulse:e.animation==="pulse",skeleton:true},"aria-hidden":"true",style:e.style})}))};e.prototype.render=function(){if(this.asChild){return h(Host,Object.assign({},this.ariaProps),this.renderRows())}var e=this.resolveWrapperTag();return h(Host,null,h(e,Object.assign({},this.ariaProps),this.renderRows()))};return e}();Skeleton.style=skeletonCss();export{Skeleton as nb_skeleton};
@@ -1 +1 @@
1
- import{p as plt,w as win,a as promiseResolve,b as bootstrapLazy}from"./index-63fd3905.js";var patchBrowser=function(){{plt.$cssShim$=win.__cssshim}var s=import.meta.url;var t={};if(s!==""){t.resourcesUrl=new URL(".",s).href}return promiseResolve(t)};patchBrowser().then((function(s){return bootstrapLazy([["nb-skeleton",[[1,"nb-skeleton",{count:[2],variant:[1],width:[1],height:[1],marginBottom:[1,"margin-bottom"],animation:[1],customStyles:[1,"custom-styles"],showWarnings:[4,"show-warnings"]}]]]],s)}));
1
+ var __awaiter=this&&this.__awaiter||function(t,n,r,e){function o(t){return t instanceof r?t:new r((function(n){n(t)}))}return new(r||(r=Promise))((function(r,i){function a(t){try{c(e.next(t))}catch(t){i(t)}}function s(t){try{c(e["throw"](t))}catch(t){i(t)}}function c(t){t.done?r(t.value):o(t.value).then(a,s)}c((e=e.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},e,o,i,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=s(0),a["throw"]=s(1),a["return"]=s(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(n){return c([t,n])}}function c(s){if(e)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(r=0)),r)try{if(e=1,o&&(i=s[0]&2?o["return"]:s[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;if(o=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;o=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=n.call(t,r)}catch(t){s=[6,t];o=0}finally{e=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{p as promiseResolve,b as bootstrapLazy}from"./index-D_NQrSVN.js";export{s as setNonce}from"./index-D_NQrSVN.js";import{g as globalScripts}from"./app-globals-DQuL1Twl.js";var patchBrowser=function(){var t=import.meta.url;var n={};if(t!==""){n.resourcesUrl=new URL(".",t).href}return promiseResolve(n)};patchBrowser().then((function(t){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(n){switch(n.label){case 0:return[4,globalScripts()];case 1:n.sent();return[2,bootstrapLazy([["nb-skeleton",[[1,"nb-skeleton",{count:[2],label:[1],as:[1],asChild:[4,"as-child"],variant:[1],width:[1],height:[1],marginBottom:[1,"margin-bottom"],animation:[1],customStyles:[1,"custom-styles"],showWarnings:[4,"show-warnings"]}]]]],t)]}}))}))}));
@@ -0,0 +1 @@
1
+ System.register(["./p-CEkATbjM.system.js"],(function(e){"use strict";var t,i,r;return{setters:[function(e){t=e.r;i=e.h;r=e.H}],execute:function(){var s=["progress","progress-dark","pulse","false"];var n=function(){return".skeleton{-webkit-box-sizing:border-box;box-sizing:border-box;outline:none;overflow:hidden;position:relative;background:var(--skeleton-background, #eff1f6) no-repeat;border-radius:var(--skeleton-border-radius, 4px);width:var(--skeleton-width, 100%);height:var(--skeleton-height, 20px);display:inline-block;margin-bottom:var(--skeleton-margin-bottom, 10px);will-change:transform}.skeleton:after,.skeleton:before{-webkit-box-sizing:border-box;box-sizing:border-box}.skeleton.circle{width:var(--skeleton-width, 40px);height:var(--skeleton-height, 40px);margin-bottom:var(--skeleton-margin-bottom, 5px);border-radius:var(--skeleton-border-radius, 50%)}.skeleton.rect{border-radius:var(--skeleton-border-radius, 0px)}.skeleton.progress,.skeleton.progress-dark{-webkit-animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;background-size:200px 100%}.skeleton.progress{background-image:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(rgba(255, 255, 255, 0.6)), to(rgba(255, 255, 255, 0)));background-image:linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0))}.skeleton.progress-dark{background-image:-webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(0, 0, 0, 0.2)), to(transparent));background-image:linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent)}.skeleton.pulse{-webkit-animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;animation:pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;-webkit-animation-delay:0.5s;animation-delay:0.5s}@media (prefers-reduced-motion: reduce){.skeleton.pulse,.skeleton.progress-dark,.skeleton.progress{-webkit-animation:none;animation:none}.skeleton.progress,.skeleton.progress-dark{background-image:none}}@-webkit-keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@-webkit-keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}"};var o=e("nb_skeleton",function(){function e(e){t(this,e);this.count=1;this.label="Loading...";this.as="div";this.asChild=false;this.variant="text";this.width=null;this.height=null;this.marginBottom=null;this.animation="progress";this.customStyles={};this.showWarnings=true;this.items=[];this.parsedCustomStyles={}}e.prototype.componentWillLoad=function(){this.init()};e.prototype.componentWillUpdate=function(){this.init()};e.prototype.init=function(){this.items.length=this.count;this.items.fill(1);this.parsedCustomStyles={};if(!s.includes(this.animation)){if(this.showWarnings){console.warn("`Skeleton` need to receive 'animation' as: ".concat(s.join(", "),'. Forcing default to "progress".'))}this.animation="progress"}if(this.customStyles&&typeof this.customStyles==="string"){try{var e=JSON.parse(this.customStyles);if(e&&typeof e==="object"){this.parsedCustomStyles=e}}catch(e){if(this.showWarnings){console.warn("can't parse styles",this.customStyles)}}}else if(this.customStyles&&typeof this.customStyles==="object"){this.parsedCustomStyles=this.customStyles}};Object.defineProperty(e.prototype,"style",{get:function(){var e={width:null,height:null,marginBottom:null};if(this.width){e.width=this.width}if(this.height){e.height=this.height}if(this.marginBottom){e.marginBottom=this.marginBottom}var t=this.parsedCustomStyles;return Object.assign(Object.assign({},e),t)},enumerable:false,configurable:true});e.prototype.resolveWrapperTag=function(){var e=(this.as||"").trim().toLowerCase();if(/^[a-z][a-z0-9-]*$/.test(e)){return e}if(this.showWarnings){console.warn('`Skeleton` `as` prop must be a valid html tag name. Falling back to "div".')}return"div"};Object.defineProperty(e.prototype,"ariaProps",{get:function(){return{"aria-busy":"true","aria-label":this.label,"aria-valuemin":"0","aria-valuemax":"100","aria-valuetext":this.label,role:"progressbar"}},enumerable:false,configurable:true});e.prototype.renderRows=function(){var e=this;return this.items.map((function(t,r){return i("span",{key:r,class:{circle:e.variant==="circle",rect:e.variant==="rect",progress:e.animation==="progress","progress-dark":e.animation==="progress-dark",pulse:e.animation==="pulse",skeleton:true},"aria-hidden":"true",style:e.style})}))};e.prototype.render=function(){if(this.asChild){return i(r,Object.assign({},this.ariaProps),this.renderRows())}var e=this.resolveWrapperTag();return i(r,null,i(e,Object.assign({},this.ariaProps),this.renderRows()))};return e}());o.style=n()}}}));
@@ -0,0 +1 @@
1
+ System.register([],(function(t){"use strict";return{execute:function(){var n=t("g",(function(){}))}}}));
@@ -0,0 +1,2 @@
1
+ var __extends=this&&this.__extends||function(){var r=function(n,e){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var e in n)if(Object.prototype.hasOwnProperty.call(n,e))r[e]=n[e]};return r(n,e)};return function(n,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var n,e=1,t=arguments.length;e<t;e++){n=arguments[e];for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i))r[i]=n[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,n,e,t){function i(r){return r instanceof e?r:new e((function(n){n(r)}))}return new(e||(e=Promise))((function(e,a){function f(r){try{o(t.next(r))}catch(r){a(r)}}function u(r){try{o(t["throw"](r))}catch(r){a(r)}}function o(r){r.done?e(r.value):i(r.value).then(f,u)}o((t=t.apply(r,n||[])).next())}))};var __generator=this&&this.__generator||function(r,n){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,f=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return f.next=u(0),f["throw"]=u(1),f["return"]=u(2),typeof Symbol==="function"&&(f[Symbol.iterator]=function(){return this}),f;function u(r){return function(n){return o([r,n])}}function o(u){if(t)throw new TypeError("Generator is already executing.");while(f&&(f=0,u[0]&&(e=0)),e)try{if(t=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:e.label++;return{value:u[1],done:false};case 5:e.label++;i=u[1];u=[0];continue;case 7:u=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){e.label=u[1];break}if(u[0]===6&&e.label<a[1]){e.label=a[1];a=u;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(u);break}if(a[2])e.ops.pop();e.trys.pop();continue}u=n.call(r,e)}catch(r){u=[6,r];i=0}finally{t=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,n,e){if(e||arguments.length===2)for(var t=0,i=n.length,a;t<i;t++){if(a||!(t in n)){if(!a)a=Array.prototype.slice.call(n,0,t);a[t]=n[t]}}return r.concat(a||Array.prototype.slice.call(n))};System.register([],(function(r,n){"use strict";return{execute:function(){var e=this;var t="skeleton-webcomponent";var i={hotModuleReplacement:false,hydratedSelectorName:"hydrated",lazyLoad:true,prop:true,propChangeCallback:false,updatable:true};function a(r,n,e){var t=typeof HTMLElement!=="undefined"?HTMLElement.prototype:null;while(r&&r!==t){var i=Object.getOwnPropertyDescriptor(r,n);if(i&&(!e||i.get))return i;r=Object.getPrototypeOf(r)}return void 0}var f=function(r,n){var e;var t=n.t;var i=Object.entries((e=t.i)!=null?e:{});i.map((function(e){var t=e[0],i=e[1][0];if(i&31||i&32){var f=r[t];var u=a(Object.getPrototypeOf(r),t,true)||Object.getOwnPropertyDescriptor(r,t);if(u){Object.defineProperty(r,t,{get:function(){return u.get.call(this)},set:function(r){u.set.call(this,r)},configurable:true,enumerable:true})}if(n.u.has(t)){r[t]=n.u.get(t)}else if(f!==void 0){r[t]=f}}}))};var u=function(r){if(r.__stencil__getHostRef){return r.__stencil__getHostRef()}return void 0};var o=r("r",(function(r,n){if(!n)return;r.__stencil__getHostRef=function(){return n};n.o=r;if(n.t.l&512&&i.prop){f(r,n)}}));var l=function(r,n){var e={l:0,$hostElement$:r,t:n,u:new Map,v:new Map};{e.p=new Promise((function(r){return e.h=r}));r["s-p"]=[];r["s-rc"]=[]}{e.m=[]}var t=e;r.__stencil__getHostRef=function(){return t};return t};var v=function(r,n){return n in r};var c=function(r,n){return(0,console.error)(r,n)};var s=new Map;var d=function(r,e,t){var i=r._.replace(/-/g,"_");var a=r.j;if(!a){return void 0}var f=s.get(a);if(f){return f[i]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return n.import("./".concat(a,".entry.js").concat("")).then((function(r){{s.set(a,r)}return r[i]}),(function(r){c(r,e.$hostElement$)}))};var p=new Map;var h="{visibility:hidden}.hydrated{visibility:inherit}";var y="slot-fb{display:contents}slot-fb[hidden]{display:none}";var m="http://www.w3.org/1999/xlink";var b=typeof window!=="undefined"?window:{};var w={l:0,$:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,n,e,t){return r.addEventListener(n,e,t)},rel:function(r,n,e,t){return r.removeEventListener(n,e,t)},ce:function(r,n){return new CustomEvent(r,n)}};var _=r("p",(function(r){return Promise.resolve(r)}));var g=function(){try{if(!b.document.adoptedStyleSheets){return false}new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var j=g?function(){return!!b.document&&Object.getOwnPropertyDescriptor(b.document.adoptedStyleSheets,"length").writable}():false;var $=false;var S=[];var O=[];var k=function(r,n){return function(e){r.push(e);if(!$){$=true;if(n&&w.l&4){M(E)}else{w.raf(E)}}}};var A=function(r){for(var n=0;n<r.length;n++){try{r[n](performance.now())}catch(r){c(r)}}r.length=0};var E=function(){A(S);{A(O);if($=S.length>0){w.raf(E)}}};var M=function(r){return _().then(r)};var C=k(O,true);function x(r){return void 0}var N;function T(r){var n;var e={mode:"open"};var t=this.attachShadow(e);if(N===void 0)N=(n=x())!=null?n:null;if(N){if(j){t.adoptedStyleSheets.push(N)}else{t.adoptedStyleSheets=__spreadArray(__spreadArray([],t.adoptedStyleSheets,true),[N],false)}}}var L=function(r,n){if(n===void 0){n=""}{return function(){return}}};var P=function(r,n){{return function(){return}}};function U(r){var n,e,t;return(t=(e=(n=r.head)==null?void 0:n.querySelector('meta[name="csp-nonce"]'))==null?void 0:e.getAttribute("content"))!=null?t:void 0}var D=new WeakMap;var H=function(r,n,e){var t=p.get(r);if(g&&e){t=t||new CSSStyleSheet;if(typeof t==="string"){t=n}else{t.replaceSync(n)}}else{t=n}p.set(r,t)};var R=function(r,n,e){var t,i,a;var f=W(n);var u=p.get(f);if(!b.document){return f}r=r.nodeType===11?r:b.document;if(u){if(typeof u==="string"){r=r.head||r;var o=D.get(r);var l=void 0;if(!o){D.set(r,o=new Set)}if(!o.has(f)){l=b.document.createElement("style");l.textContent=u;var v=(t=w.S)!=null?t:U(b.document);if(v!=null){l.setAttribute("nonce",v)}if(!(n.l&1)){if(r.nodeName==="HEAD"){var c=r.querySelectorAll("link[rel=preconnect]");var s=c.length>0?c[c.length-1].nextSibling:r.querySelector("style");r.insertBefore(l,(s==null?void 0:s.parentNode)===r?s:null)}else if("host"in r){if(g){var d=(i=r.defaultView)!=null?i:r.ownerDocument.defaultView;var h=new d.CSSStyleSheet;h.replaceSync(u);if(j){r.adoptedStyleSheets.unshift(h)}else{r.adoptedStyleSheets=__spreadArray([h],r.adoptedStyleSheets,true)}}else{var m=r.querySelector("style");if(m&&true){m.textContent=u+m.textContent}else{r.prepend(l)}}}else{r.append(l)}}if(n.l&1){r.insertBefore(l,null)}if(n.l&4){l.textContent+=y}if(o){o.add(f)}}}else{var o=D.get(r);if(!o){D.set(r,o=new Set)}if(!o.has(f)){var d=(a=r.defaultView)!=null?a:r.ownerDocument.defaultView;var h=void 0;if(u.constructor===d.CSSStyleSheet){h=u}else{h=new d.CSSStyleSheet;for(var _=0;_<u.cssRules.length;_++){h.insertRule(u.cssRules[_].cssText,_)}}if(j){r.adoptedStyleSheets.push(h)}else{r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[h],false)}o.add(f)}}}return f};var z=function(r){var n=r.t;var e=r.$hostElement$;var t=n.l;var i=L("attachStyles",n._);var a=R(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);if(t&10){e["s-sc"]=a;e.classList.add(a+"-h")}i()};var W=function(r,n){return"sc-"+r._};var F=function(r){r=typeof r;return r==="object"||r==="function"};var I=r("h",(function(r,n){var e=[];for(var t=2;t<arguments.length;t++){e[t-2]=arguments[t]}if(typeof r==="string"){r=Wr(r)}var i=null;var a=null;var f=false;var u=false;var o=[];var l=function(n){for(var e=0;e<n.length;e++){i=n[e];if(Array.isArray(i)){l(i)}else if(i!=null&&typeof i!=="boolean"){if(f=typeof r!=="function"&&!F(i)){i=String(i)}if(f&&u){o[o.length-1].O+=i}else{o.push(f?V(null,i):i)}u=f}}};l(e);if(n){if(n.key){a=n.key}{var v=n.className||n.class;if(v){n.class=typeof v!=="object"?v:Object.keys(v).filter((function(r){return v[r]})).join(" ")}}}if(typeof r==="function"){return r(n===null?{}:n,o,Y)}var c=V(r,null);c.k=n;if(o.length>0){c.A=o}{c.M=a}return c}));var V=function(r,n){var e={l:0,C:r,O:n!=null?n:null,N:null,A:null};{e.k=null}{e.M=null}return e};var q=r("H",{});var G=function(r){return r&&r.C===q};var Y={forEach:function(r,n){return r.map(Z).forEach(n)},map:function(r,n){return r.map(Z).map(n).map(B)}};var Z=function(r){return{vattrs:r.k,vchildren:r.A,vkey:r.M,vname:r.T,vtag:r.C,vtext:r.O}};var B=function(r){if(typeof r.vtag==="function"){var n=__assign({},r.vattrs);if(r.vkey){n.key=r.vkey}if(r.vname){n.name=r.vname}return I.apply(void 0,__spreadArray([r.vtag,n],r.vchildren||[],false))}var e=V(r.vtag,r.vtext);e.k=r.vattrs;e.A=r.vchildren;e.M=r.vkey;e.T=r.vname;return e};var J=function(r,n,e){if(r!=null&&!F(r)){if(n&4){{return r==="false"?false:r===""||!!r}}if(n&2){return typeof r==="string"?parseFloat(r):typeof r==="number"?r:NaN}if(n&1){return String(r)}return r}return r};var K=function(r,n,e){var t=w.ce(n,e);r.dispatchEvent(t);return t};var Q=function(r,n,e,t,i,a,f){if(e===t){return}var o=v(r,n);var l=n.toLowerCase();if(n==="class"){var c=r.classList;var s=rr(e);var d=rr(t);{c.remove.apply(c,s.filter((function(r){return r&&!d.includes(r)})));c.add.apply(c,d.filter((function(r){return r&&!s.includes(r)})))}}else if(n==="style"){{for(var p in e){if(!t||t[p]==null){if(p.includes("-")){r.style.removeProperty(p)}else{r.style[p]=""}}}}for(var p in t){if(!e||t[p]!==e[p]){if(p.includes("-")){r.style.setProperty(p,t[p])}else{r.style[p]=t[p]}}}}else if(n==="key");else if(n==="ref"){if(t){yr(t,r)}}else if(!o&&n[0]==="o"&&n[1]==="n"){if(n[2]==="-"){n=n.slice(3)}else if(v(b,l)){n=l.slice(2)}else{n=l[2]+n.slice(3)}if(e||t){var h=n.endsWith(nr);n=n.replace(er,"");if(e){w.rel(r,n,e,h)}if(t){w.ael(r,n,t,h)}}}else if(n[0]==="a"&&n.startsWith("attr:")){var y=n.slice(5);var _=void 0;{var g=u(r);if(g&&g.t&&g.t.i){var j=g.t.i[y];if(j&&j[1]){_=j[1]}}}if(!_){_=y.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}if(t==null||t===false){if(t!==false||r.getAttribute(_)===""){r.removeAttribute(_)}}else{r.setAttribute(_,t===true?"":t)}return}else if(n[0]==="p"&&n.startsWith("prop:")){var y=n.slice(5);try{r[y]=t}catch(r){}return}else{var $=F(t);if((o||$&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var S=t==null?"":t;if(n==="list"){o=false}else if(e==null||r[n]!==S){if(typeof r.__lookupSetter__(n)==="function"){r[n]=S}else{r.setAttribute(n,S)}}}else if(r[n]!==t){r[n]=t}}catch(r){}}var O=false;{if(l!==(l=l.replace(/^xlink\:?/,""))){n=l;O=true}}if(t==null||t===false){if(t!==false||r.getAttribute(n)===""){if(O){r.removeAttributeNS(m,n)}else{r.removeAttribute(n)}}}else if((!o||a&4||i)&&!$&&r.nodeType===1){t=t===true?"":t;if(O){r.setAttributeNS(m,n,t)}else{r.setAttribute(n,t)}}}};var X=/\s/;var rr=function(r){if(typeof r==="object"&&r&&"baseVal"in r){r=r.baseVal}if(!r||typeof r!=="string"){return[]}return r.split(X)};var nr="Capture";var er=new RegExp(nr+"$");var tr=function(r,n,e,t){var i=n.N.nodeType===11&&n.N.host?n.N.host:n.N;var a=r&&r.k||{};var f=n.k||{};{for(var u=0,o=ir(Object.keys(a));u<o.length;u++){var l=o[u];if(!(l in f)){Q(i,l,a[l],void 0,e,n.l)}}}for(var v=0,c=ir(Object.keys(f));v<c.length;v++){var l=c[v];Q(i,l,a[l],f[l],e,n.l)}};function ir(r){return r.includes("ref")?__spreadArray(__spreadArray([],r.filter((function(r){return r!=="ref"})),true),["ref"],false):r}var ar;var fr=false;var ur=[];var or=[];var lr=function(r,n,e){var t=n.A[e];var i=0;var a;var f;if(t.O!=null){a=t.N=b.document.createTextNode(t.O)}else{if(!b.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.")}a=t.N=b.document.createElement(t.C);{tr(null,t,fr)}if(t.A){var u=t.C==="template"?a.content:a;for(i=0;i<t.A.length;++i){f=lr(r,t,i);if(f){u.appendChild(f)}}}}a["s-hn"]=ar;return a};var vr=function(r,n,e,t,i,a){var f=r;var u;if(f.shadowRoot&&f.tagName===ar){f=f.shadowRoot}if(e.C==="template"){f=f.content}for(;i<=a;++i){if(t[i]){u=lr(null,e,i);if(u){t[i].N=u;br(f,u,n)}}}};var cr=function(r,n,e){for(var t=n;t<=e;++t){var i=r[t];if(i){var a=i.N;hr(i);if(a){a.remove()}}}};var sr=function(r,n,e,t,i){if(i===void 0){i=false}var a=0;var f=0;var u=0;var o=0;var l=n.length-1;var v=n[0];var c=n[l];var s=t.length-1;var d=t[0];var p=t[s];var h;var y;var m=e.C==="template"?r.content:r;while(a<=l&&f<=s){if(v==null){v=n[++a]}else if(c==null){c=n[--l]}else if(d==null){d=t[++f]}else if(p==null){p=t[--s]}else if(dr(v,d,i)){pr(v,d,i);v=n[++a];d=t[++f]}else if(dr(c,p,i)){pr(c,p,i);c=n[--l];p=t[--s]}else if(dr(v,p,i)){pr(v,p,i);br(m,v.N,c.N.nextSibling);v=n[++a];p=t[--s]}else if(dr(c,d,i)){pr(c,d,i);br(m,c.N,v.N);c=n[--l];d=t[++f]}else{u=-1;{for(o=a;o<=l;++o){if(n[o]&&n[o].M!==null&&n[o].M===d.M){u=o;break}}}if(u>=0){y=n[u];if(y.C!==d.C){h=lr(n&&n[f],e,u)}else{pr(y,d,i);n[u]=void 0;h=y.N}d=t[++f]}else{h=lr(n&&n[f],e,f);d=t[++f]}if(h){{br(v.N.parentNode,h,v.N)}}}}if(a>l){vr(r,t[s+1]==null?null:t[s+1].N,e,t,f,s)}else if(f>s){cr(n,a,l)}};var dr=function(r,n,e){if(e===void 0){e=false}if(r.C===n.C){if(!e){return r.M===n.M}if(e&&!r.M&&n.M){r.M=n.M}return true}return false};var pr=function(r,n,e){if(e===void 0){e=false}var t=n.N=r.N;var a=r.A;var f=n.A;var u=n.O;if(u==null){{tr(r,n,fr)}if(a!==null&&f!==null){sr(t,a,n,f,e)}else if(f!==null){if(r.O!==null){t.textContent=""}vr(t,null,n,f,0,f.length-1)}else if(!e&&i.updatable&&a!==null){cr(a,0,a.length-1)}else;}else if(r.O!==u){t.data=u}};var hr=function(r){{if(r.k&&r.k.ref){ur.push((function(){return r.k.ref(null)}))}r.A&&r.A.map(hr)}};var yr=function(r,n){{or.push((function(){return r(n)}))}};var mr=function(){{ur.forEach((function(r){return r()}));ur.length=0;or.forEach((function(r){return r()}));or.length=0}};var br=function(r,n,e,t){if(r.__insertBefore){return r.__insertBefore(n,e)}else{return r==null?void 0:r.insertBefore(n,e)}};var wr=function(r,n,e){if(e===void 0){e=false}var t=r.$hostElement$;var i=r.L||V(null,null);var a=G(n);var f=a?n:I(null,null,n);ar=t.tagName;if(e&&f.k){for(var u=0,o=Object.keys(f.k);u<o.length;u++){var l=o[u];if(t.hasAttribute(l)&&!["key","ref","style","class"].includes(l)){f.k[l]=t[l]}}}f.C=null;f.l|=4;r.L=f;f.N=i.N=t.shadowRoot||t;pr(i,f,e);mr()};var _r=function(r,n){if(n&&!r.P&&n["s-p"]){var e=n["s-p"].push(new Promise((function(t){return r.P=function(){n["s-p"].splice(e-1,1);t()}})))}};var gr=function(r,n){{r.l|=16}if(r.l&4){r.l|=512;return}_r(r,r.U);var e=function(){return jr(r,n)};if(n){queueMicrotask((function(){e()}));return}return C(e)};var jr=function(r,n){var e=r.$hostElement$;var t=L("scheduleUpdate",r.t._);var i=r.o;if(!i){throw new Error("Can't render component <".concat(e.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"))}var a;if(n){{if(r.m.length){r.m.forEach((function(r){return r(e)}))}}a=Mr(i,"componentWillLoad",void 0,e)}else{a=Mr(i,"componentWillUpdate",void 0,e)}a=$r(a,(function(){return Mr(i,"componentWillRender",void 0,e)}));t();return $r(a,(function(){return Or(r,i,n)}))};var $r=function(r,n){return Sr(r)?r.then(n).catch((function(r){console.error(r);n()})):n()};var Sr=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var Or=function(r,n,t){return __awaiter(e,void 0,void 0,(function(){var e,i,a,f,u,o,l;return __generator(this,(function(v){i=r.$hostElement$;a=L("update",r.t._);f=i["s-rc"];if(t){z(r)}u=L("render",r.t._);{kr(r,n,i,t)}if(f){f.map((function(r){return r()}));i["s-rc"]=void 0}u();a();{o=(e=i["s-p"])!=null?e:[];l=function(){return Ar(r)};if(o.length===0){l()}else{Promise.all(o).then(l).catch(l);r.l|=4;o.length=0}}return[2]}))}))};var kr=function(r,n,e,t){try{n=n.render();{r.l&=-17}{r.l|=2}{{{wr(r,n,t)}}}}catch(n){c(n,r.$hostElement$)}return null};var Ar=function(r){var n=r.t._;var e=r.$hostElement$;var t=L("postUpdate",n);var i=r.o;var a=r.U;Mr(i,"componentDidRender",void 0,e);if(!(r.l&64)){r.l|=64;{Cr(e)}Mr(i,"componentDidLoad",void 0,e);t();{r.h(e);if(!a){Er()}}}else{Mr(i,"componentDidUpdate",void 0,e);t()}{if(r.P){r.P();r.P=void 0}if(r.l&512){M((function(){return gr(r,false)}))}r.l&=-517}};var Er=function(r){M((function(){return K(b,"appload",{detail:{namespace:t}})}))};var Mr=function(r,n,e,t){if(r&&r[n]){try{return r[n](e)}catch(r){c(r,t)}}return void 0};var Cr=function(r){var n;return r.classList.add((n=i.hydratedSelectorName)!=null?n:"hydrated")};var xr=function(r,n){return u(r).u.get(n)};var Nr=function(r,n,e,t){var i=u(r);if(!i){return}if(!i){throw new Error("Couldn't find host element for \"".concat(t._,'" 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/stenciljs/core/issues/5457).'))}var a=i.u.get(n);var f=i.l;var o=i.o;e=J(e,t.i[n][0]);var l=Number.isNaN(a)&&Number.isNaN(e);var v=e!==a&&!l;if((!(f&8)||a===void 0)&&v){i.u.set(n,e);if(f&2){if(o.componentShouldUpdate){var c=o.componentShouldUpdate(e,a,n);if(c===false&&!(f&16)){return}}if(!(f&16)){gr(i,false)}}}};var Tr=function(r,n,e){var t,f;var o=r.prototype;if(n.i||i.propChangeCallback){var l=Object.entries((t=n.i)!=null?t:{});l.map((function(r){var t=r[0],i=r[1][0];if(i&31||e&2&&i&32){var f=a(o,t)||{},l=f.get,v=f.set;if(l)n.i[t][0]|=2048;if(v)n.i[t][0]|=4096;if(e&1||!l){Object.defineProperty(o,t,{get:function(){{if((n.i[t][0]&2048)===0){return xr(this,t)}var r=u(this);var e=r?r.o:o;if(!e)return;return e[t]}},configurable:true,enumerable:true})}Object.defineProperty(o,t,{set:function(r){var a=this;var f=u(this);if(!f){return}if(v){var o=i&32?this[t]:f.$hostElement$[t];if(typeof o==="undefined"&&f.u.get(t)){r=f.u.get(t)}v.apply(this,[J(r,i)]);r=i&32?this[t]:f.$hostElement$[t];Nr(this,t,r,n);return}{if((e&1)===0||(n.i[t][0]&4096)===0){Nr(this,t,r,n);if(e&1&&!f.o){f.m.push((function(){if(n.i[t][0]&4096&&f.o[t]!==f.u.get(t)){f.o[t]=r}}))}return}var l=function(){var e=f.o[t];if(!f.u.get(t)&&e){f.u.set(t,e)}f.o[t]=J(r,i);Nr(a,t,f.o[t],n)};if(f.o){l()}else{f.m.push((function(){l()}))}}}})}}));if(e&1){var v=new Map;o.attributeChangedCallback=function(r,e,t){var a=this;w.jmp((function(){var f;var c=v.get(r);var s=u(a);if(a.hasOwnProperty(c)&&i.lazyLoad){t=a[c];delete a[c]}if(o.hasOwnProperty(c)&&typeof a[c]==="number"&&a[c]==t){return}else if(c==null){var d=s==null?void 0:s.l;if(s&&d&&!(d&8)&&t!==e){var p=s.o;var h=(f=n.D)==null?void 0:f[r];h==null?void 0:h.forEach((function(n){var i=Object.entries(n)[0],a=i[0],f=i[1];if(p[a]!=null&&(d&128||f&1)){p[a].call(p,t,e,r)}}))}return}var y=l.find((function(r){var n=r[0];return n===c}));if(y&&y[1][0]&4){t=t===null||t==="false"?false:true}var m=Object.getOwnPropertyDescriptor(o,c);if(t!=a[c]&&(!m.get||!!m.set)){a[c]=t}}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((f=n.D)!=null?f:{}),true),l.filter((function(r){var n=r[0],e=r[1];return e[0]&31})).map((function(r){var n=r[0],e=r[1];var t=e[1]||n;v.set(t,n);return t})),true)))}}return r};var Lr=function(r,n,t,a){return __awaiter(e,void 0,void 0,(function(){var e,a,f,u,o,l,v,s,h,y,m,b;return __generator(this,(function(w){switch(w.label){case 0:w.trys.push([0,7,,8]);if(!((n.l&32)===0))return[3,6];n.l|=32;a=t.j;if(!a)return[3,4];f=d(t,n);if(!(f&&"then"in f))return[3,2];u=P();return[4,f];case 1:e=w.sent();u();return[3,3];case 2:e=f;w.label=3;case 3:if(!e){throw new Error('Constructor for "'.concat(t._,"#").concat(n.H,'" was not found'))}if(!e.isProxied){Tr(e,t,2);e.isProxied=true}o=L("createInstance",t._);{n.l|=8}try{new e(n)}catch(n){c(n,r)}{n.l&=-9}o();{Pr(n.o,r)}return[3,5];case 4:e=r.constructor;l=r.localName;customElements.whenDefined(l).then((function(){return n.l|=128}));w.label=5;case 5:if(e&&e.style){v=void 0;if(typeof e.style==="string"){v=e.style}s=W(t);if(!p.has(s)||i.hotModuleReplacement){h=L("registerStyles",t._);H(s,v,!!(t.l&1));h()}}w.label=6;case 6:y=n.U;m=function(){return gr(n,true)};if(y&&y["s-rc"]){y["s-rc"].push(m)}else{m()}return[3,8];case 7:b=w.sent();c(b,r);if(n.P){n.P();n.P=void 0}if(n.h){n.h(r)}return[3,8];case 8:return[2]}}))}))};var Pr=function(r,n){{Mr(r,"connectedCallback",void 0,n)}};var Ur=function(r){if((w.l&1)===0){var n=u(r);if(!n){return}var e=n.t;var t=L("connectedCallback",e._);if(!(n.l&1)){n.l|=1;{var i=r;while(i=i.parentNode||i.host){if(i["s-p"]){_r(n,n.U=i);break}}}if(e.i){Object.entries(e.i).map((function(n){var e=n[0],t=n[1][0];if(t&31&&Object.prototype.hasOwnProperty.call(r,e)){var i=r[e];delete r[e];r[e]=i}}))}{Lr(r,n,e)}}else{if(n==null?void 0:n.o){Pr(n.o,r)}else if(n==null?void 0:n.p){n.p.then((function(){return Pr(n.o,r)}))}}t()}};var Dr=function(r,n){{Mr(r,"disconnectedCallback",void 0,n||r)}};var Hr=function(r){return __awaiter(e,void 0,void 0,(function(){var n;return __generator(this,(function(e){if((w.l&1)===0){n=u(r);if(n==null?void 0:n.o){Dr(n.o,r)}else if(n==null?void 0:n.p){n.p.then((function(){return Dr(n.o,r)}))}}if(D.has(r)){D.delete(r)}if(r.shadowRoot&&D.has(r.shadowRoot)){D.delete(r.shadowRoot)}return[2]}))}))};var Rr=r("b",(function(r,n){if(n===void 0){n={}}var e;if(!b.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var t=L();var i=[];var a=n.exclude||[];var f=b.customElements;var o=b.document.head;var v=o.querySelector("meta[charset]");var c=b.document.createElement("style");var s=[];var d;var p=true;Object.assign(w,n);w.$=new URL(n.resourcesUrl||"./",b.document.baseURI).href;r.map((function(r){r[1].map((function(n){var e={l:n[0],_:n[1],i:n[2],R:n[3]};{e.i=n[2]}var t=Wr(e._);var o=function(r){__extends(n,r);function n(n){var t=r.call(this,n)||this;t.hasRegisteredEventListeners=false;n=t;l(n,e);if(e.l&1){{if(!n.shadowRoot){T.call(n,e)}else{if(n.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(e._,"! Mode is set to ").concat(n.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return t}n.prototype.connectedCallback=function(){var r=this;var n=u(this);if(!n){return}if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true}if(d){clearTimeout(d);d=null}if(p){s.push(this)}else{w.jmp((function(){return Ur(r)}))}};n.prototype.disconnectedCallback=function(){var r=this;w.jmp((function(){return Hr(r)}));w.raf((function(){var n;var e=u(r);if(!e){return}var t=s.findIndex((function(n){return n===r}));if(t>-1){s.splice(t,1)}if(((n=e==null?void 0:e.L)==null?void 0:n.N)instanceof Node&&!e.L.N.isConnected){delete e.L.N}}))};n.prototype.componentOnReady=function(){var r;return(r=u(this))==null?void 0:r.p};return n}(HTMLElement);e.j=r[0];if(!a.includes(t)&&!f.get(t)){i.push(t);f.define(t,Tr(o,e,1))}}))}));if(i.length>0){{c.textContent+=i.sort()+h}if(c.innerHTML.length){c.setAttribute("data-styles","");var y=(e=w.S)!=null?e:U(b.document);if(y!=null){c.setAttribute("nonce",y)}o.insertBefore(c,v?v.nextSibling:o.firstChild)}}p=false;if(s.length){s.map((function(r){return r.connectedCallback()}))}else{{w.jmp((function(){return d=setTimeout(Er,30)}))}}t()}));var zr=r("s",(function(r){return w.S=r}));function Wr(r){return r}}}}));
@@ -0,0 +1 @@
1
+ const o=()=>{};export{o as g}